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 PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S STRIP ac_ct_STRIP LIBTOOL WARN_CFLAGS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE bfdlibdir bfdincludedir CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l HDEFINES BFD_HOST_64BIT_LONG BFD_HOST_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG WIN32LDFLAGS WIN32LIBADD TDEFINES wordsize bfd_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --enable-shared=PKGS build shared libraries default
=no
854 --enable-static=PKGS build static libraries default
=yes
855 --enable-fast-install=PKGS optimize
for fast installation default
=yes
856 --disable-libtool-lock avoid locking
(might
break parallel builds
)
857 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
858 --enable-targets alternative target configurations
859 --enable-commonbfdlib build shared BFD
/opcodes
/libiberty library
860 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
861 --enable-maintainer-mode enable make rules and dependencies not useful
862 (and sometimes confusing
) to the casual installer
863 --enable-install-libbfd controls installation of libbfd and related headers
864 --disable-nls do not use Native Language Support
867 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
868 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
869 --with-gnu-ld assume the C compiler uses GNU ld default
=no
870 --with-pic try to use only PIC
/non-PIC objects default
=use both
871 --with-mmap try using mmap
for BFD input files
if available
872 --with-included-gettext use the GNU
gettext library included here
874 Some influential environment variables
:
875 CC C compiler
command
876 CFLAGS C compiler flags
877 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
878 nonstandard directory
<lib dir
>
879 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
880 headers
in a nonstandard directory
<include dir
>
883 Use these variables to override the choices made by
`configure' or to help
884 it to find libraries and programs with nonstandard names/locations.
889 if test "$ac_init_help" = "recursive"; then
890 # If there are subdirs, report their specific --help.
892 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
893 test -d $ac_dir || continue
896 if test "$ac_dir" != .; then
897 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
898 # A "../" for each directory in $ac_dir_suffix.
899 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
901 ac_dir_suffix= ac_top_builddir=
905 .) # No --srcdir option. We are building in place.
907 if test -z "$ac_top_builddir"; then
910 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
912 [\\/]* | ?:[\\/]* ) # Absolute path.
913 ac_srcdir=$srcdir$ac_dir_suffix;
914 ac_top_srcdir=$srcdir ;;
916 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
917 ac_top_srcdir=$ac_top_builddir$srcdir ;;
920 # Do not use `cd foo
&& pwd` to compute absolute paths, because
921 # the directories may not exist.
923 .) ac_abs_builddir="$ac_dir";;
926 .) ac_abs_builddir=`pwd`;;
927 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
928 *) ac_abs_builddir=`pwd`/"$ac_dir";;
931 case $ac_abs_builddir in
932 .) ac_abs_top_builddir=${ac_top_builddir}.;;
934 case ${ac_top_builddir}. in
935 .) ac_abs_top_builddir=$ac_abs_builddir;;
936 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
937 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
940 case $ac_abs_builddir in
941 .) ac_abs_srcdir=$ac_srcdir;;
944 .) ac_abs_srcdir=$ac_abs_builddir;;
945 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
946 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
949 case $ac_abs_builddir in
950 .) ac_abs_top_srcdir=$ac_top_srcdir;;
952 case $ac_top_srcdir in
953 .) ac_abs_top_srcdir=$ac_abs_builddir;;
954 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
955 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
960 # Check for guested configure; otherwise get Cygnus style configure.
961 if test -f $ac_srcdir/configure.gnu; then
963 $SHELL $ac_srcdir/configure.gnu --help=recursive
964 elif test -f $ac_srcdir/configure; then
966 $SHELL $ac_srcdir/configure --help=recursive
967 elif test -f $ac_srcdir/configure.ac ||
968 test -f $ac_srcdir/configure.in; then
972 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
978 test -n "$ac_init_help" && exit 0
979 if $ac_init_version; then
982 Copyright (C) 2003 Free Software Foundation, Inc.
983 This configure script is free software; the Free Software Foundation
984 gives unlimited permission to copy, distribute and modify it.
990 This file contains any messages produced by compilers while
991 running configure, to aid debugging if configure makes a mistake.
993 It was created by $as_me, which was
994 generated by GNU Autoconf 2.59. Invocation command line was
1005 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1006 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1007 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1008 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1009 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1011 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1012 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1014 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1015 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1016 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1017 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1018 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1019 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1020 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1028 test -z "$as_dir" && as_dir=.
1029 echo "PATH: $as_dir"
1044 # Keep a trace of the command line.
1045 # Strip out --no-create and --no-recursion so they do not pile up.
1046 # Strip out --silent because we don't want to record it for future runs.
1047 # Also quote any args containing shell meta-characters.
1048 # Make two passes to allow for proper duplicate-argument suppression.
1053 ac_must_keep_next=false
1059 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061 | -silent | --silent | --silen | --sile | --sil)
1063 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1064 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1067 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1069 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1070 if test $ac_must_keep_next = true; then
1071 ac_must_keep_next=false # Got value, back to normal.
1074 *=* | --config-cache | -C | -disable-* | --disable-* \
1075 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1076 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1077 | -with-* | --with-* | -without-* | --without-* | --x)
1078 case "$ac_configure_args0 " in
1079 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1082 -* ) ac_must_keep_next=true ;;
1085 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1086 # Get rid of the leading space.
1092 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1093 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1095 # When interrupted or exit'd, cleanup temporary files, and complete
1096 # config.log. We remove comments because anyway the quotes in there
1097 # would cause problems or look ugly.
1098 # WARNING: Be sure not to use single quotes in there, as some shells,
1099 # such as our DU 5.0 friend, will then `close
' the trap.
1100 trap 'exit_status
=$?
1101 # Save into config.log some information that might help in debugging.
1106 ## ---------------- ##
1107 ## Cache variables. ##
1108 ## ---------------- ##
1111 # The following way of writing the cache mishandles newlines in values,
1114 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1117 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1122 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1129 ## ----------------- ##
1130 ## Output variables. ##
1131 ## ----------------- ##
1134 for ac_var
in $ac_subst_vars
1136 eval ac_val
=$
`echo $ac_var`
1137 echo "$ac_var='"'"'$ac_val'"'"'"
1141 if test -n "$ac_subst_files"; then
1148 for ac_var
in $ac_subst_files
1150 eval ac_val
=$
`echo $ac_var`
1151 echo "$ac_var='"'"'$ac_val'"'"'"
1156 if test -s confdefs.h
; then
1163 sed "/^$/d" confdefs.h |
sort
1166 test "$ac_signal" != 0 &&
1167 echo "$as_me: caught signal $ac_signal"
1168 echo "$as_me: exit $exit_status"
1170 rm -f core
*.core
&&
1171 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1174 for ac_signal in 1 2 13 15; do
1175 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1179 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1180 rm -rf conftest* confdefs.h
1181 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1184 # Predefined preprocessor variables.
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_NAME "$PACKAGE_NAME"
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_STRING "$PACKAGE_STRING"
1206 cat >>confdefs.h <<_ACEOF
1207 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1211 # Let the site file select an alternate cache file if it wants to.
1212 # Prefer explicitly selected file to automatically selected ones.
1213 if test -z "$CONFIG_SITE"; then
1214 if test "x$prefix" != xNONE; then
1215 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1217 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1220 for ac_site_file in $CONFIG_SITE; do
1221 if test -r "$ac_site_file"; then
1222 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1223 echo "$as_me: loading site script $ac_site_file" >&6;}
1224 sed 's
/^
/|
/' "$ac_site_file" >&5
1229 if test -r "$cache_file"; then
1230 # Some versions of bash will fail to source /dev/null (special
1231 # files actually), so we avoid doing that.
1232 if test -f "$cache_file"; then
1233 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1234 echo "$as_me: loading cache $cache_file" >&6;}
1236 [\\/]* | ?:[\\/]* ) . $cache_file;;
1237 *) . ./$cache_file;;
1241 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1242 echo "$as_me: creating cache $cache_file" >&6;}
1246 # Check that the precious variables saved in the cache have kept the same
1248 ac_cache_corrupted=false
1249 for ac_var in `(set) 2>&1 |
1250 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1251 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1252 eval ac_new_set=\$ac_env_${ac_var}_set
1253 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1254 eval ac_new_val="\$ac_env_${ac_var}_value"
1255 case $ac_old_set,$ac_new_set in
1257 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1259 ac_cache_corrupted=: ;;
1261 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1262 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1263 ac_cache_corrupted=: ;;
1266 if test "x$ac_old_val" != "x$ac_new_val"; then
1267 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1268 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1269 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1270 echo "$as_me: former value: $ac_old_val" >&2;}
1271 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1272 echo "$as_me: current value: $ac_new_val" >&2;}
1273 ac_cache_corrupted=:
1276 # Pass precious variables to config.status.
1277 if test "$ac_new_set" = set; then
1279 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1281 *) ac_arg=$ac_var=$ac_new_val ;;
1283 case " $ac_configure_args " in
1284 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1285 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1289 if $ac_cache_corrupted; then
1290 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1291 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1292 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1293 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1294 { (exit 1); exit 1; }; }
1298 ac_cpp='$CPP $CPPFLAGS'
1299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1300 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1324 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1325 if test -f $ac_dir/install-sh; then
1327 ac_install_sh="$ac_aux_dir/install-sh -c"
1329 elif test -f $ac_dir/install.sh; then
1331 ac_install_sh="$ac_aux_dir/install.sh -c"
1333 elif test -f $ac_dir/shtool; then
1335 ac_install_sh="$ac_aux_dir/shtool install -c"
1339 if test -z "$ac_aux_dir"; then
1340 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1341 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1342 { (exit 1); exit 1; }; }
1344 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1345 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1346 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1348 # Make sure we can run config.sub.
1349 $ac_config_sub sun4 >/dev/null 2>&1 ||
1350 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1351 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1352 { (exit 1); exit 1; }; }
1354 echo "$as_me:$LINENO: checking build system type" >&5
1355 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1356 if test "${ac_cv_build+set}" = set; then
1357 echo $ECHO_N "(cached) $ECHO_C" >&6
1359 ac_cv_build_alias=$build_alias
1360 test -z "$ac_cv_build_alias" &&
1361 ac_cv_build_alias=`$ac_config_guess`
1362 test -z "$ac_cv_build_alias" &&
1363 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1364 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1365 { (exit 1); exit 1; }; }
1366 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1367 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1368 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1369 { (exit 1); exit 1; }; }
1372 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1373 echo "${ECHO_T}$ac_cv_build" >&6
1375 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1376 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1377 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1380 echo "$as_me:$LINENO: checking host system type" >&5
1381 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1382 if test "${ac_cv_host+set}" = set; then
1383 echo $ECHO_N "(cached) $ECHO_C" >&6
1385 ac_cv_host_alias=$host_alias
1386 test -z "$ac_cv_host_alias" &&
1387 ac_cv_host_alias=$ac_cv_build_alias
1388 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1389 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1390 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1391 { (exit 1); exit 1; }; }
1394 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1395 echo "${ECHO_T}$ac_cv_host" >&6
1397 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1398 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1399 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1402 echo "$as_me:$LINENO: checking target system type" >&5
1403 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1404 if test "${ac_cv_target+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1407 ac_cv_target_alias=$target_alias
1408 test "x$ac_cv_target_alias" = "x" &&
1409 ac_cv_target_alias=$ac_cv_host_alias
1410 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1411 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1412 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1413 { (exit 1); exit 1; }; }
1416 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1417 echo "${ECHO_T}$ac_cv_target" >&6
1418 target=$ac_cv_target
1419 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1420 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1421 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1424 # The aliases save the names the user supplied, while $host etc.
1425 # will get canonicalized.
1426 test -n "$target_alias" &&
1427 test "$program_prefix$program_suffix$program_transform_name" = \
1429 program_prefix=${target_alias}-
1431 ac_cpp='$CPP $CPPFLAGS'
1432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1433 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1435 if test -n "$ac_tool_prefix"; then
1436 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1437 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1438 echo "$as_me:$LINENO: checking for $ac_word" >&5
1439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1440 if test "${ac_cv_prog_CC+set}" = set; then
1441 echo $ECHO_N "(cached) $ECHO_C" >&6
1443 if test -n "$CC"; then
1444 ac_cv_prog_CC="$CC" # Let the user override the test.
1446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1450 test -z "$as_dir" && as_dir=.
1451 for ac_exec_ext in '' $ac_executable_extensions; do
1452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1453 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1463 if test -n "$CC"; then
1464 echo "$as_me:$LINENO: result: $CC" >&5
1465 echo "${ECHO_T}$CC" >&6
1467 echo "$as_me:$LINENO: result: no" >&5
1468 echo "${ECHO_T}no" >&6
1472 if test -z "$ac_cv_prog_CC"; then
1474 # Extract the first word of "gcc", so it can be a program name with args.
1475 set dummy gcc; ac_word=$2
1476 echo "$as_me:$LINENO: checking for $ac_word" >&5
1477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1478 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1479 echo $ECHO_N "(cached) $ECHO_C" >&6
1481 if test -n "$ac_ct_CC"; then
1482 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1488 test -z "$as_dir" && as_dir=.
1489 for ac_exec_ext in '' $ac_executable_extensions; do
1490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1491 ac_cv_prog_ac_ct_CC="gcc"
1492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1500 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1501 if test -n "$ac_ct_CC"; then
1502 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1503 echo "${ECHO_T}$ac_ct_CC" >&6
1505 echo "$as_me:$LINENO: result: no" >&5
1506 echo "${ECHO_T}no" >&6
1514 if test -z "$CC"; then
1515 if test -n "$ac_tool_prefix"; then
1516 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1517 set dummy ${ac_tool_prefix}cc; ac_word=$2
1518 echo "$as_me:$LINENO: checking for $ac_word" >&5
1519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1520 if test "${ac_cv_prog_CC+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 if test -n "$CC"; then
1524 ac_cv_prog_CC="$CC" # Let the user override the test.
1526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1530 test -z "$as_dir" && as_dir=.
1531 for ac_exec_ext in '' $ac_executable_extensions; do
1532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1533 ac_cv_prog_CC="${ac_tool_prefix}cc"
1534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1543 if test -n "$CC"; then
1544 echo "$as_me:$LINENO: result: $CC" >&5
1545 echo "${ECHO_T}$CC" >&6
1547 echo "$as_me:$LINENO: result: no" >&5
1548 echo "${ECHO_T}no" >&6
1552 if test -z "$ac_cv_prog_CC"; then
1554 # Extract the first word of "cc", so it can be a program name with args.
1555 set dummy cc; ac_word=$2
1556 echo "$as_me:$LINENO: checking for $ac_word" >&5
1557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1558 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1559 echo $ECHO_N "(cached) $ECHO_C" >&6
1561 if test -n "$ac_ct_CC"; then
1562 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1568 test -z "$as_dir" && as_dir=.
1569 for ac_exec_ext in '' $ac_executable_extensions; do
1570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1571 ac_cv_prog_ac_ct_CC="cc"
1572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1580 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1581 if test -n "$ac_ct_CC"; then
1582 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1583 echo "${ECHO_T}$ac_ct_CC" >&6
1585 echo "$as_me:$LINENO: result: no" >&5
1586 echo "${ECHO_T}no" >&6
1595 if test -z "$CC"; then
1596 # Extract the first word of "cc", so it can be a program name with args.
1597 set dummy cc; ac_word=$2
1598 echo "$as_me:$LINENO: checking for $ac_word" >&5
1599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1600 if test "${ac_cv_prog_CC+set}" = set; then
1601 echo $ECHO_N "(cached) $ECHO_C" >&6
1603 if test -n "$CC"; then
1604 ac_cv_prog_CC="$CC" # Let the user override the test.
1607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1611 test -z "$as_dir" && as_dir=.
1612 for ac_exec_ext in '' $ac_executable_extensions; do
1613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1614 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1615 ac_prog_rejected=yes
1619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1625 if test $ac_prog_rejected = yes; then
1626 # We found a bogon in the path, so make sure we never use it.
1627 set dummy $ac_cv_prog_CC
1629 if test $# != 0; then
1630 # We chose a different compiler from the bogus one.
1631 # However, it has the same basename, so the bogon will be chosen
1632 # first if we set CC to just the basename; use the full file name.
1634 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1640 if test -n "$CC"; then
1641 echo "$as_me:$LINENO: result: $CC" >&5
1642 echo "${ECHO_T}$CC" >&6
1644 echo "$as_me:$LINENO: result: no" >&5
1645 echo "${ECHO_T}no" >&6
1649 if test -z "$CC"; then
1650 if test -n "$ac_tool_prefix"; then
1653 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1654 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1655 echo "$as_me:$LINENO: checking for $ac_word" >&5
1656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1657 if test "${ac_cv_prog_CC+set}" = set; then
1658 echo $ECHO_N "(cached) $ECHO_C" >&6
1660 if test -n "$CC"; then
1661 ac_cv_prog_CC="$CC" # Let the user override the test.
1663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1667 test -z "$as_dir" && as_dir=.
1668 for ac_exec_ext in '' $ac_executable_extensions; do
1669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1670 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1680 if test -n "$CC"; then
1681 echo "$as_me:$LINENO: result: $CC" >&5
1682 echo "${ECHO_T}$CC" >&6
1684 echo "$as_me:$LINENO: result: no" >&5
1685 echo "${ECHO_T}no" >&6
1688 test -n "$CC" && break
1691 if test -z "$CC"; then
1695 # Extract the first word of "$ac_prog", so it can be a program name with args.
1696 set dummy $ac_prog; ac_word=$2
1697 echo "$as_me:$LINENO: checking for $ac_word" >&5
1698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1699 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1700 echo $ECHO_N "(cached) $ECHO_C" >&6
1702 if test -n "$ac_ct_CC"; then
1703 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1709 test -z "$as_dir" && as_dir=.
1710 for ac_exec_ext in '' $ac_executable_extensions; do
1711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1712 ac_cv_prog_ac_ct_CC="$ac_prog"
1713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1721 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1722 if test -n "$ac_ct_CC"; then
1723 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1724 echo "${ECHO_T}$ac_ct_CC" >&6
1726 echo "$as_me:$LINENO: result: no" >&5
1727 echo "${ECHO_T}no" >&6
1730 test -n "$ac_ct_CC" && break
1739 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1740 See \`config.log' for more details.
" >&5
1741 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1742 See \
`config.log' for more details." >&2;}
1743 { (exit 1); exit 1; }; }
1745 # Provide some information about the compiler.
1746 echo "$as_me:$LINENO:" \
1747 "checking for C compiler version" >&5
1748 ac_compiler=`set X
$ac_compile; echo $2`
1749 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1750 (eval $ac_compiler --version </dev/null >&5) 2>&5
1752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1753 (exit $ac_status); }
1754 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1755 (eval $ac_compiler -v </dev/null >&5) 2>&5
1757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1758 (exit $ac_status); }
1759 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1760 (eval $ac_compiler -V </dev/null >&5) 2>&5
1762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1763 (exit $ac_status); }
1765 cat >conftest.$ac_ext <<_ACEOF
1768 cat confdefs.h >>conftest.$ac_ext
1769 cat >>conftest.$ac_ext <<_ACEOF
1770 /* end confdefs.h. */
1780 ac_clean_files_save=$ac_clean_files
1781 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1782 # Try to create an executable without -o first, disregard a.out.
1783 # It will help us diagnose broken compilers, and finding out an intuition
1785 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1786 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1787 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1788 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1789 (eval $ac_link_default) 2>&5
1791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1792 (exit $ac_status); }; then
1793 # Find the output, starting from the most likely. This scheme is
1794 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1797 # Be careful to initialize this variable, since it used to be cached.
1798 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1800 # b.out is created by i960 compilers.
1801 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1803 test -f "$ac_file" || continue
1805 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1808 # This is the source file.
1811 # We found the default executable, but exeext='' is most
1815 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1816 # FIXME: I believe we export ac_cv_exeext for Libtool,
1817 # but it would be cool to find out if it's true. Does anybody
1818 # maintain Libtool? --akim.
1826 echo "$as_me: failed program was:" >&5
1827 sed 's/^/| /' conftest.$ac_ext >&5
1829 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1830 See \`config.log
' for more details." >&5
1831 echo "$as_me: error: C compiler cannot create executables
1832 See \`config.log' for more details.
" >&2;}
1833 { (exit 77); exit 77; }; }
1836 ac_exeext=$ac_cv_exeext
1837 echo "$as_me:$LINENO: result
: $ac_file" >&5
1838 echo "${ECHO_T}$ac_file" >&6
1840 # Check the compiler produces executables we can run. If not, either
1841 # the compiler is broken, or we cross compile.
1842 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1843 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1844 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1845 # If not cross compiling, check that we can run a simple program.
1846 if test "$cross_compiling" != yes; then
1847 if { ac_try='./$ac_file'
1848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1851 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1852 (exit $ac_status); }; }; then
1855 if test "$cross_compiling" = maybe; then
1858 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1859 If you meant to cross compile
, use \
`--host'.
1860 See \`config.log
' for more details." >&5
1861 echo "$as_me: error: cannot run C compiled programs.
1862 If you meant to cross compile, use \`--host'.
1863 See \
`config.log' for more details." >&2;}
1864 { (exit 1); exit 1; }; }
1868 echo "$as_me:$LINENO: result: yes" >&5
1869 echo "${ECHO_T}yes" >&6
1871 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1872 ac_clean_files=$ac_clean_files_save
1873 # Check the compiler produces executables we can run. If not, either
1874 # the compiler is broken, or we cross compile.
1875 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1876 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1877 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1878 echo "${ECHO_T}$cross_compiling" >&6
1880 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1881 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1883 (eval $ac_link) 2>&5
1885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1886 (exit $ac_status); }; then
1887 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1888 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1889 # work properly (i.e., refer to `conftest.exe'), while it won't with
1891 for ac_file
in conftest.exe conftest conftest.
*; do
1892 test -f "$ac_file" ||
continue
1894 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1895 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1902 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1903 See \`config.log' for more details." >&5
1904 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1905 See \`config.log' for more details." >&2;}
1906 { (exit 1); exit 1; }; }
1909 rm -f conftest
$ac_cv_exeext
1910 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1911 echo "${ECHO_T}$ac_cv_exeext" >&6
1913 rm -f conftest.
$ac_ext
1914 EXEEXT
=$ac_cv_exeext
1916 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1917 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1918 if test "${ac_cv_objext+set}" = set; then
1919 echo $ECHO_N "(cached) $ECHO_C" >&6
1921 cat >conftest.
$ac_ext <<_ACEOF
1924 cat confdefs.h
>>conftest.
$ac_ext
1925 cat >>conftest.
$ac_ext <<_ACEOF
1926 /* end confdefs.h. */
1936 rm -f conftest.o conftest.obj
1937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1938 (eval $ac_compile) 2>&5
1940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1941 (exit $ac_status); }; then
1942 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1944 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1945 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1950 echo "$as_me: failed program was:" >&5
1951 sed 's/^/| /' conftest.
$ac_ext >&5
1953 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1954 See \`config.log' for more details." >&5
1955 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1956 See \`config.log' for more details." >&2;}
1957 { (exit 1); exit 1; }; }
1960 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1962 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1963 echo "${ECHO_T}$ac_cv_objext" >&6
1964 OBJEXT
=$ac_cv_objext
1966 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1967 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1968 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1969 echo $ECHO_N "(cached) $ECHO_C" >&6
1971 cat >conftest.
$ac_ext <<_ACEOF
1974 cat confdefs.h
>>conftest.
$ac_ext
1975 cat >>conftest.
$ac_ext <<_ACEOF
1976 /* end confdefs.h. */
1989 rm -f conftest.
$ac_objext
1990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1991 (eval $ac_compile) 2>conftest.er1
1993 grep -v '^ *+' conftest.er1
>conftest.err
1995 cat conftest.err
>&5
1996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1997 (exit $ac_status); } &&
1998 { ac_try
='test -z "$ac_c_werror_flag"
1999 || test ! -s conftest.err'
2000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2004 (exit $ac_status); }; } &&
2005 { ac_try
='test -s conftest.$ac_objext'
2006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2010 (exit $ac_status); }; }; then
2013 echo "$as_me: failed program was:" >&5
2014 sed 's/^/| /' conftest.
$ac_ext >&5
2018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2019 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2022 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2023 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2024 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2025 ac_test_CFLAGS
=${CFLAGS+set}
2026 ac_save_CFLAGS
=$CFLAGS
2028 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2029 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2030 if test "${ac_cv_prog_cc_g+set}" = set; then
2031 echo $ECHO_N "(cached) $ECHO_C" >&6
2033 cat >conftest.
$ac_ext <<_ACEOF
2036 cat confdefs.h
>>conftest.
$ac_ext
2037 cat >>conftest.
$ac_ext <<_ACEOF
2038 /* end confdefs.h. */
2048 rm -f conftest.
$ac_objext
2049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2050 (eval $ac_compile) 2>conftest.er1
2052 grep -v '^ *+' conftest.er1
>conftest.err
2054 cat conftest.err
>&5
2055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2056 (exit $ac_status); } &&
2057 { ac_try
='test -z "$ac_c_werror_flag"
2058 || test ! -s conftest.err'
2059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2063 (exit $ac_status); }; } &&
2064 { ac_try
='test -s conftest.$ac_objext'
2065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2069 (exit $ac_status); }; }; then
2072 echo "$as_me: failed program was:" >&5
2073 sed 's/^/| /' conftest.
$ac_ext >&5
2077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2079 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2080 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2081 if test "$ac_test_CFLAGS" = set; then
2082 CFLAGS
=$ac_save_CFLAGS
2083 elif test $ac_cv_prog_cc_g = yes; then
2084 if test "$GCC" = yes; then
2090 if test "$GCC" = yes; then
2096 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2097 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2098 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2099 echo $ECHO_N "(cached) $ECHO_C" >&6
2101 ac_cv_prog_cc_stdc
=no
2103 cat >conftest.
$ac_ext <<_ACEOF
2106 cat confdefs.h
>>conftest.
$ac_ext
2107 cat >>conftest.
$ac_ext <<_ACEOF
2108 /* end confdefs.h. */
2111 #include <sys/types.h>
2112 #include <sys/stat.h>
2113 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2114 struct buf { int x; };
2115 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2116 static char *e (p, i)
2122 static char *f (char * (*g) (char **, int), char **p, ...)
2127 s = g (p, va_arg (v,int));
2132 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2133 function prototypes and stuff, but not '\xHH' hex character constants.
2134 These don't provoke an error unfortunately, instead are silently treated
2135 as 'x'. The following induces an error, until -std1 is added to get
2136 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2137 array size at least. It's necessary to write '\x00'==0 to get something
2138 that's true only with -std1. */
2139 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2141 int test (int i, double x);
2142 struct s1 {int (*f) (int a);};
2143 struct s2 {int (*f) (double a);};
2144 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2150 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2155 # Don't try gcc -ansi; that turns off useful extensions and
2156 # breaks some systems' header files.
2157 # AIX -qlanglvl=ansi
2158 # Ultrix and OSF/1 -std1
2159 # HP-UX 10.20 and later -Ae
2160 # HP-UX older versions -Aa -D_HPUX_SOURCE
2161 # SVR4 -Xc -D__EXTENSIONS__
2162 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2164 CC
="$ac_save_CC $ac_arg"
2165 rm -f conftest.
$ac_objext
2166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2167 (eval $ac_compile) 2>conftest.er1
2169 grep -v '^ *+' conftest.er1
>conftest.err
2171 cat conftest.err
>&5
2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2173 (exit $ac_status); } &&
2174 { ac_try
='test -z "$ac_c_werror_flag"
2175 || test ! -s conftest.err'
2176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); }; } &&
2181 { ac_try
='test -s conftest.$ac_objext'
2182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); }; }; then
2187 ac_cv_prog_cc_stdc
=$ac_arg
2190 echo "$as_me: failed program was:" >&5
2191 sed 's/^/| /' conftest.
$ac_ext >&5
2194 rm -f conftest.err conftest.
$ac_objext
2196 rm -f conftest.
$ac_ext conftest.
$ac_objext
2201 case "x$ac_cv_prog_cc_stdc" in
2203 echo "$as_me:$LINENO: result: none needed" >&5
2204 echo "${ECHO_T}none needed" >&6 ;;
2206 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2207 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2208 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2211 # Some people use a C++ compiler to compile C. Since we use `exit',
2212 # in C++ we need to declare it. In case someone uses the same compiler
2213 # for both compiling C and C++ we need to have the C++ compiler decide
2214 # the declaration of exit, since it's the most demanding environment.
2215 cat >conftest.
$ac_ext <<_ACEOF
2220 rm -f conftest.
$ac_objext
2221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2222 (eval $ac_compile) 2>conftest.er1
2224 grep -v '^ *+' conftest.er1
>conftest.err
2226 cat conftest.err
>&5
2227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228 (exit $ac_status); } &&
2229 { ac_try
='test -z "$ac_c_werror_flag"
2230 || test ! -s conftest.err'
2231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2235 (exit $ac_status); }; } &&
2236 { ac_try
='test -s conftest.$ac_objext'
2237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); }; }; then
2242 for ac_declaration
in \
2244 'extern "C" void std::exit (int) throw (); using std::exit;' \
2245 'extern "C" void std::exit (int); using std::exit;' \
2246 'extern "C" void exit (int) throw ();' \
2247 'extern "C" void exit (int);' \
2250 cat >conftest.
$ac_ext <<_ACEOF
2253 cat confdefs.h
>>conftest.
$ac_ext
2254 cat >>conftest.
$ac_ext <<_ACEOF
2255 /* end confdefs.h. */
2266 rm -f conftest.
$ac_objext
2267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2268 (eval $ac_compile) 2>conftest.er1
2270 grep -v '^ *+' conftest.er1
>conftest.err
2272 cat conftest.err
>&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); } &&
2275 { ac_try
='test -z "$ac_c_werror_flag"
2276 || test ! -s conftest.err'
2277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281 (exit $ac_status); }; } &&
2282 { ac_try
='test -s conftest.$ac_objext'
2283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2287 (exit $ac_status); }; }; then
2290 echo "$as_me: failed program was:" >&5
2291 sed 's/^/| /' conftest.
$ac_ext >&5
2295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2296 cat >conftest.
$ac_ext <<_ACEOF
2299 cat confdefs.h
>>conftest.
$ac_ext
2300 cat >>conftest.
$ac_ext <<_ACEOF
2301 /* end confdefs.h. */
2311 rm -f conftest.
$ac_objext
2312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2313 (eval $ac_compile) 2>conftest.er1
2315 grep -v '^ *+' conftest.er1
>conftest.err
2317 cat conftest.err
>&5
2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); } &&
2320 { ac_try
='test -z "$ac_c_werror_flag"
2321 || test ! -s conftest.err'
2322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 (exit $ac_status); }; } &&
2327 { ac_try
='test -s conftest.$ac_objext'
2328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332 (exit $ac_status); }; }; then
2335 echo "$as_me: failed program was:" >&5
2336 sed 's/^/| /' conftest.
$ac_ext >&5
2339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2342 if test -n "$ac_declaration"; then
2343 echo '#ifdef __cplusplus' >>confdefs.h
2344 echo $ac_declaration >>confdefs.h
2345 echo '#endif' >>confdefs.h
2349 echo "$as_me: failed program was:" >&5
2350 sed 's/^/| /' conftest.
$ac_ext >&5
2353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2355 ac_cpp
='$CPP $CPPFLAGS'
2356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2362 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2363 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2364 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2365 echo $ECHO_N "(cached) $ECHO_C" >&6
2367 ac_check_lib_save_LIBS
=$LIBS
2368 LIBS
="-lcposix $LIBS"
2369 cat >conftest.
$ac_ext <<_ACEOF
2372 cat confdefs.h
>>conftest.
$ac_ext
2373 cat >>conftest.
$ac_ext <<_ACEOF
2374 /* end confdefs.h. */
2376 /* Override any gcc2 internal prototype to avoid an error. */
2380 /* We use char because int might match the return type of a gcc2
2381 builtin and then its argument prototype would still apply. */
2391 rm -f conftest.
$ac_objext conftest
$ac_exeext
2392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2393 (eval $ac_link) 2>conftest.er1
2395 grep -v '^ *+' conftest.er1
>conftest.err
2397 cat conftest.err
>&5
2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399 (exit $ac_status); } &&
2400 { ac_try
='test -z "$ac_c_werror_flag"
2401 || test ! -s conftest.err'
2402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }; } &&
2407 { ac_try
='test -s conftest$ac_exeext'
2408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412 (exit $ac_status); }; }; then
2413 ac_cv_lib_cposix_strerror
=yes
2415 echo "$as_me: failed program was:" >&5
2416 sed 's/^/| /' conftest.
$ac_ext >&5
2418 ac_cv_lib_cposix_strerror
=no
2420 rm -f conftest.err conftest.
$ac_objext \
2421 conftest
$ac_exeext conftest.
$ac_ext
2422 LIBS
=$ac_check_lib_save_LIBS
2424 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2425 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2426 if test $ac_cv_lib_cposix_strerror = yes; then
2427 LIBS
="$LIBS -lcposix"
2433 am__api_version
="1.4"
2434 # Find a good install program. We prefer a C program (faster),
2435 # so one script is as good as another. But avoid the broken or
2436 # incompatible versions:
2437 # SysV /etc/install, /usr/sbin/install
2438 # SunOS /usr/etc/install
2439 # IRIX /sbin/install
2441 # AmigaOS /C/install, which installs bootblocks on floppy discs
2442 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2443 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2444 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2445 # OS/2's system install, which has a completely different semantic
2446 # ./install, which can be erroneously created by make from ./install.sh.
2447 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2448 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2449 if test -z "$INSTALL"; then
2450 if test "${ac_cv_path_install+set}" = set; then
2451 echo $ECHO_N "(cached) $ECHO_C" >&6
2453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2457 test -z "$as_dir" && as_dir
=.
2458 # Account for people who put trailing slashes in PATH elements.
2460 .
/ | .
// |
/cC
/* | \
2461 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2462 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2465 # OSF1 and SCO ODT 3.0 have their own names for install.
2466 # Don't use installbsd from OSF since it installs stuff as root
2468 for ac_prog
in ginstall scoinst
install; do
2469 for ac_exec_ext
in '' $ac_executable_extensions; do
2470 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2471 if test $ac_prog = install &&
2472 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2473 # AIX install. It has an incompatible calling convention.
2475 elif test $ac_prog = install &&
2476 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2477 # program-specific install script used by HP pwplus--don't use.
2480 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2492 if test "${ac_cv_path_install+set}" = set; then
2493 INSTALL
=$ac_cv_path_install
2495 # As a last resort, use the slow shell script. We don't cache a
2496 # path for INSTALL within a source directory, because that will
2497 # break other packages using the cache if that directory is
2498 # removed, or if the path is relative.
2499 INSTALL
=$ac_install_sh
2502 echo "$as_me:$LINENO: result: $INSTALL" >&5
2503 echo "${ECHO_T}$INSTALL" >&6
2505 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2506 # It thinks the first close brace ends the variable substitution.
2507 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2509 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2511 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2513 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2514 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2517 echo timestamp
> conftestfile
2518 # Do `set' in a subshell so we don't clobber the current shell's
2519 # arguments. Must try -L first in case configure is actually a
2520 # symlink; some systems play weird games with the mod time of symlinks
2521 # (eg FreeBSD returns the mod time of the symlink's containing
2524 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
2525 if test "$*" = "X"; then
2527 set X
`ls -t $srcdir/configure conftestfile`
2529 if test "$*" != "X $srcdir/configure conftestfile" \
2530 && test "$*" != "X conftestfile $srcdir/configure"; then
2532 # If neither matched, then we have a broken ls. This can happen
2533 # if, for instance, CONFIG_SHELL is bash and it inherits a
2534 # broken ls alias from the environment. This has actually
2535 # happened. Such a system could not be considered "sane".
2536 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2537 alias in your environment" >&5
2538 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2539 alias in your environment" >&2;}
2540 { (exit 1); exit 1; }; }
2543 test "$2" = conftestfile
2549 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2550 Check your system clock" >&5
2551 echo "$as_me: error: newly created file is older than distributed files!
2552 Check your system clock" >&2;}
2553 { (exit 1); exit 1; }; }
2556 echo "$as_me:$LINENO: result: yes" >&5
2557 echo "${ECHO_T}yes" >&6
2558 test "$program_prefix" != NONE
&&
2559 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2560 # Use a double $ so make ignores it.
2561 test "$program_suffix" != NONE
&&
2562 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2563 # Double any \ or $. echo might interpret backslashes.
2564 # By default was `s,x,x', remove it if useless.
2565 cat <<\_ACEOF
>conftest.
sed
2566 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2568 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2571 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2572 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2573 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2574 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2575 echo $ECHO_N "(cached) $ECHO_C" >&6
2577 cat >conftest.
make <<\_ACEOF
2579 @
echo 'ac_maketemp="$(MAKE)"'
2581 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2582 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2583 if test -n "$ac_maketemp"; then
2584 eval ac_cv_prog_make_
${ac_make}_set
=yes
2586 eval ac_cv_prog_make_
${ac_make}_set
=no
2590 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2591 echo "$as_me:$LINENO: result: yes" >&5
2592 echo "${ECHO_T}yes" >&6
2595 echo "$as_me:$LINENO: result: no" >&5
2596 echo "${ECHO_T}no" >&6
2597 SET_MAKE
="MAKE=${MAKE-make}"
2605 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
2606 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2607 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2608 { (exit 1); exit 1; }; }
2611 cat >>confdefs.h
<<_ACEOF
2612 #define PACKAGE "$PACKAGE"
2616 cat >>confdefs.h
<<_ACEOF
2617 #define VERSION "$VERSION"
2622 missing_dir
=`cd $ac_aux_dir && pwd`
2623 echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
2624 echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
2625 # Run test in a subshell; some versions of sh will print an error if
2626 # an executable is not found, even if stderr is redirected.
2627 # Redirect stdin to placate older versions of autoconf. Sigh.
2628 if (aclocal-
${am__api_version} --version) < /dev
/null
> /dev
/null
2>&1; then
2629 ACLOCAL
=aclocal-
${am__api_version}
2630 echo "$as_me:$LINENO: result: found" >&5
2631 echo "${ECHO_T}found" >&6
2633 ACLOCAL
="$missing_dir/missing aclocal-${am__api_version}"
2634 echo "$as_me:$LINENO: result: missing" >&5
2635 echo "${ECHO_T}missing" >&6
2638 echo "$as_me:$LINENO: checking for working autoconf" >&5
2639 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
2640 # Run test in a subshell; some versions of sh will print an error if
2641 # an executable is not found, even if stderr is redirected.
2642 # Redirect stdin to placate older versions of autoconf. Sigh.
2643 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
2645 echo "$as_me:$LINENO: result: found" >&5
2646 echo "${ECHO_T}found" >&6
2648 AUTOCONF
="$missing_dir/missing autoconf"
2649 echo "$as_me:$LINENO: result: missing" >&5
2650 echo "${ECHO_T}missing" >&6
2653 echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
2654 echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
2655 # Run test in a subshell; some versions of sh will print an error if
2656 # an executable is not found, even if stderr is redirected.
2657 # Redirect stdin to placate older versions of autoconf. Sigh.
2658 if (automake-
${am__api_version} --version) < /dev
/null
> /dev
/null
2>&1; then
2659 AUTOMAKE
=automake-
${am__api_version}
2660 echo "$as_me:$LINENO: result: found" >&5
2661 echo "${ECHO_T}found" >&6
2663 AUTOMAKE
="$missing_dir/missing automake-${am__api_version}"
2664 echo "$as_me:$LINENO: result: missing" >&5
2665 echo "${ECHO_T}missing" >&6
2668 echo "$as_me:$LINENO: checking for working autoheader" >&5
2669 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
2670 # Run test in a subshell; some versions of sh will print an error if
2671 # an executable is not found, even if stderr is redirected.
2672 # Redirect stdin to placate older versions of autoconf. Sigh.
2673 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
2674 AUTOHEADER
=autoheader
2675 echo "$as_me:$LINENO: result: found" >&5
2676 echo "${ECHO_T}found" >&6
2678 AUTOHEADER
="$missing_dir/missing autoheader"
2679 echo "$as_me:$LINENO: result: missing" >&5
2680 echo "${ECHO_T}missing" >&6
2683 echo "$as_me:$LINENO: checking for working makeinfo" >&5
2684 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
2685 # Run test in a subshell; some versions of sh will print an error if
2686 # an executable is not found, even if stderr is redirected.
2687 # Redirect stdin to placate older versions of autoconf. Sigh.
2688 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
2690 echo "$as_me:$LINENO: result: found" >&5
2691 echo "${ECHO_T}found" >&6
2693 MAKEINFO
="$missing_dir/missing makeinfo"
2694 echo "$as_me:$LINENO: result: missing" >&5
2695 echo "${ECHO_T}missing" >&6
2700 if test -n "$ac_tool_prefix"; then
2701 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2702 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2703 echo "$as_me:$LINENO: checking for $ac_word" >&5
2704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2705 if test "${ac_cv_prog_AR+set}" = set; then
2706 echo $ECHO_N "(cached) $ECHO_C" >&6
2708 if test -n "$AR"; then
2709 ac_cv_prog_AR
="$AR" # Let the user override the test.
2711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2715 test -z "$as_dir" && as_dir
=.
2716 for ac_exec_ext
in '' $ac_executable_extensions; do
2717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2718 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2728 if test -n "$AR"; then
2729 echo "$as_me:$LINENO: result: $AR" >&5
2730 echo "${ECHO_T}$AR" >&6
2732 echo "$as_me:$LINENO: result: no" >&5
2733 echo "${ECHO_T}no" >&6
2737 if test -z "$ac_cv_prog_AR"; then
2739 # Extract the first word of "ar", so it can be a program name with args.
2740 set dummy
ar; ac_word
=$2
2741 echo "$as_me:$LINENO: checking for $ac_word" >&5
2742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2743 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2744 echo $ECHO_N "(cached) $ECHO_C" >&6
2746 if test -n "$ac_ct_AR"; then
2747 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2753 test -z "$as_dir" && as_dir
=.
2754 for ac_exec_ext
in '' $ac_executable_extensions; do
2755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2756 ac_cv_prog_ac_ct_AR
="ar"
2757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2765 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2766 if test -n "$ac_ct_AR"; then
2767 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2768 echo "${ECHO_T}$ac_ct_AR" >&6
2770 echo "$as_me:$LINENO: result: no" >&5
2771 echo "${ECHO_T}no" >&6
2779 if test -n "$ac_tool_prefix"; then
2780 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2781 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2782 echo "$as_me:$LINENO: checking for $ac_word" >&5
2783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2784 if test "${ac_cv_prog_RANLIB+set}" = set; then
2785 echo $ECHO_N "(cached) $ECHO_C" >&6
2787 if test -n "$RANLIB"; then
2788 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2794 test -z "$as_dir" && as_dir
=.
2795 for ac_exec_ext
in '' $ac_executable_extensions; do
2796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2797 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2806 RANLIB
=$ac_cv_prog_RANLIB
2807 if test -n "$RANLIB"; then
2808 echo "$as_me:$LINENO: result: $RANLIB" >&5
2809 echo "${ECHO_T}$RANLIB" >&6
2811 echo "$as_me:$LINENO: result: no" >&5
2812 echo "${ECHO_T}no" >&6
2816 if test -z "$ac_cv_prog_RANLIB"; then
2817 ac_ct_RANLIB
=$RANLIB
2818 # Extract the first word of "ranlib", so it can be a program name with args.
2819 set dummy ranlib
; ac_word
=$2
2820 echo "$as_me:$LINENO: checking for $ac_word" >&5
2821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2822 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2823 echo $ECHO_N "(cached) $ECHO_C" >&6
2825 if test -n "$ac_ct_RANLIB"; then
2826 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2832 test -z "$as_dir" && as_dir
=.
2833 for ac_exec_ext
in '' $ac_executable_extensions; do
2834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2835 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2842 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2845 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2846 if test -n "$ac_ct_RANLIB"; then
2847 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2848 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2850 echo "$as_me:$LINENO: result: no" >&5
2851 echo "${ECHO_T}no" >&6
2854 RANLIB
=$ac_ct_RANLIB
2856 RANLIB
="$ac_cv_prog_RANLIB"
2860 # Check whether --enable-shared or --disable-shared was given.
2861 if test "${enable_shared+set}" = set; then
2862 enableval
="$enable_shared"
2863 p
=${PACKAGE-default}
2865 yes) enable_shared
=yes ;;
2866 no
) enable_shared
=no
;;
2869 # Look at the argument we got. We use all the common list separators.
2870 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2871 for pkg
in $enableval; do
2872 if test "X$pkg" = "X$p"; then
2883 # Check whether --enable-static or --disable-static was given.
2884 if test "${enable_static+set}" = set; then
2885 enableval
="$enable_static"
2886 p
=${PACKAGE-default}
2888 yes) enable_static
=yes ;;
2889 no
) enable_static
=no
;;
2892 # Look at the argument we got. We use all the common list separators.
2893 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2894 for pkg
in $enableval; do
2895 if test "X$pkg" = "X$p"; then
2905 # Check whether --enable-fast-install or --disable-fast-install was given.
2906 if test "${enable_fast_install+set}" = set; then
2907 enableval
="$enable_fast_install"
2908 p
=${PACKAGE-default}
2910 yes) enable_fast_install
=yes ;;
2911 no
) enable_fast_install
=no
;;
2913 enable_fast_install
=no
2914 # Look at the argument we got. We use all the common list separators.
2915 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2916 for pkg
in $enableval; do
2917 if test "X$pkg" = "X$p"; then
2918 enable_fast_install
=yes
2925 enable_fast_install
=yes
2928 # Check whether --with-gnu-ld or --without-gnu-ld was given.
2929 if test "${with_gnu_ld+set}" = set; then
2930 withval
="$with_gnu_ld"
2931 test "$withval" = no || with_gnu_ld
=yes
2936 if test "$GCC" = yes; then
2937 # Check if gcc -print-prog-name=ld gives a path.
2938 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
2939 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
2942 # gcc leaves a trailing carriage return which upsets mingw
2943 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2945 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
2948 # Accept absolute paths.
2949 [\\/]* |
[A-Za-z
]:[\\/]*)
2950 re_direlt
='/[^/][^/]*/\.\./'
2951 # Canonicalize the path of ld
2952 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
2953 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
2954 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
2956 test -z "$LD" && LD
="$ac_prog"
2959 # If it fails, then pretend we aren't using GCC.
2963 # If it is relative, then search for the first ld in PATH.
2967 elif test "$with_gnu_ld" = yes; then
2968 echo "$as_me:$LINENO: checking for GNU ld" >&5
2969 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
2971 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
2972 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
2974 if test "${lt_cv_path_LD+set}" = set; then
2975 echo $ECHO_N "(cached) $ECHO_C" >&6
2977 if test -z "$LD"; then
2978 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
2979 for ac_dir
in $PATH; do
2980 test -z "$ac_dir" && ac_dir
=.
2981 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
2982 lt_cv_path_LD
="$ac_dir/$ac_prog"
2983 # Check to see if the program is GNU ld. I'd rather use --version,
2984 # but apparently some GNU ld's only accept -v.
2985 # Break only if it was the GNU/non-GNU ld that we prefer.
2986 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
2987 test "$with_gnu_ld" != no
&& break
2989 test "$with_gnu_ld" != yes && break
2995 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3000 if test -n "$LD"; then
3001 echo "$as_me:$LINENO: result: $LD" >&5
3002 echo "${ECHO_T}$LD" >&6
3004 echo "$as_me:$LINENO: result: no" >&5
3005 echo "${ECHO_T}no" >&6
3007 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3008 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3009 { (exit 1); exit 1; }; }
3010 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3011 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3012 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3013 echo $ECHO_N "(cached) $ECHO_C" >&6
3015 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3016 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3017 lt_cv_prog_gnu_ld
=yes
3019 lt_cv_prog_gnu_ld
=no
3022 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3023 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3024 with_gnu_ld
=$lt_cv_prog_gnu_ld
3027 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3028 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3029 if test "${lt_cv_ld_reload_flag+set}" = set; then
3030 echo $ECHO_N "(cached) $ECHO_C" >&6
3032 lt_cv_ld_reload_flag
='-r'
3034 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3035 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3036 reload_flag
=$lt_cv_ld_reload_flag
3037 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3039 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3040 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3041 if test "${lt_cv_path_NM+set}" = set; then
3042 echo $ECHO_N "(cached) $ECHO_C" >&6
3044 if test -n "$NM"; then
3045 # Let the user override the test.
3048 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3049 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3050 test -z "$ac_dir" && ac_dir
=.
3051 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3052 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3053 # Check to see if the nm accepts a BSD-compat flag.
3054 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3055 # nm: unknown option "B" ignored
3056 # Tru64's nm complains that /dev/null is an invalid object file
3057 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3058 lt_cv_path_NM
="$tmp_nm -B"
3060 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3061 lt_cv_path_NM
="$tmp_nm -p"
3064 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3065 continue # so that we can try to find one that supports BSD flags
3070 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3075 echo "$as_me:$LINENO: result: $NM" >&5
3076 echo "${ECHO_T}$NM" >&6
3078 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3079 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3081 if test "$LN_S" = "ln -s"; then
3082 echo "$as_me:$LINENO: result: yes" >&5
3083 echo "${ECHO_T}yes" >&6
3085 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3086 echo "${ECHO_T}no, using $LN_S" >&6
3089 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3090 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3091 if test "${lt_cv_deplibs_check_method+set}" = set; then
3092 echo $ECHO_N "(cached) $ECHO_C" >&6
3094 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3095 lt_cv_file_magic_test_file
=
3096 lt_cv_deplibs_check_method
='unknown'
3097 # Need to set the preceding variable on all platforms that support
3098 # interlibrary dependencies.
3099 # 'none' -- dependencies not supported.
3100 # `unknown' -- same as none, but documents that we really don't know.
3101 # 'pass_all' -- all dependencies passed with no checks.
3102 # 'test_compile' -- check by making test program.
3103 # 'file_magic [regex]' -- check by looking for files in library path
3104 # which responds to the $file_magic_cmd with a given egrep regex.
3105 # If you have `file' or equivalent on your system and you're not sure
3106 # whether `pass_all' will *always* work, you probably want this one.
3110 lt_cv_deplibs_check_method
=pass_all
3114 lt_cv_deplibs_check_method
=pass_all
3118 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3119 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3120 lt_cv_file_magic_test_file
=/shlib
/libc.so
3123 cygwin
* | mingw
* |pw32
*)
3124 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3125 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3128 darwin
* | rhapsody
*)
3129 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3130 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3132 rhapsody
* | darwin1.012
)
3133 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3136 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3141 freebsd
* | kfreebsd
*-gnu)
3142 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3145 # Not sure whether the presence of OpenBSD here was a mistake.
3146 # Let's accept both of them until this is cleared up.
3147 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3148 lt_cv_file_magic_cmd
=/usr
/bin
/file
3149 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3153 lt_cv_deplibs_check_method
=pass_all
3158 lt_cv_deplibs_check_method
=pass_all
3164 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3165 lt_cv_file_magic_cmd
=/usr
/bin
/file
3166 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3169 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3170 lt_cv_file_magic_cmd
=/usr
/bin
/file
3171 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3179 # this will be overridden with pass_all, but let us keep it just in case
3180 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3184 *-32|
*"-32 ") libmagic
=32-bit;;
3185 *-n32|
*"-n32 ") libmagic
=N32
;;
3186 *-64|
*"-64 ") libmagic
=64-bit;;
3187 *) libmagic
=never-match
;;
3189 # this will be overridden with pass_all, but let us keep it just in case
3190 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3193 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3194 lt_cv_deplibs_check_method
=pass_all
3197 # This must be Linux ELF.
3200 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
3201 lt_cv_deplibs_check_method
=pass_all
;;
3203 # glibc up to 2.1.1 does not perform some relocations on ARM
3204 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3206 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3209 netbsd
* | knetbsd
*-gnu)
3210 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3211 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3213 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3218 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3219 lt_cv_file_magic_cmd
=/usr
/bin
/file
3220 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3223 osf3
* | osf4
* | osf5
*)
3224 # this will be overridden with pass_all, but let us keep it just in case
3225 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3226 lt_cv_file_magic_test_file
=/shlib
/libc.so
3227 lt_cv_deplibs_check_method
=pass_all
3231 lt_cv_deplibs_check_method
=pass_all
3235 lt_cv_deplibs_check_method
=pass_all
3236 lt_cv_file_magic_test_file
=/lib
/libc.so
3239 sysv5uw
[78]* | sysv4
*uw2
*)
3240 lt_cv_deplibs_check_method
=pass_all
3243 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3244 case $host_vendor in
3246 lt_cv_deplibs_check_method
=pass_all
3249 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]'
3250 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3257 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3258 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3259 file_magic_cmd
=$lt_cv_file_magic_cmd
3260 deplibs_check_method
=$lt_cv_deplibs_check_method
3265 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3267 # Only perform the check for file, if the check method requires it
3268 case $deplibs_check_method in
3270 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3271 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3272 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3273 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3274 echo $ECHO_N "(cached) $ECHO_C" >&6
3278 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3281 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3284 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3285 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3286 ac_dummy
="/usr/bin:$PATH"
3287 for ac_dir
in $ac_dummy; do
3288 test -z "$ac_dir" && ac_dir
=.
3289 if test -f $ac_dir/${ac_tool_prefix}file; then
3290 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3291 if test -n "$file_magic_test_file"; then
3292 case $deplibs_check_method in
3294 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3295 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3296 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3297 egrep "$file_magic_regex" > /dev
/null
; then
3302 *** Warning: the command libtool uses to detect shared libraries,
3303 *** $file_magic_cmd, produces output that libtool cannot recognize.
3304 *** The result is that libtool may fail to recognize shared libraries
3305 *** as such. This will affect the creation of libtool libraries that
3306 *** depend on shared libraries, but programs linked with such libtool
3307 *** libraries will work regardless of this problem. Nevertheless, you
3308 *** may want to report the problem to your system manager and/or to
3309 *** bug-libtool@gnu.org
3319 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3324 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3325 if test -n "$MAGIC_CMD"; then
3326 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3327 echo "${ECHO_T}$MAGIC_CMD" >&6
3329 echo "$as_me:$LINENO: result: no" >&5
3330 echo "${ECHO_T}no" >&6
3333 if test -z "$lt_cv_path_MAGIC_CMD"; then
3334 if test -n "$ac_tool_prefix"; then
3335 echo "$as_me:$LINENO: checking for file" >&5
3336 echo $ECHO_N "checking for file... $ECHO_C" >&6
3337 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3338 echo $ECHO_N "(cached) $ECHO_C" >&6
3342 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3345 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3348 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3349 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3350 ac_dummy
="/usr/bin:$PATH"
3351 for ac_dir
in $ac_dummy; do
3352 test -z "$ac_dir" && ac_dir
=.
3353 if test -f $ac_dir/file; then
3354 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3355 if test -n "$file_magic_test_file"; then
3356 case $deplibs_check_method in
3358 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3359 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3360 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3361 egrep "$file_magic_regex" > /dev
/null
; then
3366 *** Warning: the command libtool uses to detect shared libraries,
3367 *** $file_magic_cmd, produces output that libtool cannot recognize.
3368 *** The result is that libtool may fail to recognize shared libraries
3369 *** as such. This will affect the creation of libtool libraries that
3370 *** depend on shared libraries, but programs linked with such libtool
3371 *** libraries will work regardless of this problem. Nevertheless, you
3372 *** may want to report the problem to your system manager and/or to
3373 *** bug-libtool@gnu.org
3383 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3388 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3389 if test -n "$MAGIC_CMD"; then
3390 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3391 echo "${ECHO_T}$MAGIC_CMD" >&6
3393 echo "$as_me:$LINENO: result: no" >&5
3394 echo "${ECHO_T}no" >&6
3406 if test -n "$ac_tool_prefix"; then
3407 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3408 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3409 echo "$as_me:$LINENO: checking for $ac_word" >&5
3410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3411 if test "${ac_cv_prog_RANLIB+set}" = set; then
3412 echo $ECHO_N "(cached) $ECHO_C" >&6
3414 if test -n "$RANLIB"; then
3415 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3421 test -z "$as_dir" && as_dir
=.
3422 for ac_exec_ext
in '' $ac_executable_extensions; do
3423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3424 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3433 RANLIB
=$ac_cv_prog_RANLIB
3434 if test -n "$RANLIB"; then
3435 echo "$as_me:$LINENO: result: $RANLIB" >&5
3436 echo "${ECHO_T}$RANLIB" >&6
3438 echo "$as_me:$LINENO: result: no" >&5
3439 echo "${ECHO_T}no" >&6
3443 if test -z "$ac_cv_prog_RANLIB"; then
3444 ac_ct_RANLIB
=$RANLIB
3445 # Extract the first word of "ranlib", so it can be a program name with args.
3446 set dummy ranlib
; ac_word
=$2
3447 echo "$as_me:$LINENO: checking for $ac_word" >&5
3448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3449 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3450 echo $ECHO_N "(cached) $ECHO_C" >&6
3452 if test -n "$ac_ct_RANLIB"; then
3453 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3459 test -z "$as_dir" && as_dir
=.
3460 for ac_exec_ext
in '' $ac_executable_extensions; do
3461 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3462 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3469 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3472 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3473 if test -n "$ac_ct_RANLIB"; then
3474 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3475 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3477 echo "$as_me:$LINENO: result: no" >&5
3478 echo "${ECHO_T}no" >&6
3481 RANLIB
=$ac_ct_RANLIB
3483 RANLIB
="$ac_cv_prog_RANLIB"
3486 if test -n "$ac_tool_prefix"; then
3487 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3488 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3489 echo "$as_me:$LINENO: checking for $ac_word" >&5
3490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3491 if test "${ac_cv_prog_STRIP+set}" = set; then
3492 echo $ECHO_N "(cached) $ECHO_C" >&6
3494 if test -n "$STRIP"; then
3495 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3501 test -z "$as_dir" && as_dir
=.
3502 for ac_exec_ext
in '' $ac_executable_extensions; do
3503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3504 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3513 STRIP
=$ac_cv_prog_STRIP
3514 if test -n "$STRIP"; then
3515 echo "$as_me:$LINENO: result: $STRIP" >&5
3516 echo "${ECHO_T}$STRIP" >&6
3518 echo "$as_me:$LINENO: result: no" >&5
3519 echo "${ECHO_T}no" >&6
3523 if test -z "$ac_cv_prog_STRIP"; then
3525 # Extract the first word of "strip", so it can be a program name with args.
3526 set dummy strip
; ac_word
=$2
3527 echo "$as_me:$LINENO: checking for $ac_word" >&5
3528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3529 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3530 echo $ECHO_N "(cached) $ECHO_C" >&6
3532 if test -n "$ac_ct_STRIP"; then
3533 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3539 test -z "$as_dir" && as_dir
=.
3540 for ac_exec_ext
in '' $ac_executable_extensions; do
3541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3542 ac_cv_prog_ac_ct_STRIP
="strip"
3543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3549 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3552 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3553 if test -n "$ac_ct_STRIP"; then
3554 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3555 echo "${ECHO_T}$ac_ct_STRIP" >&6
3557 echo "$as_me:$LINENO: result: no" >&5
3558 echo "${ECHO_T}no" >&6
3563 STRIP
="$ac_cv_prog_STRIP"
3567 # Check for any special flags to pass to ltconfig.
3568 libtool_flags
="--cache-file=$cache_file"
3569 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3570 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3571 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3572 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3573 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3576 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3577 if test "${enable_libtool_lock+set}" = set; then
3578 enableval
="$enable_libtool_lock"
3581 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3582 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3585 # Check whether --with-pic or --without-pic was given.
3586 if test "${with_pic+set}" = set; then
3592 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3593 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3595 # Some flags need to be propagated to the compiler or linker for good
3599 # Find out which ABI we are using.
3600 echo '#line 3600 "configure"' > conftest.
$ac_ext
3601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3602 (eval $ac_compile) 2>&5
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); }; then
3606 if test "$lt_cv_prog_gnu_ld" = yes; then
3607 case `/usr/bin/file conftest.$ac_objext` in
3609 LD
="${LD-ld} -melf32bsmip"
3612 LD
="${LD-ld} -melf32bmipn32"
3615 LD
="${LD-ld} -melf64bmip"
3619 case `/usr/bin/file conftest.$ac_objext` in
3636 # Find out which ABI we are using.
3637 echo 'int i;' > conftest.
$ac_ext
3638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3639 (eval $ac_compile) 2>&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); }; then
3643 case "`/usr/bin/file conftest.o`" in
3656 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3657 SAVE_CFLAGS
="$CFLAGS"
3658 CFLAGS
="$CFLAGS -belf"
3659 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3660 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3661 if test "${lt_cv_cc_needs_belf+set}" = set; then
3662 echo $ECHO_N "(cached) $ECHO_C" >&6
3667 ac_cpp
='$CPP $CPPFLAGS'
3668 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3669 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3670 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3672 cat >conftest.
$ac_ext <<_ACEOF
3675 cat confdefs.h
>>conftest.
$ac_ext
3676 cat >>conftest.
$ac_ext <<_ACEOF
3677 /* end confdefs.h. */
3687 rm -f conftest.
$ac_objext conftest
$ac_exeext
3688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3689 (eval $ac_link) 2>conftest.er1
3691 grep -v '^ *+' conftest.er1
>conftest.err
3693 cat conftest.err
>&5
3694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3695 (exit $ac_status); } &&
3696 { ac_try
='test -z "$ac_c_werror_flag"
3697 || test ! -s conftest.err'
3698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702 (exit $ac_status); }; } &&
3703 { ac_try
='test -s conftest$ac_exeext'
3704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); }; }; then
3709 lt_cv_cc_needs_belf
=yes
3711 echo "$as_me: failed program was:" >&5
3712 sed 's/^/| /' conftest.
$ac_ext >&5
3714 lt_cv_cc_needs_belf
=no
3716 rm -f conftest.err conftest.
$ac_objext \
3717 conftest
$ac_exeext conftest.
$ac_ext
3719 ac_cpp
='$CPP $CPPFLAGS'
3720 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3721 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3722 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3725 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3726 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3727 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3728 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3729 CFLAGS
="$SAVE_CFLAGS"
3737 # Save cache, so that ltconfig can load it
3738 cat >confcache
<<\_ACEOF
3739 # This file is a shell script that caches the results of configure
3740 # tests run on this system so they can be shared between configure
3741 # scripts and configure runs, see configure's option --config-cache.
3742 # It is not useful on other systems. If it contains results you don't
3743 # want to keep, you may remove or edit it.
3745 # config.status only pays attention to the cache file if you give it
3746 # the --recheck option to rerun configure.
3748 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3749 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3754 # The following way of writing the cache mishandles newlines in values,
3755 # but we know of no workaround that is simple, portable, and efficient.
3756 # So, don't put newlines in cache variables' values.
3757 # Ultrix sh set writes to stderr and can't be redirected directly,
3758 # and sets the high bit in the cache file unless we assign to the vars.
3761 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3763 # `set' does not quote correctly, so add quotes (double-quote
3764 # substitution turns \\\\ into \\, and sed turns \\ into \).
3767 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3770 # `set' quotes correctly as required by POSIX, so do not add quotes.
3772 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3779 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3781 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3783 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3784 if test -w $cache_file; then
3785 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3786 cat confcache
>$cache_file
3788 echo "not updating unwritable cache $cache_file"
3793 # Actually configure libtool. ac_aux_dir is where install-sh is found.
3794 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
3795 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
3796 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
3797 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
3798 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
3799 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
3800 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
3801 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
3802 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
3803 echo "$as_me: error: libtool configure failed" >&2;}
3804 { (exit 1); exit 1; }; }
3806 # Reload cache, that may have been modified by ltconfig
3807 if test -r "$cache_file"; then
3808 # Some versions of bash will fail to source /dev/null (special
3809 # files actually), so we avoid doing that.
3810 if test -f "$cache_file"; then
3811 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
3812 echo "$as_me: loading cache $cache_file" >&6;}
3814 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
3815 *) . .
/$cache_file;;
3819 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
3820 echo "$as_me: creating cache $cache_file" >&6;}
3825 # This can be used to rebuild libtool when needed
3826 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
3828 # Always use our own libtool.
3829 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
3831 # Redirect the config.log output again, so that the ltconfig log is not
3832 # clobbered by the next message.
3833 exec 5>>.
/config.log
3841 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
3842 if test "${enable_64_bit_bfd+set}" = set; then
3843 enableval
="$enable_64_bit_bfd"
3844 case "${enableval}" in
3847 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
3848 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
3849 { (exit 1); exit 1; }; } ;;
3853 fi; # Check whether --enable-targets or --disable-targets was given.
3854 if test "${enable_targets+set}" = set; then
3855 enableval
="$enable_targets"
3856 case "${enableval}" in
3857 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
3858 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
3859 { (exit 1); exit 1; }; }
3861 no
) enable_targets
= ;;
3862 *) enable_targets
=$enableval ;;
3864 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
3865 if test "${enable_commonbfdlib+set}" = set; then
3866 enableval
="$enable_commonbfdlib"
3867 case "${enableval}" in
3868 yes) commonbfdlib
=true
;;
3869 no
) commonbfdlib
=false
;;
3870 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
3871 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
3872 { (exit 1); exit 1; }; } ;;
3875 # Check whether --with-mmap or --without-mmap was given.
3876 if test "${with_mmap+set}" = set; then
3877 withval
="$with_mmap"
3878 case "${withval}" in
3879 yes) want_mmap
=true
;;
3880 no
) want_mmap
=false
;;
3881 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
3882 echo "$as_me: error: bad value ${withval} for BFD with-mmap option" >&2;}
3883 { (exit 1); exit 1; }; } ;;
3888 build_warnings
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
3889 # Check whether --enable-build-warnings or --disable-build-warnings was given.
3890 if test "${enable_build_warnings+set}" = set; then
3891 enableval
="$enable_build_warnings"
3892 case "${enableval}" in
3894 no
) build_warnings
="-w";;
3895 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
3896 build_warnings
="${build_warnings} ${t}";;
3897 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
3898 build_warnings
="${t} ${build_warnings}";;
3899 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
3901 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
3902 echo "Setting warning flags = $build_warnings" 6>&1
3905 if test "x${build_warnings}" != x
&& test "x$GCC" = xyes
; then
3906 WARN_CFLAGS
="${build_warnings}"
3911 ac_config_headers
="$ac_config_headers config.h:config.in"
3913 ac_config_commands
="$ac_config_commands default-1"
3916 if test -z "$target" ; then
3917 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
3918 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
3919 { (exit 1); exit 1; }; }
3922 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3923 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3924 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3925 if test "${enable_maintainer_mode+set}" = set; then
3926 enableval
="$enable_maintainer_mode"
3927 USE_MAINTAINER_MODE
=$enableval
3929 USE_MAINTAINER_MODE
=no
3931 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3932 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3935 if test $USE_MAINTAINER_MODE = yes; then
3936 MAINTAINER_MODE_TRUE
=
3937 MAINTAINER_MODE_FALSE
='#'
3939 MAINTAINER_MODE_TRUE
='#'
3940 MAINTAINER_MODE_FALSE
=
3942 MAINT
=$MAINTAINER_MODE_TRUE
3945 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
3946 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
3947 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
3948 if test "${enable_install_libbfd+set}" = set; then
3949 enableval
="$enable_install_libbfd"
3950 install_libbfd_p
=$enableval
3952 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
3953 install_libbfd_p
=yes
3958 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
3959 echo "${ECHO_T}$install_libbfd_p" >&6
3962 if test $install_libbfd_p = yes; then
3963 INSTALL_LIBBFD_TRUE
=
3964 INSTALL_LIBBFD_FALSE
='#'
3966 INSTALL_LIBBFD_TRUE
='#'
3967 INSTALL_LIBBFD_FALSE
=
3969 # Need _noncanonical variables for this.
3970 ACX_HOST_NONCANONICAL
3971 ACX_TARGET_NONCANONICAL
3972 # libbfd.a is a host library containing target dependent code
3973 bfdlibdir
='$(libdir)'
3974 bfdincludedir
='$(includedir)'
3975 if test "${host}" != "${target}"; then
3976 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
3977 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
3987 bfd_default_target_size
=32
3992 ac_cpp
='$CPP $CPPFLAGS'
3993 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3994 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3995 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3996 if test -n "$ac_tool_prefix"; then
3997 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3998 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3999 echo "$as_me:$LINENO: checking for $ac_word" >&5
4000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4001 if test "${ac_cv_prog_CC+set}" = set; then
4002 echo $ECHO_N "(cached) $ECHO_C" >&6
4004 if test -n "$CC"; then
4005 ac_cv_prog_CC
="$CC" # Let the user override the test.
4007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4011 test -z "$as_dir" && as_dir
=.
4012 for ac_exec_ext
in '' $ac_executable_extensions; do
4013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4014 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4024 if test -n "$CC"; then
4025 echo "$as_me:$LINENO: result: $CC" >&5
4026 echo "${ECHO_T}$CC" >&6
4028 echo "$as_me:$LINENO: result: no" >&5
4029 echo "${ECHO_T}no" >&6
4033 if test -z "$ac_cv_prog_CC"; then
4035 # Extract the first word of "gcc", so it can be a program name with args.
4036 set dummy gcc
; ac_word
=$2
4037 echo "$as_me:$LINENO: checking for $ac_word" >&5
4038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4039 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4040 echo $ECHO_N "(cached) $ECHO_C" >&6
4042 if test -n "$ac_ct_CC"; then
4043 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4049 test -z "$as_dir" && as_dir
=.
4050 for ac_exec_ext
in '' $ac_executable_extensions; do
4051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4052 ac_cv_prog_ac_ct_CC
="gcc"
4053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4061 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4062 if test -n "$ac_ct_CC"; then
4063 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4064 echo "${ECHO_T}$ac_ct_CC" >&6
4066 echo "$as_me:$LINENO: result: no" >&5
4067 echo "${ECHO_T}no" >&6
4075 if test -z "$CC"; then
4076 if test -n "$ac_tool_prefix"; then
4077 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4078 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4079 echo "$as_me:$LINENO: checking for $ac_word" >&5
4080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4081 if test "${ac_cv_prog_CC+set}" = set; then
4082 echo $ECHO_N "(cached) $ECHO_C" >&6
4084 if test -n "$CC"; then
4085 ac_cv_prog_CC
="$CC" # Let the user override the test.
4087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4091 test -z "$as_dir" && as_dir
=.
4092 for ac_exec_ext
in '' $ac_executable_extensions; do
4093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4094 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4104 if test -n "$CC"; then
4105 echo "$as_me:$LINENO: result: $CC" >&5
4106 echo "${ECHO_T}$CC" >&6
4108 echo "$as_me:$LINENO: result: no" >&5
4109 echo "${ECHO_T}no" >&6
4113 if test -z "$ac_cv_prog_CC"; then
4115 # Extract the first word of "cc", so it can be a program name with args.
4116 set dummy cc
; ac_word
=$2
4117 echo "$as_me:$LINENO: checking for $ac_word" >&5
4118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4119 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4120 echo $ECHO_N "(cached) $ECHO_C" >&6
4122 if test -n "$ac_ct_CC"; then
4123 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4129 test -z "$as_dir" && as_dir
=.
4130 for ac_exec_ext
in '' $ac_executable_extensions; do
4131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4132 ac_cv_prog_ac_ct_CC
="cc"
4133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4141 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4142 if test -n "$ac_ct_CC"; then
4143 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4144 echo "${ECHO_T}$ac_ct_CC" >&6
4146 echo "$as_me:$LINENO: result: no" >&5
4147 echo "${ECHO_T}no" >&6
4156 if test -z "$CC"; then
4157 # Extract the first word of "cc", so it can be a program name with args.
4158 set dummy cc
; ac_word
=$2
4159 echo "$as_me:$LINENO: checking for $ac_word" >&5
4160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4161 if test "${ac_cv_prog_CC+set}" = set; then
4162 echo $ECHO_N "(cached) $ECHO_C" >&6
4164 if test -n "$CC"; then
4165 ac_cv_prog_CC
="$CC" # Let the user override the test.
4168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4172 test -z "$as_dir" && as_dir
=.
4173 for ac_exec_ext
in '' $ac_executable_extensions; do
4174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4175 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4176 ac_prog_rejected
=yes
4180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4186 if test $ac_prog_rejected = yes; then
4187 # We found a bogon in the path, so make sure we never use it.
4188 set dummy
$ac_cv_prog_CC
4190 if test $# != 0; then
4191 # We chose a different compiler from the bogus one.
4192 # However, it has the same basename, so the bogon will be chosen
4193 # first if we set CC to just the basename; use the full file name.
4195 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4201 if test -n "$CC"; then
4202 echo "$as_me:$LINENO: result: $CC" >&5
4203 echo "${ECHO_T}$CC" >&6
4205 echo "$as_me:$LINENO: result: no" >&5
4206 echo "${ECHO_T}no" >&6
4210 if test -z "$CC"; then
4211 if test -n "$ac_tool_prefix"; then
4214 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4215 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4216 echo "$as_me:$LINENO: checking for $ac_word" >&5
4217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4218 if test "${ac_cv_prog_CC+set}" = set; then
4219 echo $ECHO_N "(cached) $ECHO_C" >&6
4221 if test -n "$CC"; then
4222 ac_cv_prog_CC
="$CC" # Let the user override the test.
4224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4228 test -z "$as_dir" && as_dir
=.
4229 for ac_exec_ext
in '' $ac_executable_extensions; do
4230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4231 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4241 if test -n "$CC"; then
4242 echo "$as_me:$LINENO: result: $CC" >&5
4243 echo "${ECHO_T}$CC" >&6
4245 echo "$as_me:$LINENO: result: no" >&5
4246 echo "${ECHO_T}no" >&6
4249 test -n "$CC" && break
4252 if test -z "$CC"; then
4256 # Extract the first word of "$ac_prog", so it can be a program name with args.
4257 set dummy
$ac_prog; ac_word
=$2
4258 echo "$as_me:$LINENO: checking for $ac_word" >&5
4259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4260 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4261 echo $ECHO_N "(cached) $ECHO_C" >&6
4263 if test -n "$ac_ct_CC"; then
4264 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4270 test -z "$as_dir" && as_dir
=.
4271 for ac_exec_ext
in '' $ac_executable_extensions; do
4272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4273 ac_cv_prog_ac_ct_CC
="$ac_prog"
4274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4282 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4283 if test -n "$ac_ct_CC"; then
4284 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4285 echo "${ECHO_T}$ac_ct_CC" >&6
4287 echo "$as_me:$LINENO: result: no" >&5
4288 echo "${ECHO_T}no" >&6
4291 test -n "$ac_ct_CC" && break
4300 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4301 See \`config.log' for more details." >&5
4302 echo "$as_me: error: no acceptable C compiler found in \$PATH
4303 See \`config.log' for more details." >&2;}
4304 { (exit 1); exit 1; }; }
4306 # Provide some information about the compiler.
4307 echo "$as_me:$LINENO:" \
4308 "checking for C compiler version" >&5
4309 ac_compiler
=`set X $ac_compile; echo $2`
4310 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4311 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4314 (exit $ac_status); }
4315 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4316 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4319 (exit $ac_status); }
4320 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4321 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324 (exit $ac_status); }
4326 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4327 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4328 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4329 echo $ECHO_N "(cached) $ECHO_C" >&6
4331 cat >conftest.
$ac_ext <<_ACEOF
4334 cat confdefs.h
>>conftest.
$ac_ext
4335 cat >>conftest.
$ac_ext <<_ACEOF
4336 /* end confdefs.h. */
4349 rm -f conftest.
$ac_objext
4350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4351 (eval $ac_compile) 2>conftest.er1
4353 grep -v '^ *+' conftest.er1
>conftest.err
4355 cat conftest.err
>&5
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357 (exit $ac_status); } &&
4358 { ac_try
='test -z "$ac_c_werror_flag"
4359 || test ! -s conftest.err'
4360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); }; } &&
4365 { ac_try
='test -s conftest.$ac_objext'
4366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370 (exit $ac_status); }; }; then
4373 echo "$as_me: failed program was:" >&5
4374 sed 's/^/| /' conftest.
$ac_ext >&5
4378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4379 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4382 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4383 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4384 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4385 ac_test_CFLAGS
=${CFLAGS+set}
4386 ac_save_CFLAGS
=$CFLAGS
4388 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4389 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4390 if test "${ac_cv_prog_cc_g+set}" = set; then
4391 echo $ECHO_N "(cached) $ECHO_C" >&6
4393 cat >conftest.
$ac_ext <<_ACEOF
4396 cat confdefs.h
>>conftest.
$ac_ext
4397 cat >>conftest.
$ac_ext <<_ACEOF
4398 /* end confdefs.h. */
4408 rm -f conftest.
$ac_objext
4409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4410 (eval $ac_compile) 2>conftest.er1
4412 grep -v '^ *+' conftest.er1
>conftest.err
4414 cat conftest.err
>&5
4415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4416 (exit $ac_status); } &&
4417 { ac_try
='test -z "$ac_c_werror_flag"
4418 || test ! -s conftest.err'
4419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); }; } &&
4424 { ac_try
='test -s conftest.$ac_objext'
4425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429 (exit $ac_status); }; }; then
4432 echo "$as_me: failed program was:" >&5
4433 sed 's/^/| /' conftest.
$ac_ext >&5
4437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4439 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4440 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4441 if test "$ac_test_CFLAGS" = set; then
4442 CFLAGS
=$ac_save_CFLAGS
4443 elif test $ac_cv_prog_cc_g = yes; then
4444 if test "$GCC" = yes; then
4450 if test "$GCC" = yes; then
4456 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4457 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4458 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4459 echo $ECHO_N "(cached) $ECHO_C" >&6
4461 ac_cv_prog_cc_stdc
=no
4463 cat >conftest.
$ac_ext <<_ACEOF
4466 cat confdefs.h
>>conftest.
$ac_ext
4467 cat >>conftest.
$ac_ext <<_ACEOF
4468 /* end confdefs.h. */
4471 #include <sys/types.h>
4472 #include <sys/stat.h>
4473 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4474 struct buf { int x; };
4475 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4476 static char *e (p, i)
4482 static char *f (char * (*g) (char **, int), char **p, ...)
4487 s = g (p, va_arg (v,int));
4492 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4493 function prototypes and stuff, but not '\xHH' hex character constants.
4494 These don't provoke an error unfortunately, instead are silently treated
4495 as 'x'. The following induces an error, until -std1 is added to get
4496 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4497 array size at least. It's necessary to write '\x00'==0 to get something
4498 that's true only with -std1. */
4499 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4501 int test (int i, double x);
4502 struct s1 {int (*f) (int a);};
4503 struct s2 {int (*f) (double a);};
4504 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4510 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4515 # Don't try gcc -ansi; that turns off useful extensions and
4516 # breaks some systems' header files.
4517 # AIX -qlanglvl=ansi
4518 # Ultrix and OSF/1 -std1
4519 # HP-UX 10.20 and later -Ae
4520 # HP-UX older versions -Aa -D_HPUX_SOURCE
4521 # SVR4 -Xc -D__EXTENSIONS__
4522 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4524 CC
="$ac_save_CC $ac_arg"
4525 rm -f conftest.
$ac_objext
4526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4527 (eval $ac_compile) 2>conftest.er1
4529 grep -v '^ *+' conftest.er1
>conftest.err
4531 cat conftest.err
>&5
4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533 (exit $ac_status); } &&
4534 { ac_try
='test -z "$ac_c_werror_flag"
4535 || test ! -s conftest.err'
4536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4540 (exit $ac_status); }; } &&
4541 { ac_try
='test -s conftest.$ac_objext'
4542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); }; }; then
4547 ac_cv_prog_cc_stdc
=$ac_arg
4550 echo "$as_me: failed program was:" >&5
4551 sed 's/^/| /' conftest.
$ac_ext >&5
4554 rm -f conftest.err conftest.
$ac_objext
4556 rm -f conftest.
$ac_ext conftest.
$ac_objext
4561 case "x$ac_cv_prog_cc_stdc" in
4563 echo "$as_me:$LINENO: result: none needed" >&5
4564 echo "${ECHO_T}none needed" >&6 ;;
4566 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4567 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4568 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4571 # Some people use a C++ compiler to compile C. Since we use `exit',
4572 # in C++ we need to declare it. In case someone uses the same compiler
4573 # for both compiling C and C++ we need to have the C++ compiler decide
4574 # the declaration of exit, since it's the most demanding environment.
4575 cat >conftest.
$ac_ext <<_ACEOF
4580 rm -f conftest.
$ac_objext
4581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4582 (eval $ac_compile) 2>conftest.er1
4584 grep -v '^ *+' conftest.er1
>conftest.err
4586 cat conftest.err
>&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } &&
4589 { ac_try
='test -z "$ac_c_werror_flag"
4590 || test ! -s conftest.err'
4591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); }; } &&
4596 { ac_try
='test -s conftest.$ac_objext'
4597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); }; }; then
4602 for ac_declaration
in \
4604 'extern "C" void std::exit (int) throw (); using std::exit;' \
4605 'extern "C" void std::exit (int); using std::exit;' \
4606 'extern "C" void exit (int) throw ();' \
4607 'extern "C" void exit (int);' \
4610 cat >conftest.
$ac_ext <<_ACEOF
4613 cat confdefs.h
>>conftest.
$ac_ext
4614 cat >>conftest.
$ac_ext <<_ACEOF
4615 /* end confdefs.h. */
4626 rm -f conftest.
$ac_objext
4627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4628 (eval $ac_compile) 2>conftest.er1
4630 grep -v '^ *+' conftest.er1
>conftest.err
4632 cat conftest.err
>&5
4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); } &&
4635 { ac_try
='test -z "$ac_c_werror_flag"
4636 || test ! -s conftest.err'
4637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); }; } &&
4642 { ac_try
='test -s conftest.$ac_objext'
4643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647 (exit $ac_status); }; }; then
4650 echo "$as_me: failed program was:" >&5
4651 sed 's/^/| /' conftest.
$ac_ext >&5
4655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4656 cat >conftest.
$ac_ext <<_ACEOF
4659 cat confdefs.h
>>conftest.
$ac_ext
4660 cat >>conftest.
$ac_ext <<_ACEOF
4661 /* end confdefs.h. */
4671 rm -f conftest.
$ac_objext
4672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4673 (eval $ac_compile) 2>conftest.er1
4675 grep -v '^ *+' conftest.er1
>conftest.err
4677 cat conftest.err
>&5
4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); } &&
4680 { ac_try
='test -z "$ac_c_werror_flag"
4681 || test ! -s conftest.err'
4682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686 (exit $ac_status); }; } &&
4687 { ac_try
='test -s conftest.$ac_objext'
4688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692 (exit $ac_status); }; }; then
4695 echo "$as_me: failed program was:" >&5
4696 sed 's/^/| /' conftest.
$ac_ext >&5
4699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4702 if test -n "$ac_declaration"; then
4703 echo '#ifdef __cplusplus' >>confdefs.h
4704 echo $ac_declaration >>confdefs.h
4705 echo '#endif' >>confdefs.h
4709 echo "$as_me: failed program was:" >&5
4710 sed 's/^/| /' conftest.
$ac_ext >&5
4713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4715 ac_cpp
='$CPP $CPPFLAGS'
4716 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4717 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4718 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4721 ALL_LINGUAS
="fr tr ja es sv da zh_CN ro"
4722 if test -n "$ac_tool_prefix"; then
4723 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4724 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4725 echo "$as_me:$LINENO: checking for $ac_word" >&5
4726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4727 if test "${ac_cv_prog_RANLIB+set}" = set; then
4728 echo $ECHO_N "(cached) $ECHO_C" >&6
4730 if test -n "$RANLIB"; then
4731 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4737 test -z "$as_dir" && as_dir
=.
4738 for ac_exec_ext
in '' $ac_executable_extensions; do
4739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4740 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4749 RANLIB
=$ac_cv_prog_RANLIB
4750 if test -n "$RANLIB"; then
4751 echo "$as_me:$LINENO: result: $RANLIB" >&5
4752 echo "${ECHO_T}$RANLIB" >&6
4754 echo "$as_me:$LINENO: result: no" >&5
4755 echo "${ECHO_T}no" >&6
4759 if test -z "$ac_cv_prog_RANLIB"; then
4760 ac_ct_RANLIB
=$RANLIB
4761 # Extract the first word of "ranlib", so it can be a program name with args.
4762 set dummy ranlib
; 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_ac_ct_RANLIB+set}" = set; then
4766 echo $ECHO_N "(cached) $ECHO_C" >&6
4768 if test -n "$ac_ct_RANLIB"; then
4769 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4775 test -z "$as_dir" && as_dir
=.
4776 for ac_exec_ext
in '' $ac_executable_extensions; do
4777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4778 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4785 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4788 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4789 if test -n "$ac_ct_RANLIB"; then
4790 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4791 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4793 echo "$as_me:$LINENO: result: no" >&5
4794 echo "${ECHO_T}no" >&6
4797 RANLIB
=$ac_ct_RANLIB
4799 RANLIB
="$ac_cv_prog_RANLIB"
4803 ac_cpp
='$CPP $CPPFLAGS'
4804 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4805 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4806 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4807 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4808 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4809 # On Suns, sometimes $CPP names a directory.
4810 if test -n "$CPP" && test -d "$CPP"; then
4813 if test -z "$CPP"; then
4814 if test "${ac_cv_prog_CPP+set}" = set; then
4815 echo $ECHO_N "(cached) $ECHO_C" >&6
4817 # Double quotes because CPP needs to be expanded
4818 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4821 for ac_c_preproc_warn_flag
in '' yes
4823 # Use a header file that comes with gcc, so configuring glibc
4824 # with a fresh cross-compiler works.
4825 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4826 # <limits.h> exists even on freestanding compilers.
4827 # On the NeXT, cc -E runs the code through the compiler's parser,
4828 # not just through cpp. "Syntax error" is here to catch this case.
4829 cat >conftest.
$ac_ext <<_ACEOF
4832 cat confdefs.h
>>conftest.
$ac_ext
4833 cat >>conftest.
$ac_ext <<_ACEOF
4834 /* end confdefs.h. */
4836 # include <limits.h>
4838 # include <assert.h>
4842 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4843 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4845 grep -v '^ *+' conftest.er1
>conftest.err
4847 cat conftest.err
>&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); } >/dev
/null
; then
4850 if test -s conftest.err
; then
4851 ac_cpp_err
=$ac_c_preproc_warn_flag
4852 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4859 if test -z "$ac_cpp_err"; then
4862 echo "$as_me: failed program was:" >&5
4863 sed 's/^/| /' conftest.
$ac_ext >&5
4865 # Broken: fails on valid input.
4868 rm -f conftest.err conftest.
$ac_ext
4870 # OK, works on sane cases. Now check whether non-existent headers
4871 # can be detected and how.
4872 cat >conftest.
$ac_ext <<_ACEOF
4875 cat confdefs.h
>>conftest.
$ac_ext
4876 cat >>conftest.
$ac_ext <<_ACEOF
4877 /* end confdefs.h. */
4878 #include <ac_nonexistent.h>
4880 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4881 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4883 grep -v '^ *+' conftest.er1
>conftest.err
4885 cat conftest.err
>&5
4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); } >/dev
/null
; then
4888 if test -s conftest.err
; then
4889 ac_cpp_err
=$ac_c_preproc_warn_flag
4890 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4897 if test -z "$ac_cpp_err"; then
4898 # Broken: success on invalid input.
4901 echo "$as_me: failed program was:" >&5
4902 sed 's/^/| /' conftest.
$ac_ext >&5
4904 # Passes both tests.
4908 rm -f conftest.err conftest.
$ac_ext
4911 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4912 rm -f conftest.err conftest.
$ac_ext
4913 if $ac_preproc_ok; then
4925 echo "$as_me:$LINENO: result: $CPP" >&5
4926 echo "${ECHO_T}$CPP" >&6
4928 for ac_c_preproc_warn_flag
in '' yes
4930 # Use a header file that comes with gcc, so configuring glibc
4931 # with a fresh cross-compiler works.
4932 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4933 # <limits.h> exists even on freestanding compilers.
4934 # On the NeXT, cc -E runs the code through the compiler's parser,
4935 # not just through cpp. "Syntax error" is here to catch this case.
4936 cat >conftest.
$ac_ext <<_ACEOF
4939 cat confdefs.h
>>conftest.
$ac_ext
4940 cat >>conftest.
$ac_ext <<_ACEOF
4941 /* end confdefs.h. */
4943 # include <limits.h>
4945 # include <assert.h>
4949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4950 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4952 grep -v '^ *+' conftest.er1
>conftest.err
4954 cat conftest.err
>&5
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); } >/dev
/null
; then
4957 if test -s conftest.err
; then
4958 ac_cpp_err
=$ac_c_preproc_warn_flag
4959 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4966 if test -z "$ac_cpp_err"; then
4969 echo "$as_me: failed program was:" >&5
4970 sed 's/^/| /' conftest.
$ac_ext >&5
4972 # Broken: fails on valid input.
4975 rm -f conftest.err conftest.
$ac_ext
4977 # OK, works on sane cases. Now check whether non-existent headers
4978 # can be detected and how.
4979 cat >conftest.
$ac_ext <<_ACEOF
4982 cat confdefs.h
>>conftest.
$ac_ext
4983 cat >>conftest.
$ac_ext <<_ACEOF
4984 /* end confdefs.h. */
4985 #include <ac_nonexistent.h>
4987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4988 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4990 grep -v '^ *+' conftest.er1
>conftest.err
4992 cat conftest.err
>&5
4993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994 (exit $ac_status); } >/dev
/null
; then
4995 if test -s conftest.err
; then
4996 ac_cpp_err
=$ac_c_preproc_warn_flag
4997 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5004 if test -z "$ac_cpp_err"; then
5005 # Broken: success on invalid input.
5008 echo "$as_me: failed program was:" >&5
5009 sed 's/^/| /' conftest.
$ac_ext >&5
5011 # Passes both tests.
5015 rm -f conftest.err conftest.
$ac_ext
5018 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5019 rm -f conftest.err conftest.
$ac_ext
5020 if $ac_preproc_ok; then
5023 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5024 See \`config.log' for more details." >&5
5025 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5026 See \`config.log' for more details." >&2;}
5027 { (exit 1); exit 1; }; }
5031 ac_cpp
='$CPP $CPPFLAGS'
5032 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5033 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5034 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5037 echo "$as_me:$LINENO: checking for egrep" >&5
5038 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5039 if test "${ac_cv_prog_egrep+set}" = set; then
5040 echo $ECHO_N "(cached) $ECHO_C" >&6
5042 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5043 then ac_cv_prog_egrep
='grep -E'
5044 else ac_cv_prog_egrep
='egrep'
5047 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5048 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5049 EGREP
=$ac_cv_prog_egrep
5052 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5053 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5054 if test "${ac_cv_header_stdc+set}" = set; then
5055 echo $ECHO_N "(cached) $ECHO_C" >&6
5057 cat >conftest.
$ac_ext <<_ACEOF
5060 cat confdefs.h
>>conftest.
$ac_ext
5061 cat >>conftest.
$ac_ext <<_ACEOF
5062 /* end confdefs.h. */
5076 rm -f conftest.
$ac_objext
5077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5078 (eval $ac_compile) 2>conftest.er1
5080 grep -v '^ *+' conftest.er1
>conftest.err
5082 cat conftest.err
>&5
5083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5084 (exit $ac_status); } &&
5085 { ac_try
='test -z "$ac_c_werror_flag"
5086 || test ! -s conftest.err'
5087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091 (exit $ac_status); }; } &&
5092 { ac_try
='test -s conftest.$ac_objext'
5093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5097 (exit $ac_status); }; }; then
5098 ac_cv_header_stdc
=yes
5100 echo "$as_me: failed program was:" >&5
5101 sed 's/^/| /' conftest.
$ac_ext >&5
5103 ac_cv_header_stdc
=no
5105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5107 if test $ac_cv_header_stdc = yes; then
5108 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5109 cat >conftest.
$ac_ext <<_ACEOF
5112 cat confdefs.h
>>conftest.
$ac_ext
5113 cat >>conftest.
$ac_ext <<_ACEOF
5114 /* end confdefs.h. */
5118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5119 $EGREP "memchr" >/dev
/null
2>&1; then
5122 ac_cv_header_stdc
=no
5128 if test $ac_cv_header_stdc = yes; then
5129 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5130 cat >conftest.
$ac_ext <<_ACEOF
5133 cat confdefs.h
>>conftest.
$ac_ext
5134 cat >>conftest.
$ac_ext <<_ACEOF
5135 /* end confdefs.h. */
5139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5140 $EGREP "free" >/dev
/null
2>&1; then
5143 ac_cv_header_stdc
=no
5149 if test $ac_cv_header_stdc = yes; then
5150 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5151 if test "$cross_compiling" = yes; then
5154 cat >conftest.
$ac_ext <<_ACEOF
5157 cat confdefs.h
>>conftest.
$ac_ext
5158 cat >>conftest.
$ac_ext <<_ACEOF
5159 /* end confdefs.h. */
5161 #if ((' ' & 0x0FF) == 0x020)
5162 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5163 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5165 # define ISLOWER(c) \
5166 (('a' <= (c) && (c) <= 'i') \
5167 || ('j' <= (c) && (c) <= 'r') \
5168 || ('s' <= (c) && (c) <= 'z'))
5169 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5172 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5177 for (i = 0; i < 256; i++)
5178 if (XOR (islower (i), ISLOWER (i))
5179 || toupper (i) != TOUPPER (i))
5184 rm -f conftest
$ac_exeext
5185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5186 (eval $ac_link) 2>&5
5188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194 (exit $ac_status); }; }; then
5197 echo "$as_me: program exited with status $ac_status" >&5
5198 echo "$as_me: failed program was:" >&5
5199 sed 's/^/| /' conftest.
$ac_ext >&5
5202 ac_cv_header_stdc
=no
5204 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5208 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5209 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5210 if test $ac_cv_header_stdc = yes; then
5212 cat >>confdefs.h
<<\_ACEOF
5213 #define STDC_HEADERS 1
5218 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5219 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5220 if test "${ac_cv_c_const+set}" = set; then
5221 echo $ECHO_N "(cached) $ECHO_C" >&6
5223 cat >conftest.
$ac_ext <<_ACEOF
5226 cat confdefs.h
>>conftest.
$ac_ext
5227 cat >>conftest.
$ac_ext <<_ACEOF
5228 /* end confdefs.h. */
5233 /* FIXME: Include the comments suggested by Paul. */
5235 /* Ultrix mips cc rejects this. */
5236 typedef int charset[2];
5238 /* SunOS 4.1.1 cc rejects this. */
5239 char const *const *ccp;
5241 /* NEC SVR4.0.2 mips cc rejects this. */
5242 struct point {int x, y;};
5243 static struct point const zero = {0,0};
5244 /* AIX XL C 1.02.0.0 rejects this.
5245 It does not let you subtract one const X* pointer from another in
5246 an arm of an if-expression whose if-part is not a constant
5248 const char *g = "string";
5249 ccp = &g + (g ? g-g : 0);
5250 /* HPUX 7.0 cc rejects these. */
5253 ccp = (char const *const *) p;
5254 { /* SCO 3.2v4 cc rejects this. */
5256 char const *s = 0 ? (char *) 0 : (char const *) 0;
5260 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5262 const int *foo = &x[0];
5265 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5266 typedef const int *iptr;
5270 { /* AIX XL C 1.02.0.0 rejects this saying
5271 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5272 struct s { int j; const int *ap[3]; };
5273 struct s *b; b->j = 5;
5275 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5284 rm -f conftest.
$ac_objext
5285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5286 (eval $ac_compile) 2>conftest.er1
5288 grep -v '^ *+' conftest.er1
>conftest.err
5290 cat conftest.err
>&5
5291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5292 (exit $ac_status); } &&
5293 { ac_try
='test -z "$ac_c_werror_flag"
5294 || test ! -s conftest.err'
5295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5299 (exit $ac_status); }; } &&
5300 { ac_try
='test -s conftest.$ac_objext'
5301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5305 (exit $ac_status); }; }; then
5308 echo "$as_me: failed program was:" >&5
5309 sed 's/^/| /' conftest.
$ac_ext >&5
5313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5315 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5316 echo "${ECHO_T}$ac_cv_c_const" >&6
5317 if test $ac_cv_c_const = no
; then
5319 cat >>confdefs.h
<<\_ACEOF
5325 echo "$as_me:$LINENO: checking for inline" >&5
5326 echo $ECHO_N "checking for inline... $ECHO_C" >&6
5327 if test "${ac_cv_c_inline+set}" = set; then
5328 echo $ECHO_N "(cached) $ECHO_C" >&6
5331 for ac_kw
in inline __inline__ __inline
; do
5332 cat >conftest.
$ac_ext <<_ACEOF
5335 cat confdefs.h
>>conftest.
$ac_ext
5336 cat >>conftest.
$ac_ext <<_ACEOF
5337 /* end confdefs.h. */
5340 static $ac_kw foo_t static_foo () {return 0; }
5341 $ac_kw foo_t foo () {return 0; }
5345 rm -f conftest.
$ac_objext
5346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5347 (eval $ac_compile) 2>conftest.er1
5349 grep -v '^ *+' conftest.er1
>conftest.err
5351 cat conftest.err
>&5
5352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5353 (exit $ac_status); } &&
5354 { ac_try
='test -z "$ac_c_werror_flag"
5355 || test ! -s conftest.err'
5356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5360 (exit $ac_status); }; } &&
5361 { ac_try
='test -s conftest.$ac_objext'
5362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5366 (exit $ac_status); }; }; then
5367 ac_cv_c_inline
=$ac_kw; break
5369 echo "$as_me: failed program was:" >&5
5370 sed 's/^/| /' conftest.
$ac_ext >&5
5373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5377 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5378 echo "${ECHO_T}$ac_cv_c_inline" >&6
5381 case $ac_cv_c_inline in
5384 case $ac_cv_c_inline in
5386 *) ac_val
=$ac_cv_c_inline;;
5388 cat >>confdefs.h
<<_ACEOF
5390 #define inline $ac_val
5396 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5406 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5407 inttypes.h stdint.h unistd.h
5409 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5410 echo "$as_me:$LINENO: checking for $ac_header" >&5
5411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5412 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5413 echo $ECHO_N "(cached) $ECHO_C" >&6
5415 cat >conftest.
$ac_ext <<_ACEOF
5418 cat confdefs.h
>>conftest.
$ac_ext
5419 cat >>conftest.
$ac_ext <<_ACEOF
5420 /* end confdefs.h. */
5421 $ac_includes_default
5423 #include <$ac_header>
5425 rm -f conftest.
$ac_objext
5426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5427 (eval $ac_compile) 2>conftest.er1
5429 grep -v '^ *+' conftest.er1
>conftest.err
5431 cat conftest.err
>&5
5432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5433 (exit $ac_status); } &&
5434 { ac_try
='test -z "$ac_c_werror_flag"
5435 || test ! -s conftest.err'
5436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5440 (exit $ac_status); }; } &&
5441 { ac_try
='test -s conftest.$ac_objext'
5442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446 (exit $ac_status); }; }; then
5447 eval "$as_ac_Header=yes"
5449 echo "$as_me: failed program was:" >&5
5450 sed 's/^/| /' conftest.
$ac_ext >&5
5452 eval "$as_ac_Header=no"
5454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5458 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5459 cat >>confdefs.h
<<_ACEOF
5460 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5468 echo "$as_me:$LINENO: checking for off_t" >&5
5469 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5470 if test "${ac_cv_type_off_t+set}" = set; then
5471 echo $ECHO_N "(cached) $ECHO_C" >&6
5473 cat >conftest.
$ac_ext <<_ACEOF
5476 cat confdefs.h
>>conftest.
$ac_ext
5477 cat >>conftest.
$ac_ext <<_ACEOF
5478 /* end confdefs.h. */
5479 $ac_includes_default
5491 rm -f conftest.
$ac_objext
5492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5493 (eval $ac_compile) 2>conftest.er1
5495 grep -v '^ *+' conftest.er1
>conftest.err
5497 cat conftest.err
>&5
5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); } &&
5500 { ac_try
='test -z "$ac_c_werror_flag"
5501 || test ! -s conftest.err'
5502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506 (exit $ac_status); }; } &&
5507 { ac_try
='test -s conftest.$ac_objext'
5508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5512 (exit $ac_status); }; }; then
5513 ac_cv_type_off_t
=yes
5515 echo "$as_me: failed program was:" >&5
5516 sed 's/^/| /' conftest.
$ac_ext >&5
5520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5522 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5523 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5524 if test $ac_cv_type_off_t = yes; then
5528 cat >>confdefs.h
<<_ACEOF
5534 echo "$as_me:$LINENO: checking for size_t" >&5
5535 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5536 if test "${ac_cv_type_size_t+set}" = set; then
5537 echo $ECHO_N "(cached) $ECHO_C" >&6
5539 cat >conftest.
$ac_ext <<_ACEOF
5542 cat confdefs.h
>>conftest.
$ac_ext
5543 cat >>conftest.
$ac_ext <<_ACEOF
5544 /* end confdefs.h. */
5545 $ac_includes_default
5551 if (sizeof (size_t))
5557 rm -f conftest.
$ac_objext
5558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5559 (eval $ac_compile) 2>conftest.er1
5561 grep -v '^ *+' conftest.er1
>conftest.err
5563 cat conftest.err
>&5
5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565 (exit $ac_status); } &&
5566 { ac_try
='test -z "$ac_c_werror_flag"
5567 || test ! -s conftest.err'
5568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572 (exit $ac_status); }; } &&
5573 { ac_try
='test -s conftest.$ac_objext'
5574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578 (exit $ac_status); }; }; then
5579 ac_cv_type_size_t
=yes
5581 echo "$as_me: failed program was:" >&5
5582 sed 's/^/| /' conftest.
$ac_ext >&5
5584 ac_cv_type_size_t
=no
5586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5588 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5589 echo "${ECHO_T}$ac_cv_type_size_t" >&6
5590 if test $ac_cv_type_size_t = yes; then
5594 cat >>confdefs.h
<<_ACEOF
5595 #define size_t unsigned
5600 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5601 # for constant arguments. Useless!
5602 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5603 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5604 if test "${ac_cv_working_alloca_h+set}" = set; then
5605 echo $ECHO_N "(cached) $ECHO_C" >&6
5607 cat >conftest.
$ac_ext <<_ACEOF
5610 cat confdefs.h
>>conftest.
$ac_ext
5611 cat >>conftest.
$ac_ext <<_ACEOF
5612 /* end confdefs.h. */
5617 char *p = (char *) alloca (2 * sizeof (int));
5622 rm -f conftest.
$ac_objext conftest
$ac_exeext
5623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5624 (eval $ac_link) 2>conftest.er1
5626 grep -v '^ *+' conftest.er1
>conftest.err
5628 cat conftest.err
>&5
5629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630 (exit $ac_status); } &&
5631 { ac_try
='test -z "$ac_c_werror_flag"
5632 || test ! -s conftest.err'
5633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5637 (exit $ac_status); }; } &&
5638 { ac_try
='test -s conftest$ac_exeext'
5639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5643 (exit $ac_status); }; }; then
5644 ac_cv_working_alloca_h
=yes
5646 echo "$as_me: failed program was:" >&5
5647 sed 's/^/| /' conftest.
$ac_ext >&5
5649 ac_cv_working_alloca_h
=no
5651 rm -f conftest.err conftest.
$ac_objext \
5652 conftest
$ac_exeext conftest.
$ac_ext
5654 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5655 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5656 if test $ac_cv_working_alloca_h = yes; then
5658 cat >>confdefs.h
<<\_ACEOF
5659 #define HAVE_ALLOCA_H 1
5664 echo "$as_me:$LINENO: checking for alloca" >&5
5665 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5666 if test "${ac_cv_func_alloca_works+set}" = set; then
5667 echo $ECHO_N "(cached) $ECHO_C" >&6
5669 cat >conftest.
$ac_ext <<_ACEOF
5672 cat confdefs.h
>>conftest.
$ac_ext
5673 cat >>conftest.
$ac_ext <<_ACEOF
5674 /* end confdefs.h. */
5676 # define alloca __builtin_alloca
5679 # include <malloc.h>
5680 # define alloca _alloca
5683 # include <alloca.h>
5688 # ifndef alloca /* predefined by HP cc +Olibcalls */
5699 char *p = (char *) alloca (1);
5704 rm -f conftest.
$ac_objext conftest
$ac_exeext
5705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5706 (eval $ac_link) 2>conftest.er1
5708 grep -v '^ *+' conftest.er1
>conftest.err
5710 cat conftest.err
>&5
5711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712 (exit $ac_status); } &&
5713 { ac_try
='test -z "$ac_c_werror_flag"
5714 || test ! -s conftest.err'
5715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719 (exit $ac_status); }; } &&
5720 { ac_try
='test -s conftest$ac_exeext'
5721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5725 (exit $ac_status); }; }; then
5726 ac_cv_func_alloca_works
=yes
5728 echo "$as_me: failed program was:" >&5
5729 sed 's/^/| /' conftest.
$ac_ext >&5
5731 ac_cv_func_alloca_works
=no
5733 rm -f conftest.err conftest.
$ac_objext \
5734 conftest
$ac_exeext conftest.
$ac_ext
5736 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5737 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
5739 if test $ac_cv_func_alloca_works = yes; then
5741 cat >>confdefs.h
<<\_ACEOF
5742 #define HAVE_ALLOCA 1
5746 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5747 # that cause trouble. Some versions do not even contain alloca or
5748 # contain a buggy version. If you still want to use their alloca,
5749 # use ar to extract alloca.o from them instead of compiling alloca.c.
5751 ALLOCA
=alloca.
$ac_objext
5753 cat >>confdefs.h
<<\_ACEOF
5758 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
5759 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
5760 if test "${ac_cv_os_cray+set}" = set; then
5761 echo $ECHO_N "(cached) $ECHO_C" >&6
5763 cat >conftest.
$ac_ext <<_ACEOF
5766 cat confdefs.h
>>conftest.
$ac_ext
5767 cat >>conftest.
$ac_ext <<_ACEOF
5768 /* end confdefs.h. */
5769 #if defined(CRAY) && ! defined(CRAY2)
5776 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5777 $EGREP "webecray" >/dev
/null
2>&1; then
5785 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
5786 echo "${ECHO_T}$ac_cv_os_cray" >&6
5787 if test $ac_cv_os_cray = yes; then
5788 for ac_func
in _getb67 GETB67 getb67
; do
5789 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5790 echo "$as_me:$LINENO: checking for $ac_func" >&5
5791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5792 if eval "test \"\${$as_ac_var+set}\" = set"; then
5793 echo $ECHO_N "(cached) $ECHO_C" >&6
5795 cat >conftest.
$ac_ext <<_ACEOF
5798 cat confdefs.h
>>conftest.
$ac_ext
5799 cat >>conftest.
$ac_ext <<_ACEOF
5800 /* end confdefs.h. */
5801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5803 #define $ac_func innocuous_$ac_func
5805 /* System header to define __stub macros and hopefully few prototypes,
5806 which can conflict with char $ac_func (); below.
5807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5808 <limits.h> exists even on freestanding compilers. */
5811 # include <limits.h>
5813 # include <assert.h>
5818 /* Override any gcc2 internal prototype to avoid an error. */
5823 /* We use char because int might match the return type of a gcc2
5824 builtin and then its argument prototype would still apply. */
5826 /* The GNU C library defines this for functions which it implements
5827 to always fail with ENOSYS. Some functions are actually named
5828 something starting with __ and the normal name is an alias. */
5829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5832 char (*f) () = $ac_func;
5841 return f != $ac_func;
5846 rm -f conftest.
$ac_objext conftest
$ac_exeext
5847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5848 (eval $ac_link) 2>conftest.er1
5850 grep -v '^ *+' conftest.er1
>conftest.err
5852 cat conftest.err
>&5
5853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854 (exit $ac_status); } &&
5855 { ac_try
='test -z "$ac_c_werror_flag"
5856 || test ! -s conftest.err'
5857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861 (exit $ac_status); }; } &&
5862 { ac_try
='test -s conftest$ac_exeext'
5863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867 (exit $ac_status); }; }; then
5868 eval "$as_ac_var=yes"
5870 echo "$as_me: failed program was:" >&5
5871 sed 's/^/| /' conftest.
$ac_ext >&5
5873 eval "$as_ac_var=no"
5875 rm -f conftest.err conftest.
$ac_objext \
5876 conftest
$ac_exeext conftest.
$ac_ext
5878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5880 if test `eval echo '${'$as_ac_var'}'` = yes; then
5882 cat >>confdefs.h
<<_ACEOF
5883 #define CRAY_STACKSEG_END $ac_func
5892 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
5893 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
5894 if test "${ac_cv_c_stack_direction+set}" = set; then
5895 echo $ECHO_N "(cached) $ECHO_C" >&6
5897 if test "$cross_compiling" = yes; then
5898 ac_cv_c_stack_direction
=0
5900 cat >conftest.
$ac_ext <<_ACEOF
5903 cat confdefs.h
>>conftest.
$ac_ext
5904 cat >>conftest.
$ac_ext <<_ACEOF
5905 /* end confdefs.h. */
5907 find_stack_direction ()
5909 static char *addr = 0;
5914 return find_stack_direction ();
5917 return (&dummy > addr) ? 1 : -1;
5923 exit (find_stack_direction () < 0);
5926 rm -f conftest
$ac_exeext
5927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5928 (eval $ac_link) 2>&5
5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); }; }; then
5937 ac_cv_c_stack_direction
=1
5939 echo "$as_me: program exited with status $ac_status" >&5
5940 echo "$as_me: failed program was:" >&5
5941 sed 's/^/| /' conftest.
$ac_ext >&5
5944 ac_cv_c_stack_direction
=-1
5946 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5949 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
5950 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
5952 cat >>confdefs.h
<<_ACEOF
5953 #define STACK_DIRECTION $ac_cv_c_stack_direction
5961 for ac_header
in stdlib.h unistd.h
5963 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5965 echo "$as_me:$LINENO: checking for $ac_header" >&5
5966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5968 echo $ECHO_N "(cached) $ECHO_C" >&6
5970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5973 # Is the header compilable?
5974 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5975 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5976 cat >conftest.
$ac_ext <<_ACEOF
5979 cat confdefs.h
>>conftest.
$ac_ext
5980 cat >>conftest.
$ac_ext <<_ACEOF
5981 /* end confdefs.h. */
5982 $ac_includes_default
5983 #include <$ac_header>
5985 rm -f conftest.
$ac_objext
5986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5987 (eval $ac_compile) 2>conftest.er1
5989 grep -v '^ *+' conftest.er1
>conftest.err
5991 cat conftest.err
>&5
5992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5993 (exit $ac_status); } &&
5994 { ac_try
='test -z "$ac_c_werror_flag"
5995 || test ! -s conftest.err'
5996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6000 (exit $ac_status); }; } &&
6001 { ac_try
='test -s conftest.$ac_objext'
6002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006 (exit $ac_status); }; }; then
6007 ac_header_compiler
=yes
6009 echo "$as_me: failed program was:" >&5
6010 sed 's/^/| /' conftest.
$ac_ext >&5
6012 ac_header_compiler
=no
6014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6015 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6016 echo "${ECHO_T}$ac_header_compiler" >&6
6018 # Is the header present?
6019 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6020 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6021 cat >conftest.
$ac_ext <<_ACEOF
6024 cat confdefs.h
>>conftest.
$ac_ext
6025 cat >>conftest.
$ac_ext <<_ACEOF
6026 /* end confdefs.h. */
6027 #include <$ac_header>
6029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6030 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6032 grep -v '^ *+' conftest.er1
>conftest.err
6034 cat conftest.err
>&5
6035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6036 (exit $ac_status); } >/dev
/null
; then
6037 if test -s conftest.err
; then
6038 ac_cpp_err
=$ac_c_preproc_warn_flag
6039 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6046 if test -z "$ac_cpp_err"; then
6047 ac_header_preproc
=yes
6049 echo "$as_me: failed program was:" >&5
6050 sed 's/^/| /' conftest.
$ac_ext >&5
6052 ac_header_preproc
=no
6054 rm -f conftest.err conftest.
$ac_ext
6055 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6056 echo "${ECHO_T}$ac_header_preproc" >&6
6058 # So? What about this header?
6059 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6061 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6062 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6064 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6065 ac_header_preproc
=yes
6068 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6069 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6070 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6071 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6072 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6073 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6074 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6075 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6077 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6078 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6079 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6082 ## ------------------------------------------ ##
6083 ## Report this to the AC_PACKAGE_NAME lists. ##
6084 ## ------------------------------------------ ##
6087 sed "s/^/$as_me: WARNING: /" >&2
6090 echo "$as_me:$LINENO: checking for $ac_header" >&5
6091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6095 eval "$as_ac_Header=\$ac_header_preproc"
6097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6102 cat >>confdefs.h
<<_ACEOF
6103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6111 for ac_func
in getpagesize
6113 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6114 echo "$as_me:$LINENO: checking for $ac_func" >&5
6115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6116 if eval "test \"\${$as_ac_var+set}\" = set"; then
6117 echo $ECHO_N "(cached) $ECHO_C" >&6
6119 cat >conftest.
$ac_ext <<_ACEOF
6122 cat confdefs.h
>>conftest.
$ac_ext
6123 cat >>conftest.
$ac_ext <<_ACEOF
6124 /* end confdefs.h. */
6125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6127 #define $ac_func innocuous_$ac_func
6129 /* System header to define __stub macros and hopefully few prototypes,
6130 which can conflict with char $ac_func (); below.
6131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6132 <limits.h> exists even on freestanding compilers. */
6135 # include <limits.h>
6137 # include <assert.h>
6142 /* Override any gcc2 internal prototype to avoid an error. */
6147 /* We use char because int might match the return type of a gcc2
6148 builtin and then its argument prototype would still apply. */
6150 /* The GNU C library defines this for functions which it implements
6151 to always fail with ENOSYS. Some functions are actually named
6152 something starting with __ and the normal name is an alias. */
6153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6156 char (*f) () = $ac_func;
6165 return f != $ac_func;
6170 rm -f conftest.
$ac_objext conftest
$ac_exeext
6171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6172 (eval $ac_link) 2>conftest.er1
6174 grep -v '^ *+' conftest.er1
>conftest.err
6176 cat conftest.err
>&5
6177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6178 (exit $ac_status); } &&
6179 { ac_try
='test -z "$ac_c_werror_flag"
6180 || test ! -s conftest.err'
6181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185 (exit $ac_status); }; } &&
6186 { ac_try
='test -s conftest$ac_exeext'
6187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191 (exit $ac_status); }; }; then
6192 eval "$as_ac_var=yes"
6194 echo "$as_me: failed program was:" >&5
6195 sed 's/^/| /' conftest.
$ac_ext >&5
6197 eval "$as_ac_var=no"
6199 rm -f conftest.err conftest.
$ac_objext \
6200 conftest
$ac_exeext conftest.
$ac_ext
6202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6204 if test `eval echo '${'$as_ac_var'}'` = yes; then
6205 cat >>confdefs.h
<<_ACEOF
6206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6212 echo "$as_me:$LINENO: checking for working mmap" >&5
6213 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6214 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6215 echo $ECHO_N "(cached) $ECHO_C" >&6
6217 if test "$cross_compiling" = yes; then
6218 ac_cv_func_mmap_fixed_mapped
=no
6220 cat >conftest.
$ac_ext <<_ACEOF
6223 cat confdefs.h
>>conftest.
$ac_ext
6224 cat >>conftest.
$ac_ext <<_ACEOF
6225 /* end confdefs.h. */
6226 $ac_includes_default
6227 /* malloc might have been renamed as rpl_malloc. */
6230 /* Thanks to Mike Haertel and Jim Avera for this test.
6231 Here is a matrix of mmap possibilities:
6232 mmap private not fixed
6233 mmap private fixed at somewhere currently unmapped
6234 mmap private fixed at somewhere already mapped
6235 mmap shared not fixed
6236 mmap shared fixed at somewhere currently unmapped
6237 mmap shared fixed at somewhere already mapped
6238 For private mappings, we should verify that changes cannot be read()
6239 back from the file, nor mmap's back from the file at a different
6240 address. (There have been systems where private was not correctly
6241 implemented like the infamous i386 svr4.0, and systems where the
6242 VM page cache was not coherent with the file system buffer cache
6243 like early versions of FreeBSD and possibly contemporary NetBSD.)
6244 For shared mappings, we should conversely verify that changes get
6245 propagated back to all the places they're supposed to be.
6247 Grep wants private fixed already mapped.
6248 The main things grep needs to know about mmap are:
6249 * does it exist and is it safe to write into the mmap'd area
6250 * how to use it (BSD variants) */
6253 #include <sys/mman.h>
6255 #if !STDC_HEADERS && !HAVE_STDLIB_H
6259 /* This mess was copied from the GNU getpagesize.h. */
6260 #if !HAVE_GETPAGESIZE
6261 /* Assume that all systems that can run configure have sys/param.h. */
6262 # if !HAVE_SYS_PARAM_H
6263 # define HAVE_SYS_PARAM_H 1
6266 # ifdef _SC_PAGESIZE
6267 # define getpagesize() sysconf(_SC_PAGESIZE)
6268 # else /* no _SC_PAGESIZE */
6269 # if HAVE_SYS_PARAM_H
6270 # include <sys/param.h>
6271 # ifdef EXEC_PAGESIZE
6272 # define getpagesize() EXEC_PAGESIZE
6273 # else /* no EXEC_PAGESIZE */
6275 # define getpagesize() NBPG * CLSIZE
6278 # endif /* no CLSIZE */
6279 # else /* no NBPG */
6281 # define getpagesize() NBPC
6282 # else /* no NBPC */
6284 # define getpagesize() PAGESIZE
6285 # endif /* PAGESIZE */
6286 # endif /* no NBPC */
6287 # endif /* no NBPG */
6288 # endif /* no EXEC_PAGESIZE */
6289 # else /* no HAVE_SYS_PARAM_H */
6290 # define getpagesize() 8192 /* punt totally */
6291 # endif /* no HAVE_SYS_PARAM_H */
6292 # endif /* no _SC_PAGESIZE */
6294 #endif /* no HAVE_GETPAGESIZE */
6299 char *data, *data2, *data3;
6303 pagesize = getpagesize ();
6305 /* First, make a file with some known garbage in it. */
6306 data = (char *) malloc (pagesize);
6309 for (i = 0; i < pagesize; ++i)
6310 *(data + i) = rand ();
6312 fd = creat ("conftest.mmap", 0600);
6315 if (write (fd, data, pagesize) != pagesize)
6319 /* Next, try to mmap the file at a fixed address which already has
6320 something else allocated at it. If we can, also make sure that
6321 we see the same garbage. */
6322 fd = open ("conftest.mmap", O_RDWR);
6325 data2 = (char *) malloc (2 * pagesize);
6328 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6329 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6330 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6332 for (i = 0; i < pagesize; ++i)
6333 if (*(data + i) != *(data2 + i))
6336 /* Finally, make sure that changes to the mapped area do not
6337 percolate back to the file as seen by read(). (This is a bug on
6338 some variants of i386 svr4.0.) */
6339 for (i = 0; i < pagesize; ++i)
6340 *(data2 + i) = *(data2 + i) + 1;
6341 data3 = (char *) malloc (pagesize);
6344 if (read (fd, data3, pagesize) != pagesize)
6346 for (i = 0; i < pagesize; ++i)
6347 if (*(data + i) != *(data3 + i))
6353 rm -f conftest
$ac_exeext
6354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6355 (eval $ac_link) 2>&5
6357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6358 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6363 (exit $ac_status); }; }; then
6364 ac_cv_func_mmap_fixed_mapped
=yes
6366 echo "$as_me: program exited with status $ac_status" >&5
6367 echo "$as_me: failed program was:" >&5
6368 sed 's/^/| /' conftest.
$ac_ext >&5
6371 ac_cv_func_mmap_fixed_mapped
=no
6373 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6376 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6377 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6378 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6380 cat >>confdefs.h
<<\_ACEOF
6397 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
6398 unistd.h values.h sys
/param.h
6400 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6402 echo "$as_me:$LINENO: checking for $ac_header" >&5
6403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6405 echo $ECHO_N "(cached) $ECHO_C" >&6
6407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6408 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6410 # Is the header compilable?
6411 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6412 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6413 cat >conftest.
$ac_ext <<_ACEOF
6416 cat confdefs.h
>>conftest.
$ac_ext
6417 cat >>conftest.
$ac_ext <<_ACEOF
6418 /* end confdefs.h. */
6419 $ac_includes_default
6420 #include <$ac_header>
6422 rm -f conftest.
$ac_objext
6423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6424 (eval $ac_compile) 2>conftest.er1
6426 grep -v '^ *+' conftest.er1
>conftest.err
6428 cat conftest.err
>&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); } &&
6431 { ac_try
='test -z "$ac_c_werror_flag"
6432 || test ! -s conftest.err'
6433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437 (exit $ac_status); }; } &&
6438 { ac_try
='test -s conftest.$ac_objext'
6439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6443 (exit $ac_status); }; }; then
6444 ac_header_compiler
=yes
6446 echo "$as_me: failed program was:" >&5
6447 sed 's/^/| /' conftest.
$ac_ext >&5
6449 ac_header_compiler
=no
6451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6452 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6453 echo "${ECHO_T}$ac_header_compiler" >&6
6455 # Is the header present?
6456 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6457 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6458 cat >conftest.
$ac_ext <<_ACEOF
6461 cat confdefs.h
>>conftest.
$ac_ext
6462 cat >>conftest.
$ac_ext <<_ACEOF
6463 /* end confdefs.h. */
6464 #include <$ac_header>
6466 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6467 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6469 grep -v '^ *+' conftest.er1
>conftest.err
6471 cat conftest.err
>&5
6472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6473 (exit $ac_status); } >/dev
/null
; then
6474 if test -s conftest.err
; then
6475 ac_cpp_err
=$ac_c_preproc_warn_flag
6476 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6483 if test -z "$ac_cpp_err"; then
6484 ac_header_preproc
=yes
6486 echo "$as_me: failed program was:" >&5
6487 sed 's/^/| /' conftest.
$ac_ext >&5
6489 ac_header_preproc
=no
6491 rm -f conftest.err conftest.
$ac_ext
6492 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6493 echo "${ECHO_T}$ac_header_preproc" >&6
6495 # So? What about this header?
6496 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6498 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6499 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6500 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6501 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6502 ac_header_preproc
=yes
6505 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6506 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6507 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6508 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6509 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6510 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6511 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6512 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6514 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6515 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6516 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6519 ## ------------------------------------------ ##
6520 ## Report this to the AC_PACKAGE_NAME lists. ##
6521 ## ------------------------------------------ ##
6524 sed "s/^/$as_me: WARNING: /" >&2
6527 echo "$as_me:$LINENO: checking for $ac_header" >&5
6528 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6530 echo $ECHO_N "(cached) $ECHO_C" >&6
6532 eval "$as_ac_Header=\$ac_header_preproc"
6534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6535 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6538 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6539 cat >>confdefs.h
<<_ACEOF
6540 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6557 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
6558 __argz_count __argz_stringify __argz_next
6560 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6561 echo "$as_me:$LINENO: checking for $ac_func" >&5
6562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6563 if eval "test \"\${$as_ac_var+set}\" = set"; then
6564 echo $ECHO_N "(cached) $ECHO_C" >&6
6566 cat >conftest.
$ac_ext <<_ACEOF
6569 cat confdefs.h
>>conftest.
$ac_ext
6570 cat >>conftest.
$ac_ext <<_ACEOF
6571 /* end confdefs.h. */
6572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6574 #define $ac_func innocuous_$ac_func
6576 /* System header to define __stub macros and hopefully few prototypes,
6577 which can conflict with char $ac_func (); below.
6578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6579 <limits.h> exists even on freestanding compilers. */
6582 # include <limits.h>
6584 # include <assert.h>
6589 /* Override any gcc2 internal prototype to avoid an error. */
6594 /* We use char because int might match the return type of a gcc2
6595 builtin and then its argument prototype would still apply. */
6597 /* The GNU C library defines this for functions which it implements
6598 to always fail with ENOSYS. Some functions are actually named
6599 something starting with __ and the normal name is an alias. */
6600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6603 char (*f) () = $ac_func;
6612 return f != $ac_func;
6617 rm -f conftest.
$ac_objext conftest
$ac_exeext
6618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6619 (eval $ac_link) 2>conftest.er1
6621 grep -v '^ *+' conftest.er1
>conftest.err
6623 cat conftest.err
>&5
6624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625 (exit $ac_status); } &&
6626 { ac_try
='test -z "$ac_c_werror_flag"
6627 || test ! -s conftest.err'
6628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632 (exit $ac_status); }; } &&
6633 { ac_try
='test -s conftest$ac_exeext'
6634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638 (exit $ac_status); }; }; then
6639 eval "$as_ac_var=yes"
6641 echo "$as_me: failed program was:" >&5
6642 sed 's/^/| /' conftest.
$ac_ext >&5
6644 eval "$as_ac_var=no"
6646 rm -f conftest.err conftest.
$ac_objext \
6647 conftest
$ac_exeext conftest.
$ac_ext
6649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6651 if test `eval echo '${'$as_ac_var'}'` = yes; then
6652 cat >>confdefs.h
<<_ACEOF
6653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6660 if test "${ac_cv_func_stpcpy+set}" != "set"; then
6662 for ac_func
in stpcpy
6664 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6665 echo "$as_me:$LINENO: checking for $ac_func" >&5
6666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6667 if eval "test \"\${$as_ac_var+set}\" = set"; then
6668 echo $ECHO_N "(cached) $ECHO_C" >&6
6670 cat >conftest.
$ac_ext <<_ACEOF
6673 cat confdefs.h
>>conftest.
$ac_ext
6674 cat >>conftest.
$ac_ext <<_ACEOF
6675 /* end confdefs.h. */
6676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6678 #define $ac_func innocuous_$ac_func
6680 /* System header to define __stub macros and hopefully few prototypes,
6681 which can conflict with char $ac_func (); below.
6682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6683 <limits.h> exists even on freestanding compilers. */
6686 # include <limits.h>
6688 # include <assert.h>
6693 /* Override any gcc2 internal prototype to avoid an error. */
6698 /* We use char because int might match the return type of a gcc2
6699 builtin and then its argument prototype would still apply. */
6701 /* The GNU C library defines this for functions which it implements
6702 to always fail with ENOSYS. Some functions are actually named
6703 something starting with __ and the normal name is an alias. */
6704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6707 char (*f) () = $ac_func;
6716 return f != $ac_func;
6721 rm -f conftest.
$ac_objext conftest
$ac_exeext
6722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6723 (eval $ac_link) 2>conftest.er1
6725 grep -v '^ *+' conftest.er1
>conftest.err
6727 cat conftest.err
>&5
6728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6729 (exit $ac_status); } &&
6730 { ac_try
='test -z "$ac_c_werror_flag"
6731 || test ! -s conftest.err'
6732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6736 (exit $ac_status); }; } &&
6737 { ac_try
='test -s conftest$ac_exeext'
6738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6742 (exit $ac_status); }; }; then
6743 eval "$as_ac_var=yes"
6745 echo "$as_me: failed program was:" >&5
6746 sed 's/^/| /' conftest.
$ac_ext >&5
6748 eval "$as_ac_var=no"
6750 rm -f conftest.err conftest.
$ac_objext \
6751 conftest
$ac_exeext conftest.
$ac_ext
6753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6755 if test `eval echo '${'$as_ac_var'}'` = yes; then
6756 cat >>confdefs.h
<<_ACEOF
6757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6764 if test "${ac_cv_func_stpcpy}" = "yes"; then
6766 cat >>confdefs.h
<<\_ACEOF
6767 #define HAVE_STPCPY 1
6772 if test $ac_cv_header_locale_h = yes; then
6773 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
6774 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
6775 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6776 echo $ECHO_N "(cached) $ECHO_C" >&6
6778 cat >conftest.
$ac_ext <<_ACEOF
6781 cat confdefs.h
>>conftest.
$ac_ext
6782 cat >>conftest.
$ac_ext <<_ACEOF
6783 /* end confdefs.h. */
6793 rm -f conftest.
$ac_objext conftest
$ac_exeext
6794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6795 (eval $ac_link) 2>conftest.er1
6797 grep -v '^ *+' conftest.er1
>conftest.err
6799 cat conftest.err
>&5
6800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801 (exit $ac_status); } &&
6802 { ac_try
='test -z "$ac_c_werror_flag"
6803 || test ! -s conftest.err'
6804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6808 (exit $ac_status); }; } &&
6809 { ac_try
='test -s conftest$ac_exeext'
6810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6814 (exit $ac_status); }; }; then
6815 am_cv_val_LC_MESSAGES
=yes
6817 echo "$as_me: failed program was:" >&5
6818 sed 's/^/| /' conftest.
$ac_ext >&5
6820 am_cv_val_LC_MESSAGES
=no
6822 rm -f conftest.err conftest.
$ac_objext \
6823 conftest
$ac_exeext conftest.
$ac_ext
6825 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
6826 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
6827 if test $am_cv_val_LC_MESSAGES = yes; then
6829 cat >>confdefs.h
<<\_ACEOF
6830 #define HAVE_LC_MESSAGES 1
6835 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
6836 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
6837 # Check whether --enable-nls or --disable-nls was given.
6838 if test "${enable_nls+set}" = set; then
6839 enableval
="$enable_nls"
6844 echo "$as_me:$LINENO: result: $USE_NLS" >&5
6845 echo "${ECHO_T}$USE_NLS" >&6
6848 USE_INCLUDED_LIBINTL
=no
6850 if test "$USE_NLS" = "yes"; then
6852 cat >>confdefs.h
<<\_ACEOF
6853 #define ENABLE_NLS 1
6856 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
6857 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
6859 # Check whether --with-included-gettext or --without-included-gettext was given.
6860 if test "${with_included_gettext+set}" = set; then
6861 withval
="$with_included_gettext"
6862 nls_cv_force_use_gnu_gettext
=$withval
6864 nls_cv_force_use_gnu_gettext
=no
6866 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
6867 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
6869 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
6870 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
6872 nls_cv_header_libgt
=
6875 if test "${ac_cv_header_libintl_h+set}" = set; then
6876 echo "$as_me:$LINENO: checking for libintl.h" >&5
6877 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
6878 if test "${ac_cv_header_libintl_h+set}" = set; then
6879 echo $ECHO_N "(cached) $ECHO_C" >&6
6881 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6882 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
6884 # Is the header compilable?
6885 echo "$as_me:$LINENO: checking libintl.h usability" >&5
6886 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
6887 cat >conftest.
$ac_ext <<_ACEOF
6890 cat confdefs.h
>>conftest.
$ac_ext
6891 cat >>conftest.
$ac_ext <<_ACEOF
6892 /* end confdefs.h. */
6893 $ac_includes_default
6894 #include <libintl.h>
6896 rm -f conftest.
$ac_objext
6897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6898 (eval $ac_compile) 2>conftest.er1
6900 grep -v '^ *+' conftest.er1
>conftest.err
6902 cat conftest.err
>&5
6903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904 (exit $ac_status); } &&
6905 { ac_try
='test -z "$ac_c_werror_flag"
6906 || test ! -s conftest.err'
6907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911 (exit $ac_status); }; } &&
6912 { ac_try
='test -s conftest.$ac_objext'
6913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6917 (exit $ac_status); }; }; then
6918 ac_header_compiler
=yes
6920 echo "$as_me: failed program was:" >&5
6921 sed 's/^/| /' conftest.
$ac_ext >&5
6923 ac_header_compiler
=no
6925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6926 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6927 echo "${ECHO_T}$ac_header_compiler" >&6
6929 # Is the header present?
6930 echo "$as_me:$LINENO: checking libintl.h presence" >&5
6931 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
6932 cat >conftest.
$ac_ext <<_ACEOF
6935 cat confdefs.h
>>conftest.
$ac_ext
6936 cat >>conftest.
$ac_ext <<_ACEOF
6937 /* end confdefs.h. */
6938 #include <libintl.h>
6940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6941 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6943 grep -v '^ *+' conftest.er1
>conftest.err
6945 cat conftest.err
>&5
6946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6947 (exit $ac_status); } >/dev
/null
; then
6948 if test -s conftest.err
; then
6949 ac_cpp_err
=$ac_c_preproc_warn_flag
6950 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6957 if test -z "$ac_cpp_err"; then
6958 ac_header_preproc
=yes
6960 echo "$as_me: failed program was:" >&5
6961 sed 's/^/| /' conftest.
$ac_ext >&5
6963 ac_header_preproc
=no
6965 rm -f conftest.err conftest.
$ac_ext
6966 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6967 echo "${ECHO_T}$ac_header_preproc" >&6
6969 # So? What about this header?
6970 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6972 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6973 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6974 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
6975 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
6976 ac_header_preproc
=yes
6979 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
6980 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
6981 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
6982 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
6983 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
6984 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
6985 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
6986 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
6987 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
6988 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
6989 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
6990 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
6993 ## ------------------------------------------ ##
6994 ## Report this to the AC_PACKAGE_NAME lists. ##
6995 ## ------------------------------------------ ##
6998 sed "s/^/$as_me: WARNING: /" >&2
7001 echo "$as_me:$LINENO: checking for libintl.h" >&5
7002 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7003 if test "${ac_cv_header_libintl_h+set}" = set; then
7004 echo $ECHO_N "(cached) $ECHO_C" >&6
7006 ac_cv_header_libintl_h
=$ac_header_preproc
7008 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7009 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7012 if test $ac_cv_header_libintl_h = yes; then
7013 echo "$as_me:$LINENO: checking for gettext in libc" >&5
7014 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
7015 if test "${gt_cv_func_gettext_libc+set}" = set; then
7016 echo $ECHO_N "(cached) $ECHO_C" >&6
7018 cat >conftest.
$ac_ext <<_ACEOF
7021 cat confdefs.h
>>conftest.
$ac_ext
7022 cat >>conftest.
$ac_ext <<_ACEOF
7023 /* end confdefs.h. */
7024 #include <libintl.h>
7028 return (int) gettext ("")
7033 rm -f conftest.
$ac_objext conftest
$ac_exeext
7034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7035 (eval $ac_link) 2>conftest.er1
7037 grep -v '^ *+' conftest.er1
>conftest.err
7039 cat conftest.err
>&5
7040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7041 (exit $ac_status); } &&
7042 { ac_try
='test -z "$ac_c_werror_flag"
7043 || test ! -s conftest.err'
7044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048 (exit $ac_status); }; } &&
7049 { ac_try
='test -s conftest$ac_exeext'
7050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7054 (exit $ac_status); }; }; then
7055 gt_cv_func_gettext_libc
=yes
7057 echo "$as_me: failed program was:" >&5
7058 sed 's/^/| /' conftest.
$ac_ext >&5
7060 gt_cv_func_gettext_libc
=no
7062 rm -f conftest.err conftest.
$ac_objext \
7063 conftest
$ac_exeext conftest.
$ac_ext
7065 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
7066 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
7068 if test "$gt_cv_func_gettext_libc" != "yes"; then
7069 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
7070 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
7071 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
7072 echo $ECHO_N "(cached) $ECHO_C" >&6
7074 ac_check_lib_save_LIBS
=$LIBS
7076 cat >conftest.
$ac_ext <<_ACEOF
7079 cat confdefs.h
>>conftest.
$ac_ext
7080 cat >>conftest.
$ac_ext <<_ACEOF
7081 /* end confdefs.h. */
7083 /* Override any gcc2 internal prototype to avoid an error. */
7087 /* We use char because int might match the return type of a gcc2
7088 builtin and then its argument prototype would still apply. */
7089 char bindtextdomain ();
7098 rm -f conftest.
$ac_objext conftest
$ac_exeext
7099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7100 (eval $ac_link) 2>conftest.er1
7102 grep -v '^ *+' conftest.er1
>conftest.err
7104 cat conftest.err
>&5
7105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7106 (exit $ac_status); } &&
7107 { ac_try
='test -z "$ac_c_werror_flag"
7108 || test ! -s conftest.err'
7109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7113 (exit $ac_status); }; } &&
7114 { ac_try
='test -s conftest$ac_exeext'
7115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7119 (exit $ac_status); }; }; then
7120 ac_cv_lib_intl_bindtextdomain
=yes
7122 echo "$as_me: failed program was:" >&5
7123 sed 's/^/| /' conftest.
$ac_ext >&5
7125 ac_cv_lib_intl_bindtextdomain
=no
7127 rm -f conftest.err conftest.
$ac_objext \
7128 conftest
$ac_exeext conftest.
$ac_ext
7129 LIBS
=$ac_check_lib_save_LIBS
7131 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7132 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
7133 if test $ac_cv_lib_intl_bindtextdomain = yes; then
7134 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
7135 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
7136 if test "${gt_cv_func_gettext_libintl+set}" = set; then
7137 echo $ECHO_N "(cached) $ECHO_C" >&6
7139 cat >conftest.
$ac_ext <<_ACEOF
7142 cat confdefs.h
>>conftest.
$ac_ext
7143 cat >>conftest.
$ac_ext <<_ACEOF
7144 /* end confdefs.h. */
7149 return (int) gettext ("")
7154 rm -f conftest.
$ac_objext conftest
$ac_exeext
7155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7156 (eval $ac_link) 2>conftest.er1
7158 grep -v '^ *+' conftest.er1
>conftest.err
7160 cat conftest.err
>&5
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); } &&
7163 { ac_try
='test -z "$ac_c_werror_flag"
7164 || test ! -s conftest.err'
7165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7169 (exit $ac_status); }; } &&
7170 { ac_try
='test -s conftest$ac_exeext'
7171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175 (exit $ac_status); }; }; then
7176 gt_cv_func_gettext_libintl
=yes
7178 echo "$as_me: failed program was:" >&5
7179 sed 's/^/| /' conftest.
$ac_ext >&5
7181 gt_cv_func_gettext_libintl
=no
7183 rm -f conftest.err conftest.
$ac_objext \
7184 conftest
$ac_exeext conftest.
$ac_ext
7186 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
7187 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
7192 if test "$gt_cv_func_gettext_libc" = "yes" \
7193 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
7195 cat >>confdefs.h
<<\_ACEOF
7196 #define HAVE_GETTEXT 1
7199 # Extract the first word of "msgfmt", so it can be a program name with args.
7200 set dummy msgfmt
; ac_word
=$2
7201 echo "$as_me:$LINENO: checking for $ac_word" >&5
7202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7203 if test "${ac_cv_path_MSGFMT+set}" = set; then
7204 echo $ECHO_N "(cached) $ECHO_C" >&6
7208 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7211 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7212 for ac_dir
in $PATH; do
7213 test -z "$ac_dir" && ac_dir
=.
7214 if test -f $ac_dir/$ac_word; then
7215 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7216 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7222 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
7226 MSGFMT
="$ac_cv_path_MSGFMT"
7227 if test -n "$MSGFMT"; then
7228 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7229 echo "${ECHO_T}$MSGFMT" >&6
7231 echo "$as_me:$LINENO: result: no" >&5
7232 echo "${ECHO_T}no" >&6
7234 if test "$MSGFMT" != "no"; then
7236 for ac_func
in dcgettext
7238 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7239 echo "$as_me:$LINENO: checking for $ac_func" >&5
7240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7241 if eval "test \"\${$as_ac_var+set}\" = set"; then
7242 echo $ECHO_N "(cached) $ECHO_C" >&6
7244 cat >conftest.
$ac_ext <<_ACEOF
7247 cat confdefs.h
>>conftest.
$ac_ext
7248 cat >>conftest.
$ac_ext <<_ACEOF
7249 /* end confdefs.h. */
7250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7252 #define $ac_func innocuous_$ac_func
7254 /* System header to define __stub macros and hopefully few prototypes,
7255 which can conflict with char $ac_func (); below.
7256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7257 <limits.h> exists even on freestanding compilers. */
7260 # include <limits.h>
7262 # include <assert.h>
7267 /* Override any gcc2 internal prototype to avoid an error. */
7272 /* We use char because int might match the return type of a gcc2
7273 builtin and then its argument prototype would still apply. */
7275 /* The GNU C library defines this for functions which it implements
7276 to always fail with ENOSYS. Some functions are actually named
7277 something starting with __ and the normal name is an alias. */
7278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7281 char (*f) () = $ac_func;
7290 return f != $ac_func;
7295 rm -f conftest.
$ac_objext conftest
$ac_exeext
7296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7297 (eval $ac_link) 2>conftest.er1
7299 grep -v '^ *+' conftest.er1
>conftest.err
7301 cat conftest.err
>&5
7302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7303 (exit $ac_status); } &&
7304 { ac_try
='test -z "$ac_c_werror_flag"
7305 || test ! -s conftest.err'
7306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7310 (exit $ac_status); }; } &&
7311 { ac_try
='test -s conftest$ac_exeext'
7312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316 (exit $ac_status); }; }; then
7317 eval "$as_ac_var=yes"
7319 echo "$as_me: failed program was:" >&5
7320 sed 's/^/| /' conftest.
$ac_ext >&5
7322 eval "$as_ac_var=no"
7324 rm -f conftest.err conftest.
$ac_objext \
7325 conftest
$ac_exeext conftest.
$ac_ext
7327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7329 if test `eval echo '${'$as_ac_var'}'` = yes; then
7330 cat >>confdefs.h
<<_ACEOF
7331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7337 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7338 set dummy gmsgfmt
; ac_word
=$2
7339 echo "$as_me:$LINENO: checking for $ac_word" >&5
7340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7341 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7342 echo $ECHO_N "(cached) $ECHO_C" >&6
7346 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7353 test -z "$as_dir" && as_dir
=.
7354 for ac_exec_ext
in '' $ac_executable_extensions; do
7355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7356 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7363 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7367 GMSGFMT
=$ac_cv_path_GMSGFMT
7369 if test -n "$GMSGFMT"; then
7370 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7371 echo "${ECHO_T}$GMSGFMT" >&6
7373 echo "$as_me:$LINENO: result: no" >&5
7374 echo "${ECHO_T}no" >&6
7377 # Extract the first word of "xgettext", so it can be a program name with args.
7378 set dummy xgettext
; ac_word
=$2
7379 echo "$as_me:$LINENO: checking for $ac_word" >&5
7380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7381 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7382 echo $ECHO_N "(cached) $ECHO_C" >&6
7386 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7389 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7390 for ac_dir
in $PATH; do
7391 test -z "$ac_dir" && ac_dir
=.
7392 if test -f $ac_dir/$ac_word; then
7393 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7394 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7400 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7404 XGETTEXT
="$ac_cv_path_XGETTEXT"
7405 if test -n "$XGETTEXT"; then
7406 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7407 echo "${ECHO_T}$XGETTEXT" >&6
7409 echo "$as_me:$LINENO: result: no" >&5
7410 echo "${ECHO_T}no" >&6
7413 cat >conftest.
$ac_ext <<_ACEOF
7416 cat confdefs.h
>>conftest.
$ac_ext
7417 cat >>conftest.
$ac_ext <<_ACEOF
7418 /* end confdefs.h. */
7423 extern int _nl_msg_cat_cntr;
7424 return _nl_msg_cat_cntr
7429 rm -f conftest.
$ac_objext conftest
$ac_exeext
7430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7431 (eval $ac_link) 2>conftest.er1
7433 grep -v '^ *+' conftest.er1
>conftest.err
7435 cat conftest.err
>&5
7436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437 (exit $ac_status); } &&
7438 { ac_try
='test -z "$ac_c_werror_flag"
7439 || test ! -s conftest.err'
7440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); }; } &&
7445 { ac_try
='test -s conftest$ac_exeext'
7446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 (exit $ac_status); }; }; then
7454 echo "$as_me: failed program was:" >&5
7455 sed 's/^/| /' conftest.
$ac_ext >&5
7460 rm -f conftest.err conftest.
$ac_objext \
7461 conftest
$ac_exeext conftest.
$ac_ext
7471 if test "$CATOBJEXT" = "NONE"; then
7472 nls_cv_use_gnu_gettext
=yes
7476 if test "$nls_cv_use_gnu_gettext" = "yes"; then
7477 INTLOBJS
="\$(GETTOBJS)"
7478 # Extract the first word of "msgfmt", so it can be a program name with args.
7479 set dummy msgfmt
; ac_word
=$2
7480 echo "$as_me:$LINENO: checking for $ac_word" >&5
7481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7482 if test "${ac_cv_path_MSGFMT+set}" = set; then
7483 echo $ECHO_N "(cached) $ECHO_C" >&6
7487 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7490 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7491 for ac_dir
in $PATH; do
7492 test -z "$ac_dir" && ac_dir
=.
7493 if test -f $ac_dir/$ac_word; then
7494 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7495 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7501 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
7505 MSGFMT
="$ac_cv_path_MSGFMT"
7506 if test -n "$MSGFMT"; then
7507 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7508 echo "${ECHO_T}$MSGFMT" >&6
7510 echo "$as_me:$LINENO: result: no" >&5
7511 echo "${ECHO_T}no" >&6
7514 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7515 set dummy gmsgfmt
; ac_word
=$2
7516 echo "$as_me:$LINENO: checking for $ac_word" >&5
7517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7518 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7519 echo $ECHO_N "(cached) $ECHO_C" >&6
7523 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7530 test -z "$as_dir" && as_dir
=.
7531 for ac_exec_ext
in '' $ac_executable_extensions; do
7532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7533 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7540 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7544 GMSGFMT
=$ac_cv_path_GMSGFMT
7546 if test -n "$GMSGFMT"; then
7547 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7548 echo "${ECHO_T}$GMSGFMT" >&6
7550 echo "$as_me:$LINENO: result: no" >&5
7551 echo "${ECHO_T}no" >&6
7554 # Extract the first word of "xgettext", so it can be a program name with args.
7555 set dummy xgettext
; ac_word
=$2
7556 echo "$as_me:$LINENO: checking for $ac_word" >&5
7557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7558 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7559 echo $ECHO_N "(cached) $ECHO_C" >&6
7563 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7566 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7567 for ac_dir
in $PATH; do
7568 test -z "$ac_dir" && ac_dir
=.
7569 if test -f $ac_dir/$ac_word; then
7570 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7571 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7577 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7581 XGETTEXT
="$ac_cv_path_XGETTEXT"
7582 if test -n "$XGETTEXT"; then
7583 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7584 echo "${ECHO_T}$XGETTEXT" >&6
7586 echo "$as_me:$LINENO: result: no" >&5
7587 echo "${ECHO_T}no" >&6
7591 USE_INCLUDED_LIBINTL
=yes
7595 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
7597 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
7598 nls_cv_header_intl
=libintl.h
7599 nls_cv_header_libgt
=libgettext.h
7602 if test "$XGETTEXT" != ":"; then
7603 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
7606 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
7607 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
7612 # We need to process the po/ directory.
7616 nls_cv_header_intl
=libintl.h
7617 nls_cv_header_libgt
=libgettext.h
7620 # If this is used in GNU gettext we have to set USE_NLS to `yes'
7621 # because some of the sources are only built for this goal.
7622 if test "$PACKAGE" = gettext; then
7624 USE_INCLUDED_LIBINTL
=yes
7627 for lang
in $ALL_LINGUAS; do
7628 GMOFILES
="$GMOFILES $lang.gmo"
7629 POFILES
="$POFILES $lang.po"
7645 if test "x$CATOBJEXT" != "x"; then
7646 if test "x$ALL_LINGUAS" = "x"; then
7649 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7650 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
7652 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
7653 case "$ALL_LINGUAS" in
7654 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
7657 LINGUAS
=$NEW_LINGUAS
7658 echo "$as_me:$LINENO: result: $LINGUAS" >&5
7659 echo "${ECHO_T}$LINGUAS" >&6
7662 if test -n "$LINGUAS"; then
7663 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
7667 if test $ac_cv_header_locale_h = yes; then
7668 INCLUDE_LOCALE_H
="#include <locale.h>"
7671 /* The system does not provide the header <locale.h>. Take care yourself. */"
7675 if test -f $srcdir/po2tbl.
sed.
in; then
7676 if test "$CATOBJEXT" = ".cat"; then
7677 if test "${ac_cv_header_linux_version_h+set}" = set; then
7678 echo "$as_me:$LINENO: checking for linux/version.h" >&5
7679 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
7680 if test "${ac_cv_header_linux_version_h+set}" = set; then
7681 echo $ECHO_N "(cached) $ECHO_C" >&6
7683 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
7684 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
7686 # Is the header compilable?
7687 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
7688 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
7689 cat >conftest.
$ac_ext <<_ACEOF
7692 cat confdefs.h
>>conftest.
$ac_ext
7693 cat >>conftest.
$ac_ext <<_ACEOF
7694 /* end confdefs.h. */
7695 $ac_includes_default
7696 #include <linux/version.h>
7698 rm -f conftest.
$ac_objext
7699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7700 (eval $ac_compile) 2>conftest.er1
7702 grep -v '^ *+' conftest.er1
>conftest.err
7704 cat conftest.err
>&5
7705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7706 (exit $ac_status); } &&
7707 { ac_try
='test -z "$ac_c_werror_flag"
7708 || test ! -s conftest.err'
7709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7713 (exit $ac_status); }; } &&
7714 { ac_try
='test -s conftest.$ac_objext'
7715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7719 (exit $ac_status); }; }; then
7720 ac_header_compiler
=yes
7722 echo "$as_me: failed program was:" >&5
7723 sed 's/^/| /' conftest.
$ac_ext >&5
7725 ac_header_compiler
=no
7727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7728 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7729 echo "${ECHO_T}$ac_header_compiler" >&6
7731 # Is the header present?
7732 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
7733 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
7734 cat >conftest.
$ac_ext <<_ACEOF
7737 cat confdefs.h
>>conftest.
$ac_ext
7738 cat >>conftest.
$ac_ext <<_ACEOF
7739 /* end confdefs.h. */
7740 #include <linux/version.h>
7742 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7743 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7745 grep -v '^ *+' conftest.er1
>conftest.err
7747 cat conftest.err
>&5
7748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7749 (exit $ac_status); } >/dev
/null
; then
7750 if test -s conftest.err
; then
7751 ac_cpp_err
=$ac_c_preproc_warn_flag
7752 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7759 if test -z "$ac_cpp_err"; then
7760 ac_header_preproc
=yes
7762 echo "$as_me: failed program was:" >&5
7763 sed 's/^/| /' conftest.
$ac_ext >&5
7765 ac_header_preproc
=no
7767 rm -f conftest.err conftest.
$ac_ext
7768 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7769 echo "${ECHO_T}$ac_header_preproc" >&6
7771 # So? What about this header?
7772 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7774 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
7775 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7776 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
7777 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
7778 ac_header_preproc
=yes
7781 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
7782 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
7783 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
7784 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
7785 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
7786 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
7787 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
7788 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
7789 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
7790 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
7791 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
7792 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
7795 ## ------------------------------------------ ##
7796 ## Report this to the AC_PACKAGE_NAME lists. ##
7797 ## ------------------------------------------ ##
7800 sed "s/^/$as_me: WARNING: /" >&2
7803 echo "$as_me:$LINENO: checking for linux/version.h" >&5
7804 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
7805 if test "${ac_cv_header_linux_version_h+set}" = set; then
7806 echo $ECHO_N "(cached) $ECHO_C" >&6
7808 ac_cv_header_linux_version_h
=$ac_header_preproc
7810 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
7811 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
7814 if test $ac_cv_header_linux_version_h = yes; then
7822 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
7824 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
7825 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
7828 if test "$PACKAGE" = "gettext"; then
7838 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
7844 if test -f $srcdir/po
/POTFILES.
in; then
7845 test -d po || mkdir po
7846 if test "x$srcdir" != "x."; then
7847 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
7848 posrcprefix
="$srcdir/"
7850 posrcprefix
="../$srcdir/"
7856 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
7857 < $srcdir/po
/POTFILES.
in > po
/POTFILES
7861 # Permit host specific settings.
7862 .
${srcdir}/configure.
host
7865 # Find a good install program. We prefer a C program (faster),
7866 # so one script is as good as another. But avoid the broken or
7867 # incompatible versions:
7868 # SysV /etc/install, /usr/sbin/install
7869 # SunOS /usr/etc/install
7870 # IRIX /sbin/install
7872 # AmigaOS /C/install, which installs bootblocks on floppy discs
7873 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7874 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7875 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7876 # OS/2's system install, which has a completely different semantic
7877 # ./install, which can be erroneously created by make from ./install.sh.
7878 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7879 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
7880 if test -z "$INSTALL"; then
7881 if test "${ac_cv_path_install+set}" = set; then
7882 echo $ECHO_N "(cached) $ECHO_C" >&6
7884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7888 test -z "$as_dir" && as_dir
=.
7889 # Account for people who put trailing slashes in PATH elements.
7891 .
/ | .
// |
/cC
/* | \
7892 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
7893 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7896 # OSF1 and SCO ODT 3.0 have their own names for install.
7897 # Don't use installbsd from OSF since it installs stuff as root
7899 for ac_prog
in ginstall scoinst
install; do
7900 for ac_exec_ext
in '' $ac_executable_extensions; do
7901 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
7902 if test $ac_prog = install &&
7903 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7904 # AIX install. It has an incompatible calling convention.
7906 elif test $ac_prog = install &&
7907 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7908 # program-specific install script used by HP pwplus--don't use.
7911 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7923 if test "${ac_cv_path_install+set}" = set; then
7924 INSTALL
=$ac_cv_path_install
7926 # As a last resort, use the slow shell script. We don't cache a
7927 # path for INSTALL within a source directory, because that will
7928 # break other packages using the cache if that directory is
7929 # removed, or if the path is relative.
7930 INSTALL
=$ac_install_sh
7933 echo "$as_me:$LINENO: result: $INSTALL" >&5
7934 echo "${ECHO_T}$INSTALL" >&6
7936 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7937 # It thinks the first close brace ends the variable substitution.
7938 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7940 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7942 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7945 BFD_HOST_64BIT_LONG
=0
7946 BFD_HOST_LONG_LONG
=0
7947 BFD_HOST_64_BIT_DEFINED
=0
7951 echo "$as_me:$LINENO: checking for long long" >&5
7952 echo $ECHO_N "checking for long long... $ECHO_C" >&6
7953 if test "${bfd_cv_has_long_long+set}" = set; then
7954 echo $ECHO_N "(cached) $ECHO_C" >&6
7956 cat >conftest.
$ac_ext <<_ACEOF
7959 cat confdefs.h
>>conftest.
$ac_ext
7960 cat >>conftest.
$ac_ext <<_ACEOF
7961 /* end confdefs.h. */
7966 unsigned long long ll = 18446744073709551615ULL;
7971 rm -f conftest.
$ac_objext
7972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7973 (eval $ac_compile) 2>conftest.er1
7975 grep -v '^ *+' conftest.er1
>conftest.err
7977 cat conftest.err
>&5
7978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7979 (exit $ac_status); } &&
7980 { ac_try
='test -z "$ac_c_werror_flag"
7981 || test ! -s conftest.err'
7982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7986 (exit $ac_status); }; } &&
7987 { ac_try
='test -s conftest.$ac_objext'
7988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7992 (exit $ac_status); }; }; then
7993 bfd_cv_has_long_long
=yes
7995 echo "$as_me: failed program was:" >&5
7996 sed 's/^/| /' conftest.
$ac_ext >&5
7998 bfd_cv_has_long_long
=no
8000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8003 echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
8004 echo "${ECHO_T}$bfd_cv_has_long_long" >&6
8005 if test $bfd_cv_has_long_long = yes; then
8006 BFD_HOST_LONG_LONG
=1
8007 echo "$as_me:$LINENO: checking size of long long" >&5
8008 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
8009 if test "${ac_cv_sizeof_long_long+set}" = set; then
8010 echo $ECHO_N "(cached) $ECHO_C" >&6
8012 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
8013 cat >conftest.
$ac_ext <<_ACEOF
8016 cat confdefs.h
>>conftest.
$ac_ext
8017 cat >>conftest.
$ac_ext <<_ACEOF
8018 /* end confdefs.h. */
8019 #include "confdefs.h"
8020 #include <sys/types.h>
8026 switch (0) case 0: case (sizeof (long long) == $ac_size):;
8031 rm -f conftest.
$ac_objext
8032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8033 (eval $ac_compile) 2>conftest.er1
8035 grep -v '^ *+' conftest.er1
>conftest.err
8037 cat conftest.err
>&5
8038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039 (exit $ac_status); } &&
8040 { ac_try
='test -z "$ac_c_werror_flag"
8041 || test ! -s conftest.err'
8042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8046 (exit $ac_status); }; } &&
8047 { ac_try
='test -s conftest.$ac_objext'
8048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8052 (exit $ac_status); }; }; then
8053 ac_cv_sizeof_long_long
=$ac_size
8055 echo "$as_me: failed program was:" >&5
8056 sed 's/^/| /' conftest.
$ac_ext >&5
8059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8060 if test x
$ac_cv_sizeof_long_long != x
; then break; fi
8065 if test x
$ac_cv_sizeof_long_long = x
; then
8066 { { echo "$as_me:$LINENO: error: cannot determine a size for long long" >&5
8067 echo "$as_me: error: cannot determine a size for long long" >&2;}
8068 { (exit 1); exit 1; }; }
8070 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
8071 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
8073 cat >>confdefs.h
<<_ACEOF
8074 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8080 echo "$as_me:$LINENO: checking size of long" >&5
8081 echo $ECHO_N "checking size of long... $ECHO_C" >&6
8082 if test "${ac_cv_sizeof_long+set}" = set; then
8083 echo $ECHO_N "(cached) $ECHO_C" >&6
8085 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
8086 cat >conftest.
$ac_ext <<_ACEOF
8089 cat confdefs.h
>>conftest.
$ac_ext
8090 cat >>conftest.
$ac_ext <<_ACEOF
8091 /* end confdefs.h. */
8092 #include "confdefs.h"
8093 #include <sys/types.h>
8099 switch (0) case 0: case (sizeof (long) == $ac_size):;
8104 rm -f conftest.
$ac_objext
8105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8106 (eval $ac_compile) 2>conftest.er1
8108 grep -v '^ *+' conftest.er1
>conftest.err
8110 cat conftest.err
>&5
8111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8112 (exit $ac_status); } &&
8113 { ac_try
='test -z "$ac_c_werror_flag"
8114 || test ! -s conftest.err'
8115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8119 (exit $ac_status); }; } &&
8120 { ac_try
='test -s conftest.$ac_objext'
8121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8125 (exit $ac_status); }; }; then
8126 ac_cv_sizeof_long
=$ac_size
8128 echo "$as_me: failed program was:" >&5
8129 sed 's/^/| /' conftest.
$ac_ext >&5
8132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8133 if test x
$ac_cv_sizeof_long != x
; then break; fi
8138 if test x
$ac_cv_sizeof_long = x
; then
8139 { { echo "$as_me:$LINENO: error: cannot determine a size for long" >&5
8140 echo "$as_me: error: cannot determine a size for long" >&2;}
8141 { (exit 1); exit 1; }; }
8143 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
8144 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8146 cat >>confdefs.h
<<_ACEOF
8147 #define SIZEOF_LONG $ac_cv_sizeof_long
8151 if test "x${ac_cv_sizeof_long}" = "x8"; then
8153 BFD_HOST_64BIT_LONG
=1
8154 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long"
8155 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long"
8156 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
8157 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long long"
8158 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long long"
8161 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
8162 BFD_HOST_64_BIT_DEFINED
=1
8163 BFD_HOST_64_BIT
="${HOST_64BIT_TYPE}"
8164 BFD_HOST_U_64_BIT
="${HOST_U_64BIT_TYPE}"
8173 # Put a plausible default for CC_FOR_BUILD in Makefile.
8174 if test -z "$CC_FOR_BUILD"; then
8175 if test "x$cross_compiling" = "xno"; then
8176 CC_FOR_BUILD
='$(CC)'
8182 # Also set EXEEXT_FOR_BUILD.
8183 if test "x$cross_compiling" = "xno"; then
8184 EXEEXT_FOR_BUILD
='$(EXEEXT)'
8186 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
8187 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
8188 if test "${bfd_cv_build_exeext+set}" = set; then
8189 echo $ECHO_N "(cached) $ECHO_C" >&6
8192 echo 'int main () { return 0; }' > conftest.c
8193 bfd_cv_build_exeext
=
8194 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
8195 for file in conftest.
*; do
8197 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
8198 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
8202 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
8204 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
8205 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
8207 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
8217 for ac_header
in stddef.h string.h
strings.h stdlib.h
time.h unistd.h
8219 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8221 echo "$as_me:$LINENO: checking for $ac_header" >&5
8222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8224 echo $ECHO_N "(cached) $ECHO_C" >&6
8226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8229 # Is the header compilable?
8230 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8231 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8232 cat >conftest.
$ac_ext <<_ACEOF
8235 cat confdefs.h
>>conftest.
$ac_ext
8236 cat >>conftest.
$ac_ext <<_ACEOF
8237 /* end confdefs.h. */
8238 $ac_includes_default
8239 #include <$ac_header>
8241 rm -f conftest.
$ac_objext
8242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8243 (eval $ac_compile) 2>conftest.er1
8245 grep -v '^ *+' conftest.er1
>conftest.err
8247 cat conftest.err
>&5
8248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249 (exit $ac_status); } &&
8250 { ac_try
='test -z "$ac_c_werror_flag"
8251 || test ! -s conftest.err'
8252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8256 (exit $ac_status); }; } &&
8257 { ac_try
='test -s conftest.$ac_objext'
8258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262 (exit $ac_status); }; }; then
8263 ac_header_compiler
=yes
8265 echo "$as_me: failed program was:" >&5
8266 sed 's/^/| /' conftest.
$ac_ext >&5
8268 ac_header_compiler
=no
8270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8271 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8272 echo "${ECHO_T}$ac_header_compiler" >&6
8274 # Is the header present?
8275 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8276 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8277 cat >conftest.
$ac_ext <<_ACEOF
8280 cat confdefs.h
>>conftest.
$ac_ext
8281 cat >>conftest.
$ac_ext <<_ACEOF
8282 /* end confdefs.h. */
8283 #include <$ac_header>
8285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8286 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8288 grep -v '^ *+' conftest.er1
>conftest.err
8290 cat conftest.err
>&5
8291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8292 (exit $ac_status); } >/dev
/null
; then
8293 if test -s conftest.err
; then
8294 ac_cpp_err
=$ac_c_preproc_warn_flag
8295 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8302 if test -z "$ac_cpp_err"; then
8303 ac_header_preproc
=yes
8305 echo "$as_me: failed program was:" >&5
8306 sed 's/^/| /' conftest.
$ac_ext >&5
8308 ac_header_preproc
=no
8310 rm -f conftest.err conftest.
$ac_ext
8311 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8312 echo "${ECHO_T}$ac_header_preproc" >&6
8314 # So? What about this header?
8315 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8317 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8318 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8319 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8320 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8321 ac_header_preproc
=yes
8324 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8325 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8326 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8327 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8328 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8329 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8330 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8331 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8333 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8334 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8335 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8338 ## ------------------------------------------ ##
8339 ## Report this to the AC_PACKAGE_NAME lists. ##
8340 ## ------------------------------------------ ##
8343 sed "s/^/$as_me: WARNING: /" >&2
8346 echo "$as_me:$LINENO: checking for $ac_header" >&5
8347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8349 echo $ECHO_N "(cached) $ECHO_C" >&6
8351 eval "$as_ac_Header=\$ac_header_preproc"
8353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8357 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8358 cat >>confdefs.h
<<_ACEOF
8359 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8369 for ac_header
in fcntl.h sys
/file.h sys
/time.h
8371 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8373 echo "$as_me:$LINENO: checking for $ac_header" >&5
8374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8376 echo $ECHO_N "(cached) $ECHO_C" >&6
8378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8381 # Is the header compilable?
8382 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8383 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8384 cat >conftest.
$ac_ext <<_ACEOF
8387 cat confdefs.h
>>conftest.
$ac_ext
8388 cat >>conftest.
$ac_ext <<_ACEOF
8389 /* end confdefs.h. */
8390 $ac_includes_default
8391 #include <$ac_header>
8393 rm -f conftest.
$ac_objext
8394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8395 (eval $ac_compile) 2>conftest.er1
8397 grep -v '^ *+' conftest.er1
>conftest.err
8399 cat conftest.err
>&5
8400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 (exit $ac_status); } &&
8402 { ac_try
='test -z "$ac_c_werror_flag"
8403 || test ! -s conftest.err'
8404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8408 (exit $ac_status); }; } &&
8409 { ac_try
='test -s conftest.$ac_objext'
8410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8414 (exit $ac_status); }; }; then
8415 ac_header_compiler
=yes
8417 echo "$as_me: failed program was:" >&5
8418 sed 's/^/| /' conftest.
$ac_ext >&5
8420 ac_header_compiler
=no
8422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8423 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8424 echo "${ECHO_T}$ac_header_compiler" >&6
8426 # Is the header present?
8427 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8428 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8429 cat >conftest.
$ac_ext <<_ACEOF
8432 cat confdefs.h
>>conftest.
$ac_ext
8433 cat >>conftest.
$ac_ext <<_ACEOF
8434 /* end confdefs.h. */
8435 #include <$ac_header>
8437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8438 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8440 grep -v '^ *+' conftest.er1
>conftest.err
8442 cat conftest.err
>&5
8443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8444 (exit $ac_status); } >/dev
/null
; then
8445 if test -s conftest.err
; then
8446 ac_cpp_err
=$ac_c_preproc_warn_flag
8447 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8454 if test -z "$ac_cpp_err"; then
8455 ac_header_preproc
=yes
8457 echo "$as_me: failed program was:" >&5
8458 sed 's/^/| /' conftest.
$ac_ext >&5
8460 ac_header_preproc
=no
8462 rm -f conftest.err conftest.
$ac_ext
8463 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8464 echo "${ECHO_T}$ac_header_preproc" >&6
8466 # So? What about this header?
8467 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8469 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8470 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8472 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8473 ac_header_preproc
=yes
8476 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8477 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8478 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8479 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8480 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8481 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8482 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8483 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8486 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8487 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8490 ## ------------------------------------------ ##
8491 ## Report this to the AC_PACKAGE_NAME lists. ##
8492 ## ------------------------------------------ ##
8495 sed "s/^/$as_me: WARNING: /" >&2
8498 echo "$as_me:$LINENO: checking for $ac_header" >&5
8499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8501 echo $ECHO_N "(cached) $ECHO_C" >&6
8503 eval "$as_ac_Header=\$ac_header_preproc"
8505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8509 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8510 cat >>confdefs.h
<<_ACEOF
8511 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8518 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8519 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8520 if test "${ac_cv_header_time+set}" = set; then
8521 echo $ECHO_N "(cached) $ECHO_C" >&6
8523 cat >conftest.
$ac_ext <<_ACEOF
8526 cat confdefs.h
>>conftest.
$ac_ext
8527 cat >>conftest.
$ac_ext <<_ACEOF
8528 /* end confdefs.h. */
8529 #include <sys/types.h>
8530 #include <sys/time.h>
8536 if ((struct tm *) 0)
8542 rm -f conftest.
$ac_objext
8543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8544 (eval $ac_compile) 2>conftest.er1
8546 grep -v '^ *+' conftest.er1
>conftest.err
8548 cat conftest.err
>&5
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); } &&
8551 { ac_try
='test -z "$ac_c_werror_flag"
8552 || test ! -s conftest.err'
8553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557 (exit $ac_status); }; } &&
8558 { ac_try
='test -s conftest.$ac_objext'
8559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563 (exit $ac_status); }; }; then
8564 ac_cv_header_time
=yes
8566 echo "$as_me: failed program was:" >&5
8567 sed 's/^/| /' conftest.
$ac_ext >&5
8569 ac_cv_header_time
=no
8571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8573 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8574 echo "${ECHO_T}$ac_cv_header_time" >&6
8575 if test $ac_cv_header_time = yes; then
8577 cat >>confdefs.h
<<\_ACEOF
8578 #define TIME_WITH_SYS_TIME 1
8589 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
8590 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8591 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
8592 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
8593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8594 echo $ECHO_N "(cached) $ECHO_C" >&6
8596 cat >conftest.
$ac_ext <<_ACEOF
8599 cat confdefs.h
>>conftest.
$ac_ext
8600 cat >>conftest.
$ac_ext <<_ACEOF
8601 /* end confdefs.h. */
8602 #include <sys/types.h>
8614 rm -f conftest.
$ac_objext
8615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8616 (eval $ac_compile) 2>conftest.er1
8618 grep -v '^ *+' conftest.er1
>conftest.err
8620 cat conftest.err
>&5
8621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 (exit $ac_status); } &&
8623 { ac_try
='test -z "$ac_c_werror_flag"
8624 || test ! -s conftest.err'
8625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8629 (exit $ac_status); }; } &&
8630 { ac_try
='test -s conftest.$ac_objext'
8631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8635 (exit $ac_status); }; }; then
8636 eval "$as_ac_Header=yes"
8638 echo "$as_me: failed program was:" >&5
8639 sed 's/^/| /' conftest.
$ac_ext >&5
8641 eval "$as_ac_Header=no"
8643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8647 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8648 cat >>confdefs.h
<<_ACEOF
8649 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8652 ac_header_dirent
=$ac_hdr; break
8656 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8657 if test $ac_header_dirent = dirent.h
; then
8658 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8659 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8660 if test "${ac_cv_search_opendir+set}" = set; then
8661 echo $ECHO_N "(cached) $ECHO_C" >&6
8663 ac_func_search_save_LIBS
=$LIBS
8664 ac_cv_search_opendir
=no
8665 cat >conftest.
$ac_ext <<_ACEOF
8668 cat confdefs.h
>>conftest.
$ac_ext
8669 cat >>conftest.
$ac_ext <<_ACEOF
8670 /* end confdefs.h. */
8672 /* Override any gcc2 internal prototype to avoid an error. */
8676 /* We use char because int might match the return type of a gcc2
8677 builtin and then its argument prototype would still apply. */
8687 rm -f conftest.
$ac_objext conftest
$ac_exeext
8688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8689 (eval $ac_link) 2>conftest.er1
8691 grep -v '^ *+' conftest.er1
>conftest.err
8693 cat conftest.err
>&5
8694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8695 (exit $ac_status); } &&
8696 { ac_try
='test -z "$ac_c_werror_flag"
8697 || test ! -s conftest.err'
8698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8702 (exit $ac_status); }; } &&
8703 { ac_try
='test -s conftest$ac_exeext'
8704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708 (exit $ac_status); }; }; then
8709 ac_cv_search_opendir
="none required"
8711 echo "$as_me: failed program was:" >&5
8712 sed 's/^/| /' conftest.
$ac_ext >&5
8715 rm -f conftest.err conftest.
$ac_objext \
8716 conftest
$ac_exeext conftest.
$ac_ext
8717 if test "$ac_cv_search_opendir" = no
; then
8718 for ac_lib
in dir
; do
8719 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8720 cat >conftest.
$ac_ext <<_ACEOF
8723 cat confdefs.h
>>conftest.
$ac_ext
8724 cat >>conftest.
$ac_ext <<_ACEOF
8725 /* end confdefs.h. */
8727 /* Override any gcc2 internal prototype to avoid an error. */
8731 /* We use char because int might match the return type of a gcc2
8732 builtin and then its argument prototype would still apply. */
8742 rm -f conftest.
$ac_objext conftest
$ac_exeext
8743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8744 (eval $ac_link) 2>conftest.er1
8746 grep -v '^ *+' conftest.er1
>conftest.err
8748 cat conftest.err
>&5
8749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8750 (exit $ac_status); } &&
8751 { ac_try
='test -z "$ac_c_werror_flag"
8752 || test ! -s conftest.err'
8753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8757 (exit $ac_status); }; } &&
8758 { ac_try
='test -s conftest$ac_exeext'
8759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763 (exit $ac_status); }; }; then
8764 ac_cv_search_opendir
="-l$ac_lib"
8767 echo "$as_me: failed program was:" >&5
8768 sed 's/^/| /' conftest.
$ac_ext >&5
8771 rm -f conftest.err conftest.
$ac_objext \
8772 conftest
$ac_exeext conftest.
$ac_ext
8775 LIBS
=$ac_func_search_save_LIBS
8777 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8778 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8779 if test "$ac_cv_search_opendir" != no
; then
8780 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
8785 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8786 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8787 if test "${ac_cv_search_opendir+set}" = set; then
8788 echo $ECHO_N "(cached) $ECHO_C" >&6
8790 ac_func_search_save_LIBS
=$LIBS
8791 ac_cv_search_opendir
=no
8792 cat >conftest.
$ac_ext <<_ACEOF
8795 cat confdefs.h
>>conftest.
$ac_ext
8796 cat >>conftest.
$ac_ext <<_ACEOF
8797 /* end confdefs.h. */
8799 /* Override any gcc2 internal prototype to avoid an error. */
8803 /* We use char because int might match the return type of a gcc2
8804 builtin and then its argument prototype would still apply. */
8814 rm -f conftest.
$ac_objext conftest
$ac_exeext
8815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8816 (eval $ac_link) 2>conftest.er1
8818 grep -v '^ *+' conftest.er1
>conftest.err
8820 cat conftest.err
>&5
8821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822 (exit $ac_status); } &&
8823 { ac_try
='test -z "$ac_c_werror_flag"
8824 || test ! -s conftest.err'
8825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8829 (exit $ac_status); }; } &&
8830 { ac_try
='test -s conftest$ac_exeext'
8831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835 (exit $ac_status); }; }; then
8836 ac_cv_search_opendir
="none required"
8838 echo "$as_me: failed program was:" >&5
8839 sed 's/^/| /' conftest.
$ac_ext >&5
8842 rm -f conftest.err conftest.
$ac_objext \
8843 conftest
$ac_exeext conftest.
$ac_ext
8844 if test "$ac_cv_search_opendir" = no
; then
8846 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8847 cat >conftest.
$ac_ext <<_ACEOF
8850 cat confdefs.h
>>conftest.
$ac_ext
8851 cat >>conftest.
$ac_ext <<_ACEOF
8852 /* end confdefs.h. */
8854 /* Override any gcc2 internal prototype to avoid an error. */
8858 /* We use char because int might match the return type of a gcc2
8859 builtin and then its argument prototype would still apply. */
8869 rm -f conftest.
$ac_objext conftest
$ac_exeext
8870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8871 (eval $ac_link) 2>conftest.er1
8873 grep -v '^ *+' conftest.er1
>conftest.err
8875 cat conftest.err
>&5
8876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8877 (exit $ac_status); } &&
8878 { ac_try
='test -z "$ac_c_werror_flag"
8879 || test ! -s conftest.err'
8880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8884 (exit $ac_status); }; } &&
8885 { ac_try
='test -s conftest$ac_exeext'
8886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890 (exit $ac_status); }; }; then
8891 ac_cv_search_opendir
="-l$ac_lib"
8894 echo "$as_me: failed program was:" >&5
8895 sed 's/^/| /' conftest.
$ac_ext >&5
8898 rm -f conftest.err conftest.
$ac_objext \
8899 conftest
$ac_exeext conftest.
$ac_ext
8902 LIBS
=$ac_func_search_save_LIBS
8904 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8905 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8906 if test "$ac_cv_search_opendir" != no
; then
8907 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
8920 for ac_func
in fcntl getpagesize setitimer sysconf fdopen getuid getgid
8922 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8923 echo "$as_me:$LINENO: checking for $ac_func" >&5
8924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8925 if eval "test \"\${$as_ac_var+set}\" = set"; then
8926 echo $ECHO_N "(cached) $ECHO_C" >&6
8928 cat >conftest.
$ac_ext <<_ACEOF
8931 cat confdefs.h
>>conftest.
$ac_ext
8932 cat >>conftest.
$ac_ext <<_ACEOF
8933 /* end confdefs.h. */
8934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8936 #define $ac_func innocuous_$ac_func
8938 /* System header to define __stub macros and hopefully few prototypes,
8939 which can conflict with char $ac_func (); below.
8940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8941 <limits.h> exists even on freestanding compilers. */
8944 # include <limits.h>
8946 # include <assert.h>
8951 /* Override any gcc2 internal prototype to avoid an error. */
8956 /* We use char because int might match the return type of a gcc2
8957 builtin and then its argument prototype would still apply. */
8959 /* The GNU C library defines this for functions which it implements
8960 to always fail with ENOSYS. Some functions are actually named
8961 something starting with __ and the normal name is an alias. */
8962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8965 char (*f) () = $ac_func;
8974 return f != $ac_func;
8979 rm -f conftest.
$ac_objext conftest
$ac_exeext
8980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8981 (eval $ac_link) 2>conftest.er1
8983 grep -v '^ *+' conftest.er1
>conftest.err
8985 cat conftest.err
>&5
8986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987 (exit $ac_status); } &&
8988 { ac_try
='test -z "$ac_c_werror_flag"
8989 || test ! -s conftest.err'
8990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8994 (exit $ac_status); }; } &&
8995 { ac_try
='test -s conftest$ac_exeext'
8996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9000 (exit $ac_status); }; }; then
9001 eval "$as_ac_var=yes"
9003 echo "$as_me: failed program was:" >&5
9004 sed 's/^/| /' conftest.
$ac_ext >&5
9006 eval "$as_ac_var=no"
9008 rm -f conftest.err conftest.
$ac_objext \
9009 conftest
$ac_exeext conftest.
$ac_ext
9011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9013 if test `eval echo '${'$as_ac_var'}'` = yes; then
9014 cat >>confdefs.h
<<_ACEOF
9015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9022 for ac_func
in strtoull
9024 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9025 echo "$as_me:$LINENO: checking for $ac_func" >&5
9026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9027 if eval "test \"\${$as_ac_var+set}\" = set"; then
9028 echo $ECHO_N "(cached) $ECHO_C" >&6
9030 cat >conftest.
$ac_ext <<_ACEOF
9033 cat confdefs.h
>>conftest.
$ac_ext
9034 cat >>conftest.
$ac_ext <<_ACEOF
9035 /* end confdefs.h. */
9036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9038 #define $ac_func innocuous_$ac_func
9040 /* System header to define __stub macros and hopefully few prototypes,
9041 which can conflict with char $ac_func (); below.
9042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9043 <limits.h> exists even on freestanding compilers. */
9046 # include <limits.h>
9048 # include <assert.h>
9053 /* Override any gcc2 internal prototype to avoid an error. */
9058 /* We use char because int might match the return type of a gcc2
9059 builtin and then its argument prototype would still apply. */
9061 /* The GNU C library defines this for functions which it implements
9062 to always fail with ENOSYS. Some functions are actually named
9063 something starting with __ and the normal name is an alias. */
9064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9067 char (*f) () = $ac_func;
9076 return f != $ac_func;
9081 rm -f conftest.
$ac_objext conftest
$ac_exeext
9082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9083 (eval $ac_link) 2>conftest.er1
9085 grep -v '^ *+' conftest.er1
>conftest.err
9087 cat conftest.err
>&5
9088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9089 (exit $ac_status); } &&
9090 { ac_try
='test -z "$ac_c_werror_flag"
9091 || test ! -s conftest.err'
9092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096 (exit $ac_status); }; } &&
9097 { ac_try
='test -s conftest$ac_exeext'
9098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102 (exit $ac_status); }; }; then
9103 eval "$as_ac_var=yes"
9105 echo "$as_me: failed program was:" >&5
9106 sed 's/^/| /' conftest.
$ac_ext >&5
9108 eval "$as_ac_var=no"
9110 rm -f conftest.err conftest.
$ac_objext \
9111 conftest
$ac_exeext conftest.
$ac_ext
9113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9115 if test `eval echo '${'$as_ac_var'}'` = yes; then
9116 cat >>confdefs.h
<<_ACEOF
9117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9126 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
9128 cat >>confdefs.h
<<\_ACEOF
9129 #define USE_BINARY_FOPEN 1
9134 echo "$as_me:$LINENO: checking whether strstr must be declared" >&5
9135 echo $ECHO_N "checking whether strstr must be declared... $ECHO_C" >&6
9136 if test "${bfd_cv_decl_needed_strstr+set}" = set; then
9137 echo $ECHO_N "(cached) $ECHO_C" >&6
9139 cat >conftest.
$ac_ext <<_ACEOF
9142 cat confdefs.h
>>conftest.
$ac_ext
9143 cat >>conftest.
$ac_ext <<_ACEOF
9144 /* end confdefs.h. */
9147 #ifdef HAVE_STRING_H
9150 #ifdef HAVE_STRINGS_H
9151 #include <strings.h>
9154 #ifdef HAVE_STDLIB_H
9157 #ifdef HAVE_UNISTD_H
9163 char *(*pfn) = (char *(*)) strstr
9168 rm -f conftest.
$ac_objext
9169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9170 (eval $ac_compile) 2>conftest.er1
9172 grep -v '^ *+' conftest.er1
>conftest.err
9174 cat conftest.err
>&5
9175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9176 (exit $ac_status); } &&
9177 { ac_try
='test -z "$ac_c_werror_flag"
9178 || test ! -s conftest.err'
9179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9183 (exit $ac_status); }; } &&
9184 { ac_try
='test -s conftest.$ac_objext'
9185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189 (exit $ac_status); }; }; then
9190 bfd_cv_decl_needed_strstr
=no
9192 echo "$as_me: failed program was:" >&5
9193 sed 's/^/| /' conftest.
$ac_ext >&5
9195 bfd_cv_decl_needed_strstr
=yes
9197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9200 echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_strstr" >&5
9201 echo "${ECHO_T}$bfd_cv_decl_needed_strstr" >&6
9202 if test $bfd_cv_decl_needed_strstr = yes; then
9204 cat >>confdefs.h
<<\_ACEOF
9205 #define NEED_DECLARATION_STRSTR 1
9210 echo "$as_me:$LINENO: checking whether malloc must be declared" >&5
9211 echo $ECHO_N "checking whether malloc must be declared... $ECHO_C" >&6
9212 if test "${bfd_cv_decl_needed_malloc+set}" = set; then
9213 echo $ECHO_N "(cached) $ECHO_C" >&6
9215 cat >conftest.
$ac_ext <<_ACEOF
9218 cat confdefs.h
>>conftest.
$ac_ext
9219 cat >>conftest.
$ac_ext <<_ACEOF
9220 /* end confdefs.h. */
9223 #ifdef HAVE_STRING_H
9226 #ifdef HAVE_STRINGS_H
9227 #include <strings.h>
9230 #ifdef HAVE_STDLIB_H
9233 #ifdef HAVE_UNISTD_H
9239 char *(*pfn) = (char *(*)) malloc
9244 rm -f conftest.
$ac_objext
9245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9246 (eval $ac_compile) 2>conftest.er1
9248 grep -v '^ *+' conftest.er1
>conftest.err
9250 cat conftest.err
>&5
9251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9252 (exit $ac_status); } &&
9253 { ac_try
='test -z "$ac_c_werror_flag"
9254 || test ! -s conftest.err'
9255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9259 (exit $ac_status); }; } &&
9260 { ac_try
='test -s conftest.$ac_objext'
9261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265 (exit $ac_status); }; }; then
9266 bfd_cv_decl_needed_malloc
=no
9268 echo "$as_me: failed program was:" >&5
9269 sed 's/^/| /' conftest.
$ac_ext >&5
9271 bfd_cv_decl_needed_malloc
=yes
9273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9276 echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_malloc" >&5
9277 echo "${ECHO_T}$bfd_cv_decl_needed_malloc" >&6
9278 if test $bfd_cv_decl_needed_malloc = yes; then
9280 cat >>confdefs.h
<<\_ACEOF
9281 #define NEED_DECLARATION_MALLOC 1
9286 echo "$as_me:$LINENO: checking whether realloc must be declared" >&5
9287 echo $ECHO_N "checking whether realloc must be declared... $ECHO_C" >&6
9288 if test "${bfd_cv_decl_needed_realloc+set}" = set; then
9289 echo $ECHO_N "(cached) $ECHO_C" >&6
9291 cat >conftest.
$ac_ext <<_ACEOF
9294 cat confdefs.h
>>conftest.
$ac_ext
9295 cat >>conftest.
$ac_ext <<_ACEOF
9296 /* end confdefs.h. */
9299 #ifdef HAVE_STRING_H
9302 #ifdef HAVE_STRINGS_H
9303 #include <strings.h>
9306 #ifdef HAVE_STDLIB_H
9309 #ifdef HAVE_UNISTD_H
9315 char *(*pfn) = (char *(*)) realloc
9320 rm -f conftest.
$ac_objext
9321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9322 (eval $ac_compile) 2>conftest.er1
9324 grep -v '^ *+' conftest.er1
>conftest.err
9326 cat conftest.err
>&5
9327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9328 (exit $ac_status); } &&
9329 { ac_try
='test -z "$ac_c_werror_flag"
9330 || test ! -s conftest.err'
9331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9335 (exit $ac_status); }; } &&
9336 { ac_try
='test -s conftest.$ac_objext'
9337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341 (exit $ac_status); }; }; then
9342 bfd_cv_decl_needed_realloc
=no
9344 echo "$as_me: failed program was:" >&5
9345 sed 's/^/| /' conftest.
$ac_ext >&5
9347 bfd_cv_decl_needed_realloc
=yes
9349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9352 echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_realloc" >&5
9353 echo "${ECHO_T}$bfd_cv_decl_needed_realloc" >&6
9354 if test $bfd_cv_decl_needed_realloc = yes; then
9356 cat >>confdefs.h
<<\_ACEOF
9357 #define NEED_DECLARATION_REALLOC 1
9362 echo "$as_me:$LINENO: checking whether free must be declared" >&5
9363 echo $ECHO_N "checking whether free must be declared... $ECHO_C" >&6
9364 if test "${bfd_cv_decl_needed_free+set}" = set; then
9365 echo $ECHO_N "(cached) $ECHO_C" >&6
9367 cat >conftest.
$ac_ext <<_ACEOF
9370 cat confdefs.h
>>conftest.
$ac_ext
9371 cat >>conftest.
$ac_ext <<_ACEOF
9372 /* end confdefs.h. */
9375 #ifdef HAVE_STRING_H
9378 #ifdef HAVE_STRINGS_H
9379 #include <strings.h>
9382 #ifdef HAVE_STDLIB_H
9385 #ifdef HAVE_UNISTD_H
9391 char *(*pfn) = (char *(*)) free
9396 rm -f conftest.
$ac_objext
9397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9398 (eval $ac_compile) 2>conftest.er1
9400 grep -v '^ *+' conftest.er1
>conftest.err
9402 cat conftest.err
>&5
9403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9404 (exit $ac_status); } &&
9405 { ac_try
='test -z "$ac_c_werror_flag"
9406 || test ! -s conftest.err'
9407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9411 (exit $ac_status); }; } &&
9412 { ac_try
='test -s conftest.$ac_objext'
9413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9417 (exit $ac_status); }; }; then
9418 bfd_cv_decl_needed_free
=no
9420 echo "$as_me: failed program was:" >&5
9421 sed 's/^/| /' conftest.
$ac_ext >&5
9423 bfd_cv_decl_needed_free
=yes
9425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9428 echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_free" >&5
9429 echo "${ECHO_T}$bfd_cv_decl_needed_free" >&6
9430 if test $bfd_cv_decl_needed_free = yes; then
9432 cat >>confdefs.h
<<\_ACEOF
9433 #define NEED_DECLARATION_FREE 1
9438 echo "$as_me:$LINENO: checking whether getenv must be declared" >&5
9439 echo $ECHO_N "checking whether getenv must be declared... $ECHO_C" >&6
9440 if test "${bfd_cv_decl_needed_getenv+set}" = set; then
9441 echo $ECHO_N "(cached) $ECHO_C" >&6
9443 cat >conftest.
$ac_ext <<_ACEOF
9446 cat confdefs.h
>>conftest.
$ac_ext
9447 cat >>conftest.
$ac_ext <<_ACEOF
9448 /* end confdefs.h. */
9451 #ifdef HAVE_STRING_H
9454 #ifdef HAVE_STRINGS_H
9455 #include <strings.h>
9458 #ifdef HAVE_STDLIB_H
9461 #ifdef HAVE_UNISTD_H
9467 char *(*pfn) = (char *(*)) getenv
9472 rm -f conftest.
$ac_objext
9473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9474 (eval $ac_compile) 2>conftest.er1
9476 grep -v '^ *+' conftest.er1
>conftest.err
9478 cat conftest.err
>&5
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); } &&
9481 { ac_try
='test -z "$ac_c_werror_flag"
9482 || test ! -s conftest.err'
9483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9487 (exit $ac_status); }; } &&
9488 { ac_try
='test -s conftest.$ac_objext'
9489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9493 (exit $ac_status); }; }; then
9494 bfd_cv_decl_needed_getenv
=no
9496 echo "$as_me: failed program was:" >&5
9497 sed 's/^/| /' conftest.
$ac_ext >&5
9499 bfd_cv_decl_needed_getenv
=yes
9501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9504 echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_getenv" >&5
9505 echo "${ECHO_T}$bfd_cv_decl_needed_getenv" >&6
9506 if test $bfd_cv_decl_needed_getenv = yes; then
9508 cat >>confdefs.h
<<\_ACEOF
9509 #define NEED_DECLARATION_GETENV 1
9515 # If we are configured native, pick a core file support file.
9519 if test "${target}" = "${host}"; then
9521 alpha
*-*-freebsd* | alpha
*-*-kfreebsd*-gnu)
9524 alpha
*-*-linux-gnu*)
9525 COREFILE
=trad-core.lo
9526 TRAD_HEADER
='"hosts/alphalinux.h"'
9528 alpha
*-*-netbsd* | alpha
*-*-openbsd*)
9529 COREFILE
=netbsd-core.lo
9531 alpha
*-*-*) COREFILE
=osf-core.lo
;;
9532 arm-
*-freebsd* | arm-
*-kfreebsd*-gnu)
9534 arm-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
9535 arm-
*-riscix) COREFILE
=trad-core.lo
;;
9536 hppa
*-*-hpux*) COREFILE
=hpux-core.lo
;;
9537 hppa
*-*-hiux*) COREFILE
=hpux-core.lo
;;
9538 hppa
*-*-mpeix*) COREFILE
=hpux-core.lo
;;
9539 hppa
*-*-bsd*) COREFILE
="hpux-core.lo hppabsd-core.lo"
9540 COREFLAG
="-DHPUX_CORE -DHPPABSD_CORE" ;;
9541 hppa
*-*-netbsd* | hppa
*-*-openbsd*)
9542 COREFILE
=netbsd-core.lo
9546 COREFILE
=trad-core.lo
9547 TRAD_HEADER
='"hosts/i370linux.h"'
9550 i
[3-7]86-sequent-bsd*)
9551 COREFILE
=trad-core.lo
9552 TRAD_HEADER
='"hosts/symmetry.h"'
9554 i
[3-7]86-sequent-sysv4*) ;;
9555 i
[3-7]86-sequent-sysv*)
9556 COREFILE
=trad-core.lo
9557 TRAD_HEADER
='"hosts/symmetry.h"'
9562 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
*)
9563 COREFILE
=trad-core.lo
9564 TRAD_HEADER
='"hosts/i386bsd.h"'
9566 i
[3-7]86-*-freebsd* | i
[3-7]86-*-kfreebsd*-gnu)
9568 TRAD_HEADER
='"hosts/i386bsd.h"'
9570 i
[3-7]86-*-netbsd* | i
[3-7]86-*-knetbsd*-gnu | i
[3-7]86-*-openbsd*)
9571 COREFILE
=netbsd-core.lo
9573 i
[3-7]86-esix-sysv3*)
9574 COREFILE
=trad-core.lo
9575 TRAD_HEADER
='"hosts/esix.h"'
9577 i
[3-7]86-*-sco3.2v5
*)
9578 COREFILE
=sco5-core.lo
9580 i
[3-7]86-*-sco* | i
[3-7]86-*-isc*)
9581 COREFILE
=trad-core.lo
9582 TRAD_HEADER
='"hosts/i386sco.h"'
9585 COREFILE
=trad-core.lo
9586 TRAD_HEADER
='"hosts/i386mach3.h"'
9588 i
[3-7]86-*-linux-gnu*)
9589 COREFILE
=trad-core.lo
9590 TRAD_HEADER
='"hosts/i386linux.h"'
9592 i
[3-7]86-*-isc*) COREFILE
=trad-core.lo
;;
9593 i
[3-7]86-*-aix*) COREFILE
=aix386-core.lo
;;
9594 i860-
*-mach3* | i860-
*-osf1*)
9595 COREFILE
=trad-core.lo
9596 TRAD_HEADER
='"hosts/i860mach3.h"'
9598 mips-
*-netbsd* | mips
*-*-openbsd*)
9599 COREFILE
=netbsd-core.lo
9602 COREFILE
=trad-core.lo
9603 TRAD_HEADER
='"hosts/decstation.h"'
9605 mips-sgi-irix4
*) COREFILE
=irix-core.lo
;;
9606 mips-sgi-irix5
*) COREFILE
=irix-core.lo
;;
9607 mips-sgi-irix6
*) COREFILE
=irix-core.lo
;;
9609 mips-
*-sysv* | mips-
*-riscos*)
9610 COREFILE
=trad-core.lo
9611 TRAD_HEADER
='"hosts/riscos.h"'
9614 COREFILE
=trad-core.lo
9615 TRAD_HEADER
='"hosts/news-mips.h"'
9618 COREFILE
=trad-core.lo
9619 TRAD_HEADER
='"hosts/dpx2.h"'
9621 m68
*-hp-hpux*) COREFILE
=hpux-core.lo
;;
9623 COREFILE
=trad-core.lo
9624 TRAD_HEADER
='"hosts/hp300bsd.h"'
9627 COREFILE
=trad-core.lo
9628 TRAD_HEADER
='"hosts/m68klinux.h"'
9630 m68
*-motorola-sysv*)
9631 COREFILE
=trad-core.lo
9632 TRAD_HEADER
='"hosts/delta68.h"'
9635 COREFILE
=trad-core.lo
9636 TRAD_HEADER
='"hosts/news.h"'
9638 m68
*-*-netbsd* | m68
*-*-openbsd*)
9639 COREFILE
=netbsd-core.lo
9642 COREFILE
=trad-core.lo
9643 TRAD_HEADER
='"hosts/m68kaux.h"'
9647 m88
*-motorola-sysv*)
9648 COREFILE
=ptrace-core.lo
9651 COREFILE
=trad-core.lo
9652 TRAD_HEADER
='"hosts/m88kmach3.h"'
9655 COREFILE
=netbsd-core.lo
9658 COREFILE
=trad-core.lo
9659 TRAD_HEADER
='"hosts/pc532mach.h"'
9661 ns32k-
*-netbsd* | ns32k-
*-openbsd*)
9662 COREFILE
=netbsd-core.lo
9665 COREFILE
=lynx-core.lo
9667 rs6000-
*-aix5.
* | powerpc-
*-aix5.
*)
9668 COREFILE
=rs6000-core.lo
9669 COREFLAG
="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
9671 rs6000-
*-aix4.
[3-9]* | powerpc-
*-aix4.
[3-9]*)
9672 COREFILE
=rs6000-core.lo
9673 COREFLAG
="$COREFLAG -DAIX_CORE_DUMPX_CORE"
9674 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
9675 # have c_impl as a member of struct core_dumpx
9676 echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
9677 echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
9678 cat >conftest.
$ac_ext <<_ACEOF
9681 cat confdefs.h
>>conftest.
$ac_ext
9682 cat >>conftest.
$ac_ext <<_ACEOF
9683 /* end confdefs.h. */
9688 struct core_dumpx c; c.c_impl = 0;
9693 rm -f conftest.
$ac_objext
9694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9695 (eval $ac_compile) 2>conftest.er1
9697 grep -v '^ *+' conftest.er1
>conftest.err
9699 cat conftest.err
>&5
9700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9701 (exit $ac_status); } &&
9702 { ac_try
='test -z "$ac_c_werror_flag"
9703 || test ! -s conftest.err'
9704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9708 (exit $ac_status); }; } &&
9709 { ac_try
='test -s conftest.$ac_objext'
9710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9714 (exit $ac_status); }; }; then
9716 cat >>confdefs.h
<<\_ACEOF
9717 #define HAVE_ST_C_IMPL 1
9720 echo "$as_me:$LINENO: result: yes" >&5
9721 echo "${ECHO_T}yes" >&6
9723 echo "$as_me: failed program was:" >&5
9724 sed 's/^/| /' conftest.
$ac_ext >&5
9726 echo "$as_me:$LINENO: result: no" >&5
9727 echo "${ECHO_T}no" >&6
9729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9731 rs6000-
*-aix4*) COREFILE
=rs6000-core.lo
;;
9732 rs6000-
*-*) COREFILE
=rs6000-core.lo
;;
9733 powerpc-
*-aix4*) COREFILE
=rs6000-core.lo
;;
9734 powerpc-
*-aix*) COREFILE
=rs6000-core.lo
;;
9736 powerpc-
*-freebsd* | powerpc-
*-kfreebsd*-gnu)
9738 powerpc-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
9739 powerpc-
*-*bsd
*) COREFILE
=netbsd-core.lo
;;
9740 s390
*-*-*) COREFILE
=trad-core.lo
;;
9741 sh
*-*-netbsd*) COREFILE
=netbsd-core.lo
;;
9742 sparc-
*-netbsd* | sparc
*-*-openbsd*)
9743 COREFILE
=netbsd-core.lo
9746 COREFILE
=trad-core.lo
9747 TRAD_HEADER
='"hosts/tahoe.h"'
9749 vax-
*-netbsd* | vax-
*-openbsd*)
9750 COREFILE
=netbsd-core.lo
9753 COREFILE
=trad-core.lo
9754 TRAD_HEADER
='"hosts/vaxult2.h"'
9757 COREFILE
=trad-core.lo
9758 TRAD_HEADER
='"hosts/vaxult2.h"'
9761 COREFILE
=trad-core.lo
9762 TRAD_HEADER
='"hosts/vaxlinux.h"'
9765 COREFILE
=trad-core.lo
9766 TRAD_HEADER
='"hosts/vaxbsd.h"'
9768 x86_64-
*-netbsd* | x86_64-
*-openbsd*)
9769 COREFILE
=netbsd-core.lo
9774 aix386-core.lo
) COREFLAG
=-DAIX386_CORE ;;
9775 hppabsd-core.lo
) COREFLAG
=-DHPPABSD_CORE ;;
9776 hpux-core.lo
) COREFLAG
=-DHPUX_CORE ;;
9777 irix-core.lo
) COREFLAG
=-DIRIX_CORE ;;
9778 lynx-core.lo
) COREFLAG
=-DLYNX_CORE ;;
9779 netbsd-core.lo
) COREFLAG
=-DNETBSD_CORE ;;
9780 osf-core.lo
) COREFLAG
=-DOSF_CORE ;;
9781 ptrace-core.lo
) COREFLAG
=-DPTRACE_CORE ;;
9782 rs6000-core.lo
) COREFLAG
="$COREFLAG -DAIX_CORE" ;;
9783 sco5-core.lo
) COREFLAG
="$COREFLAG -DSCO5_CORE" ;;
9784 trad-core.lo
) COREFLAG
="$COREFLAG -DTRAD_CORE" ;;
9787 # ELF corefile support has several flavors, but all of
9788 # them use something called <sys/procfs.h>
9790 for ac_header
in sys
/procfs.h
9792 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9794 echo "$as_me:$LINENO: checking for $ac_header" >&5
9795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9797 echo $ECHO_N "(cached) $ECHO_C" >&6
9799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9802 # Is the header compilable?
9803 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9804 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9805 cat >conftest.
$ac_ext <<_ACEOF
9808 cat confdefs.h
>>conftest.
$ac_ext
9809 cat >>conftest.
$ac_ext <<_ACEOF
9810 /* end confdefs.h. */
9811 $ac_includes_default
9812 #include <$ac_header>
9814 rm -f conftest.
$ac_objext
9815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9816 (eval $ac_compile) 2>conftest.er1
9818 grep -v '^ *+' conftest.er1
>conftest.err
9820 cat conftest.err
>&5
9821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822 (exit $ac_status); } &&
9823 { ac_try
='test -z "$ac_c_werror_flag"
9824 || test ! -s conftest.err'
9825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9829 (exit $ac_status); }; } &&
9830 { ac_try
='test -s conftest.$ac_objext'
9831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9835 (exit $ac_status); }; }; then
9836 ac_header_compiler
=yes
9838 echo "$as_me: failed program was:" >&5
9839 sed 's/^/| /' conftest.
$ac_ext >&5
9841 ac_header_compiler
=no
9843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9844 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9845 echo "${ECHO_T}$ac_header_compiler" >&6
9847 # Is the header present?
9848 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9849 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9850 cat >conftest.
$ac_ext <<_ACEOF
9853 cat confdefs.h
>>conftest.
$ac_ext
9854 cat >>conftest.
$ac_ext <<_ACEOF
9855 /* end confdefs.h. */
9856 #include <$ac_header>
9858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9859 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9861 grep -v '^ *+' conftest.er1
>conftest.err
9863 cat conftest.err
>&5
9864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865 (exit $ac_status); } >/dev
/null
; then
9866 if test -s conftest.err
; then
9867 ac_cpp_err
=$ac_c_preproc_warn_flag
9868 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9875 if test -z "$ac_cpp_err"; then
9876 ac_header_preproc
=yes
9878 echo "$as_me: failed program was:" >&5
9879 sed 's/^/| /' conftest.
$ac_ext >&5
9881 ac_header_preproc
=no
9883 rm -f conftest.err conftest.
$ac_ext
9884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9885 echo "${ECHO_T}$ac_header_preproc" >&6
9887 # So? What about this header?
9888 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9890 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9891 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9893 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9894 ac_header_preproc
=yes
9897 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9898 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9899 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9900 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9901 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9902 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9903 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9904 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9906 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9907 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9908 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9911 ## ------------------------------------------ ##
9912 ## Report this to the AC_PACKAGE_NAME lists. ##
9913 ## ------------------------------------------ ##
9916 sed "s/^/$as_me: WARNING: /" >&2
9919 echo "$as_me:$LINENO: checking for $ac_header" >&5
9920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9922 echo $ECHO_N "(cached) $ECHO_C" >&6
9924 eval "$as_ac_Header=\$ac_header_preproc"
9926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9930 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9931 cat >>confdefs.h
<<_ACEOF
9932 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9939 if test "$ac_cv_header_sys_procfs_h" = yes; then
9940 echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
9941 echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
9942 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
9943 echo $ECHO_N "(cached) $ECHO_C" >&6
9945 cat >conftest.
$ac_ext <<_ACEOF
9948 cat confdefs.h
>>conftest.
$ac_ext
9949 cat >>conftest.
$ac_ext <<_ACEOF
9950 /* end confdefs.h. */
9953 #include <sys/procfs.h>
9962 rm -f conftest.
$ac_objext
9963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9964 (eval $ac_compile) 2>conftest.er1
9966 grep -v '^ *+' conftest.er1
>conftest.err
9968 cat conftest.err
>&5
9969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9970 (exit $ac_status); } &&
9971 { ac_try
='test -z "$ac_c_werror_flag"
9972 || test ! -s conftest.err'
9973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9977 (exit $ac_status); }; } &&
9978 { ac_try
='test -s conftest.$ac_objext'
9979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9983 (exit $ac_status); }; }; then
9984 bfd_cv_have_sys_procfs_type_prstatus_t
=yes
9986 echo "$as_me: failed program was:" >&5
9987 sed 's/^/| /' conftest.
$ac_ext >&5
9989 bfd_cv_have_sys_procfs_type_prstatus_t
=no
9992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9995 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
9997 cat >>confdefs.h
<<\_ACEOF
9998 #define HAVE_PRSTATUS_T 1
10002 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
10003 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
10005 echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
10006 echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
10007 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
10008 echo $ECHO_N "(cached) $ECHO_C" >&6
10010 cat >conftest.
$ac_ext <<_ACEOF
10013 cat confdefs.h
>>conftest.
$ac_ext
10014 cat >>conftest.
$ac_ext <<_ACEOF
10015 /* end confdefs.h. */
10018 #include <sys/procfs.h>
10027 rm -f conftest.
$ac_objext
10028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10029 (eval $ac_compile) 2>conftest.er1
10031 grep -v '^ *+' conftest.er1
>conftest.err
10033 cat conftest.err
>&5
10034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035 (exit $ac_status); } &&
10036 { ac_try
='test -z "$ac_c_werror_flag"
10037 || test ! -s conftest.err'
10038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10039 (eval $ac_try) 2>&5
10041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042 (exit $ac_status); }; } &&
10043 { ac_try
='test -s conftest.$ac_objext'
10044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10045 (eval $ac_try) 2>&5
10047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10048 (exit $ac_status); }; }; then
10049 bfd_cv_have_sys_procfs_type_prstatus32_t
=yes
10051 echo "$as_me: failed program was:" >&5
10052 sed 's/^/| /' conftest.
$ac_ext >&5
10054 bfd_cv_have_sys_procfs_type_prstatus32_t
=no
10057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10060 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
10062 cat >>confdefs.h
<<\_ACEOF
10063 #define HAVE_PRSTATUS32_T 1
10067 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
10068 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
10070 echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
10071 echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
10072 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
10073 echo $ECHO_N "(cached) $ECHO_C" >&6
10075 cat >conftest.
$ac_ext <<_ACEOF
10078 cat confdefs.h
>>conftest.
$ac_ext
10079 cat >>conftest.
$ac_ext <<_ACEOF
10080 /* end confdefs.h. */
10083 #include <sys/procfs.h>
10087 prstatus_t avar; void* aref = (void*) &avar.pr_who
10092 rm -f conftest.
$ac_objext
10093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10094 (eval $ac_compile) 2>conftest.er1
10096 grep -v '^ *+' conftest.er1
>conftest.err
10098 cat conftest.err
>&5
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); } &&
10101 { ac_try
='test -z "$ac_c_werror_flag"
10102 || test ! -s conftest.err'
10103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10104 (eval $ac_try) 2>&5
10106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10107 (exit $ac_status); }; } &&
10108 { ac_try
='test -s conftest.$ac_objext'
10109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10110 (eval $ac_try) 2>&5
10112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10113 (exit $ac_status); }; }; then
10114 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=yes
10116 echo "$as_me: failed program was:" >&5
10117 sed 's/^/| /' conftest.
$ac_ext >&5
10119 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=no
10122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10125 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
10127 cat >>confdefs.h
<<\_ACEOF
10128 #define HAVE_PRSTATUS_T_PR_WHO 1
10132 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
10133 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
10135 echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
10136 echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
10137 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
10138 echo $ECHO_N "(cached) $ECHO_C" >&6
10140 cat >conftest.
$ac_ext <<_ACEOF
10143 cat confdefs.h
>>conftest.
$ac_ext
10144 cat >>conftest.
$ac_ext <<_ACEOF
10145 /* end confdefs.h. */
10148 #include <sys/procfs.h>
10152 prstatus32_t avar; void* aref = (void*) &avar.pr_who
10157 rm -f conftest.
$ac_objext
10158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10159 (eval $ac_compile) 2>conftest.er1
10161 grep -v '^ *+' conftest.er1
>conftest.err
10163 cat conftest.err
>&5
10164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10165 (exit $ac_status); } &&
10166 { ac_try
='test -z "$ac_c_werror_flag"
10167 || test ! -s conftest.err'
10168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10169 (eval $ac_try) 2>&5
10171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); }; } &&
10173 { ac_try
='test -s conftest.$ac_objext'
10174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10175 (eval $ac_try) 2>&5
10177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178 (exit $ac_status); }; }; then
10179 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=yes
10181 echo "$as_me: failed program was:" >&5
10182 sed 's/^/| /' conftest.
$ac_ext >&5
10184 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=no
10187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10190 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
10192 cat >>confdefs.h
<<\_ACEOF
10193 #define HAVE_PRSTATUS32_T_PR_WHO 1
10197 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
10198 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
10200 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
10201 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
10202 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
10203 echo $ECHO_N "(cached) $ECHO_C" >&6
10205 cat >conftest.
$ac_ext <<_ACEOF
10208 cat confdefs.h
>>conftest.
$ac_ext
10209 cat >>conftest.
$ac_ext <<_ACEOF
10210 /* end confdefs.h. */
10213 #include <sys/procfs.h>
10222 rm -f conftest.
$ac_objext
10223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10224 (eval $ac_compile) 2>conftest.er1
10226 grep -v '^ *+' conftest.er1
>conftest.err
10228 cat conftest.err
>&5
10229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230 (exit $ac_status); } &&
10231 { ac_try
='test -z "$ac_c_werror_flag"
10232 || test ! -s conftest.err'
10233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10234 (eval $ac_try) 2>&5
10236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10237 (exit $ac_status); }; } &&
10238 { ac_try
='test -s conftest.$ac_objext'
10239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10240 (eval $ac_try) 2>&5
10242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10243 (exit $ac_status); }; }; then
10244 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
10246 echo "$as_me: failed program was:" >&5
10247 sed 's/^/| /' conftest.
$ac_ext >&5
10249 bfd_cv_have_sys_procfs_type_pstatus_t
=no
10252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10255 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
10257 cat >>confdefs.h
<<\_ACEOF
10258 #define HAVE_PSTATUS_T 1
10262 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
10263 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
10265 echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
10266 echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
10267 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
10268 echo $ECHO_N "(cached) $ECHO_C" >&6
10270 cat >conftest.
$ac_ext <<_ACEOF
10273 cat confdefs.h
>>conftest.
$ac_ext
10274 cat >>conftest.
$ac_ext <<_ACEOF
10275 /* end confdefs.h. */
10278 #include <sys/procfs.h>
10287 rm -f conftest.
$ac_objext
10288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10289 (eval $ac_compile) 2>conftest.er1
10291 grep -v '^ *+' conftest.er1
>conftest.err
10293 cat conftest.err
>&5
10294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295 (exit $ac_status); } &&
10296 { ac_try
='test -z "$ac_c_werror_flag"
10297 || test ! -s conftest.err'
10298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10299 (eval $ac_try) 2>&5
10301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10302 (exit $ac_status); }; } &&
10303 { ac_try
='test -s conftest.$ac_objext'
10304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10305 (eval $ac_try) 2>&5
10307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10308 (exit $ac_status); }; }; then
10309 bfd_cv_have_sys_procfs_type_pxstatus_t
=yes
10311 echo "$as_me: failed program was:" >&5
10312 sed 's/^/| /' conftest.
$ac_ext >&5
10314 bfd_cv_have_sys_procfs_type_pxstatus_t
=no
10317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10320 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
10322 cat >>confdefs.h
<<\_ACEOF
10323 #define HAVE_PXSTATUS_T 1
10327 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
10328 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
10330 echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
10331 echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
10332 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
10333 echo $ECHO_N "(cached) $ECHO_C" >&6
10335 cat >conftest.
$ac_ext <<_ACEOF
10338 cat confdefs.h
>>conftest.
$ac_ext
10339 cat >>conftest.
$ac_ext <<_ACEOF
10340 /* end confdefs.h. */
10343 #include <sys/procfs.h>
10352 rm -f conftest.
$ac_objext
10353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10354 (eval $ac_compile) 2>conftest.er1
10356 grep -v '^ *+' conftest.er1
>conftest.err
10358 cat conftest.err
>&5
10359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360 (exit $ac_status); } &&
10361 { ac_try
='test -z "$ac_c_werror_flag"
10362 || test ! -s conftest.err'
10363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10364 (eval $ac_try) 2>&5
10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367 (exit $ac_status); }; } &&
10368 { ac_try
='test -s conftest.$ac_objext'
10369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10370 (eval $ac_try) 2>&5
10372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 (exit $ac_status); }; }; then
10374 bfd_cv_have_sys_procfs_type_pstatus32_t
=yes
10376 echo "$as_me: failed program was:" >&5
10377 sed 's/^/| /' conftest.
$ac_ext >&5
10379 bfd_cv_have_sys_procfs_type_pstatus32_t
=no
10382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10385 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
10387 cat >>confdefs.h
<<\_ACEOF
10388 #define HAVE_PSTATUS32_T 1
10392 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
10393 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
10395 echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
10396 echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
10397 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
10398 echo $ECHO_N "(cached) $ECHO_C" >&6
10400 cat >conftest.
$ac_ext <<_ACEOF
10403 cat confdefs.h
>>conftest.
$ac_ext
10404 cat >>conftest.
$ac_ext <<_ACEOF
10405 /* end confdefs.h. */
10408 #include <sys/procfs.h>
10417 rm -f conftest.
$ac_objext
10418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10419 (eval $ac_compile) 2>conftest.er1
10421 grep -v '^ *+' conftest.er1
>conftest.err
10423 cat conftest.err
>&5
10424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425 (exit $ac_status); } &&
10426 { ac_try
='test -z "$ac_c_werror_flag"
10427 || test ! -s conftest.err'
10428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10429 (eval $ac_try) 2>&5
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); }; } &&
10433 { ac_try
='test -s conftest.$ac_objext'
10434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10435 (eval $ac_try) 2>&5
10437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10438 (exit $ac_status); }; }; then
10439 bfd_cv_have_sys_procfs_type_prpsinfo_t
=yes
10441 echo "$as_me: failed program was:" >&5
10442 sed 's/^/| /' conftest.
$ac_ext >&5
10444 bfd_cv_have_sys_procfs_type_prpsinfo_t
=no
10447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10450 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
10452 cat >>confdefs.h
<<\_ACEOF
10453 #define HAVE_PRPSINFO_T 1
10457 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
10458 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
10460 echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
10461 echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
10462 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
10463 echo $ECHO_N "(cached) $ECHO_C" >&6
10465 cat >conftest.
$ac_ext <<_ACEOF
10468 cat confdefs.h
>>conftest.
$ac_ext
10469 cat >>conftest.
$ac_ext <<_ACEOF
10470 /* end confdefs.h. */
10473 #include <sys/procfs.h>
10482 rm -f conftest.
$ac_objext
10483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10484 (eval $ac_compile) 2>conftest.er1
10486 grep -v '^ *+' conftest.er1
>conftest.err
10488 cat conftest.err
>&5
10489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10490 (exit $ac_status); } &&
10491 { ac_try
='test -z "$ac_c_werror_flag"
10492 || test ! -s conftest.err'
10493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10494 (eval $ac_try) 2>&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); }; } &&
10498 { ac_try
='test -s conftest.$ac_objext'
10499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10500 (eval $ac_try) 2>&5
10502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10503 (exit $ac_status); }; }; then
10504 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=yes
10506 echo "$as_me: failed program was:" >&5
10507 sed 's/^/| /' conftest.
$ac_ext >&5
10509 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=no
10512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10515 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
10517 cat >>confdefs.h
<<\_ACEOF
10518 #define HAVE_PRPSINFO32_T 1
10522 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
10523 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
10525 echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
10526 echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
10527 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
10528 echo $ECHO_N "(cached) $ECHO_C" >&6
10530 cat >conftest.
$ac_ext <<_ACEOF
10533 cat confdefs.h
>>conftest.
$ac_ext
10534 cat >>conftest.
$ac_ext <<_ACEOF
10535 /* end confdefs.h. */
10538 #include <sys/procfs.h>
10547 rm -f conftest.
$ac_objext
10548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10549 (eval $ac_compile) 2>conftest.er1
10551 grep -v '^ *+' conftest.er1
>conftest.err
10553 cat conftest.err
>&5
10554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10555 (exit $ac_status); } &&
10556 { ac_try
='test -z "$ac_c_werror_flag"
10557 || test ! -s conftest.err'
10558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10559 (eval $ac_try) 2>&5
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); }; } &&
10563 { ac_try
='test -s conftest.$ac_objext'
10564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10565 (eval $ac_try) 2>&5
10567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10568 (exit $ac_status); }; }; then
10569 bfd_cv_have_sys_procfs_type_psinfo_t
=yes
10571 echo "$as_me: failed program was:" >&5
10572 sed 's/^/| /' conftest.
$ac_ext >&5
10574 bfd_cv_have_sys_procfs_type_psinfo_t
=no
10577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10580 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
10582 cat >>confdefs.h
<<\_ACEOF
10583 #define HAVE_PSINFO_T 1
10587 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
10588 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
10590 echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
10591 echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
10592 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
10593 echo $ECHO_N "(cached) $ECHO_C" >&6
10595 cat >conftest.
$ac_ext <<_ACEOF
10598 cat confdefs.h
>>conftest.
$ac_ext
10599 cat >>conftest.
$ac_ext <<_ACEOF
10600 /* end confdefs.h. */
10603 #include <sys/procfs.h>
10612 rm -f conftest.
$ac_objext
10613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10614 (eval $ac_compile) 2>conftest.er1
10616 grep -v '^ *+' conftest.er1
>conftest.err
10618 cat conftest.err
>&5
10619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10620 (exit $ac_status); } &&
10621 { ac_try
='test -z "$ac_c_werror_flag"
10622 || test ! -s conftest.err'
10623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10624 (eval $ac_try) 2>&5
10626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10627 (exit $ac_status); }; } &&
10628 { ac_try
='test -s conftest.$ac_objext'
10629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10630 (eval $ac_try) 2>&5
10632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10633 (exit $ac_status); }; }; then
10634 bfd_cv_have_sys_procfs_type_psinfo32_t
=yes
10636 echo "$as_me: failed program was:" >&5
10637 sed 's/^/| /' conftest.
$ac_ext >&5
10639 bfd_cv_have_sys_procfs_type_psinfo32_t
=no
10642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10645 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
10647 cat >>confdefs.h
<<\_ACEOF
10648 #define HAVE_PSINFO32_T 1
10652 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
10653 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
10655 echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
10656 echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
10657 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
10658 echo $ECHO_N "(cached) $ECHO_C" >&6
10660 cat >conftest.
$ac_ext <<_ACEOF
10663 cat confdefs.h
>>conftest.
$ac_ext
10664 cat >>conftest.
$ac_ext <<_ACEOF
10665 /* end confdefs.h. */
10668 #include <sys/procfs.h>
10677 rm -f conftest.
$ac_objext
10678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10679 (eval $ac_compile) 2>conftest.er1
10681 grep -v '^ *+' conftest.er1
>conftest.err
10683 cat conftest.err
>&5
10684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10685 (exit $ac_status); } &&
10686 { ac_try
='test -z "$ac_c_werror_flag"
10687 || test ! -s conftest.err'
10688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10689 (eval $ac_try) 2>&5
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692 (exit $ac_status); }; } &&
10693 { ac_try
='test -s conftest.$ac_objext'
10694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10695 (eval $ac_try) 2>&5
10697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698 (exit $ac_status); }; }; then
10699 bfd_cv_have_sys_procfs_type_lwpstatus_t
=yes
10701 echo "$as_me: failed program was:" >&5
10702 sed 's/^/| /' conftest.
$ac_ext >&5
10704 bfd_cv_have_sys_procfs_type_lwpstatus_t
=no
10707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10710 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
10712 cat >>confdefs.h
<<\_ACEOF
10713 #define HAVE_LWPSTATUS_T 1
10717 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
10718 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
10720 echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
10721 echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
10722 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
10723 echo $ECHO_N "(cached) $ECHO_C" >&6
10725 cat >conftest.
$ac_ext <<_ACEOF
10728 cat confdefs.h
>>conftest.
$ac_ext
10729 cat >>conftest.
$ac_ext <<_ACEOF
10730 /* end confdefs.h. */
10733 #include <sys/procfs.h>
10742 rm -f conftest.
$ac_objext
10743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10744 (eval $ac_compile) 2>conftest.er1
10746 grep -v '^ *+' conftest.er1
>conftest.err
10748 cat conftest.err
>&5
10749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10750 (exit $ac_status); } &&
10751 { ac_try
='test -z "$ac_c_werror_flag"
10752 || test ! -s conftest.err'
10753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10754 (eval $ac_try) 2>&5
10756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); }; } &&
10758 { ac_try
='test -s conftest.$ac_objext'
10759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10760 (eval $ac_try) 2>&5
10762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10763 (exit $ac_status); }; }; then
10764 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=yes
10766 echo "$as_me: failed program was:" >&5
10767 sed 's/^/| /' conftest.
$ac_ext >&5
10769 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=no
10772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10775 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
10777 cat >>confdefs.h
<<\_ACEOF
10778 #define HAVE_LWPXSTATUS_T 1
10782 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
10783 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
10785 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
10786 echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
10787 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
10788 echo $ECHO_N "(cached) $ECHO_C" >&6
10790 cat >conftest.
$ac_ext <<_ACEOF
10793 cat confdefs.h
>>conftest.
$ac_ext
10794 cat >>conftest.
$ac_ext <<_ACEOF
10795 /* end confdefs.h. */
10798 #include <sys/procfs.h>
10802 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
10807 rm -f conftest.
$ac_objext
10808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10809 (eval $ac_compile) 2>conftest.er1
10811 grep -v '^ *+' conftest.er1
>conftest.err
10813 cat conftest.err
>&5
10814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815 (exit $ac_status); } &&
10816 { ac_try
='test -z "$ac_c_werror_flag"
10817 || test ! -s conftest.err'
10818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10819 (eval $ac_try) 2>&5
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); }; } &&
10823 { ac_try
='test -s conftest.$ac_objext'
10824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10825 (eval $ac_try) 2>&5
10827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10828 (exit $ac_status); }; }; then
10829 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=yes
10831 echo "$as_me: failed program was:" >&5
10832 sed 's/^/| /' conftest.
$ac_ext >&5
10834 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=no
10837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10840 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
10842 cat >>confdefs.h
<<\_ACEOF
10843 #define HAVE_LWPSTATUS_T_PR_CONTEXT 1
10847 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
10848 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
10850 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
10851 echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
10852 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
10853 echo $ECHO_N "(cached) $ECHO_C" >&6
10855 cat >conftest.
$ac_ext <<_ACEOF
10858 cat confdefs.h
>>conftest.
$ac_ext
10859 cat >>conftest.
$ac_ext <<_ACEOF
10860 /* end confdefs.h. */
10863 #include <sys/procfs.h>
10867 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
10872 rm -f conftest.
$ac_objext
10873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10874 (eval $ac_compile) 2>conftest.er1
10876 grep -v '^ *+' conftest.er1
>conftest.err
10878 cat conftest.err
>&5
10879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10880 (exit $ac_status); } &&
10881 { ac_try
='test -z "$ac_c_werror_flag"
10882 || test ! -s conftest.err'
10883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10884 (eval $ac_try) 2>&5
10886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10887 (exit $ac_status); }; } &&
10888 { ac_try
='test -s conftest.$ac_objext'
10889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10890 (eval $ac_try) 2>&5
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); }; }; then
10894 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=yes
10896 echo "$as_me: failed program was:" >&5
10897 sed 's/^/| /' conftest.
$ac_ext >&5
10899 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=no
10902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10905 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
10907 cat >>confdefs.h
<<\_ACEOF
10908 #define HAVE_LWPSTATUS_T_PR_REG 1
10912 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
10913 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
10915 echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
10916 echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
10917 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
10918 echo $ECHO_N "(cached) $ECHO_C" >&6
10920 cat >conftest.
$ac_ext <<_ACEOF
10923 cat confdefs.h
>>conftest.
$ac_ext
10924 cat >>conftest.
$ac_ext <<_ACEOF
10925 /* end confdefs.h. */
10928 #include <sys/procfs.h>
10932 win32_pstatus_t avar
10937 rm -f conftest.
$ac_objext
10938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10939 (eval $ac_compile) 2>conftest.er1
10941 grep -v '^ *+' conftest.er1
>conftest.err
10943 cat conftest.err
>&5
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); } &&
10946 { ac_try
='test -z "$ac_c_werror_flag"
10947 || test ! -s conftest.err'
10948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10949 (eval $ac_try) 2>&5
10951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10952 (exit $ac_status); }; } &&
10953 { ac_try
='test -s conftest.$ac_objext'
10954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10955 (eval $ac_try) 2>&5
10957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10958 (exit $ac_status); }; }; then
10959 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=yes
10961 echo "$as_me: failed program was:" >&5
10962 sed 's/^/| /' conftest.
$ac_ext >&5
10964 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=no
10967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10970 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
10972 cat >>confdefs.h
<<\_ACEOF
10973 #define HAVE_WIN32_PSTATUS_T 1
10977 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
10978 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
10984 if test -n "$TRAD_HEADER"; then
10986 cat >>confdefs.h
<<_ACEOF
10987 #define TRAD_HEADER $TRAD_HEADER
10992 # Horrible hacks to build DLLs on Windows.
10997 if test "$enable_shared" = "yes"; then
10998 WIN32LDFLAGS
="-no-undefined"
10999 WIN32LIBADD
="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
11003 # We borrow WIN32LIBADD so that the shared libbfd won't depend on
11007 # Linux/MIPS uses PIC by default.
11008 if test "$enable_shared" = "yes"; then
11009 WIN32LIBADD
="-L../libiberty -liberty"
11013 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
11014 if test -n "$x"; then
11015 WIN32LIBADD
="-L../libiberty/pic -liberty"
11026 # Canonicalize the secondary target names.
11027 if test -n "$enable_targets" ; then
11028 for targ
in `echo $enable_targets | sed 's/,/ /g'`
11030 result
=`$ac_config_sub $targ 2>/dev/null`
11031 if test -n "$result" ; then
11032 canon_targets
="$canon_targets $result"
11034 # Allow targets that config.sub doesn't recognize, like "all".
11035 canon_targets
="$canon_targets $targ"
11046 for targ
in $target $canon_targets
11048 if test "x$targ" = "xall"; then
11050 assocvecs
="$assocvecs $targ_defvec $targ_selvecs"
11052 .
$srcdir/config.bfd
11053 if test "x$targ" = "x$target"; then
11054 defvec
=$targ_defvec
11056 selvecs
="$selvecs $targ_defvec $targ_selvecs"
11057 selarchs
="$selarchs $targ_archs"
11058 TDEFINES
="$TDEFINES $targ_cflags"
11063 # This processing still needs to be done if we're to decide properly whether
11064 # 64-bit support needs to be compiled in. Currently, it will be included if
11065 # the default or any other explicitly requested target requires it; it
11066 # will not be included on a 32-bit host if no 64-bit target is requested, and
11067 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
11070 # uniq the default and selected vectors in all the configured targets.
11072 for i
in $selvecs ; do
11081 # uniq the associated vectors in all the configured targets.
11083 for i
in $assocvecs ; do
11092 # uniq the architectures in all the configured targets.
11094 for i
in $selarchs ; do
11102 # Target backend .o files.
11105 elf
="elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
11107 for vec
in $selvecs
11111 # This list is alphabetized to make it easy to compare
11112 # with the two vector lists in targets.c. For the same reason,
11113 # use one entry per line, even though this leads to long lines.
11114 a29kcoff_big_vec
) tb
="$tb coff-a29k.lo cofflink.lo" ;;
11115 a_out_adobe_vec
) tb
="$tb aout-adobe.lo aout32.lo" ;;
11116 aix5coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
11117 aout0_big_vec
) tb
="$tb aout0.lo aout32.lo" ;;
11118 aout_arm_big_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
11119 aout_arm_little_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
11120 apollocoff_vec
) tb
="$tb coff-apollo.lo" ;;
11121 arm_epoc_pe_big_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
11122 arm_epoc_pe_little_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
11123 arm_epoc_pei_big_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
11124 arm_epoc_pei_little_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
11125 armcoff_big_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
11126 armcoff_little_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
11127 armnetbsd_vec
) tb
="$tb armnetbsd.lo aout32.lo" ;;
11128 armpe_big_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
11129 armpe_little_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
11130 armpei_big_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
11131 armpei_little_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
11132 b_out_vec_big_host
) tb
="$tb bout.lo aout32.lo" ;;
11133 b_out_vec_little_host
) tb
="$tb bout.lo aout32.lo" ;;
11134 bfd_efi_app_ia32_vec
) tb
="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;;
11135 bfd_efi_app_ia64_vec
) tb
="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
11136 bfd_elf32_am33lin_vec
) tb
="$tb elf32-am33lin.lo elf32.lo $elf" ;;
11137 bfd_elf32_avr_vec
) tb
="$tb elf32-avr.lo elf32.lo $elf" ;;
11138 bfd_elf32_big_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
11139 bfd_elf32_bigarc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
11140 bfd_elf32_bigarm_oabi_vec
) tb
="$tb elfarm-oabi.lo elf32.lo $elf" ;;
11141 bfd_elf32_bigarm_vec
) tb
="$tb elfarm-nabi.lo elf32.lo $elf" ;;
11142 bfd_elf32_bigarm_symbian_vec
)
11143 tb
="$tb elfarm-nabi.lo elf32.lo $elf" ;;
11144 bfd_elf32_bigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
11145 bfd_elf32_cr16c_vec
) tb
="$tb elf32-cr16c.lo elf32.lo $elf" ;;
11146 bfd_elf32_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
11147 bfd_elf32_crx_vec
) tb
="$tb elf32-crx.lo elf32.lo $elf" ;;
11148 bfd_elf32_d10v_vec
) tb
="$tb elf32-d10v.lo elf32.lo $elf" ;;
11149 bfd_elf32_d30v_vec
) tb
="$tb elf32-d30v.lo elf32.lo $elf" ;;
11150 bfd_elf32_dlx_big_vec
) tb
="$tb elf32-dlx.lo elf32.lo $elf" ;;
11151 bfd_elf32_fr30_vec
) tb
="$tb elf32-fr30.lo elf32.lo $elf" ;;
11152 bfd_elf32_frv_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
11153 bfd_elf32_frvfdpic_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
11154 bfd_elf32_h8300_vec
) tb
="$tb elf32-h8300.lo elf32.lo $elf" ;;
11155 bfd_elf32_hppa_linux_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
11156 bfd_elf32_hppa_nbsd_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
11157 bfd_elf32_hppa_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
11158 bfd_elf32_i370_vec
) tb
="$tb elf32-i370.lo elf32.lo $elf" ;;
11159 bfd_elf32_i386_freebsd_vec
) tb
="$tb elf32-i386.lo elf32.lo $elf" ;;
11160 bfd_elf32_i386_vec
) tb
="$tb elf32-i386.lo elf32.lo $elf" ;;
11161 bfd_elf32_i860_little_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
11162 bfd_elf32_i860_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
11163 bfd_elf32_i960_vec
) tb
="$tb elf32-i960.lo elf32.lo $elf" ;;
11164 bfd_elf32_ia64_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf" ;;
11165 bfd_elf32_ia64_hpux_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf";;
11166 bfd_elf32_ip2k_vec
) tb
="$tb elf32-ip2k.lo elf32.lo $elf" ;;
11167 bfd_elf32_iq2000_vec
) tb
="$tb elf32-iq2000.lo elf32.lo $elf" ;;
11168 bfd_elf32_little_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
11169 bfd_elf32_littlearc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
11170 bfd_elf32_littlearm_oabi_vec
) tb
="$tb elfarm-oabi.lo elf32.lo $elf" ;;
11171 bfd_elf32_littlearm_symbian_vec
)
11172 tb
="$tb elfarm-nabi.lo elf32.lo $elf" ;;
11173 bfd_elf32_littlearm_vec
) tb
="$tb elfarm-nabi.lo elf32.lo $elf" ;;
11174 bfd_elf32_littlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
11175 bfd_elf32_m32r_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
11176 bfd_elf32_m32rle_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
11177 bfd_elf32_m32rlin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
11178 bfd_elf32_m32rlelin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
11179 bfd_elf32_m68hc11_vec
) tb
="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
11180 bfd_elf32_m68hc12_vec
) tb
="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
11181 bfd_elf32_m68k_vec
) tb
="$tb elf32-m68k.lo elf32.lo $elf" ;;
11182 bfd_elf32_m88k_vec
) tb
="$tb elf32-m88k.lo elf32.lo $elf" ;;
11183 bfd_elf32_mcore_big_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
11184 bfd_elf32_mcore_little_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
11185 bfd_elf32_mn10200_vec
) tb
="$tb elf-m10200.lo elf32.lo $elf" ;;
11186 bfd_elf32_mn10300_vec
) tb
="$tb elf-m10300.lo elf32.lo $elf" ;;
11187 bfd_elf32_msp430_vec
) tb
="$tb elf32-msp430.lo elf32.lo $elf" ;;
11188 bfd_elf32_nbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11189 bfd_elf32_nlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11190 bfd_elf32_ntradbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11191 bfd_elf32_ntradlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11192 bfd_elf32_openrisc_vec
) tb
="$tb elf32-openrisc.lo elf32.lo $elf" ;;
11193 bfd_elf32_or32_big_vec
) tb
="$tb elf32-or32.lo elf32.lo $elf" ;;
11194 bfd_elf32_pj_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
11195 bfd_elf32_pjl_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
11196 bfd_elf32_powerpc_vec
) tb
="$tb elf32-ppc.lo elf32.lo $elf" ;;
11197 bfd_elf32_powerpcle_vec
) tb
="$tb elf32-ppc.lo elf32.lo $elf" ;;
11198 bfd_elf32_s390_vec
) tb
="$tb elf32-s390.lo elf32.lo $elf" ;;
11199 # FIXME: We include cofflink.lo not because it's needed for
11200 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
11201 # which needs it but does not list it. Should be fixed in right place.
11202 bfd_elf32_sh64_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
11203 bfd_elf32_sh64l_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
11204 bfd_elf32_sh64lin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
11205 bfd_elf32_sh64blin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
11206 bfd_elf32_sh64lnbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;;
11207 bfd_elf32_sh64nbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;;
11208 bfd_elf32_sh_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;;
11209 bfd_elf32_shblin_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
11210 bfd_elf32_shl_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;;
11211 bfd_elf32_shl_symbian_vec
) tb
="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf32.lo $elf coff-sh.lo" ;;
11212 bfd_elf32_shlin_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
11213 bfd_elf32_shlnbsd_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
11214 bfd_elf32_shnbsd_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
11215 bfd_elf32_sparc_vec
) tb
="$tb elf32-sparc.lo elf32.lo $elf" ;;
11216 bfd_elf32_tradbigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
11217 bfd_elf32_tradlittlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
11218 bfd_elf32_us_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
11219 bfd_elf32_v850_vec
) tb
="$tb elf32-v850.lo elf32.lo $elf" ;;
11220 bfd_elf32_vax_vec
) tb
="$tb elf32-vax.lo elf32.lo $elf" ;;
11221 bfd_elf32_xstormy16_vec
) tb
="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
11222 bfd_elf32_xtensa_le_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
11223 bfd_elf32_xtensa_be_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
11224 bfd_elf64_alpha_freebsd_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
11225 bfd_elf64_alpha_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
11226 bfd_elf64_big_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
11227 bfd_elf64_bigmips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11228 bfd_elf64_hppa_linux_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
11229 bfd_elf64_hppa_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
11230 bfd_elf64_ia64_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
11231 bfd_elf64_ia64_hpux_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
11232 bfd_elf64_ia64_little_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
11233 bfd_elf64_little_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
11234 bfd_elf64_littlemips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11235 bfd_elf64_mmix_vec
) tb
="$tb elf64-mmix.lo elf64.lo $elf" target_size
=64 ;;
11236 bfd_elf64_powerpc_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
11237 bfd_elf64_powerpcle_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size
=64 ;;
11238 bfd_elf64_s390_vec
) tb
="$tb elf64-s390.lo elf64.lo $elf"; target_size
=64 ;;
11239 bfd_elf64_sh64_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11240 bfd_elf64_sh64l_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11241 bfd_elf64_sh64lin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11242 bfd_elf64_sh64blin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11243 bfd_elf64_sh64lnbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11244 bfd_elf64_sh64nbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11245 bfd_elf64_sparc_vec
) tb
="$tb elf64-sparc.lo elf64.lo $elf"; target_size
=64 ;;
11246 bfd_elf64_tradbigmips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11247 bfd_elf64_tradlittlemips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11248 bfd_elf64_x86_64_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
11249 bfd_mmo_vec
) tb
="$tb mmo.lo" target_size
=64 ;;
11250 bfd_powerpc_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
11251 bfd_powerpc_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
11252 bfd_powerpcle_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
11253 bfd_powerpcle_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
11254 cris_aout_vec
) tb
="$tb aout-cris.lo" ;;
11255 demo_64_vec
) tb
="$tb demo64.lo aout64.lo"; target_size
=64 ;;
11256 ecoff_big_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
11257 ecoff_biglittle_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
11258 ecoff_little_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
11259 ecoffalpha_little_vec
) tb
="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size
=64 ;;
11260 go32coff_vec
) tb
="$tb coff-go32.lo cofflink.lo" ;;
11261 go32stubbedcoff_vec
) tb
="$tb coff-stgo32.lo cofflink.lo" ;;
11262 h8300coff_vec
) tb
="$tb coff-h8300.lo reloc16.lo" ;;
11263 h8500coff_vec
) tb
="$tb coff-h8500.lo reloc16.lo" ;;
11264 host_aout_vec
) tb
="$tb host-aout.lo aout32.lo" ;;
11265 hp300bsd_vec
) tb
="$tb hp300bsd.lo aout32.lo" ;;
11266 hp300hpux_vec
) tb
="$tb hp300hpux.lo aout32.lo" ;;
11267 i386aout_vec
) tb
="$tb i386aout.lo aout32.lo" ;;
11268 i386bsd_vec
) tb
="$tb i386bsd.lo aout32.lo" ;;
11269 i386coff_vec
) tb
="$tb coff-i386.lo cofflink.lo" ;;
11270 i386dynix_vec
) tb
="$tb i386dynix.lo aout32.lo" ;;
11271 i386freebsd_vec
) tb
="$tb i386freebsd.lo aout32.lo" ;;
11272 i386linux_vec
) tb
="$tb i386linux.lo aout32.lo" ;;
11273 i386lynx_aout_vec
) tb
="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
11274 i386lynx_coff_vec
) tb
="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
11275 i386mach3_vec
) tb
="$tb i386mach3.lo aout32.lo" ;;
11276 i386msdos_vec
) tb
="$tb i386msdos.lo" ;;
11277 i386netbsd_vec
) tb
="$tb i386netbsd.lo aout32.lo" ;;
11278 i386os9k_vec
) tb
="$tb i386os9k.lo aout32.lo" ;;
11279 i386pe_vec
) tb
="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
11280 i386pei_vec
) tb
="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
11281 i860coff_vec
) tb
="$tb coff-i860.lo cofflink.lo" ;;
11282 icoff_big_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
11283 icoff_little_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
11284 ieee_vec
) tb
="$tb ieee.lo" ;;
11285 m68k4knetbsd_vec
) tb
="$tb m68k4knetbsd.lo aout32.lo" ;;
11286 m68kaux_coff_vec
) tb
="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
11287 m68kcoff_vec
) tb
="$tb coff-m68k.lo cofflink.lo" ;;
11288 m68kcoffun_vec
) tb
="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
11289 m68klinux_vec
) tb
="$tb m68klinux.lo aout32.lo" ;;
11290 m68klynx_aout_vec
) tb
="$tb m68klynx.lo lynx-core.lo aout32.lo" ;;
11291 m68klynx_coff_vec
) tb
="$tb cf-m68klynx.lo coff-m68k.lo cofflink.lo lynx-core.lo" ;;
11292 m68knetbsd_vec
) tb
="$tb m68knetbsd.lo aout32.lo" ;;
11293 m68ksysvcoff_vec
) tb
="$tb coff-svm68k.lo cofflink.lo" ;;
11294 m88kbcs_vec
) tb
="$tb coff-m88k.lo" ;;
11295 m88kmach3_vec
) tb
="$tb m88kmach3.lo aout32.lo" ;;
11296 m88kopenbsd_vec
) tb
="$tb m88kopenbsd.lo aout32.lo" ;;
11297 mach_o_be_vec
) tb
="$tb mach-o.lo" ;;
11298 mach_o_le_vec
) tb
="$tb mach-o.lo" ;;
11299 mach_o_fat_vec
) tb
="$tb mach-o.lo" ;;
11300 mcore_pe_big_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
11301 mcore_pe_little_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
11302 mcore_pei_big_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
11303 mcore_pei_little_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
11304 mipslpe_vec
) tb
="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
11305 mipslpei_vec
) tb
="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
11306 newsos3_vec
) tb
="$tb newsos3.lo aout32.lo" ;;
11307 nlm32_alpha_vec
) tb
="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size
=64 ;;
11308 nlm32_i386_vec
) tb
="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
11309 nlm32_powerpc_vec
) tb
="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
11310 nlm32_sparc_vec
) tb
="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
11311 or32coff_big_vec
) tb
="$tb coff-or32.lo cofflink.lo" ;;
11312 pc532machaout_vec
) tb
="$tb pc532-mach.lo aout-ns32k.lo" ;;
11313 pc532netbsd_vec
) tb
="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
11314 pef_vec
) tb
="$tb pef.lo" ;;
11315 pef_xlib_vec
) tb
="$tb pef.lo" ;;
11316 pdp11_aout_vec
) tb
="$tb pdp11.lo" ;;
11317 pmac_xcoff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
11318 ppcboot_vec
) tb
="$tb ppcboot.lo" ;;
11319 riscix_vec
) tb
="$tb aout32.lo riscix.lo" ;;
11320 rs6000coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
11321 rs6000coff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
11322 shcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11323 shcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11324 shlcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11325 shlcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11326 shlpe_vec
) tb
="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
11327 shlpei_vec
) tb
="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
11328 som_vec
) tb
="$tb som.lo" ;;
11329 sparccoff_vec
) tb
="$tb coff-sparc.lo" ;;
11330 sparcle_aout_vec
) tb
="$tb aout-sparcle.lo aout32.lo" ;;
11331 sparclinux_vec
) tb
="$tb sparclinux.lo aout32.lo" ;;
11332 sparclynx_aout_vec
) tb
="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
11333 sparclynx_coff_vec
) tb
="$tb cf-sparclynx.lo lynx-core.lo" ;;
11334 sparcnetbsd_vec
) tb
="$tb sparcnetbsd.lo aout32.lo" ;;
11335 sunos_big_vec
) tb
="$tb sunos.lo aout32.lo" ;;
11336 sym_vec
) tb
="$tb xsym.lo" ;;
11337 tic30_aout_vec
) tb
="$tb aout-tic30.lo" ;;
11338 tic30_coff_vec
) tb
="$tb coff-tic30.lo" ;;
11339 tic4x_coff0_vec
) tb
="$tb coff-tic4x.lo" ;;
11340 tic4x_coff0_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
11341 tic4x_coff1_vec
) tb
="$tb coff-tic4x.lo" ;;
11342 tic4x_coff1_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
11343 tic4x_coff2_vec
) tb
="$tb coff-tic4x.lo" ;;
11344 tic4x_coff2_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
11345 tic54x_coff0_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
11346 tic54x_coff0_vec
) tb
="$tb coff-tic54x.lo" ;;
11347 tic54x_coff1_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
11348 tic54x_coff1_vec
) tb
="$tb coff-tic54x.lo" ;;
11349 tic54x_coff2_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
11350 tic54x_coff2_vec
) tb
="$tb coff-tic54x.lo" ;;
11351 tic80coff_vec
) tb
="$tb coff-tic80.lo cofflink.lo" ;;
11352 vaxnetbsd_vec
) tb
="$tb vaxnetbsd.lo aout32.lo" ;;
11353 vax1knetbsd_vec
) tb
="$tb vax1knetbsd.lo aout32.lo" ;;
11354 vaxbsd_vec
) tb
="$tb vaxbsd.lo aout32.lo" ;;
11355 versados_vec
) tb
="$tb versados.lo" ;;
11356 vms_alpha_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size
=64 ;;
11357 vms_vax_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
11358 w65_vec
) tb
="$tb coff-w65.lo reloc16.lo" ;;
11359 we32kcoff_vec
) tb
="$tb coff-we32k.lo" ;;
11360 z8kcoff_vec
) tb
="$tb coff-z8k.lo reloc16.lo" ;;
11362 # These appear out of order in targets.c
11363 srec_vec
) tb
="$tb srec.lo" ;;
11364 symbolsrec_vec
) tb
="$tb srec.lo" ;;
11365 tekhex_vec
) tb
="$tb tekhex.lo" ;;
11366 cisco_core_big_vec
) tb
="$tb cisco-core.lo" ;;
11367 cisco_core_little_vec
) tb
="$tb cisco-core.lo" ;;
11370 *) { { echo "$as_me:$LINENO: error: *** unknown target vector $vec" >&5
11371 echo "$as_me: error: *** unknown target vector $vec" >&2;}
11372 { (exit 1); exit 1; }; } ;;
11375 if test ${target_size} = 64; then
11378 if test x
"${vec}" = x
"${defvec}"; then
11379 bfd_default_target_size
=${target_size}
11383 # Target architecture .o files.
11384 # A couple of CPUs use shorter file names to avoid problems on DOS
11386 ta
=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
11388 # Weed out duplicate .o files.
11410 if test x
${all_targets} = xtrue
; then
11411 bfd_backends
="${bfd_backends}"' $(ALL_BACKENDS)'
11412 bfd_machines
="${bfd_machines}"' $(ALL_MACHINES)'
11416 test -n "$assocvecs" &&
11417 assocvecs
=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11418 else # all_targets is true
11419 # Only set these if they will be nonempty, for the clever echo.
11422 test -n "$selvecs" &&
11423 havevecs
=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
11424 test -n "$selvecs" &&
11425 selvecs
=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11426 test -n "$selarchs" &&
11427 selarchs
=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11428 fi # all_targets is true
11430 case ${host64}-${target64}-${want64} in
11433 bfd_libs
='$(BFD64_LIBS) $(BFD32_LIBS)'
11434 all_backends
='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
11435 if test $BFD_HOST_64_BIT_DEFINED = 0; then
11436 { echo "$as_me:$LINENO: WARNING: You have requested a 64 bit BFD configuration, but" >&5
11437 echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
11438 { echo "$as_me:$LINENO: WARNING: your compiler may not have a 64 bit integral type" >&5
11439 echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
11441 if test -n "$GCC" ; then
11443 echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
11444 echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
11445 # Add more tests for gcc versions with non-working 64-bit support here.
11446 cat >conftest.
$ac_ext <<_ACEOF
11449 cat confdefs.h
>>conftest.
$ac_ext
11450 cat >>conftest.
$ac_ext <<_ACEOF
11451 /* end confdefs.h. */
11452 :__GNUC__:__GNUC_MINOR__:__i386__:
11454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11455 $EGREP ": 2 : 91 : 1 :" >/dev
/null
2>&1; then
11457 echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
11458 echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
11460 echo "$as_me:$LINENO: result: no" >&5
11461 echo "${ECHO_T}no" >&6
11465 if test $bad_64bit_gcc = yes ; then
11466 { { echo "$as_me:$LINENO: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&5
11467 echo "$as_me: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&2;}
11468 { (exit 1); exit 1; }; }
11474 bfd_libs
='$(BFD32_LIBS)'
11475 all_backends
='$(BFD32_BACKENDS)'
11486 # Determine the host dependant file_ptr a.k.a. off_t type. In order
11487 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
11488 # fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
11489 # Hopefully a reasonable assumption since fseeko et.al. should be
11490 # upward compatible.
11495 for ac_func
in ftello ftello64 fseeko fseeko64
11497 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11498 echo "$as_me:$LINENO: checking for $ac_func" >&5
11499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11500 if eval "test \"\${$as_ac_var+set}\" = set"; then
11501 echo $ECHO_N "(cached) $ECHO_C" >&6
11503 cat >conftest.
$ac_ext <<_ACEOF
11506 cat confdefs.h
>>conftest.
$ac_ext
11507 cat >>conftest.
$ac_ext <<_ACEOF
11508 /* end confdefs.h. */
11509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11511 #define $ac_func innocuous_$ac_func
11513 /* System header to define __stub macros and hopefully few prototypes,
11514 which can conflict with char $ac_func (); below.
11515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11516 <limits.h> exists even on freestanding compilers. */
11519 # include <limits.h>
11521 # include <assert.h>
11526 /* Override any gcc2 internal prototype to avoid an error. */
11531 /* We use char because int might match the return type of a gcc2
11532 builtin and then its argument prototype would still apply. */
11534 /* The GNU C library defines this for functions which it implements
11535 to always fail with ENOSYS. Some functions are actually named
11536 something starting with __ and the normal name is an alias. */
11537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11540 char (*f) () = $ac_func;
11549 return f != $ac_func;
11554 rm -f conftest.
$ac_objext conftest
$ac_exeext
11555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11556 (eval $ac_link) 2>conftest.er1
11558 grep -v '^ *+' conftest.er1
>conftest.err
11560 cat conftest.err
>&5
11561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11562 (exit $ac_status); } &&
11563 { ac_try
='test -z "$ac_c_werror_flag"
11564 || test ! -s conftest.err'
11565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11566 (eval $ac_try) 2>&5
11568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569 (exit $ac_status); }; } &&
11570 { ac_try
='test -s conftest$ac_exeext'
11571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11572 (eval $ac_try) 2>&5
11574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 (exit $ac_status); }; }; then
11576 eval "$as_ac_var=yes"
11578 echo "$as_me: failed program was:" >&5
11579 sed 's/^/| /' conftest.
$ac_ext >&5
11581 eval "$as_ac_var=no"
11583 rm -f conftest.err conftest.
$ac_objext \
11584 conftest
$ac_exeext conftest.
$ac_ext
11586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11588 if test `eval echo '${'$as_ac_var'}'` = yes; then
11589 cat >>confdefs.h
<<_ACEOF
11590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11596 if test x
"$ac_cv_func_ftello" = xyes
-a x
"$ac_cv_func_fseeko" = xyes
; then
11597 echo "$as_me:$LINENO: checking size of off_t" >&5
11598 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
11599 if test "${ac_cv_sizeof_off_t+set}" = set; then
11600 echo $ECHO_N "(cached) $ECHO_C" >&6
11602 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
11603 cat >conftest.
$ac_ext <<_ACEOF
11606 cat confdefs.h
>>conftest.
$ac_ext
11607 cat >>conftest.
$ac_ext <<_ACEOF
11608 /* end confdefs.h. */
11609 #include "confdefs.h"
11610 #include <sys/types.h>
11616 switch (0) case 0: case (sizeof (off_t) == $ac_size):;
11621 rm -f conftest.
$ac_objext
11622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11623 (eval $ac_compile) 2>conftest.er1
11625 grep -v '^ *+' conftest.er1
>conftest.err
11627 cat conftest.err
>&5
11628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11629 (exit $ac_status); } &&
11630 { ac_try
='test -z "$ac_c_werror_flag"
11631 || test ! -s conftest.err'
11632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11633 (eval $ac_try) 2>&5
11635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); }; } &&
11637 { ac_try
='test -s conftest.$ac_objext'
11638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11639 (eval $ac_try) 2>&5
11641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11642 (exit $ac_status); }; }; then
11643 ac_cv_sizeof_off_t
=$ac_size
11645 echo "$as_me: failed program was:" >&5
11646 sed 's/^/| /' conftest.
$ac_ext >&5
11649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11650 if test x
$ac_cv_sizeof_off_t != x
; then break; fi
11655 if test x
$ac_cv_sizeof_off_t = x
; then
11656 { { echo "$as_me:$LINENO: error: cannot determine a size for off_t" >&5
11657 echo "$as_me: error: cannot determine a size for off_t" >&2;}
11658 { (exit 1); exit 1; }; }
11660 echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
11661 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
11663 cat >>confdefs.h
<<_ACEOF
11664 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
11669 echo "$as_me:$LINENO: checking file_ptr type" >&5
11670 echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
11671 bfd_file_ptr
="long"
11672 bfd_ufile_ptr
="unsigned long"
11673 if test x
"$ac_cv_func_ftello64" = xyes
-a x
"$ac_cv_func_fseeko64" = xyes \
11674 -o x
"${ac_cv_sizeof_off_t}" = x8
; then
11675 bfd_file_ptr
=BFD_HOST_64_BIT
11676 bfd_ufile_ptr
=BFD_HOST_U_64_BIT
11678 echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
11679 echo "${ECHO_T}$bfd_file_ptr" >&6
11685 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
11686 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
11687 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
11688 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
11689 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
11694 for ac_header
in stdlib.h unistd.h
11696 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11698 echo "$as_me:$LINENO: checking for $ac_header" >&5
11699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11701 echo $ECHO_N "(cached) $ECHO_C" >&6
11703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11706 # Is the header compilable?
11707 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11708 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11709 cat >conftest.
$ac_ext <<_ACEOF
11712 cat confdefs.h
>>conftest.
$ac_ext
11713 cat >>conftest.
$ac_ext <<_ACEOF
11714 /* end confdefs.h. */
11715 $ac_includes_default
11716 #include <$ac_header>
11718 rm -f conftest.
$ac_objext
11719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11720 (eval $ac_compile) 2>conftest.er1
11722 grep -v '^ *+' conftest.er1
>conftest.err
11724 cat conftest.err
>&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } &&
11727 { ac_try
='test -z "$ac_c_werror_flag"
11728 || test ! -s conftest.err'
11729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11730 (eval $ac_try) 2>&5
11732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11733 (exit $ac_status); }; } &&
11734 { ac_try
='test -s conftest.$ac_objext'
11735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11736 (eval $ac_try) 2>&5
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); }; }; then
11740 ac_header_compiler
=yes
11742 echo "$as_me: failed program was:" >&5
11743 sed 's/^/| /' conftest.
$ac_ext >&5
11745 ac_header_compiler
=no
11747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11748 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11749 echo "${ECHO_T}$ac_header_compiler" >&6
11751 # Is the header present?
11752 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11753 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11754 cat >conftest.
$ac_ext <<_ACEOF
11757 cat confdefs.h
>>conftest.
$ac_ext
11758 cat >>conftest.
$ac_ext <<_ACEOF
11759 /* end confdefs.h. */
11760 #include <$ac_header>
11762 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11763 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11765 grep -v '^ *+' conftest.er1
>conftest.err
11767 cat conftest.err
>&5
11768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); } >/dev
/null
; then
11770 if test -s conftest.err
; then
11771 ac_cpp_err
=$ac_c_preproc_warn_flag
11772 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11779 if test -z "$ac_cpp_err"; then
11780 ac_header_preproc
=yes
11782 echo "$as_me: failed program was:" >&5
11783 sed 's/^/| /' conftest.
$ac_ext >&5
11785 ac_header_preproc
=no
11787 rm -f conftest.err conftest.
$ac_ext
11788 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11789 echo "${ECHO_T}$ac_header_preproc" >&6
11791 # So? What about this header?
11792 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11794 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11795 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11796 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11797 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11798 ac_header_preproc
=yes
11801 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11802 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11803 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11804 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11805 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11806 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11807 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11808 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11809 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11810 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11811 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11812 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11815 ## ------------------------------------------ ##
11816 ## Report this to the AC_PACKAGE_NAME lists. ##
11817 ## ------------------------------------------ ##
11820 sed "s/^/$as_me: WARNING: /" >&2
11823 echo "$as_me:$LINENO: checking for $ac_header" >&5
11824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11826 echo $ECHO_N "(cached) $ECHO_C" >&6
11828 eval "$as_ac_Header=\$ac_header_preproc"
11830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11834 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11835 cat >>confdefs.h
<<_ACEOF
11836 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11844 for ac_func
in getpagesize
11846 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11847 echo "$as_me:$LINENO: checking for $ac_func" >&5
11848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11849 if eval "test \"\${$as_ac_var+set}\" = set"; then
11850 echo $ECHO_N "(cached) $ECHO_C" >&6
11852 cat >conftest.
$ac_ext <<_ACEOF
11855 cat confdefs.h
>>conftest.
$ac_ext
11856 cat >>conftest.
$ac_ext <<_ACEOF
11857 /* end confdefs.h. */
11858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11860 #define $ac_func innocuous_$ac_func
11862 /* System header to define __stub macros and hopefully few prototypes,
11863 which can conflict with char $ac_func (); below.
11864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11865 <limits.h> exists even on freestanding compilers. */
11868 # include <limits.h>
11870 # include <assert.h>
11875 /* Override any gcc2 internal prototype to avoid an error. */
11880 /* We use char because int might match the return type of a gcc2
11881 builtin and then its argument prototype would still apply. */
11883 /* The GNU C library defines this for functions which it implements
11884 to always fail with ENOSYS. Some functions are actually named
11885 something starting with __ and the normal name is an alias. */
11886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11889 char (*f) () = $ac_func;
11898 return f != $ac_func;
11903 rm -f conftest.
$ac_objext conftest
$ac_exeext
11904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11905 (eval $ac_link) 2>conftest.er1
11907 grep -v '^ *+' conftest.er1
>conftest.err
11909 cat conftest.err
>&5
11910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 (exit $ac_status); } &&
11912 { ac_try
='test -z "$ac_c_werror_flag"
11913 || test ! -s conftest.err'
11914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11915 (eval $ac_try) 2>&5
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); }; } &&
11919 { ac_try
='test -s conftest$ac_exeext'
11920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11921 (eval $ac_try) 2>&5
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); }; }; then
11925 eval "$as_ac_var=yes"
11927 echo "$as_me: failed program was:" >&5
11928 sed 's/^/| /' conftest.
$ac_ext >&5
11930 eval "$as_ac_var=no"
11932 rm -f conftest.err conftest.
$ac_objext \
11933 conftest
$ac_exeext conftest.
$ac_ext
11935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11937 if test `eval echo '${'$as_ac_var'}'` = yes; then
11938 cat >>confdefs.h
<<_ACEOF
11939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11945 echo "$as_me:$LINENO: checking for working mmap" >&5
11946 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
11947 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
11948 echo $ECHO_N "(cached) $ECHO_C" >&6
11950 if test "$cross_compiling" = yes; then
11951 ac_cv_func_mmap_fixed_mapped
=no
11953 cat >conftest.
$ac_ext <<_ACEOF
11956 cat confdefs.h
>>conftest.
$ac_ext
11957 cat >>conftest.
$ac_ext <<_ACEOF
11958 /* end confdefs.h. */
11959 $ac_includes_default
11960 /* malloc might have been renamed as rpl_malloc. */
11963 /* Thanks to Mike Haertel and Jim Avera for this test.
11964 Here is a matrix of mmap possibilities:
11965 mmap private not fixed
11966 mmap private fixed at somewhere currently unmapped
11967 mmap private fixed at somewhere already mapped
11968 mmap shared not fixed
11969 mmap shared fixed at somewhere currently unmapped
11970 mmap shared fixed at somewhere already mapped
11971 For private mappings, we should verify that changes cannot be read()
11972 back from the file, nor mmap's back from the file at a different
11973 address. (There have been systems where private was not correctly
11974 implemented like the infamous i386 svr4.0, and systems where the
11975 VM page cache was not coherent with the file system buffer cache
11976 like early versions of FreeBSD and possibly contemporary NetBSD.)
11977 For shared mappings, we should conversely verify that changes get
11978 propagated back to all the places they're supposed to be.
11980 Grep wants private fixed already mapped.
11981 The main things grep needs to know about mmap are:
11982 * does it exist and is it safe to write into the mmap'd area
11983 * how to use it (BSD variants) */
11986 #include <sys/mman.h>
11988 #if !STDC_HEADERS && !HAVE_STDLIB_H
11992 /* This mess was copied from the GNU getpagesize.h. */
11993 #if !HAVE_GETPAGESIZE
11994 /* Assume that all systems that can run configure have sys/param.h. */
11995 # if !HAVE_SYS_PARAM_H
11996 # define HAVE_SYS_PARAM_H 1
11999 # ifdef _SC_PAGESIZE
12000 # define getpagesize() sysconf(_SC_PAGESIZE)
12001 # else /* no _SC_PAGESIZE */
12002 # if HAVE_SYS_PARAM_H
12003 # include <sys/param.h>
12004 # ifdef EXEC_PAGESIZE
12005 # define getpagesize() EXEC_PAGESIZE
12006 # else /* no EXEC_PAGESIZE */
12008 # define getpagesize() NBPG * CLSIZE
12011 # endif /* no CLSIZE */
12012 # else /* no NBPG */
12014 # define getpagesize() NBPC
12015 # else /* no NBPC */
12017 # define getpagesize() PAGESIZE
12018 # endif /* PAGESIZE */
12019 # endif /* no NBPC */
12020 # endif /* no NBPG */
12021 # endif /* no EXEC_PAGESIZE */
12022 # else /* no HAVE_SYS_PARAM_H */
12023 # define getpagesize() 8192 /* punt totally */
12024 # endif /* no HAVE_SYS_PARAM_H */
12025 # endif /* no _SC_PAGESIZE */
12027 #endif /* no HAVE_GETPAGESIZE */
12032 char *data, *data2, *data3;
12036 pagesize = getpagesize ();
12038 /* First, make a file with some known garbage in it. */
12039 data = (char *) malloc (pagesize);
12042 for (i = 0; i < pagesize; ++i)
12043 *(data + i) = rand ();
12045 fd = creat ("conftest.mmap", 0600);
12048 if (write (fd, data, pagesize) != pagesize)
12052 /* Next, try to mmap the file at a fixed address which already has
12053 something else allocated at it. If we can, also make sure that
12054 we see the same garbage. */
12055 fd = open ("conftest.mmap", O_RDWR);
12058 data2 = (char *) malloc (2 * pagesize);
12061 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
12062 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12063 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12065 for (i = 0; i < pagesize; ++i)
12066 if (*(data + i) != *(data2 + i))
12069 /* Finally, make sure that changes to the mapped area do not
12070 percolate back to the file as seen by read(). (This is a bug on
12071 some variants of i386 svr4.0.) */
12072 for (i = 0; i < pagesize; ++i)
12073 *(data2 + i) = *(data2 + i) + 1;
12074 data3 = (char *) malloc (pagesize);
12077 if (read (fd, data3, pagesize) != pagesize)
12079 for (i = 0; i < pagesize; ++i)
12080 if (*(data + i) != *(data3 + i))
12086 rm -f conftest
$ac_exeext
12087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12088 (eval $ac_link) 2>&5
12090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12093 (eval $ac_try) 2>&5
12095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12096 (exit $ac_status); }; }; then
12097 ac_cv_func_mmap_fixed_mapped
=yes
12099 echo "$as_me: program exited with status $ac_status" >&5
12100 echo "$as_me: failed program was:" >&5
12101 sed 's/^/| /' conftest.
$ac_ext >&5
12103 ( exit $ac_status )
12104 ac_cv_func_mmap_fixed_mapped
=no
12106 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12109 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
12110 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
12111 if test $ac_cv_func_mmap_fixed_mapped = yes; then
12113 cat >>confdefs.h
<<\_ACEOF
12114 #define HAVE_MMAP 1
12118 rm -f conftest.mmap
12122 for ac_func
in madvise mprotect
12124 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12125 echo "$as_me:$LINENO: checking for $ac_func" >&5
12126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12127 if eval "test \"\${$as_ac_var+set}\" = set"; then
12128 echo $ECHO_N "(cached) $ECHO_C" >&6
12130 cat >conftest.
$ac_ext <<_ACEOF
12133 cat confdefs.h
>>conftest.
$ac_ext
12134 cat >>conftest.
$ac_ext <<_ACEOF
12135 /* end confdefs.h. */
12136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12138 #define $ac_func innocuous_$ac_func
12140 /* System header to define __stub macros and hopefully few prototypes,
12141 which can conflict with char $ac_func (); below.
12142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12143 <limits.h> exists even on freestanding compilers. */
12146 # include <limits.h>
12148 # include <assert.h>
12153 /* Override any gcc2 internal prototype to avoid an error. */
12158 /* We use char because int might match the return type of a gcc2
12159 builtin and then its argument prototype would still apply. */
12161 /* The GNU C library defines this for functions which it implements
12162 to always fail with ENOSYS. Some functions are actually named
12163 something starting with __ and the normal name is an alias. */
12164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12167 char (*f) () = $ac_func;
12176 return f != $ac_func;
12181 rm -f conftest.
$ac_objext conftest
$ac_exeext
12182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12183 (eval $ac_link) 2>conftest.er1
12185 grep -v '^ *+' conftest.er1
>conftest.err
12187 cat conftest.err
>&5
12188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 (exit $ac_status); } &&
12190 { ac_try
='test -z "$ac_c_werror_flag"
12191 || test ! -s conftest.err'
12192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12193 (eval $ac_try) 2>&5
12195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); }; } &&
12197 { ac_try
='test -s conftest$ac_exeext'
12198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12199 (eval $ac_try) 2>&5
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); }; }; then
12203 eval "$as_ac_var=yes"
12205 echo "$as_me: failed program was:" >&5
12206 sed 's/^/| /' conftest.
$ac_ext >&5
12208 eval "$as_ac_var=no"
12210 rm -f conftest.err conftest.
$ac_objext \
12211 conftest
$ac_exeext conftest.
$ac_ext
12213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12215 if test `eval echo '${'$as_ac_var'}'` = yes; then
12216 cat >>confdefs.h
<<_ACEOF
12217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12223 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
12225 cat >>confdefs.h
<<\_ACEOF
12231 rm -f doc
/config.status
12232 ac_config_files
="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
12234 ac_config_commands
="$ac_config_commands default"
12236 cat >confcache
<<\_ACEOF
12237 # This file is a shell script that caches the results of configure
12238 # tests run on this system so they can be shared between configure
12239 # scripts and configure runs, see configure's option --config-cache.
12240 # It is not useful on other systems. If it contains results you don't
12241 # want to keep, you may remove or edit it.
12243 # config.status only pays attention to the cache file if you give it
12244 # the --recheck option to rerun configure.
12246 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12247 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12248 # following values.
12252 # The following way of writing the cache mishandles newlines in values,
12253 # but we know of no workaround that is simple, portable, and efficient.
12254 # So, don't put newlines in cache variables' values.
12255 # Ultrix sh set writes to stderr and can't be redirected directly,
12256 # and sets the high bit in the cache file unless we assign to the vars.
12259 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12261 # `set' does not quote correctly, so add quotes (double-quote
12262 # substitution turns \\\\ into \\, and sed turns \\ into \).
12265 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12268 # `set' quotes correctly as required by POSIX, so do not add quotes.
12270 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12277 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12279 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12281 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
12282 if test -w $cache_file; then
12283 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12284 cat confcache
>$cache_file
12286 echo "not updating unwritable cache $cache_file"
12291 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12292 # Let make expand exec_prefix.
12293 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12295 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12296 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12297 # trailing colons and then remove the whole line if VPATH becomes empty
12298 # (actually we leave an empty line to preserve line numbers).
12299 if test "x$srcdir" = x.
; then
12300 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12301 s/:*\$(srcdir):*/:/;
12302 s/:*\${srcdir}:*/:/;
12304 s/^\([^=]*=[ ]*\):*/\1/;
12310 DEFS
=-DHAVE_CONFIG_H
12314 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12315 # 1. Remove the extension, and $U if already installed.
12316 ac_i
=`echo "$ac_i" |
12317 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12319 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12320 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12322 LIBOBJS
=$ac_libobjs
12324 LTLIBOBJS
=$ac_ltlibobjs
12328 : ${CONFIG_STATUS=./config.status}
12329 ac_clean_files_save
=$ac_clean_files
12330 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12331 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12332 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12333 cat >$CONFIG_STATUS <<_ACEOF
12335 # Generated by $as_me.
12336 # Run this file to recreate the current configuration.
12337 # Compiler output produced by configure, useful for debugging
12338 # configure, is in config.log if it exists.
12341 ac_cs_recheck=false
12343 SHELL=\${CONFIG_SHELL-$SHELL}
12346 cat >>$CONFIG_STATUS <<\_ACEOF
12347 ## --------------------- ##
12348 ## M4sh Initialization. ##
12349 ## --------------------- ##
12351 # Be Bourne compatible
12352 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12355 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12356 # is contrary to our usage. Disable this feature.
12357 alias -g '${1+"$@"}'='"$@"'
12358 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12361 DUALCASE
=1; export DUALCASE
# for MKS sh
12363 # Support unset when possible.
12364 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12371 # Work around bugs in pre-3.0 UWIN ksh.
12372 $as_unset ENV MAIL MAILPATH
12379 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12380 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12381 LC_TELEPHONE LC_TIME
12383 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12384 eval $as_var=C
; export $as_var
12390 # Required to use basename.
12391 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12397 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12398 as_basename
=basename
12404 # Name of the executable.
12405 as_me
=`$as_basename "$0" ||
12406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12407 X"$0" : 'X\(//\)$' \| \
12408 X"$0" : 'X\(/\)$' \| \
12409 . : '\(.\)' 2>/dev/null ||
12411 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12412 /^X\/\(\/\/\)$/{ s//\1/; q; }
12413 /^X\/\(\/\).*/{ s//\1/; q; }
12417 # PATH needs CR, and LINENO needs CR and PATH.
12418 # Avoid depending upon Character Ranges.
12419 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12420 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12421 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12422 as_cr_digits
='0123456789'
12423 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12425 # The user is always right.
12426 if test "${PATH_SEPARATOR+set}" != set; then
12427 echo "#! /bin/sh" >conf$$.sh
12428 echo "exit 0" >>conf$$.sh
12430 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12439 as_lineno_1
=$LINENO
12440 as_lineno_2
=$LINENO
12441 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12442 test "x$as_lineno_1" != "x$as_lineno_2" &&
12443 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12444 # Find who we are. Look in the path if we contain no path at all
12447 *[\\/]* ) as_myself
=$0 ;;
12448 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12449 for as_dir
in $PATH
12452 test -z "$as_dir" && as_dir
=.
12453 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12458 # We did not find ourselves, most probably we were run as `sh COMMAND'
12459 # in which case we are not to be found in the path.
12460 if test "x$as_myself" = x
; then
12463 if test ! -f "$as_myself"; then
12464 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12465 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12466 { (exit 1); exit 1; }; }
12468 case $CONFIG_SHELL in
12470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12471 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12474 test -z "$as_dir" && as_dir
=.
12475 for as_base
in sh bash ksh sh5
; do
12478 if ("$as_dir/$as_base" -c '
12479 as_lineno_1=$LINENO
12480 as_lineno_2=$LINENO
12481 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12482 test "x$as_lineno_1" != "x$as_lineno_2" &&
12483 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12484 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12485 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12486 CONFIG_SHELL
=$as_dir/$as_base
12487 export CONFIG_SHELL
12488 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12496 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12497 # uniformly replaced by the line number. The first 'sed' inserts a
12498 # line-number line before each line; the second 'sed' does the real
12499 # work. The second script uses 'N' to pair each line-number line
12500 # with the numbered line, and appends trailing '-' during
12501 # substitution so that $LINENO is not a special case at line end.
12502 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12503 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12504 sed '=' <$as_myself |
12509 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12512 s,^['$as_cr_digits']*\n,,
12513 ' >$as_me.lineno
&&
12514 chmod +x
$as_me.lineno ||
12515 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12516 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12517 { (exit 1); exit 1; }; }
12519 # Don't try to exec as it changes $[0], causing all sort of problems
12520 # (the dirname of $[0] is not the place where we might find the
12521 # original and so on. Autoconf is especially sensible to this).
12523 # Exit status is that of the last command.
12528 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12529 *c
*,-n*) ECHO_N
= ECHO_C
='
12531 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12532 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12535 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12541 rm -f conf$$ conf$$.exe conf$$.
file
12543 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12544 # We could just check for DJGPP; but this test a) works b) is more generic
12545 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12546 if test -f conf$$.exe
; then
12547 # Don't use ln at all; we don't have any links
12552 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12557 rm -f conf$$ conf$$.exe conf$$.
file
12559 if mkdir
-p .
2>/dev
/null
; then
12562 test -d .
/-p && rmdir .
/-p
12566 as_executable_p
="test -f"
12568 # Sed expression to map a string onto a valid CPP name.
12569 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12571 # Sed expression to map a string onto a valid variable name.
12572 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12576 # We need space, tab and new line, in precisely that order.
12586 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12587 # report actual input values of CONFIG_FILES etc. instead of their
12588 # values after options handling. Logging --version etc. is OK.
12592 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12593 ## Running $as_me. ##
12598 This file was extended by $as_me, which was
12599 generated by GNU Autoconf 2.59. Invocation command line was
12601 CONFIG_FILES = $CONFIG_FILES
12602 CONFIG_HEADERS = $CONFIG_HEADERS
12603 CONFIG_LINKS = $CONFIG_LINKS
12604 CONFIG_COMMANDS = $CONFIG_COMMANDS
12608 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12612 # Files that config.status was made for.
12613 if test -n "$ac_config_files"; then
12614 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12617 if test -n "$ac_config_headers"; then
12618 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12621 if test -n "$ac_config_links"; then
12622 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12625 if test -n "$ac_config_commands"; then
12626 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12629 cat >>$CONFIG_STATUS <<\_ACEOF
12632 \`$as_me' instantiates files from templates according to the
12633 current configuration.
12635 Usage: $0 [OPTIONS] [FILE]...
12637 -h, --help print this help, then exit
12638 -V, --version print version number, then exit
12639 -q, --quiet do not print progress messages
12640 -d, --debug don't remove temporary files
12641 --recheck update $as_me by reconfiguring in the same conditions
12642 --file=FILE[:TEMPLATE]
12643 instantiate the configuration file FILE
12644 --header=FILE[:TEMPLATE]
12645 instantiate the configuration header FILE
12647 Configuration files:
12650 Configuration headers:
12653 Configuration commands:
12656 Report bugs to <bug-autoconf@gnu.org>."
12659 cat >>$CONFIG_STATUS <<_ACEOF
12662 configured by $0, generated by GNU Autoconf 2.59,
12663 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12665 Copyright (C) 2003 Free Software Foundation, Inc.
12666 This config.status script is free software; the Free Software Foundation
12667 gives unlimited permission to copy, distribute and modify it."
12672 cat >>$CONFIG_STATUS <<\_ACEOF
12673 # If no file are specified by the user, then we need to provide default
12674 # value. By we need to know if files were specified by the user.
12680 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12681 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12689 *) # This is not an option, so the user has probably given explicit
12692 ac_need_defaults
=false
;;
12696 # Handling of the options.
12698 cat >>$CONFIG_STATUS <<\_ACEOF
12699 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12701 --version |
--vers* |
-V )
12702 echo "$ac_cs_version"; exit 0 ;;
12704 # Conflict between --help and --header
12705 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12706 Try \`$0 --help' for more information." >&5
12707 echo "$as_me: error: ambiguous option: $1
12708 Try \`$0 --help' for more information." >&2;}
12709 { (exit 1); exit 1; }; };;
12710 --help |
--hel |
-h )
12711 echo "$ac_cs_usage"; exit 0 ;;
12712 --debug |
--d* |
-d )
12714 --file |
--fil |
--fi |
--f )
12716 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12717 ac_need_defaults
=false
;;
12718 --header |
--heade |
--head |
--hea )
12720 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12721 ac_need_defaults
=false
;;
12722 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12723 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12726 # This is an error.
12727 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12728 Try \`$0 --help' for more information." >&5
12729 echo "$as_me: error: unrecognized option: $1
12730 Try \`$0 --help' for more information." >&2;}
12731 { (exit 1); exit 1; }; } ;;
12733 *) ac_config_targets
="$ac_config_targets $1" ;;
12739 ac_configure_extra_args
=
12741 if $ac_cs_silent; then
12743 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12747 cat >>$CONFIG_STATUS <<_ACEOF
12748 if \$ac_cs_recheck; then
12749 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12750 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12755 cat >>$CONFIG_STATUS <<_ACEOF
12757 # INIT-COMMANDS section.
12767 cat >>$CONFIG_STATUS <<\_ACEOF
12768 for ac_config_target
in $ac_config_targets
12770 case "$ac_config_target" in
12771 # Handling of arguments.
12772 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12773 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
12774 "bfd-in3.h" ) CONFIG_FILES
="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
12775 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
12776 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12777 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
12778 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
12779 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12780 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12781 { (exit 1); exit 1; }; };;
12785 # If the user did not use the arguments to specify the items to instantiate,
12786 # then the envvar interface is used. Set only those that are not.
12787 # We use the long form for the default assignment because of an extremely
12788 # bizarre bug on SunOS 4.1.3.
12789 if $ac_need_defaults; then
12790 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12791 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12792 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12795 # Have a temporary directory for convenience. Make it in the build tree
12796 # simply because there is no reason to put it here, and in addition,
12797 # creating and moving files from /tmp can sometimes cause problems.
12798 # Create a temporary directory, and hook for its removal unless debugging.
12801 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12802 trap '{ (exit 1); exit 1; }' 1 2 13 15
12805 # Create a (secure) tmp directory for tmp files.
12808 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12809 test -n "$tmp" && test -d "$tmp"
12812 tmp
=.
/confstat$$
-$RANDOM
12813 (umask 077 && mkdir
$tmp)
12816 echo "$me: cannot create a temporary directory in ." >&2
12817 { (exit 1); exit 1; }
12822 cat >>$CONFIG_STATUS <<_ACEOF
12825 # CONFIG_FILES section.
12828 # No need to generate the scripts if there are no CONFIG_FILES.
12829 # This happens for instance when ./config.status config.h
12830 if test -n "\$CONFIG_FILES"; then
12831 # Protect against being on the right side of a sed subst in config.status.
12832 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12833 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12834 s,@SHELL@,$SHELL,;t t
12835 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12836 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12837 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12838 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12839 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12840 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12841 s,@exec_prefix@,$exec_prefix,;t t
12842 s,@prefix@,$prefix,;t t
12843 s,@program_transform_name@,$program_transform_name,;t t
12844 s,@bindir@,$bindir,;t t
12845 s,@sbindir@,$sbindir,;t t
12846 s,@libexecdir@,$libexecdir,;t t
12847 s,@datadir@,$datadir,;t t
12848 s,@sysconfdir@,$sysconfdir,;t t
12849 s,@sharedstatedir@,$sharedstatedir,;t t
12850 s,@localstatedir@,$localstatedir,;t t
12851 s,@libdir@,$libdir,;t t
12852 s,@includedir@,$includedir,;t t
12853 s,@oldincludedir@,$oldincludedir,;t t
12854 s,@infodir@,$infodir,;t t
12855 s,@mandir@,$mandir,;t t
12856 s,@build_alias@,$build_alias,;t t
12857 s,@host_alias@,$host_alias,;t t
12858 s,@target_alias@,$target_alias,;t t
12859 s,@DEFS@,$DEFS,;t t
12860 s,@ECHO_C@,$ECHO_C,;t t
12861 s,@ECHO_N@,$ECHO_N,;t t
12862 s,@ECHO_T@,$ECHO_T,;t t
12863 s,@LIBS@,$LIBS,;t t
12864 s,@build@,$build,;t t
12865 s,@build_cpu@,$build_cpu,;t t
12866 s,@build_vendor@,$build_vendor,;t t
12867 s,@build_os@,$build_os,;t t
12868 s,@host@,$host,;t t
12869 s,@host_cpu@,$host_cpu,;t t
12870 s,@host_vendor@,$host_vendor,;t t
12871 s,@host_os@,$host_os,;t t
12872 s,@target@,$target,;t t
12873 s,@target_cpu@,$target_cpu,;t t
12874 s,@target_vendor@,$target_vendor,;t t
12875 s,@target_os@,$target_os,;t t
12877 s,@CFLAGS@,$CFLAGS,;t t
12878 s,@LDFLAGS@,$LDFLAGS,;t t
12879 s,@CPPFLAGS@,$CPPFLAGS,;t t
12880 s,@ac_ct_CC@,$ac_ct_CC,;t t
12881 s,@EXEEXT@,$EXEEXT,;t t
12882 s,@OBJEXT@,$OBJEXT,;t t
12883 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12884 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12885 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12886 s,@PACKAGE@,$PACKAGE,;t t
12887 s,@VERSION@,$VERSION,;t t
12888 s,@ACLOCAL@,$ACLOCAL,;t t
12889 s,@AUTOCONF@,$AUTOCONF,;t t
12890 s,@AUTOMAKE@,$AUTOMAKE,;t t
12891 s,@AUTOHEADER@,$AUTOHEADER,;t t
12892 s,@MAKEINFO@,$MAKEINFO,;t t
12893 s,@SET_MAKE@,$SET_MAKE,;t t
12895 s,@ac_ct_AR@,$ac_ct_AR,;t t
12896 s,@RANLIB@,$RANLIB,;t t
12897 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12898 s,@LN_S@,$LN_S,;t t
12899 s,@STRIP@,$STRIP,;t t
12900 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12901 s,@LIBTOOL@,$LIBTOOL,;t t
12902 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
12903 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12904 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12905 s,@MAINT@,$MAINT,;t t
12906 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
12907 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
12908 s,@bfdlibdir@,$bfdlibdir,;t t
12909 s,@bfdincludedir@,$bfdincludedir,;t t
12911 s,@EGREP@,$EGREP,;t t
12912 s,@ALLOCA@,$ALLOCA,;t t
12913 s,@USE_NLS@,$USE_NLS,;t t
12914 s,@MSGFMT@,$MSGFMT,;t t
12915 s,@GMSGFMT@,$GMSGFMT,;t t
12916 s,@XGETTEXT@,$XGETTEXT,;t t
12917 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
12918 s,@CATALOGS@,$CATALOGS,;t t
12919 s,@CATOBJEXT@,$CATOBJEXT,;t t
12920 s,@DATADIRNAME@,$DATADIRNAME,;t t
12921 s,@GMOFILES@,$GMOFILES,;t t
12922 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
12923 s,@INTLDEPS@,$INTLDEPS,;t t
12924 s,@INTLLIBS@,$INTLLIBS,;t t
12925 s,@INTLOBJS@,$INTLOBJS,;t t
12926 s,@POFILES@,$POFILES,;t t
12927 s,@POSUB@,$POSUB,;t t
12928 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
12929 s,@GT_NO@,$GT_NO,;t t
12930 s,@GT_YES@,$GT_YES,;t t
12931 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
12933 s,@HDEFINES@,$HDEFINES,;t t
12934 s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
12935 s,@BFD_HOST_LONG_LONG@,$BFD_HOST_LONG_LONG,;t t
12936 s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
12937 s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
12938 s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
12939 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
12940 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
12941 s,@COREFILE@,$COREFILE,;t t
12942 s,@COREFLAG@,$COREFLAG,;t t
12943 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
12944 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
12945 s,@TDEFINES@,$TDEFINES,;t t
12946 s,@wordsize@,$wordsize,;t t
12947 s,@bfd_libs@,$bfd_libs,;t t
12948 s,@all_backends@,$all_backends,;t t
12949 s,@bfd_backends@,$bfd_backends,;t t
12950 s,@bfd_machines@,$bfd_machines,;t t
12951 s,@bfd_default_target_size@,$bfd_default_target_size,;t t
12952 s,@bfd_file_ptr@,$bfd_file_ptr,;t t
12953 s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
12954 s,@tdefaults@,$tdefaults,;t t
12955 s,@LIBOBJS@,$LIBOBJS,;t t
12956 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12961 cat >>$CONFIG_STATUS <<\_ACEOF
12962 # Split the substitutions into bite-sized pieces for seds with
12963 # small command number limits, like on Digital OSF/1 and HP-UX.
12964 ac_max_sed_lines
=48
12965 ac_sed_frag
=1 # Number of current file.
12966 ac_beg
=1 # First line for current file.
12967 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12970 while $ac_more_lines; do
12971 if test $ac_beg -gt 1; then
12972 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12974 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12976 if test ! -s $tmp/subs.frag
; then
12977 ac_more_lines
=false
12979 # The purpose of the label and of the branching condition is to
12980 # speed up the sed processing (if there are no `@' at all, there
12981 # is no need to browse any of the substitutions).
12982 # These are the two extra sed commands mentioned above.
12984 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12985 if test -z "$ac_sed_cmds"; then
12986 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12988 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12990 ac_sed_frag
=`expr $ac_sed_frag + 1`
12992 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12995 if test -z "$ac_sed_cmds"; then
12998 fi # test -n "$CONFIG_FILES"
13001 cat >>$CONFIG_STATUS <<\_ACEOF
13002 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13003 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13005 - |
*:- |
*:-:* ) # input from stdin
13007 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13008 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13009 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13010 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13011 * ) ac_file_in
=$ac_file.
in ;;
13014 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13015 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13016 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13017 X"$ac_file" : 'X\(//\)[^/]' \| \
13018 X"$ac_file" : 'X\(//\)$' \| \
13019 X"$ac_file" : 'X\(/\)' \| \
13020 . : '\(.\)' 2>/dev/null ||
13022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13023 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13024 /^X\(\/\/\)$/{ s//\1/; q; }
13025 /^X\(\/\).*/{ s//\1/; q; }
13027 { if $as_mkdir_p; then
13032 while test ! -d "$as_dir"; do
13033 as_dirs
="$as_dir $as_dirs"
13034 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13035 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13036 X"$as_dir" : 'X\(//\)[^/]' \| \
13037 X"$as_dir" : 'X\(//\)$' \| \
13038 X"$as_dir" : 'X\(/\)' \| \
13039 . : '\(.\)' 2>/dev/null ||
13041 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13042 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13043 /^X\(\/\/\)$/{ s//\1/; q; }
13044 /^X\(\/\).*/{ s//\1/; q; }
13047 test ! -n "$as_dirs" || mkdir
$as_dirs
13048 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13049 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13050 { (exit 1); exit 1; }; }; }
13054 if test "$ac_dir" != .
; then
13055 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13056 # A "../" for each directory in $ac_dir_suffix.
13057 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13059 ac_dir_suffix
= ac_top_builddir
=
13063 .
) # No --srcdir option. We are building in place.
13065 if test -z "$ac_top_builddir"; then
13068 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13070 [\\/]* | ?
:[\\/]* ) # Absolute path.
13071 ac_srcdir
=$srcdir$ac_dir_suffix;
13072 ac_top_srcdir
=$srcdir ;;
13073 *) # Relative path.
13074 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13075 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13078 # Do not use `cd foo && pwd` to compute absolute paths, because
13079 # the directories may not exist.
13081 .
) ac_abs_builddir
="$ac_dir";;
13084 .
) ac_abs_builddir
=`pwd`;;
13085 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13086 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13089 case $ac_abs_builddir in
13090 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13092 case ${ac_top_builddir}.
in
13093 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13094 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13095 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13098 case $ac_abs_builddir in
13099 .
) ac_abs_srcdir
=$ac_srcdir;;
13102 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13103 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13104 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13107 case $ac_abs_builddir in
13108 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13110 case $ac_top_srcdir in
13111 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13112 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13113 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13119 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13120 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13123 if test x
"$ac_file" != x-
; then
13124 { echo "$as_me:$LINENO: creating $ac_file" >&5
13125 echo "$as_me: creating $ac_file" >&6;}
13128 # Let's still pretend it is `configure' which instantiates (i.e., don't
13129 # use $as_me), people would be surprised to read:
13130 # /* config.h. Generated by config.status. */
13131 if test x
"$ac_file" = x-
; then
13134 configure_input
="$ac_file. "
13136 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13137 sed 's,.*/,,'` by configure."
13139 # First look for the input files in the build tree, otherwise in the
13141 ac_file_inputs
=`IFS=:
13142 for f in $ac_file_in; do
13144 -) echo $tmp/stdin ;;
13146 # Absolute (can't be DOS-style, as IFS=:)
13147 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13148 echo "$as_me: error: cannot find input file: $f" >&2;}
13149 { (exit 1); exit 1; }; }
13152 if test -f "$f"; then
13155 elif test -f "$srcdir/$f"; then
13160 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13161 echo "$as_me: error: cannot find input file: $f" >&2;}
13162 { (exit 1); exit 1; }; }
13165 done` ||
{ (exit 1); exit 1; }
13167 cat >>$CONFIG_STATUS <<_ACEOF
13171 cat >>$CONFIG_STATUS <<\_ACEOF
13173 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13174 s
,@configure_input@
,$configure_input,;t t
13175 s
,@srcdir@
,$ac_srcdir,;t t
13176 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13177 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13178 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13179 s
,@builddir@
,$ac_builddir,;t t
13180 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13181 s
,@top_builddir@
,$ac_top_builddir,;t t
13182 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13183 s
,@INSTALL@
,$ac_INSTALL,;t t
13184 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13186 if test x"$ac_file" != x-; then
13187 mv $tmp/out $ac_file
13195 cat >>$CONFIG_STATUS <<\_ACEOF
13198 # CONFIG_HEADER section.
13201 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
13202 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13204 # ac_d sets the value in "#define NAME VALUE" lines.
13205 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13206 ac_dB
='[ ].*$,\1#\2'
13209 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13210 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13211 ac_uB
='$,\1#\2define\3'
13215 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
13216 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13218 - |
*:- |
*:-:* ) # input from stdin
13220 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13221 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13222 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13223 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13224 * ) ac_file_in
=$ac_file.
in ;;
13227 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
13228 echo "$as_me: creating $ac_file" >&6;}
13230 # First look for the input files in the build tree, otherwise in the
13232 ac_file_inputs
=`IFS=:
13233 for f in $ac_file_in; do
13235 -) echo $tmp/stdin ;;
13237 # Absolute (can't be DOS-style, as IFS=:)
13238 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13239 echo "$as_me: error: cannot find input file: $f" >&2;}
13240 { (exit 1); exit 1; }; }
13241 # Do quote $f, to prevent DOS paths from being IFS'd.
13244 if test -f "$f"; then
13247 elif test -f "$srcdir/$f"; then
13252 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13253 echo "$as_me: error: cannot find input file: $f" >&2;}
13254 { (exit 1); exit 1; }; }
13257 done` ||
{ (exit 1); exit 1; }
13258 # Remove the trailing spaces.
13259 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13263 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13264 # `conftest.undefs', that substitutes the proper values into
13265 # config.h.in to produce config.h. The first handles `#define'
13266 # templates, and the second `#undef' templates.
13267 # And first: Protect against being on the right side of a sed subst in
13268 # config.status. Protect against being in an unquoted here document
13269 # in config.status.
13270 rm -f conftest.defines conftest.undefs
13271 # Using a here document instead of a string reduces the quoting nightmare.
13272 # Putting comments in sed scripts is not portable.
13274 # `end' is used to avoid that the second main sed command (meant for
13275 # 0-ary CPP macros) applies to n-ary macro definitions.
13276 # See the Autoconf documentation for `clear'.
13277 cat >confdef2sed.
sed <<\_ACEOF
13282 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13284 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13287 # If some macros were called several times there might be several times
13288 # the same #defines, which is useless. Nevertheless, we may not want to
13289 # sort them, since we want the *last* AC-DEFINE to be honored.
13290 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13291 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13292 rm -f confdef2sed.sed
13294 # This sed command replaces #undef with comments. This is necessary, for
13295 # example, in the case of _POSIX_SOURCE, which is predefined and required
13296 # on some systems where configure will not decide to define it.
13297 cat >>conftest.undefs <<\_ACEOF
13298 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13301 # Break up conftest.defines because some shells have a limit on the size
13302 # of here documents, and old seds have small limits too (100 cmds).
13303 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13304 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13305 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13306 echo ' :' >>$CONFIG_STATUS
13307 rm -f conftest.tail
13308 while grep . conftest.defines >/dev/null
13310 # Write a limited-size here document to $tmp/defines.sed.
13311 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13312 # Speed up: don't consider the non `#define' lines.
13313 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13314 # Work around the forget-to-reset-the-flag bug.
13315 echo 't clr' >>$CONFIG_STATUS
13316 echo ': clr' >>$CONFIG_STATUS
13317 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
13319 sed -f $tmp/defines.sed $tmp/in >$tmp/out
13321 mv $tmp/out $tmp/in
13323 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
13324 rm -f conftest.defines
13325 mv conftest.
tail conftest.defines
13327 rm -f conftest.defines
13328 echo ' fi # grep' >>$CONFIG_STATUS
13329 echo >>$CONFIG_STATUS
13331 # Break up conftest.undefs because some shells have a limit on the size
13332 # of here documents, and old seds have small limits too (100 cmds).
13333 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
13334 rm -f conftest.
tail
13335 while grep . conftest.undefs
>/dev
/null
13337 # Write a limited-size here document to $tmp/undefs.sed.
13338 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
13339 # Speed up: don't consider the non
`#undef'
13340 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
13341 # Work around the forget-to-reset-the-flag bug.
13342 echo 't clr' >>$CONFIG_STATUS
13343 echo ': clr' >>$CONFIG_STATUS
13344 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
13346 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
13348 mv $tmp/out $tmp/in
13350 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
13351 rm -f conftest.undefs
13352 mv conftest.tail conftest.undefs
13354 rm -f conftest.undefs
13356 cat >>$CONFIG_STATUS <<\_ACEOF
13357 # Let's still pretend it is `configure
' which instantiates (i.e., don't
13358 # use $as_me), people would be surprised to read:
13359 # /* config.h. Generated by config.status. */
13360 if test x
"$ac_file" = x-
; then
13361 echo "/* Generated by configure. */" >$tmp/config.h
13363 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13365 cat $tmp/in >>$tmp/config.h
13367 if test x
"$ac_file" != x-
; then
13368 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
13369 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13370 echo "$as_me: $ac_file is unchanged" >&6;}
13372 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13373 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13374 X"$ac_file" : 'X\(//\)[^/]' \| \
13375 X"$ac_file" : 'X\(//\)$' \| \
13376 X"$ac_file" : 'X\(/\)' \| \
13377 . : '\(.\)' 2>/dev/null ||
13379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13380 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13381 /^X\(\/\/\)$/{ s//\1/; q; }
13382 /^X\(\/\).*/{ s//\1/; q; }
13384 { if $as_mkdir_p; then
13389 while test ! -d "$as_dir"; do
13390 as_dirs
="$as_dir $as_dirs"
13391 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13392 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13393 X"$as_dir" : 'X\(//\)[^/]' \| \
13394 X"$as_dir" : 'X\(//\)$' \| \
13395 X"$as_dir" : 'X\(/\)' \| \
13396 . : '\(.\)' 2>/dev/null ||
13398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13399 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13400 /^X\(\/\/\)$/{ s//\1/; q; }
13401 /^X\(\/\).*/{ s//\1/; q; }
13404 test ! -n "$as_dirs" || mkdir
$as_dirs
13405 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13406 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13407 { (exit 1); exit 1; }; }; }
13410 mv $tmp/config.h
$ac_file
13414 rm -f $tmp/config.h
13418 cat >>$CONFIG_STATUS <<\_ACEOF
13421 # CONFIG_COMMANDS section.
13423 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
13424 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
13425 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13426 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
13427 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13428 X"$ac_dest" : 'X\(//\)[^/]' \| \
13429 X"$ac_dest" : 'X\(//\)$' \| \
13430 X"$ac_dest" : 'X\(/\)' \| \
13431 . : '\(.\)' 2>/dev/null ||
13433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13434 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13435 /^X\(\/\/\)$/{ s//\1/; q; }
13436 /^X\(\/\).*/{ s//\1/; q; }
13438 { if $as_mkdir_p; then
13443 while test ! -d "$as_dir"; do
13444 as_dirs
="$as_dir $as_dirs"
13445 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13446 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13447 X"$as_dir" : 'X\(//\)[^/]' \| \
13448 X"$as_dir" : 'X\(//\)$' \| \
13449 X"$as_dir" : 'X\(/\)' \| \
13450 . : '\(.\)' 2>/dev/null ||
13452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13453 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13454 /^X\(\/\/\)$/{ s//\1/; q; }
13455 /^X\(\/\).*/{ s//\1/; q; }
13458 test ! -n "$as_dirs" || mkdir
$as_dirs
13459 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13460 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13461 { (exit 1); exit 1; }; }; }
13465 if test "$ac_dir" != .
; then
13466 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13467 # A "../" for each directory in $ac_dir_suffix.
13468 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13470 ac_dir_suffix
= ac_top_builddir
=
13474 .
) # No --srcdir option. We are building in place.
13476 if test -z "$ac_top_builddir"; then
13479 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13481 [\\/]* | ?
:[\\/]* ) # Absolute path.
13482 ac_srcdir
=$srcdir$ac_dir_suffix;
13483 ac_top_srcdir
=$srcdir ;;
13484 *) # Relative path.
13485 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13486 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13489 # Do not use `cd foo && pwd` to compute absolute paths, because
13490 # the directories may not exist.
13492 .
) ac_abs_builddir
="$ac_dir";;
13495 .
) ac_abs_builddir
=`pwd`;;
13496 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13497 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13500 case $ac_abs_builddir in
13501 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13503 case ${ac_top_builddir}.
in
13504 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13505 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13506 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13509 case $ac_abs_builddir in
13510 .
) ac_abs_srcdir
=$ac_srcdir;;
13513 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13514 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13515 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13518 case $ac_abs_builddir in
13519 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13521 case $ac_top_srcdir in
13522 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13523 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13524 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13529 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13530 echo "$as_me: executing $ac_dest commands" >&6;}
13532 default-1
) test -z "$CONFIG_HEADERS" ||
echo timestamp
> stamp-h
;;
13533 default
) sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' -e '/BLD-POTFILES =/r po/BLD-POTFILES' po
/Makefile.
in > po
/Makefile
;;
13538 cat >>$CONFIG_STATUS <<\_ACEOF
13540 { (exit 0); exit 0; }
13542 chmod +x
$CONFIG_STATUS
13543 ac_clean_files
=$ac_clean_files_save
13546 # configure is writing to config.log, and then calls config.status.
13547 # config.status does its own redirection, appending to config.log.
13548 # Unfortunately, on DOS this fails, as config.log is still kept open
13549 # by configure, so config.status won't be able to write to it; its
13550 # output is simply discarded. So we exec the FD to /dev/null,
13551 # effectively closing config.log, so it can be properly (re)opened and
13552 # appended to by config.status. When coming back to configure, we
13553 # need to make the FD available again.
13554 if test "$no_create" != yes; then
13556 ac_config_status_args
=
13557 test "$silent" = yes &&
13558 ac_config_status_args
="$ac_config_status_args --quiet"
13560 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13562 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13563 # would make configure fail if this is the last instruction.
13564 $ac_cs_success ||
{ (exit 1); exit 1; }