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 Use PKG in the version string in place of "GNU
878 --with-bugurl=URL Direct users to URL to report a bug
880 Some influential environment variables:
881 CC C compiler command
882 CFLAGS C compiler flags
883 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
884 nonstandard directory <lib dir>
885 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
886 headers in a nonstandard directory <include dir>
889 Use these variables to override the choices made by `configure' or to help
890 it to find libraries and programs with nonstandard names/locations.
895 if test "$ac_init_help" = "recursive"; then
896 # If there are subdirs, report their specific --help.
898 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
899 test -d $ac_dir || continue
902 if test "$ac_dir" != .; then
903 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
904 # A "../" for each directory in $ac_dir_suffix.
905 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
907 ac_dir_suffix= ac_top_builddir=
911 .) # No --srcdir option. We are building in place.
913 if test -z "$ac_top_builddir"; then
916 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
918 [\\/]* | ?:[\\/]* ) # Absolute path.
919 ac_srcdir=$srcdir$ac_dir_suffix;
920 ac_top_srcdir=$srcdir ;;
922 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
923 ac_top_srcdir=$ac_top_builddir$srcdir ;;
926 # Do not use `cd foo && pwd` to compute absolute paths, because
927 # the directories may not exist.
929 .) ac_abs_builddir="$ac_dir";;
932 .) ac_abs_builddir=`pwd`;;
933 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
934 *) ac_abs_builddir=`pwd`/"$ac_dir";;
937 case $ac_abs_builddir in
938 .) ac_abs_top_builddir=${ac_top_builddir}.;;
940 case ${ac_top_builddir}. in
941 .) ac_abs_top_builddir=$ac_abs_builddir;;
942 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
943 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
946 case $ac_abs_builddir in
947 .) ac_abs_srcdir=$ac_srcdir;;
950 .) ac_abs_srcdir=$ac_abs_builddir;;
951 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
952 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
955 case $ac_abs_builddir in
956 .) ac_abs_top_srcdir=$ac_top_srcdir;;
958 case $ac_top_srcdir in
959 .) ac_abs_top_srcdir=$ac_abs_builddir;;
960 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
961 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
966 # Check for guested configure; otherwise get Cygnus style configure.
967 if test -f $ac_srcdir/configure.gnu; then
969 $SHELL $ac_srcdir/configure.gnu --help=recursive
970 elif test -f $ac_srcdir/configure; then
972 $SHELL $ac_srcdir/configure --help=recursive
973 elif test -f $ac_srcdir/configure.ac ||
974 test -f $ac_srcdir/configure.in; then
978 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
984 test -n "$ac_init_help" && exit 0
985 if $ac_init_version; then
988 Copyright (C) 2003 Free Software Foundation, Inc.
989 This configure script is free software; the Free Software Foundation
990 gives unlimited permission to copy, distribute and modify it.
996 This file contains any messages produced by compilers while
997 running configure, to aid debugging if configure makes a mistake.
999 It was created by $as_me, which was
1000 generated by GNU Autoconf 2.59. Invocation command line was
1011 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1012 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1013 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1014 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1015 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1017 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1018 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1020 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1021 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1022 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1023 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1024 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1025 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1026 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1034 test -z "$as_dir" && as_dir=.
1035 echo "PATH: $as_dir"
1050 # Keep a trace of the command line.
1051 # Strip out --no-create and --no-recursion so they do not pile up.
1052 # Strip out --silent because we don't want to record it for future runs.
1053 # Also quote any args containing shell meta-characters.
1054 # Make two passes to allow for proper duplicate-argument suppression.
1059 ac_must_keep_next=false
1065 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1066 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1067 | -silent | --silent | --silen | --sile | --sil)
1069 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1070 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1073 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1075 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1076 if test $ac_must_keep_next = true; then
1077 ac_must_keep_next=false # Got value, back to normal.
1080 *=* | --config-cache | -C | -disable-* | --disable-* \
1081 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1082 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1083 | -with-* | --with-* | -without-* | --without-* | --x)
1084 case "$ac_configure_args0 " in
1085 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1088 -* ) ac_must_keep_next=true ;;
1091 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1092 # Get rid of the leading space.
1098 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1099 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1101 # When interrupted or exit'd, cleanup temporary files, and complete
1102 # config.log. We remove comments because anyway the quotes in there
1103 # would cause problems or look ugly.
1104 # WARNING: Be sure not to use single quotes in there, as some shells,
1105 # such as our DU 5.0 friend, will then `close' the trap.
1106 trap 'exit_status=$?
1107 # Save into config.log some information that might help in debugging.
1112 ## ---------------- ##
1113 ## Cache variables. ##
1114 ## ---------------- ##
1117 # The following way of writing the cache mishandles newlines in values,
1120 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1123 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1128 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1135 ## ----------------- ##
1136 ## Output variables. ##
1137 ## ----------------- ##
1140 for ac_var in $ac_subst_vars
1142 eval ac_val=$`echo $ac_var`
1143 echo "$ac_var='"'"'$ac_val'"'"'"
1147 if test -n "$ac_subst_files"; then
1154 for ac_var in $ac_subst_files
1156 eval ac_val=$`echo $ac_var`
1157 echo "$ac_var='"'"'$ac_val'"'"'"
1162 if test -s confdefs.h; then
1169 sed "/^$/d" confdefs.h | sort
1172 test "$ac_signal" != 0 &&
1173 echo "$as_me: caught signal $ac_signal"
1174 echo "$as_me: exit $exit_status"
1176 rm -f core *.core &&
1177 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1180 for ac_signal in 1 2 13 15; do
1181 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1185 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1186 rm -rf conftest* confdefs.h
1187 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1190 # Predefined preprocessor variables.
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_NAME "$PACKAGE_NAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_STRING "$PACKAGE_STRING"
1212 cat >>confdefs.h <<_ACEOF
1213 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1217 # Let the site file select an alternate cache file if it wants to.
1218 # Prefer explicitly selected file to automatically selected ones.
1219 if test -z "$CONFIG_SITE"; then
1220 if test "x$prefix" != xNONE; then
1221 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1223 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1226 for ac_site_file in $CONFIG_SITE; do
1227 if test -r "$ac_site_file"; then
1228 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1229 echo "$as_me: loading site script $ac_site_file" >&6;}
1230 sed 's/^/| /' "$ac_site_file" >&5
1235 if test -r "$cache_file"; then
1236 # Some versions of bash will fail to source /dev/null (special
1237 # files actually), so we avoid doing that.
1238 if test -f "$cache_file"; then
1239 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1240 echo "$as_me: loading cache $cache_file" >&6;}
1242 [\\/]* | ?:[\\/]* ) . $cache_file;;
1243 *) . ./$cache_file;;
1247 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1248 echo "$as_me: creating cache $cache_file" >&6;}
1252 # Check that the precious variables saved in the cache have kept the same
1254 ac_cache_corrupted=false
1255 for ac_var in `(set) 2>&1 |
1256 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1257 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1258 eval ac_new_set=\$ac_env_${ac_var}_set
1259 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1260 eval ac_new_val="\$ac_env_${ac_var}_value"
1261 case $ac_old_set,$ac_new_set in
1263 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1264 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1265 ac_cache_corrupted=: ;;
1267 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1268 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1269 ac_cache_corrupted=: ;;
1272 if test "x$ac_old_val" != "x$ac_new_val"; then
1273 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1274 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1275 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1276 echo "$as_me: former value: $ac_old_val" >&2;}
1277 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1278 echo "$as_me: current value: $ac_new_val" >&2;}
1279 ac_cache_corrupted=:
1282 # Pass precious variables to config.status.
1283 if test "$ac_new_set" = set; then
1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1287 *) ac_arg=$ac_var=$ac_new_val ;;
1289 case " $ac_configure_args " in
1290 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1291 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1295 if $ac_cache_corrupted; then
1296 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1297 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1298 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1299 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1300 { (exit 1); exit 1; }; }
1304 ac_cpp='$CPP $CPPFLAGS'
1305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1330 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1331 if test -f $ac_dir/install-sh; then
1333 ac_install_sh="$ac_aux_dir/install-sh -c"
1335 elif test -f $ac_dir/install.sh; then
1337 ac_install_sh="$ac_aux_dir/install.sh -c"
1339 elif test -f $ac_dir/shtool; then
1341 ac_install_sh="$ac_aux_dir/shtool install -c"
1345 if test -z "$ac_aux_dir"; then
1346 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1347 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1348 { (exit 1); exit 1; }; }
1350 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1351 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1352 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1354 # Make sure we can run config.sub.
1355 $ac_config_sub sun4 >/dev/null 2>&1 ||
1356 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1357 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1358 { (exit 1); exit 1; }; }
1360 echo "$as_me:$LINENO: checking build system type" >&5
1361 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1362 if test "${ac_cv_build+set}" = set; then
1363 echo $ECHO_N "(cached) $ECHO_C" >&6
1365 ac_cv_build_alias=$build_alias
1366 test -z "$ac_cv_build_alias" &&
1367 ac_cv_build_alias=`$ac_config_guess`
1368 test -z "$ac_cv_build_alias" &&
1369 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1370 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1371 { (exit 1); exit 1; }; }
1372 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1373 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1374 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1375 { (exit 1); exit 1; }; }
1378 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1379 echo "${ECHO_T}$ac_cv_build" >&6
1381 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1382 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1383 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1386 echo "$as_me:$LINENO: checking host system type" >&5
1387 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1388 if test "${ac_cv_host+set}" = set; then
1389 echo $ECHO_N "(cached) $ECHO_C" >&6
1391 ac_cv_host_alias=$host_alias
1392 test -z "$ac_cv_host_alias" &&
1393 ac_cv_host_alias=$ac_cv_build_alias
1394 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1395 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1396 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1397 { (exit 1); exit 1; }; }
1400 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1401 echo "${ECHO_T}$ac_cv_host" >&6
1403 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1404 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1405 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1408 echo "$as_me:$LINENO: checking target system type" >&5
1409 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1410 if test "${ac_cv_target+set}" = set; then
1411 echo $ECHO_N "(cached) $ECHO_C" >&6
1413 ac_cv_target_alias=$target_alias
1414 test "x$ac_cv_target_alias" = "x" &&
1415 ac_cv_target_alias=$ac_cv_host_alias
1416 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1417 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1418 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1419 { (exit 1); exit 1; }; }
1422 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1423 echo "${ECHO_T}$ac_cv_target" >&6
1424 target=$ac_cv_target
1425 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1426 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1427 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1430 # The aliases save the names the user supplied, while $host etc.
1431 # will get canonicalized.
1432 test -n "$target_alias" &&
1433 test "$program_prefix$program_suffix$program_transform_name" = \
1435 program_prefix=${target_alias}-
1437 ac_cpp='$CPP $CPPFLAGS'
1438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1441 if test -n "$ac_tool_prefix"; then
1442 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1443 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1444 echo "$as_me:$LINENO: checking for $ac_word" >&5
1445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1446 if test "${ac_cv_prog_CC+set}" = set; then
1447 echo $ECHO_N "(cached) $ECHO_C" >&6
1449 if test -n "$CC"; then
1450 ac_cv_prog_CC="$CC" # Let the user override the test.
1452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1456 test -z "$as_dir" && as_dir=.
1457 for ac_exec_ext in '' $ac_executable_extensions; do
1458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1459 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1469 if test -n "$CC"; then
1470 echo "$as_me:$LINENO: result: $CC" >&5
1471 echo "${ECHO_T}$CC" >&6
1473 echo "$as_me:$LINENO: result: no" >&5
1474 echo "${ECHO_T}no" >&6
1478 if test -z "$ac_cv_prog_CC"; then
1480 # Extract the first word of "gcc", so it can be a program name with args.
1481 set dummy gcc; ac_word=$2
1482 echo "$as_me:$LINENO: checking for $ac_word" >&5
1483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1484 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1485 echo $ECHO_N "(cached) $ECHO_C" >&6
1487 if test -n "$ac_ct_CC"; then
1488 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1494 test -z "$as_dir" && as_dir=.
1495 for ac_exec_ext in '' $ac_executable_extensions; do
1496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1497 ac_cv_prog_ac_ct_CC="gcc"
1498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1506 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1507 if test -n "$ac_ct_CC"; then
1508 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1509 echo "${ECHO_T}$ac_ct_CC" >&6
1511 echo "$as_me:$LINENO: result: no" >&5
1512 echo "${ECHO_T}no" >&6
1520 if test -z "$CC"; then
1521 if test -n "$ac_tool_prefix"; then
1522 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1523 set dummy ${ac_tool_prefix}cc; ac_word=$2
1524 echo "$as_me:$LINENO: checking for $ac_word" >&5
1525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1526 if test "${ac_cv_prog_CC+set}" = set; then
1527 echo $ECHO_N "(cached) $ECHO_C" >&6
1529 if test -n "$CC"; then
1530 ac_cv_prog_CC="$CC" # Let the user override the test.
1532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1536 test -z "$as_dir" && as_dir=.
1537 for ac_exec_ext in '' $ac_executable_extensions; do
1538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1539 ac_cv_prog_CC="${ac_tool_prefix}cc"
1540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1549 if test -n "$CC"; then
1550 echo "$as_me:$LINENO: result: $CC" >&5
1551 echo "${ECHO_T}$CC" >&6
1553 echo "$as_me:$LINENO: result: no" >&5
1554 echo "${ECHO_T}no" >&6
1558 if test -z "$ac_cv_prog_CC"; then
1560 # Extract the first word of "cc", so it can be a program name with args.
1561 set dummy cc; ac_word=$2
1562 echo "$as_me:$LINENO: checking for $ac_word" >&5
1563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1564 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1565 echo $ECHO_N "(cached) $ECHO_C" >&6
1567 if test -n "$ac_ct_CC"; then
1568 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1574 test -z "$as_dir" && as_dir=.
1575 for ac_exec_ext in '' $ac_executable_extensions; do
1576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1577 ac_cv_prog_ac_ct_CC="cc"
1578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1586 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1587 if test -n "$ac_ct_CC"; then
1588 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1589 echo "${ECHO_T}$ac_ct_CC" >&6
1591 echo "$as_me:$LINENO: result: no" >&5
1592 echo "${ECHO_T}no" >&6
1601 if test -z "$CC"; then
1602 # Extract the first word of "cc", so it can be a program name with args.
1603 set dummy cc; ac_word=$2
1604 echo "$as_me:$LINENO: checking for $ac_word" >&5
1605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1606 if test "${ac_cv_prog_CC+set}" = set; then
1607 echo $ECHO_N "(cached) $ECHO_C" >&6
1609 if test -n "$CC"; then
1610 ac_cv_prog_CC="$CC" # Let the user override the test.
1613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1617 test -z "$as_dir" && as_dir=.
1618 for ac_exec_ext in '' $ac_executable_extensions; do
1619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1620 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1621 ac_prog_rejected=yes
1625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1631 if test $ac_prog_rejected = yes; then
1632 # We found a bogon in the path, so make sure we never use it.
1633 set dummy $ac_cv_prog_CC
1635 if test $# != 0; then
1636 # We chose a different compiler from the bogus one.
1637 # However, it has the same basename, so the bogon will be chosen
1638 # first if we set CC to just the basename; use the full file name.
1640 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1646 if test -n "$CC"; then
1647 echo "$as_me:$LINENO: result: $CC" >&5
1648 echo "${ECHO_T}$CC" >&6
1650 echo "$as_me:$LINENO: result: no" >&5
1651 echo "${ECHO_T}no" >&6
1655 if test -z "$CC"; then
1656 if test -n "$ac_tool_prefix"; then
1659 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1660 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1661 echo "$as_me:$LINENO: checking for $ac_word" >&5
1662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1663 if test "${ac_cv_prog_CC+set}" = set; then
1664 echo $ECHO_N "(cached) $ECHO_C" >&6
1666 if test -n "$CC"; then
1667 ac_cv_prog_CC="$CC" # Let the user override the test.
1669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1673 test -z "$as_dir" && as_dir=.
1674 for ac_exec_ext in '' $ac_executable_extensions; do
1675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1676 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1686 if test -n "$CC"; then
1687 echo "$as_me:$LINENO: result: $CC" >&5
1688 echo "${ECHO_T}$CC" >&6
1690 echo "$as_me:$LINENO: result: no" >&5
1691 echo "${ECHO_T}no" >&6
1694 test -n "$CC" && break
1697 if test -z "$CC"; then
1701 # Extract the first word of "$ac_prog", so it can be a program name with args.
1702 set dummy $ac_prog; ac_word=$2
1703 echo "$as_me:$LINENO: checking for $ac_word" >&5
1704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1705 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1706 echo $ECHO_N "(cached) $ECHO_C" >&6
1708 if test -n "$ac_ct_CC"; then
1709 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1715 test -z "$as_dir" && as_dir=.
1716 for ac_exec_ext in '' $ac_executable_extensions; do
1717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1718 ac_cv_prog_ac_ct_CC="$ac_prog"
1719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1727 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1728 if test -n "$ac_ct_CC"; then
1729 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1730 echo "${ECHO_T}$ac_ct_CC" >&6
1732 echo "$as_me:$LINENO: result: no" >&5
1733 echo "${ECHO_T}no" >&6
1736 test -n "$ac_ct_CC" && break
1745 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1746 See \`config.log' for more details." >&5
1747 echo "$as_me: error: no acceptable C compiler found in \$PATH
1748 See \`config.log' for more details." >&2;}
1749 { (exit 1); exit 1; }; }
1751 # Provide some information about the compiler.
1752 echo "$as_me:$LINENO:" \
1753 "checking for C compiler version" >&5
1754 ac_compiler=`set X $ac_compile; echo $2`
1755 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1756 (eval $ac_compiler --version </dev/null >&5) 2>&5
1758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1759 (exit $ac_status); }
1760 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1761 (eval $ac_compiler -v </dev/null >&5) 2>&5
1763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1764 (exit $ac_status); }
1765 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1766 (eval $ac_compiler -V </dev/null >&5) 2>&5
1768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1769 (exit $ac_status); }
1771 cat >conftest.$ac_ext <<_ACEOF
1774 cat confdefs.h >>conftest.$ac_ext
1775 cat >>conftest.$ac_ext <<_ACEOF
1776 /* end confdefs.h. */
1786 ac_clean_files_save=$ac_clean_files
1787 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1788 # Try to create an executable without -o first, disregard a.out.
1789 # It will help us diagnose broken compilers, and finding out an intuition
1791 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1792 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1793 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1794 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1795 (eval $ac_link_default) 2>&5
1797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1798 (exit $ac_status); }; then
1799 # Find the output, starting from the most likely. This scheme is
1800 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1803 # Be careful to initialize this variable, since it used to be cached.
1804 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1806 # b.out is created by i960 compilers.
1807 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1809 test -f "$ac_file" || continue
1811 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1814 # This is the source file.
1817 # We found the default executable, but exeext='' is most
1821 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1822 # FIXME: I believe we export ac_cv_exeext for Libtool,
1823 # but it would be cool to find out if it's true. Does anybody
1824 # maintain Libtool? --akim.
1832 echo "$as_me: failed program was:" >&5
1833 sed 's/^/| /' conftest.$ac_ext >&5
1835 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1836 See \`config.log' for more details." >&5
1837 echo "$as_me: error: C compiler cannot create executables
1838 See \`config.log' for more details." >&2;}
1839 { (exit 77); exit 77; }; }
1842 ac_exeext=$ac_cv_exeext
1843 echo "$as_me:$LINENO: result: $ac_file" >&5
1844 echo "${ECHO_T}$ac_file" >&6
1846 # Check the compiler produces executables we can run. If not, either
1847 # the compiler is broken, or we cross compile.
1848 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1849 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1850 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1851 # If not cross compiling, check that we can run a simple program.
1852 if test "$cross_compiling" != yes; then
1853 if { ac_try='./$ac_file'
1854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1858 (exit $ac_status); }; }; then
1861 if test "$cross_compiling" = maybe; then
1864 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1865 If you meant to cross compile, use \`--host'.
1866 See \`config.log' for more details." >&5
1867 echo "$as_me: error: cannot run C compiled programs.
1868 If you meant to cross compile, use \`--host'.
1869 See \`config.log' for more details." >&2;}
1870 { (exit 1); exit 1; }; }
1874 echo "$as_me:$LINENO: result: yes" >&5
1875 echo "${ECHO_T}yes" >&6
1877 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1878 ac_clean_files=$ac_clean_files_save
1879 # Check the compiler produces executables we can run. If not, either
1880 # the compiler is broken, or we cross compile.
1881 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1882 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1883 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1884 echo "${ECHO_T}$cross_compiling" >&6
1886 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1887 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1889 (eval $ac_link) 2>&5
1891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1892 (exit $ac_status); }; then
1893 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1894 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1895 # work properly (i.e., refer to `conftest.exe'), while it won't with
1897 for ac_file in conftest.exe conftest conftest.*; do
1898 test -f "$ac_file" || continue
1900 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1901 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1908 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1909 See \`config.log' for more details." >&5
1910 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1911 See \`config.log' for more details." >&2;}
1912 { (exit 1); exit 1; }; }
1915 rm -f conftest$ac_cv_exeext
1916 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1917 echo "${ECHO_T}$ac_cv_exeext" >&6
1919 rm -f conftest.$ac_ext
1920 EXEEXT=$ac_cv_exeext
1922 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1923 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1924 if test "${ac_cv_objext+set}" = set; then
1925 echo $ECHO_N "(cached) $ECHO_C" >&6
1927 cat >conftest.$ac_ext <<_ACEOF
1930 cat confdefs.h >>conftest.$ac_ext
1931 cat >>conftest.$ac_ext <<_ACEOF
1932 /* end confdefs.h. */
1942 rm -f conftest.o conftest.obj
1943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1944 (eval $ac_compile) 2>&5
1946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1947 (exit $ac_status); }; then
1948 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1950 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1951 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1956 echo "$as_me: failed program was:" >&5
1957 sed 's/^/| /' conftest.$ac_ext >&5
1959 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1960 See \`config.log' for more details." >&5
1961 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1962 See \`config.log' for more details." >&2;}
1963 { (exit 1); exit 1; }; }
1966 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1968 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1969 echo "${ECHO_T}$ac_cv_objext" >&6
1970 OBJEXT=$ac_cv_objext
1972 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1973 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1974 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1975 echo $ECHO_N "(cached) $ECHO_C" >&6
1977 cat >conftest.$ac_ext <<_ACEOF
1980 cat confdefs.h >>conftest.$ac_ext
1981 cat >>conftest.$ac_ext <<_ACEOF
1982 /* end confdefs.h. */
1995 rm -f conftest.$ac_objext
1996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1997 (eval $ac_compile) 2>conftest.er1
1999 grep -v '^ *+' conftest.er1 >conftest.err
2001 cat conftest.err >&5
2002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2003 (exit $ac_status); } &&
2004 { ac_try='test -z "$ac_c_werror_flag"
2005 || test ! -s conftest.err'
2006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2010 (exit $ac_status); }; } &&
2011 { ac_try='test -s conftest.$ac_objext'
2012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2016 (exit $ac_status); }; }; then
2019 echo "$as_me: failed program was:" >&5
2020 sed 's/^/| /' conftest.$ac_ext >&5
2024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2025 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2028 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2029 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2030 GCC=`test $ac_compiler_gnu = yes && echo yes`
2031 ac_test_CFLAGS=${CFLAGS+set}
2032 ac_save_CFLAGS=$CFLAGS
2034 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2035 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2036 if test "${ac_cv_prog_cc_g+set}" = set; then
2037 echo $ECHO_N "(cached) $ECHO_C" >&6
2039 cat >conftest.$ac_ext <<_ACEOF
2042 cat confdefs.h >>conftest.$ac_ext
2043 cat >>conftest.$ac_ext <<_ACEOF
2044 /* end confdefs.h. */
2054 rm -f conftest.$ac_objext
2055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2056 (eval $ac_compile) 2>conftest.er1
2058 grep -v '^ *+' conftest.er1 >conftest.err
2060 cat conftest.err >&5
2061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2062 (exit $ac_status); } &&
2063 { ac_try='test -z "$ac_c_werror_flag"
2064 || test ! -s conftest.err'
2065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2069 (exit $ac_status); }; } &&
2070 { ac_try='test -s conftest.$ac_objext'
2071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2075 (exit $ac_status); }; }; then
2078 echo "$as_me: failed program was:" >&5
2079 sed 's/^/| /' conftest.$ac_ext >&5
2083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2085 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2086 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2087 if test "$ac_test_CFLAGS" = set; then
2088 CFLAGS=$ac_save_CFLAGS
2089 elif test $ac_cv_prog_cc_g = yes; then
2090 if test "$GCC" = yes; then
2096 if test "$GCC" = yes; then
2102 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2103 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2104 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2105 echo $ECHO_N "(cached) $ECHO_C" >&6
2107 ac_cv_prog_cc_stdc=no
2109 cat >conftest.$ac_ext <<_ACEOF
2112 cat confdefs.h >>conftest.$ac_ext
2113 cat >>conftest.$ac_ext <<_ACEOF
2114 /* end confdefs.h. */
2117 #include <sys/types.h>
2118 #include <sys/stat.h>
2119 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2120 struct buf { int x; };
2121 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2122 static char *e (p, i)
2128 static char *f (char * (*g) (char **, int), char **p, ...)
2133 s = g (p, va_arg (v,int));
2138 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2139 function prototypes and stuff, but not '\xHH' hex character constants.
2140 These don't provoke an error unfortunately, instead are silently treated
2141 as 'x'. The following induces an error, until -std1 is added to get
2142 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2143 array size at least. It's necessary to write '\x00'==0 to get something
2144 that's true only with -std1. */
2145 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2147 int test (int i, double x);
2148 struct s1 {int (*f) (int a);};
2149 struct s2 {int (*f) (double a);};
2150 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2156 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2161 # Don't try gcc -ansi; that turns off useful extensions and
2162 # breaks some systems' header files.
2163 # AIX -qlanglvl=ansi
2164 # Ultrix and OSF/1 -std1
2165 # HP-UX 10.20 and later -Ae
2166 # HP-UX older versions -Aa -D_HPUX_SOURCE
2167 # SVR4 -Xc -D__EXTENSIONS__
2168 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2170 CC="$ac_save_CC $ac_arg"
2171 rm -f conftest.$ac_objext
2172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2173 (eval $ac_compile) 2>conftest.er1
2175 grep -v '^ *+' conftest.er1 >conftest.err
2177 cat conftest.err >&5
2178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2179 (exit $ac_status); } &&
2180 { ac_try='test -z "$ac_c_werror_flag"
2181 || test ! -s conftest.err'
2182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); }; } &&
2187 { ac_try='test -s conftest.$ac_objext'
2188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2192 (exit $ac_status); }; }; then
2193 ac_cv_prog_cc_stdc=$ac_arg
2196 echo "$as_me: failed program was:" >&5
2197 sed 's/^/| /' conftest.$ac_ext >&5
2200 rm -f conftest.err conftest.$ac_objext
2202 rm -f conftest.$ac_ext conftest.$ac_objext
2207 case "x$ac_cv_prog_cc_stdc" in
2209 echo "$as_me:$LINENO: result: none needed" >&5
2210 echo "${ECHO_T}none needed" >&6 ;;
2212 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2213 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2214 CC="$CC $ac_cv_prog_cc_stdc" ;;
2217 # Some people use a C++ compiler to compile C. Since we use `exit',
2218 # in C++ we need to declare it. In case someone uses the same compiler
2219 # for both compiling C and C++ we need to have the C++ compiler decide
2220 # the declaration of exit, since it's the most demanding environment.
2221 cat >conftest.$ac_ext <<_ACEOF
2226 rm -f conftest.$ac_objext
2227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2228 (eval $ac_compile) 2>conftest.er1
2230 grep -v '^ *+' conftest.er1 >conftest.err
2232 cat conftest.err >&5
2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234 (exit $ac_status); } &&
2235 { ac_try='test -z "$ac_c_werror_flag"
2236 || test ! -s conftest.err'
2237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); }; } &&
2242 { ac_try='test -s conftest.$ac_objext'
2243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }; }; then
2248 for ac_declaration in \
2250 'extern "C" void std::exit (int) throw (); using std::exit;' \
2251 'extern "C" void std::exit (int); using std::exit;' \
2252 'extern "C" void exit (int) throw ();' \
2253 'extern "C" void exit (int);' \
2256 cat >conftest.$ac_ext <<_ACEOF
2259 cat confdefs.h >>conftest.$ac_ext
2260 cat >>conftest.$ac_ext <<_ACEOF
2261 /* end confdefs.h. */
2272 rm -f conftest.$ac_objext
2273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2274 (eval $ac_compile) 2>conftest.er1
2276 grep -v '^ *+' conftest.er1 >conftest.err
2278 cat conftest.err >&5
2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280 (exit $ac_status); } &&
2281 { ac_try='test -z "$ac_c_werror_flag"
2282 || test ! -s conftest.err'
2283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2287 (exit $ac_status); }; } &&
2288 { ac_try='test -s conftest.$ac_objext'
2289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293 (exit $ac_status); }; }; then
2296 echo "$as_me: failed program was:" >&5
2297 sed 's/^/| /' conftest.$ac_ext >&5
2301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2302 cat >conftest.$ac_ext <<_ACEOF
2305 cat confdefs.h >>conftest.$ac_ext
2306 cat >>conftest.$ac_ext <<_ACEOF
2307 /* end confdefs.h. */
2317 rm -f conftest.$ac_objext
2318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2319 (eval $ac_compile) 2>conftest.er1
2321 grep -v '^ *+' conftest.er1 >conftest.err
2323 cat conftest.err >&5
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); } &&
2326 { ac_try='test -z "$ac_c_werror_flag"
2327 || test ! -s conftest.err'
2328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332 (exit $ac_status); }; } &&
2333 { ac_try='test -s conftest.$ac_objext'
2334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 (exit $ac_status); }; }; then
2341 echo "$as_me: failed program was:" >&5
2342 sed 's/^/| /' conftest.$ac_ext >&5
2345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2348 if test -n "$ac_declaration"; then
2349 echo '#ifdef __cplusplus' >>confdefs.h
2350 echo $ac_declaration >>confdefs.h
2351 echo '#endif' >>confdefs.h
2355 echo "$as_me: failed program was:" >&5
2356 sed 's/^/| /' conftest.$ac_ext >&5
2359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2361 ac_cpp='$CPP $CPPFLAGS'
2362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2367 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2368 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2369 if test "${ac_cv_search_strerror+set}" = set; then
2370 echo $ECHO_N "(cached) $ECHO_C" >&6
2372 ac_func_search_save_LIBS=$LIBS
2373 ac_cv_search_strerror=no
2374 cat >conftest.$ac_ext <<_ACEOF
2377 cat confdefs.h >>conftest.$ac_ext
2378 cat >>conftest.$ac_ext <<_ACEOF
2379 /* end confdefs.h. */
2381 /* Override any gcc2 internal prototype to avoid an error. */
2385 /* We use char because int might match the return type of a gcc2
2386 builtin and then its argument prototype would still apply. */
2396 rm -f conftest.$ac_objext conftest$ac_exeext
2397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2398 (eval $ac_link) 2>conftest.er1
2400 grep -v '^ *+' conftest.er1 >conftest.err
2402 cat conftest.err >&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); } &&
2405 { ac_try='test -z "$ac_c_werror_flag"
2406 || test ! -s conftest.err'
2407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); }; } &&
2412 { ac_try='test -s conftest$ac_exeext'
2413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); }; }; then
2418 ac_cv_search_strerror="none required"
2420 echo "$as_me: failed program was:" >&5
2421 sed 's/^/| /' conftest.$ac_ext >&5
2424 rm -f conftest.err conftest.$ac_objext \
2425 conftest$ac_exeext conftest.$ac_ext
2426 if test "$ac_cv_search_strerror" = no; then
2427 for ac_lib in cposix; do
2428 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2429 cat >conftest.$ac_ext <<_ACEOF
2432 cat confdefs.h >>conftest.$ac_ext
2433 cat >>conftest.$ac_ext <<_ACEOF
2434 /* end confdefs.h. */
2436 /* Override any gcc2 internal prototype to avoid an error. */
2440 /* We use char because int might match the return type of a gcc2
2441 builtin and then its argument prototype would still apply. */
2451 rm -f conftest.$ac_objext conftest$ac_exeext
2452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2453 (eval $ac_link) 2>conftest.er1
2455 grep -v '^ *+' conftest.er1 >conftest.err
2457 cat conftest.err >&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); } &&
2460 { ac_try='test -z "$ac_c_werror_flag"
2461 || test ! -s conftest.err'
2462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); }; } &&
2467 { ac_try='test -s conftest$ac_exeext'
2468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); }; }; then
2473 ac_cv_search_strerror="-l$ac_lib"
2476 echo "$as_me: failed program was:" >&5
2477 sed 's/^/| /' conftest.$ac_ext >&5
2480 rm -f conftest.err conftest.$ac_objext \
2481 conftest$ac_exeext conftest.$ac_ext
2484 LIBS=$ac_func_search_save_LIBS
2486 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2487 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2488 if test "$ac_cv_search_strerror" != no; then
2489 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
2494 am__api_version="1.9"
2495 # Find a good install program. We prefer a C program (faster),
2496 # so one script is as good as another. But avoid the broken or
2497 # incompatible versions:
2498 # SysV /etc/install, /usr/sbin/install
2499 # SunOS /usr/etc/install
2500 # IRIX /sbin/install
2502 # AmigaOS /C/install, which installs bootblocks on floppy discs
2503 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2504 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2505 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2506 # OS/2's system install, which has a completely different semantic
2507 # ./install, which can be erroneously created by make from ./install.sh.
2508 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2509 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2510 if test -z "$INSTALL"; then
2511 if test "${ac_cv_path_install+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
2514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 test -z "$as_dir" && as_dir=.
2519 # Account for people who put trailing slashes in PATH elements.
2521 ./ | .// | /cC/* | \
2522 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2523 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2526 # OSF1 and SCO ODT 3.0 have their own names for install.
2527 # Don't use installbsd from OSF since it installs stuff as root
2529 for ac_prog in ginstall scoinst install; do
2530 for ac_exec_ext in '' $ac_executable_extensions; do
2531 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2532 if test $ac_prog = install &&
2533 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2534 # AIX install. It has an incompatible calling convention.
2536 elif test $ac_prog = install &&
2537 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2538 # program-specific install script used by HP pwplus--don't use.
2541 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2553 if test "${ac_cv_path_install+set}" = set; then
2554 INSTALL=$ac_cv_path_install
2556 # As a last resort, use the slow shell script. We don't cache a
2557 # path for INSTALL within a source directory, because that will
2558 # break other packages using the cache if that directory is
2559 # removed, or if the path is relative.
2560 INSTALL=$ac_install_sh
2563 echo "$as_me:$LINENO: result: $INSTALL" >&5
2564 echo "${ECHO_T}$INSTALL" >&6
2566 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2567 # It thinks the first close brace ends the variable substitution.
2568 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2570 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2572 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2574 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2575 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2578 echo timestamp > conftest.file
2579 # Do `set' in a subshell so we don't clobber the current shell's
2580 # arguments. Must try -L first in case configure is actually a
2581 # symlink; some systems play weird games with the mod time of symlinks
2582 # (eg FreeBSD returns the mod time of the symlink's containing
2585 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2586 if test "$*" = "X"; then
2588 set X `ls -t $srcdir/configure conftest.file`
2591 if test "$*" != "X $srcdir/configure conftest.file" \
2592 && test "$*" != "X conftest.file $srcdir/configure"; then
2594 # If neither matched, then we have a broken ls. This can happen
2595 # if, for instance, CONFIG_SHELL is bash and it inherits a
2596 # broken ls alias from the environment. This has actually
2597 # happened. Such a system could not be considered "sane".
2598 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2599 alias in your environment" >&5
2600 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2601 alias in your environment" >&2;}
2602 { (exit 1); exit 1; }; }
2605 test "$2" = conftest.file
2611 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2612 Check your system clock" >&5
2613 echo "$as_me: error: newly created file is older than distributed files!
2614 Check your system clock" >&2;}
2615 { (exit 1); exit 1; }; }
2617 echo "$as_me:$LINENO: result: yes" >&5
2618 echo "${ECHO_T}yes" >&6
2619 test "$program_prefix" != NONE &&
2620 program_transform_name="s,^,$program_prefix,;$program_transform_name"
2621 # Use a double $ so make ignores it.
2622 test "$program_suffix" != NONE &&
2623 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2624 # Double any \ or $. echo might interpret backslashes.
2625 # By default was `s,x,x', remove it if useless.
2626 cat <<\_ACEOF >conftest.sed
2627 s/[\\$]/&&/g;s/;s,x,x,$//
2629 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2632 # expand $ac_aux_dir to an absolute path
2633 am_aux_dir=`cd $ac_aux_dir && pwd`
2635 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2636 # Use eval to expand $SHELL
2637 if eval "$MISSING --run true"; then
2638 am_missing_run="$MISSING --run "
2641 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2642 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2645 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2646 # We used to keeping the `.' as first argument, in order to
2647 # allow $(mkdir_p) to be used without argument. As in
2648 # $(mkdir_p) $(somedir)
2649 # where $(somedir) is conditionally defined. However this is wrong
2651 # 1. if the package is installed by a user who cannot write `.'
2652 # make install will fail,
2653 # 2. the above comment should most certainly read
2654 # $(mkdir_p) $(DESTDIR)$(somedir)
2655 # so it does not work when $(somedir) is undefined and
2656 # $(DESTDIR) is not.
2657 # To support the latter case, we have to write
2658 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2659 # so the `.' trick is pointless.
2660 mkdir_p='mkdir -p --'
2662 # On NextStep and OpenStep, the `mkdir' command does not
2663 # recognize any option. It will interpret all options as
2664 # directories to create, and then abort because `.' already
2666 for d in ./-p ./--version;
2668 test -d $d && rmdir $d
2670 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2671 if test -f "$ac_aux_dir/mkinstalldirs"; then
2672 mkdir_p='$(mkinstalldirs)'
2674 mkdir_p='$(install_sh) -d'
2678 for ac_prog in gawk mawk nawk awk
2680 # Extract the first word of "$ac_prog", so it can be a program name with args.
2681 set dummy $ac_prog; ac_word=$2
2682 echo "$as_me:$LINENO: checking for $ac_word" >&5
2683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2684 if test "${ac_cv_prog_AWK+set}" = set; then
2685 echo $ECHO_N "(cached) $ECHO_C" >&6
2687 if test -n "$AWK"; then
2688 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694 test -z "$as_dir" && as_dir=.
2695 for ac_exec_ext in '' $ac_executable_extensions; do
2696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2697 ac_cv_prog_AWK="$ac_prog"
2698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2707 if test -n "$AWK"; then
2708 echo "$as_me:$LINENO: result: $AWK" >&5
2709 echo "${ECHO_T}$AWK" >&6
2711 echo "$as_me:$LINENO: result: no" >&5
2712 echo "${ECHO_T}no" >&6
2715 test -n "$AWK" && break
2718 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2719 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2720 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2721 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2722 echo $ECHO_N "(cached) $ECHO_C" >&6
2724 cat >conftest.make <<\_ACEOF
2726 @echo 'ac_maketemp="$(MAKE)"'
2728 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2729 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2730 if test -n "$ac_maketemp"; then
2731 eval ac_cv_prog_make_${ac_make}_set=yes
2733 eval ac_cv_prog_make_${ac_make}_set=no
2737 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2738 echo "$as_me:$LINENO: result: yes" >&5
2739 echo "${ECHO_T}yes" >&6
2742 echo "$as_me:$LINENO: result: no" >&5
2743 echo "${ECHO_T}no" >&6
2744 SET_MAKE="MAKE=${MAKE-make}"
2747 rm -rf .tst 2>/dev/null
2748 mkdir .tst 2>/dev/null
2749 if test -d .tst; then
2754 rmdir .tst 2>/dev/null
2756 DEPDIR="${am__leading_dot}deps"
2758 ac_config_commands="$ac_config_commands depfiles"
2761 am_make=${MAKE-make}
2762 cat > confinc << 'END'
2767 # If we don't find an include directive, just comment out the code.
2768 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2769 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2773 # First try GNU make style include.
2774 echo "include confinc" > confmf
2775 # We grep out `Entering directory' and `Leaving directory'
2776 # messages which can occur if `w' ends up in MAKEFLAGS.
2777 # In particular we don't look at `^make:' because GNU make might
2778 # be invoked under some other name (usually "gmake"), in which
2779 # case it prints its new name instead of `make'.
2780 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2785 # Now try BSD make style include.
2786 if test "$am__include" = "#"; then
2787 echo '.include "confinc"' > confmf
2788 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2789 am__include=.include
2796 echo "$as_me:$LINENO: result: $_am_result" >&5
2797 echo "${ECHO_T}$_am_result" >&6
2798 rm -f confinc confmf
2800 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2801 if test "${enable_dependency_tracking+set}" = set; then
2802 enableval="$enable_dependency_tracking"
2805 if test "x$enable_dependency_tracking" != xno; then
2806 am_depcomp="$ac_aux_dir/depcomp"
2811 if test "x$enable_dependency_tracking" != xno; then
2821 # test to see if srcdir already configured
2822 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2823 test -f $srcdir/config.status; then
2824 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2825 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2826 { (exit 1); exit 1; }; }
2829 # test whether we have cygpath
2830 if test -z "$CYGPATH_W"; then
2831 if (cygpath --version) >/dev/null 2>/dev/null; then
2832 CYGPATH_W='cygpath -w'
2839 # Define the identity of the package.
2844 cat >>confdefs.h <<_ACEOF
2845 #define PACKAGE "$PACKAGE"
2849 cat >>confdefs.h <<_ACEOF
2850 #define VERSION "$VERSION"
2853 # Some tools Automake needs.
2855 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2858 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2861 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2864 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2867 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2869 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2871 # Installed binaries are usually stripped using `strip' when the user
2872 # run `make install-strip'. However `strip' might not be the right
2873 # tool to use in cross-compilation environments, therefore Automake
2874 # will honor the `STRIP' environment variable to overrule this program.
2875 if test "$cross_compiling" != no; then
2876 if test -n "$ac_tool_prefix"; then
2877 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2878 set dummy ${ac_tool_prefix}strip; ac_word=$2
2879 echo "$as_me:$LINENO: checking for $ac_word" >&5
2880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2881 if test "${ac_cv_prog_STRIP+set}" = set; then
2882 echo $ECHO_N "(cached) $ECHO_C" >&6
2884 if test -n "$STRIP"; then
2885 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2891 test -z "$as_dir" && as_dir=.
2892 for ac_exec_ext in '' $ac_executable_extensions; do
2893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2894 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2903 STRIP=$ac_cv_prog_STRIP
2904 if test -n "$STRIP"; then
2905 echo "$as_me:$LINENO: result: $STRIP" >&5
2906 echo "${ECHO_T}$STRIP" >&6
2908 echo "$as_me:$LINENO: result: no" >&5
2909 echo "${ECHO_T}no" >&6
2913 if test -z "$ac_cv_prog_STRIP"; then
2915 # Extract the first word of "strip", so it can be a program name with args.
2916 set dummy strip; ac_word=$2
2917 echo "$as_me:$LINENO: checking for $ac_word" >&5
2918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2919 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2920 echo $ECHO_N "(cached) $ECHO_C" >&6
2922 if test -n "$ac_ct_STRIP"; then
2923 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2929 test -z "$as_dir" && as_dir=.
2930 for ac_exec_ext in '' $ac_executable_extensions; do
2931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2932 ac_cv_prog_ac_ct_STRIP="strip"
2933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2939 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2942 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2943 if test -n "$ac_ct_STRIP"; then
2944 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2945 echo "${ECHO_T}$ac_ct_STRIP" >&6
2947 echo "$as_me:$LINENO: result: no" >&5
2948 echo "${ECHO_T}no" >&6
2953 STRIP="$ac_cv_prog_STRIP"
2957 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2959 # We need awk for the "check" target. The system "awk" is bad on
2961 # Always define AMTAR for backward compatibility.
2963 AMTAR=${AMTAR-"${am_missing_run}tar"}
2965 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2970 depcc="$CC" am_compiler_list=
2972 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2973 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2974 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2975 echo $ECHO_N "(cached) $ECHO_C" >&6
2977 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2978 # We make a subdir and do the tests there. Otherwise we can end up
2979 # making bogus files that we don't know about and never remove. For
2980 # instance it was reported that on HP-UX the gcc test will end up
2981 # making a dummy file named `D' -- because `-MD' means `put the output
2984 # Copy depcomp to subdir because otherwise we won't find it if we're
2985 # using a relative directory.
2986 cp "$am_depcomp" conftest.dir
2988 # We will build objects and dependencies in a subdirectory because
2989 # it helps to detect inapplicable dependency modes. For instance
2990 # both Tru64's cc and ICC support -MD to output dependencies as a
2991 # side effect of compilation, but ICC will put the dependencies in
2992 # the current directory while Tru64 will put them in the object
2996 am_cv_CC_dependencies_compiler_type=none
2997 if test "$am_compiler_list" = ""; then
2998 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3000 for depmode in $am_compiler_list; do
3001 # Setup a source with many dependencies, because some compilers
3002 # like to wrap large dependency lists on column 80 (with \), and
3003 # we should not choose a depcomp mode which is confused by this.
3005 # We need to recreate these files for each test, as the compiler may
3006 # overwrite some of them when testing with obscure command lines.
3007 # This happens at least with the AIX C compiler.
3009 for i in 1 2 3 4 5 6; do
3010 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3011 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3012 # Solaris 8's {/usr,}/bin/sh.
3013 touch sub/conftst$i.h
3015 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3019 # after this tag, mechanisms are not by side-effect, so they'll
3020 # only be used when explicitly requested
3021 if test "x$enable_dependency_tracking" = xyes; then
3029 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3030 # mode. It turns out that the SunPro C++ compiler does not properly
3031 # handle `-M -o', and we need to detect this.
3032 if depmode=$depmode \
3033 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3034 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3035 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3036 >/dev/null 2>conftest.err &&
3037 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3038 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3039 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3040 # icc doesn't choke on unknown options, it will just issue warnings
3041 # or remarks (even with -Werror). So we grep stderr for any message
3042 # that says an option was ignored or not supported.
3043 # When given -MP, icc 7.0 and 7.1 complain thusly:
3044 # icc: Command line warning: ignoring option '-M'; no argument required
3045 # The diagnosis changed in icc 8.0:
3046 # icc: Command line remark: option '-MP' not supported
3047 if (grep 'ignoring option' conftest.err ||
3048 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3049 am_cv_CC_dependencies_compiler_type=$depmode
3058 am_cv_CC_dependencies_compiler_type=none
3062 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3063 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3064 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3069 test "x$enable_dependency_tracking" != xno \
3070 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3072 am__fastdepCC_FALSE='#'
3074 am__fastdepCC_TRUE='#'
3075 am__fastdepCC_FALSE=
3081 if test -n "$ac_tool_prefix"; then
3082 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3083 set dummy ${ac_tool_prefix}ar; ac_word=$2
3084 echo "$as_me:$LINENO: checking for $ac_word" >&5
3085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3086 if test "${ac_cv_prog_AR+set}" = set; then
3087 echo $ECHO_N "(cached) $ECHO_C" >&6
3089 if test -n "$AR"; then
3090 ac_cv_prog_AR="$AR" # Let the user override the test.
3092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096 test -z "$as_dir" && as_dir=.
3097 for ac_exec_ext in '' $ac_executable_extensions; do
3098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3099 ac_cv_prog_AR="${ac_tool_prefix}ar"
3100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3109 if test -n "$AR"; then
3110 echo "$as_me:$LINENO: result: $AR" >&5
3111 echo "${ECHO_T}$AR" >&6
3113 echo "$as_me:$LINENO: result: no" >&5
3114 echo "${ECHO_T}no" >&6
3118 if test -z "$ac_cv_prog_AR"; then
3120 # Extract the first word of "ar", so it can be a program name with args.
3121 set dummy ar; ac_word=$2
3122 echo "$as_me:$LINENO: checking for $ac_word" >&5
3123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3124 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3125 echo $ECHO_N "(cached) $ECHO_C" >&6
3127 if test -n "$ac_ct_AR"; then
3128 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3134 test -z "$as_dir" && as_dir=.
3135 for ac_exec_ext in '' $ac_executable_extensions; do
3136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3137 ac_cv_prog_ac_ct_AR="ar"
3138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3146 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3147 if test -n "$ac_ct_AR"; then
3148 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3149 echo "${ECHO_T}$ac_ct_AR" >&6
3151 echo "$as_me:$LINENO: result: no" >&5
3152 echo "${ECHO_T}no" >&6
3160 if test -n "$ac_tool_prefix"; then
3161 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3162 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3163 echo "$as_me:$LINENO: checking for $ac_word" >&5
3164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3165 if test "${ac_cv_prog_RANLIB+set}" = set; then
3166 echo $ECHO_N "(cached) $ECHO_C" >&6
3168 if test -n "$RANLIB"; then
3169 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3175 test -z "$as_dir" && as_dir=.
3176 for ac_exec_ext in '' $ac_executable_extensions; do
3177 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3178 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3187 RANLIB=$ac_cv_prog_RANLIB
3188 if test -n "$RANLIB"; then
3189 echo "$as_me:$LINENO: result: $RANLIB" >&5
3190 echo "${ECHO_T}$RANLIB" >&6
3192 echo "$as_me:$LINENO: result: no" >&5
3193 echo "${ECHO_T}no" >&6
3197 if test -z "$ac_cv_prog_RANLIB"; then
3198 ac_ct_RANLIB=$RANLIB
3199 # Extract the first word of "ranlib", so it can be a program name with args.
3200 set dummy ranlib; ac_word=$2
3201 echo "$as_me:$LINENO: checking for $ac_word" >&5
3202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3203 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3204 echo $ECHO_N "(cached) $ECHO_C" >&6
3206 if test -n "$ac_ct_RANLIB"; then
3207 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3213 test -z "$as_dir" && as_dir=.
3214 for ac_exec_ext in '' $ac_executable_extensions; do
3215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3216 ac_cv_prog_ac_ct_RANLIB="ranlib"
3217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3223 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3226 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3227 if test -n "$ac_ct_RANLIB"; then
3228 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3229 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3231 echo "$as_me:$LINENO: result: no" >&5
3232 echo "${ECHO_T}no" >&6
3235 RANLIB=$ac_ct_RANLIB
3237 RANLIB="$ac_cv_prog_RANLIB"
3241 # Check whether --enable-shared or --disable-shared was given.
3242 if test "${enable_shared+set}" = set; then
3243 enableval="$enable_shared"
3244 p=${PACKAGE-default}
3246 yes) enable_shared=yes ;;
3247 no) enable_shared=no ;;
3250 # Look at the argument we got. We use all the common list separators.
3251 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3252 for pkg in $enableval; do
3253 if test "X$pkg" = "X$p"; then
3264 # Check whether --enable-static or --disable-static was given.
3265 if test "${enable_static+set}" = set; then
3266 enableval="$enable_static"
3267 p=${PACKAGE-default}
3269 yes) enable_static=yes ;;
3270 no) enable_static=no ;;
3273 # Look at the argument we got. We use all the common list separators.
3274 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3275 for pkg in $enableval; do
3276 if test "X$pkg" = "X$p"; then
3286 # Check whether --enable-fast-install or --disable-fast-install was given.
3287 if test "${enable_fast_install+set}" = set; then
3288 enableval="$enable_fast_install"
3289 p=${PACKAGE-default}
3291 yes) enable_fast_install=yes ;;
3292 no) enable_fast_install=no ;;
3294 enable_fast_install=no
3295 # Look at the argument we got. We use all the common list separators.
3296 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3297 for pkg in $enableval; do
3298 if test "X$pkg" = "X$p"; then
3299 enable_fast_install=yes
3306 enable_fast_install=yes
3309 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3310 if test "${with_gnu_ld+set}" = set; then
3311 withval="$with_gnu_ld"
3312 test "$withval" = no || with_gnu_ld=yes
3317 if test "$GCC" = yes; then
3318 # Check if gcc -print-prog-name=ld gives a path.
3319 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3320 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3323 # gcc leaves a trailing carriage return which upsets mingw
3324 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3326 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3329 # Accept absolute paths.
3330 [\\/]* | [A-Za-z]:[\\/]*)
3331 re_direlt='/[^/][^/]*/\.\./'
3332 # Canonicalize the path of ld
3333 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3334 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3335 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3337 test -z "$LD" && LD="$ac_prog"
3340 # If it fails, then pretend we aren't using GCC.
3344 # If it is relative, then search for the first ld in PATH.
3348 elif test "$with_gnu_ld" = yes; then
3349 echo "$as_me:$LINENO: checking for GNU ld" >&5
3350 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3352 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3353 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3355 if test "${lt_cv_path_LD+set}" = set; then
3356 echo $ECHO_N "(cached) $ECHO_C" >&6
3358 if test -z "$LD"; then
3359 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3360 for ac_dir in $PATH; do
3361 test -z "$ac_dir" && ac_dir=.
3362 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3363 lt_cv_path_LD="$ac_dir/$ac_prog"
3364 # Check to see if the program is GNU ld. I'd rather use --version,
3365 # but apparently some GNU ld's only accept -v.
3366 # Break only if it was the GNU/non-GNU ld that we prefer.
3367 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3368 test "$with_gnu_ld" != no && break
3370 test "$with_gnu_ld" != yes && break
3376 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3381 if test -n "$LD"; then
3382 echo "$as_me:$LINENO: result: $LD" >&5
3383 echo "${ECHO_T}$LD" >&6
3385 echo "$as_me:$LINENO: result: no" >&5
3386 echo "${ECHO_T}no" >&6
3388 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3389 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3390 { (exit 1); exit 1; }; }
3391 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3392 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3393 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3394 echo $ECHO_N "(cached) $ECHO_C" >&6
3396 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3397 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3398 lt_cv_prog_gnu_ld=yes
3400 lt_cv_prog_gnu_ld=no
3403 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3404 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3405 with_gnu_ld=$lt_cv_prog_gnu_ld
3408 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3409 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3410 if test "${lt_cv_ld_reload_flag+set}" = set; then
3411 echo $ECHO_N "(cached) $ECHO_C" >&6
3413 lt_cv_ld_reload_flag='-r'
3415 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3416 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3417 reload_flag=$lt_cv_ld_reload_flag
3418 test -n "$reload_flag" && reload_flag=" $reload_flag"
3420 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3421 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3422 if test "${lt_cv_path_NM+set}" = set; then
3423 echo $ECHO_N "(cached) $ECHO_C" >&6
3425 if test -n "$NM"; then
3426 # Let the user override the test.
3429 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3430 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3431 test -z "$ac_dir" && ac_dir=.
3432 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3433 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3434 # Check to see if the nm accepts a BSD-compat flag.
3435 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3436 # nm: unknown option "B" ignored
3437 # Tru64's nm complains that /dev/null is an invalid object file
3438 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3439 lt_cv_path_NM="$tmp_nm -B"
3441 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3442 lt_cv_path_NM="$tmp_nm -p"
3445 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3446 continue # so that we can try to find one that supports BSD flags
3451 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3456 echo "$as_me:$LINENO: result: $NM" >&5
3457 echo "${ECHO_T}$NM" >&6
3459 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3460 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3462 if test "$LN_S" = "ln -s"; then
3463 echo "$as_me:$LINENO: result: yes" >&5
3464 echo "${ECHO_T}yes" >&6
3466 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3467 echo "${ECHO_T}no, using $LN_S" >&6
3470 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3471 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3472 if test "${lt_cv_deplibs_check_method+set}" = set; then
3473 echo $ECHO_N "(cached) $ECHO_C" >&6
3475 lt_cv_file_magic_cmd='$MAGIC_CMD'
3476 lt_cv_file_magic_test_file=
3477 lt_cv_deplibs_check_method='unknown'
3478 # Need to set the preceding variable on all platforms that support
3479 # interlibrary dependencies.
3480 # 'none' -- dependencies not supported.
3481 # `unknown' -- same as none, but documents that we really don't know.
3482 # 'pass_all' -- all dependencies passed with no checks.
3483 # 'test_compile' -- check by making test program.
3484 # 'file_magic [regex]' -- check by looking for files in library path
3485 # which responds to the $file_magic_cmd with a given egrep regex.
3486 # If you have `file' or equivalent on your system and you're not sure
3487 # whether `pass_all' will *always* work, you probably want this one.
3491 lt_cv_deplibs_check_method=pass_all
3495 lt_cv_deplibs_check_method=pass_all
3499 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3500 lt_cv_file_magic_cmd='/usr/bin/file -L'
3501 lt_cv_file_magic_test_file=/shlib/libc.so
3504 cygwin* | mingw* |pw32*)
3505 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3506 lt_cv_file_magic_cmd='$OBJDUMP -f'
3509 darwin* | rhapsody*)
3510 # this will be overwritten by pass_all, but leave it in just in case
3511 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3512 lt_cv_file_magic_cmd='/usr/bin/file -L'
3514 rhapsody* | darwin1.012)
3515 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3518 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3521 lt_cv_deplibs_check_method=pass_all
3524 freebsd* | kfreebsd*-gnu)
3525 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3528 # Not sure whether the presence of OpenBSD here was a mistake.
3529 # Let's accept both of them until this is cleared up.
3530 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3531 lt_cv_file_magic_cmd=/usr/bin/file
3532 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3536 lt_cv_deplibs_check_method=pass_all
3541 lt_cv_deplibs_check_method=pass_all
3547 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3548 lt_cv_file_magic_cmd=/usr/bin/file
3549 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3552 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3553 lt_cv_file_magic_cmd=/usr/bin/file
3554 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3562 # this will be overridden with pass_all, but let us keep it just in case
3563 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3567 *-32|*"-32 ") libmagic=32-bit;;
3568 *-n32|*"-n32 ") libmagic=N32;;
3569 *-64|*"-64 ") libmagic=64-bit;;
3570 *) libmagic=never-match;;
3572 # this will be overridden with pass_all, but let us keep it just in case
3573 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3576 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3577 lt_cv_deplibs_check_method=pass_all
3580 # This must be Linux ELF.
3582 lt_cv_deplibs_check_method=pass_all
3585 netbsd* | knetbsd*-gnu)
3586 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3587 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3589 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3594 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3595 lt_cv_file_magic_cmd=/usr/bin/file
3596 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3599 osf3* | osf4* | osf5*)
3600 # this will be overridden with pass_all, but let us keep it just in case
3601 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3602 lt_cv_file_magic_test_file=/shlib/libc.so
3603 lt_cv_deplibs_check_method=pass_all
3607 lt_cv_deplibs_check_method=pass_all
3611 lt_cv_deplibs_check_method=pass_all
3612 lt_cv_file_magic_test_file=/lib/libc.so
3615 sysv5uw[78]* | sysv4*uw2*)
3616 lt_cv_deplibs_check_method=pass_all
3619 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3620 case $host_vendor in
3622 lt_cv_deplibs_check_method=pass_all
3625 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]'
3626 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3633 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3634 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3635 file_magic_cmd=$lt_cv_file_magic_cmd
3636 deplibs_check_method=$lt_cv_deplibs_check_method
3641 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3643 # find the maximum length of command line arguments
3644 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3645 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3646 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3647 echo $ECHO_N "(cached) $ECHO_C" >&6
3654 # On DJGPP, this test can blow up pretty badly due to problems in libc
3655 # (any single argument exceeding 2000 bytes causes a buffer overrun
3656 # during glob expansion). Even if it were fixed, the result of this
3657 # check would be larger than it should be.
3658 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3662 # On Win9x/ME, this test blows up -- it succeeds, but takes
3663 # about 5 minutes as the teststring grows exponentially.
3664 # Worse, since 9x/ME are not pre-emptively multitasking,
3665 # you end up with a "frozen" computer, even though with patience
3666 # the test eventually succeeds (with a max line length of 256k).
3667 # Instead, let's just punt: use the minimum linelength reported by
3668 # all of the supported platforms: 8192 (on NT/2K/XP).
3669 lt_cv_sys_max_cmd_len=8192;
3673 # On AmigaOS with pdksh, this test takes hours, literally.
3674 # So we just punt and use a minimum line length of 8192.
3675 lt_cv_sys_max_cmd_len=8192;
3678 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3679 # This has been around since 386BSD, at least. Likely further.
3680 if test -x /sbin/sysctl; then
3681 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3682 elif test -x /usr/sbin/sysctl; then
3683 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3685 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3687 # And add a safety zone
3688 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3689 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3695 if test -n "$lt_cv_sys_max_cmd_len" ; then
3696 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3697 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3699 echo "$as_me:$LINENO: result: none" >&5
3700 echo "${ECHO_T}none" >&6
3704 # Only perform the check for file, if the check method requires it
3705 case $deplibs_check_method in
3707 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3708 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3709 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3710 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3711 echo $ECHO_N "(cached) $ECHO_C" >&6
3715 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3718 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3721 ac_save_MAGIC_CMD="$MAGIC_CMD"
3722 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3723 ac_dummy="/usr/bin:$PATH"
3724 for ac_dir in $ac_dummy; do
3725 test -z "$ac_dir" && ac_dir=.
3726 if test -f $ac_dir/${ac_tool_prefix}file; then
3727 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3728 if test -n "$file_magic_test_file"; then
3729 case $deplibs_check_method in
3731 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3732 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3733 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3734 egrep "$file_magic_regex" > /dev/null; then
3739 *** Warning: the command libtool uses to detect shared libraries,
3740 *** $file_magic_cmd, produces output that libtool cannot recognize.
3741 *** The result is that libtool may fail to recognize shared libraries
3742 *** as such. This will affect the creation of libtool libraries that
3743 *** depend on shared libraries, but programs linked with such libtool
3744 *** libraries will work regardless of this problem. Nevertheless, you
3745 *** may want to report the problem to your system manager and/or to
3756 MAGIC_CMD="$ac_save_MAGIC_CMD"
3761 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3762 if test -n "$MAGIC_CMD"; then
3763 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3764 echo "${ECHO_T}$MAGIC_CMD" >&6
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3770 if test -z "$lt_cv_path_MAGIC_CMD"; then
3771 if test -n "$ac_tool_prefix"; then
3772 echo "$as_me:$LINENO: checking for file" >&5
3773 echo $ECHO_N "checking for file... $ECHO_C" >&6
3774 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3775 echo $ECHO_N "(cached) $ECHO_C" >&6
3779 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3782 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3785 ac_save_MAGIC_CMD="$MAGIC_CMD"
3786 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3787 ac_dummy="/usr/bin:$PATH"
3788 for ac_dir in $ac_dummy; do
3789 test -z "$ac_dir" && ac_dir=.
3790 if test -f $ac_dir/file; then
3791 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3792 if test -n "$file_magic_test_file"; then
3793 case $deplibs_check_method in
3795 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3796 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3797 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3798 egrep "$file_magic_regex" > /dev/null; then
3803 *** Warning: the command libtool uses to detect shared libraries,
3804 *** $file_magic_cmd, produces output that libtool cannot recognize.
3805 *** The result is that libtool may fail to recognize shared libraries
3806 *** as such. This will affect the creation of libtool libraries that
3807 *** depend on shared libraries, but programs linked with such libtool
3808 *** libraries will work regardless of this problem. Nevertheless, you
3809 *** may want to report the problem to your system manager and/or to
3820 MAGIC_CMD="$ac_save_MAGIC_CMD"
3825 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3826 if test -n "$MAGIC_CMD"; then
3827 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3828 echo "${ECHO_T}$MAGIC_CMD" >&6
3830 echo "$as_me:$LINENO: result: no" >&5
3831 echo "${ECHO_T}no" >&6
3843 if test -n "$ac_tool_prefix"; then
3844 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3845 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3846 echo "$as_me:$LINENO: checking for $ac_word" >&5
3847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3848 if test "${ac_cv_prog_RANLIB+set}" = set; then
3849 echo $ECHO_N "(cached) $ECHO_C" >&6
3851 if test -n "$RANLIB"; then
3852 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3858 test -z "$as_dir" && as_dir=.
3859 for ac_exec_ext in '' $ac_executable_extensions; do
3860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3861 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3870 RANLIB=$ac_cv_prog_RANLIB
3871 if test -n "$RANLIB"; then
3872 echo "$as_me:$LINENO: result: $RANLIB" >&5
3873 echo "${ECHO_T}$RANLIB" >&6
3875 echo "$as_me:$LINENO: result: no" >&5
3876 echo "${ECHO_T}no" >&6
3880 if test -z "$ac_cv_prog_RANLIB"; then
3881 ac_ct_RANLIB=$RANLIB
3882 # Extract the first word of "ranlib", so it can be a program name with args.
3883 set dummy ranlib; ac_word=$2
3884 echo "$as_me:$LINENO: checking for $ac_word" >&5
3885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3886 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3887 echo $ECHO_N "(cached) $ECHO_C" >&6
3889 if test -n "$ac_ct_RANLIB"; then
3890 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3896 test -z "$as_dir" && as_dir=.
3897 for ac_exec_ext in '' $ac_executable_extensions; do
3898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3899 ac_cv_prog_ac_ct_RANLIB="ranlib"
3900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3906 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3909 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3910 if test -n "$ac_ct_RANLIB"; then
3911 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3912 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3914 echo "$as_me:$LINENO: result: no" >&5
3915 echo "${ECHO_T}no" >&6
3918 RANLIB=$ac_ct_RANLIB
3920 RANLIB="$ac_cv_prog_RANLIB"
3923 if test -n "$ac_tool_prefix"; then
3924 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3925 set dummy ${ac_tool_prefix}strip; ac_word=$2
3926 echo "$as_me:$LINENO: checking for $ac_word" >&5
3927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3928 if test "${ac_cv_prog_STRIP+set}" = set; then
3929 echo $ECHO_N "(cached) $ECHO_C" >&6
3931 if test -n "$STRIP"; then
3932 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3938 test -z "$as_dir" && as_dir=.
3939 for ac_exec_ext in '' $ac_executable_extensions; do
3940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3941 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3950 STRIP=$ac_cv_prog_STRIP
3951 if test -n "$STRIP"; then
3952 echo "$as_me:$LINENO: result: $STRIP" >&5
3953 echo "${ECHO_T}$STRIP" >&6
3955 echo "$as_me:$LINENO: result: no" >&5
3956 echo "${ECHO_T}no" >&6
3960 if test -z "$ac_cv_prog_STRIP"; then
3962 # Extract the first word of "strip", so it can be a program name with args.
3963 set dummy strip; ac_word=$2
3964 echo "$as_me:$LINENO: checking for $ac_word" >&5
3965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3966 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3967 echo $ECHO_N "(cached) $ECHO_C" >&6
3969 if test -n "$ac_ct_STRIP"; then
3970 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3976 test -z "$as_dir" && as_dir=.
3977 for ac_exec_ext in '' $ac_executable_extensions; do
3978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3979 ac_cv_prog_ac_ct_STRIP="strip"
3980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3986 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3989 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3990 if test -n "$ac_ct_STRIP"; then
3991 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3992 echo "${ECHO_T}$ac_ct_STRIP" >&6
3994 echo "$as_me:$LINENO: result: no" >&5
3995 echo "${ECHO_T}no" >&6
4000 STRIP="$ac_cv_prog_STRIP"
4004 # Check for any special flags to pass to ltconfig.
4005 libtool_flags="--cache-file=$cache_file"
4006 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4007 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4008 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4009 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4010 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4013 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4014 if test "${enable_libtool_lock+set}" = set; then
4015 enableval="$enable_libtool_lock"
4018 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4019 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4022 # Check whether --with-pic or --without-pic was given.
4023 if test "${with_pic+set}" = set; then
4029 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4030 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4032 # Some flags need to be propagated to the compiler or linker for good
4036 # Find out which ABI we are using.
4037 echo '#line 4037 "configure"' > conftest.$ac_ext
4038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4039 (eval $ac_compile) 2>&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); }; then
4043 if test "$lt_cv_prog_gnu_ld" = yes; then
4044 case `/usr/bin/file conftest.$ac_objext` in
4046 LD="${LD-ld} -melf32bsmip"
4049 LD="${LD-ld} -melf32bmipn32"
4052 LD="${LD-ld} -melf64bmip"
4056 case `/usr/bin/file conftest.$ac_objext` in
4073 # Find out which ABI we are using.
4074 echo 'int i;' > conftest.$ac_ext
4075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4076 (eval $ac_compile) 2>&5
4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); }; then
4080 case "`/usr/bin/file conftest.o`" in
4092 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4093 # Find out which ABI we are using.
4094 echo 'int i;' > conftest.$ac_ext
4095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4096 (eval $ac_compile) 2>&5
4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099 (exit $ac_status); }; then
4100 case "`/usr/bin/file conftest.o`" in
4104 LD="${LD-ld} -m elf_i386"
4106 ppc64-*linux*|powerpc64-*linux*)
4107 LD="${LD-ld} -m elf32ppclinux"
4110 LD="${LD-ld} -m elf_s390"
4113 LD="${LD-ld} -m elf32_sparc"
4120 LD="${LD-ld} -m elf_x86_64"
4122 ppc*-*linux*|powerpc*-*linux*)
4123 LD="${LD-ld} -m elf64ppc"
4126 LD="${LD-ld} -m elf64_s390"
4129 LD="${LD-ld} -m elf64_sparc"
4139 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4140 SAVE_CFLAGS="$CFLAGS"
4141 CFLAGS="$CFLAGS -belf"
4142 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4143 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4144 if test "${lt_cv_cc_needs_belf+set}" = set; then
4145 echo $ECHO_N "(cached) $ECHO_C" >&6
4150 ac_cpp='$CPP $CPPFLAGS'
4151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4155 cat >conftest.$ac_ext <<_ACEOF
4158 cat confdefs.h >>conftest.$ac_ext
4159 cat >>conftest.$ac_ext <<_ACEOF
4160 /* end confdefs.h. */
4170 rm -f conftest.$ac_objext conftest$ac_exeext
4171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4172 (eval $ac_link) 2>conftest.er1
4174 grep -v '^ *+' conftest.er1 >conftest.err
4176 cat conftest.err >&5
4177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178 (exit $ac_status); } &&
4179 { ac_try='test -z "$ac_c_werror_flag"
4180 || test ! -s conftest.err'
4181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4185 (exit $ac_status); }; } &&
4186 { ac_try='test -s conftest$ac_exeext'
4187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4191 (exit $ac_status); }; }; then
4192 lt_cv_cc_needs_belf=yes
4194 echo "$as_me: failed program was:" >&5
4195 sed 's/^/| /' conftest.$ac_ext >&5
4197 lt_cv_cc_needs_belf=no
4199 rm -f conftest.err conftest.$ac_objext \
4200 conftest$ac_exeext conftest.$ac_ext
4202 ac_cpp='$CPP $CPPFLAGS'
4203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4208 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4209 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4210 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4211 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4212 CFLAGS="$SAVE_CFLAGS"
4220 # Save cache, so that ltconfig can load it
4221 cat >confcache <<\_ACEOF
4222 # This file is a shell script that caches the results of configure
4223 # tests run on this system so they can be shared between configure
4224 # scripts and configure runs, see configure's option --config-cache.
4225 # It is not useful on other systems. If it contains results you don't
4226 # want to keep, you may remove or edit it.
4228 # config.status only pays attention to the cache file if you give it
4229 # the --recheck option to rerun configure.
4231 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4232 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4237 # The following way of writing the cache mishandles newlines in values,
4238 # but we know of no workaround that is simple, portable, and efficient.
4239 # So, don't put newlines in cache variables' values.
4240 # Ultrix sh set writes to stderr and can't be redirected directly,
4241 # and sets the high bit in the cache file unless we assign to the vars.
4244 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4246 # `set' does not quote correctly, so add quotes (double-quote
4247 # substitution turns \\\\ into \\, and sed turns \\ into \).
4250 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4253 # `set' quotes correctly as required by POSIX, so do not add quotes.
4255 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4262 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4264 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4266 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4267 if test -w $cache_file; then
4268 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4269 cat confcache >$cache_file
4271 echo "not updating unwritable cache $cache_file"
4276 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4277 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4278 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4279 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4280 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4281 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4282 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4283 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4284 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4285 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4286 echo "$as_me: error: libtool configure failed" >&2;}
4287 { (exit 1); exit 1; }; }
4289 # Reload cache, that may have been modified by ltconfig
4290 if test -r "$cache_file"; then
4291 # Some versions of bash will fail to source /dev/null (special
4292 # files actually), so we avoid doing that.
4293 if test -f "$cache_file"; then
4294 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4295 echo "$as_me: loading cache $cache_file" >&6;}
4297 [\\/]* | ?:[\\/]* ) . $cache_file;;
4298 *) . ./$cache_file;;
4302 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4303 echo "$as_me: creating cache $cache_file" >&6;}
4308 # This can be used to rebuild libtool when needed
4309 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4311 # Always use our own libtool.
4312 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4314 # Redirect the config.log output again, so that the ltconfig log is not
4315 # clobbered by the next message.
4316 exec 5>>./config.log
4324 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
4325 if test "${enable_64_bit_bfd+set}" = set; then
4326 enableval="$enable_64_bit_bfd"
4327 case "${enableval}" in
4330 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
4331 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
4332 { (exit 1); exit 1; }; } ;;
4336 fi; # Check whether --enable-targets or --disable-targets was given.
4337 if test "${enable_targets+set}" = set; then
4338 enableval="$enable_targets"
4339 case "${enableval}" in
4340 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
4341 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
4342 { (exit 1); exit 1; }; }
4344 no) enable_targets= ;;
4345 *) enable_targets=$enableval ;;
4347 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
4348 if test "${enable_commonbfdlib+set}" = set; then
4349 enableval="$enable_commonbfdlib"
4350 case "${enableval}" in
4351 yes) commonbfdlib=true ;;
4352 no) commonbfdlib=false ;;
4353 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
4354 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
4355 { (exit 1); exit 1; }; } ;;
4358 # Check whether --with-mmap or --without-mmap was given.
4359 if test "${with_mmap+set}" = set; then
4360 withval="$with_mmap"
4361 case "${withval}" in
4362 yes) want_mmap=true ;;
4363 no) want_mmap=false ;;
4364 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
4365 echo "$as_me: error: bad value ${withval} for BFD with-mmap option" >&2;}
4366 { (exit 1); exit 1; }; } ;;
4371 # Check whether --enable-secureplt or --disable-secureplt was given.
4372 if test "${enable_secureplt+set}" = set; then
4373 enableval="$enable_secureplt"
4374 case "${enableval}" in
4375 yes) use_secureplt=true ;;
4376 no) use_secureplt=false ;;
4377 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for secureplt option" >&5
4378 echo "$as_me: error: bad value ${enableval} for secureplt option" >&2;}
4379 { (exit 1); exit 1; }; } ;;
4383 fi; if test $use_secureplt = true; then
4385 cat >>confdefs.h <<\_ACEOF
4386 #define USE_SECUREPLT 1
4393 # Check whether --with-pkgversion or --without-pkgversion was given.
4394 if test "${with_pkgversion+set}" = set; then
4395 withval="$with_pkgversion"
4397 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
4398 echo "$as_me: error: package version not specified" >&2;}
4399 { (exit 1); exit 1; }; } ;;
4401 *) PKGVERSION="($withval) " ;;
4404 PKGVERSION="(GNU Binutils) "
4411 # Check whether --with-bugurl or --without-bugurl was given.
4412 if test "${with_bugurl+set}" = set; then
4413 withval="$with_bugurl"
4415 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
4416 echo "$as_me: error: bug URL not specified" >&2;}
4417 { (exit 1); exit 1; }; } ;;
4418 no) REPORT_BUGS_TO="";
4421 *) REPORT_BUGS_TO="<$withval>"
4422 REPORT_BUGS_TEXI="@uref{`echo $withval | sed 's/@/@@/g'`}"
4426 REPORT_BUGS_TO="<http://www.sourceware.org/bugzilla/>"
4427 REPORT_BUGS_TEXI="@uref{`echo http://www.sourceware.org/bugzilla/ | sed 's/@/@@/g'`}"
4435 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4437 # Check whether --enable-werror or --disable-werror was given.
4438 if test "${enable_werror+set}" = set; then
4439 enableval="$enable_werror"
4440 case "${enableval}" in
4441 yes | y) ERROR_ON_WARNING="yes" ;;
4442 no | n) ERROR_ON_WARNING="no" ;;
4443 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4444 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4445 { (exit 1); exit 1; }; } ;;
4449 # Enable -Werror by default when using gcc
4450 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4451 ERROR_ON_WARNING=yes
4455 if test "${ERROR_ON_WARNING}" = yes ; then
4456 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
4457 NO_WERROR="-Wno-error"
4460 if test "${GCC}" = yes ; then
4461 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
4464 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4465 if test "${enable_build_warnings+set}" = set; then
4466 enableval="$enable_build_warnings"
4467 case "${enableval}" in
4468 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
4469 no) if test "${GCC}" = yes ; then
4472 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
4473 WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
4474 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
4475 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
4476 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4480 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
4481 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4488 ac_config_headers="$ac_config_headers config.h:config.in"
4491 if test -z "$target" ; then
4492 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
4493 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
4494 { (exit 1); exit 1; }; }
4497 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4498 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4499 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4500 if test "${enable_maintainer_mode+set}" = set; then
4501 enableval="$enable_maintainer_mode"
4502 USE_MAINTAINER_MODE=$enableval
4504 USE_MAINTAINER_MODE=no
4506 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4507 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4510 if test $USE_MAINTAINER_MODE = yes; then
4511 MAINTAINER_MODE_TRUE=
4512 MAINTAINER_MODE_FALSE='#'
4514 MAINTAINER_MODE_TRUE='#'
4515 MAINTAINER_MODE_FALSE=
4518 MAINT=$MAINTAINER_MODE_TRUE
4524 GENINSRC_NEVER_TRUE=
4525 GENINSRC_NEVER_FALSE='#'
4527 GENINSRC_NEVER_TRUE='#'
4528 GENINSRC_NEVER_FALSE=
4531 case ${build_alias} in
4532 "") build_noncanonical=${build} ;;
4533 *) build_noncanonical=${build_alias} ;;
4536 case ${host_alias} in
4537 "") host_noncanonical=${build_noncanonical} ;;
4538 *) host_noncanonical=${host_alias} ;;
4541 case ${target_alias} in
4542 "") target_noncanonical=${host_noncanonical} ;;
4543 *) target_noncanonical=${target_alias} ;;
4546 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
4547 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
4548 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
4549 if test "${enable_install_libbfd+set}" = set; then
4550 enableval="$enable_install_libbfd"
4551 install_libbfd_p=$enableval
4553 if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
4554 install_libbfd_p=yes
4559 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
4560 echo "${ECHO_T}$install_libbfd_p" >&6
4563 if test $install_libbfd_p = yes; then
4564 INSTALL_LIBBFD_TRUE=
4565 INSTALL_LIBBFD_FALSE='#'
4567 INSTALL_LIBBFD_TRUE='#'
4568 INSTALL_LIBBFD_FALSE=
4571 # Need _noncanonical variables for this.
4576 # libbfd.a is a host library containing target dependent code
4577 bfdlibdir='$(libdir)'
4578 bfdincludedir='$(includedir)'
4579 if test "${host}" != "${target}"; then
4580 bfdlibdir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
4581 bfdincludedir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
4591 bfd_default_target_size=32
4596 ac_cpp='$CPP $CPPFLAGS'
4597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4600 if test -n "$ac_tool_prefix"; then
4601 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4602 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4603 echo "$as_me:$LINENO: checking for $ac_word" >&5
4604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4605 if test "${ac_cv_prog_CC+set}" = set; then
4606 echo $ECHO_N "(cached) $ECHO_C" >&6
4608 if test -n "$CC"; then
4609 ac_cv_prog_CC="$CC" # Let the user override the test.
4611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 test -z "$as_dir" && as_dir=.
4616 for ac_exec_ext in '' $ac_executable_extensions; do
4617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4618 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4628 if test -n "$CC"; then
4629 echo "$as_me:$LINENO: result: $CC" >&5
4630 echo "${ECHO_T}$CC" >&6
4632 echo "$as_me:$LINENO: result: no" >&5
4633 echo "${ECHO_T}no" >&6
4637 if test -z "$ac_cv_prog_CC"; then
4639 # Extract the first word of "gcc", so it can be a program name with args.
4640 set dummy gcc; ac_word=$2
4641 echo "$as_me:$LINENO: checking for $ac_word" >&5
4642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4643 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4644 echo $ECHO_N "(cached) $ECHO_C" >&6
4646 if test -n "$ac_ct_CC"; then
4647 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4653 test -z "$as_dir" && as_dir=.
4654 for ac_exec_ext in '' $ac_executable_extensions; do
4655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4656 ac_cv_prog_ac_ct_CC="gcc"
4657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4665 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4666 if test -n "$ac_ct_CC"; then
4667 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4668 echo "${ECHO_T}$ac_ct_CC" >&6
4670 echo "$as_me:$LINENO: result: no" >&5
4671 echo "${ECHO_T}no" >&6
4679 if test -z "$CC"; then
4680 if test -n "$ac_tool_prefix"; then
4681 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4682 set dummy ${ac_tool_prefix}cc; ac_word=$2
4683 echo "$as_me:$LINENO: checking for $ac_word" >&5
4684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4685 if test "${ac_cv_prog_CC+set}" = set; then
4686 echo $ECHO_N "(cached) $ECHO_C" >&6
4688 if test -n "$CC"; then
4689 ac_cv_prog_CC="$CC" # Let the user override the test.
4691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4695 test -z "$as_dir" && as_dir=.
4696 for ac_exec_ext in '' $ac_executable_extensions; do
4697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4698 ac_cv_prog_CC="${ac_tool_prefix}cc"
4699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4708 if test -n "$CC"; then
4709 echo "$as_me:$LINENO: result: $CC" >&5
4710 echo "${ECHO_T}$CC" >&6
4712 echo "$as_me:$LINENO: result: no" >&5
4713 echo "${ECHO_T}no" >&6
4717 if test -z "$ac_cv_prog_CC"; then
4719 # Extract the first word of "cc", so it can be a program name with args.
4720 set dummy cc; ac_word=$2
4721 echo "$as_me:$LINENO: checking for $ac_word" >&5
4722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4723 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4724 echo $ECHO_N "(cached) $ECHO_C" >&6
4726 if test -n "$ac_ct_CC"; then
4727 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4733 test -z "$as_dir" && as_dir=.
4734 for ac_exec_ext in '' $ac_executable_extensions; do
4735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4736 ac_cv_prog_ac_ct_CC="cc"
4737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4745 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4746 if test -n "$ac_ct_CC"; then
4747 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4748 echo "${ECHO_T}$ac_ct_CC" >&6
4750 echo "$as_me:$LINENO: result: no" >&5
4751 echo "${ECHO_T}no" >&6
4760 if test -z "$CC"; then
4761 # Extract the first word of "cc", so it can be a program name with args.
4762 set dummy cc; ac_word=$2
4763 echo "$as_me:$LINENO: checking for $ac_word" >&5
4764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4765 if test "${ac_cv_prog_CC+set}" = set; then
4766 echo $ECHO_N "(cached) $ECHO_C" >&6
4768 if test -n "$CC"; then
4769 ac_cv_prog_CC="$CC" # Let the user override the test.
4772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4776 test -z "$as_dir" && as_dir=.
4777 for ac_exec_ext in '' $ac_executable_extensions; do
4778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4779 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4780 ac_prog_rejected=yes
4784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4790 if test $ac_prog_rejected = yes; then
4791 # We found a bogon in the path, so make sure we never use it.
4792 set dummy $ac_cv_prog_CC
4794 if test $# != 0; then
4795 # We chose a different compiler from the bogus one.
4796 # However, it has the same basename, so the bogon will be chosen
4797 # first if we set CC to just the basename; use the full file name.
4799 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4805 if test -n "$CC"; then
4806 echo "$as_me:$LINENO: result: $CC" >&5
4807 echo "${ECHO_T}$CC" >&6
4809 echo "$as_me:$LINENO: result: no" >&5
4810 echo "${ECHO_T}no" >&6
4814 if test -z "$CC"; then
4815 if test -n "$ac_tool_prefix"; then
4818 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4819 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4820 echo "$as_me:$LINENO: checking for $ac_word" >&5
4821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4822 if test "${ac_cv_prog_CC+set}" = set; then
4823 echo $ECHO_N "(cached) $ECHO_C" >&6
4825 if test -n "$CC"; then
4826 ac_cv_prog_CC="$CC" # Let the user override the test.
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832 test -z "$as_dir" && as_dir=.
4833 for ac_exec_ext in '' $ac_executable_extensions; do
4834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4835 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4845 if test -n "$CC"; then
4846 echo "$as_me:$LINENO: result: $CC" >&5
4847 echo "${ECHO_T}$CC" >&6
4849 echo "$as_me:$LINENO: result: no" >&5
4850 echo "${ECHO_T}no" >&6
4853 test -n "$CC" && break
4856 if test -z "$CC"; then
4860 # Extract the first word of "$ac_prog", so it can be a program name with args.
4861 set dummy $ac_prog; ac_word=$2
4862 echo "$as_me:$LINENO: checking for $ac_word" >&5
4863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4864 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4865 echo $ECHO_N "(cached) $ECHO_C" >&6
4867 if test -n "$ac_ct_CC"; then
4868 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4874 test -z "$as_dir" && as_dir=.
4875 for ac_exec_ext in '' $ac_executable_extensions; do
4876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4877 ac_cv_prog_ac_ct_CC="$ac_prog"
4878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4886 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4887 if test -n "$ac_ct_CC"; then
4888 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4889 echo "${ECHO_T}$ac_ct_CC" >&6
4891 echo "$as_me:$LINENO: result: no" >&5
4892 echo "${ECHO_T}no" >&6
4895 test -n "$ac_ct_CC" && break
4904 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4905 See \`config.log' for more details." >&5
4906 echo "$as_me: error: no acceptable C compiler found in \$PATH
4907 See \`config.log' for more details." >&2;}
4908 { (exit 1); exit 1; }; }
4910 # Provide some information about the compiler.
4911 echo "$as_me:$LINENO:" \
4912 "checking for C compiler version" >&5
4913 ac_compiler=`set X $ac_compile; echo $2`
4914 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4915 (eval $ac_compiler --version </dev/null >&5) 2>&5
4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918 (exit $ac_status); }
4919 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4920 (eval $ac_compiler -v </dev/null >&5) 2>&5
4922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4923 (exit $ac_status); }
4924 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4925 (eval $ac_compiler -V </dev/null >&5) 2>&5
4927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928 (exit $ac_status); }
4930 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4931 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4932 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4933 echo $ECHO_N "(cached) $ECHO_C" >&6
4935 cat >conftest.$ac_ext <<_ACEOF
4938 cat confdefs.h >>conftest.$ac_ext
4939 cat >>conftest.$ac_ext <<_ACEOF
4940 /* end confdefs.h. */
4953 rm -f conftest.$ac_objext
4954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4955 (eval $ac_compile) 2>conftest.er1
4957 grep -v '^ *+' conftest.er1 >conftest.err
4959 cat conftest.err >&5
4960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4961 (exit $ac_status); } &&
4962 { ac_try='test -z "$ac_c_werror_flag"
4963 || test ! -s conftest.err'
4964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4968 (exit $ac_status); }; } &&
4969 { ac_try='test -s conftest.$ac_objext'
4970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4974 (exit $ac_status); }; }; then
4977 echo "$as_me: failed program was:" >&5
4978 sed 's/^/| /' conftest.$ac_ext >&5
4982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4983 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4986 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4987 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4988 GCC=`test $ac_compiler_gnu = yes && echo yes`
4989 ac_test_CFLAGS=${CFLAGS+set}
4990 ac_save_CFLAGS=$CFLAGS
4992 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4993 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4994 if test "${ac_cv_prog_cc_g+set}" = set; then
4995 echo $ECHO_N "(cached) $ECHO_C" >&6
4997 cat >conftest.$ac_ext <<_ACEOF
5000 cat confdefs.h >>conftest.$ac_ext
5001 cat >>conftest.$ac_ext <<_ACEOF
5002 /* end confdefs.h. */
5012 rm -f conftest.$ac_objext
5013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5014 (eval $ac_compile) 2>conftest.er1
5016 grep -v '^ *+' conftest.er1 >conftest.err
5018 cat conftest.err >&5
5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020 (exit $ac_status); } &&
5021 { ac_try='test -z "$ac_c_werror_flag"
5022 || test ! -s conftest.err'
5023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); }; } &&
5028 { ac_try='test -s conftest.$ac_objext'
5029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5033 (exit $ac_status); }; }; then
5036 echo "$as_me: failed program was:" >&5
5037 sed 's/^/| /' conftest.$ac_ext >&5
5041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5043 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5044 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5045 if test "$ac_test_CFLAGS" = set; then
5046 CFLAGS=$ac_save_CFLAGS
5047 elif test $ac_cv_prog_cc_g = yes; then
5048 if test "$GCC" = yes; then
5054 if test "$GCC" = yes; then
5060 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5061 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5062 if test "${ac_cv_prog_cc_stdc+set}" = set; then
5063 echo $ECHO_N "(cached) $ECHO_C" >&6
5065 ac_cv_prog_cc_stdc=no
5067 cat >conftest.$ac_ext <<_ACEOF
5070 cat confdefs.h >>conftest.$ac_ext
5071 cat >>conftest.$ac_ext <<_ACEOF
5072 /* end confdefs.h. */
5075 #include <sys/types.h>
5076 #include <sys/stat.h>
5077 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5078 struct buf { int x; };
5079 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5080 static char *e (p, i)
5086 static char *f (char * (*g) (char **, int), char **p, ...)
5091 s = g (p, va_arg (v,int));
5096 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5097 function prototypes and stuff, but not '\xHH' hex character constants.
5098 These don't provoke an error unfortunately, instead are silently treated
5099 as 'x'. The following induces an error, until -std1 is added to get
5100 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5101 array size at least. It's necessary to write '\x00'==0 to get something
5102 that's true only with -std1. */
5103 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5105 int test (int i, double x);
5106 struct s1 {int (*f) (int a);};
5107 struct s2 {int (*f) (double a);};
5108 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5114 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5119 # Don't try gcc -ansi; that turns off useful extensions and
5120 # breaks some systems' header files.
5121 # AIX -qlanglvl=ansi
5122 # Ultrix and OSF/1 -std1
5123 # HP-UX 10.20 and later -Ae
5124 # HP-UX older versions -Aa -D_HPUX_SOURCE
5125 # SVR4 -Xc -D__EXTENSIONS__
5126 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5128 CC="$ac_save_CC $ac_arg"
5129 rm -f conftest.$ac_objext
5130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5131 (eval $ac_compile) 2>conftest.er1
5133 grep -v '^ *+' conftest.er1 >conftest.err
5135 cat conftest.err >&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); } &&
5138 { ac_try='test -z "$ac_c_werror_flag"
5139 || test ! -s conftest.err'
5140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5144 (exit $ac_status); }; } &&
5145 { ac_try='test -s conftest.$ac_objext'
5146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150 (exit $ac_status); }; }; then
5151 ac_cv_prog_cc_stdc=$ac_arg
5154 echo "$as_me: failed program was:" >&5
5155 sed 's/^/| /' conftest.$ac_ext >&5
5158 rm -f conftest.err conftest.$ac_objext
5160 rm -f conftest.$ac_ext conftest.$ac_objext
5165 case "x$ac_cv_prog_cc_stdc" in
5167 echo "$as_me:$LINENO: result: none needed" >&5
5168 echo "${ECHO_T}none needed" >&6 ;;
5170 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5171 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5172 CC="$CC $ac_cv_prog_cc_stdc" ;;
5175 # Some people use a C++ compiler to compile C. Since we use `exit',
5176 # in C++ we need to declare it. In case someone uses the same compiler
5177 # for both compiling C and C++ we need to have the C++ compiler decide
5178 # the declaration of exit, since it's the most demanding environment.
5179 cat >conftest.$ac_ext <<_ACEOF
5184 rm -f conftest.$ac_objext
5185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5186 (eval $ac_compile) 2>conftest.er1
5188 grep -v '^ *+' conftest.er1 >conftest.err
5190 cat conftest.err >&5
5191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192 (exit $ac_status); } &&
5193 { ac_try='test -z "$ac_c_werror_flag"
5194 || test ! -s conftest.err'
5195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199 (exit $ac_status); }; } &&
5200 { ac_try='test -s conftest.$ac_objext'
5201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5205 (exit $ac_status); }; }; then
5206 for ac_declaration in \
5208 'extern "C" void std::exit (int) throw (); using std::exit;' \
5209 'extern "C" void std::exit (int); using std::exit;' \
5210 'extern "C" void exit (int) throw ();' \
5211 'extern "C" void exit (int);' \
5214 cat >conftest.$ac_ext <<_ACEOF
5217 cat confdefs.h >>conftest.$ac_ext
5218 cat >>conftest.$ac_ext <<_ACEOF
5219 /* end confdefs.h. */
5230 rm -f conftest.$ac_objext
5231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5232 (eval $ac_compile) 2>conftest.er1
5234 grep -v '^ *+' conftest.er1 >conftest.err
5236 cat conftest.err >&5
5237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5238 (exit $ac_status); } &&
5239 { ac_try='test -z "$ac_c_werror_flag"
5240 || test ! -s conftest.err'
5241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5245 (exit $ac_status); }; } &&
5246 { ac_try='test -s conftest.$ac_objext'
5247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5251 (exit $ac_status); }; }; then
5254 echo "$as_me: failed program was:" >&5
5255 sed 's/^/| /' conftest.$ac_ext >&5
5259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5260 cat >conftest.$ac_ext <<_ACEOF
5263 cat confdefs.h >>conftest.$ac_ext
5264 cat >>conftest.$ac_ext <<_ACEOF
5265 /* end confdefs.h. */
5275 rm -f conftest.$ac_objext
5276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5277 (eval $ac_compile) 2>conftest.er1
5279 grep -v '^ *+' conftest.er1 >conftest.err
5281 cat conftest.err >&5
5282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5283 (exit $ac_status); } &&
5284 { ac_try='test -z "$ac_c_werror_flag"
5285 || test ! -s conftest.err'
5286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); }; } &&
5291 { ac_try='test -s conftest.$ac_objext'
5292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); }; }; then
5299 echo "$as_me: failed program was:" >&5
5300 sed 's/^/| /' conftest.$ac_ext >&5
5303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5306 if test -n "$ac_declaration"; then
5307 echo '#ifdef __cplusplus' >>confdefs.h
5308 echo $ac_declaration >>confdefs.h
5309 echo '#endif' >>confdefs.h
5313 echo "$as_me: failed program was:" >&5
5314 sed 's/^/| /' conftest.$ac_ext >&5
5317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5319 ac_cpp='$CPP $CPPFLAGS'
5320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5325 cat >>confdefs.h <<\_ACEOF
5326 #define _GNU_SOURCE 1
5331 ALL_LINGUAS="fr tr ja es sv da zh_CN ro rw vi"
5332 # If we haven't got the data from the intl directory,
5333 # assume NLS is disabled.
5342 if test -f ../intl/config.intl; then
5343 . ../intl/config.intl
5345 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
5346 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
5347 if test x"$USE_NLS" != xyes; then
5348 echo "$as_me:$LINENO: result: no" >&5
5349 echo "${ECHO_T}no" >&6
5351 echo "$as_me:$LINENO: result: yes" >&5
5352 echo "${ECHO_T}yes" >&6
5354 cat >>confdefs.h <<\_ACEOF
5355 #define ENABLE_NLS 1
5359 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5360 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5361 # Look for .po and .gmo files in the source directory.
5364 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
5365 # If there aren't any .gmo files the shell will give us the
5366 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5368 case "$cat" in *\**)
5371 # The quadruple backslash is collapsed to a double backslash
5372 # by the backticks, then collapsed again by the double quotes,
5373 # leaving us with one backslash in the sed expression (right
5374 # before the dot that mustn't act as a wildcard).
5375 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5376 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
5377 # The user is allowed to set LINGUAS to a list of languages to
5378 # install catalogs for. If it's empty that means "all of them."
5379 if test "x$LINGUAS" = x; then
5380 CATALOGS="$CATALOGS $cat"
5381 XLINGUAS="$XLINGUAS $lang"
5383 case "$LINGUAS" in *$lang*)
5384 CATALOGS="$CATALOGS $cat"
5385 XLINGUAS="$XLINGUAS $lang"
5391 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5392 echo "${ECHO_T}$LINGUAS" >&6
5406 if test -n "$ac_aux_dir"; then
5407 case "$ac_aux_dir" in
5408 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
5409 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5412 if test -z "$MKINSTALLDIRS"; then
5413 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5418 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
5419 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
5420 # Check whether --enable-nls or --disable-nls was given.
5421 if test "${enable_nls+set}" = set; then
5422 enableval="$enable_nls"
5427 echo "$as_me:$LINENO: result: $USE_NLS" >&5
5428 echo "${ECHO_T}$USE_NLS" >&6
5435 # Prepare PATH_SEPARATOR.
5436 # The user is always right.
5437 if test "${PATH_SEPARATOR+set}" != set; then
5438 echo "#! /bin/sh" >conf$$.sh
5439 echo "exit 0" >>conf$$.sh
5441 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5449 # Find out how to test for executable files. Don't use a zero-byte file,
5450 # as systems may use methods other than mode bits to determine executability.
5451 cat >conf$$.file <<_ASEOF
5455 chmod +x conf$$.file
5456 if test -x conf$$.file >/dev/null 2>&1; then
5457 ac_executable_p="test -x"
5459 ac_executable_p="test -f"
5463 # Extract the first word of "msgfmt", so it can be a program name with args.
5464 set dummy msgfmt; ac_word=$2
5465 echo "$as_me:$LINENO: checking for $ac_word" >&5
5466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5467 if test "${ac_cv_path_MSGFMT+set}" = set; then
5468 echo $ECHO_N "(cached) $ECHO_C" >&6
5472 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5475 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5476 for ac_dir in $PATH; do
5478 test -z "$ac_dir" && ac_dir=.
5479 for ac_exec_ext in '' $ac_executable_extensions; do
5480 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5481 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
5482 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5483 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
5490 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
5494 MSGFMT="$ac_cv_path_MSGFMT"
5495 if test "$MSGFMT" != ":"; then
5496 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5497 echo "${ECHO_T}$MSGFMT" >&6
5499 echo "$as_me:$LINENO: result: no" >&5
5500 echo "${ECHO_T}no" >&6
5503 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5504 set dummy gmsgfmt; ac_word=$2
5505 echo "$as_me:$LINENO: checking for $ac_word" >&5
5506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5507 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5508 echo $ECHO_N "(cached) $ECHO_C" >&6
5512 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5519 test -z "$as_dir" && as_dir=.
5520 for ac_exec_ext in '' $ac_executable_extensions; do
5521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5522 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5529 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5533 GMSGFMT=$ac_cv_path_GMSGFMT
5535 if test -n "$GMSGFMT"; then
5536 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5537 echo "${ECHO_T}$GMSGFMT" >&6
5539 echo "$as_me:$LINENO: result: no" >&5
5540 echo "${ECHO_T}no" >&6
5545 # Prepare PATH_SEPARATOR.
5546 # The user is always right.
5547 if test "${PATH_SEPARATOR+set}" != set; then
5548 echo "#! /bin/sh" >conf$$.sh
5549 echo "exit 0" >>conf$$.sh
5551 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5559 # Find out how to test for executable files. Don't use a zero-byte file,
5560 # as systems may use methods other than mode bits to determine executability.
5561 cat >conf$$.file <<_ASEOF
5565 chmod +x conf$$.file
5566 if test -x conf$$.file >/dev/null 2>&1; then
5567 ac_executable_p="test -x"
5569 ac_executable_p="test -f"
5573 # Extract the first word of "xgettext", so it can be a program name with args.
5574 set dummy xgettext; ac_word=$2
5575 echo "$as_me:$LINENO: checking for $ac_word" >&5
5576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5577 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5578 echo $ECHO_N "(cached) $ECHO_C" >&6
5582 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5585 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5586 for ac_dir in $PATH; do
5588 test -z "$ac_dir" && ac_dir=.
5589 for ac_exec_ext in '' $ac_executable_extensions; do
5590 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5591 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
5592 (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
5593 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
5600 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5604 XGETTEXT="$ac_cv_path_XGETTEXT"
5605 if test "$XGETTEXT" != ":"; then
5606 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5607 echo "${ECHO_T}$XGETTEXT" >&6
5609 echo "$as_me:$LINENO: result: no" >&5
5610 echo "${ECHO_T}no" >&6
5616 # Prepare PATH_SEPARATOR.
5617 # The user is always right.
5618 if test "${PATH_SEPARATOR+set}" != set; then
5619 echo "#! /bin/sh" >conf$$.sh
5620 echo "exit 0" >>conf$$.sh
5622 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5630 # Find out how to test for executable files. Don't use a zero-byte file,
5631 # as systems may use methods other than mode bits to determine executability.
5632 cat >conf$$.file <<_ASEOF
5636 chmod +x conf$$.file
5637 if test -x conf$$.file >/dev/null 2>&1; then
5638 ac_executable_p="test -x"
5640 ac_executable_p="test -f"
5644 # Extract the first word of "msgmerge", so it can be a program name with args.
5645 set dummy msgmerge; ac_word=$2
5646 echo "$as_me:$LINENO: checking for $ac_word" >&5
5647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5648 if test "${ac_cv_path_MSGMERGE+set}" = set; then
5649 echo $ECHO_N "(cached) $ECHO_C" >&6
5653 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5656 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5657 for ac_dir in $PATH; do
5659 test -z "$ac_dir" && ac_dir=.
5660 for ac_exec_ext in '' $ac_executable_extensions; do
5661 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5662 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
5663 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
5670 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
5674 MSGMERGE="$ac_cv_path_MSGMERGE"
5675 if test "$MSGMERGE" != ":"; then
5676 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
5677 echo "${ECHO_T}$MSGMERGE" >&6
5679 echo "$as_me:$LINENO: result: no" >&5
5680 echo "${ECHO_T}no" >&6
5684 if test "$GMSGFMT" != ":"; then
5685 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
5686 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5689 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
5690 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
5691 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
5696 if test "$XGETTEXT" != ":"; then
5697 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
5698 (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
5701 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
5702 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
5708 ac_config_commands="$ac_config_commands default-1"
5712 # Permit host specific settings.
5713 . ${srcdir}/configure.host
5716 # Find a good install program. We prefer a C program (faster),
5717 # so one script is as good as another. But avoid the broken or
5718 # incompatible versions:
5719 # SysV /etc/install, /usr/sbin/install
5720 # SunOS /usr/etc/install
5721 # IRIX /sbin/install
5723 # AmigaOS /C/install, which installs bootblocks on floppy discs
5724 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5725 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5726 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5727 # OS/2's system install, which has a completely different semantic
5728 # ./install, which can be erroneously created by make from ./install.sh.
5729 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5730 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5731 if test -z "$INSTALL"; then
5732 if test "${ac_cv_path_install+set}" = set; then
5733 echo $ECHO_N "(cached) $ECHO_C" >&6
5735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5739 test -z "$as_dir" && as_dir=.
5740 # Account for people who put trailing slashes in PATH elements.
5742 ./ | .// | /cC/* | \
5743 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5744 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5747 # OSF1 and SCO ODT 3.0 have their own names for install.
5748 # Don't use installbsd from OSF since it installs stuff as root
5750 for ac_prog in ginstall scoinst install; do
5751 for ac_exec_ext in '' $ac_executable_extensions; do
5752 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5753 if test $ac_prog = install &&
5754 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5755 # AIX install. It has an incompatible calling convention.
5757 elif test $ac_prog = install &&
5758 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5759 # program-specific install script used by HP pwplus--don't use.
5762 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5774 if test "${ac_cv_path_install+set}" = set; then
5775 INSTALL=$ac_cv_path_install
5777 # As a last resort, use the slow shell script. We don't cache a
5778 # path for INSTALL within a source directory, because that will
5779 # break other packages using the cache if that directory is
5780 # removed, or if the path is relative.
5781 INSTALL=$ac_install_sh
5784 echo "$as_me:$LINENO: result: $INSTALL" >&5
5785 echo "${ECHO_T}$INSTALL" >&6
5787 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5788 # It thinks the first close brace ends the variable substitution.
5789 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5791 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5793 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5796 BFD_HOST_64BIT_LONG=0
5797 BFD_HOST_LONG_LONG=0
5798 BFD_HOST_64_BIT_DEFINED=0
5802 echo "$as_me:$LINENO: checking for long long" >&5
5803 echo $ECHO_N "checking for long long... $ECHO_C" >&6
5804 if test "${bfd_cv_has_long_long+set}" = set; then
5805 echo $ECHO_N "(cached) $ECHO_C" >&6
5807 cat >conftest.$ac_ext <<_ACEOF
5810 cat confdefs.h >>conftest.$ac_ext
5811 cat >>conftest.$ac_ext <<_ACEOF
5812 /* end confdefs.h. */
5817 unsigned long long ll = 18446744073709551615ULL;
5822 rm -f conftest.$ac_objext
5823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5824 (eval $ac_compile) 2>conftest.er1
5826 grep -v '^ *+' conftest.er1 >conftest.err
5828 cat conftest.err >&5
5829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5830 (exit $ac_status); } &&
5831 { ac_try='test -z "$ac_c_werror_flag"
5832 || test ! -s conftest.err'
5833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837 (exit $ac_status); }; } &&
5838 { ac_try='test -s conftest.$ac_objext'
5839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843 (exit $ac_status); }; }; then
5844 bfd_cv_has_long_long=yes
5846 echo "$as_me: failed program was:" >&5
5847 sed 's/^/| /' conftest.$ac_ext >&5
5849 bfd_cv_has_long_long=no
5851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5854 echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
5855 echo "${ECHO_T}$bfd_cv_has_long_long" >&6
5856 if test $bfd_cv_has_long_long = yes; then
5857 BFD_HOST_LONG_LONG=1
5859 ac_cpp='$CPP $CPPFLAGS'
5860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5863 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5864 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5865 # On Suns, sometimes $CPP names a directory.
5866 if test -n "$CPP" && test -d "$CPP"; then
5869 if test -z "$CPP"; then
5870 if test "${ac_cv_prog_CPP+set}" = set; then
5871 echo $ECHO_N "(cached) $ECHO_C" >&6
5873 # Double quotes because CPP needs to be expanded
5874 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5877 for ac_c_preproc_warn_flag in '' yes
5879 # Use a header file that comes with gcc, so configuring glibc
5880 # with a fresh cross-compiler works.
5881 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5882 # <limits.h> exists even on freestanding compilers.
5883 # On the NeXT, cc -E runs the code through the compiler's parser,
5884 # not just through cpp. "Syntax error" is here to catch this case.
5885 cat >conftest.$ac_ext <<_ACEOF
5888 cat confdefs.h >>conftest.$ac_ext
5889 cat >>conftest.$ac_ext <<_ACEOF
5890 /* end confdefs.h. */
5892 # include <limits.h>
5894 # include <assert.h>
5898 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5899 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5901 grep -v '^ *+' conftest.er1 >conftest.err
5903 cat conftest.err >&5
5904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905 (exit $ac_status); } >/dev/null; then
5906 if test -s conftest.err; then
5907 ac_cpp_err=$ac_c_preproc_warn_flag
5908 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5915 if test -z "$ac_cpp_err"; then
5918 echo "$as_me: failed program was:" >&5
5919 sed 's/^/| /' conftest.$ac_ext >&5
5921 # Broken: fails on valid input.
5924 rm -f conftest.err conftest.$ac_ext
5926 # OK, works on sane cases. Now check whether non-existent headers
5927 # can be detected and how.
5928 cat >conftest.$ac_ext <<_ACEOF
5931 cat confdefs.h >>conftest.$ac_ext
5932 cat >>conftest.$ac_ext <<_ACEOF
5933 /* end confdefs.h. */
5934 #include <ac_nonexistent.h>
5936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5937 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5939 grep -v '^ *+' conftest.er1 >conftest.err
5941 cat conftest.err >&5
5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943 (exit $ac_status); } >/dev/null; then
5944 if test -s conftest.err; then
5945 ac_cpp_err=$ac_c_preproc_warn_flag
5946 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5953 if test -z "$ac_cpp_err"; then
5954 # Broken: success on invalid input.
5957 echo "$as_me: failed program was:" >&5
5958 sed 's/^/| /' conftest.$ac_ext >&5
5960 # Passes both tests.
5964 rm -f conftest.err conftest.$ac_ext
5967 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5968 rm -f conftest.err conftest.$ac_ext
5969 if $ac_preproc_ok; then
5981 echo "$as_me:$LINENO: result: $CPP" >&5
5982 echo "${ECHO_T}$CPP" >&6
5984 for ac_c_preproc_warn_flag in '' yes
5986 # Use a header file that comes with gcc, so configuring glibc
5987 # with a fresh cross-compiler works.
5988 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5989 # <limits.h> exists even on freestanding compilers.
5990 # On the NeXT, cc -E runs the code through the compiler's parser,
5991 # not just through cpp. "Syntax error" is here to catch this case.
5992 cat >conftest.$ac_ext <<_ACEOF
5995 cat confdefs.h >>conftest.$ac_ext
5996 cat >>conftest.$ac_ext <<_ACEOF
5997 /* end confdefs.h. */
5999 # include <limits.h>
6001 # include <assert.h>
6005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6006 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6008 grep -v '^ *+' conftest.er1 >conftest.err
6010 cat conftest.err >&5
6011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012 (exit $ac_status); } >/dev/null; then
6013 if test -s conftest.err; then
6014 ac_cpp_err=$ac_c_preproc_warn_flag
6015 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6022 if test -z "$ac_cpp_err"; then
6025 echo "$as_me: failed program was:" >&5
6026 sed 's/^/| /' conftest.$ac_ext >&5
6028 # Broken: fails on valid input.
6031 rm -f conftest.err conftest.$ac_ext
6033 # OK, works on sane cases. Now check whether non-existent headers
6034 # can be detected and how.
6035 cat >conftest.$ac_ext <<_ACEOF
6038 cat confdefs.h >>conftest.$ac_ext
6039 cat >>conftest.$ac_ext <<_ACEOF
6040 /* end confdefs.h. */
6041 #include <ac_nonexistent.h>
6043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6044 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6046 grep -v '^ *+' conftest.er1 >conftest.err
6048 cat conftest.err >&5
6049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6050 (exit $ac_status); } >/dev/null; then
6051 if test -s conftest.err; then
6052 ac_cpp_err=$ac_c_preproc_warn_flag
6053 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6060 if test -z "$ac_cpp_err"; then
6061 # Broken: success on invalid input.
6064 echo "$as_me: failed program was:" >&5
6065 sed 's/^/| /' conftest.$ac_ext >&5
6067 # Passes both tests.
6071 rm -f conftest.err conftest.$ac_ext
6074 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6075 rm -f conftest.err conftest.$ac_ext
6076 if $ac_preproc_ok; then
6079 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6080 See \`config.log' for more details." >&5
6081 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6082 See \`config.log' for more details." >&2;}
6083 { (exit 1); exit 1; }; }
6087 ac_cpp='$CPP $CPPFLAGS'
6088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6093 echo "$as_me:$LINENO: checking for egrep" >&5
6094 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6095 if test "${ac_cv_prog_egrep+set}" = set; then
6096 echo $ECHO_N "(cached) $ECHO_C" >&6
6098 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6099 then ac_cv_prog_egrep='grep -E'
6100 else ac_cv_prog_egrep='egrep'
6103 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6104 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6105 EGREP=$ac_cv_prog_egrep
6108 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6109 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6110 if test "${ac_cv_header_stdc+set}" = set; then
6111 echo $ECHO_N "(cached) $ECHO_C" >&6
6113 cat >conftest.$ac_ext <<_ACEOF
6116 cat confdefs.h >>conftest.$ac_ext
6117 cat >>conftest.$ac_ext <<_ACEOF
6118 /* end confdefs.h. */
6132 rm -f conftest.$ac_objext
6133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6134 (eval $ac_compile) 2>conftest.er1
6136 grep -v '^ *+' conftest.er1 >conftest.err
6138 cat conftest.err >&5
6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 (exit $ac_status); } &&
6141 { ac_try='test -z "$ac_c_werror_flag"
6142 || test ! -s conftest.err'
6143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6147 (exit $ac_status); }; } &&
6148 { ac_try='test -s conftest.$ac_objext'
6149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); }; }; then
6154 ac_cv_header_stdc=yes
6156 echo "$as_me: failed program was:" >&5
6157 sed 's/^/| /' conftest.$ac_ext >&5
6159 ac_cv_header_stdc=no
6161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6163 if test $ac_cv_header_stdc = yes; then
6164 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6165 cat >conftest.$ac_ext <<_ACEOF
6168 cat confdefs.h >>conftest.$ac_ext
6169 cat >>conftest.$ac_ext <<_ACEOF
6170 /* end confdefs.h. */
6174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6175 $EGREP "memchr" >/dev/null 2>&1; then
6178 ac_cv_header_stdc=no
6184 if test $ac_cv_header_stdc = yes; then
6185 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6186 cat >conftest.$ac_ext <<_ACEOF
6189 cat confdefs.h >>conftest.$ac_ext
6190 cat >>conftest.$ac_ext <<_ACEOF
6191 /* end confdefs.h. */
6195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6196 $EGREP "free" >/dev/null 2>&1; then
6199 ac_cv_header_stdc=no
6205 if test $ac_cv_header_stdc = yes; then
6206 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6207 if test "$cross_compiling" = yes; then
6210 cat >conftest.$ac_ext <<_ACEOF
6213 cat confdefs.h >>conftest.$ac_ext
6214 cat >>conftest.$ac_ext <<_ACEOF
6215 /* end confdefs.h. */
6217 #if ((' ' & 0x0FF) == 0x020)
6218 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6219 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6221 # define ISLOWER(c) \
6222 (('a' <= (c) && (c) <= 'i') \
6223 || ('j' <= (c) && (c) <= 'r') \
6224 || ('s' <= (c) && (c) <= 'z'))
6225 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6228 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6233 for (i = 0; i < 256; i++)
6234 if (XOR (islower (i), ISLOWER (i))
6235 || toupper (i) != TOUPPER (i))
6240 rm -f conftest$ac_exeext
6241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6242 (eval $ac_link) 2>&5
6244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250 (exit $ac_status); }; }; then
6253 echo "$as_me: program exited with status $ac_status" >&5
6254 echo "$as_me: failed program was:" >&5
6255 sed 's/^/| /' conftest.$ac_ext >&5
6258 ac_cv_header_stdc=no
6260 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6264 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6265 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6266 if test $ac_cv_header_stdc = yes; then
6268 cat >>confdefs.h <<\_ACEOF
6269 #define STDC_HEADERS 1
6274 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6284 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6285 inttypes.h stdint.h unistd.h
6287 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6288 echo "$as_me:$LINENO: checking for $ac_header" >&5
6289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6291 echo $ECHO_N "(cached) $ECHO_C" >&6
6293 cat >conftest.$ac_ext <<_ACEOF
6296 cat confdefs.h >>conftest.$ac_ext
6297 cat >>conftest.$ac_ext <<_ACEOF
6298 /* end confdefs.h. */
6299 $ac_includes_default
6301 #include <$ac_header>
6303 rm -f conftest.$ac_objext
6304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6305 (eval $ac_compile) 2>conftest.er1
6307 grep -v '^ *+' conftest.er1 >conftest.err
6309 cat conftest.err >&5
6310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6311 (exit $ac_status); } &&
6312 { ac_try='test -z "$ac_c_werror_flag"
6313 || test ! -s conftest.err'
6314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6318 (exit $ac_status); }; } &&
6319 { ac_try='test -s conftest.$ac_objext'
6320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6324 (exit $ac_status); }; }; then
6325 eval "$as_ac_Header=yes"
6327 echo "$as_me: failed program was:" >&5
6328 sed 's/^/| /' conftest.$ac_ext >&5
6330 eval "$as_ac_Header=no"
6332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6337 cat >>confdefs.h <<_ACEOF
6338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6346 echo "$as_me:$LINENO: checking for long long" >&5
6347 echo $ECHO_N "checking for long long... $ECHO_C" >&6
6348 if test "${ac_cv_type_long_long+set}" = set; then
6349 echo $ECHO_N "(cached) $ECHO_C" >&6
6351 cat >conftest.$ac_ext <<_ACEOF
6354 cat confdefs.h >>conftest.$ac_ext
6355 cat >>conftest.$ac_ext <<_ACEOF
6356 /* end confdefs.h. */
6357 $ac_includes_default
6361 if ((long long *) 0)
6363 if (sizeof (long long))
6369 rm -f conftest.$ac_objext
6370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6371 (eval $ac_compile) 2>conftest.er1
6373 grep -v '^ *+' conftest.er1 >conftest.err
6375 cat conftest.err >&5
6376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6377 (exit $ac_status); } &&
6378 { ac_try='test -z "$ac_c_werror_flag"
6379 || test ! -s conftest.err'
6380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6384 (exit $ac_status); }; } &&
6385 { ac_try='test -s conftest.$ac_objext'
6386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6390 (exit $ac_status); }; }; then
6391 ac_cv_type_long_long=yes
6393 echo "$as_me: failed program was:" >&5
6394 sed 's/^/| /' conftest.$ac_ext >&5
6396 ac_cv_type_long_long=no
6398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6400 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
6401 echo "${ECHO_T}$ac_cv_type_long_long" >&6
6403 echo "$as_me:$LINENO: checking size of long long" >&5
6404 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
6405 if test "${ac_cv_sizeof_long_long+set}" = set; then
6406 echo $ECHO_N "(cached) $ECHO_C" >&6
6408 if test "$ac_cv_type_long_long" = yes; then
6409 # The cast to unsigned long works around a bug in the HP C Compiler
6410 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6411 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6412 # This bug is HP SR number 8606223364.
6413 if test "$cross_compiling" = yes; then
6414 # Depending upon the size, compute the lo and hi bounds.
6415 cat >conftest.$ac_ext <<_ACEOF
6418 cat confdefs.h >>conftest.$ac_ext
6419 cat >>conftest.$ac_ext <<_ACEOF
6420 /* end confdefs.h. */
6421 $ac_includes_default
6425 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
6432 rm -f conftest.$ac_objext
6433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6434 (eval $ac_compile) 2>conftest.er1
6436 grep -v '^ *+' conftest.er1 >conftest.err
6438 cat conftest.err >&5
6439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 (exit $ac_status); } &&
6441 { ac_try='test -z "$ac_c_werror_flag"
6442 || test ! -s conftest.err'
6443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447 (exit $ac_status); }; } &&
6448 { ac_try='test -s conftest.$ac_objext'
6449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); }; }; then
6456 cat >conftest.$ac_ext <<_ACEOF
6459 cat confdefs.h >>conftest.$ac_ext
6460 cat >>conftest.$ac_ext <<_ACEOF
6461 /* end confdefs.h. */
6462 $ac_includes_default
6466 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
6473 rm -f conftest.$ac_objext
6474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6475 (eval $ac_compile) 2>conftest.er1
6477 grep -v '^ *+' conftest.er1 >conftest.err
6479 cat conftest.err >&5
6480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6481 (exit $ac_status); } &&
6482 { ac_try='test -z "$ac_c_werror_flag"
6483 || test ! -s conftest.err'
6484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); }; } &&
6489 { ac_try='test -s conftest.$ac_objext'
6490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6494 (exit $ac_status); }; }; then
6495 ac_hi=$ac_mid; break
6497 echo "$as_me: failed program was:" >&5
6498 sed 's/^/| /' conftest.$ac_ext >&5
6500 ac_lo=`expr $ac_mid + 1`
6501 if test $ac_lo -le $ac_mid; then
6505 ac_mid=`expr 2 '*' $ac_mid + 1`
6507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6510 echo "$as_me: failed program was:" >&5
6511 sed 's/^/| /' conftest.$ac_ext >&5
6513 cat >conftest.$ac_ext <<_ACEOF
6516 cat confdefs.h >>conftest.$ac_ext
6517 cat >>conftest.$ac_ext <<_ACEOF
6518 /* end confdefs.h. */
6519 $ac_includes_default
6523 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
6530 rm -f conftest.$ac_objext
6531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6532 (eval $ac_compile) 2>conftest.er1
6534 grep -v '^ *+' conftest.er1 >conftest.err
6536 cat conftest.err >&5
6537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538 (exit $ac_status); } &&
6539 { ac_try='test -z "$ac_c_werror_flag"
6540 || test ! -s conftest.err'
6541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); }; } &&
6546 { ac_try='test -s conftest.$ac_objext'
6547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551 (exit $ac_status); }; }; then
6554 cat >conftest.$ac_ext <<_ACEOF
6557 cat confdefs.h >>conftest.$ac_ext
6558 cat >>conftest.$ac_ext <<_ACEOF
6559 /* end confdefs.h. */
6560 $ac_includes_default
6564 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
6571 rm -f conftest.$ac_objext
6572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6573 (eval $ac_compile) 2>conftest.er1
6575 grep -v '^ *+' conftest.er1 >conftest.err
6577 cat conftest.err >&5
6578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6579 (exit $ac_status); } &&
6580 { ac_try='test -z "$ac_c_werror_flag"
6581 || test ! -s conftest.err'
6582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6586 (exit $ac_status); }; } &&
6587 { ac_try='test -s conftest.$ac_objext'
6588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6592 (exit $ac_status); }; }; then
6593 ac_lo=$ac_mid; break
6595 echo "$as_me: failed program was:" >&5
6596 sed 's/^/| /' conftest.$ac_ext >&5
6598 ac_hi=`expr '(' $ac_mid ')' - 1`
6599 if test $ac_mid -le $ac_hi; then
6603 ac_mid=`expr 2 '*' $ac_mid`
6605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6608 echo "$as_me: failed program was:" >&5
6609 sed 's/^/| /' conftest.$ac_ext >&5
6613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6616 # Binary search between lo and hi bounds.
6617 while test "x$ac_lo" != "x$ac_hi"; do
6618 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6619 cat >conftest.$ac_ext <<_ACEOF
6622 cat confdefs.h >>conftest.$ac_ext
6623 cat >>conftest.$ac_ext <<_ACEOF
6624 /* end confdefs.h. */
6625 $ac_includes_default
6629 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
6636 rm -f conftest.$ac_objext
6637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6638 (eval $ac_compile) 2>conftest.er1
6640 grep -v '^ *+' conftest.er1 >conftest.err
6642 cat conftest.err >&5
6643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6644 (exit $ac_status); } &&
6645 { ac_try='test -z "$ac_c_werror_flag"
6646 || test ! -s conftest.err'
6647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 (exit $ac_status); }; } &&
6652 { ac_try='test -s conftest.$ac_objext'
6653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6657 (exit $ac_status); }; }; then
6660 echo "$as_me: failed program was:" >&5
6661 sed 's/^/| /' conftest.$ac_ext >&5
6663 ac_lo=`expr '(' $ac_mid ')' + 1`
6665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6668 ?*) ac_cv_sizeof_long_long=$ac_lo;;
6669 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
6670 See \`config.log' for more details." >&5
6671 echo "$as_me: error: cannot compute sizeof (long long), 77
6672 See \`config.log' for more details." >&2;}
6673 { (exit 1); exit 1; }; } ;;
6676 if test "$cross_compiling" = yes; then
6677 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6678 See \`config.log' for more details." >&5
6679 echo "$as_me: error: cannot run test program while cross compiling
6680 See \`config.log' for more details." >&2;}
6681 { (exit 1); exit 1; }; }
6683 cat >conftest.$ac_ext <<_ACEOF
6686 cat confdefs.h >>conftest.$ac_ext
6687 cat >>conftest.$ac_ext <<_ACEOF
6688 /* end confdefs.h. */
6689 $ac_includes_default
6690 long longval () { return (long) (sizeof (long long)); }
6691 unsigned long ulongval () { return (long) (sizeof (long long)); }
6698 FILE *f = fopen ("conftest.val", "w");
6701 if (((long) (sizeof (long long))) < 0)
6703 long i = longval ();
6704 if (i != ((long) (sizeof (long long))))
6706 fprintf (f, "%ld\n", i);
6710 unsigned long i = ulongval ();
6711 if (i != ((long) (sizeof (long long))))
6713 fprintf (f, "%lu\n", i);
6715 exit (ferror (f) || fclose (f) != 0);
6721 rm -f conftest$ac_exeext
6722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6723 (eval $ac_link) 2>&5
6725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6731 (exit $ac_status); }; }; then
6732 ac_cv_sizeof_long_long=`cat conftest.val`
6734 echo "$as_me: program exited with status $ac_status" >&5
6735 echo "$as_me: failed program was:" >&5
6736 sed 's/^/| /' conftest.$ac_ext >&5
6739 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
6740 See \`config.log' for more details." >&5
6741 echo "$as_me: error: cannot compute sizeof (long long), 77
6742 See \`config.log' for more details." >&2;}
6743 { (exit 1); exit 1; }; }
6745 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6750 ac_cv_sizeof_long_long=0
6753 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
6754 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
6755 cat >>confdefs.h <<_ACEOF
6756 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
6762 echo "$as_me:$LINENO: checking for long" >&5
6763 echo $ECHO_N "checking for long... $ECHO_C" >&6
6764 if test "${ac_cv_type_long+set}" = set; then
6765 echo $ECHO_N "(cached) $ECHO_C" >&6
6767 cat >conftest.$ac_ext <<_ACEOF
6770 cat confdefs.h >>conftest.$ac_ext
6771 cat >>conftest.$ac_ext <<_ACEOF
6772 /* end confdefs.h. */
6773 $ac_includes_default
6785 rm -f conftest.$ac_objext
6786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6787 (eval $ac_compile) 2>conftest.er1
6789 grep -v '^ *+' conftest.er1 >conftest.err
6791 cat conftest.err >&5
6792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6793 (exit $ac_status); } &&
6794 { ac_try='test -z "$ac_c_werror_flag"
6795 || test ! -s conftest.err'
6796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6800 (exit $ac_status); }; } &&
6801 { ac_try='test -s conftest.$ac_objext'
6802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6806 (exit $ac_status); }; }; then
6809 echo "$as_me: failed program was:" >&5
6810 sed 's/^/| /' conftest.$ac_ext >&5
6814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6816 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
6817 echo "${ECHO_T}$ac_cv_type_long" >&6
6819 echo "$as_me:$LINENO: checking size of long" >&5
6820 echo $ECHO_N "checking size of long... $ECHO_C" >&6
6821 if test "${ac_cv_sizeof_long+set}" = set; then
6822 echo $ECHO_N "(cached) $ECHO_C" >&6
6824 if test "$ac_cv_type_long" = yes; then
6825 # The cast to unsigned long works around a bug in the HP C Compiler
6826 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6827 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6828 # This bug is HP SR number 8606223364.
6829 if test "$cross_compiling" = yes; then
6830 # Depending upon the size, compute the lo and hi bounds.
6831 cat >conftest.$ac_ext <<_ACEOF
6834 cat confdefs.h >>conftest.$ac_ext
6835 cat >>conftest.$ac_ext <<_ACEOF
6836 /* end confdefs.h. */
6837 $ac_includes_default
6841 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
6848 rm -f conftest.$ac_objext
6849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6850 (eval $ac_compile) 2>conftest.er1
6852 grep -v '^ *+' conftest.er1 >conftest.err
6854 cat conftest.err >&5
6855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6856 (exit $ac_status); } &&
6857 { ac_try='test -z "$ac_c_werror_flag"
6858 || test ! -s conftest.err'
6859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6863 (exit $ac_status); }; } &&
6864 { ac_try='test -s conftest.$ac_objext'
6865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6869 (exit $ac_status); }; }; then
6872 cat >conftest.$ac_ext <<_ACEOF
6875 cat confdefs.h >>conftest.$ac_ext
6876 cat >>conftest.$ac_ext <<_ACEOF
6877 /* end confdefs.h. */
6878 $ac_includes_default
6882 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6889 rm -f conftest.$ac_objext
6890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6891 (eval $ac_compile) 2>conftest.er1
6893 grep -v '^ *+' conftest.er1 >conftest.err
6895 cat conftest.err >&5
6896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6897 (exit $ac_status); } &&
6898 { ac_try='test -z "$ac_c_werror_flag"
6899 || test ! -s conftest.err'
6900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904 (exit $ac_status); }; } &&
6905 { ac_try='test -s conftest.$ac_objext'
6906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910 (exit $ac_status); }; }; then
6911 ac_hi=$ac_mid; break
6913 echo "$as_me: failed program was:" >&5
6914 sed 's/^/| /' conftest.$ac_ext >&5
6916 ac_lo=`expr $ac_mid + 1`
6917 if test $ac_lo -le $ac_mid; then
6921 ac_mid=`expr 2 '*' $ac_mid + 1`
6923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6926 echo "$as_me: failed program was:" >&5
6927 sed 's/^/| /' conftest.$ac_ext >&5
6929 cat >conftest.$ac_ext <<_ACEOF
6932 cat confdefs.h >>conftest.$ac_ext
6933 cat >>conftest.$ac_ext <<_ACEOF
6934 /* end confdefs.h. */
6935 $ac_includes_default
6939 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
6946 rm -f conftest.$ac_objext
6947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6948 (eval $ac_compile) 2>conftest.er1
6950 grep -v '^ *+' conftest.er1 >conftest.err
6952 cat conftest.err >&5
6953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6954 (exit $ac_status); } &&
6955 { ac_try='test -z "$ac_c_werror_flag"
6956 || test ! -s conftest.err'
6957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961 (exit $ac_status); }; } &&
6962 { ac_try='test -s conftest.$ac_objext'
6963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6967 (exit $ac_status); }; }; then
6970 cat >conftest.$ac_ext <<_ACEOF
6973 cat confdefs.h >>conftest.$ac_ext
6974 cat >>conftest.$ac_ext <<_ACEOF
6975 /* end confdefs.h. */
6976 $ac_includes_default
6980 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
6987 rm -f conftest.$ac_objext
6988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6989 (eval $ac_compile) 2>conftest.er1
6991 grep -v '^ *+' conftest.er1 >conftest.err
6993 cat conftest.err >&5
6994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995 (exit $ac_status); } &&
6996 { ac_try='test -z "$ac_c_werror_flag"
6997 || test ! -s conftest.err'
6998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7002 (exit $ac_status); }; } &&
7003 { ac_try='test -s conftest.$ac_objext'
7004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7008 (exit $ac_status); }; }; then
7009 ac_lo=$ac_mid; break
7011 echo "$as_me: failed program was:" >&5
7012 sed 's/^/| /' conftest.$ac_ext >&5
7014 ac_hi=`expr '(' $ac_mid ')' - 1`
7015 if test $ac_mid -le $ac_hi; then
7019 ac_mid=`expr 2 '*' $ac_mid`
7021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7024 echo "$as_me: failed program was:" >&5
7025 sed 's/^/| /' conftest.$ac_ext >&5
7029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7032 # Binary search between lo and hi bounds.
7033 while test "x$ac_lo" != "x$ac_hi"; do
7034 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7035 cat >conftest.$ac_ext <<_ACEOF
7038 cat confdefs.h >>conftest.$ac_ext
7039 cat >>conftest.$ac_ext <<_ACEOF
7040 /* end confdefs.h. */
7041 $ac_includes_default
7045 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7052 rm -f conftest.$ac_objext
7053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7054 (eval $ac_compile) 2>conftest.er1
7056 grep -v '^ *+' conftest.er1 >conftest.err
7058 cat conftest.err >&5
7059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7060 (exit $ac_status); } &&
7061 { ac_try='test -z "$ac_c_werror_flag"
7062 || test ! -s conftest.err'
7063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7067 (exit $ac_status); }; } &&
7068 { ac_try='test -s conftest.$ac_objext'
7069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7073 (exit $ac_status); }; }; then
7076 echo "$as_me: failed program was:" >&5
7077 sed 's/^/| /' conftest.$ac_ext >&5
7079 ac_lo=`expr '(' $ac_mid ')' + 1`
7081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7084 ?*) ac_cv_sizeof_long=$ac_lo;;
7085 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7086 See \`config.log' for more details." >&5
7087 echo "$as_me: error: cannot compute sizeof (long), 77
7088 See \`config.log' for more details." >&2;}
7089 { (exit 1); exit 1; }; } ;;
7092 if test "$cross_compiling" = yes; then
7093 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7094 See \`config.log' for more details." >&5
7095 echo "$as_me: error: cannot run test program while cross compiling
7096 See \`config.log' for more details." >&2;}
7097 { (exit 1); exit 1; }; }
7099 cat >conftest.$ac_ext <<_ACEOF
7102 cat confdefs.h >>conftest.$ac_ext
7103 cat >>conftest.$ac_ext <<_ACEOF
7104 /* end confdefs.h. */
7105 $ac_includes_default
7106 long longval () { return (long) (sizeof (long)); }
7107 unsigned long ulongval () { return (long) (sizeof (long)); }
7114 FILE *f = fopen ("conftest.val", "w");
7117 if (((long) (sizeof (long))) < 0)
7119 long i = longval ();
7120 if (i != ((long) (sizeof (long))))
7122 fprintf (f, "%ld\n", i);
7126 unsigned long i = ulongval ();
7127 if (i != ((long) (sizeof (long))))
7129 fprintf (f, "%lu\n", i);
7131 exit (ferror (f) || fclose (f) != 0);
7137 rm -f conftest$ac_exeext
7138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7139 (eval $ac_link) 2>&5
7141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7142 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7147 (exit $ac_status); }; }; then
7148 ac_cv_sizeof_long=`cat conftest.val`
7150 echo "$as_me: program exited with status $ac_status" >&5
7151 echo "$as_me: failed program was:" >&5
7152 sed 's/^/| /' conftest.$ac_ext >&5
7155 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7156 See \`config.log' for more details." >&5
7157 echo "$as_me: error: cannot compute sizeof (long), 77
7158 See \`config.log' for more details." >&2;}
7159 { (exit 1); exit 1; }; }
7161 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7169 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7170 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7171 cat >>confdefs.h <<_ACEOF
7172 #define SIZEOF_LONG $ac_cv_sizeof_long
7176 if test "x${ac_cv_sizeof_long}" = "x8"; then
7178 BFD_HOST_64BIT_LONG=1
7179 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long"
7180 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long"
7181 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
7182 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long long"
7183 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long long"
7186 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
7187 BFD_HOST_64_BIT_DEFINED=1
7188 BFD_HOST_64_BIT="${HOST_64BIT_TYPE}"
7189 BFD_HOST_U_64_BIT="${HOST_U_64BIT_TYPE}"
7198 # Put a plausible default for CC_FOR_BUILD in Makefile.
7199 if test -z "$CC_FOR_BUILD"; then
7200 if test "x$cross_compiling" = "xno"; then
7201 CC_FOR_BUILD='$(CC)'
7207 # Also set EXEEXT_FOR_BUILD.
7208 if test "x$cross_compiling" = "xno"; then
7209 EXEEXT_FOR_BUILD='$(EXEEXT)'
7211 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
7212 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
7213 if test "${bfd_cv_build_exeext+set}" = set; then
7214 echo $ECHO_N "(cached) $ECHO_C" >&6
7217 echo 'int main () { return 0; }' > conftest.c
7218 bfd_cv_build_exeext=
7219 ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
7220 for file in conftest.*; do
7222 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
7223 *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
7227 test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
7229 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
7230 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
7232 test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
7242 for ac_header in stddef.h string.h strings.h stdlib.h time.h unistd.h
7244 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7246 echo "$as_me:$LINENO: checking for $ac_header" >&5
7247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7249 echo $ECHO_N "(cached) $ECHO_C" >&6
7251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7252 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7254 # Is the header compilable?
7255 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7256 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7257 cat >conftest.$ac_ext <<_ACEOF
7260 cat confdefs.h >>conftest.$ac_ext
7261 cat >>conftest.$ac_ext <<_ACEOF
7262 /* end confdefs.h. */
7263 $ac_includes_default
7264 #include <$ac_header>
7266 rm -f conftest.$ac_objext
7267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7268 (eval $ac_compile) 2>conftest.er1
7270 grep -v '^ *+' conftest.er1 >conftest.err
7272 cat conftest.err >&5
7273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274 (exit $ac_status); } &&
7275 { ac_try='test -z "$ac_c_werror_flag"
7276 || test ! -s conftest.err'
7277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281 (exit $ac_status); }; } &&
7282 { ac_try='test -s conftest.$ac_objext'
7283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7287 (exit $ac_status); }; }; then
7288 ac_header_compiler=yes
7290 echo "$as_me: failed program was:" >&5
7291 sed 's/^/| /' conftest.$ac_ext >&5
7293 ac_header_compiler=no
7295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7296 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7297 echo "${ECHO_T}$ac_header_compiler" >&6
7299 # Is the header present?
7300 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7301 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7302 cat >conftest.$ac_ext <<_ACEOF
7305 cat confdefs.h >>conftest.$ac_ext
7306 cat >>conftest.$ac_ext <<_ACEOF
7307 /* end confdefs.h. */
7308 #include <$ac_header>
7310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7311 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7313 grep -v '^ *+' conftest.er1 >conftest.err
7315 cat conftest.err >&5
7316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7317 (exit $ac_status); } >/dev/null; then
7318 if test -s conftest.err; then
7319 ac_cpp_err=$ac_c_preproc_warn_flag
7320 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7327 if test -z "$ac_cpp_err"; then
7328 ac_header_preproc=yes
7330 echo "$as_me: failed program was:" >&5
7331 sed 's/^/| /' conftest.$ac_ext >&5
7333 ac_header_preproc=no
7335 rm -f conftest.err conftest.$ac_ext
7336 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7337 echo "${ECHO_T}$ac_header_preproc" >&6
7339 # So? What about this header?
7340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7342 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7345 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7346 ac_header_preproc=yes
7349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7352 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7353 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7354 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7355 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7356 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7359 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7360 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7363 ## ------------------------------------------ ##
7364 ## Report this to the AC_PACKAGE_NAME lists. ##
7365 ## ------------------------------------------ ##
7368 sed "s/^/$as_me: WARNING: /" >&2
7371 echo "$as_me:$LINENO: checking for $ac_header" >&5
7372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7374 echo $ECHO_N "(cached) $ECHO_C" >&6
7376 eval "$as_ac_Header=\$ac_header_preproc"
7378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7383 cat >>confdefs.h <<_ACEOF
7384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7394 for ac_header in fcntl.h sys/file.h sys/time.h
7396 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7398 echo "$as_me:$LINENO: checking for $ac_header" >&5
7399 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7401 echo $ECHO_N "(cached) $ECHO_C" >&6
7403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7406 # Is the header compilable?
7407 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7408 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7409 cat >conftest.$ac_ext <<_ACEOF
7412 cat confdefs.h >>conftest.$ac_ext
7413 cat >>conftest.$ac_ext <<_ACEOF
7414 /* end confdefs.h. */
7415 $ac_includes_default
7416 #include <$ac_header>
7418 rm -f conftest.$ac_objext
7419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7420 (eval $ac_compile) 2>conftest.er1
7422 grep -v '^ *+' conftest.er1 >conftest.err
7424 cat conftest.err >&5
7425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7426 (exit $ac_status); } &&
7427 { ac_try='test -z "$ac_c_werror_flag"
7428 || test ! -s conftest.err'
7429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7433 (exit $ac_status); }; } &&
7434 { ac_try='test -s conftest.$ac_objext'
7435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7439 (exit $ac_status); }; }; then
7440 ac_header_compiler=yes
7442 echo "$as_me: failed program was:" >&5
7443 sed 's/^/| /' conftest.$ac_ext >&5
7445 ac_header_compiler=no
7447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7449 echo "${ECHO_T}$ac_header_compiler" >&6
7451 # Is the header present?
7452 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7453 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7454 cat >conftest.$ac_ext <<_ACEOF
7457 cat confdefs.h >>conftest.$ac_ext
7458 cat >>conftest.$ac_ext <<_ACEOF
7459 /* end confdefs.h. */
7460 #include <$ac_header>
7462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7463 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7465 grep -v '^ *+' conftest.er1 >conftest.err
7467 cat conftest.err >&5
7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469 (exit $ac_status); } >/dev/null; then
7470 if test -s conftest.err; then
7471 ac_cpp_err=$ac_c_preproc_warn_flag
7472 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7479 if test -z "$ac_cpp_err"; then
7480 ac_header_preproc=yes
7482 echo "$as_me: failed program was:" >&5
7483 sed 's/^/| /' conftest.$ac_ext >&5
7485 ac_header_preproc=no
7487 rm -f conftest.err conftest.$ac_ext
7488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7489 echo "${ECHO_T}$ac_header_preproc" >&6
7491 # So? What about this header?
7492 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7494 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7495 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7497 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7498 ac_header_preproc=yes
7501 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7502 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7503 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7504 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7505 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7506 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7507 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7508 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7509 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7510 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7511 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7512 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7515 ## ------------------------------------------ ##
7516 ## Report this to the AC_PACKAGE_NAME lists. ##
7517 ## ------------------------------------------ ##
7520 sed "s/^/$as_me: WARNING: /" >&2
7523 echo "$as_me:$LINENO: checking for $ac_header" >&5
7524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7526 echo $ECHO_N "(cached) $ECHO_C" >&6
7528 eval "$as_ac_Header=\$ac_header_preproc"
7530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7531 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7534 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7535 cat >>confdefs.h <<_ACEOF
7536 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7543 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
7544 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
7545 if test "${ac_cv_header_time+set}" = set; then
7546 echo $ECHO_N "(cached) $ECHO_C" >&6
7548 cat >conftest.$ac_ext <<_ACEOF
7551 cat confdefs.h >>conftest.$ac_ext
7552 cat >>conftest.$ac_ext <<_ACEOF
7553 /* end confdefs.h. */
7554 #include <sys/types.h>
7555 #include <sys/time.h>
7561 if ((struct tm *) 0)
7567 rm -f conftest.$ac_objext
7568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7569 (eval $ac_compile) 2>conftest.er1
7571 grep -v '^ *+' conftest.er1 >conftest.err
7573 cat conftest.err >&5
7574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7575 (exit $ac_status); } &&
7576 { ac_try='test -z "$ac_c_werror_flag"
7577 || test ! -s conftest.err'
7578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7582 (exit $ac_status); }; } &&
7583 { ac_try='test -s conftest.$ac_objext'
7584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7588 (exit $ac_status); }; }; then
7589 ac_cv_header_time=yes
7591 echo "$as_me: failed program was:" >&5
7592 sed 's/^/| /' conftest.$ac_ext >&5
7594 ac_cv_header_time=no
7596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7598 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7599 echo "${ECHO_T}$ac_cv_header_time" >&6
7600 if test $ac_cv_header_time = yes; then
7602 cat >>confdefs.h <<\_ACEOF
7603 #define TIME_WITH_SYS_TIME 1
7614 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
7615 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
7616 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
7617 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
7618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7619 echo $ECHO_N "(cached) $ECHO_C" >&6
7621 cat >conftest.$ac_ext <<_ACEOF
7624 cat confdefs.h >>conftest.$ac_ext
7625 cat >>conftest.$ac_ext <<_ACEOF
7626 /* end confdefs.h. */
7627 #include <sys/types.h>
7639 rm -f conftest.$ac_objext
7640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7641 (eval $ac_compile) 2>conftest.er1
7643 grep -v '^ *+' conftest.er1 >conftest.err
7645 cat conftest.err >&5
7646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7647 (exit $ac_status); } &&
7648 { ac_try='test -z "$ac_c_werror_flag"
7649 || test ! -s conftest.err'
7650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7654 (exit $ac_status); }; } &&
7655 { ac_try='test -s conftest.$ac_objext'
7656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660 (exit $ac_status); }; }; then
7661 eval "$as_ac_Header=yes"
7663 echo "$as_me: failed program was:" >&5
7664 sed 's/^/| /' conftest.$ac_ext >&5
7666 eval "$as_ac_Header=no"
7668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7673 cat >>confdefs.h <<_ACEOF
7674 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
7677 ac_header_dirent=$ac_hdr; break
7681 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
7682 if test $ac_header_dirent = dirent.h; then
7683 echo "$as_me:$LINENO: checking for library containing opendir" >&5
7684 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
7685 if test "${ac_cv_search_opendir+set}" = set; then
7686 echo $ECHO_N "(cached) $ECHO_C" >&6
7688 ac_func_search_save_LIBS=$LIBS
7689 ac_cv_search_opendir=no
7690 cat >conftest.$ac_ext <<_ACEOF
7693 cat confdefs.h >>conftest.$ac_ext
7694 cat >>conftest.$ac_ext <<_ACEOF
7695 /* end confdefs.h. */
7697 /* Override any gcc2 internal prototype to avoid an error. */
7701 /* We use char because int might match the return type of a gcc2
7702 builtin and then its argument prototype would still apply. */
7712 rm -f conftest.$ac_objext conftest$ac_exeext
7713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7714 (eval $ac_link) 2>conftest.er1
7716 grep -v '^ *+' conftest.er1 >conftest.err
7718 cat conftest.err >&5
7719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7720 (exit $ac_status); } &&
7721 { ac_try='test -z "$ac_c_werror_flag"
7722 || test ! -s conftest.err'
7723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7727 (exit $ac_status); }; } &&
7728 { ac_try='test -s conftest$ac_exeext'
7729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7733 (exit $ac_status); }; }; then
7734 ac_cv_search_opendir="none required"
7736 echo "$as_me: failed program was:" >&5
7737 sed 's/^/| /' conftest.$ac_ext >&5
7740 rm -f conftest.err conftest.$ac_objext \
7741 conftest$ac_exeext conftest.$ac_ext
7742 if test "$ac_cv_search_opendir" = no; then
7743 for ac_lib in dir; do
7744 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7745 cat >conftest.$ac_ext <<_ACEOF
7748 cat confdefs.h >>conftest.$ac_ext
7749 cat >>conftest.$ac_ext <<_ACEOF
7750 /* end confdefs.h. */
7752 /* Override any gcc2 internal prototype to avoid an error. */
7756 /* We use char because int might match the return type of a gcc2
7757 builtin and then its argument prototype would still apply. */
7767 rm -f conftest.$ac_objext conftest$ac_exeext
7768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7769 (eval $ac_link) 2>conftest.er1
7771 grep -v '^ *+' conftest.er1 >conftest.err
7773 cat conftest.err >&5
7774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7775 (exit $ac_status); } &&
7776 { ac_try='test -z "$ac_c_werror_flag"
7777 || test ! -s conftest.err'
7778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7782 (exit $ac_status); }; } &&
7783 { ac_try='test -s conftest$ac_exeext'
7784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7788 (exit $ac_status); }; }; then
7789 ac_cv_search_opendir="-l$ac_lib"
7792 echo "$as_me: failed program was:" >&5
7793 sed 's/^/| /' conftest.$ac_ext >&5
7796 rm -f conftest.err conftest.$ac_objext \
7797 conftest$ac_exeext conftest.$ac_ext
7800 LIBS=$ac_func_search_save_LIBS
7802 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
7803 echo "${ECHO_T}$ac_cv_search_opendir" >&6
7804 if test "$ac_cv_search_opendir" != no; then
7805 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
7810 echo "$as_me:$LINENO: checking for library containing opendir" >&5
7811 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
7812 if test "${ac_cv_search_opendir+set}" = set; then
7813 echo $ECHO_N "(cached) $ECHO_C" >&6
7815 ac_func_search_save_LIBS=$LIBS
7816 ac_cv_search_opendir=no
7817 cat >conftest.$ac_ext <<_ACEOF
7820 cat confdefs.h >>conftest.$ac_ext
7821 cat >>conftest.$ac_ext <<_ACEOF
7822 /* end confdefs.h. */
7824 /* Override any gcc2 internal prototype to avoid an error. */
7828 /* We use char because int might match the return type of a gcc2
7829 builtin and then its argument prototype would still apply. */
7839 rm -f conftest.$ac_objext conftest$ac_exeext
7840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7841 (eval $ac_link) 2>conftest.er1
7843 grep -v '^ *+' conftest.er1 >conftest.err
7845 cat conftest.err >&5
7846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7847 (exit $ac_status); } &&
7848 { ac_try='test -z "$ac_c_werror_flag"
7849 || test ! -s conftest.err'
7850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7854 (exit $ac_status); }; } &&
7855 { ac_try='test -s conftest$ac_exeext'
7856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7860 (exit $ac_status); }; }; then
7861 ac_cv_search_opendir="none required"
7863 echo "$as_me: failed program was:" >&5
7864 sed 's/^/| /' conftest.$ac_ext >&5
7867 rm -f conftest.err conftest.$ac_objext \
7868 conftest$ac_exeext conftest.$ac_ext
7869 if test "$ac_cv_search_opendir" = no; then
7871 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7872 cat >conftest.$ac_ext <<_ACEOF
7875 cat confdefs.h >>conftest.$ac_ext
7876 cat >>conftest.$ac_ext <<_ACEOF
7877 /* end confdefs.h. */
7879 /* Override any gcc2 internal prototype to avoid an error. */
7883 /* We use char because int might match the return type of a gcc2
7884 builtin and then its argument prototype would still apply. */
7894 rm -f conftest.$ac_objext conftest$ac_exeext
7895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7896 (eval $ac_link) 2>conftest.er1
7898 grep -v '^ *+' conftest.er1 >conftest.err
7900 cat conftest.err >&5
7901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7902 (exit $ac_status); } &&
7903 { ac_try='test -z "$ac_c_werror_flag"
7904 || test ! -s conftest.err'
7905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909 (exit $ac_status); }; } &&
7910 { ac_try='test -s conftest$ac_exeext'
7911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7915 (exit $ac_status); }; }; then
7916 ac_cv_search_opendir="-l$ac_lib"
7919 echo "$as_me: failed program was:" >&5
7920 sed 's/^/| /' conftest.$ac_ext >&5
7923 rm -f conftest.err conftest.$ac_objext \
7924 conftest$ac_exeext conftest.$ac_ext
7927 LIBS=$ac_func_search_save_LIBS
7929 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
7930 echo "${ECHO_T}$ac_cv_search_opendir" >&6
7931 if test "$ac_cv_search_opendir" != no; then
7932 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
7938 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
7939 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
7940 if test "${gcc_cv_header_string+set}" = set; then
7941 echo $ECHO_N "(cached) $ECHO_C" >&6
7943 cat >conftest.$ac_ext <<_ACEOF
7946 cat confdefs.h >>conftest.$ac_ext
7947 cat >>conftest.$ac_ext <<_ACEOF
7948 /* end confdefs.h. */
7950 #include <strings.h>
7959 rm -f conftest.$ac_objext
7960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7961 (eval $ac_compile) 2>conftest.er1
7963 grep -v '^ *+' conftest.er1 >conftest.err
7965 cat conftest.err >&5
7966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7967 (exit $ac_status); } &&
7968 { ac_try='test -z "$ac_c_werror_flag"
7969 || test ! -s conftest.err'
7970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974 (exit $ac_status); }; } &&
7975 { ac_try='test -s conftest.$ac_objext'
7976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980 (exit $ac_status); }; }; then
7981 gcc_cv_header_string=yes
7983 echo "$as_me: failed program was:" >&5
7984 sed 's/^/| /' conftest.$ac_ext >&5
7986 gcc_cv_header_string=no
7988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7990 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
7991 echo "${ECHO_T}$gcc_cv_header_string" >&6
7992 if test $gcc_cv_header_string = yes; then
7994 cat >>confdefs.h <<\_ACEOF
7995 #define STRING_WITH_STRINGS 1
8007 for ac_func in fcntl getpagesize setitimer sysconf fdopen getuid getgid
8009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8010 echo "$as_me:$LINENO: checking for $ac_func" >&5
8011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8012 if eval "test \"\${$as_ac_var+set}\" = set"; then
8013 echo $ECHO_N "(cached) $ECHO_C" >&6
8015 cat >conftest.$ac_ext <<_ACEOF
8018 cat confdefs.h >>conftest.$ac_ext
8019 cat >>conftest.$ac_ext <<_ACEOF
8020 /* end confdefs.h. */
8021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8023 #define $ac_func innocuous_$ac_func
8025 /* System header to define __stub macros and hopefully few prototypes,
8026 which can conflict with char $ac_func (); below.
8027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8028 <limits.h> exists even on freestanding compilers. */
8031 # include <limits.h>
8033 # include <assert.h>
8038 /* Override any gcc2 internal prototype to avoid an error. */
8043 /* We use char because int might match the return type of a gcc2
8044 builtin and then its argument prototype would still apply. */
8046 /* The GNU C library defines this for functions which it implements
8047 to always fail with ENOSYS. Some functions are actually named
8048 something starting with __ and the normal name is an alias. */
8049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8052 char (*f) () = $ac_func;
8061 return f != $ac_func;
8066 rm -f conftest.$ac_objext conftest$ac_exeext
8067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8068 (eval $ac_link) 2>conftest.er1
8070 grep -v '^ *+' conftest.er1 >conftest.err
8072 cat conftest.err >&5
8073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8074 (exit $ac_status); } &&
8075 { ac_try='test -z "$ac_c_werror_flag"
8076 || test ! -s conftest.err'
8077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8081 (exit $ac_status); }; } &&
8082 { ac_try='test -s conftest$ac_exeext'
8083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8087 (exit $ac_status); }; }; then
8088 eval "$as_ac_var=yes"
8090 echo "$as_me: failed program was:" >&5
8091 sed 's/^/| /' conftest.$ac_ext >&5
8093 eval "$as_ac_var=no"
8095 rm -f conftest.err conftest.$ac_objext \
8096 conftest$ac_exeext conftest.$ac_ext
8098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8100 if test `eval echo '${'$as_ac_var'}'` = yes; then
8101 cat >>confdefs.h <<_ACEOF
8102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8109 for ac_func in strtoull
8111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8112 echo "$as_me:$LINENO: checking for $ac_func" >&5
8113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8114 if eval "test \"\${$as_ac_var+set}\" = set"; then
8115 echo $ECHO_N "(cached) $ECHO_C" >&6
8117 cat >conftest.$ac_ext <<_ACEOF
8120 cat confdefs.h >>conftest.$ac_ext
8121 cat >>conftest.$ac_ext <<_ACEOF
8122 /* end confdefs.h. */
8123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8125 #define $ac_func innocuous_$ac_func
8127 /* System header to define __stub macros and hopefully few prototypes,
8128 which can conflict with char $ac_func (); below.
8129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8130 <limits.h> exists even on freestanding compilers. */
8133 # include <limits.h>
8135 # include <assert.h>
8140 /* Override any gcc2 internal prototype to avoid an error. */
8145 /* We use char because int might match the return type of a gcc2
8146 builtin and then its argument prototype would still apply. */
8148 /* The GNU C library defines this for functions which it implements
8149 to always fail with ENOSYS. Some functions are actually named
8150 something starting with __ and the normal name is an alias. */
8151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8154 char (*f) () = $ac_func;
8163 return f != $ac_func;
8168 rm -f conftest.$ac_objext conftest$ac_exeext
8169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8170 (eval $ac_link) 2>conftest.er1
8172 grep -v '^ *+' conftest.er1 >conftest.err
8174 cat conftest.err >&5
8175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8176 (exit $ac_status); } &&
8177 { ac_try='test -z "$ac_c_werror_flag"
8178 || test ! -s conftest.err'
8179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8183 (exit $ac_status); }; } &&
8184 { ac_try='test -s conftest$ac_exeext'
8185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189 (exit $ac_status); }; }; then
8190 eval "$as_ac_var=yes"
8192 echo "$as_me: failed program was:" >&5
8193 sed 's/^/| /' conftest.$ac_ext >&5
8195 eval "$as_ac_var=no"
8197 rm -f conftest.err conftest.$ac_objext \
8198 conftest$ac_exeext conftest.$ac_ext
8200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8202 if test `eval echo '${'$as_ac_var'}'` = yes; then
8203 cat >>confdefs.h <<_ACEOF
8204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8211 echo "$as_me:$LINENO: checking whether basename is declared" >&5
8212 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
8213 if test "${ac_cv_have_decl_basename+set}" = set; then
8214 echo $ECHO_N "(cached) $ECHO_C" >&6
8216 cat >conftest.$ac_ext <<_ACEOF
8219 cat confdefs.h >>conftest.$ac_ext
8220 cat >>conftest.$ac_ext <<_ACEOF
8221 /* end confdefs.h. */
8222 $ac_includes_default
8227 char *p = (char *) basename;
8234 rm -f conftest.$ac_objext
8235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8236 (eval $ac_compile) 2>conftest.er1
8238 grep -v '^ *+' conftest.er1 >conftest.err
8240 cat conftest.err >&5
8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); } &&
8243 { ac_try='test -z "$ac_c_werror_flag"
8244 || test ! -s conftest.err'
8245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249 (exit $ac_status); }; } &&
8250 { ac_try='test -s conftest.$ac_objext'
8251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); }; }; then
8256 ac_cv_have_decl_basename=yes
8258 echo "$as_me: failed program was:" >&5
8259 sed 's/^/| /' conftest.$ac_ext >&5
8261 ac_cv_have_decl_basename=no
8263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8265 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
8266 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
8267 if test $ac_cv_have_decl_basename = yes; then
8269 cat >>confdefs.h <<_ACEOF
8270 #define HAVE_DECL_BASENAME 1
8275 cat >>confdefs.h <<_ACEOF
8276 #define HAVE_DECL_BASENAME 0
8283 echo "$as_me:$LINENO: checking whether ftello is declared" >&5
8284 echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6
8285 if test "${ac_cv_have_decl_ftello+set}" = set; then
8286 echo $ECHO_N "(cached) $ECHO_C" >&6
8288 cat >conftest.$ac_ext <<_ACEOF
8291 cat confdefs.h >>conftest.$ac_ext
8292 cat >>conftest.$ac_ext <<_ACEOF
8293 /* end confdefs.h. */
8294 $ac_includes_default
8299 char *p = (char *) ftello;
8306 rm -f conftest.$ac_objext
8307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8308 (eval $ac_compile) 2>conftest.er1
8310 grep -v '^ *+' conftest.er1 >conftest.err
8312 cat conftest.err >&5
8313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314 (exit $ac_status); } &&
8315 { ac_try='test -z "$ac_c_werror_flag"
8316 || test ! -s conftest.err'
8317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8321 (exit $ac_status); }; } &&
8322 { ac_try='test -s conftest.$ac_objext'
8323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8327 (exit $ac_status); }; }; then
8328 ac_cv_have_decl_ftello=yes
8330 echo "$as_me: failed program was:" >&5
8331 sed 's/^/| /' conftest.$ac_ext >&5
8333 ac_cv_have_decl_ftello=no
8335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8337 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
8338 echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6
8339 if test $ac_cv_have_decl_ftello = yes; then
8341 cat >>confdefs.h <<_ACEOF
8342 #define HAVE_DECL_FTELLO 1
8347 cat >>confdefs.h <<_ACEOF
8348 #define HAVE_DECL_FTELLO 0
8355 echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
8356 echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6
8357 if test "${ac_cv_have_decl_ftello64+set}" = set; then
8358 echo $ECHO_N "(cached) $ECHO_C" >&6
8360 cat >conftest.$ac_ext <<_ACEOF
8363 cat confdefs.h >>conftest.$ac_ext
8364 cat >>conftest.$ac_ext <<_ACEOF
8365 /* end confdefs.h. */
8366 $ac_includes_default
8371 char *p = (char *) ftello64;
8378 rm -f conftest.$ac_objext
8379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8380 (eval $ac_compile) 2>conftest.er1
8382 grep -v '^ *+' conftest.er1 >conftest.err
8384 cat conftest.err >&5
8385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8386 (exit $ac_status); } &&
8387 { ac_try='test -z "$ac_c_werror_flag"
8388 || test ! -s conftest.err'
8389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393 (exit $ac_status); }; } &&
8394 { ac_try='test -s conftest.$ac_objext'
8395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8399 (exit $ac_status); }; }; then
8400 ac_cv_have_decl_ftello64=yes
8402 echo "$as_me: failed program was:" >&5
8403 sed 's/^/| /' conftest.$ac_ext >&5
8405 ac_cv_have_decl_ftello64=no
8407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8409 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
8410 echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6
8411 if test $ac_cv_have_decl_ftello64 = yes; then
8413 cat >>confdefs.h <<_ACEOF
8414 #define HAVE_DECL_FTELLO64 1
8419 cat >>confdefs.h <<_ACEOF
8420 #define HAVE_DECL_FTELLO64 0
8427 echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
8428 echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6
8429 if test "${ac_cv_have_decl_fseeko+set}" = set; then
8430 echo $ECHO_N "(cached) $ECHO_C" >&6
8432 cat >conftest.$ac_ext <<_ACEOF
8435 cat confdefs.h >>conftest.$ac_ext
8436 cat >>conftest.$ac_ext <<_ACEOF
8437 /* end confdefs.h. */
8438 $ac_includes_default
8443 char *p = (char *) fseeko;
8450 rm -f conftest.$ac_objext
8451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8452 (eval $ac_compile) 2>conftest.er1
8454 grep -v '^ *+' conftest.er1 >conftest.err
8456 cat conftest.err >&5
8457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458 (exit $ac_status); } &&
8459 { ac_try='test -z "$ac_c_werror_flag"
8460 || test ! -s conftest.err'
8461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8465 (exit $ac_status); }; } &&
8466 { ac_try='test -s conftest.$ac_objext'
8467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 (exit $ac_status); }; }; then
8472 ac_cv_have_decl_fseeko=yes
8474 echo "$as_me: failed program was:" >&5
8475 sed 's/^/| /' conftest.$ac_ext >&5
8477 ac_cv_have_decl_fseeko=no
8479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8481 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
8482 echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6
8483 if test $ac_cv_have_decl_fseeko = yes; then
8485 cat >>confdefs.h <<_ACEOF
8486 #define HAVE_DECL_FSEEKO 1
8491 cat >>confdefs.h <<_ACEOF
8492 #define HAVE_DECL_FSEEKO 0
8499 echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
8500 echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6
8501 if test "${ac_cv_have_decl_fseeko64+set}" = set; then
8502 echo $ECHO_N "(cached) $ECHO_C" >&6
8504 cat >conftest.$ac_ext <<_ACEOF
8507 cat confdefs.h >>conftest.$ac_ext
8508 cat >>conftest.$ac_ext <<_ACEOF
8509 /* end confdefs.h. */
8510 $ac_includes_default
8515 char *p = (char *) fseeko64;
8522 rm -f conftest.$ac_objext
8523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8524 (eval $ac_compile) 2>conftest.er1
8526 grep -v '^ *+' conftest.er1 >conftest.err
8528 cat conftest.err >&5
8529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8530 (exit $ac_status); } &&
8531 { ac_try='test -z "$ac_c_werror_flag"
8532 || test ! -s conftest.err'
8533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537 (exit $ac_status); }; } &&
8538 { ac_try='test -s conftest.$ac_objext'
8539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543 (exit $ac_status); }; }; then
8544 ac_cv_have_decl_fseeko64=yes
8546 echo "$as_me: failed program was:" >&5
8547 sed 's/^/| /' conftest.$ac_ext >&5
8549 ac_cv_have_decl_fseeko64=no
8551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8553 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
8554 echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6
8555 if test $ac_cv_have_decl_fseeko64 = yes; then
8557 cat >>confdefs.h <<_ACEOF
8558 #define HAVE_DECL_FSEEKO64 1
8563 cat >>confdefs.h <<_ACEOF
8564 #define HAVE_DECL_FSEEKO64 0
8574 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
8576 cat >>confdefs.h <<\_ACEOF
8577 #define USE_BINARY_FOPEN 1
8582 echo "$as_me:$LINENO: checking whether ffs is declared" >&5
8583 echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
8584 if test "${ac_cv_have_decl_ffs+set}" = set; then
8585 echo $ECHO_N "(cached) $ECHO_C" >&6
8587 cat >conftest.$ac_ext <<_ACEOF
8590 cat confdefs.h >>conftest.$ac_ext
8591 cat >>conftest.$ac_ext <<_ACEOF
8592 /* end confdefs.h. */
8593 $ac_includes_default
8598 char *p = (char *) ffs;
8605 rm -f conftest.$ac_objext
8606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8607 (eval $ac_compile) 2>conftest.er1
8609 grep -v '^ *+' conftest.er1 >conftest.err
8611 cat conftest.err >&5
8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613 (exit $ac_status); } &&
8614 { ac_try='test -z "$ac_c_werror_flag"
8615 || test ! -s conftest.err'
8616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620 (exit $ac_status); }; } &&
8621 { ac_try='test -s conftest.$ac_objext'
8622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8626 (exit $ac_status); }; }; then
8627 ac_cv_have_decl_ffs=yes
8629 echo "$as_me: failed program was:" >&5
8630 sed 's/^/| /' conftest.$ac_ext >&5
8632 ac_cv_have_decl_ffs=no
8634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8636 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
8637 echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
8638 if test $ac_cv_have_decl_ffs = yes; then
8640 cat >>confdefs.h <<_ACEOF
8641 #define HAVE_DECL_FFS 1
8646 cat >>confdefs.h <<_ACEOF
8647 #define HAVE_DECL_FFS 0
8654 echo "$as_me:$LINENO: checking whether free is declared" >&5
8655 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
8656 if test "${ac_cv_have_decl_free+set}" = set; then
8657 echo $ECHO_N "(cached) $ECHO_C" >&6
8659 cat >conftest.$ac_ext <<_ACEOF
8662 cat confdefs.h >>conftest.$ac_ext
8663 cat >>conftest.$ac_ext <<_ACEOF
8664 /* end confdefs.h. */
8665 $ac_includes_default
8670 char *p = (char *) free;
8677 rm -f conftest.$ac_objext
8678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8679 (eval $ac_compile) 2>conftest.er1
8681 grep -v '^ *+' conftest.er1 >conftest.err
8683 cat conftest.err >&5
8684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685 (exit $ac_status); } &&
8686 { ac_try='test -z "$ac_c_werror_flag"
8687 || test ! -s conftest.err'
8688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692 (exit $ac_status); }; } &&
8693 { ac_try='test -s conftest.$ac_objext'
8694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8698 (exit $ac_status); }; }; then
8699 ac_cv_have_decl_free=yes
8701 echo "$as_me: failed program was:" >&5
8702 sed 's/^/| /' conftest.$ac_ext >&5
8704 ac_cv_have_decl_free=no
8706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8708 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
8709 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
8710 if test $ac_cv_have_decl_free = yes; then
8712 cat >>confdefs.h <<_ACEOF
8713 #define HAVE_DECL_FREE 1
8718 cat >>confdefs.h <<_ACEOF
8719 #define HAVE_DECL_FREE 0
8726 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
8727 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
8728 if test "${ac_cv_have_decl_getenv+set}" = set; then
8729 echo $ECHO_N "(cached) $ECHO_C" >&6
8731 cat >conftest.$ac_ext <<_ACEOF
8734 cat confdefs.h >>conftest.$ac_ext
8735 cat >>conftest.$ac_ext <<_ACEOF
8736 /* end confdefs.h. */
8737 $ac_includes_default
8742 char *p = (char *) getenv;
8749 rm -f conftest.$ac_objext
8750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8751 (eval $ac_compile) 2>conftest.er1
8753 grep -v '^ *+' conftest.er1 >conftest.err
8755 cat conftest.err >&5
8756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8757 (exit $ac_status); } &&
8758 { ac_try='test -z "$ac_c_werror_flag"
8759 || test ! -s conftest.err'
8760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8764 (exit $ac_status); }; } &&
8765 { ac_try='test -s conftest.$ac_objext'
8766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8770 (exit $ac_status); }; }; then
8771 ac_cv_have_decl_getenv=yes
8773 echo "$as_me: failed program was:" >&5
8774 sed 's/^/| /' conftest.$ac_ext >&5
8776 ac_cv_have_decl_getenv=no
8778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8780 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
8781 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
8782 if test $ac_cv_have_decl_getenv = yes; then
8784 cat >>confdefs.h <<_ACEOF
8785 #define HAVE_DECL_GETENV 1
8790 cat >>confdefs.h <<_ACEOF
8791 #define HAVE_DECL_GETENV 0
8798 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
8799 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
8800 if test "${ac_cv_have_decl_malloc+set}" = set; then
8801 echo $ECHO_N "(cached) $ECHO_C" >&6
8803 cat >conftest.$ac_ext <<_ACEOF
8806 cat confdefs.h >>conftest.$ac_ext
8807 cat >>conftest.$ac_ext <<_ACEOF
8808 /* end confdefs.h. */
8809 $ac_includes_default
8814 char *p = (char *) malloc;
8821 rm -f conftest.$ac_objext
8822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8823 (eval $ac_compile) 2>conftest.er1
8825 grep -v '^ *+' conftest.er1 >conftest.err
8827 cat conftest.err >&5
8828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8829 (exit $ac_status); } &&
8830 { ac_try='test -z "$ac_c_werror_flag"
8831 || test ! -s conftest.err'
8832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8836 (exit $ac_status); }; } &&
8837 { ac_try='test -s conftest.$ac_objext'
8838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8842 (exit $ac_status); }; }; then
8843 ac_cv_have_decl_malloc=yes
8845 echo "$as_me: failed program was:" >&5
8846 sed 's/^/| /' conftest.$ac_ext >&5
8848 ac_cv_have_decl_malloc=no
8850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8852 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
8853 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
8854 if test $ac_cv_have_decl_malloc = yes; then
8856 cat >>confdefs.h <<_ACEOF
8857 #define HAVE_DECL_MALLOC 1
8862 cat >>confdefs.h <<_ACEOF
8863 #define HAVE_DECL_MALLOC 0
8870 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
8871 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
8872 if test "${ac_cv_have_decl_realloc+set}" = set; then
8873 echo $ECHO_N "(cached) $ECHO_C" >&6
8875 cat >conftest.$ac_ext <<_ACEOF
8878 cat confdefs.h >>conftest.$ac_ext
8879 cat >>conftest.$ac_ext <<_ACEOF
8880 /* end confdefs.h. */
8881 $ac_includes_default
8886 char *p = (char *) realloc;
8893 rm -f conftest.$ac_objext
8894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8895 (eval $ac_compile) 2>conftest.er1
8897 grep -v '^ *+' conftest.er1 >conftest.err
8899 cat conftest.err >&5
8900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8901 (exit $ac_status); } &&
8902 { ac_try='test -z "$ac_c_werror_flag"
8903 || test ! -s conftest.err'
8904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8908 (exit $ac_status); }; } &&
8909 { ac_try='test -s conftest.$ac_objext'
8910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8914 (exit $ac_status); }; }; then
8915 ac_cv_have_decl_realloc=yes
8917 echo "$as_me: failed program was:" >&5
8918 sed 's/^/| /' conftest.$ac_ext >&5
8920 ac_cv_have_decl_realloc=no
8922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8924 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
8925 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
8926 if test $ac_cv_have_decl_realloc = yes; then
8928 cat >>confdefs.h <<_ACEOF
8929 #define HAVE_DECL_REALLOC 1
8934 cat >>confdefs.h <<_ACEOF
8935 #define HAVE_DECL_REALLOC 0
8942 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
8943 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
8944 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
8945 echo $ECHO_N "(cached) $ECHO_C" >&6
8947 cat >conftest.$ac_ext <<_ACEOF
8950 cat confdefs.h >>conftest.$ac_ext
8951 cat >>conftest.$ac_ext <<_ACEOF
8952 /* end confdefs.h. */
8953 $ac_includes_default
8958 char *p = (char *) stpcpy;
8965 rm -f conftest.$ac_objext
8966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8967 (eval $ac_compile) 2>conftest.er1
8969 grep -v '^ *+' conftest.er1 >conftest.err
8971 cat conftest.err >&5
8972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973 (exit $ac_status); } &&
8974 { ac_try='test -z "$ac_c_werror_flag"
8975 || test ! -s conftest.err'
8976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 (exit $ac_status); }; } &&
8981 { ac_try='test -s conftest.$ac_objext'
8982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8986 (exit $ac_status); }; }; then
8987 ac_cv_have_decl_stpcpy=yes
8989 echo "$as_me: failed program was:" >&5
8990 sed 's/^/| /' conftest.$ac_ext >&5
8992 ac_cv_have_decl_stpcpy=no
8994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8996 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
8997 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
8998 if test $ac_cv_have_decl_stpcpy = yes; then
9000 cat >>confdefs.h <<_ACEOF
9001 #define HAVE_DECL_STPCPY 1
9006 cat >>confdefs.h <<_ACEOF
9007 #define HAVE_DECL_STPCPY 0
9014 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
9015 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
9016 if test "${ac_cv_have_decl_strstr+set}" = set; then
9017 echo $ECHO_N "(cached) $ECHO_C" >&6
9019 cat >conftest.$ac_ext <<_ACEOF
9022 cat confdefs.h >>conftest.$ac_ext
9023 cat >>conftest.$ac_ext <<_ACEOF
9024 /* end confdefs.h. */
9025 $ac_includes_default
9030 char *p = (char *) strstr;
9037 rm -f conftest.$ac_objext
9038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9039 (eval $ac_compile) 2>conftest.er1
9041 grep -v '^ *+' conftest.er1 >conftest.err
9043 cat conftest.err >&5
9044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9045 (exit $ac_status); } &&
9046 { ac_try='test -z "$ac_c_werror_flag"
9047 || test ! -s conftest.err'
9048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9052 (exit $ac_status); }; } &&
9053 { ac_try='test -s conftest.$ac_objext'
9054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9058 (exit $ac_status); }; }; then
9059 ac_cv_have_decl_strstr=yes
9061 echo "$as_me: failed program was:" >&5
9062 sed 's/^/| /' conftest.$ac_ext >&5
9064 ac_cv_have_decl_strstr=no
9066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9068 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
9069 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
9070 if test $ac_cv_have_decl_strstr = yes; then
9072 cat >>confdefs.h <<_ACEOF
9073 #define HAVE_DECL_STRSTR 1
9078 cat >>confdefs.h <<_ACEOF
9079 #define HAVE_DECL_STRSTR 0
9086 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
9087 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
9088 if test "${ac_cv_have_decl_snprintf+set}" = set; then
9089 echo $ECHO_N "(cached) $ECHO_C" >&6
9091 cat >conftest.$ac_ext <<_ACEOF
9094 cat confdefs.h >>conftest.$ac_ext
9095 cat >>conftest.$ac_ext <<_ACEOF
9096 /* end confdefs.h. */
9097 $ac_includes_default
9102 char *p = (char *) snprintf;
9109 rm -f conftest.$ac_objext
9110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9111 (eval $ac_compile) 2>conftest.er1
9113 grep -v '^ *+' conftest.er1 >conftest.err
9115 cat conftest.err >&5
9116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9117 (exit $ac_status); } &&
9118 { ac_try='test -z "$ac_c_werror_flag"
9119 || test ! -s conftest.err'
9120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9124 (exit $ac_status); }; } &&
9125 { ac_try='test -s conftest.$ac_objext'
9126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9130 (exit $ac_status); }; }; then
9131 ac_cv_have_decl_snprintf=yes
9133 echo "$as_me: failed program was:" >&5
9134 sed 's/^/| /' conftest.$ac_ext >&5
9136 ac_cv_have_decl_snprintf=no
9138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9140 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
9141 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
9142 if test $ac_cv_have_decl_snprintf = yes; then
9144 cat >>confdefs.h <<_ACEOF
9145 #define HAVE_DECL_SNPRINTF 1
9150 cat >>confdefs.h <<_ACEOF
9151 #define HAVE_DECL_SNPRINTF 0
9158 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
9159 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
9160 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
9161 echo $ECHO_N "(cached) $ECHO_C" >&6
9163 cat >conftest.$ac_ext <<_ACEOF
9166 cat confdefs.h >>conftest.$ac_ext
9167 cat >>conftest.$ac_ext <<_ACEOF
9168 /* end confdefs.h. */
9169 $ac_includes_default
9174 char *p = (char *) vsnprintf;
9181 rm -f conftest.$ac_objext
9182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9183 (eval $ac_compile) 2>conftest.er1
9185 grep -v '^ *+' conftest.er1 >conftest.err
9187 cat conftest.err >&5
9188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189 (exit $ac_status); } &&
9190 { ac_try='test -z "$ac_c_werror_flag"
9191 || test ! -s conftest.err'
9192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9196 (exit $ac_status); }; } &&
9197 { ac_try='test -s conftest.$ac_objext'
9198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9202 (exit $ac_status); }; }; then
9203 ac_cv_have_decl_vsnprintf=yes
9205 echo "$as_me: failed program was:" >&5
9206 sed 's/^/| /' conftest.$ac_ext >&5
9208 ac_cv_have_decl_vsnprintf=no
9210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9212 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
9213 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
9214 if test $ac_cv_have_decl_vsnprintf = yes; then
9216 cat >>confdefs.h <<_ACEOF
9217 #define HAVE_DECL_VSNPRINTF 1
9222 cat >>confdefs.h <<_ACEOF
9223 #define HAVE_DECL_VSNPRINTF 0
9231 # If we are configured native, pick a core file support file.
9235 if test "${target}" = "${host}"; then
9237 alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
9241 COREFILE=trad-core.lo
9242 TRAD_HEADER='"hosts/alphalinux.h"'
9244 alpha*-*-netbsd* | alpha*-*-openbsd*)
9245 COREFILE=netbsd-core.lo
9247 alpha*-*-*) COREFILE=osf-core.lo ;;
9248 arm-*-freebsd* | arm-*-kfreebsd*-gnu)
9250 arm-*-netbsd* | arm-*-openbsd*)
9251 COREFILE=netbsd-core.lo
9253 arm-*-riscix) COREFILE=trad-core.lo ;;
9254 hppa*-*-hpux*) COREFILE=hpux-core.lo ;;
9255 hppa*-*-hiux*) COREFILE=hpux-core.lo ;;
9256 hppa*-*-mpeix*) COREFILE=hpux-core.lo ;;
9257 hppa*-*-bsd*) COREFILE="hpux-core.lo hppabsd-core.lo"
9258 COREFLAG="-DHPUX_CORE -DHPPABSD_CORE" ;;
9259 hppa*-*-netbsd* | hppa*-*-openbsd*)
9260 COREFILE=netbsd-core.lo
9264 COREFILE=trad-core.lo
9265 TRAD_HEADER='"hosts/i370linux.h"'
9268 i[3-7]86-sequent-bsd*)
9269 COREFILE=trad-core.lo
9270 TRAD_HEADER='"hosts/symmetry.h"'
9272 i[3-7]86-sequent-sysv4*) ;;
9273 i[3-7]86-sequent-sysv*)
9274 COREFILE=trad-core.lo
9275 TRAD_HEADER='"hosts/symmetry.h"'
9280 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*)
9281 COREFILE=trad-core.lo
9282 TRAD_HEADER='"hosts/i386bsd.h"'
9284 i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu)
9286 TRAD_HEADER='"hosts/i386bsd.h"'
9288 i[3-7]86-*-netbsd* | i[3-7]86-*-knetbsd*-gnu | i[3-7]86-*-openbsd*)
9289 COREFILE=netbsd-core.lo
9291 i[3-7]86-esix-sysv3*)
9292 COREFILE=trad-core.lo
9293 TRAD_HEADER='"hosts/esix.h"'
9295 i[3-7]86-*-sco3.2v5*)
9296 COREFILE=sco5-core.lo
9298 i[3-7]86-*-sco* | i[3-7]86-*-isc*)
9299 COREFILE=trad-core.lo
9300 TRAD_HEADER='"hosts/i386sco.h"'
9303 COREFILE=trad-core.lo
9304 TRAD_HEADER='"hosts/i386mach3.h"'
9307 COREFILE=trad-core.lo
9308 TRAD_HEADER='"hosts/i386linux.h"'
9310 i[3-7]86-*-isc*) COREFILE=trad-core.lo ;;
9311 i[3-7]86-*-aix*) COREFILE=aix386-core.lo ;;
9312 i860-*-mach3* | i860-*-osf1*)
9313 COREFILE=trad-core.lo
9314 TRAD_HEADER='"hosts/i860mach3.h"'
9316 mips-*-netbsd* | mips*-*-openbsd*)
9317 COREFILE=netbsd-core.lo
9320 COREFILE=trad-core.lo
9321 TRAD_HEADER='"hosts/decstation.h"'
9323 mips-sgi-irix4*) COREFILE=irix-core.lo ;;
9324 mips-sgi-irix5*) COREFILE=irix-core.lo ;;
9325 mips-sgi-irix6*) COREFILE=irix-core.lo ;;
9327 mips-*-sysv* | mips-*-riscos*)
9328 COREFILE=trad-core.lo
9329 TRAD_HEADER='"hosts/riscos.h"'
9332 COREFILE=trad-core.lo
9333 TRAD_HEADER='"hosts/news-mips.h"'
9336 COREFILE=trad-core.lo
9337 TRAD_HEADER='"hosts/dpx2.h"'
9339 m68*-hp-hpux*) COREFILE=hpux-core.lo ;;
9341 COREFILE=trad-core.lo
9342 TRAD_HEADER='"hosts/hp300bsd.h"'
9345 COREFILE=trad-core.lo
9346 TRAD_HEADER='"hosts/m68klinux.h"'
9348 m68*-motorola-sysv*)
9349 COREFILE=trad-core.lo
9350 TRAD_HEADER='"hosts/delta68.h"'
9353 COREFILE=trad-core.lo
9354 TRAD_HEADER='"hosts/news.h"'
9356 m68*-*-netbsd* | m68*-*-openbsd*)
9357 COREFILE=netbsd-core.lo
9360 COREFILE=trad-core.lo
9361 TRAD_HEADER='"hosts/m68kaux.h"'
9365 m88*-motorola-sysv*)
9366 COREFILE=ptrace-core.lo
9369 COREFILE=trad-core.lo
9370 TRAD_HEADER='"hosts/m88kmach3.h"'
9373 COREFILE=netbsd-core.lo
9376 COREFILE=trad-core.lo
9377 TRAD_HEADER='"hosts/pc532mach.h"'
9379 ns32k-*-netbsd* | ns32k-*-openbsd*)
9380 COREFILE=netbsd-core.lo
9383 COREFILE=lynx-core.lo
9385 rs6000-*-aix5.* | powerpc-*-aix5.*)
9386 COREFILE=rs6000-core.lo
9387 COREFLAG="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
9389 rs6000-*-aix4.[3-9]* | powerpc-*-aix4.[3-9]*)
9390 COREFILE=rs6000-core.lo
9391 COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE"
9392 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
9393 # have c_impl as a member of struct core_dumpx
9394 echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
9395 echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
9396 cat >conftest.$ac_ext <<_ACEOF
9399 cat confdefs.h >>conftest.$ac_ext
9400 cat >>conftest.$ac_ext <<_ACEOF
9401 /* end confdefs.h. */
9406 struct core_dumpx c; c.c_impl = 0;
9411 rm -f conftest.$ac_objext
9412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9413 (eval $ac_compile) 2>conftest.er1
9415 grep -v '^ *+' conftest.er1 >conftest.err
9417 cat conftest.err >&5
9418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9419 (exit $ac_status); } &&
9420 { ac_try='test -z "$ac_c_werror_flag"
9421 || test ! -s conftest.err'
9422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9426 (exit $ac_status); }; } &&
9427 { ac_try='test -s conftest.$ac_objext'
9428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9432 (exit $ac_status); }; }; then
9434 cat >>confdefs.h <<\_ACEOF
9435 #define HAVE_ST_C_IMPL 1
9438 echo "$as_me:$LINENO: result: yes" >&5
9439 echo "${ECHO_T}yes" >&6
9441 echo "$as_me: failed program was:" >&5
9442 sed 's/^/| /' conftest.$ac_ext >&5
9444 echo "$as_me:$LINENO: result: no" >&5
9445 echo "${ECHO_T}no" >&6
9447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9449 rs6000-*-aix4*) COREFILE=rs6000-core.lo ;;
9450 rs6000-*-*) COREFILE=rs6000-core.lo ;;
9451 powerpc-*-aix4*) COREFILE=rs6000-core.lo ;;
9452 powerpc-*-aix*) COREFILE=rs6000-core.lo ;;
9454 powerpc-*-freebsd* | powerpc-*-kfreebsd*-gnu)
9456 powerpc-*-netbsd*) COREFILE=netbsd-core.lo ;;
9457 powerpc-*-*bsd*) COREFILE=netbsd-core.lo ;;
9458 s390*-*-*) COREFILE=trad-core.lo ;;
9459 sh*-*-netbsd* | sh*-*-openbsd*)
9460 COREFILE=netbsd-core.lo
9462 sparc-*-netbsd* | sparc*-*-openbsd*)
9463 COREFILE=netbsd-core.lo
9466 COREFILE=trad-core.lo
9467 TRAD_HEADER='"hosts/tahoe.h"'
9469 vax-*-netbsd* | vax-*-openbsd*)
9470 COREFILE=netbsd-core.lo
9473 COREFILE=trad-core.lo
9474 TRAD_HEADER='"hosts/vaxult2.h"'
9477 COREFILE=trad-core.lo
9478 TRAD_HEADER='"hosts/vaxult2.h"'
9481 COREFILE=trad-core.lo
9482 TRAD_HEADER='"hosts/vaxlinux.h"'
9485 COREFILE=trad-core.lo
9486 TRAD_HEADER='"hosts/vaxbsd.h"'
9488 x86_64-*-netbsd* | x86_64-*-openbsd*)
9489 COREFILE=netbsd-core.lo
9494 aix386-core.lo) COREFLAG=-DAIX386_CORE ;;
9495 hppabsd-core.lo) COREFLAG=-DHPPABSD_CORE ;;
9496 hpux-core.lo) COREFLAG=-DHPUX_CORE ;;
9497 irix-core.lo) COREFLAG=-DIRIX_CORE ;;
9498 lynx-core.lo) COREFLAG=-DLYNX_CORE ;;
9499 netbsd-core.lo) COREFLAG=-DNETBSD_CORE ;;
9500 osf-core.lo) COREFLAG=-DOSF_CORE ;;
9501 ptrace-core.lo) COREFLAG=-DPTRACE_CORE ;;
9502 rs6000-core.lo) COREFLAG="$COREFLAG -DAIX_CORE" ;;
9503 sco5-core.lo) COREFLAG="$COREFLAG -DSCO5_CORE" ;;
9504 trad-core.lo) COREFLAG="$COREFLAG -DTRAD_CORE" ;;
9507 # ELF corefile support has several flavors, but all of
9508 # them use something called <sys/procfs.h>
9510 for ac_header in sys/procfs.h
9512 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9514 echo "$as_me:$LINENO: checking for $ac_header" >&5
9515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9517 echo $ECHO_N "(cached) $ECHO_C" >&6
9519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9522 # Is the header compilable?
9523 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9524 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9525 cat >conftest.$ac_ext <<_ACEOF
9528 cat confdefs.h >>conftest.$ac_ext
9529 cat >>conftest.$ac_ext <<_ACEOF
9530 /* end confdefs.h. */
9531 $ac_includes_default
9532 #include <$ac_header>
9534 rm -f conftest.$ac_objext
9535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9536 (eval $ac_compile) 2>conftest.er1
9538 grep -v '^ *+' conftest.er1 >conftest.err
9540 cat conftest.err >&5
9541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9542 (exit $ac_status); } &&
9543 { ac_try='test -z "$ac_c_werror_flag"
9544 || test ! -s conftest.err'
9545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9549 (exit $ac_status); }; } &&
9550 { ac_try='test -s conftest.$ac_objext'
9551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9555 (exit $ac_status); }; }; then
9556 ac_header_compiler=yes
9558 echo "$as_me: failed program was:" >&5
9559 sed 's/^/| /' conftest.$ac_ext >&5
9561 ac_header_compiler=no
9563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9565 echo "${ECHO_T}$ac_header_compiler" >&6
9567 # Is the header present?
9568 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9569 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9570 cat >conftest.$ac_ext <<_ACEOF
9573 cat confdefs.h >>conftest.$ac_ext
9574 cat >>conftest.$ac_ext <<_ACEOF
9575 /* end confdefs.h. */
9576 #include <$ac_header>
9578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9579 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9581 grep -v '^ *+' conftest.er1 >conftest.err
9583 cat conftest.err >&5
9584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585 (exit $ac_status); } >/dev/null; then
9586 if test -s conftest.err; then
9587 ac_cpp_err=$ac_c_preproc_warn_flag
9588 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9595 if test -z "$ac_cpp_err"; then
9596 ac_header_preproc=yes
9598 echo "$as_me: failed program was:" >&5
9599 sed 's/^/| /' conftest.$ac_ext >&5
9601 ac_header_preproc=no
9603 rm -f conftest.err conftest.$ac_ext
9604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9605 echo "${ECHO_T}$ac_header_preproc" >&6
9607 # So? What about this header?
9608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9610 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9611 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9613 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9614 ac_header_preproc=yes
9617 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9618 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9619 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9620 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9621 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9622 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9623 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9624 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9626 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9627 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9628 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9631 ## ------------------------------------------ ##
9632 ## Report this to the AC_PACKAGE_NAME lists. ##
9633 ## ------------------------------------------ ##
9636 sed "s/^/$as_me: WARNING: /" >&2
9639 echo "$as_me:$LINENO: checking for $ac_header" >&5
9640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9642 echo $ECHO_N "(cached) $ECHO_C" >&6
9644 eval "$as_ac_Header=\$ac_header_preproc"
9646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9647 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9650 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9651 cat >>confdefs.h <<_ACEOF
9652 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9659 if test "$ac_cv_header_sys_procfs_h" = yes; then
9660 echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
9661 echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
9662 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
9663 echo $ECHO_N "(cached) $ECHO_C" >&6
9665 cat >conftest.$ac_ext <<_ACEOF
9668 cat confdefs.h >>conftest.$ac_ext
9669 cat >>conftest.$ac_ext <<_ACEOF
9670 /* end confdefs.h. */
9673 #include <sys/procfs.h>
9682 rm -f conftest.$ac_objext
9683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9684 (eval $ac_compile) 2>conftest.er1
9686 grep -v '^ *+' conftest.er1 >conftest.err
9688 cat conftest.err >&5
9689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690 (exit $ac_status); } &&
9691 { ac_try='test -z "$ac_c_werror_flag"
9692 || test ! -s conftest.err'
9693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9697 (exit $ac_status); }; } &&
9698 { ac_try='test -s conftest.$ac_objext'
9699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703 (exit $ac_status); }; }; then
9704 bfd_cv_have_sys_procfs_type_prstatus_t=yes
9706 echo "$as_me: failed program was:" >&5
9707 sed 's/^/| /' conftest.$ac_ext >&5
9709 bfd_cv_have_sys_procfs_type_prstatus_t=no
9712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9715 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
9717 cat >>confdefs.h <<\_ACEOF
9718 #define HAVE_PRSTATUS_T 1
9722 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
9723 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
9725 echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
9726 echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
9727 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
9728 echo $ECHO_N "(cached) $ECHO_C" >&6
9730 cat >conftest.$ac_ext <<_ACEOF
9733 cat confdefs.h >>conftest.$ac_ext
9734 cat >>conftest.$ac_ext <<_ACEOF
9735 /* end confdefs.h. */
9738 #include <sys/procfs.h>
9747 rm -f conftest.$ac_objext
9748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9749 (eval $ac_compile) 2>conftest.er1
9751 grep -v '^ *+' conftest.er1 >conftest.err
9753 cat conftest.err >&5
9754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 (exit $ac_status); } &&
9756 { ac_try='test -z "$ac_c_werror_flag"
9757 || test ! -s conftest.err'
9758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 (exit $ac_status); }; } &&
9763 { ac_try='test -s conftest.$ac_objext'
9764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 (exit $ac_status); }; }; then
9769 bfd_cv_have_sys_procfs_type_prstatus32_t=yes
9771 echo "$as_me: failed program was:" >&5
9772 sed 's/^/| /' conftest.$ac_ext >&5
9774 bfd_cv_have_sys_procfs_type_prstatus32_t=no
9777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9780 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
9782 cat >>confdefs.h <<\_ACEOF
9783 #define HAVE_PRSTATUS32_T 1
9787 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
9788 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
9790 echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
9791 echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
9792 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
9793 echo $ECHO_N "(cached) $ECHO_C" >&6
9795 cat >conftest.$ac_ext <<_ACEOF
9798 cat confdefs.h >>conftest.$ac_ext
9799 cat >>conftest.$ac_ext <<_ACEOF
9800 /* end confdefs.h. */
9803 #include <sys/procfs.h>
9807 prstatus_t avar; void* aref = (void*) &avar.pr_who
9812 rm -f conftest.$ac_objext
9813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9814 (eval $ac_compile) 2>conftest.er1
9816 grep -v '^ *+' conftest.er1 >conftest.err
9818 cat conftest.err >&5
9819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9820 (exit $ac_status); } &&
9821 { ac_try='test -z "$ac_c_werror_flag"
9822 || test ! -s conftest.err'
9823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827 (exit $ac_status); }; } &&
9828 { ac_try='test -s conftest.$ac_objext'
9829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833 (exit $ac_status); }; }; then
9834 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes
9836 echo "$as_me: failed program was:" >&5
9837 sed 's/^/| /' conftest.$ac_ext >&5
9839 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=no
9842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9845 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
9847 cat >>confdefs.h <<\_ACEOF
9848 #define HAVE_PRSTATUS_T_PR_WHO 1
9852 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
9853 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
9855 echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
9856 echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
9857 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
9858 echo $ECHO_N "(cached) $ECHO_C" >&6
9860 cat >conftest.$ac_ext <<_ACEOF
9863 cat confdefs.h >>conftest.$ac_ext
9864 cat >>conftest.$ac_ext <<_ACEOF
9865 /* end confdefs.h. */
9868 #include <sys/procfs.h>
9872 prstatus32_t avar; void* aref = (void*) &avar.pr_who
9877 rm -f conftest.$ac_objext
9878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9879 (eval $ac_compile) 2>conftest.er1
9881 grep -v '^ *+' conftest.er1 >conftest.err
9883 cat conftest.err >&5
9884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9885 (exit $ac_status); } &&
9886 { ac_try='test -z "$ac_c_werror_flag"
9887 || test ! -s conftest.err'
9888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9892 (exit $ac_status); }; } &&
9893 { ac_try='test -s conftest.$ac_objext'
9894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9898 (exit $ac_status); }; }; then
9899 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes
9901 echo "$as_me: failed program was:" >&5
9902 sed 's/^/| /' conftest.$ac_ext >&5
9904 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=no
9907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9910 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
9912 cat >>confdefs.h <<\_ACEOF
9913 #define HAVE_PRSTATUS32_T_PR_WHO 1
9917 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
9918 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
9920 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
9921 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
9922 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
9923 echo $ECHO_N "(cached) $ECHO_C" >&6
9925 cat >conftest.$ac_ext <<_ACEOF
9928 cat confdefs.h >>conftest.$ac_ext
9929 cat >>conftest.$ac_ext <<_ACEOF
9930 /* end confdefs.h. */
9933 #include <sys/procfs.h>
9942 rm -f conftest.$ac_objext
9943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9944 (eval $ac_compile) 2>conftest.er1
9946 grep -v '^ *+' conftest.er1 >conftest.err
9948 cat conftest.err >&5
9949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950 (exit $ac_status); } &&
9951 { ac_try='test -z "$ac_c_werror_flag"
9952 || test ! -s conftest.err'
9953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9957 (exit $ac_status); }; } &&
9958 { ac_try='test -s conftest.$ac_objext'
9959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9963 (exit $ac_status); }; }; then
9964 bfd_cv_have_sys_procfs_type_pstatus_t=yes
9966 echo "$as_me: failed program was:" >&5
9967 sed 's/^/| /' conftest.$ac_ext >&5
9969 bfd_cv_have_sys_procfs_type_pstatus_t=no
9972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9975 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
9977 cat >>confdefs.h <<\_ACEOF
9978 #define HAVE_PSTATUS_T 1
9982 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
9983 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
9985 echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
9986 echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
9987 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
9988 echo $ECHO_N "(cached) $ECHO_C" >&6
9990 cat >conftest.$ac_ext <<_ACEOF
9993 cat confdefs.h >>conftest.$ac_ext
9994 cat >>conftest.$ac_ext <<_ACEOF
9995 /* end confdefs.h. */
9998 #include <sys/procfs.h>
10007 rm -f conftest.$ac_objext
10008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10009 (eval $ac_compile) 2>conftest.er1
10011 grep -v '^ *+' conftest.er1 >conftest.err
10013 cat conftest.err >&5
10014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10015 (exit $ac_status); } &&
10016 { ac_try='test -z "$ac_c_werror_flag"
10017 || test ! -s conftest.err'
10018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10019 (eval $ac_try) 2>&5
10021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10022 (exit $ac_status); }; } &&
10023 { ac_try='test -s conftest.$ac_objext'
10024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10025 (eval $ac_try) 2>&5
10027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10028 (exit $ac_status); }; }; then
10029 bfd_cv_have_sys_procfs_type_pxstatus_t=yes
10031 echo "$as_me: failed program was:" >&5
10032 sed 's/^/| /' conftest.$ac_ext >&5
10034 bfd_cv_have_sys_procfs_type_pxstatus_t=no
10037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10040 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
10042 cat >>confdefs.h <<\_ACEOF
10043 #define HAVE_PXSTATUS_T 1
10047 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
10048 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
10050 echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
10051 echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
10052 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
10053 echo $ECHO_N "(cached) $ECHO_C" >&6
10055 cat >conftest.$ac_ext <<_ACEOF
10058 cat confdefs.h >>conftest.$ac_ext
10059 cat >>conftest.$ac_ext <<_ACEOF
10060 /* end confdefs.h. */
10063 #include <sys/procfs.h>
10072 rm -f conftest.$ac_objext
10073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10074 (eval $ac_compile) 2>conftest.er1
10076 grep -v '^ *+' conftest.er1 >conftest.err
10078 cat conftest.err >&5
10079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10080 (exit $ac_status); } &&
10081 { ac_try='test -z "$ac_c_werror_flag"
10082 || test ! -s conftest.err'
10083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10084 (eval $ac_try) 2>&5
10086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10087 (exit $ac_status); }; } &&
10088 { ac_try='test -s conftest.$ac_objext'
10089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10090 (eval $ac_try) 2>&5
10092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10093 (exit $ac_status); }; }; then
10094 bfd_cv_have_sys_procfs_type_pstatus32_t=yes
10096 echo "$as_me: failed program was:" >&5
10097 sed 's/^/| /' conftest.$ac_ext >&5
10099 bfd_cv_have_sys_procfs_type_pstatus32_t=no
10102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10105 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
10107 cat >>confdefs.h <<\_ACEOF
10108 #define HAVE_PSTATUS32_T 1
10112 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
10113 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
10115 echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
10116 echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
10117 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
10118 echo $ECHO_N "(cached) $ECHO_C" >&6
10120 cat >conftest.$ac_ext <<_ACEOF
10123 cat confdefs.h >>conftest.$ac_ext
10124 cat >>conftest.$ac_ext <<_ACEOF
10125 /* end confdefs.h. */
10128 #include <sys/procfs.h>
10137 rm -f conftest.$ac_objext
10138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10139 (eval $ac_compile) 2>conftest.er1
10141 grep -v '^ *+' conftest.er1 >conftest.err
10143 cat conftest.err >&5
10144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10145 (exit $ac_status); } &&
10146 { ac_try='test -z "$ac_c_werror_flag"
10147 || test ! -s conftest.err'
10148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10149 (eval $ac_try) 2>&5
10151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10152 (exit $ac_status); }; } &&
10153 { ac_try='test -s conftest.$ac_objext'
10154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10155 (eval $ac_try) 2>&5
10157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158 (exit $ac_status); }; }; then
10159 bfd_cv_have_sys_procfs_type_prpsinfo_t=yes
10161 echo "$as_me: failed program was:" >&5
10162 sed 's/^/| /' conftest.$ac_ext >&5
10164 bfd_cv_have_sys_procfs_type_prpsinfo_t=no
10167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10170 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
10172 cat >>confdefs.h <<\_ACEOF
10173 #define HAVE_PRPSINFO_T 1
10177 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
10178 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
10180 echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
10181 echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
10182 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
10183 echo $ECHO_N "(cached) $ECHO_C" >&6
10185 cat >conftest.$ac_ext <<_ACEOF
10188 cat confdefs.h >>conftest.$ac_ext
10189 cat >>conftest.$ac_ext <<_ACEOF
10190 /* end confdefs.h. */
10193 #include <sys/procfs.h>
10202 rm -f conftest.$ac_objext
10203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10204 (eval $ac_compile) 2>conftest.er1
10206 grep -v '^ *+' conftest.er1 >conftest.err
10208 cat conftest.err >&5
10209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10210 (exit $ac_status); } &&
10211 { ac_try='test -z "$ac_c_werror_flag"
10212 || test ! -s conftest.err'
10213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10214 (eval $ac_try) 2>&5
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); }; } &&
10218 { ac_try='test -s conftest.$ac_objext'
10219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10220 (eval $ac_try) 2>&5
10222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10223 (exit $ac_status); }; }; then
10224 bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes
10226 echo "$as_me: failed program was:" >&5
10227 sed 's/^/| /' conftest.$ac_ext >&5
10229 bfd_cv_have_sys_procfs_type_prpsinfo32_t=no
10232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10235 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
10237 cat >>confdefs.h <<\_ACEOF
10238 #define HAVE_PRPSINFO32_T 1
10242 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
10243 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
10245 echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
10246 echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
10247 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
10248 echo $ECHO_N "(cached) $ECHO_C" >&6
10250 cat >conftest.$ac_ext <<_ACEOF
10253 cat confdefs.h >>conftest.$ac_ext
10254 cat >>conftest.$ac_ext <<_ACEOF
10255 /* end confdefs.h. */
10258 #include <sys/procfs.h>
10267 rm -f conftest.$ac_objext
10268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10269 (eval $ac_compile) 2>conftest.er1
10271 grep -v '^ *+' conftest.er1 >conftest.err
10273 cat conftest.err >&5
10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275 (exit $ac_status); } &&
10276 { ac_try='test -z "$ac_c_werror_flag"
10277 || test ! -s conftest.err'
10278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10279 (eval $ac_try) 2>&5
10281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10282 (exit $ac_status); }; } &&
10283 { ac_try='test -s conftest.$ac_objext'
10284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10285 (eval $ac_try) 2>&5
10287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288 (exit $ac_status); }; }; then
10289 bfd_cv_have_sys_procfs_type_psinfo_t=yes
10291 echo "$as_me: failed program was:" >&5
10292 sed 's/^/| /' conftest.$ac_ext >&5
10294 bfd_cv_have_sys_procfs_type_psinfo_t=no
10297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10300 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
10302 cat >>confdefs.h <<\_ACEOF
10303 #define HAVE_PSINFO_T 1
10307 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
10308 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
10310 echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
10311 echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
10312 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
10313 echo $ECHO_N "(cached) $ECHO_C" >&6
10315 cat >conftest.$ac_ext <<_ACEOF
10318 cat confdefs.h >>conftest.$ac_ext
10319 cat >>conftest.$ac_ext <<_ACEOF
10320 /* end confdefs.h. */
10323 #include <sys/procfs.h>
10332 rm -f conftest.$ac_objext
10333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10334 (eval $ac_compile) 2>conftest.er1
10336 grep -v '^ *+' conftest.er1 >conftest.err
10338 cat conftest.err >&5
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); } &&
10341 { ac_try='test -z "$ac_c_werror_flag"
10342 || test ! -s conftest.err'
10343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10344 (eval $ac_try) 2>&5
10346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10347 (exit $ac_status); }; } &&
10348 { ac_try='test -s conftest.$ac_objext'
10349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10350 (eval $ac_try) 2>&5
10352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10353 (exit $ac_status); }; }; then
10354 bfd_cv_have_sys_procfs_type_psinfo32_t=yes
10356 echo "$as_me: failed program was:" >&5
10357 sed 's/^/| /' conftest.$ac_ext >&5
10359 bfd_cv_have_sys_procfs_type_psinfo32_t=no
10362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10365 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
10367 cat >>confdefs.h <<\_ACEOF
10368 #define HAVE_PSINFO32_T 1
10372 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
10373 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
10375 echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
10376 echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
10377 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
10378 echo $ECHO_N "(cached) $ECHO_C" >&6
10380 cat >conftest.$ac_ext <<_ACEOF
10383 cat confdefs.h >>conftest.$ac_ext
10384 cat >>conftest.$ac_ext <<_ACEOF
10385 /* end confdefs.h. */
10388 #include <sys/procfs.h>
10397 rm -f conftest.$ac_objext
10398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10399 (eval $ac_compile) 2>conftest.er1
10401 grep -v '^ *+' conftest.er1 >conftest.err
10403 cat conftest.err >&5
10404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10405 (exit $ac_status); } &&
10406 { ac_try='test -z "$ac_c_werror_flag"
10407 || test ! -s conftest.err'
10408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10409 (eval $ac_try) 2>&5
10411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412 (exit $ac_status); }; } &&
10413 { ac_try='test -s conftest.$ac_objext'
10414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10415 (eval $ac_try) 2>&5
10417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10418 (exit $ac_status); }; }; then
10419 bfd_cv_have_sys_procfs_type_lwpstatus_t=yes
10421 echo "$as_me: failed program was:" >&5
10422 sed 's/^/| /' conftest.$ac_ext >&5
10424 bfd_cv_have_sys_procfs_type_lwpstatus_t=no
10427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10430 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
10432 cat >>confdefs.h <<\_ACEOF
10433 #define HAVE_LWPSTATUS_T 1
10437 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
10438 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
10440 echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
10441 echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
10442 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
10443 echo $ECHO_N "(cached) $ECHO_C" >&6
10445 cat >conftest.$ac_ext <<_ACEOF
10448 cat confdefs.h >>conftest.$ac_ext
10449 cat >>conftest.$ac_ext <<_ACEOF
10450 /* end confdefs.h. */
10453 #include <sys/procfs.h>
10462 rm -f conftest.$ac_objext
10463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10464 (eval $ac_compile) 2>conftest.er1
10466 grep -v '^ *+' conftest.er1 >conftest.err
10468 cat conftest.err >&5
10469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470 (exit $ac_status); } &&
10471 { ac_try='test -z "$ac_c_werror_flag"
10472 || test ! -s conftest.err'
10473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10474 (eval $ac_try) 2>&5
10476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10477 (exit $ac_status); }; } &&
10478 { ac_try='test -s conftest.$ac_objext'
10479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10480 (eval $ac_try) 2>&5
10482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10483 (exit $ac_status); }; }; then
10484 bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes
10486 echo "$as_me: failed program was:" >&5
10487 sed 's/^/| /' conftest.$ac_ext >&5
10489 bfd_cv_have_sys_procfs_type_lwpxstatus_t=no
10492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10495 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
10497 cat >>confdefs.h <<\_ACEOF
10498 #define HAVE_LWPXSTATUS_T 1
10502 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
10503 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
10505 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
10506 echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
10507 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
10508 echo $ECHO_N "(cached) $ECHO_C" >&6
10510 cat >conftest.$ac_ext <<_ACEOF
10513 cat confdefs.h >>conftest.$ac_ext
10514 cat >>conftest.$ac_ext <<_ACEOF
10515 /* end confdefs.h. */
10518 #include <sys/procfs.h>
10522 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
10527 rm -f conftest.$ac_objext
10528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10529 (eval $ac_compile) 2>conftest.er1
10531 grep -v '^ *+' conftest.er1 >conftest.err
10533 cat conftest.err >&5
10534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10535 (exit $ac_status); } &&
10536 { ac_try='test -z "$ac_c_werror_flag"
10537 || test ! -s conftest.err'
10538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10539 (eval $ac_try) 2>&5
10541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542 (exit $ac_status); }; } &&
10543 { ac_try='test -s conftest.$ac_objext'
10544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10545 (eval $ac_try) 2>&5
10547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10548 (exit $ac_status); }; }; then
10549 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes
10551 echo "$as_me: failed program was:" >&5
10552 sed 's/^/| /' conftest.$ac_ext >&5
10554 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=no
10557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10560 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
10562 cat >>confdefs.h <<\_ACEOF
10563 #define HAVE_LWPSTATUS_T_PR_CONTEXT 1
10567 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
10568 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
10570 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
10571 echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
10572 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
10573 echo $ECHO_N "(cached) $ECHO_C" >&6
10575 cat >conftest.$ac_ext <<_ACEOF
10578 cat confdefs.h >>conftest.$ac_ext
10579 cat >>conftest.$ac_ext <<_ACEOF
10580 /* end confdefs.h. */
10583 #include <sys/procfs.h>
10587 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
10592 rm -f conftest.$ac_objext
10593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10594 (eval $ac_compile) 2>conftest.er1
10596 grep -v '^ *+' conftest.er1 >conftest.err
10598 cat conftest.err >&5
10599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10600 (exit $ac_status); } &&
10601 { ac_try='test -z "$ac_c_werror_flag"
10602 || test ! -s conftest.err'
10603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10604 (eval $ac_try) 2>&5
10606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10607 (exit $ac_status); }; } &&
10608 { ac_try='test -s conftest.$ac_objext'
10609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10610 (eval $ac_try) 2>&5
10612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10613 (exit $ac_status); }; }; then
10614 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes
10616 echo "$as_me: failed program was:" >&5
10617 sed 's/^/| /' conftest.$ac_ext >&5
10619 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=no
10622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10625 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
10627 cat >>confdefs.h <<\_ACEOF
10628 #define HAVE_LWPSTATUS_T_PR_REG 1
10632 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
10633 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
10635 echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
10636 echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
10637 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
10638 echo $ECHO_N "(cached) $ECHO_C" >&6
10640 cat >conftest.$ac_ext <<_ACEOF
10643 cat confdefs.h >>conftest.$ac_ext
10644 cat >>conftest.$ac_ext <<_ACEOF
10645 /* end confdefs.h. */
10648 #include <sys/procfs.h>
10652 win32_pstatus_t avar
10657 rm -f conftest.$ac_objext
10658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10659 (eval $ac_compile) 2>conftest.er1
10661 grep -v '^ *+' conftest.er1 >conftest.err
10663 cat conftest.err >&5
10664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 (exit $ac_status); } &&
10666 { ac_try='test -z "$ac_c_werror_flag"
10667 || test ! -s conftest.err'
10668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10669 (eval $ac_try) 2>&5
10671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10672 (exit $ac_status); }; } &&
10673 { ac_try='test -s conftest.$ac_objext'
10674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10675 (eval $ac_try) 2>&5
10677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10678 (exit $ac_status); }; }; then
10679 bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes
10681 echo "$as_me: failed program was:" >&5
10682 sed 's/^/| /' conftest.$ac_ext >&5
10684 bfd_cv_have_sys_procfs_type_win32_pstatus_t=no
10687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10690 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
10692 cat >>confdefs.h <<\_ACEOF
10693 #define HAVE_WIN32_PSTATUS_T 1
10697 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
10698 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
10704 if test -n "$TRAD_HEADER"; then
10706 cat >>confdefs.h <<_ACEOF
10707 #define TRAD_HEADER $TRAD_HEADER
10712 # Horrible hacks to build DLLs on Windows.
10717 if test "$enable_shared" = "yes"; then
10718 WIN32LDFLAGS="-no-undefined"
10719 WIN32LIBADD="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
10723 # We borrow WIN32LIBADD so that the shared libbfd won't depend on
10727 # Linux/MIPS uses PIC by default.
10728 if test "$enable_shared" = "yes"; then
10729 WIN32LIBADD="-L../libiberty -liberty"
10733 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
10734 if test -n "$x"; then
10735 WIN32LIBADD="-L../libiberty/pic -liberty"
10746 # Canonicalize the secondary target names.
10747 if test -n "$enable_targets" ; then
10748 for targ in `echo $enable_targets | sed 's/,/ /g'`
10750 result=`$ac_config_sub $targ 2>/dev/null`
10751 if test -n "$result" ; then
10752 canon_targets="$canon_targets $result"
10754 # Allow targets that config.sub doesn't recognize, like "all".
10755 canon_targets="$canon_targets $targ"
10766 for targ in $target $canon_targets
10768 if test "x$targ" = "xall"; then
10770 assocvecs="$assocvecs $targ_defvec $targ_selvecs"
10772 . $srcdir/config.bfd
10773 if test "x$targ" = "x$target"; then
10774 defvec=$targ_defvec
10776 selvecs="$selvecs $targ_defvec $targ_selvecs"
10777 selarchs="$selarchs $targ_archs"
10778 TDEFINES="$TDEFINES $targ_cflags"
10783 # This processing still needs to be done if we're to decide properly whether
10784 # 64-bit support needs to be compiled in. Currently, it will be included if
10785 # the default or any other explicitly requested target requires it; it
10786 # will not be included on a 32-bit host if no 64-bit target is requested, and
10787 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
10790 # uniq the default and selected vectors in all the configured targets.
10792 for i in $selvecs ; do
10801 # uniq the associated vectors in all the configured targets.
10803 for i in $assocvecs ; do
10812 # uniq the architectures in all the configured targets.
10814 for i in $selarchs ; do
10822 # Target backend .o files.
10825 elf="elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
10827 for vec in $selvecs
10831 # This list is alphabetized to make it easy to compare
10832 # with the two vector lists in targets.c. For the same reason,
10833 # use one entry per line, even though this leads to long lines.
10834 a_out_adobe_vec) tb="$tb aout-adobe.lo aout32.lo" ;;
10835 aix5coff64_vec) tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
10836 aout0_big_vec) tb="$tb aout0.lo aout32.lo" ;;
10837 aout_arm_big_vec) tb="$tb aout-arm.lo aout32.lo" ;;
10838 aout_arm_little_vec) tb="$tb aout-arm.lo aout32.lo" ;;
10839 apollocoff_vec) tb="$tb coff-apollo.lo" ;;
10840 arm_epoc_pe_big_vec) tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
10841 arm_epoc_pe_little_vec) tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
10842 arm_epoc_pei_big_vec) tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
10843 arm_epoc_pei_little_vec) tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
10844 arm_wince_pe_big_vec) tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
10845 arm_wince_pe_little_vec) tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
10846 arm_wince_pei_big_vec) tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
10847 arm_wince_pei_little_vec) tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
10848 armcoff_big_vec) tb="$tb coff-arm.lo cofflink.lo " ;;
10849 armcoff_little_vec) tb="$tb coff-arm.lo cofflink.lo " ;;
10850 armnetbsd_vec) tb="$tb armnetbsd.lo aout32.lo" ;;
10851 armpe_big_vec) tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
10852 armpe_little_vec) tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
10853 armpei_big_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
10854 armpei_little_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
10855 b_out_vec_big_host) tb="$tb bout.lo aout32.lo" ;;
10856 b_out_vec_little_host) tb="$tb bout.lo aout32.lo" ;;
10857 bfd_efi_app_ia32_vec) tb="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;;
10858 bfd_efi_app_x86_64_vec) tb="$tb efi-app-x86_64.lo pex64igen.lo cofflink.lo" ;target_size=64;;
10859 bfd_efi_app_ia64_vec) tb="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
10860 bfd_elf32_am33lin_vec) tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
10861 bfd_elf32_avr_vec) tb="$tb elf32-avr.lo elf32.lo $elf" ;;
10862 bfd_elf32_bfin_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
10863 bfd_elf32_bfinfdpic_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
10864 bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
10865 bfd_elf32_bigarc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;;
10866 bfd_elf32_bigarm_vec) tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10867 bfd_elf32_bigarm_symbian_vec)
10868 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10869 bfd_elf32_bigarm_vxworks_vec)
10870 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10871 bfd_elf32_bigmips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10872 bfd_elf32_bigmips_vxworks_vec)
10873 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10874 bfd_elf32_cr16c_vec) tb="$tb elf32-cr16c.lo elf32.lo $elf" ;;
10875 bfd_elf32_cris_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;;
10876 bfd_elf32_crx_vec) tb="$tb elf32-crx.lo elf32.lo $elf" ;;
10877 bfd_elf32_d10v_vec) tb="$tb elf32-d10v.lo elf32.lo $elf" ;;
10878 bfd_elf32_d30v_vec) tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
10879 bfd_elf32_dlx_big_vec) tb="$tb elf32-dlx.lo elf32.lo $elf" ;;
10880 bfd_elf32_fr30_vec) tb="$tb elf32-fr30.lo elf32.lo $elf" ;;
10881 bfd_elf32_frv_vec) tb="$tb elf32-frv.lo elf32.lo $elf" ;;
10882 bfd_elf32_frvfdpic_vec) tb="$tb elf32-frv.lo elf32.lo $elf" ;;
10883 bfd_elf32_h8300_vec) tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
10884 bfd_elf32_hppa_linux_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
10885 bfd_elf32_hppa_nbsd_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
10886 bfd_elf32_hppa_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
10887 bfd_elf32_i370_vec) tb="$tb elf32-i370.lo elf32.lo $elf" ;;
10888 bfd_elf32_i386_freebsd_vec) tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
10889 bfd_elf32_i386_vxworks_vec) tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
10890 bfd_elf32_i386_vec) tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
10891 bfd_elf32_i860_little_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;
10892 bfd_elf32_i860_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;
10893 bfd_elf32_i960_vec) tb="$tb elf32-i960.lo elf32.lo $elf" ;;
10894 bfd_elf32_ia64_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf" ;;
10895 bfd_elf32_ia64_hpux_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf";;
10896 bfd_elf32_ip2k_vec) tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
10897 bfd_elf32_iq2000_vec) tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
10898 bfd_elf32_little_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
10899 bfd_elf32_littlearc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;;
10900 bfd_elf32_littlearm_symbian_vec)
10901 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10902 bfd_elf32_littlearm_vxworks_vec)
10903 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10904 bfd_elf32_littlearm_vec) tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10905 bfd_elf32_littlemips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10906 bfd_elf32_littlemips_vxworks_vec)
10907 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10908 bfd_elf32_m32c_vec) tb="$tb elf32-m32c.lo elf32.lo $elf" ;;
10909 bfd_elf32_m32r_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
10910 bfd_elf32_m32rle_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
10911 bfd_elf32_m32rlin_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
10912 bfd_elf32_m32rlelin_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
10913 bfd_elf32_m68hc11_vec) tb="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
10914 bfd_elf32_m68hc12_vec) tb="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
10915 bfd_elf32_m68k_vec) tb="$tb elf32-m68k.lo elf32.lo $elf" ;;
10916 bfd_elf32_m88k_vec) tb="$tb elf32-m88k.lo elf32.lo $elf" ;;
10917 bfd_elf32_mcore_big_vec) tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
10918 bfd_elf32_mcore_little_vec) tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
10919 bfd_elf32_mep_vec) tb="$tb elf32-mep.lo elf32.lo $elf" ;;
10920 bfd_elf32_mep_little_vec) tb="$tb elf32-mep.lo elf32.lo $elf" ;;
10921 bfd_elf32_mn10200_vec) tb="$tb elf-m10200.lo elf32.lo $elf" ;;
10922 bfd_elf32_mn10300_vec) tb="$tb elf-m10300.lo elf32.lo $elf" ;;
10923 bfd_elf32_mt_vec) tb="$tb elf32-mt.lo elf32.lo $elf" ;;
10924 bfd_elf32_msp430_vec) tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
10925 bfd_elf32_nbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
10926 bfd_elf32_nlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
10927 bfd_elf32_ntradbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
10928 bfd_elf32_ntradlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
10929 bfd_elf32_openrisc_vec) tb="$tb elf32-openrisc.lo elf32.lo $elf" ;;
10930 bfd_elf32_or32_big_vec) tb="$tb elf32-or32.lo elf32.lo $elf" ;;
10931 bfd_elf32_pj_vec) tb="$tb elf32-pj.lo elf32.lo $elf";;
10932 bfd_elf32_pjl_vec) tb="$tb elf32-pj.lo elf32.lo $elf";;
10933 bfd_elf32_powerpc_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
10934 bfd_elf32_powerpcle_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
10935 bfd_elf32_powerpc_vxworks_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
10936 bfd_elf32_s390_vec) tb="$tb elf32-s390.lo elf32.lo $elf" ;;
10937 bfd_elf32_bigscore_vec) tb="$tb elf32-score.lo elf32.lo $elf" ;;
10938 bfd_elf32_littlescore_vec) tb="$tb elf32-score.lo elf32.lo $elf" ;;
10939 # FIXME: We include cofflink.lo not because it's needed for
10940 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
10941 # which needs it but does not list it. Should be fixed in right place.
10942 bfd_elf32_sh64_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
10943 bfd_elf32_sh64l_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
10944 bfd_elf32_sh64lin_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
10945 bfd_elf32_sh64blin_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
10946 bfd_elf32_sh64lnbsd_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
10947 bfd_elf32_sh64nbsd_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
10948 bfd_elf32_sh_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
10949 bfd_elf32_shblin_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
10950 bfd_elf32_shl_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
10951 bfd_elf32_shl_symbian_vec) tb="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
10952 bfd_elf32_shlin_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
10953 bfd_elf32_shlnbsd_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
10954 bfd_elf32_shlvxworks_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
10955 bfd_elf32_shnbsd_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
10956 bfd_elf32_shvxworks_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
10957 bfd_elf32_sparc_vec) tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
10958 bfd_elf32_sparc_vxworks_vec) tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
10959 bfd_elf32_spu_vec) tb="$tb elf32-spu.lo elf32.lo $elf" ;;
10960 bfd_elf32_tradbigmips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10961 bfd_elf32_tradlittlemips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10962 bfd_elf32_us_cris_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;;
10963 bfd_elf32_v850_vec) tb="$tb elf32-v850.lo elf32.lo $elf" ;;
10964 bfd_elf32_vax_vec) tb="$tb elf32-vax.lo elf32.lo $elf" ;;
10965 bfd_elf32_xstormy16_vec) tb="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
10966 bfd_elf32_xc16x_vec) tb="$tb elf32-xc16x.lo elf32.lo $elf" ;;
10967 bfd_elf32_xtensa_le_vec) tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
10968 bfd_elf32_xtensa_be_vec) tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
10969 bfd_elf64_alpha_freebsd_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
10970 bfd_elf64_alpha_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
10971 bfd_elf64_big_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
10972 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 ;;
10973 bfd_elf64_hppa_linux_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
10974 bfd_elf64_hppa_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
10975 bfd_elf64_ia64_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
10976 bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
10977 bfd_elf64_ia64_little_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
10978 bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
10979 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 ;;
10980 bfd_elf64_mmix_vec) tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
10981 bfd_elf64_powerpc_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
10982 bfd_elf64_powerpcle_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
10983 bfd_elf64_s390_vec) tb="$tb elf64-s390.lo elf64.lo $elf"; target_size=64 ;;
10984 bfd_elf64_sh64_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
10985 bfd_elf64_sh64l_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
10986 bfd_elf64_sh64lin_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
10987 bfd_elf64_sh64blin_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
10988 bfd_elf64_sh64lnbsd_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
10989 bfd_elf64_sh64nbsd_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
10990 bfd_elf64_sparc_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
10991 bfd_elf64_sparc_freebsd_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
10992 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 ;;
10993 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 ;;
10994 bfd_elf64_x86_64_freebsd_vec) tb="$tb elf64-x86-64.lo elf64.lo $elf"; target_size=64 ;;
10995 bfd_elf64_x86_64_vec) tb="$tb elf64-x86-64.lo elf64.lo $elf"; target_size=64 ;;
10996 bfd_mmo_vec) tb="$tb mmo.lo" target_size=64 ;;
10997 bfd_powerpc_pe_vec) tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
10998 bfd_powerpc_pei_vec) tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
10999 bfd_powerpcle_pe_vec) tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
11000 bfd_powerpcle_pei_vec) tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
11001 cris_aout_vec) tb="$tb aout-cris.lo" ;;
11002 demo_64_vec) tb="$tb demo64.lo aout64.lo"; target_size=64 ;;
11003 ecoff_big_vec) tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
11004 ecoff_biglittle_vec) tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
11005 ecoff_little_vec) tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
11006 ecoffalpha_little_vec) tb="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size=64 ;;
11007 go32coff_vec) tb="$tb coff-go32.lo cofflink.lo" ;;
11008 go32stubbedcoff_vec) tb="$tb coff-stgo32.lo cofflink.lo" ;;
11009 h8300coff_vec) tb="$tb coff-h8300.lo reloc16.lo" ;;
11010 h8500coff_vec) tb="$tb coff-h8500.lo reloc16.lo" ;;
11011 host_aout_vec) tb="$tb host-aout.lo aout32.lo" ;;
11012 hp300bsd_vec) tb="$tb hp300bsd.lo aout32.lo" ;;
11013 hp300hpux_vec) tb="$tb hp300hpux.lo aout32.lo" ;;
11014 i386aout_vec) tb="$tb i386aout.lo aout32.lo" ;;
11015 i386bsd_vec) tb="$tb i386bsd.lo aout32.lo" ;;
11016 i386coff_vec) tb="$tb coff-i386.lo cofflink.lo" ;;
11017 x86_64coff_vec) tb="$tb coff-x86_64.lo cofflink.lo"; target_size=64 ;;
11018 i386dynix_vec) tb="$tb i386dynix.lo aout32.lo" ;;
11019 i386freebsd_vec) tb="$tb i386freebsd.lo aout32.lo" ;;
11020 i386linux_vec) tb="$tb i386linux.lo aout32.lo" ;;
11021 i386lynx_aout_vec) tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
11022 i386lynx_coff_vec) tb="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
11023 i386mach3_vec) tb="$tb i386mach3.lo aout32.lo" ;;
11024 i386msdos_vec) tb="$tb i386msdos.lo" ;;
11025 i386netbsd_vec) tb="$tb i386netbsd.lo aout32.lo" ;;
11026 i386os9k_vec) tb="$tb i386os9k.lo aout32.lo" ;;
11027 i386pe_vec) tb="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
11028 i386pei_vec) tb="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
11029 x86_64pe_vec) tb="$tb pe-x86_64.lo pex64igen.lo cofflink.lo"; target_size=64 ;;
11030 x86_64pei_vec) tb="$tb pei-x86_64.lo pex64igen.lo cofflink.lo"; target_size=64 ;;
11031 i860coff_vec) tb="$tb coff-i860.lo cofflink.lo" ;;
11032 icoff_big_vec) tb="$tb coff-i960.lo cofflink.lo" ;;
11033 icoff_little_vec) tb="$tb coff-i960.lo cofflink.lo" ;;
11034 ieee_vec) tb="$tb ieee.lo" ;;
11035 m68k4knetbsd_vec) tb="$tb m68k4knetbsd.lo aout32.lo" ;;
11036 m68kaux_coff_vec) tb="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
11037 m68kcoff_vec) tb="$tb coff-m68k.lo cofflink.lo" ;;
11038 m68kcoffun_vec) tb="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
11039 m68klinux_vec) tb="$tb m68klinux.lo aout32.lo" ;;
11040 m68knetbsd_vec) tb="$tb m68knetbsd.lo aout32.lo" ;;
11041 m68ksysvcoff_vec) tb="$tb coff-svm68k.lo cofflink.lo" ;;
11042 m88kbcs_vec) tb="$tb coff-m88k.lo" ;;
11043 m88kmach3_vec) tb="$tb m88kmach3.lo aout32.lo" ;;
11044 m88kopenbsd_vec) tb="$tb m88kopenbsd.lo aout32.lo" ;;
11045 maxqcoff_vec) tb="$tb coff-maxq.lo" ;;
11046 mach_o_be_vec) tb="$tb mach-o.lo" ;;
11047 mach_o_le_vec) tb="$tb mach-o.lo" ;;
11048 mach_o_fat_vec) tb="$tb mach-o.lo" ;;
11049 mcore_pe_big_vec) tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
11050 mcore_pe_little_vec) tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
11051 mcore_pei_big_vec) tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
11052 mcore_pei_little_vec) tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
11053 mipslpe_vec) tb="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
11054 mipslpei_vec) tb="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
11055 newsos3_vec) tb="$tb newsos3.lo aout32.lo" ;;
11056 nlm32_alpha_vec) tb="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size=64 ;;
11057 nlm32_i386_vec) tb="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
11058 nlm32_powerpc_vec) tb="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
11059 nlm32_sparc_vec) tb="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
11060 or32coff_big_vec) tb="$tb coff-or32.lo cofflink.lo" ;;
11061 pc532machaout_vec) tb="$tb pc532-mach.lo aout-ns32k.lo" ;;
11062 pc532netbsd_vec) tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
11063 pef_vec) tb="$tb pef.lo" ;;
11064 pef_xlib_vec) tb="$tb pef.lo" ;;
11065 pdp11_aout_vec) tb="$tb pdp11.lo" ;;
11066 pmac_xcoff_vec) tb="$tb coff-rs6000.lo xcofflink.lo" ;;
11067 ppcboot_vec) tb="$tb ppcboot.lo" ;;
11068 riscix_vec) tb="$tb aout32.lo riscix.lo" ;;
11069 rs6000coff64_vec) tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
11070 rs6000coff_vec) tb="$tb coff-rs6000.lo xcofflink.lo" ;;
11071 shcoff_small_vec) tb="$tb coff-sh.lo cofflink.lo" ;;
11072 shcoff_vec) tb="$tb coff-sh.lo cofflink.lo" ;;
11073 shlcoff_small_vec) tb="$tb coff-sh.lo cofflink.lo" ;;
11074 shlcoff_vec) tb="$tb coff-sh.lo cofflink.lo" ;;
11075 shlpe_vec) tb="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
11076 shlpei_vec) tb="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
11077 som_vec) tb="$tb som.lo" ;;
11078 sparccoff_vec) tb="$tb coff-sparc.lo" ;;
11079 sparcle_aout_vec) tb="$tb aout-sparcle.lo aout32.lo" ;;
11080 sparclinux_vec) tb="$tb sparclinux.lo aout32.lo" ;;
11081 sparclynx_aout_vec) tb="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
11082 sparclynx_coff_vec) tb="$tb cf-sparclynx.lo lynx-core.lo" ;;
11083 sparcnetbsd_vec) tb="$tb sparcnetbsd.lo aout32.lo" ;;
11084 sunos_big_vec) tb="$tb sunos.lo aout32.lo" ;;
11085 sym_vec) tb="$tb xsym.lo" ;;
11086 tic30_aout_vec) tb="$tb aout-tic30.lo" ;;
11087 tic30_coff_vec) tb="$tb coff-tic30.lo" ;;
11088 tic4x_coff0_vec) tb="$tb coff-tic4x.lo" ;;
11089 tic4x_coff0_beh_vec) tb="$tb coff-tic4x.lo" ;;
11090 tic4x_coff1_vec) tb="$tb coff-tic4x.lo" ;;
11091 tic4x_coff1_beh_vec) tb="$tb coff-tic4x.lo" ;;
11092 tic4x_coff2_vec) tb="$tb coff-tic4x.lo" ;;
11093 tic4x_coff2_beh_vec) tb="$tb coff-tic4x.lo" ;;
11094 tic54x_coff0_beh_vec) tb="$tb coff-tic54x.lo" ;;
11095 tic54x_coff0_vec) tb="$tb coff-tic54x.lo" ;;
11096 tic54x_coff1_beh_vec) tb="$tb coff-tic54x.lo" ;;
11097 tic54x_coff1_vec) tb="$tb coff-tic54x.lo" ;;
11098 tic54x_coff2_beh_vec) tb="$tb coff-tic54x.lo" ;;
11099 tic54x_coff2_vec) tb="$tb coff-tic54x.lo" ;;
11100 tic80coff_vec) tb="$tb coff-tic80.lo cofflink.lo" ;;
11101 vaxnetbsd_vec) tb="$tb vaxnetbsd.lo aout32.lo" ;;
11102 vax1knetbsd_vec) tb="$tb vax1knetbsd.lo aout32.lo" ;;
11103 vaxbsd_vec) tb="$tb vaxbsd.lo aout32.lo" ;;
11104 versados_vec) tb="$tb versados.lo" ;;
11105 vms_alpha_vec) tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size=64 ;;
11106 vms_vax_vec) tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
11107 w65_vec) tb="$tb coff-w65.lo reloc16.lo" ;;
11108 we32kcoff_vec) tb="$tb coff-we32k.lo" ;;
11109 z80coff_vec) tb="$tb coff-z80.lo reloc16.lo" ;;
11110 z8kcoff_vec) tb="$tb coff-z8k.lo reloc16.lo cofflink.lo" ;;
11112 # These appear out of order in targets.c
11113 srec_vec) tb="$tb srec.lo" ;;
11114 symbolsrec_vec) tb="$tb srec.lo" ;;
11115 tekhex_vec) tb="$tb tekhex.lo" ;;
11116 cisco_core_big_vec) tb="$tb cisco-core.lo" ;;
11117 cisco_core_little_vec) tb="$tb cisco-core.lo" ;;
11120 *) { { echo "$as_me:$LINENO: error: *** unknown target vector $vec" >&5
11121 echo "$as_me: error: *** unknown target vector $vec" >&2;}
11122 { (exit 1); exit 1; }; } ;;
11125 if test ${target_size} = 64; then
11128 if test x"${vec}" = x"${defvec}"; then
11129 bfd_default_target_size=${target_size}
11133 # Target architecture .o files.
11134 # A couple of CPUs use shorter file names to avoid problems on DOS
11136 ta=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
11138 # Weed out duplicate .o files.
11160 if test x${all_targets} = xtrue ; then
11161 bfd_backends="${bfd_backends}"' $(ALL_BACKENDS)'
11162 bfd_machines="${bfd_machines}"' $(ALL_MACHINES)'
11166 test -n "$assocvecs" &&
11167 assocvecs=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11168 else # all_targets is true
11169 # Only set these if they will be nonempty, for the clever echo.
11172 test -n "$selvecs" &&
11173 havevecs=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
11174 test -n "$selvecs" &&
11175 selvecs=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11176 test -n "$selarchs" &&
11177 selarchs=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11178 fi # all_targets is true
11180 case ${host64}-${target64}-${want64} in
11183 bfd64_libs='$(BFD64_LIBS)'
11184 all_backends='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
11185 if test $BFD_HOST_64_BIT_DEFINED = 0; then
11186 { echo "$as_me:$LINENO: WARNING: You have requested a 64 bit BFD configuration, but" >&5
11187 echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
11188 { echo "$as_me:$LINENO: WARNING: your compiler may not have a 64 bit integral type" >&5
11189 echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
11191 if test -n "$GCC" ; then
11193 echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
11194 echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
11195 # Add more tests for gcc versions with non-working 64-bit support here.
11196 cat >conftest.$ac_ext <<_ACEOF
11199 cat confdefs.h >>conftest.$ac_ext
11200 cat >>conftest.$ac_ext <<_ACEOF
11201 /* end confdefs.h. */
11202 :__GNUC__:__GNUC_MINOR__:__i386__:
11204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11205 $EGREP ": 2 : 91 : 1 :" >/dev/null 2>&1; then
11207 echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
11208 echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
11210 echo "$as_me:$LINENO: result: no" >&5
11211 echo "${ECHO_T}no" >&6
11215 if test $bad_64bit_gcc = yes ; then
11216 { { echo "$as_me:$LINENO: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&5
11217 echo "$as_me: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&2;}
11218 { (exit 1); exit 1; }; }
11224 all_backends='$(BFD32_BACKENDS)'
11235 # Determine the host dependant file_ptr a.k.a. off_t type. In order
11236 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
11237 # fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
11238 # Hopefully a reasonable assumption since fseeko et.al. should be
11239 # upward compatible.
11245 for ac_func in ftello ftello64 fseeko fseeko64 fopen64
11247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11248 echo "$as_me:$LINENO: checking for $ac_func" >&5
11249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11250 if eval "test \"\${$as_ac_var+set}\" = set"; then
11251 echo $ECHO_N "(cached) $ECHO_C" >&6
11253 cat >conftest.$ac_ext <<_ACEOF
11256 cat confdefs.h >>conftest.$ac_ext
11257 cat >>conftest.$ac_ext <<_ACEOF
11258 /* end confdefs.h. */
11259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11261 #define $ac_func innocuous_$ac_func
11263 /* System header to define __stub macros and hopefully few prototypes,
11264 which can conflict with char $ac_func (); below.
11265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11266 <limits.h> exists even on freestanding compilers. */
11269 # include <limits.h>
11271 # include <assert.h>
11276 /* Override any gcc2 internal prototype to avoid an error. */
11281 /* We use char because int might match the return type of a gcc2
11282 builtin and then its argument prototype would still apply. */
11284 /* The GNU C library defines this for functions which it implements
11285 to always fail with ENOSYS. Some functions are actually named
11286 something starting with __ and the normal name is an alias. */
11287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11290 char (*f) () = $ac_func;
11299 return f != $ac_func;
11304 rm -f conftest.$ac_objext conftest$ac_exeext
11305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11306 (eval $ac_link) 2>conftest.er1
11308 grep -v '^ *+' conftest.er1 >conftest.err
11310 cat conftest.err >&5
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); } &&
11313 { ac_try='test -z "$ac_c_werror_flag"
11314 || test ! -s conftest.err'
11315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11316 (eval $ac_try) 2>&5
11318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319 (exit $ac_status); }; } &&
11320 { ac_try='test -s conftest$ac_exeext'
11321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11322 (eval $ac_try) 2>&5
11324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11325 (exit $ac_status); }; }; then
11326 eval "$as_ac_var=yes"
11328 echo "$as_me: failed program was:" >&5
11329 sed 's/^/| /' conftest.$ac_ext >&5
11331 eval "$as_ac_var=no"
11333 rm -f conftest.err conftest.$ac_objext \
11334 conftest$ac_exeext conftest.$ac_ext
11336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11338 if test `eval echo '${'$as_ac_var'}'` = yes; then
11339 cat >>confdefs.h <<_ACEOF
11340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11346 if test x"$ac_cv_func_ftello" = xyes -a x"$ac_cv_func_fseeko" = xyes; then
11347 echo "$as_me:$LINENO: checking for off_t" >&5
11348 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
11349 if test "${ac_cv_type_off_t+set}" = set; then
11350 echo $ECHO_N "(cached) $ECHO_C" >&6
11352 cat >conftest.$ac_ext <<_ACEOF
11355 cat confdefs.h >>conftest.$ac_ext
11356 cat >>conftest.$ac_ext <<_ACEOF
11357 /* end confdefs.h. */
11358 $ac_includes_default
11364 if (sizeof (off_t))
11370 rm -f conftest.$ac_objext
11371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11372 (eval $ac_compile) 2>conftest.er1
11374 grep -v '^ *+' conftest.er1 >conftest.err
11376 cat conftest.err >&5
11377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11378 (exit $ac_status); } &&
11379 { ac_try='test -z "$ac_c_werror_flag"
11380 || test ! -s conftest.err'
11381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11382 (eval $ac_try) 2>&5
11384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385 (exit $ac_status); }; } &&
11386 { ac_try='test -s conftest.$ac_objext'
11387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11388 (eval $ac_try) 2>&5
11390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11391 (exit $ac_status); }; }; then
11392 ac_cv_type_off_t=yes
11394 echo "$as_me: failed program was:" >&5
11395 sed 's/^/| /' conftest.$ac_ext >&5
11397 ac_cv_type_off_t=no
11399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11401 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
11402 echo "${ECHO_T}$ac_cv_type_off_t" >&6
11404 echo "$as_me:$LINENO: checking size of off_t" >&5
11405 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
11406 if test "${ac_cv_sizeof_off_t+set}" = set; then
11407 echo $ECHO_N "(cached) $ECHO_C" >&6
11409 if test "$ac_cv_type_off_t" = yes; then
11410 # The cast to unsigned long works around a bug in the HP C Compiler
11411 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11412 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11413 # This bug is HP SR number 8606223364.
11414 if test "$cross_compiling" = yes; then
11415 # Depending upon the size, compute the lo and hi bounds.
11416 cat >conftest.$ac_ext <<_ACEOF
11419 cat confdefs.h >>conftest.$ac_ext
11420 cat >>conftest.$ac_ext <<_ACEOF
11421 /* end confdefs.h. */
11422 $ac_includes_default
11426 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)];
11433 rm -f conftest.$ac_objext
11434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11435 (eval $ac_compile) 2>conftest.er1
11437 grep -v '^ *+' conftest.er1 >conftest.err
11439 cat conftest.err >&5
11440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11441 (exit $ac_status); } &&
11442 { ac_try='test -z "$ac_c_werror_flag"
11443 || test ! -s conftest.err'
11444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11445 (eval $ac_try) 2>&5
11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448 (exit $ac_status); }; } &&
11449 { ac_try='test -s conftest.$ac_objext'
11450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11451 (eval $ac_try) 2>&5
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); }; }; then
11457 cat >conftest.$ac_ext <<_ACEOF
11460 cat confdefs.h >>conftest.$ac_ext
11461 cat >>conftest.$ac_ext <<_ACEOF
11462 /* end confdefs.h. */
11463 $ac_includes_default
11467 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
11474 rm -f conftest.$ac_objext
11475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11476 (eval $ac_compile) 2>conftest.er1
11478 grep -v '^ *+' conftest.er1 >conftest.err
11480 cat conftest.err >&5
11481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11482 (exit $ac_status); } &&
11483 { ac_try='test -z "$ac_c_werror_flag"
11484 || test ! -s conftest.err'
11485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11486 (eval $ac_try) 2>&5
11488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11489 (exit $ac_status); }; } &&
11490 { ac_try='test -s conftest.$ac_objext'
11491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11492 (eval $ac_try) 2>&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); }; }; then
11496 ac_hi=$ac_mid; break
11498 echo "$as_me: failed program was:" >&5
11499 sed 's/^/| /' conftest.$ac_ext >&5
11501 ac_lo=`expr $ac_mid + 1`
11502 if test $ac_lo -le $ac_mid; then
11506 ac_mid=`expr 2 '*' $ac_mid + 1`
11508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11511 echo "$as_me: failed program was:" >&5
11512 sed 's/^/| /' conftest.$ac_ext >&5
11514 cat >conftest.$ac_ext <<_ACEOF
11517 cat confdefs.h >>conftest.$ac_ext
11518 cat >>conftest.$ac_ext <<_ACEOF
11519 /* end confdefs.h. */
11520 $ac_includes_default
11524 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)];
11531 rm -f conftest.$ac_objext
11532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11533 (eval $ac_compile) 2>conftest.er1
11535 grep -v '^ *+' conftest.er1 >conftest.err
11537 cat conftest.err >&5
11538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539 (exit $ac_status); } &&
11540 { ac_try='test -z "$ac_c_werror_flag"
11541 || test ! -s conftest.err'
11542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11543 (eval $ac_try) 2>&5
11545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11546 (exit $ac_status); }; } &&
11547 { ac_try='test -s conftest.$ac_objext'
11548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11549 (eval $ac_try) 2>&5
11551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11552 (exit $ac_status); }; }; then
11555 cat >conftest.$ac_ext <<_ACEOF
11558 cat confdefs.h >>conftest.$ac_ext
11559 cat >>conftest.$ac_ext <<_ACEOF
11560 /* end confdefs.h. */
11561 $ac_includes_default
11565 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)];
11572 rm -f conftest.$ac_objext
11573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11574 (eval $ac_compile) 2>conftest.er1
11576 grep -v '^ *+' conftest.er1 >conftest.err
11578 cat conftest.err >&5
11579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); } &&
11581 { ac_try='test -z "$ac_c_werror_flag"
11582 || test ! -s conftest.err'
11583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11584 (eval $ac_try) 2>&5
11586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11587 (exit $ac_status); }; } &&
11588 { ac_try='test -s conftest.$ac_objext'
11589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11590 (eval $ac_try) 2>&5
11592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11593 (exit $ac_status); }; }; then
11594 ac_lo=$ac_mid; break
11596 echo "$as_me: failed program was:" >&5
11597 sed 's/^/| /' conftest.$ac_ext >&5
11599 ac_hi=`expr '(' $ac_mid ')' - 1`
11600 if test $ac_mid -le $ac_hi; then
11604 ac_mid=`expr 2 '*' $ac_mid`
11606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11609 echo "$as_me: failed program was:" >&5
11610 sed 's/^/| /' conftest.$ac_ext >&5
11614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11617 # Binary search between lo and hi bounds.
11618 while test "x$ac_lo" != "x$ac_hi"; do
11619 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11620 cat >conftest.$ac_ext <<_ACEOF
11623 cat confdefs.h >>conftest.$ac_ext
11624 cat >>conftest.$ac_ext <<_ACEOF
11625 /* end confdefs.h. */
11626 $ac_includes_default
11630 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
11637 rm -f conftest.$ac_objext
11638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11639 (eval $ac_compile) 2>conftest.er1
11641 grep -v '^ *+' conftest.er1 >conftest.err
11643 cat conftest.err >&5
11644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11645 (exit $ac_status); } &&
11646 { ac_try='test -z "$ac_c_werror_flag"
11647 || test ! -s conftest.err'
11648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11649 (eval $ac_try) 2>&5
11651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11652 (exit $ac_status); }; } &&
11653 { ac_try='test -s conftest.$ac_objext'
11654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11655 (eval $ac_try) 2>&5
11657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11658 (exit $ac_status); }; }; then
11661 echo "$as_me: failed program was:" >&5
11662 sed 's/^/| /' conftest.$ac_ext >&5
11664 ac_lo=`expr '(' $ac_mid ')' + 1`
11666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11669 ?*) ac_cv_sizeof_off_t=$ac_lo;;
11670 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
11671 See \`config.log' for more details." >&5
11672 echo "$as_me: error: cannot compute sizeof (off_t), 77
11673 See \`config.log' for more details." >&2;}
11674 { (exit 1); exit 1; }; } ;;
11677 if test "$cross_compiling" = yes; then
11678 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11679 See \`config.log' for more details." >&5
11680 echo "$as_me: error: cannot run test program while cross compiling
11681 See \`config.log' for more details." >&2;}
11682 { (exit 1); exit 1; }; }
11684 cat >conftest.$ac_ext <<_ACEOF
11687 cat confdefs.h >>conftest.$ac_ext
11688 cat >>conftest.$ac_ext <<_ACEOF
11689 /* end confdefs.h. */
11690 $ac_includes_default
11691 long longval () { return (long) (sizeof (off_t)); }
11692 unsigned long ulongval () { return (long) (sizeof (off_t)); }
11694 #include <stdlib.h>
11699 FILE *f = fopen ("conftest.val", "w");
11702 if (((long) (sizeof (off_t))) < 0)
11704 long i = longval ();
11705 if (i != ((long) (sizeof (off_t))))
11707 fprintf (f, "%ld\n", i);
11711 unsigned long i = ulongval ();
11712 if (i != ((long) (sizeof (off_t))))
11714 fprintf (f, "%lu\n", i);
11716 exit (ferror (f) || fclose (f) != 0);
11722 rm -f conftest$ac_exeext
11723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11724 (eval $ac_link) 2>&5
11726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11727 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11729 (eval $ac_try) 2>&5
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); }; }; then
11733 ac_cv_sizeof_off_t=`cat conftest.val`
11735 echo "$as_me: program exited with status $ac_status" >&5
11736 echo "$as_me: failed program was:" >&5
11737 sed 's/^/| /' conftest.$ac_ext >&5
11739 ( exit $ac_status )
11740 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
11741 See \`config.log' for more details." >&5
11742 echo "$as_me: error: cannot compute sizeof (off_t), 77
11743 See \`config.log' for more details." >&2;}
11744 { (exit 1); exit 1; }; }
11746 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11751 ac_cv_sizeof_off_t=0
11754 echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
11755 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
11756 cat >>confdefs.h <<_ACEOF
11757 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
11762 echo "$as_me:$LINENO: checking file_ptr type" >&5
11763 echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
11764 bfd_file_ptr="long"
11765 bfd_ufile_ptr="unsigned long"
11766 if test x"$ac_cv_func_ftello64" = xyes -a x"$ac_cv_func_fseeko64" = xyes \
11767 -o x"${ac_cv_sizeof_off_t}" = x8; then
11768 bfd_file_ptr=BFD_HOST_64_BIT
11769 bfd_ufile_ptr=BFD_HOST_U_64_BIT
11771 echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
11772 echo "${ECHO_T}$bfd_file_ptr" >&6
11778 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
11779 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
11780 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
11781 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
11782 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
11787 for ac_header in stdlib.h unistd.h
11789 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11791 echo "$as_me:$LINENO: checking for $ac_header" >&5
11792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11794 echo $ECHO_N "(cached) $ECHO_C" >&6
11796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11799 # Is the header compilable?
11800 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11801 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11802 cat >conftest.$ac_ext <<_ACEOF
11805 cat confdefs.h >>conftest.$ac_ext
11806 cat >>conftest.$ac_ext <<_ACEOF
11807 /* end confdefs.h. */
11808 $ac_includes_default
11809 #include <$ac_header>
11811 rm -f conftest.$ac_objext
11812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11813 (eval $ac_compile) 2>conftest.er1
11815 grep -v '^ *+' conftest.er1 >conftest.err
11817 cat conftest.err >&5
11818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819 (exit $ac_status); } &&
11820 { ac_try='test -z "$ac_c_werror_flag"
11821 || test ! -s conftest.err'
11822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11823 (eval $ac_try) 2>&5
11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 (exit $ac_status); }; } &&
11827 { ac_try='test -s conftest.$ac_objext'
11828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11829 (eval $ac_try) 2>&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); }; }; then
11833 ac_header_compiler=yes
11835 echo "$as_me: failed program was:" >&5
11836 sed 's/^/| /' conftest.$ac_ext >&5
11838 ac_header_compiler=no
11840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11841 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11842 echo "${ECHO_T}$ac_header_compiler" >&6
11844 # Is the header present?
11845 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11846 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11847 cat >conftest.$ac_ext <<_ACEOF
11850 cat confdefs.h >>conftest.$ac_ext
11851 cat >>conftest.$ac_ext <<_ACEOF
11852 /* end confdefs.h. */
11853 #include <$ac_header>
11855 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11856 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11858 grep -v '^ *+' conftest.er1 >conftest.err
11860 cat conftest.err >&5
11861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11862 (exit $ac_status); } >/dev/null; then
11863 if test -s conftest.err; then
11864 ac_cpp_err=$ac_c_preproc_warn_flag
11865 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11872 if test -z "$ac_cpp_err"; then
11873 ac_header_preproc=yes
11875 echo "$as_me: failed program was:" >&5
11876 sed 's/^/| /' conftest.$ac_ext >&5
11878 ac_header_preproc=no
11880 rm -f conftest.err conftest.$ac_ext
11881 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11882 echo "${ECHO_T}$ac_header_preproc" >&6
11884 # So? What about this header?
11885 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11887 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11888 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11890 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11891 ac_header_preproc=yes
11894 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11895 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11896 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11897 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11898 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11899 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11900 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11901 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11903 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11904 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11905 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11908 ## ------------------------------------------ ##
11909 ## Report this to the AC_PACKAGE_NAME lists. ##
11910 ## ------------------------------------------ ##
11913 sed "s/^/$as_me: WARNING: /" >&2
11916 echo "$as_me:$LINENO: checking for $ac_header" >&5
11917 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11919 echo $ECHO_N "(cached) $ECHO_C" >&6
11921 eval "$as_ac_Header=\$ac_header_preproc"
11923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11927 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11928 cat >>confdefs.h <<_ACEOF
11929 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11937 for ac_func in getpagesize
11939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11940 echo "$as_me:$LINENO: checking for $ac_func" >&5
11941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11942 if eval "test \"\${$as_ac_var+set}\" = set"; then
11943 echo $ECHO_N "(cached) $ECHO_C" >&6
11945 cat >conftest.$ac_ext <<_ACEOF
11948 cat confdefs.h >>conftest.$ac_ext
11949 cat >>conftest.$ac_ext <<_ACEOF
11950 /* end confdefs.h. */
11951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11953 #define $ac_func innocuous_$ac_func
11955 /* System header to define __stub macros and hopefully few prototypes,
11956 which can conflict with char $ac_func (); below.
11957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11958 <limits.h> exists even on freestanding compilers. */
11961 # include <limits.h>
11963 # include <assert.h>
11968 /* Override any gcc2 internal prototype to avoid an error. */
11973 /* We use char because int might match the return type of a gcc2
11974 builtin and then its argument prototype would still apply. */
11976 /* The GNU C library defines this for functions which it implements
11977 to always fail with ENOSYS. Some functions are actually named
11978 something starting with __ and the normal name is an alias. */
11979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11982 char (*f) () = $ac_func;
11991 return f != $ac_func;
11996 rm -f conftest.$ac_objext conftest$ac_exeext
11997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11998 (eval $ac_link) 2>conftest.er1
12000 grep -v '^ *+' conftest.er1 >conftest.err
12002 cat conftest.err >&5
12003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004 (exit $ac_status); } &&
12005 { ac_try='test -z "$ac_c_werror_flag"
12006 || test ! -s conftest.err'
12007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12008 (eval $ac_try) 2>&5
12010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12011 (exit $ac_status); }; } &&
12012 { ac_try='test -s conftest$ac_exeext'
12013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12014 (eval $ac_try) 2>&5
12016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12017 (exit $ac_status); }; }; then
12018 eval "$as_ac_var=yes"
12020 echo "$as_me: failed program was:" >&5
12021 sed 's/^/| /' conftest.$ac_ext >&5
12023 eval "$as_ac_var=no"
12025 rm -f conftest.err conftest.$ac_objext \
12026 conftest$ac_exeext conftest.$ac_ext
12028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12030 if test `eval echo '${'$as_ac_var'}'` = yes; then
12031 cat >>confdefs.h <<_ACEOF
12032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12038 echo "$as_me:$LINENO: checking for working mmap" >&5
12039 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
12040 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
12041 echo $ECHO_N "(cached) $ECHO_C" >&6
12043 if test "$cross_compiling" = yes; then
12044 ac_cv_func_mmap_fixed_mapped=no
12046 cat >conftest.$ac_ext <<_ACEOF
12049 cat confdefs.h >>conftest.$ac_ext
12050 cat >>conftest.$ac_ext <<_ACEOF
12051 /* end confdefs.h. */
12052 $ac_includes_default
12053 /* malloc might have been renamed as rpl_malloc. */
12056 /* Thanks to Mike Haertel and Jim Avera for this test.
12057 Here is a matrix of mmap possibilities:
12058 mmap private not fixed
12059 mmap private fixed at somewhere currently unmapped
12060 mmap private fixed at somewhere already mapped
12061 mmap shared not fixed
12062 mmap shared fixed at somewhere currently unmapped
12063 mmap shared fixed at somewhere already mapped
12064 For private mappings, we should verify that changes cannot be read()
12065 back from the file, nor mmap's back from the file at a different
12066 address. (There have been systems where private was not correctly
12067 implemented like the infamous i386 svr4.0, and systems where the
12068 VM page cache was not coherent with the file system buffer cache
12069 like early versions of FreeBSD and possibly contemporary NetBSD.)
12070 For shared mappings, we should conversely verify that changes get
12071 propagated back to all the places they're supposed to be.
12073 Grep wants private fixed already mapped.
12074 The main things grep needs to know about mmap are:
12075 * does it exist and is it safe to write into the mmap'd area
12076 * how to use it (BSD variants) */
12079 #include <sys/mman.h>
12081 #if !STDC_HEADERS && !HAVE_STDLIB_H
12085 /* This mess was copied from the GNU getpagesize.h. */
12086 #if !HAVE_GETPAGESIZE
12087 /* Assume that all systems that can run configure have sys/param.h. */
12088 # if !HAVE_SYS_PARAM_H
12089 # define HAVE_SYS_PARAM_H 1
12092 # ifdef _SC_PAGESIZE
12093 # define getpagesize() sysconf(_SC_PAGESIZE)
12094 # else /* no _SC_PAGESIZE */
12095 # if HAVE_SYS_PARAM_H
12096 # include <sys/param.h>
12097 # ifdef EXEC_PAGESIZE
12098 # define getpagesize() EXEC_PAGESIZE
12099 # else /* no EXEC_PAGESIZE */
12101 # define getpagesize() NBPG * CLSIZE
12104 # endif /* no CLSIZE */
12105 # else /* no NBPG */
12107 # define getpagesize() NBPC
12108 # else /* no NBPC */
12110 # define getpagesize() PAGESIZE
12111 # endif /* PAGESIZE */
12112 # endif /* no NBPC */
12113 # endif /* no NBPG */
12114 # endif /* no EXEC_PAGESIZE */
12115 # else /* no HAVE_SYS_PARAM_H */
12116 # define getpagesize() 8192 /* punt totally */
12117 # endif /* no HAVE_SYS_PARAM_H */
12118 # endif /* no _SC_PAGESIZE */
12120 #endif /* no HAVE_GETPAGESIZE */
12125 char *data, *data2, *data3;
12129 pagesize = getpagesize ();
12131 /* First, make a file with some known garbage in it. */
12132 data = (char *) malloc (pagesize);
12135 for (i = 0; i < pagesize; ++i)
12136 *(data + i) = rand ();
12138 fd = creat ("conftest.mmap", 0600);
12141 if (write (fd, data, pagesize) != pagesize)
12145 /* Next, try to mmap the file at a fixed address which already has
12146 something else allocated at it. If we can, also make sure that
12147 we see the same garbage. */
12148 fd = open ("conftest.mmap", O_RDWR);
12151 data2 = (char *) malloc (2 * pagesize);
12154 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
12155 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12156 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12158 for (i = 0; i < pagesize; ++i)
12159 if (*(data + i) != *(data2 + i))
12162 /* Finally, make sure that changes to the mapped area do not
12163 percolate back to the file as seen by read(). (This is a bug on
12164 some variants of i386 svr4.0.) */
12165 for (i = 0; i < pagesize; ++i)
12166 *(data2 + i) = *(data2 + i) + 1;
12167 data3 = (char *) malloc (pagesize);
12170 if (read (fd, data3, pagesize) != pagesize)
12172 for (i = 0; i < pagesize; ++i)
12173 if (*(data + i) != *(data3 + i))
12179 rm -f conftest$ac_exeext
12180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12181 (eval $ac_link) 2>&5
12183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12186 (eval $ac_try) 2>&5
12188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 (exit $ac_status); }; }; then
12190 ac_cv_func_mmap_fixed_mapped=yes
12192 echo "$as_me: program exited with status $ac_status" >&5
12193 echo "$as_me: failed program was:" >&5
12194 sed 's/^/| /' conftest.$ac_ext >&5
12196 ( exit $ac_status )
12197 ac_cv_func_mmap_fixed_mapped=no
12199 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12202 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
12203 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
12204 if test $ac_cv_func_mmap_fixed_mapped = yes; then
12206 cat >>confdefs.h <<\_ACEOF
12207 #define HAVE_MMAP 1
12211 rm -f conftest.mmap
12215 for ac_func in madvise mprotect
12217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12218 echo "$as_me:$LINENO: checking for $ac_func" >&5
12219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12220 if eval "test \"\${$as_ac_var+set}\" = set"; then
12221 echo $ECHO_N "(cached) $ECHO_C" >&6
12223 cat >conftest.$ac_ext <<_ACEOF
12226 cat confdefs.h >>conftest.$ac_ext
12227 cat >>conftest.$ac_ext <<_ACEOF
12228 /* end confdefs.h. */
12229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12231 #define $ac_func innocuous_$ac_func
12233 /* System header to define __stub macros and hopefully few prototypes,
12234 which can conflict with char $ac_func (); below.
12235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12236 <limits.h> exists even on freestanding compilers. */
12239 # include <limits.h>
12241 # include <assert.h>
12246 /* Override any gcc2 internal prototype to avoid an error. */
12251 /* We use char because int might match the return type of a gcc2
12252 builtin and then its argument prototype would still apply. */
12254 /* The GNU C library defines this for functions which it implements
12255 to always fail with ENOSYS. Some functions are actually named
12256 something starting with __ and the normal name is an alias. */
12257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12260 char (*f) () = $ac_func;
12269 return f != $ac_func;
12274 rm -f conftest.$ac_objext conftest$ac_exeext
12275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12276 (eval $ac_link) 2>conftest.er1
12278 grep -v '^ *+' conftest.er1 >conftest.err
12280 cat conftest.err >&5
12281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282 (exit $ac_status); } &&
12283 { ac_try='test -z "$ac_c_werror_flag"
12284 || test ! -s conftest.err'
12285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12286 (eval $ac_try) 2>&5
12288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12289 (exit $ac_status); }; } &&
12290 { ac_try='test -s conftest$ac_exeext'
12291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12292 (eval $ac_try) 2>&5
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); }; }; then
12296 eval "$as_ac_var=yes"
12298 echo "$as_me: failed program was:" >&5
12299 sed 's/^/| /' conftest.$ac_ext >&5
12301 eval "$as_ac_var=no"
12303 rm -f conftest.err conftest.$ac_objext \
12304 conftest$ac_exeext conftest.$ac_ext
12306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12308 if test `eval echo '${'$as_ac_var'}'` = yes; then
12309 cat >>confdefs.h <<_ACEOF
12310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12316 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
12318 cat >>confdefs.h <<\_ACEOF
12324 rm -f doc/config.status
12325 ac_config_files="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
12328 ac_config_commands="$ac_config_commands default"
12335 cat >confcache <<\_ACEOF
12336 # This file is a shell script that caches the results of configure
12337 # tests run on this system so they can be shared between configure
12338 # scripts and configure runs, see configure's option --config-cache.
12339 # It is not useful on other systems. If it contains results you don't
12340 # want to keep, you may remove or edit it.
12342 # config.status only pays attention to the cache file if you give it
12343 # the --recheck option to rerun configure.
12345 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12346 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12347 # following values.
12351 # The following way of writing the cache mishandles newlines in values,
12352 # but we know of no workaround that is simple, portable, and efficient.
12353 # So, don't put newlines in cache variables' values.
12354 # Ultrix sh set writes to stderr and can't be redirected directly,
12355 # and sets the high bit in the cache file unless we assign to the vars.
12358 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12360 # `set' does not quote correctly, so add quotes (double-quote
12361 # substitution turns \\\\ into \\, and sed turns \\ into \).
12364 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12367 # `set' quotes correctly as required by POSIX, so do not add quotes.
12369 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12376 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12378 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12380 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12381 if test -w $cache_file; then
12382 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12383 cat confcache >$cache_file
12385 echo "not updating unwritable cache $cache_file"
12390 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12391 # Let make expand exec_prefix.
12392 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12394 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12395 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12396 # trailing colons and then remove the whole line if VPATH becomes empty
12397 # (actually we leave an empty line to preserve line numbers).
12398 if test "x$srcdir" = x.; then
12399 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12400 s/:*\$(srcdir):*/:/;
12401 s/:*\${srcdir}:*/:/;
12403 s/^\([^=]*=[ ]*\):*/\1/;
12409 DEFS=-DHAVE_CONFIG_H
12413 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12414 # 1. Remove the extension, and $U if already installed.
12415 ac_i=`echo "$ac_i" |
12416 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12418 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
12419 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
12421 LIBOBJS=$ac_libobjs
12423 LTLIBOBJS=$ac_ltlibobjs
12426 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12427 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12428 Usually this means the macro was only invoked conditionally." >&5
12429 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12430 Usually this means the macro was only invoked conditionally." >&2;}
12431 { (exit 1); exit 1; }; }
12433 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12434 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12435 Usually this means the macro was only invoked conditionally." >&5
12436 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12437 Usually this means the macro was only invoked conditionally." >&2;}
12438 { (exit 1); exit 1; }; }
12440 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12441 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12442 Usually this means the macro was only invoked conditionally." >&5
12443 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12444 Usually this means the macro was only invoked conditionally." >&2;}
12445 { (exit 1); exit 1; }; }
12447 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
12448 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
12449 Usually this means the macro was only invoked conditionally." >&5
12450 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
12451 Usually this means the macro was only invoked conditionally." >&2;}
12452 { (exit 1); exit 1; }; }
12454 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
12455 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
12456 Usually this means the macro was only invoked conditionally." >&5
12457 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
12458 Usually this means the macro was only invoked conditionally." >&2;}
12459 { (exit 1); exit 1; }; }
12462 : ${CONFIG_STATUS=./config.status}
12463 ac_clean_files_save=$ac_clean_files
12464 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12465 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12466 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12467 cat >$CONFIG_STATUS <<_ACEOF
12469 # Generated by $as_me.
12470 # Run this file to recreate the current configuration.
12471 # Compiler output produced by configure, useful for debugging
12472 # configure, is in config.log if it exists.
12475 ac_cs_recheck=false
12477 SHELL=\${CONFIG_SHELL-$SHELL}
12480 cat >>$CONFIG_STATUS <<\_ACEOF
12481 ## --------------------- ##
12482 ## M4sh Initialization. ##
12483 ## --------------------- ##
12485 # Be Bourne compatible
12486 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12489 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12490 # is contrary to our usage. Disable this feature.
12491 alias -g '${1+"$@"}'='"$@"'
12492 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
12495 DUALCASE=1; export DUALCASE # for MKS sh
12497 # Support unset when possible.
12498 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12505 # Work around bugs in pre-3.0 UWIN ksh.
12506 $as_unset ENV MAIL MAILPATH
12513 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12514 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12515 LC_TELEPHONE LC_TIME
12517 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12518 eval $as_var=C; export $as_var
12524 # Required to use basename.
12525 if expr a : '\(a\)' >/dev/null 2>&1; then
12531 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
12532 as_basename=basename
12538 # Name of the executable.
12539 as_me=`$as_basename "$0" ||
12540 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12541 X"$0" : 'X\(//\)$' \| \
12542 X"$0" : 'X\(/\)$' \| \
12543 . : '\(.\)' 2>/dev/null ||
12545 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12546 /^X\/\(\/\/\)$/{ s//\1/; q; }
12547 /^X\/\(\/\).*/{ s//\1/; q; }
12551 # PATH needs CR, and LINENO needs CR and PATH.
12552 # Avoid depending upon Character Ranges.
12553 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12554 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12555 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12556 as_cr_digits='0123456789'
12557 as_cr_alnum=$as_cr_Letters$as_cr_digits
12559 # The user is always right.
12560 if test "${PATH_SEPARATOR+set}" != set; then
12561 echo "#! /bin/sh" >conf$$.sh
12562 echo "exit 0" >>conf$$.sh
12564 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12573 as_lineno_1=$LINENO
12574 as_lineno_2=$LINENO
12575 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12576 test "x$as_lineno_1" != "x$as_lineno_2" &&
12577 test "x$as_lineno_3" = "x$as_lineno_2" || {
12578 # Find who we are. Look in the path if we contain no path at all
12581 *[\\/]* ) as_myself=$0 ;;
12582 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12583 for as_dir in $PATH
12586 test -z "$as_dir" && as_dir=.
12587 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12592 # We did not find ourselves, most probably we were run as `sh COMMAND'
12593 # in which case we are not to be found in the path.
12594 if test "x$as_myself" = x; then
12597 if test ! -f "$as_myself"; then
12598 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12599 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12600 { (exit 1); exit 1; }; }
12602 case $CONFIG_SHELL in
12604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12605 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
12608 test -z "$as_dir" && as_dir=.
12609 for as_base in sh bash ksh sh5; do
12612 if ("$as_dir/$as_base" -c '
12613 as_lineno_1=$LINENO
12614 as_lineno_2=$LINENO
12615 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12616 test "x$as_lineno_1" != "x$as_lineno_2" &&
12617 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
12618 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
12619 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
12620 CONFIG_SHELL=$as_dir/$as_base
12621 export CONFIG_SHELL
12622 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12630 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12631 # uniformly replaced by the line number. The first 'sed' inserts a
12632 # line-number line before each line; the second 'sed' does the real
12633 # work. The second script uses 'N' to pair each line-number line
12634 # with the numbered line, and appends trailing '-' during
12635 # substitution so that $LINENO is not a special case at line end.
12636 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12637 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12638 sed '=' <$as_myself |
12643 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12646 s,^['$as_cr_digits']*\n,,
12647 ' >$as_me.lineno &&
12648 chmod +x $as_me.lineno ||
12649 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12650 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12651 { (exit 1); exit 1; }; }
12653 # Don't try to exec as it changes $[0], causing all sort of problems
12654 # (the dirname of $[0] is not the place where we might find the
12655 # original and so on. Autoconf is especially sensible to this).
12657 # Exit status is that of the last command.
12662 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12663 *c*,-n*) ECHO_N= ECHO_C='
12665 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
12666 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
12669 if expr a : '\(a\)' >/dev/null 2>&1; then
12675 rm -f conf$$ conf$$.exe conf$$.file
12677 if ln -s conf$$.file conf$$ 2>/dev/null; then
12678 # We could just check for DJGPP; but this test a) works b) is more generic
12679 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12680 if test -f conf$$.exe; then
12681 # Don't use ln at all; we don't have any links
12686 elif ln conf$$.file conf$$ 2>/dev/null; then
12691 rm -f conf$$ conf$$.exe conf$$.file
12693 if mkdir -p . 2>/dev/null; then
12696 test -d ./-p && rmdir ./-p
12700 as_executable_p="test -f"
12702 # Sed expression to map a string onto a valid CPP name.
12703 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12705 # Sed expression to map a string onto a valid variable name.
12706 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12710 # We need space, tab and new line, in precisely that order.
12720 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12721 # report actual input values of CONFIG_FILES etc. instead of their
12722 # values after options handling. Logging --version etc. is OK.
12726 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12727 ## Running $as_me. ##
12732 This file was extended by $as_me, which was
12733 generated by GNU Autoconf 2.59. Invocation command line was
12735 CONFIG_FILES = $CONFIG_FILES
12736 CONFIG_HEADERS = $CONFIG_HEADERS
12737 CONFIG_LINKS = $CONFIG_LINKS
12738 CONFIG_COMMANDS = $CONFIG_COMMANDS
12742 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12746 # Files that config.status was made for.
12747 if test -n "$ac_config_files"; then
12748 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12751 if test -n "$ac_config_headers"; then
12752 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12755 if test -n "$ac_config_links"; then
12756 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12759 if test -n "$ac_config_commands"; then
12760 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12763 cat >>$CONFIG_STATUS <<\_ACEOF
12766 \`$as_me' instantiates files from templates according to the
12767 current configuration.
12769 Usage: $0 [OPTIONS] [FILE]...
12771 -h, --help print this help, then exit
12772 -V, --version print version number, then exit
12773 -q, --quiet do not print progress messages
12774 -d, --debug don't remove temporary files
12775 --recheck update $as_me by reconfiguring in the same conditions
12776 --file=FILE[:TEMPLATE]
12777 instantiate the configuration file FILE
12778 --header=FILE[:TEMPLATE]
12779 instantiate the configuration header FILE
12781 Configuration files:
12784 Configuration headers:
12787 Configuration commands:
12793 cat >>$CONFIG_STATUS <<_ACEOF
12796 configured by $0, generated by GNU Autoconf 2.59,
12797 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12799 Copyright (C) 2003 Free Software Foundation, Inc.
12800 This config.status script is free software; the Free Software Foundation
12801 gives unlimited permission to copy, distribute and modify it."
12806 cat >>$CONFIG_STATUS <<\_ACEOF
12807 # If no file are specified by the user, then we need to provide default
12808 # value. By we need to know if files were specified by the user.
12814 ac_option=`expr "x$1" : 'x\([^=]*\)='`
12815 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
12823 *) # This is not an option, so the user has probably given explicit
12826 ac_need_defaults=false;;
12830 # Handling of the options.
12832 cat >>$CONFIG_STATUS <<\_ACEOF
12833 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12835 --version | --vers* | -V )
12836 echo "$ac_cs_version"; exit 0 ;;
12838 # Conflict between --help and --header
12839 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12840 Try \`$0 --help' for more information." >&5
12841 echo "$as_me: error: ambiguous option: $1
12842 Try \`$0 --help' for more information." >&2;}
12843 { (exit 1); exit 1; }; };;
12844 --help | --hel | -h )
12845 echo "$ac_cs_usage"; exit 0 ;;
12846 --debug | --d* | -d )
12848 --file | --fil | --fi | --f )
12850 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12851 ac_need_defaults=false;;
12852 --header | --heade | --head | --hea )
12854 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12855 ac_need_defaults=false;;
12856 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12857 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12860 # This is an error.
12861 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12862 Try \`$0 --help' for more information." >&5
12863 echo "$as_me: error: unrecognized option: $1
12864 Try \`$0 --help' for more information." >&2;}
12865 { (exit 1); exit 1; }; } ;;
12867 *) ac_config_targets="$ac_config_targets $1" ;;
12873 ac_configure_extra_args=
12875 if $ac_cs_silent; then
12877 ac_configure_extra_args="$ac_configure_extra_args --silent"
12881 cat >>$CONFIG_STATUS <<_ACEOF
12882 if \$ac_cs_recheck; then
12883 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12884 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12889 cat >>$CONFIG_STATUS <<_ACEOF
12891 # INIT-COMMANDS section.
12894 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12895 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
12896 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
12898 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
12899 # Capture the value of LINGUAS because we need it to compute CATALOGS.
12900 LINGUAS="${LINGUAS-%UNSET%}"
12908 cat >>$CONFIG_STATUS <<\_ACEOF
12909 for ac_config_target in $ac_config_targets
12911 case "$ac_config_target" in
12912 # Handling of arguments.
12913 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12914 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
12915 "bfd-in3.h" ) CONFIG_FILES="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
12916 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
12917 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12918 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
12919 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
12920 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
12921 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12922 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12923 { (exit 1); exit 1; }; };;
12927 # If the user did not use the arguments to specify the items to instantiate,
12928 # then the envvar interface is used. Set only those that are not.
12929 # We use the long form for the default assignment because of an extremely
12930 # bizarre bug on SunOS 4.1.3.
12931 if $ac_need_defaults; then
12932 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12933 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12934 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12937 # Have a temporary directory for convenience. Make it in the build tree
12938 # simply because there is no reason to put it here, and in addition,
12939 # creating and moving files from /tmp can sometimes cause problems.
12940 # Create a temporary directory, and hook for its removal unless debugging.
12943 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12944 trap '{ (exit 1); exit 1; }' 1 2 13 15
12947 # Create a (secure) tmp directory for tmp files.
12950 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12951 test -n "$tmp" && test -d "$tmp"
12954 tmp=./confstat$$-$RANDOM
12955 (umask 077 && mkdir $tmp)
12958 echo "$me: cannot create a temporary directory in ." >&2
12959 { (exit 1); exit 1; }
12964 cat >>$CONFIG_STATUS <<_ACEOF
12967 # CONFIG_FILES section.
12970 # No need to generate the scripts if there are no CONFIG_FILES.
12971 # This happens for instance when ./config.status config.h
12972 if test -n "\$CONFIG_FILES"; then
12973 # Protect against being on the right side of a sed subst in config.status.
12974 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12975 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12976 s,@SHELL@,$SHELL,;t t
12977 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12978 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12979 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12980 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12981 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12982 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12983 s,@exec_prefix@,$exec_prefix,;t t
12984 s,@prefix@,$prefix,;t t
12985 s,@program_transform_name@,$program_transform_name,;t t
12986 s,@bindir@,$bindir,;t t
12987 s,@sbindir@,$sbindir,;t t
12988 s,@libexecdir@,$libexecdir,;t t
12989 s,@datadir@,$datadir,;t t
12990 s,@sysconfdir@,$sysconfdir,;t t
12991 s,@sharedstatedir@,$sharedstatedir,;t t
12992 s,@localstatedir@,$localstatedir,;t t
12993 s,@libdir@,$libdir,;t t
12994 s,@includedir@,$includedir,;t t
12995 s,@oldincludedir@,$oldincludedir,;t t
12996 s,@infodir@,$infodir,;t t
12997 s,@mandir@,$mandir,;t t
12998 s,@build_alias@,$build_alias,;t t
12999 s,@host_alias@,$host_alias,;t t
13000 s,@target_alias@,$target_alias,;t t
13001 s,@DEFS@,$DEFS,;t t
13002 s,@ECHO_C@,$ECHO_C,;t t
13003 s,@ECHO_N@,$ECHO_N,;t t
13004 s,@ECHO_T@,$ECHO_T,;t t
13005 s,@LIBS@,$LIBS,;t t
13006 s,@build@,$build,;t t
13007 s,@build_cpu@,$build_cpu,;t t
13008 s,@build_vendor@,$build_vendor,;t t
13009 s,@build_os@,$build_os,;t t
13010 s,@host@,$host,;t t
13011 s,@host_cpu@,$host_cpu,;t t
13012 s,@host_vendor@,$host_vendor,;t t
13013 s,@host_os@,$host_os,;t t
13014 s,@target@,$target,;t t
13015 s,@target_cpu@,$target_cpu,;t t
13016 s,@target_vendor@,$target_vendor,;t t
13017 s,@target_os@,$target_os,;t t
13019 s,@CFLAGS@,$CFLAGS,;t t
13020 s,@LDFLAGS@,$LDFLAGS,;t t
13021 s,@CPPFLAGS@,$CPPFLAGS,;t t
13022 s,@ac_ct_CC@,$ac_ct_CC,;t t
13023 s,@EXEEXT@,$EXEEXT,;t t
13024 s,@OBJEXT@,$OBJEXT,;t t
13025 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13026 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13027 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13028 s,@CYGPATH_W@,$CYGPATH_W,;t t
13029 s,@PACKAGE@,$PACKAGE,;t t
13030 s,@VERSION@,$VERSION,;t t
13031 s,@ACLOCAL@,$ACLOCAL,;t t
13032 s,@AUTOCONF@,$AUTOCONF,;t t
13033 s,@AUTOMAKE@,$AUTOMAKE,;t t
13034 s,@AUTOHEADER@,$AUTOHEADER,;t t
13035 s,@MAKEINFO@,$MAKEINFO,;t t
13036 s,@install_sh@,$install_sh,;t t
13037 s,@STRIP@,$STRIP,;t t
13038 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13039 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13040 s,@mkdir_p@,$mkdir_p,;t t
13042 s,@SET_MAKE@,$SET_MAKE,;t t
13043 s,@am__leading_dot@,$am__leading_dot,;t t
13044 s,@AMTAR@,$AMTAR,;t t
13045 s,@am__tar@,$am__tar,;t t
13046 s,@am__untar@,$am__untar,;t t
13047 s,@DEPDIR@,$DEPDIR,;t t
13048 s,@am__include@,$am__include,;t t
13049 s,@am__quote@,$am__quote,;t t
13050 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
13051 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
13052 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
13053 s,@CCDEPMODE@,$CCDEPMODE,;t t
13054 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
13055 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
13057 s,@ac_ct_AR@,$ac_ct_AR,;t t
13058 s,@RANLIB@,$RANLIB,;t t
13059 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13060 s,@LN_S@,$LN_S,;t t
13061 s,@LIBTOOL@,$LIBTOOL,;t t
13062 s,@PKGVERSION@,$PKGVERSION,;t t
13063 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
13064 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t
13065 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
13066 s,@NO_WERROR@,$NO_WERROR,;t t
13067 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13068 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13069 s,@MAINT@,$MAINT,;t t
13070 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
13071 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
13072 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
13073 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
13074 s,@host_noncanonical@,$host_noncanonical,;t t
13075 s,@target_noncanonical@,$target_noncanonical,;t t
13076 s,@bfdlibdir@,$bfdlibdir,;t t
13077 s,@bfdincludedir@,$bfdincludedir,;t t
13078 s,@USE_NLS@,$USE_NLS,;t t
13079 s,@LIBINTL@,$LIBINTL,;t t
13080 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
13081 s,@INCINTL@,$INCINTL,;t t
13082 s,@XGETTEXT@,$XGETTEXT,;t t
13083 s,@GMSGFMT@,$GMSGFMT,;t t
13084 s,@POSUB@,$POSUB,;t t
13085 s,@CATALOGS@,$CATALOGS,;t t
13086 s,@DATADIRNAME@,$DATADIRNAME,;t t
13087 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
13088 s,@GENCAT@,$GENCAT,;t t
13089 s,@CATOBJEXT@,$CATOBJEXT,;t t
13090 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
13091 s,@MSGFMT@,$MSGFMT,;t t
13092 s,@MSGMERGE@,$MSGMERGE,;t t
13093 s,@HDEFINES@,$HDEFINES,;t t
13095 s,@EGREP@,$EGREP,;t t
13096 s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
13097 s,@BFD_HOST_LONG_LONG@,$BFD_HOST_LONG_LONG,;t t
13098 s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
13099 s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
13100 s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
13101 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
13102 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
13103 s,@COREFILE@,$COREFILE,;t t
13104 s,@COREFLAG@,$COREFLAG,;t t
13105 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
13106 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
13107 s,@TDEFINES@,$TDEFINES,;t t
13108 s,@wordsize@,$wordsize,;t t
13109 s,@bfd64_libs@,$bfd64_libs,;t t
13110 s,@all_backends@,$all_backends,;t t
13111 s,@bfd_backends@,$bfd_backends,;t t
13112 s,@bfd_machines@,$bfd_machines,;t t
13113 s,@bfd_default_target_size@,$bfd_default_target_size,;t t
13114 s,@bfd_file_ptr@,$bfd_file_ptr,;t t
13115 s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
13116 s,@tdefaults@,$tdefaults,;t t
13117 s,@datarootdir@,$datarootdir,;t t
13118 s,@docdir@,$docdir,;t t
13119 s,@htmldir@,$htmldir,;t t
13120 s,@LIBOBJS@,$LIBOBJS,;t t
13121 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13126 cat >>$CONFIG_STATUS <<\_ACEOF
13127 # Split the substitutions into bite-sized pieces for seds with
13128 # small command number limits, like on Digital OSF/1 and HP-UX.
13129 ac_max_sed_lines=48
13130 ac_sed_frag=1 # Number of current file.
13131 ac_beg=1 # First line for current file.
13132 ac_end=$ac_max_sed_lines # Line after last line for current file.
13135 while $ac_more_lines; do
13136 if test $ac_beg -gt 1; then
13137 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13139 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13141 if test ! -s $tmp/subs.frag; then
13142 ac_more_lines=false
13144 # The purpose of the label and of the branching condition is to
13145 # speed up the sed processing (if there are no `@' at all, there
13146 # is no need to browse any of the substitutions).
13147 # These are the two extra sed commands mentioned above.
13149 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
13150 if test -z "$ac_sed_cmds"; then
13151 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
13153 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13155 ac_sed_frag=`expr $ac_sed_frag + 1`
13157 ac_end=`expr $ac_end + $ac_max_sed_lines`
13160 if test -z "$ac_sed_cmds"; then
13163 fi # test -n "$CONFIG_FILES"
13166 cat >>$CONFIG_STATUS <<\_ACEOF
13167 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
13168 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13170 - | *:- | *:-:* ) # input from stdin
13172 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13173 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13174 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13175 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13176 * ) ac_file_in=$ac_file.in ;;
13179 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13180 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
13181 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13182 X"$ac_file" : 'X\(//\)[^/]' \| \
13183 X"$ac_file" : 'X\(//\)$' \| \
13184 X"$ac_file" : 'X\(/\)' \| \
13185 . : '\(.\)' 2>/dev/null ||
13187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13188 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13189 /^X\(\/\/\)$/{ s//\1/; q; }
13190 /^X\(\/\).*/{ s//\1/; q; }
13192 { if $as_mkdir_p; then
13197 while test ! -d "$as_dir"; do
13198 as_dirs="$as_dir $as_dirs"
13199 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13200 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13201 X"$as_dir" : 'X\(//\)[^/]' \| \
13202 X"$as_dir" : 'X\(//\)$' \| \
13203 X"$as_dir" : 'X\(/\)' \| \
13204 . : '\(.\)' 2>/dev/null ||
13206 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13207 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13208 /^X\(\/\/\)$/{ s//\1/; q; }
13209 /^X\(\/\).*/{ s//\1/; q; }
13212 test ! -n "$as_dirs" || mkdir $as_dirs
13213 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13214 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13215 { (exit 1); exit 1; }; }; }
13219 if test "$ac_dir" != .; then
13220 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13221 # A "../" for each directory in $ac_dir_suffix.
13222 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13224 ac_dir_suffix= ac_top_builddir=
13228 .) # No --srcdir option. We are building in place.
13230 if test -z "$ac_top_builddir"; then
13233 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13235 [\\/]* | ?:[\\/]* ) # Absolute path.
13236 ac_srcdir=$srcdir$ac_dir_suffix;
13237 ac_top_srcdir=$srcdir ;;
13238 *) # Relative path.
13239 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13240 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13243 # Do not use `cd foo && pwd` to compute absolute paths, because
13244 # the directories may not exist.
13246 .) ac_abs_builddir="$ac_dir";;
13249 .) ac_abs_builddir=`pwd`;;
13250 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13251 *) ac_abs_builddir=`pwd`/"$ac_dir";;
13254 case $ac_abs_builddir in
13255 .) ac_abs_top_builddir=${ac_top_builddir}.;;
13257 case ${ac_top_builddir}. in
13258 .) ac_abs_top_builddir=$ac_abs_builddir;;
13259 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13260 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13263 case $ac_abs_builddir in
13264 .) ac_abs_srcdir=$ac_srcdir;;
13267 .) ac_abs_srcdir=$ac_abs_builddir;;
13268 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13269 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13272 case $ac_abs_builddir in
13273 .) ac_abs_top_srcdir=$ac_top_srcdir;;
13275 case $ac_top_srcdir in
13276 .) ac_abs_top_srcdir=$ac_abs_builddir;;
13277 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13278 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13284 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13285 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
13288 if test x"$ac_file" != x-; then
13289 { echo "$as_me:$LINENO: creating $ac_file" >&5
13290 echo "$as_me: creating $ac_file" >&6;}
13293 # Let's still pretend it is `configure' which instantiates (i.e., don't
13294 # use $as_me), people would be surprised to read:
13295 # /* config.h. Generated by config.status. */
13296 if test x"$ac_file" = x-; then
13299 configure_input="$ac_file. "
13301 configure_input=$configure_input"Generated from `echo $ac_file_in |
13302 sed 's,.*/,,'` by configure."
13304 # First look for the input files in the build tree, otherwise in the
13306 ac_file_inputs=`IFS=:
13307 for f in $ac_file_in; do
13309 -) echo $tmp/stdin ;;
13311 # Absolute (can't be DOS-style, as IFS=:)
13312 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13313 echo "$as_me: error: cannot find input file: $f" >&2;}
13314 { (exit 1); exit 1; }; }
13317 if test -f "$f"; then
13320 elif test -f "$srcdir/$f"; then
13325 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13326 echo "$as_me: error: cannot find input file: $f" >&2;}
13327 { (exit 1); exit 1; }; }
13330 done` || { (exit 1); exit 1; }
13332 cat >>$CONFIG_STATUS <<_ACEOF
13336 cat >>$CONFIG_STATUS <<\_ACEOF
13338 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13339 s,@configure_input@,$configure_input,;t t
13340 s,@srcdir@,$ac_srcdir,;t t
13341 s,@abs_srcdir@,$ac_abs_srcdir,;t t
13342 s,@top_srcdir@,$ac_top_srcdir,;t t
13343 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
13344 s,@builddir@,$ac_builddir,;t t
13345 s,@abs_builddir@,$ac_abs_builddir,;t t
13346 s,@top_builddir@,$ac_top_builddir,;t t
13347 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
13348 s,@INSTALL@,$ac_INSTALL,;t t
13349 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13351 if test x"$ac_file" != x-; then
13352 mv $tmp/out $ac_file
13360 cat >>$CONFIG_STATUS <<\_ACEOF
13363 # CONFIG_HEADER section.
13366 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13367 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13369 # ac_d sets the value in "#define NAME VALUE" lines.
13370 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13371 ac_dB='[ ].*$,\1#\2'
13374 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13375 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13376 ac_uB='$,\1#\2define\3'
13380 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
13381 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13383 - | *:- | *:-:* ) # input from stdin
13385 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13386 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13387 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13388 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13389 * ) ac_file_in=$ac_file.in ;;
13392 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
13393 echo "$as_me: creating $ac_file" >&6;}
13395 # First look for the input files in the build tree, otherwise in the
13397 ac_file_inputs=`IFS=:
13398 for f in $ac_file_in; do
13400 -) echo $tmp/stdin ;;
13402 # Absolute (can't be DOS-style, as IFS=:)
13403 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13404 echo "$as_me: error: cannot find input file: $f" >&2;}
13405 { (exit 1); exit 1; }; }
13406 # Do quote $f, to prevent DOS paths from being IFS'd.
13409 if test -f "$f"; then
13412 elif test -f "$srcdir/$f"; then
13417 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13418 echo "$as_me: error: cannot find input file: $f" >&2;}
13419 { (exit 1); exit 1; }; }
13422 done` || { (exit 1); exit 1; }
13423 # Remove the trailing spaces.
13424 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13428 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13429 # `conftest.undefs', that substitutes the proper values into
13430 # config.h.in to produce config.h. The first handles `#define'
13431 # templates, and the second `#undef' templates.
13432 # And first: Protect against being on the right side of a sed subst in
13433 # config.status. Protect against being in an unquoted here document
13434 # in config.status.
13435 rm -f conftest.defines conftest.undefs
13436 # Using a here document instead of a string reduces the quoting nightmare.
13437 # Putting comments in sed scripts is not portable.
13439 # `end' is used to avoid that the second main sed command (meant for
13440 # 0-ary CPP macros) applies to n-ary macro definitions.
13441 # See the Autoconf documentation for `clear'.
13442 cat >confdef2sed.sed <<\_ACEOF
13447 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13449 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13452 # If some macros were called several times there might be several times
13453 # the same #defines, which is useless. Nevertheless, we may not want to
13454 # sort them, since we want the *last* AC-DEFINE to be honored.
13455 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13456 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13457 rm -f confdef2sed.sed
13459 # This sed command replaces #undef with comments. This is necessary, for
13460 # example, in the case of _POSIX_SOURCE, which is predefined and required
13461 # on some systems where configure will not decide to define it.
13462 cat >>conftest.undefs <<\_ACEOF
13463 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13466 # Break up conftest.defines because some shells have a limit on the size
13467 # of here documents, and old seds have small limits too (100 cmds).
13468 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13469 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13470 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13471 echo ' :' >>$CONFIG_STATUS
13472 rm -f conftest.tail
13473 while grep . conftest.defines >/dev/null
13475 # Write a limited-size here document to $tmp/defines.sed.
13476 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13477 # Speed up: don't consider the non `#define' lines.
13478 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13479 # Work around the forget-to-reset-the-flag bug.
13480 echo 't clr' >>$CONFIG_STATUS
13481 echo ': clr' >>$CONFIG_STATUS
13482 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
13484 sed -f $tmp/defines.sed $tmp/in >$tmp/out
13486 mv $tmp/out $tmp/in
13488 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
13489 rm -f conftest.defines
13490 mv conftest.tail conftest.defines
13492 rm -f conftest.defines
13493 echo ' fi # grep' >>$CONFIG_STATUS
13494 echo >>$CONFIG_STATUS
13496 # Break up conftest.undefs because some shells have a limit on the size
13497 # of here documents, and old seds have small limits too (100 cmds).
13498 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
13499 rm -f conftest.tail
13500 while grep . conftest.undefs >/dev/null
13502 # Write a limited-size here document to $tmp/undefs.sed.
13503 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
13504 # Speed up: don't consider the non `#undef'
13505 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
13506 # Work around the forget-to-reset-the-flag bug.
13507 echo 't clr' >>$CONFIG_STATUS
13508 echo ': clr' >>$CONFIG_STATUS
13509 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
13511 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
13513 mv $tmp/out $tmp/in
13515 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
13516 rm -f conftest.undefs
13517 mv conftest.tail conftest.undefs
13519 rm -f conftest.undefs
13521 cat >>$CONFIG_STATUS <<\_ACEOF
13522 # Let's still pretend it is `configure' which instantiates (i.e., don't
13523 # use $as_me), people would be surprised to read:
13524 # /* config.h. Generated by config.status. */
13525 if test x"$ac_file" = x-; then
13526 echo "/* Generated by configure. */" >$tmp/config.h
13528 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13530 cat $tmp/in >>$tmp/config.h
13532 if test x"$ac_file" != x-; then
13533 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
13534 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13535 echo "$as_me: $ac_file is unchanged" >&6;}
13537 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
13538 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13539 X"$ac_file" : 'X\(//\)[^/]' \| \
13540 X"$ac_file" : 'X\(//\)$' \| \
13541 X"$ac_file" : 'X\(/\)' \| \
13542 . : '\(.\)' 2>/dev/null ||
13544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13545 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13546 /^X\(\/\/\)$/{ s//\1/; q; }
13547 /^X\(\/\).*/{ s//\1/; q; }
13549 { if $as_mkdir_p; then
13554 while test ! -d "$as_dir"; do
13555 as_dirs="$as_dir $as_dirs"
13556 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13557 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13558 X"$as_dir" : 'X\(//\)[^/]' \| \
13559 X"$as_dir" : 'X\(//\)$' \| \
13560 X"$as_dir" : 'X\(/\)' \| \
13561 . : '\(.\)' 2>/dev/null ||
13563 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13564 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13565 /^X\(\/\/\)$/{ s//\1/; q; }
13566 /^X\(\/\).*/{ s//\1/; q; }
13569 test ! -n "$as_dirs" || mkdir $as_dirs
13570 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13571 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13572 { (exit 1); exit 1; }; }; }
13575 mv $tmp/config.h $ac_file
13579 rm -f $tmp/config.h
13581 # Compute $ac_file's index in $config_headers.
13583 for _am_header in $config_headers :; do
13584 case $_am_header in
13585 $ac_file | $ac_file:* )
13588 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13591 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
13592 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13593 X$ac_file : 'X\(//\)[^/]' \| \
13594 X$ac_file : 'X\(//\)$' \| \
13595 X$ac_file : 'X\(/\)' \| \
13596 . : '\(.\)' 2>/dev/null ||
13598 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13599 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13600 /^X\(\/\/\)$/{ s//\1/; q; }
13601 /^X\(\/\).*/{ s//\1/; q; }
13602 s/.*/./; q'`/stamp-h$_am_stamp_count
13605 cat >>$CONFIG_STATUS <<\_ACEOF
13608 # CONFIG_COMMANDS section.
13610 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
13611 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
13612 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
13613 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
13614 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13615 X"$ac_dest" : 'X\(//\)[^/]' \| \
13616 X"$ac_dest" : 'X\(//\)$' \| \
13617 X"$ac_dest" : 'X\(/\)' \| \
13618 . : '\(.\)' 2>/dev/null ||
13620 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13621 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13622 /^X\(\/\/\)$/{ s//\1/; q; }
13623 /^X\(\/\).*/{ s//\1/; q; }
13625 { if $as_mkdir_p; then
13630 while test ! -d "$as_dir"; do
13631 as_dirs="$as_dir $as_dirs"
13632 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13633 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13634 X"$as_dir" : 'X\(//\)[^/]' \| \
13635 X"$as_dir" : 'X\(//\)$' \| \
13636 X"$as_dir" : 'X\(/\)' \| \
13637 . : '\(.\)' 2>/dev/null ||
13639 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13640 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13641 /^X\(\/\/\)$/{ s//\1/; q; }
13642 /^X\(\/\).*/{ s//\1/; q; }
13645 test ! -n "$as_dirs" || mkdir $as_dirs
13646 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13647 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13648 { (exit 1); exit 1; }; }; }
13652 if test "$ac_dir" != .; then
13653 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13654 # A "../" for each directory in $ac_dir_suffix.
13655 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13657 ac_dir_suffix= ac_top_builddir=
13661 .) # No --srcdir option. We are building in place.
13663 if test -z "$ac_top_builddir"; then
13666 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13668 [\\/]* | ?:[\\/]* ) # Absolute path.
13669 ac_srcdir=$srcdir$ac_dir_suffix;
13670 ac_top_srcdir=$srcdir ;;
13671 *) # Relative path.
13672 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13673 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13676 # Do not use `cd foo && pwd` to compute absolute paths, because
13677 # the directories may not exist.
13679 .) ac_abs_builddir="$ac_dir";;
13682 .) ac_abs_builddir=`pwd`;;
13683 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13684 *) ac_abs_builddir=`pwd`/"$ac_dir";;
13687 case $ac_abs_builddir in
13688 .) ac_abs_top_builddir=${ac_top_builddir}.;;
13690 case ${ac_top_builddir}. in
13691 .) ac_abs_top_builddir=$ac_abs_builddir;;
13692 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13693 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13696 case $ac_abs_builddir in
13697 .) ac_abs_srcdir=$ac_srcdir;;
13700 .) ac_abs_srcdir=$ac_abs_builddir;;
13701 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13702 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13705 case $ac_abs_builddir in
13706 .) ac_abs_top_srcdir=$ac_top_srcdir;;
13708 case $ac_top_srcdir in
13709 .) ac_abs_top_srcdir=$ac_abs_builddir;;
13710 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13711 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13716 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13717 echo "$as_me: executing $ac_dest commands" >&6;}
13719 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
13720 # Strip MF so we end up with the name of the file.
13721 mf=`echo "$mf" | sed -e 's/:.*$//'`
13722 # Check whether this is an Automake generated Makefile or not.
13723 # We used to match only the files named `Makefile.in', but
13724 # some people rename them; so instead we look at the file content.
13725 # Grep'ing the first line is not enough: some people post-process
13726 # each Makefile.in and add a new line on top of each file to say so.
13727 # So let's grep whole file.
13728 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
13729 dirpart=`(dirname "$mf") 2>/dev/null ||
13730 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13731 X"$mf" : 'X\(//\)[^/]' \| \
13732 X"$mf" : 'X\(//\)$' \| \
13733 X"$mf" : 'X\(/\)' \| \
13734 . : '\(.\)' 2>/dev/null ||
13736 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13737 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13738 /^X\(\/\/\)$/{ s//\1/; q; }
13739 /^X\(\/\).*/{ s//\1/; q; }
13744 # Extract the definition of DEPDIR, am__include, and am__quote
13745 # from the Makefile without running `make'.
13746 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13747 test -z "$DEPDIR" && continue
13748 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13749 test -z "am__include" && continue
13750 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13751 # When using ansi2knr, U may be empty or an underscore; expand it
13752 U=`sed -n 's/^U = //p' < "$mf"`
13753 # Find all dependency output files, they are included files with
13754 # $(DEPDIR) in their names. We invoke sed twice because it is the
13755 # simplest approach to changing $(DEPDIR) to its actual value in the
13757 for file in `sed -n "
13758 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13759 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13760 # Make sure the directory exists.
13761 test -f "$dirpart/$file" && continue
13762 fdir=`(dirname "$file") 2>/dev/null ||
13763 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13764 X"$file" : 'X\(//\)[^/]' \| \
13765 X"$file" : 'X\(//\)$' \| \
13766 X"$file" : 'X\(/\)' \| \
13767 . : '\(.\)' 2>/dev/null ||
13769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13770 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13771 /^X\(\/\/\)$/{ s//\1/; q; }
13772 /^X\(\/\).*/{ s//\1/; q; }
13774 { if $as_mkdir_p; then
13775 mkdir -p $dirpart/$fdir
13777 as_dir=$dirpart/$fdir
13779 while test ! -d "$as_dir"; do
13780 as_dirs="$as_dir $as_dirs"
13781 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13782 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13783 X"$as_dir" : 'X\(//\)[^/]' \| \
13784 X"$as_dir" : 'X\(//\)$' \| \
13785 X"$as_dir" : 'X\(/\)' \| \
13786 . : '\(.\)' 2>/dev/null ||
13788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13789 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13790 /^X\(\/\/\)$/{ s//\1/; q; }
13791 /^X\(\/\).*/{ s//\1/; q; }
13794 test ! -n "$as_dirs" || mkdir $as_dirs
13795 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
13796 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
13797 { (exit 1); exit 1; }; }; }
13799 # echo "creating $dirpart/$file"
13800 echo '# dummy' > "$dirpart/$file"
13805 for ac_file in $CONFIG_FILES; do
13806 # Support "outfile[:infile[:infile...]]"
13808 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
13810 # PO directories have a Makefile.in generated from Makefile.in.in.
13811 case "$ac_file" in */Makefile.in)
13812 # Adjust a relative srcdir.
13813 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
13814 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
13815 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
13816 # In autoconf-2.13 it is called $ac_given_srcdir.
13817 # In autoconf-2.50 it is called $srcdir.
13818 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
13819 case "$ac_given_srcdir" in
13820 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
13821 /*) top_srcdir="$ac_given_srcdir" ;;
13822 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
13824 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
13825 rm -f "$ac_dir/POTFILES"
13826 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
13827 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
13828 POMAKEFILEDEPS="POTFILES.in"
13829 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
13830 # on $ac_dir but don't depend on user-specified configuration
13832 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
13833 # The LINGUAS file contains the set of available languages.
13834 if test -n "$OBSOLETE_ALL_LINGUAS"; then
13835 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
13837 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
13838 # Hide the ALL_LINGUAS assigment from automake.
13839 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
13840 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
13842 # The set of available languages was given in configure.in.
13843 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
13845 case "$ac_given_srcdir" in
13847 *) srcdirpre='$(srcdir)/' ;;
13853 for lang in $ALL_LINGUAS; do
13854 POFILES="$POFILES $srcdirpre$lang.po"
13855 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
13856 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
13857 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
13859 # CATALOGS depends on both $ac_dir and the user's LINGUAS
13860 # environment variable.
13862 if test -n "$ALL_LINGUAS"; then
13863 for presentlang in $ALL_LINGUAS; do
13865 if test "%UNSET%" != "$LINGUAS"; then
13866 desiredlanguages="$LINGUAS"
13868 desiredlanguages="$ALL_LINGUAS"
13870 for desiredlang in $desiredlanguages; do
13871 # Use the presentlang catalog if desiredlang is
13872 # a. equal to presentlang, or
13873 # b. a variant of presentlang (because in this case,
13874 # presentlang can be used as a fallback for messages
13875 # which are not translated in the desiredlang catalog).
13876 case "$desiredlang" in
13877 "$presentlang"*) useit=yes;;
13880 if test $useit = yes; then
13881 INST_LINGUAS="$INST_LINGUAS $presentlang"
13886 if test -n "$INST_LINGUAS"; then
13887 for lang in $INST_LINGUAS; do
13888 CATALOGS="$CATALOGS $lang.gmo"
13891 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
13892 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"
13893 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
13894 if test -f "$f"; then
13896 *.orig | *.bak | *~) ;;
13897 *) cat "$f" >> "$ac_dir/Makefile" ;;
13908 *) srcdirpre='$(srcdir)/' ;;
13912 for lang in dummy $OBSOLETE_ALL_LINGUAS; do
13913 if test $lang != dummy; then
13914 POFILES="$POFILES $srcdirpre$lang.po"
13915 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
13918 sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' \
13919 -e '/BLD-POTFILES =/r po/BLD-POTFILES' \
13920 -e "s,@POFILES@,$POFILES," \
13921 -e "s,@GMOFILES@,$GMOFILES," \
13922 po/Makefile.in > po/Makefile ;;
13927 cat >>$CONFIG_STATUS <<\_ACEOF
13929 { (exit 0); exit 0; }
13931 chmod +x $CONFIG_STATUS
13932 ac_clean_files=$ac_clean_files_save
13935 # configure is writing to config.log, and then calls config.status.
13936 # config.status does its own redirection, appending to config.log.
13937 # Unfortunately, on DOS this fails, as config.log is still kept open
13938 # by configure, so config.status won't be able to write to it; its
13939 # output is simply discarded. So we exec the FD to /dev/null,
13940 # effectively closing config.log, so it can be properly (re)opened and
13941 # appended to by config.status. When coming back to configure, we
13942 # need to make the FD available again.
13943 if test "$no_create" != yes; then
13945 ac_config_status_args=
13946 test "$silent" = yes &&
13947 ac_config_status_args="$ac_config_status_args --quiet"
13949 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13951 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13952 # would make configure fail if this is the last instruction.
13953 $ac_cs_success || { (exit 1); exit 1; }