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 host_noncanonical target_noncanonical 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 case ${build_alias} in
3946 "") build_noncanonical
=${build} ;;
3947 *) build_noncanonical
=${build_alias} ;;
3950 case ${host_alias} in
3951 "") host_noncanonical
=${build_noncanonical} ;;
3952 *) host_noncanonical
=${host_alias} ;;
3955 case ${target_alias} in
3956 "") target_noncanonical
=${host_noncanonical} ;;
3957 *) target_noncanonical
=${target_alias} ;;
3960 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
3961 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
3962 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
3963 if test "${enable_install_libbfd+set}" = set; then
3964 enableval
="$enable_install_libbfd"
3965 install_libbfd_p
=$enableval
3967 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
3968 install_libbfd_p
=yes
3973 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
3974 echo "${ECHO_T}$install_libbfd_p" >&6
3977 if test $install_libbfd_p = yes; then
3978 INSTALL_LIBBFD_TRUE
=
3979 INSTALL_LIBBFD_FALSE
='#'
3981 INSTALL_LIBBFD_TRUE
='#'
3982 INSTALL_LIBBFD_FALSE
=
3984 # Need _noncanonical variables for this.
3989 # libbfd.a is a host library containing target dependent code
3990 bfdlibdir
='$(libdir)'
3991 bfdincludedir
='$(includedir)'
3992 if test "${host}" != "${target}"; then
3993 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
3994 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
4004 bfd_default_target_size
=32
4009 ac_cpp
='$CPP $CPPFLAGS'
4010 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4011 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4012 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4013 if test -n "$ac_tool_prefix"; then
4014 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4015 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4016 echo "$as_me:$LINENO: checking for $ac_word" >&5
4017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4018 if test "${ac_cv_prog_CC+set}" = set; then
4019 echo $ECHO_N "(cached) $ECHO_C" >&6
4021 if test -n "$CC"; then
4022 ac_cv_prog_CC
="$CC" # Let the user override the test.
4024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4028 test -z "$as_dir" && as_dir
=.
4029 for ac_exec_ext
in '' $ac_executable_extensions; do
4030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4031 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4041 if test -n "$CC"; then
4042 echo "$as_me:$LINENO: result: $CC" >&5
4043 echo "${ECHO_T}$CC" >&6
4045 echo "$as_me:$LINENO: result: no" >&5
4046 echo "${ECHO_T}no" >&6
4050 if test -z "$ac_cv_prog_CC"; then
4052 # Extract the first word of "gcc", so it can be a program name with args.
4053 set dummy gcc
; ac_word
=$2
4054 echo "$as_me:$LINENO: checking for $ac_word" >&5
4055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4056 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4057 echo $ECHO_N "(cached) $ECHO_C" >&6
4059 if test -n "$ac_ct_CC"; then
4060 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4066 test -z "$as_dir" && as_dir
=.
4067 for ac_exec_ext
in '' $ac_executable_extensions; do
4068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4069 ac_cv_prog_ac_ct_CC
="gcc"
4070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4078 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4079 if test -n "$ac_ct_CC"; then
4080 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4081 echo "${ECHO_T}$ac_ct_CC" >&6
4083 echo "$as_me:$LINENO: result: no" >&5
4084 echo "${ECHO_T}no" >&6
4092 if test -z "$CC"; then
4093 if test -n "$ac_tool_prefix"; then
4094 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4095 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4096 echo "$as_me:$LINENO: checking for $ac_word" >&5
4097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4098 if test "${ac_cv_prog_CC+set}" = set; then
4099 echo $ECHO_N "(cached) $ECHO_C" >&6
4101 if test -n "$CC"; then
4102 ac_cv_prog_CC
="$CC" # Let the user override the test.
4104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4108 test -z "$as_dir" && as_dir
=.
4109 for ac_exec_ext
in '' $ac_executable_extensions; do
4110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4111 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4121 if test -n "$CC"; then
4122 echo "$as_me:$LINENO: result: $CC" >&5
4123 echo "${ECHO_T}$CC" >&6
4125 echo "$as_me:$LINENO: result: no" >&5
4126 echo "${ECHO_T}no" >&6
4130 if test -z "$ac_cv_prog_CC"; then
4132 # Extract the first word of "cc", so it can be a program name with args.
4133 set dummy cc
; ac_word
=$2
4134 echo "$as_me:$LINENO: checking for $ac_word" >&5
4135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4136 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4137 echo $ECHO_N "(cached) $ECHO_C" >&6
4139 if test -n "$ac_ct_CC"; then
4140 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4146 test -z "$as_dir" && as_dir
=.
4147 for ac_exec_ext
in '' $ac_executable_extensions; do
4148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4149 ac_cv_prog_ac_ct_CC
="cc"
4150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4158 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4159 if test -n "$ac_ct_CC"; then
4160 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4161 echo "${ECHO_T}$ac_ct_CC" >&6
4163 echo "$as_me:$LINENO: result: no" >&5
4164 echo "${ECHO_T}no" >&6
4173 if test -z "$CC"; then
4174 # Extract the first word of "cc", so it can be a program name with args.
4175 set dummy cc
; ac_word
=$2
4176 echo "$as_me:$LINENO: checking for $ac_word" >&5
4177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4178 if test "${ac_cv_prog_CC+set}" = set; then
4179 echo $ECHO_N "(cached) $ECHO_C" >&6
4181 if test -n "$CC"; then
4182 ac_cv_prog_CC
="$CC" # Let the user override the test.
4185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4189 test -z "$as_dir" && as_dir
=.
4190 for ac_exec_ext
in '' $ac_executable_extensions; do
4191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4192 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4193 ac_prog_rejected
=yes
4197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4203 if test $ac_prog_rejected = yes; then
4204 # We found a bogon in the path, so make sure we never use it.
4205 set dummy
$ac_cv_prog_CC
4207 if test $# != 0; then
4208 # We chose a different compiler from the bogus one.
4209 # However, it has the same basename, so the bogon will be chosen
4210 # first if we set CC to just the basename; use the full file name.
4212 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4218 if test -n "$CC"; then
4219 echo "$as_me:$LINENO: result: $CC" >&5
4220 echo "${ECHO_T}$CC" >&6
4222 echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6
4227 if test -z "$CC"; then
4228 if test -n "$ac_tool_prefix"; then
4231 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4232 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4233 echo "$as_me:$LINENO: checking for $ac_word" >&5
4234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4235 if test "${ac_cv_prog_CC+set}" = set; then
4236 echo $ECHO_N "(cached) $ECHO_C" >&6
4238 if test -n "$CC"; then
4239 ac_cv_prog_CC
="$CC" # Let the user override the test.
4241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4245 test -z "$as_dir" && as_dir
=.
4246 for ac_exec_ext
in '' $ac_executable_extensions; do
4247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4248 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4258 if test -n "$CC"; then
4259 echo "$as_me:$LINENO: result: $CC" >&5
4260 echo "${ECHO_T}$CC" >&6
4262 echo "$as_me:$LINENO: result: no" >&5
4263 echo "${ECHO_T}no" >&6
4266 test -n "$CC" && break
4269 if test -z "$CC"; then
4273 # Extract the first word of "$ac_prog", so it can be a program name with args.
4274 set dummy
$ac_prog; ac_word
=$2
4275 echo "$as_me:$LINENO: checking for $ac_word" >&5
4276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4277 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4278 echo $ECHO_N "(cached) $ECHO_C" >&6
4280 if test -n "$ac_ct_CC"; then
4281 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4287 test -z "$as_dir" && as_dir
=.
4288 for ac_exec_ext
in '' $ac_executable_extensions; do
4289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4290 ac_cv_prog_ac_ct_CC
="$ac_prog"
4291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4299 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4300 if test -n "$ac_ct_CC"; then
4301 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4302 echo "${ECHO_T}$ac_ct_CC" >&6
4304 echo "$as_me:$LINENO: result: no" >&5
4305 echo "${ECHO_T}no" >&6
4308 test -n "$ac_ct_CC" && break
4317 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4318 See \`config.log' for more details." >&5
4319 echo "$as_me: error: no acceptable C compiler found in \$PATH
4320 See \`config.log' for more details." >&2;}
4321 { (exit 1); exit 1; }; }
4323 # Provide some information about the compiler.
4324 echo "$as_me:$LINENO:" \
4325 "checking for C compiler version" >&5
4326 ac_compiler
=`set X $ac_compile; echo $2`
4327 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4328 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); }
4332 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4333 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4336 (exit $ac_status); }
4337 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4338 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4341 (exit $ac_status); }
4343 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4344 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4345 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4346 echo $ECHO_N "(cached) $ECHO_C" >&6
4348 cat >conftest.
$ac_ext <<_ACEOF
4351 cat confdefs.h
>>conftest.
$ac_ext
4352 cat >>conftest.
$ac_ext <<_ACEOF
4353 /* end confdefs.h. */
4366 rm -f conftest.
$ac_objext
4367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4368 (eval $ac_compile) 2>conftest.er1
4370 grep -v '^ *+' conftest.er1
>conftest.err
4372 cat conftest.err
>&5
4373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4374 (exit $ac_status); } &&
4375 { ac_try
='test -z "$ac_c_werror_flag"
4376 || test ! -s conftest.err'
4377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381 (exit $ac_status); }; } &&
4382 { ac_try
='test -s conftest.$ac_objext'
4383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4387 (exit $ac_status); }; }; then
4390 echo "$as_me: failed program was:" >&5
4391 sed 's/^/| /' conftest.
$ac_ext >&5
4395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4396 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4399 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4400 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4401 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4402 ac_test_CFLAGS
=${CFLAGS+set}
4403 ac_save_CFLAGS
=$CFLAGS
4405 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4406 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4407 if test "${ac_cv_prog_cc_g+set}" = set; then
4408 echo $ECHO_N "(cached) $ECHO_C" >&6
4410 cat >conftest.
$ac_ext <<_ACEOF
4413 cat confdefs.h
>>conftest.
$ac_ext
4414 cat >>conftest.
$ac_ext <<_ACEOF
4415 /* end confdefs.h. */
4425 rm -f conftest.
$ac_objext
4426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4427 (eval $ac_compile) 2>conftest.er1
4429 grep -v '^ *+' conftest.er1
>conftest.err
4431 cat conftest.err
>&5
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); } &&
4434 { ac_try
='test -z "$ac_c_werror_flag"
4435 || test ! -s conftest.err'
4436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4440 (exit $ac_status); }; } &&
4441 { ac_try
='test -s conftest.$ac_objext'
4442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446 (exit $ac_status); }; }; then
4449 echo "$as_me: failed program was:" >&5
4450 sed 's/^/| /' conftest.
$ac_ext >&5
4454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4456 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4457 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4458 if test "$ac_test_CFLAGS" = set; then
4459 CFLAGS
=$ac_save_CFLAGS
4460 elif test $ac_cv_prog_cc_g = yes; then
4461 if test "$GCC" = yes; then
4467 if test "$GCC" = yes; then
4473 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4474 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4475 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4476 echo $ECHO_N "(cached) $ECHO_C" >&6
4478 ac_cv_prog_cc_stdc
=no
4480 cat >conftest.
$ac_ext <<_ACEOF
4483 cat confdefs.h
>>conftest.
$ac_ext
4484 cat >>conftest.
$ac_ext <<_ACEOF
4485 /* end confdefs.h. */
4488 #include <sys/types.h>
4489 #include <sys/stat.h>
4490 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4491 struct buf { int x; };
4492 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4493 static char *e (p, i)
4499 static char *f (char * (*g) (char **, int), char **p, ...)
4504 s = g (p, va_arg (v,int));
4509 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4510 function prototypes and stuff, but not '\xHH' hex character constants.
4511 These don't provoke an error unfortunately, instead are silently treated
4512 as 'x'. The following induces an error, until -std1 is added to get
4513 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4514 array size at least. It's necessary to write '\x00'==0 to get something
4515 that's true only with -std1. */
4516 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4518 int test (int i, double x);
4519 struct s1 {int (*f) (int a);};
4520 struct s2 {int (*f) (double a);};
4521 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4527 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4532 # Don't try gcc -ansi; that turns off useful extensions and
4533 # breaks some systems' header files.
4534 # AIX -qlanglvl=ansi
4535 # Ultrix and OSF/1 -std1
4536 # HP-UX 10.20 and later -Ae
4537 # HP-UX older versions -Aa -D_HPUX_SOURCE
4538 # SVR4 -Xc -D__EXTENSIONS__
4539 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4541 CC
="$ac_save_CC $ac_arg"
4542 rm -f conftest.
$ac_objext
4543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4544 (eval $ac_compile) 2>conftest.er1
4546 grep -v '^ *+' conftest.er1
>conftest.err
4548 cat conftest.err
>&5
4549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4550 (exit $ac_status); } &&
4551 { ac_try
='test -z "$ac_c_werror_flag"
4552 || test ! -s conftest.err'
4553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4557 (exit $ac_status); }; } &&
4558 { ac_try
='test -s conftest.$ac_objext'
4559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563 (exit $ac_status); }; }; then
4564 ac_cv_prog_cc_stdc
=$ac_arg
4567 echo "$as_me: failed program was:" >&5
4568 sed 's/^/| /' conftest.
$ac_ext >&5
4571 rm -f conftest.err conftest.
$ac_objext
4573 rm -f conftest.
$ac_ext conftest.
$ac_objext
4578 case "x$ac_cv_prog_cc_stdc" in
4580 echo "$as_me:$LINENO: result: none needed" >&5
4581 echo "${ECHO_T}none needed" >&6 ;;
4583 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4584 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4585 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4588 # Some people use a C++ compiler to compile C. Since we use `exit',
4589 # in C++ we need to declare it. In case someone uses the same compiler
4590 # for both compiling C and C++ we need to have the C++ compiler decide
4591 # the declaration of exit, since it's the most demanding environment.
4592 cat >conftest.
$ac_ext <<_ACEOF
4597 rm -f conftest.
$ac_objext
4598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4599 (eval $ac_compile) 2>conftest.er1
4601 grep -v '^ *+' conftest.er1
>conftest.err
4603 cat conftest.err
>&5
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); } &&
4606 { ac_try
='test -z "$ac_c_werror_flag"
4607 || test ! -s conftest.err'
4608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4612 (exit $ac_status); }; } &&
4613 { ac_try
='test -s conftest.$ac_objext'
4614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618 (exit $ac_status); }; }; then
4619 for ac_declaration
in \
4621 'extern "C" void std::exit (int) throw (); using std::exit;' \
4622 'extern "C" void std::exit (int); using std::exit;' \
4623 'extern "C" void exit (int) throw ();' \
4624 'extern "C" void exit (int);' \
4627 cat >conftest.
$ac_ext <<_ACEOF
4630 cat confdefs.h
>>conftest.
$ac_ext
4631 cat >>conftest.
$ac_ext <<_ACEOF
4632 /* end confdefs.h. */
4643 rm -f conftest.
$ac_objext
4644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4645 (eval $ac_compile) 2>conftest.er1
4647 grep -v '^ *+' conftest.er1
>conftest.err
4649 cat conftest.err
>&5
4650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4651 (exit $ac_status); } &&
4652 { ac_try
='test -z "$ac_c_werror_flag"
4653 || test ! -s conftest.err'
4654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658 (exit $ac_status); }; } &&
4659 { ac_try
='test -s conftest.$ac_objext'
4660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); }; }; then
4667 echo "$as_me: failed program was:" >&5
4668 sed 's/^/| /' conftest.
$ac_ext >&5
4672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4673 cat >conftest.
$ac_ext <<_ACEOF
4676 cat confdefs.h
>>conftest.
$ac_ext
4677 cat >>conftest.
$ac_ext <<_ACEOF
4678 /* end confdefs.h. */
4688 rm -f conftest.
$ac_objext
4689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4690 (eval $ac_compile) 2>conftest.er1
4692 grep -v '^ *+' conftest.er1
>conftest.err
4694 cat conftest.err
>&5
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); } &&
4697 { ac_try
='test -z "$ac_c_werror_flag"
4698 || test ! -s conftest.err'
4699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); }; } &&
4704 { ac_try
='test -s conftest.$ac_objext'
4705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4709 (exit $ac_status); }; }; then
4712 echo "$as_me: failed program was:" >&5
4713 sed 's/^/| /' conftest.
$ac_ext >&5
4716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4719 if test -n "$ac_declaration"; then
4720 echo '#ifdef __cplusplus' >>confdefs.h
4721 echo $ac_declaration >>confdefs.h
4722 echo '#endif' >>confdefs.h
4726 echo "$as_me: failed program was:" >&5
4727 sed 's/^/| /' conftest.
$ac_ext >&5
4730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4732 ac_cpp
='$CPP $CPPFLAGS'
4733 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4734 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4735 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4738 ALL_LINGUAS
="fr tr ja es sv da zh_CN ro"
4739 if test -n "$ac_tool_prefix"; then
4740 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4741 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4742 echo "$as_me:$LINENO: checking for $ac_word" >&5
4743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4744 if test "${ac_cv_prog_RANLIB+set}" = set; then
4745 echo $ECHO_N "(cached) $ECHO_C" >&6
4747 if test -n "$RANLIB"; then
4748 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4754 test -z "$as_dir" && as_dir
=.
4755 for ac_exec_ext
in '' $ac_executable_extensions; do
4756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4757 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4766 RANLIB
=$ac_cv_prog_RANLIB
4767 if test -n "$RANLIB"; then
4768 echo "$as_me:$LINENO: result: $RANLIB" >&5
4769 echo "${ECHO_T}$RANLIB" >&6
4771 echo "$as_me:$LINENO: result: no" >&5
4772 echo "${ECHO_T}no" >&6
4776 if test -z "$ac_cv_prog_RANLIB"; then
4777 ac_ct_RANLIB
=$RANLIB
4778 # Extract the first word of "ranlib", so it can be a program name with args.
4779 set dummy ranlib
; ac_word
=$2
4780 echo "$as_me:$LINENO: checking for $ac_word" >&5
4781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4782 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 if test -n "$ac_ct_RANLIB"; then
4786 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4792 test -z "$as_dir" && as_dir
=.
4793 for ac_exec_ext
in '' $ac_executable_extensions; do
4794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4795 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4802 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4805 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4806 if test -n "$ac_ct_RANLIB"; then
4807 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4808 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4810 echo "$as_me:$LINENO: result: no" >&5
4811 echo "${ECHO_T}no" >&6
4814 RANLIB
=$ac_ct_RANLIB
4816 RANLIB
="$ac_cv_prog_RANLIB"
4820 ac_cpp
='$CPP $CPPFLAGS'
4821 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4822 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4823 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4824 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4825 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4826 # On Suns, sometimes $CPP names a directory.
4827 if test -n "$CPP" && test -d "$CPP"; then
4830 if test -z "$CPP"; then
4831 if test "${ac_cv_prog_CPP+set}" = set; then
4832 echo $ECHO_N "(cached) $ECHO_C" >&6
4834 # Double quotes because CPP needs to be expanded
4835 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4838 for ac_c_preproc_warn_flag
in '' yes
4840 # Use a header file that comes with gcc, so configuring glibc
4841 # with a fresh cross-compiler works.
4842 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4843 # <limits.h> exists even on freestanding compilers.
4844 # On the NeXT, cc -E runs the code through the compiler's parser,
4845 # not just through cpp. "Syntax error" is here to catch this case.
4846 cat >conftest.
$ac_ext <<_ACEOF
4849 cat confdefs.h
>>conftest.
$ac_ext
4850 cat >>conftest.
$ac_ext <<_ACEOF
4851 /* end confdefs.h. */
4853 # include <limits.h>
4855 # include <assert.h>
4859 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4860 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4862 grep -v '^ *+' conftest.er1
>conftest.err
4864 cat conftest.err
>&5
4865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4866 (exit $ac_status); } >/dev
/null
; then
4867 if test -s conftest.err
; then
4868 ac_cpp_err
=$ac_c_preproc_warn_flag
4869 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4876 if test -z "$ac_cpp_err"; then
4879 echo "$as_me: failed program was:" >&5
4880 sed 's/^/| /' conftest.
$ac_ext >&5
4882 # Broken: fails on valid input.
4885 rm -f conftest.err conftest.
$ac_ext
4887 # OK, works on sane cases. Now check whether non-existent headers
4888 # can be detected and how.
4889 cat >conftest.
$ac_ext <<_ACEOF
4892 cat confdefs.h
>>conftest.
$ac_ext
4893 cat >>conftest.
$ac_ext <<_ACEOF
4894 /* end confdefs.h. */
4895 #include <ac_nonexistent.h>
4897 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4898 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4900 grep -v '^ *+' conftest.er1
>conftest.err
4902 cat conftest.err
>&5
4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904 (exit $ac_status); } >/dev
/null
; then
4905 if test -s conftest.err
; then
4906 ac_cpp_err
=$ac_c_preproc_warn_flag
4907 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4914 if test -z "$ac_cpp_err"; then
4915 # Broken: success on invalid input.
4918 echo "$as_me: failed program was:" >&5
4919 sed 's/^/| /' conftest.
$ac_ext >&5
4921 # Passes both tests.
4925 rm -f conftest.err conftest.
$ac_ext
4928 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4929 rm -f conftest.err conftest.
$ac_ext
4930 if $ac_preproc_ok; then
4942 echo "$as_me:$LINENO: result: $CPP" >&5
4943 echo "${ECHO_T}$CPP" >&6
4945 for ac_c_preproc_warn_flag
in '' yes
4947 # Use a header file that comes with gcc, so configuring glibc
4948 # with a fresh cross-compiler works.
4949 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4950 # <limits.h> exists even on freestanding compilers.
4951 # On the NeXT, cc -E runs the code through the compiler's parser,
4952 # not just through cpp. "Syntax error" is here to catch this case.
4953 cat >conftest.
$ac_ext <<_ACEOF
4956 cat confdefs.h
>>conftest.
$ac_ext
4957 cat >>conftest.
$ac_ext <<_ACEOF
4958 /* end confdefs.h. */
4960 # include <limits.h>
4962 # include <assert.h>
4966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4967 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4969 grep -v '^ *+' conftest.er1
>conftest.err
4971 cat conftest.err
>&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); } >/dev
/null
; then
4974 if test -s conftest.err
; then
4975 ac_cpp_err
=$ac_c_preproc_warn_flag
4976 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4983 if test -z "$ac_cpp_err"; then
4986 echo "$as_me: failed program was:" >&5
4987 sed 's/^/| /' conftest.
$ac_ext >&5
4989 # Broken: fails on valid input.
4992 rm -f conftest.err conftest.
$ac_ext
4994 # OK, works on sane cases. Now check whether non-existent headers
4995 # can be detected and how.
4996 cat >conftest.
$ac_ext <<_ACEOF
4999 cat confdefs.h
>>conftest.
$ac_ext
5000 cat >>conftest.
$ac_ext <<_ACEOF
5001 /* end confdefs.h. */
5002 #include <ac_nonexistent.h>
5004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5005 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5007 grep -v '^ *+' conftest.er1
>conftest.err
5009 cat conftest.err
>&5
5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011 (exit $ac_status); } >/dev
/null
; then
5012 if test -s conftest.err
; then
5013 ac_cpp_err
=$ac_c_preproc_warn_flag
5014 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5021 if test -z "$ac_cpp_err"; then
5022 # Broken: success on invalid input.
5025 echo "$as_me: failed program was:" >&5
5026 sed 's/^/| /' conftest.
$ac_ext >&5
5028 # Passes both tests.
5032 rm -f conftest.err conftest.
$ac_ext
5035 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5036 rm -f conftest.err conftest.
$ac_ext
5037 if $ac_preproc_ok; then
5040 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5041 See \`config.log' for more details." >&5
5042 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5043 See \`config.log' for more details." >&2;}
5044 { (exit 1); exit 1; }; }
5048 ac_cpp
='$CPP $CPPFLAGS'
5049 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5050 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5051 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5054 echo "$as_me:$LINENO: checking for egrep" >&5
5055 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5056 if test "${ac_cv_prog_egrep+set}" = set; then
5057 echo $ECHO_N "(cached) $ECHO_C" >&6
5059 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5060 then ac_cv_prog_egrep
='grep -E'
5061 else ac_cv_prog_egrep
='egrep'
5064 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5065 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5066 EGREP
=$ac_cv_prog_egrep
5069 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5070 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5071 if test "${ac_cv_header_stdc+set}" = set; then
5072 echo $ECHO_N "(cached) $ECHO_C" >&6
5074 cat >conftest.
$ac_ext <<_ACEOF
5077 cat confdefs.h
>>conftest.
$ac_ext
5078 cat >>conftest.
$ac_ext <<_ACEOF
5079 /* end confdefs.h. */
5093 rm -f conftest.
$ac_objext
5094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5095 (eval $ac_compile) 2>conftest.er1
5097 grep -v '^ *+' conftest.er1
>conftest.err
5099 cat conftest.err
>&5
5100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5101 (exit $ac_status); } &&
5102 { ac_try
='test -z "$ac_c_werror_flag"
5103 || test ! -s conftest.err'
5104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); }; } &&
5109 { ac_try
='test -s conftest.$ac_objext'
5110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114 (exit $ac_status); }; }; then
5115 ac_cv_header_stdc
=yes
5117 echo "$as_me: failed program was:" >&5
5118 sed 's/^/| /' conftest.
$ac_ext >&5
5120 ac_cv_header_stdc
=no
5122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5124 if test $ac_cv_header_stdc = yes; then
5125 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5126 cat >conftest.
$ac_ext <<_ACEOF
5129 cat confdefs.h
>>conftest.
$ac_ext
5130 cat >>conftest.
$ac_ext <<_ACEOF
5131 /* end confdefs.h. */
5135 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5136 $EGREP "memchr" >/dev
/null
2>&1; then
5139 ac_cv_header_stdc
=no
5145 if test $ac_cv_header_stdc = yes; then
5146 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5147 cat >conftest.
$ac_ext <<_ACEOF
5150 cat confdefs.h
>>conftest.
$ac_ext
5151 cat >>conftest.
$ac_ext <<_ACEOF
5152 /* end confdefs.h. */
5156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5157 $EGREP "free" >/dev
/null
2>&1; then
5160 ac_cv_header_stdc
=no
5166 if test $ac_cv_header_stdc = yes; then
5167 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5168 if test "$cross_compiling" = yes; then
5171 cat >conftest.
$ac_ext <<_ACEOF
5174 cat confdefs.h
>>conftest.
$ac_ext
5175 cat >>conftest.
$ac_ext <<_ACEOF
5176 /* end confdefs.h. */
5178 #if ((' ' & 0x0FF) == 0x020)
5179 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5180 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5182 # define ISLOWER(c) \
5183 (('a' <= (c) && (c) <= 'i') \
5184 || ('j' <= (c) && (c) <= 'r') \
5185 || ('s' <= (c) && (c) <= 'z'))
5186 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5189 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5194 for (i = 0; i < 256; i++)
5195 if (XOR (islower (i), ISLOWER (i))
5196 || toupper (i) != TOUPPER (i))
5201 rm -f conftest
$ac_exeext
5202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5203 (eval $ac_link) 2>&5
5205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5206 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); }; }; then
5214 echo "$as_me: program exited with status $ac_status" >&5
5215 echo "$as_me: failed program was:" >&5
5216 sed 's/^/| /' conftest.
$ac_ext >&5
5219 ac_cv_header_stdc
=no
5221 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5225 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5226 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5227 if test $ac_cv_header_stdc = yes; then
5229 cat >>confdefs.h
<<\_ACEOF
5230 #define STDC_HEADERS 1
5235 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5236 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5237 if test "${ac_cv_c_const+set}" = set; then
5238 echo $ECHO_N "(cached) $ECHO_C" >&6
5240 cat >conftest.
$ac_ext <<_ACEOF
5243 cat confdefs.h
>>conftest.
$ac_ext
5244 cat >>conftest.
$ac_ext <<_ACEOF
5245 /* end confdefs.h. */
5250 /* FIXME: Include the comments suggested by Paul. */
5252 /* Ultrix mips cc rejects this. */
5253 typedef int charset[2];
5255 /* SunOS 4.1.1 cc rejects this. */
5256 char const *const *ccp;
5258 /* NEC SVR4.0.2 mips cc rejects this. */
5259 struct point {int x, y;};
5260 static struct point const zero = {0,0};
5261 /* AIX XL C 1.02.0.0 rejects this.
5262 It does not let you subtract one const X* pointer from another in
5263 an arm of an if-expression whose if-part is not a constant
5265 const char *g = "string";
5266 ccp = &g + (g ? g-g : 0);
5267 /* HPUX 7.0 cc rejects these. */
5270 ccp = (char const *const *) p;
5271 { /* SCO 3.2v4 cc rejects this. */
5273 char const *s = 0 ? (char *) 0 : (char const *) 0;
5277 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5279 const int *foo = &x[0];
5282 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5283 typedef const int *iptr;
5287 { /* AIX XL C 1.02.0.0 rejects this saying
5288 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5289 struct s { int j; const int *ap[3]; };
5290 struct s *b; b->j = 5;
5292 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5301 rm -f conftest.
$ac_objext
5302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5303 (eval $ac_compile) 2>conftest.er1
5305 grep -v '^ *+' conftest.er1
>conftest.err
5307 cat conftest.err
>&5
5308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309 (exit $ac_status); } &&
5310 { ac_try
='test -z "$ac_c_werror_flag"
5311 || test ! -s conftest.err'
5312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316 (exit $ac_status); }; } &&
5317 { ac_try
='test -s conftest.$ac_objext'
5318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5322 (exit $ac_status); }; }; then
5325 echo "$as_me: failed program was:" >&5
5326 sed 's/^/| /' conftest.
$ac_ext >&5
5330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5332 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5333 echo "${ECHO_T}$ac_cv_c_const" >&6
5334 if test $ac_cv_c_const = no
; then
5336 cat >>confdefs.h
<<\_ACEOF
5342 echo "$as_me:$LINENO: checking for inline" >&5
5343 echo $ECHO_N "checking for inline... $ECHO_C" >&6
5344 if test "${ac_cv_c_inline+set}" = set; then
5345 echo $ECHO_N "(cached) $ECHO_C" >&6
5348 for ac_kw
in inline __inline__ __inline
; do
5349 cat >conftest.
$ac_ext <<_ACEOF
5352 cat confdefs.h
>>conftest.
$ac_ext
5353 cat >>conftest.
$ac_ext <<_ACEOF
5354 /* end confdefs.h. */
5357 static $ac_kw foo_t static_foo () {return 0; }
5358 $ac_kw foo_t foo () {return 0; }
5362 rm -f conftest.
$ac_objext
5363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5364 (eval $ac_compile) 2>conftest.er1
5366 grep -v '^ *+' conftest.er1
>conftest.err
5368 cat conftest.err
>&5
5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 (exit $ac_status); } &&
5371 { ac_try
='test -z "$ac_c_werror_flag"
5372 || test ! -s conftest.err'
5373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377 (exit $ac_status); }; } &&
5378 { ac_try
='test -s conftest.$ac_objext'
5379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5383 (exit $ac_status); }; }; then
5384 ac_cv_c_inline
=$ac_kw; break
5386 echo "$as_me: failed program was:" >&5
5387 sed 's/^/| /' conftest.
$ac_ext >&5
5390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5394 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5395 echo "${ECHO_T}$ac_cv_c_inline" >&6
5398 case $ac_cv_c_inline in
5401 case $ac_cv_c_inline in
5403 *) ac_val
=$ac_cv_c_inline;;
5405 cat >>confdefs.h
<<_ACEOF
5407 #define inline $ac_val
5413 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5423 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5424 inttypes.h stdint.h unistd.h
5426 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5427 echo "$as_me:$LINENO: checking for $ac_header" >&5
5428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5430 echo $ECHO_N "(cached) $ECHO_C" >&6
5432 cat >conftest.
$ac_ext <<_ACEOF
5435 cat confdefs.h
>>conftest.
$ac_ext
5436 cat >>conftest.
$ac_ext <<_ACEOF
5437 /* end confdefs.h. */
5438 $ac_includes_default
5440 #include <$ac_header>
5442 rm -f conftest.
$ac_objext
5443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5444 (eval $ac_compile) 2>conftest.er1
5446 grep -v '^ *+' conftest.er1
>conftest.err
5448 cat conftest.err
>&5
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); } &&
5451 { ac_try
='test -z "$ac_c_werror_flag"
5452 || test ! -s conftest.err'
5453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457 (exit $ac_status); }; } &&
5458 { ac_try
='test -s conftest.$ac_objext'
5459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5463 (exit $ac_status); }; }; then
5464 eval "$as_ac_Header=yes"
5466 echo "$as_me: failed program was:" >&5
5467 sed 's/^/| /' conftest.
$ac_ext >&5
5469 eval "$as_ac_Header=no"
5471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5474 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5476 cat >>confdefs.h
<<_ACEOF
5477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5485 echo "$as_me:$LINENO: checking for off_t" >&5
5486 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5487 if test "${ac_cv_type_off_t+set}" = set; then
5488 echo $ECHO_N "(cached) $ECHO_C" >&6
5490 cat >conftest.
$ac_ext <<_ACEOF
5493 cat confdefs.h
>>conftest.
$ac_ext
5494 cat >>conftest.
$ac_ext <<_ACEOF
5495 /* end confdefs.h. */
5496 $ac_includes_default
5508 rm -f conftest.
$ac_objext
5509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5510 (eval $ac_compile) 2>conftest.er1
5512 grep -v '^ *+' conftest.er1
>conftest.err
5514 cat conftest.err
>&5
5515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516 (exit $ac_status); } &&
5517 { ac_try
='test -z "$ac_c_werror_flag"
5518 || test ! -s conftest.err'
5519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5523 (exit $ac_status); }; } &&
5524 { ac_try
='test -s conftest.$ac_objext'
5525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529 (exit $ac_status); }; }; then
5530 ac_cv_type_off_t
=yes
5532 echo "$as_me: failed program was:" >&5
5533 sed 's/^/| /' conftest.
$ac_ext >&5
5537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5539 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5540 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5541 if test $ac_cv_type_off_t = yes; then
5545 cat >>confdefs.h
<<_ACEOF
5551 echo "$as_me:$LINENO: checking for size_t" >&5
5552 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5553 if test "${ac_cv_type_size_t+set}" = set; then
5554 echo $ECHO_N "(cached) $ECHO_C" >&6
5556 cat >conftest.
$ac_ext <<_ACEOF
5559 cat confdefs.h
>>conftest.
$ac_ext
5560 cat >>conftest.
$ac_ext <<_ACEOF
5561 /* end confdefs.h. */
5562 $ac_includes_default
5568 if (sizeof (size_t))
5574 rm -f conftest.
$ac_objext
5575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5576 (eval $ac_compile) 2>conftest.er1
5578 grep -v '^ *+' conftest.er1
>conftest.err
5580 cat conftest.err
>&5
5581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5582 (exit $ac_status); } &&
5583 { ac_try
='test -z "$ac_c_werror_flag"
5584 || test ! -s conftest.err'
5585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589 (exit $ac_status); }; } &&
5590 { ac_try
='test -s conftest.$ac_objext'
5591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5595 (exit $ac_status); }; }; then
5596 ac_cv_type_size_t
=yes
5598 echo "$as_me: failed program was:" >&5
5599 sed 's/^/| /' conftest.
$ac_ext >&5
5601 ac_cv_type_size_t
=no
5603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5605 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5606 echo "${ECHO_T}$ac_cv_type_size_t" >&6
5607 if test $ac_cv_type_size_t = yes; then
5611 cat >>confdefs.h
<<_ACEOF
5612 #define size_t unsigned
5617 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5618 # for constant arguments. Useless!
5619 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5620 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5621 if test "${ac_cv_working_alloca_h+set}" = set; then
5622 echo $ECHO_N "(cached) $ECHO_C" >&6
5624 cat >conftest.
$ac_ext <<_ACEOF
5627 cat confdefs.h
>>conftest.
$ac_ext
5628 cat >>conftest.
$ac_ext <<_ACEOF
5629 /* end confdefs.h. */
5634 char *p = (char *) alloca (2 * sizeof (int));
5639 rm -f conftest.
$ac_objext conftest
$ac_exeext
5640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5641 (eval $ac_link) 2>conftest.er1
5643 grep -v '^ *+' conftest.er1
>conftest.err
5645 cat conftest.err
>&5
5646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5647 (exit $ac_status); } &&
5648 { ac_try
='test -z "$ac_c_werror_flag"
5649 || test ! -s conftest.err'
5650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); }; } &&
5655 { ac_try
='test -s conftest$ac_exeext'
5656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660 (exit $ac_status); }; }; then
5661 ac_cv_working_alloca_h
=yes
5663 echo "$as_me: failed program was:" >&5
5664 sed 's/^/| /' conftest.
$ac_ext >&5
5666 ac_cv_working_alloca_h
=no
5668 rm -f conftest.err conftest.
$ac_objext \
5669 conftest
$ac_exeext conftest.
$ac_ext
5671 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5672 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5673 if test $ac_cv_working_alloca_h = yes; then
5675 cat >>confdefs.h
<<\_ACEOF
5676 #define HAVE_ALLOCA_H 1
5681 echo "$as_me:$LINENO: checking for alloca" >&5
5682 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5683 if test "${ac_cv_func_alloca_works+set}" = set; then
5684 echo $ECHO_N "(cached) $ECHO_C" >&6
5686 cat >conftest.
$ac_ext <<_ACEOF
5689 cat confdefs.h
>>conftest.
$ac_ext
5690 cat >>conftest.
$ac_ext <<_ACEOF
5691 /* end confdefs.h. */
5693 # define alloca __builtin_alloca
5696 # include <malloc.h>
5697 # define alloca _alloca
5700 # include <alloca.h>
5705 # ifndef alloca /* predefined by HP cc +Olibcalls */
5716 char *p = (char *) alloca (1);
5721 rm -f conftest.
$ac_objext conftest
$ac_exeext
5722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5723 (eval $ac_link) 2>conftest.er1
5725 grep -v '^ *+' conftest.er1
>conftest.err
5727 cat conftest.err
>&5
5728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5729 (exit $ac_status); } &&
5730 { ac_try
='test -z "$ac_c_werror_flag"
5731 || test ! -s conftest.err'
5732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736 (exit $ac_status); }; } &&
5737 { ac_try
='test -s conftest$ac_exeext'
5738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742 (exit $ac_status); }; }; then
5743 ac_cv_func_alloca_works
=yes
5745 echo "$as_me: failed program was:" >&5
5746 sed 's/^/| /' conftest.
$ac_ext >&5
5748 ac_cv_func_alloca_works
=no
5750 rm -f conftest.err conftest.
$ac_objext \
5751 conftest
$ac_exeext conftest.
$ac_ext
5753 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5754 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
5756 if test $ac_cv_func_alloca_works = yes; then
5758 cat >>confdefs.h
<<\_ACEOF
5759 #define HAVE_ALLOCA 1
5763 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5764 # that cause trouble. Some versions do not even contain alloca or
5765 # contain a buggy version. If you still want to use their alloca,
5766 # use ar to extract alloca.o from them instead of compiling alloca.c.
5768 ALLOCA
=alloca.
$ac_objext
5770 cat >>confdefs.h
<<\_ACEOF
5775 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
5776 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
5777 if test "${ac_cv_os_cray+set}" = set; then
5778 echo $ECHO_N "(cached) $ECHO_C" >&6
5780 cat >conftest.
$ac_ext <<_ACEOF
5783 cat confdefs.h
>>conftest.
$ac_ext
5784 cat >>conftest.
$ac_ext <<_ACEOF
5785 /* end confdefs.h. */
5786 #if defined(CRAY) && ! defined(CRAY2)
5793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5794 $EGREP "webecray" >/dev
/null
2>&1; then
5802 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
5803 echo "${ECHO_T}$ac_cv_os_cray" >&6
5804 if test $ac_cv_os_cray = yes; then
5805 for ac_func
in _getb67 GETB67 getb67
; do
5806 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5807 echo "$as_me:$LINENO: checking for $ac_func" >&5
5808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5809 if eval "test \"\${$as_ac_var+set}\" = set"; then
5810 echo $ECHO_N "(cached) $ECHO_C" >&6
5812 cat >conftest.
$ac_ext <<_ACEOF
5815 cat confdefs.h
>>conftest.
$ac_ext
5816 cat >>conftest.
$ac_ext <<_ACEOF
5817 /* end confdefs.h. */
5818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5820 #define $ac_func innocuous_$ac_func
5822 /* System header to define __stub macros and hopefully few prototypes,
5823 which can conflict with char $ac_func (); below.
5824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5825 <limits.h> exists even on freestanding compilers. */
5828 # include <limits.h>
5830 # include <assert.h>
5835 /* Override any gcc2 internal prototype to avoid an error. */
5840 /* We use char because int might match the return type of a gcc2
5841 builtin and then its argument prototype would still apply. */
5843 /* The GNU C library defines this for functions which it implements
5844 to always fail with ENOSYS. Some functions are actually named
5845 something starting with __ and the normal name is an alias. */
5846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5849 char (*f) () = $ac_func;
5858 return f != $ac_func;
5863 rm -f conftest.
$ac_objext conftest
$ac_exeext
5864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5865 (eval $ac_link) 2>conftest.er1
5867 grep -v '^ *+' conftest.er1
>conftest.err
5869 cat conftest.err
>&5
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); } &&
5872 { ac_try
='test -z "$ac_c_werror_flag"
5873 || test ! -s conftest.err'
5874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878 (exit $ac_status); }; } &&
5879 { ac_try
='test -s conftest$ac_exeext'
5880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884 (exit $ac_status); }; }; then
5885 eval "$as_ac_var=yes"
5887 echo "$as_me: failed program was:" >&5
5888 sed 's/^/| /' conftest.
$ac_ext >&5
5890 eval "$as_ac_var=no"
5892 rm -f conftest.err conftest.
$ac_objext \
5893 conftest
$ac_exeext conftest.
$ac_ext
5895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5897 if test `eval echo '${'$as_ac_var'}'` = yes; then
5899 cat >>confdefs.h
<<_ACEOF
5900 #define CRAY_STACKSEG_END $ac_func
5909 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
5910 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
5911 if test "${ac_cv_c_stack_direction+set}" = set; then
5912 echo $ECHO_N "(cached) $ECHO_C" >&6
5914 if test "$cross_compiling" = yes; then
5915 ac_cv_c_stack_direction
=0
5917 cat >conftest.
$ac_ext <<_ACEOF
5920 cat confdefs.h
>>conftest.
$ac_ext
5921 cat >>conftest.
$ac_ext <<_ACEOF
5922 /* end confdefs.h. */
5924 find_stack_direction ()
5926 static char *addr = 0;
5931 return find_stack_direction ();
5934 return (&dummy > addr) ? 1 : -1;
5940 exit (find_stack_direction () < 0);
5943 rm -f conftest
$ac_exeext
5944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5945 (eval $ac_link) 2>&5
5947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5953 (exit $ac_status); }; }; then
5954 ac_cv_c_stack_direction
=1
5956 echo "$as_me: program exited with status $ac_status" >&5
5957 echo "$as_me: failed program was:" >&5
5958 sed 's/^/| /' conftest.
$ac_ext >&5
5961 ac_cv_c_stack_direction
=-1
5963 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5966 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
5967 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
5969 cat >>confdefs.h
<<_ACEOF
5970 #define STACK_DIRECTION $ac_cv_c_stack_direction
5978 for ac_header
in stdlib.h unistd.h
5980 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5982 echo "$as_me:$LINENO: checking for $ac_header" >&5
5983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5985 echo $ECHO_N "(cached) $ECHO_C" >&6
5987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5988 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5990 # Is the header compilable?
5991 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5992 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5993 cat >conftest.
$ac_ext <<_ACEOF
5996 cat confdefs.h
>>conftest.
$ac_ext
5997 cat >>conftest.
$ac_ext <<_ACEOF
5998 /* end confdefs.h. */
5999 $ac_includes_default
6000 #include <$ac_header>
6002 rm -f conftest.
$ac_objext
6003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6004 (eval $ac_compile) 2>conftest.er1
6006 grep -v '^ *+' conftest.er1
>conftest.err
6008 cat conftest.err
>&5
6009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6010 (exit $ac_status); } &&
6011 { ac_try
='test -z "$ac_c_werror_flag"
6012 || test ! -s conftest.err'
6013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6017 (exit $ac_status); }; } &&
6018 { ac_try
='test -s conftest.$ac_objext'
6019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6023 (exit $ac_status); }; }; then
6024 ac_header_compiler
=yes
6026 echo "$as_me: failed program was:" >&5
6027 sed 's/^/| /' conftest.
$ac_ext >&5
6029 ac_header_compiler
=no
6031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6032 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6033 echo "${ECHO_T}$ac_header_compiler" >&6
6035 # Is the header present?
6036 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6037 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6038 cat >conftest.
$ac_ext <<_ACEOF
6041 cat confdefs.h
>>conftest.
$ac_ext
6042 cat >>conftest.
$ac_ext <<_ACEOF
6043 /* end confdefs.h. */
6044 #include <$ac_header>
6046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6047 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6049 grep -v '^ *+' conftest.er1
>conftest.err
6051 cat conftest.err
>&5
6052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053 (exit $ac_status); } >/dev
/null
; then
6054 if test -s conftest.err
; then
6055 ac_cpp_err
=$ac_c_preproc_warn_flag
6056 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6063 if test -z "$ac_cpp_err"; then
6064 ac_header_preproc
=yes
6066 echo "$as_me: failed program was:" >&5
6067 sed 's/^/| /' conftest.
$ac_ext >&5
6069 ac_header_preproc
=no
6071 rm -f conftest.err conftest.
$ac_ext
6072 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6073 echo "${ECHO_T}$ac_header_preproc" >&6
6075 # So? What about this header?
6076 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6078 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6079 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6080 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6081 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6082 ac_header_preproc
=yes
6085 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6086 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6087 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6088 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6089 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6090 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6091 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6092 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6094 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6095 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6096 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6099 ## ------------------------------------------ ##
6100 ## Report this to the AC_PACKAGE_NAME lists. ##
6101 ## ------------------------------------------ ##
6104 sed "s/^/$as_me: WARNING: /" >&2
6107 echo "$as_me:$LINENO: checking for $ac_header" >&5
6108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6110 echo $ECHO_N "(cached) $ECHO_C" >&6
6112 eval "$as_ac_Header=\$ac_header_preproc"
6114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6115 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6118 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6119 cat >>confdefs.h
<<_ACEOF
6120 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6128 for ac_func
in getpagesize
6130 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6131 echo "$as_me:$LINENO: checking for $ac_func" >&5
6132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6133 if eval "test \"\${$as_ac_var+set}\" = set"; then
6134 echo $ECHO_N "(cached) $ECHO_C" >&6
6136 cat >conftest.
$ac_ext <<_ACEOF
6139 cat confdefs.h
>>conftest.
$ac_ext
6140 cat >>conftest.
$ac_ext <<_ACEOF
6141 /* end confdefs.h. */
6142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6144 #define $ac_func innocuous_$ac_func
6146 /* System header to define __stub macros and hopefully few prototypes,
6147 which can conflict with char $ac_func (); below.
6148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6149 <limits.h> exists even on freestanding compilers. */
6152 # include <limits.h>
6154 # include <assert.h>
6159 /* Override any gcc2 internal prototype to avoid an error. */
6164 /* We use char because int might match the return type of a gcc2
6165 builtin and then its argument prototype would still apply. */
6167 /* The GNU C library defines this for functions which it implements
6168 to always fail with ENOSYS. Some functions are actually named
6169 something starting with __ and the normal name is an alias. */
6170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6173 char (*f) () = $ac_func;
6182 return f != $ac_func;
6187 rm -f conftest.
$ac_objext conftest
$ac_exeext
6188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6189 (eval $ac_link) 2>conftest.er1
6191 grep -v '^ *+' conftest.er1
>conftest.err
6193 cat conftest.err
>&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); } &&
6196 { ac_try
='test -z "$ac_c_werror_flag"
6197 || test ! -s conftest.err'
6198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6202 (exit $ac_status); }; } &&
6203 { ac_try
='test -s conftest$ac_exeext'
6204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208 (exit $ac_status); }; }; then
6209 eval "$as_ac_var=yes"
6211 echo "$as_me: failed program was:" >&5
6212 sed 's/^/| /' conftest.
$ac_ext >&5
6214 eval "$as_ac_var=no"
6216 rm -f conftest.err conftest.
$ac_objext \
6217 conftest
$ac_exeext conftest.
$ac_ext
6219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6221 if test `eval echo '${'$as_ac_var'}'` = yes; then
6222 cat >>confdefs.h
<<_ACEOF
6223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6229 echo "$as_me:$LINENO: checking for working mmap" >&5
6230 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6231 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6232 echo $ECHO_N "(cached) $ECHO_C" >&6
6234 if test "$cross_compiling" = yes; then
6235 ac_cv_func_mmap_fixed_mapped
=no
6237 cat >conftest.
$ac_ext <<_ACEOF
6240 cat confdefs.h
>>conftest.
$ac_ext
6241 cat >>conftest.
$ac_ext <<_ACEOF
6242 /* end confdefs.h. */
6243 $ac_includes_default
6244 /* malloc might have been renamed as rpl_malloc. */
6247 /* Thanks to Mike Haertel and Jim Avera for this test.
6248 Here is a matrix of mmap possibilities:
6249 mmap private not fixed
6250 mmap private fixed at somewhere currently unmapped
6251 mmap private fixed at somewhere already mapped
6252 mmap shared not fixed
6253 mmap shared fixed at somewhere currently unmapped
6254 mmap shared fixed at somewhere already mapped
6255 For private mappings, we should verify that changes cannot be read()
6256 back from the file, nor mmap's back from the file at a different
6257 address. (There have been systems where private was not correctly
6258 implemented like the infamous i386 svr4.0, and systems where the
6259 VM page cache was not coherent with the file system buffer cache
6260 like early versions of FreeBSD and possibly contemporary NetBSD.)
6261 For shared mappings, we should conversely verify that changes get
6262 propagated back to all the places they're supposed to be.
6264 Grep wants private fixed already mapped.
6265 The main things grep needs to know about mmap are:
6266 * does it exist and is it safe to write into the mmap'd area
6267 * how to use it (BSD variants) */
6270 #include <sys/mman.h>
6272 #if !STDC_HEADERS && !HAVE_STDLIB_H
6276 /* This mess was copied from the GNU getpagesize.h. */
6277 #if !HAVE_GETPAGESIZE
6278 /* Assume that all systems that can run configure have sys/param.h. */
6279 # if !HAVE_SYS_PARAM_H
6280 # define HAVE_SYS_PARAM_H 1
6283 # ifdef _SC_PAGESIZE
6284 # define getpagesize() sysconf(_SC_PAGESIZE)
6285 # else /* no _SC_PAGESIZE */
6286 # if HAVE_SYS_PARAM_H
6287 # include <sys/param.h>
6288 # ifdef EXEC_PAGESIZE
6289 # define getpagesize() EXEC_PAGESIZE
6290 # else /* no EXEC_PAGESIZE */
6292 # define getpagesize() NBPG * CLSIZE
6295 # endif /* no CLSIZE */
6296 # else /* no NBPG */
6298 # define getpagesize() NBPC
6299 # else /* no NBPC */
6301 # define getpagesize() PAGESIZE
6302 # endif /* PAGESIZE */
6303 # endif /* no NBPC */
6304 # endif /* no NBPG */
6305 # endif /* no EXEC_PAGESIZE */
6306 # else /* no HAVE_SYS_PARAM_H */
6307 # define getpagesize() 8192 /* punt totally */
6308 # endif /* no HAVE_SYS_PARAM_H */
6309 # endif /* no _SC_PAGESIZE */
6311 #endif /* no HAVE_GETPAGESIZE */
6316 char *data, *data2, *data3;
6320 pagesize = getpagesize ();
6322 /* First, make a file with some known garbage in it. */
6323 data = (char *) malloc (pagesize);
6326 for (i = 0; i < pagesize; ++i)
6327 *(data + i) = rand ();
6329 fd = creat ("conftest.mmap", 0600);
6332 if (write (fd, data, pagesize) != pagesize)
6336 /* Next, try to mmap the file at a fixed address which already has
6337 something else allocated at it. If we can, also make sure that
6338 we see the same garbage. */
6339 fd = open ("conftest.mmap", O_RDWR);
6342 data2 = (char *) malloc (2 * pagesize);
6345 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6346 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6347 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6349 for (i = 0; i < pagesize; ++i)
6350 if (*(data + i) != *(data2 + i))
6353 /* Finally, make sure that changes to the mapped area do not
6354 percolate back to the file as seen by read(). (This is a bug on
6355 some variants of i386 svr4.0.) */
6356 for (i = 0; i < pagesize; ++i)
6357 *(data2 + i) = *(data2 + i) + 1;
6358 data3 = (char *) malloc (pagesize);
6361 if (read (fd, data3, pagesize) != pagesize)
6363 for (i = 0; i < pagesize; ++i)
6364 if (*(data + i) != *(data3 + i))
6370 rm -f conftest
$ac_exeext
6371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6372 (eval $ac_link) 2>&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6380 (exit $ac_status); }; }; then
6381 ac_cv_func_mmap_fixed_mapped
=yes
6383 echo "$as_me: program exited with status $ac_status" >&5
6384 echo "$as_me: failed program was:" >&5
6385 sed 's/^/| /' conftest.
$ac_ext >&5
6388 ac_cv_func_mmap_fixed_mapped
=no
6390 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6393 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6394 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6395 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6397 cat >>confdefs.h
<<\_ACEOF
6414 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
6415 unistd.h values.h sys
/param.h
6417 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6419 echo "$as_me:$LINENO: checking for $ac_header" >&5
6420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6422 echo $ECHO_N "(cached) $ECHO_C" >&6
6424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6427 # Is the header compilable?
6428 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6429 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6430 cat >conftest.
$ac_ext <<_ACEOF
6433 cat confdefs.h
>>conftest.
$ac_ext
6434 cat >>conftest.
$ac_ext <<_ACEOF
6435 /* end confdefs.h. */
6436 $ac_includes_default
6437 #include <$ac_header>
6439 rm -f conftest.
$ac_objext
6440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6441 (eval $ac_compile) 2>conftest.er1
6443 grep -v '^ *+' conftest.er1
>conftest.err
6445 cat conftest.err
>&5
6446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447 (exit $ac_status); } &&
6448 { ac_try
='test -z "$ac_c_werror_flag"
6449 || test ! -s conftest.err'
6450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6454 (exit $ac_status); }; } &&
6455 { ac_try
='test -s conftest.$ac_objext'
6456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460 (exit $ac_status); }; }; then
6461 ac_header_compiler
=yes
6463 echo "$as_me: failed program was:" >&5
6464 sed 's/^/| /' conftest.
$ac_ext >&5
6466 ac_header_compiler
=no
6468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6469 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6470 echo "${ECHO_T}$ac_header_compiler" >&6
6472 # Is the header present?
6473 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6474 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6475 cat >conftest.
$ac_ext <<_ACEOF
6478 cat confdefs.h
>>conftest.
$ac_ext
6479 cat >>conftest.
$ac_ext <<_ACEOF
6480 /* end confdefs.h. */
6481 #include <$ac_header>
6483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6484 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6486 grep -v '^ *+' conftest.er1
>conftest.err
6488 cat conftest.err
>&5
6489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6490 (exit $ac_status); } >/dev
/null
; then
6491 if test -s conftest.err
; then
6492 ac_cpp_err
=$ac_c_preproc_warn_flag
6493 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6500 if test -z "$ac_cpp_err"; then
6501 ac_header_preproc
=yes
6503 echo "$as_me: failed program was:" >&5
6504 sed 's/^/| /' conftest.
$ac_ext >&5
6506 ac_header_preproc
=no
6508 rm -f conftest.err conftest.
$ac_ext
6509 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6510 echo "${ECHO_T}$ac_header_preproc" >&6
6512 # So? What about this header?
6513 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6515 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6516 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6517 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6518 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6519 ac_header_preproc
=yes
6522 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6523 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6524 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6525 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6526 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6527 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6528 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6529 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6530 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6531 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6532 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6533 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6536 ## ------------------------------------------ ##
6537 ## Report this to the AC_PACKAGE_NAME lists. ##
6538 ## ------------------------------------------ ##
6541 sed "s/^/$as_me: WARNING: /" >&2
6544 echo "$as_me:$LINENO: checking for $ac_header" >&5
6545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6547 echo $ECHO_N "(cached) $ECHO_C" >&6
6549 eval "$as_ac_Header=\$ac_header_preproc"
6551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6552 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6555 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6556 cat >>confdefs.h
<<_ACEOF
6557 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6574 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
6575 __argz_count __argz_stringify __argz_next
6577 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6578 echo "$as_me:$LINENO: checking for $ac_func" >&5
6579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6580 if eval "test \"\${$as_ac_var+set}\" = set"; then
6581 echo $ECHO_N "(cached) $ECHO_C" >&6
6583 cat >conftest.
$ac_ext <<_ACEOF
6586 cat confdefs.h
>>conftest.
$ac_ext
6587 cat >>conftest.
$ac_ext <<_ACEOF
6588 /* end confdefs.h. */
6589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6591 #define $ac_func innocuous_$ac_func
6593 /* System header to define __stub macros and hopefully few prototypes,
6594 which can conflict with char $ac_func (); below.
6595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6596 <limits.h> exists even on freestanding compilers. */
6599 # include <limits.h>
6601 # include <assert.h>
6606 /* Override any gcc2 internal prototype to avoid an error. */
6611 /* We use char because int might match the return type of a gcc2
6612 builtin and then its argument prototype would still apply. */
6614 /* The GNU C library defines this for functions which it implements
6615 to always fail with ENOSYS. Some functions are actually named
6616 something starting with __ and the normal name is an alias. */
6617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6620 char (*f) () = $ac_func;
6629 return f != $ac_func;
6634 rm -f conftest.
$ac_objext conftest
$ac_exeext
6635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6636 (eval $ac_link) 2>conftest.er1
6638 grep -v '^ *+' conftest.er1
>conftest.err
6640 cat conftest.err
>&5
6641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642 (exit $ac_status); } &&
6643 { ac_try
='test -z "$ac_c_werror_flag"
6644 || test ! -s conftest.err'
6645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6649 (exit $ac_status); }; } &&
6650 { ac_try
='test -s conftest$ac_exeext'
6651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655 (exit $ac_status); }; }; then
6656 eval "$as_ac_var=yes"
6658 echo "$as_me: failed program was:" >&5
6659 sed 's/^/| /' conftest.
$ac_ext >&5
6661 eval "$as_ac_var=no"
6663 rm -f conftest.err conftest.
$ac_objext \
6664 conftest
$ac_exeext conftest.
$ac_ext
6666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6668 if test `eval echo '${'$as_ac_var'}'` = yes; then
6669 cat >>confdefs.h
<<_ACEOF
6670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6677 if test "${ac_cv_func_stpcpy+set}" != "set"; then
6679 for ac_func
in stpcpy
6681 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6682 echo "$as_me:$LINENO: checking for $ac_func" >&5
6683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6684 if eval "test \"\${$as_ac_var+set}\" = set"; then
6685 echo $ECHO_N "(cached) $ECHO_C" >&6
6687 cat >conftest.
$ac_ext <<_ACEOF
6690 cat confdefs.h
>>conftest.
$ac_ext
6691 cat >>conftest.
$ac_ext <<_ACEOF
6692 /* end confdefs.h. */
6693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6695 #define $ac_func innocuous_$ac_func
6697 /* System header to define __stub macros and hopefully few prototypes,
6698 which can conflict with char $ac_func (); below.
6699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6700 <limits.h> exists even on freestanding compilers. */
6703 # include <limits.h>
6705 # include <assert.h>
6710 /* Override any gcc2 internal prototype to avoid an error. */
6715 /* We use char because int might match the return type of a gcc2
6716 builtin and then its argument prototype would still apply. */
6718 /* The GNU C library defines this for functions which it implements
6719 to always fail with ENOSYS. Some functions are actually named
6720 something starting with __ and the normal name is an alias. */
6721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6724 char (*f) () = $ac_func;
6733 return f != $ac_func;
6738 rm -f conftest.
$ac_objext conftest
$ac_exeext
6739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6740 (eval $ac_link) 2>conftest.er1
6742 grep -v '^ *+' conftest.er1
>conftest.err
6744 cat conftest.err
>&5
6745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6746 (exit $ac_status); } &&
6747 { ac_try
='test -z "$ac_c_werror_flag"
6748 || test ! -s conftest.err'
6749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6753 (exit $ac_status); }; } &&
6754 { ac_try
='test -s conftest$ac_exeext'
6755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759 (exit $ac_status); }; }; then
6760 eval "$as_ac_var=yes"
6762 echo "$as_me: failed program was:" >&5
6763 sed 's/^/| /' conftest.
$ac_ext >&5
6765 eval "$as_ac_var=no"
6767 rm -f conftest.err conftest.
$ac_objext \
6768 conftest
$ac_exeext conftest.
$ac_ext
6770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6772 if test `eval echo '${'$as_ac_var'}'` = yes; then
6773 cat >>confdefs.h
<<_ACEOF
6774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6781 if test "${ac_cv_func_stpcpy}" = "yes"; then
6783 cat >>confdefs.h
<<\_ACEOF
6784 #define HAVE_STPCPY 1
6789 if test $ac_cv_header_locale_h = yes; then
6790 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
6791 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
6792 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6793 echo $ECHO_N "(cached) $ECHO_C" >&6
6795 cat >conftest.
$ac_ext <<_ACEOF
6798 cat confdefs.h
>>conftest.
$ac_ext
6799 cat >>conftest.
$ac_ext <<_ACEOF
6800 /* end confdefs.h. */
6810 rm -f conftest.
$ac_objext conftest
$ac_exeext
6811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6812 (eval $ac_link) 2>conftest.er1
6814 grep -v '^ *+' conftest.er1
>conftest.err
6816 cat conftest.err
>&5
6817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6818 (exit $ac_status); } &&
6819 { ac_try
='test -z "$ac_c_werror_flag"
6820 || test ! -s conftest.err'
6821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825 (exit $ac_status); }; } &&
6826 { ac_try
='test -s conftest$ac_exeext'
6827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831 (exit $ac_status); }; }; then
6832 am_cv_val_LC_MESSAGES
=yes
6834 echo "$as_me: failed program was:" >&5
6835 sed 's/^/| /' conftest.
$ac_ext >&5
6837 am_cv_val_LC_MESSAGES
=no
6839 rm -f conftest.err conftest.
$ac_objext \
6840 conftest
$ac_exeext conftest.
$ac_ext
6842 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
6843 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
6844 if test $am_cv_val_LC_MESSAGES = yes; then
6846 cat >>confdefs.h
<<\_ACEOF
6847 #define HAVE_LC_MESSAGES 1
6852 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
6853 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
6854 # Check whether --enable-nls or --disable-nls was given.
6855 if test "${enable_nls+set}" = set; then
6856 enableval
="$enable_nls"
6861 echo "$as_me:$LINENO: result: $USE_NLS" >&5
6862 echo "${ECHO_T}$USE_NLS" >&6
6865 USE_INCLUDED_LIBINTL
=no
6867 if test "$USE_NLS" = "yes"; then
6869 cat >>confdefs.h
<<\_ACEOF
6870 #define ENABLE_NLS 1
6873 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
6874 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
6876 # Check whether --with-included-gettext or --without-included-gettext was given.
6877 if test "${with_included_gettext+set}" = set; then
6878 withval
="$with_included_gettext"
6879 nls_cv_force_use_gnu_gettext
=$withval
6881 nls_cv_force_use_gnu_gettext
=no
6883 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
6884 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
6886 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
6887 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
6889 nls_cv_header_libgt
=
6892 if test "${ac_cv_header_libintl_h+set}" = set; then
6893 echo "$as_me:$LINENO: checking for libintl.h" >&5
6894 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
6895 if test "${ac_cv_header_libintl_h+set}" = set; then
6896 echo $ECHO_N "(cached) $ECHO_C" >&6
6898 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6899 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
6901 # Is the header compilable?
6902 echo "$as_me:$LINENO: checking libintl.h usability" >&5
6903 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
6904 cat >conftest.
$ac_ext <<_ACEOF
6907 cat confdefs.h
>>conftest.
$ac_ext
6908 cat >>conftest.
$ac_ext <<_ACEOF
6909 /* end confdefs.h. */
6910 $ac_includes_default
6911 #include <libintl.h>
6913 rm -f conftest.
$ac_objext
6914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6915 (eval $ac_compile) 2>conftest.er1
6917 grep -v '^ *+' conftest.er1
>conftest.err
6919 cat conftest.err
>&5
6920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6921 (exit $ac_status); } &&
6922 { ac_try
='test -z "$ac_c_werror_flag"
6923 || test ! -s conftest.err'
6924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6928 (exit $ac_status); }; } &&
6929 { ac_try
='test -s conftest.$ac_objext'
6930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6934 (exit $ac_status); }; }; then
6935 ac_header_compiler
=yes
6937 echo "$as_me: failed program was:" >&5
6938 sed 's/^/| /' conftest.
$ac_ext >&5
6940 ac_header_compiler
=no
6942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6943 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6944 echo "${ECHO_T}$ac_header_compiler" >&6
6946 # Is the header present?
6947 echo "$as_me:$LINENO: checking libintl.h presence" >&5
6948 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
6949 cat >conftest.
$ac_ext <<_ACEOF
6952 cat confdefs.h
>>conftest.
$ac_ext
6953 cat >>conftest.
$ac_ext <<_ACEOF
6954 /* end confdefs.h. */
6955 #include <libintl.h>
6957 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6958 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6960 grep -v '^ *+' conftest.er1
>conftest.err
6962 cat conftest.err
>&5
6963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); } >/dev
/null
; then
6965 if test -s conftest.err
; then
6966 ac_cpp_err
=$ac_c_preproc_warn_flag
6967 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6974 if test -z "$ac_cpp_err"; then
6975 ac_header_preproc
=yes
6977 echo "$as_me: failed program was:" >&5
6978 sed 's/^/| /' conftest.
$ac_ext >&5
6980 ac_header_preproc
=no
6982 rm -f conftest.err conftest.
$ac_ext
6983 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6984 echo "${ECHO_T}$ac_header_preproc" >&6
6986 # So? What about this header?
6987 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6989 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6990 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6991 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
6992 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
6993 ac_header_preproc
=yes
6996 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
6997 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
6998 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
6999 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7000 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
7001 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
7002 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
7003 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
7004 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7005 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
7006 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
7007 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
7010 ## ------------------------------------------ ##
7011 ## Report this to the AC_PACKAGE_NAME lists. ##
7012 ## ------------------------------------------ ##
7015 sed "s/^/$as_me: WARNING: /" >&2
7018 echo "$as_me:$LINENO: checking for libintl.h" >&5
7019 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7020 if test "${ac_cv_header_libintl_h+set}" = set; then
7021 echo $ECHO_N "(cached) $ECHO_C" >&6
7023 ac_cv_header_libintl_h
=$ac_header_preproc
7025 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7026 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7029 if test $ac_cv_header_libintl_h = yes; then
7030 echo "$as_me:$LINENO: checking for gettext in libc" >&5
7031 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
7032 if test "${gt_cv_func_gettext_libc+set}" = set; then
7033 echo $ECHO_N "(cached) $ECHO_C" >&6
7035 cat >conftest.
$ac_ext <<_ACEOF
7038 cat confdefs.h
>>conftest.
$ac_ext
7039 cat >>conftest.
$ac_ext <<_ACEOF
7040 /* end confdefs.h. */
7041 #include <libintl.h>
7045 return (int) gettext ("")
7050 rm -f conftest.
$ac_objext conftest
$ac_exeext
7051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7052 (eval $ac_link) 2>conftest.er1
7054 grep -v '^ *+' conftest.er1
>conftest.err
7056 cat conftest.err
>&5
7057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058 (exit $ac_status); } &&
7059 { ac_try
='test -z "$ac_c_werror_flag"
7060 || test ! -s conftest.err'
7061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 (exit $ac_status); }; } &&
7066 { ac_try
='test -s conftest$ac_exeext'
7067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7071 (exit $ac_status); }; }; then
7072 gt_cv_func_gettext_libc
=yes
7074 echo "$as_me: failed program was:" >&5
7075 sed 's/^/| /' conftest.
$ac_ext >&5
7077 gt_cv_func_gettext_libc
=no
7079 rm -f conftest.err conftest.
$ac_objext \
7080 conftest
$ac_exeext conftest.
$ac_ext
7082 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
7083 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
7085 if test "$gt_cv_func_gettext_libc" != "yes"; then
7086 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
7087 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
7088 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
7089 echo $ECHO_N "(cached) $ECHO_C" >&6
7091 ac_check_lib_save_LIBS
=$LIBS
7093 cat >conftest.
$ac_ext <<_ACEOF
7096 cat confdefs.h
>>conftest.
$ac_ext
7097 cat >>conftest.
$ac_ext <<_ACEOF
7098 /* end confdefs.h. */
7100 /* Override any gcc2 internal prototype to avoid an error. */
7104 /* We use char because int might match the return type of a gcc2
7105 builtin and then its argument prototype would still apply. */
7106 char bindtextdomain ();
7115 rm -f conftest.
$ac_objext conftest
$ac_exeext
7116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7117 (eval $ac_link) 2>conftest.er1
7119 grep -v '^ *+' conftest.er1
>conftest.err
7121 cat conftest.err
>&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); } &&
7124 { ac_try
='test -z "$ac_c_werror_flag"
7125 || test ! -s conftest.err'
7126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7130 (exit $ac_status); }; } &&
7131 { ac_try
='test -s conftest$ac_exeext'
7132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); }; }; then
7137 ac_cv_lib_intl_bindtextdomain
=yes
7139 echo "$as_me: failed program was:" >&5
7140 sed 's/^/| /' conftest.
$ac_ext >&5
7142 ac_cv_lib_intl_bindtextdomain
=no
7144 rm -f conftest.err conftest.
$ac_objext \
7145 conftest
$ac_exeext conftest.
$ac_ext
7146 LIBS
=$ac_check_lib_save_LIBS
7148 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7149 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
7150 if test $ac_cv_lib_intl_bindtextdomain = yes; then
7151 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
7152 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
7153 if test "${gt_cv_func_gettext_libintl+set}" = set; then
7154 echo $ECHO_N "(cached) $ECHO_C" >&6
7156 cat >conftest.
$ac_ext <<_ACEOF
7159 cat confdefs.h
>>conftest.
$ac_ext
7160 cat >>conftest.
$ac_ext <<_ACEOF
7161 /* end confdefs.h. */
7166 return (int) gettext ("")
7171 rm -f conftest.
$ac_objext conftest
$ac_exeext
7172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7173 (eval $ac_link) 2>conftest.er1
7175 grep -v '^ *+' conftest.er1
>conftest.err
7177 cat conftest.err
>&5
7178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7179 (exit $ac_status); } &&
7180 { ac_try
='test -z "$ac_c_werror_flag"
7181 || test ! -s conftest.err'
7182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186 (exit $ac_status); }; } &&
7187 { ac_try
='test -s conftest$ac_exeext'
7188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192 (exit $ac_status); }; }; then
7193 gt_cv_func_gettext_libintl
=yes
7195 echo "$as_me: failed program was:" >&5
7196 sed 's/^/| /' conftest.
$ac_ext >&5
7198 gt_cv_func_gettext_libintl
=no
7200 rm -f conftest.err conftest.
$ac_objext \
7201 conftest
$ac_exeext conftest.
$ac_ext
7203 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
7204 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
7209 if test "$gt_cv_func_gettext_libc" = "yes" \
7210 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
7212 cat >>confdefs.h
<<\_ACEOF
7213 #define HAVE_GETTEXT 1
7216 # Extract the first word of "msgfmt", so it can be a program name with args.
7217 set dummy msgfmt
; ac_word
=$2
7218 echo "$as_me:$LINENO: checking for $ac_word" >&5
7219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7220 if test "${ac_cv_path_MSGFMT+set}" = set; then
7221 echo $ECHO_N "(cached) $ECHO_C" >&6
7225 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7228 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7229 for ac_dir
in $PATH; do
7230 test -z "$ac_dir" && ac_dir
=.
7231 if test -f $ac_dir/$ac_word; then
7232 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7233 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7239 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
7243 MSGFMT
="$ac_cv_path_MSGFMT"
7244 if test -n "$MSGFMT"; then
7245 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7246 echo "${ECHO_T}$MSGFMT" >&6
7248 echo "$as_me:$LINENO: result: no" >&5
7249 echo "${ECHO_T}no" >&6
7251 if test "$MSGFMT" != "no"; then
7253 for ac_func
in dcgettext
7255 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7256 echo "$as_me:$LINENO: checking for $ac_func" >&5
7257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7258 if eval "test \"\${$as_ac_var+set}\" = set"; then
7259 echo $ECHO_N "(cached) $ECHO_C" >&6
7261 cat >conftest.
$ac_ext <<_ACEOF
7264 cat confdefs.h
>>conftest.
$ac_ext
7265 cat >>conftest.
$ac_ext <<_ACEOF
7266 /* end confdefs.h. */
7267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7269 #define $ac_func innocuous_$ac_func
7271 /* System header to define __stub macros and hopefully few prototypes,
7272 which can conflict with char $ac_func (); below.
7273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7274 <limits.h> exists even on freestanding compilers. */
7277 # include <limits.h>
7279 # include <assert.h>
7284 /* Override any gcc2 internal prototype to avoid an error. */
7289 /* We use char because int might match the return type of a gcc2
7290 builtin and then its argument prototype would still apply. */
7292 /* The GNU C library defines this for functions which it implements
7293 to always fail with ENOSYS. Some functions are actually named
7294 something starting with __ and the normal name is an alias. */
7295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7298 char (*f) () = $ac_func;
7307 return f != $ac_func;
7312 rm -f conftest.
$ac_objext conftest
$ac_exeext
7313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7314 (eval $ac_link) 2>conftest.er1
7316 grep -v '^ *+' conftest.er1
>conftest.err
7318 cat conftest.err
>&5
7319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); } &&
7321 { ac_try
='test -z "$ac_c_werror_flag"
7322 || test ! -s conftest.err'
7323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327 (exit $ac_status); }; } &&
7328 { ac_try
='test -s conftest$ac_exeext'
7329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 (exit $ac_status); }; }; then
7334 eval "$as_ac_var=yes"
7336 echo "$as_me: failed program was:" >&5
7337 sed 's/^/| /' conftest.
$ac_ext >&5
7339 eval "$as_ac_var=no"
7341 rm -f conftest.err conftest.
$ac_objext \
7342 conftest
$ac_exeext conftest.
$ac_ext
7344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7346 if test `eval echo '${'$as_ac_var'}'` = yes; then
7347 cat >>confdefs.h
<<_ACEOF
7348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7354 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7355 set dummy gmsgfmt
; ac_word
=$2
7356 echo "$as_me:$LINENO: checking for $ac_word" >&5
7357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7358 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7359 echo $ECHO_N "(cached) $ECHO_C" >&6
7363 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7370 test -z "$as_dir" && as_dir
=.
7371 for ac_exec_ext
in '' $ac_executable_extensions; do
7372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7373 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7380 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7384 GMSGFMT
=$ac_cv_path_GMSGFMT
7386 if test -n "$GMSGFMT"; then
7387 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7388 echo "${ECHO_T}$GMSGFMT" >&6
7390 echo "$as_me:$LINENO: result: no" >&5
7391 echo "${ECHO_T}no" >&6
7394 # Extract the first word of "xgettext", so it can be a program name with args.
7395 set dummy xgettext
; ac_word
=$2
7396 echo "$as_me:$LINENO: checking for $ac_word" >&5
7397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7398 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7399 echo $ECHO_N "(cached) $ECHO_C" >&6
7403 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7406 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7407 for ac_dir
in $PATH; do
7408 test -z "$ac_dir" && ac_dir
=.
7409 if test -f $ac_dir/$ac_word; then
7410 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7411 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7417 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7421 XGETTEXT
="$ac_cv_path_XGETTEXT"
7422 if test -n "$XGETTEXT"; then
7423 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7424 echo "${ECHO_T}$XGETTEXT" >&6
7426 echo "$as_me:$LINENO: result: no" >&5
7427 echo "${ECHO_T}no" >&6
7430 cat >conftest.
$ac_ext <<_ACEOF
7433 cat confdefs.h
>>conftest.
$ac_ext
7434 cat >>conftest.
$ac_ext <<_ACEOF
7435 /* end confdefs.h. */
7440 extern int _nl_msg_cat_cntr;
7441 return _nl_msg_cat_cntr
7446 rm -f conftest.
$ac_objext conftest
$ac_exeext
7447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7448 (eval $ac_link) 2>conftest.er1
7450 grep -v '^ *+' conftest.er1
>conftest.err
7452 cat conftest.err
>&5
7453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454 (exit $ac_status); } &&
7455 { ac_try
='test -z "$ac_c_werror_flag"
7456 || test ! -s conftest.err'
7457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7461 (exit $ac_status); }; } &&
7462 { ac_try
='test -s conftest$ac_exeext'
7463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7467 (exit $ac_status); }; }; then
7471 echo "$as_me: failed program was:" >&5
7472 sed 's/^/| /' conftest.
$ac_ext >&5
7477 rm -f conftest.err conftest.
$ac_objext \
7478 conftest
$ac_exeext conftest.
$ac_ext
7488 if test "$CATOBJEXT" = "NONE"; then
7489 nls_cv_use_gnu_gettext
=yes
7493 if test "$nls_cv_use_gnu_gettext" = "yes"; then
7494 INTLOBJS
="\$(GETTOBJS)"
7495 # Extract the first word of "msgfmt", so it can be a program name with args.
7496 set dummy msgfmt
; ac_word
=$2
7497 echo "$as_me:$LINENO: checking for $ac_word" >&5
7498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7499 if test "${ac_cv_path_MSGFMT+set}" = set; then
7500 echo $ECHO_N "(cached) $ECHO_C" >&6
7504 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7507 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7508 for ac_dir
in $PATH; do
7509 test -z "$ac_dir" && ac_dir
=.
7510 if test -f $ac_dir/$ac_word; then
7511 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7512 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7518 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
7522 MSGFMT
="$ac_cv_path_MSGFMT"
7523 if test -n "$MSGFMT"; then
7524 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7525 echo "${ECHO_T}$MSGFMT" >&6
7527 echo "$as_me:$LINENO: result: no" >&5
7528 echo "${ECHO_T}no" >&6
7531 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7532 set dummy gmsgfmt
; ac_word
=$2
7533 echo "$as_me:$LINENO: checking for $ac_word" >&5
7534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7535 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7536 echo $ECHO_N "(cached) $ECHO_C" >&6
7540 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7547 test -z "$as_dir" && as_dir
=.
7548 for ac_exec_ext
in '' $ac_executable_extensions; do
7549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7550 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7557 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7561 GMSGFMT
=$ac_cv_path_GMSGFMT
7563 if test -n "$GMSGFMT"; then
7564 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7565 echo "${ECHO_T}$GMSGFMT" >&6
7567 echo "$as_me:$LINENO: result: no" >&5
7568 echo "${ECHO_T}no" >&6
7571 # Extract the first word of "xgettext", so it can be a program name with args.
7572 set dummy xgettext
; ac_word
=$2
7573 echo "$as_me:$LINENO: checking for $ac_word" >&5
7574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7575 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7576 echo $ECHO_N "(cached) $ECHO_C" >&6
7580 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7583 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7584 for ac_dir
in $PATH; do
7585 test -z "$ac_dir" && ac_dir
=.
7586 if test -f $ac_dir/$ac_word; then
7587 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7588 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7594 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7598 XGETTEXT
="$ac_cv_path_XGETTEXT"
7599 if test -n "$XGETTEXT"; then
7600 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7601 echo "${ECHO_T}$XGETTEXT" >&6
7603 echo "$as_me:$LINENO: result: no" >&5
7604 echo "${ECHO_T}no" >&6
7608 USE_INCLUDED_LIBINTL
=yes
7612 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
7614 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
7615 nls_cv_header_intl
=libintl.h
7616 nls_cv_header_libgt
=libgettext.h
7619 if test "$XGETTEXT" != ":"; then
7620 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
7623 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
7624 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
7629 # We need to process the po/ directory.
7633 nls_cv_header_intl
=libintl.h
7634 nls_cv_header_libgt
=libgettext.h
7637 # If this is used in GNU gettext we have to set USE_NLS to `yes'
7638 # because some of the sources are only built for this goal.
7639 if test "$PACKAGE" = gettext; then
7641 USE_INCLUDED_LIBINTL
=yes
7644 for lang
in $ALL_LINGUAS; do
7645 GMOFILES
="$GMOFILES $lang.gmo"
7646 POFILES
="$POFILES $lang.po"
7662 if test "x$CATOBJEXT" != "x"; then
7663 if test "x$ALL_LINGUAS" = "x"; then
7666 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7667 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
7669 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
7670 case "$ALL_LINGUAS" in
7671 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
7674 LINGUAS
=$NEW_LINGUAS
7675 echo "$as_me:$LINENO: result: $LINGUAS" >&5
7676 echo "${ECHO_T}$LINGUAS" >&6
7679 if test -n "$LINGUAS"; then
7680 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
7684 if test $ac_cv_header_locale_h = yes; then
7685 INCLUDE_LOCALE_H
="#include <locale.h>"
7688 /* The system does not provide the header <locale.h>. Take care yourself. */"
7692 if test -f $srcdir/po2tbl.
sed.
in; then
7693 if test "$CATOBJEXT" = ".cat"; then
7694 if test "${ac_cv_header_linux_version_h+set}" = set; then
7695 echo "$as_me:$LINENO: checking for linux/version.h" >&5
7696 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
7697 if test "${ac_cv_header_linux_version_h+set}" = set; then
7698 echo $ECHO_N "(cached) $ECHO_C" >&6
7700 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
7701 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
7703 # Is the header compilable?
7704 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
7705 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
7706 cat >conftest.
$ac_ext <<_ACEOF
7709 cat confdefs.h
>>conftest.
$ac_ext
7710 cat >>conftest.
$ac_ext <<_ACEOF
7711 /* end confdefs.h. */
7712 $ac_includes_default
7713 #include <linux/version.h>
7715 rm -f conftest.
$ac_objext
7716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7717 (eval $ac_compile) 2>conftest.er1
7719 grep -v '^ *+' conftest.er1
>conftest.err
7721 cat conftest.err
>&5
7722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7723 (exit $ac_status); } &&
7724 { ac_try
='test -z "$ac_c_werror_flag"
7725 || test ! -s conftest.err'
7726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7730 (exit $ac_status); }; } &&
7731 { ac_try
='test -s conftest.$ac_objext'
7732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7736 (exit $ac_status); }; }; then
7737 ac_header_compiler
=yes
7739 echo "$as_me: failed program was:" >&5
7740 sed 's/^/| /' conftest.
$ac_ext >&5
7742 ac_header_compiler
=no
7744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7745 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7746 echo "${ECHO_T}$ac_header_compiler" >&6
7748 # Is the header present?
7749 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
7750 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
7751 cat >conftest.
$ac_ext <<_ACEOF
7754 cat confdefs.h
>>conftest.
$ac_ext
7755 cat >>conftest.
$ac_ext <<_ACEOF
7756 /* end confdefs.h. */
7757 #include <linux/version.h>
7759 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7760 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7762 grep -v '^ *+' conftest.er1
>conftest.err
7764 cat conftest.err
>&5
7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7766 (exit $ac_status); } >/dev
/null
; then
7767 if test -s conftest.err
; then
7768 ac_cpp_err
=$ac_c_preproc_warn_flag
7769 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7776 if test -z "$ac_cpp_err"; then
7777 ac_header_preproc
=yes
7779 echo "$as_me: failed program was:" >&5
7780 sed 's/^/| /' conftest.
$ac_ext >&5
7782 ac_header_preproc
=no
7784 rm -f conftest.err conftest.
$ac_ext
7785 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7786 echo "${ECHO_T}$ac_header_preproc" >&6
7788 # So? What about this header?
7789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7791 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
7792 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7793 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
7794 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
7795 ac_header_preproc
=yes
7798 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
7799 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
7800 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
7801 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
7802 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
7803 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
7804 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
7805 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
7806 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
7807 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
7808 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
7809 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
7812 ## ------------------------------------------ ##
7813 ## Report this to the AC_PACKAGE_NAME lists. ##
7814 ## ------------------------------------------ ##
7817 sed "s/^/$as_me: WARNING: /" >&2
7820 echo "$as_me:$LINENO: checking for linux/version.h" >&5
7821 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
7822 if test "${ac_cv_header_linux_version_h+set}" = set; then
7823 echo $ECHO_N "(cached) $ECHO_C" >&6
7825 ac_cv_header_linux_version_h
=$ac_header_preproc
7827 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
7828 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
7831 if test $ac_cv_header_linux_version_h = yes; then
7839 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
7841 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
7842 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
7845 if test "$PACKAGE" = "gettext"; then
7855 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
7861 if test -f $srcdir/po
/POTFILES.
in; then
7862 test -d po || mkdir po
7863 if test "x$srcdir" != "x."; then
7864 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
7865 posrcprefix
="$srcdir/"
7867 posrcprefix
="../$srcdir/"
7873 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
7874 < $srcdir/po
/POTFILES.
in > po
/POTFILES
7878 # Permit host specific settings.
7879 .
${srcdir}/configure.
host
7882 # Find a good install program. We prefer a C program (faster),
7883 # so one script is as good as another. But avoid the broken or
7884 # incompatible versions:
7885 # SysV /etc/install, /usr/sbin/install
7886 # SunOS /usr/etc/install
7887 # IRIX /sbin/install
7889 # AmigaOS /C/install, which installs bootblocks on floppy discs
7890 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7891 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7892 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7893 # OS/2's system install, which has a completely different semantic
7894 # ./install, which can be erroneously created by make from ./install.sh.
7895 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7896 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
7897 if test -z "$INSTALL"; then
7898 if test "${ac_cv_path_install+set}" = set; then
7899 echo $ECHO_N "(cached) $ECHO_C" >&6
7901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7905 test -z "$as_dir" && as_dir
=.
7906 # Account for people who put trailing slashes in PATH elements.
7908 .
/ | .
// |
/cC
/* | \
7909 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
7910 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7913 # OSF1 and SCO ODT 3.0 have their own names for install.
7914 # Don't use installbsd from OSF since it installs stuff as root
7916 for ac_prog
in ginstall scoinst
install; do
7917 for ac_exec_ext
in '' $ac_executable_extensions; do
7918 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
7919 if test $ac_prog = install &&
7920 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7921 # AIX install. It has an incompatible calling convention.
7923 elif test $ac_prog = install &&
7924 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7925 # program-specific install script used by HP pwplus--don't use.
7928 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7940 if test "${ac_cv_path_install+set}" = set; then
7941 INSTALL
=$ac_cv_path_install
7943 # As a last resort, use the slow shell script. We don't cache a
7944 # path for INSTALL within a source directory, because that will
7945 # break other packages using the cache if that directory is
7946 # removed, or if the path is relative.
7947 INSTALL
=$ac_install_sh
7950 echo "$as_me:$LINENO: result: $INSTALL" >&5
7951 echo "${ECHO_T}$INSTALL" >&6
7953 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7954 # It thinks the first close brace ends the variable substitution.
7955 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7957 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7959 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7962 BFD_HOST_64BIT_LONG
=0
7963 BFD_HOST_LONG_LONG
=0
7964 BFD_HOST_64_BIT_DEFINED
=0
7968 echo "$as_me:$LINENO: checking for long long" >&5
7969 echo $ECHO_N "checking for long long... $ECHO_C" >&6
7970 if test "${bfd_cv_has_long_long+set}" = set; then
7971 echo $ECHO_N "(cached) $ECHO_C" >&6
7973 cat >conftest.
$ac_ext <<_ACEOF
7976 cat confdefs.h
>>conftest.
$ac_ext
7977 cat >>conftest.
$ac_ext <<_ACEOF
7978 /* end confdefs.h. */
7983 unsigned long long ll = 18446744073709551615ULL;
7988 rm -f conftest.
$ac_objext
7989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7990 (eval $ac_compile) 2>conftest.er1
7992 grep -v '^ *+' conftest.er1
>conftest.err
7994 cat conftest.err
>&5
7995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7996 (exit $ac_status); } &&
7997 { ac_try
='test -z "$ac_c_werror_flag"
7998 || test ! -s conftest.err'
7999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8003 (exit $ac_status); }; } &&
8004 { ac_try
='test -s conftest.$ac_objext'
8005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8009 (exit $ac_status); }; }; then
8010 bfd_cv_has_long_long
=yes
8012 echo "$as_me: failed program was:" >&5
8013 sed 's/^/| /' conftest.
$ac_ext >&5
8015 bfd_cv_has_long_long
=no
8017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8020 echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
8021 echo "${ECHO_T}$bfd_cv_has_long_long" >&6
8022 if test $bfd_cv_has_long_long = yes; then
8023 BFD_HOST_LONG_LONG
=1
8024 echo "$as_me:$LINENO: checking size of long long" >&5
8025 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
8026 if test "${ac_cv_sizeof_long_long+set}" = set; then
8027 echo $ECHO_N "(cached) $ECHO_C" >&6
8029 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
8030 cat >conftest.
$ac_ext <<_ACEOF
8033 cat confdefs.h
>>conftest.
$ac_ext
8034 cat >>conftest.
$ac_ext <<_ACEOF
8035 /* end confdefs.h. */
8036 #include "confdefs.h"
8037 #include <sys/types.h>
8043 switch (0) case 0: case (sizeof (long long) == $ac_size):;
8048 rm -f conftest.
$ac_objext
8049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8050 (eval $ac_compile) 2>conftest.er1
8052 grep -v '^ *+' conftest.er1
>conftest.err
8054 cat conftest.err
>&5
8055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8056 (exit $ac_status); } &&
8057 { ac_try
='test -z "$ac_c_werror_flag"
8058 || test ! -s conftest.err'
8059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8063 (exit $ac_status); }; } &&
8064 { ac_try
='test -s conftest.$ac_objext'
8065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); }; }; then
8070 ac_cv_sizeof_long_long
=$ac_size
8072 echo "$as_me: failed program was:" >&5
8073 sed 's/^/| /' conftest.
$ac_ext >&5
8076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8077 if test x
$ac_cv_sizeof_long_long != x
; then break; fi
8082 if test x
$ac_cv_sizeof_long_long = x
; then
8083 { { echo "$as_me:$LINENO: error: cannot determine a size for long long" >&5
8084 echo "$as_me: error: cannot determine a size for long long" >&2;}
8085 { (exit 1); exit 1; }; }
8087 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
8088 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
8090 cat >>confdefs.h
<<_ACEOF
8091 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8097 echo "$as_me:$LINENO: checking size of long" >&5
8098 echo $ECHO_N "checking size of long... $ECHO_C" >&6
8099 if test "${ac_cv_sizeof_long+set}" = set; then
8100 echo $ECHO_N "(cached) $ECHO_C" >&6
8102 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
8103 cat >conftest.
$ac_ext <<_ACEOF
8106 cat confdefs.h
>>conftest.
$ac_ext
8107 cat >>conftest.
$ac_ext <<_ACEOF
8108 /* end confdefs.h. */
8109 #include "confdefs.h"
8110 #include <sys/types.h>
8116 switch (0) case 0: case (sizeof (long) == $ac_size):;
8121 rm -f conftest.
$ac_objext
8122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8123 (eval $ac_compile) 2>conftest.er1
8125 grep -v '^ *+' conftest.er1
>conftest.err
8127 cat conftest.err
>&5
8128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8129 (exit $ac_status); } &&
8130 { ac_try
='test -z "$ac_c_werror_flag"
8131 || test ! -s conftest.err'
8132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); }; } &&
8137 { ac_try
='test -s conftest.$ac_objext'
8138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142 (exit $ac_status); }; }; then
8143 ac_cv_sizeof_long
=$ac_size
8145 echo "$as_me: failed program was:" >&5
8146 sed 's/^/| /' conftest.
$ac_ext >&5
8149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8150 if test x
$ac_cv_sizeof_long != x
; then break; fi
8155 if test x
$ac_cv_sizeof_long = x
; then
8156 { { echo "$as_me:$LINENO: error: cannot determine a size for long" >&5
8157 echo "$as_me: error: cannot determine a size for long" >&2;}
8158 { (exit 1); exit 1; }; }
8160 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
8161 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8163 cat >>confdefs.h
<<_ACEOF
8164 #define SIZEOF_LONG $ac_cv_sizeof_long
8168 if test "x${ac_cv_sizeof_long}" = "x8"; then
8170 BFD_HOST_64BIT_LONG
=1
8171 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long"
8172 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long"
8173 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
8174 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long long"
8175 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long long"
8178 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
8179 BFD_HOST_64_BIT_DEFINED
=1
8180 BFD_HOST_64_BIT
="${HOST_64BIT_TYPE}"
8181 BFD_HOST_U_64_BIT
="${HOST_U_64BIT_TYPE}"
8190 # Put a plausible default for CC_FOR_BUILD in Makefile.
8191 if test -z "$CC_FOR_BUILD"; then
8192 if test "x$cross_compiling" = "xno"; then
8193 CC_FOR_BUILD
='$(CC)'
8199 # Also set EXEEXT_FOR_BUILD.
8200 if test "x$cross_compiling" = "xno"; then
8201 EXEEXT_FOR_BUILD
='$(EXEEXT)'
8203 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
8204 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
8205 if test "${bfd_cv_build_exeext+set}" = set; then
8206 echo $ECHO_N "(cached) $ECHO_C" >&6
8209 echo 'int main () { return 0; }' > conftest.c
8210 bfd_cv_build_exeext
=
8211 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
8212 for file in conftest.
*; do
8214 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
8215 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
8219 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
8221 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
8222 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
8224 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
8234 for ac_header
in stddef.h string.h
strings.h stdlib.h
time.h unistd.h
8236 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8238 echo "$as_me:$LINENO: checking for $ac_header" >&5
8239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8241 echo $ECHO_N "(cached) $ECHO_C" >&6
8243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8246 # Is the header compilable?
8247 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8249 cat >conftest.
$ac_ext <<_ACEOF
8252 cat confdefs.h
>>conftest.
$ac_ext
8253 cat >>conftest.
$ac_ext <<_ACEOF
8254 /* end confdefs.h. */
8255 $ac_includes_default
8256 #include <$ac_header>
8258 rm -f conftest.
$ac_objext
8259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8260 (eval $ac_compile) 2>conftest.er1
8262 grep -v '^ *+' conftest.er1
>conftest.err
8264 cat conftest.err
>&5
8265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266 (exit $ac_status); } &&
8267 { ac_try
='test -z "$ac_c_werror_flag"
8268 || test ! -s conftest.err'
8269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273 (exit $ac_status); }; } &&
8274 { ac_try
='test -s conftest.$ac_objext'
8275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279 (exit $ac_status); }; }; then
8280 ac_header_compiler
=yes
8282 echo "$as_me: failed program was:" >&5
8283 sed 's/^/| /' conftest.
$ac_ext >&5
8285 ac_header_compiler
=no
8287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8288 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8289 echo "${ECHO_T}$ac_header_compiler" >&6
8291 # Is the header present?
8292 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8293 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8294 cat >conftest.
$ac_ext <<_ACEOF
8297 cat confdefs.h
>>conftest.
$ac_ext
8298 cat >>conftest.
$ac_ext <<_ACEOF
8299 /* end confdefs.h. */
8300 #include <$ac_header>
8302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8303 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8305 grep -v '^ *+' conftest.er1
>conftest.err
8307 cat conftest.err
>&5
8308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8309 (exit $ac_status); } >/dev
/null
; then
8310 if test -s conftest.err
; then
8311 ac_cpp_err
=$ac_c_preproc_warn_flag
8312 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8319 if test -z "$ac_cpp_err"; then
8320 ac_header_preproc
=yes
8322 echo "$as_me: failed program was:" >&5
8323 sed 's/^/| /' conftest.
$ac_ext >&5
8325 ac_header_preproc
=no
8327 rm -f conftest.err conftest.
$ac_ext
8328 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8329 echo "${ECHO_T}$ac_header_preproc" >&6
8331 # So? What about this header?
8332 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8334 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8335 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8337 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8338 ac_header_preproc
=yes
8341 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8342 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8343 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8344 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8345 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8346 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8347 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8348 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8350 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8351 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8352 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8355 ## ------------------------------------------ ##
8356 ## Report this to the AC_PACKAGE_NAME lists. ##
8357 ## ------------------------------------------ ##
8360 sed "s/^/$as_me: WARNING: /" >&2
8363 echo "$as_me:$LINENO: checking for $ac_header" >&5
8364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8366 echo $ECHO_N "(cached) $ECHO_C" >&6
8368 eval "$as_ac_Header=\$ac_header_preproc"
8370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8375 cat >>confdefs.h
<<_ACEOF
8376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8386 for ac_header
in fcntl.h sys
/file.h sys
/time.h
8388 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8390 echo "$as_me:$LINENO: checking for $ac_header" >&5
8391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8393 echo $ECHO_N "(cached) $ECHO_C" >&6
8395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8396 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8398 # Is the header compilable?
8399 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8400 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8401 cat >conftest.
$ac_ext <<_ACEOF
8404 cat confdefs.h
>>conftest.
$ac_ext
8405 cat >>conftest.
$ac_ext <<_ACEOF
8406 /* end confdefs.h. */
8407 $ac_includes_default
8408 #include <$ac_header>
8410 rm -f conftest.
$ac_objext
8411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8412 (eval $ac_compile) 2>conftest.er1
8414 grep -v '^ *+' conftest.er1
>conftest.err
8416 cat conftest.err
>&5
8417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8418 (exit $ac_status); } &&
8419 { ac_try
='test -z "$ac_c_werror_flag"
8420 || test ! -s conftest.err'
8421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8425 (exit $ac_status); }; } &&
8426 { ac_try
='test -s conftest.$ac_objext'
8427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431 (exit $ac_status); }; }; then
8432 ac_header_compiler
=yes
8434 echo "$as_me: failed program was:" >&5
8435 sed 's/^/| /' conftest.
$ac_ext >&5
8437 ac_header_compiler
=no
8439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8440 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8441 echo "${ECHO_T}$ac_header_compiler" >&6
8443 # Is the header present?
8444 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8445 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8446 cat >conftest.
$ac_ext <<_ACEOF
8449 cat confdefs.h
>>conftest.
$ac_ext
8450 cat >>conftest.
$ac_ext <<_ACEOF
8451 /* end confdefs.h. */
8452 #include <$ac_header>
8454 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8455 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8457 grep -v '^ *+' conftest.er1
>conftest.err
8459 cat conftest.err
>&5
8460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8461 (exit $ac_status); } >/dev
/null
; then
8462 if test -s conftest.err
; then
8463 ac_cpp_err
=$ac_c_preproc_warn_flag
8464 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8471 if test -z "$ac_cpp_err"; then
8472 ac_header_preproc
=yes
8474 echo "$as_me: failed program was:" >&5
8475 sed 's/^/| /' conftest.
$ac_ext >&5
8477 ac_header_preproc
=no
8479 rm -f conftest.err conftest.
$ac_ext
8480 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8481 echo "${ECHO_T}$ac_header_preproc" >&6
8483 # So? What about this header?
8484 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8486 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8487 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8488 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8489 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8490 ac_header_preproc
=yes
8493 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8494 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8495 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8496 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8497 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8498 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8499 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8500 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8501 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8502 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8503 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8504 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8507 ## ------------------------------------------ ##
8508 ## Report this to the AC_PACKAGE_NAME lists. ##
8509 ## ------------------------------------------ ##
8512 sed "s/^/$as_me: WARNING: /" >&2
8515 echo "$as_me:$LINENO: checking for $ac_header" >&5
8516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8518 echo $ECHO_N "(cached) $ECHO_C" >&6
8520 eval "$as_ac_Header=\$ac_header_preproc"
8522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8523 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8526 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8527 cat >>confdefs.h
<<_ACEOF
8528 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8535 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8536 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8537 if test "${ac_cv_header_time+set}" = set; then
8538 echo $ECHO_N "(cached) $ECHO_C" >&6
8540 cat >conftest.
$ac_ext <<_ACEOF
8543 cat confdefs.h
>>conftest.
$ac_ext
8544 cat >>conftest.
$ac_ext <<_ACEOF
8545 /* end confdefs.h. */
8546 #include <sys/types.h>
8547 #include <sys/time.h>
8553 if ((struct tm *) 0)
8559 rm -f conftest.
$ac_objext
8560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8561 (eval $ac_compile) 2>conftest.er1
8563 grep -v '^ *+' conftest.er1
>conftest.err
8565 cat conftest.err
>&5
8566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567 (exit $ac_status); } &&
8568 { ac_try
='test -z "$ac_c_werror_flag"
8569 || test ! -s conftest.err'
8570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8574 (exit $ac_status); }; } &&
8575 { ac_try
='test -s conftest.$ac_objext'
8576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580 (exit $ac_status); }; }; then
8581 ac_cv_header_time
=yes
8583 echo "$as_me: failed program was:" >&5
8584 sed 's/^/| /' conftest.
$ac_ext >&5
8586 ac_cv_header_time
=no
8588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8590 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8591 echo "${ECHO_T}$ac_cv_header_time" >&6
8592 if test $ac_cv_header_time = yes; then
8594 cat >>confdefs.h
<<\_ACEOF
8595 #define TIME_WITH_SYS_TIME 1
8606 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
8607 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8608 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
8609 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
8610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8611 echo $ECHO_N "(cached) $ECHO_C" >&6
8613 cat >conftest.
$ac_ext <<_ACEOF
8616 cat confdefs.h
>>conftest.
$ac_ext
8617 cat >>conftest.
$ac_ext <<_ACEOF
8618 /* end confdefs.h. */
8619 #include <sys/types.h>
8631 rm -f conftest.
$ac_objext
8632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8633 (eval $ac_compile) 2>conftest.er1
8635 grep -v '^ *+' conftest.er1
>conftest.err
8637 cat conftest.err
>&5
8638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8639 (exit $ac_status); } &&
8640 { ac_try
='test -z "$ac_c_werror_flag"
8641 || test ! -s conftest.err'
8642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646 (exit $ac_status); }; } &&
8647 { ac_try
='test -s conftest.$ac_objext'
8648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8652 (exit $ac_status); }; }; then
8653 eval "$as_ac_Header=yes"
8655 echo "$as_me: failed program was:" >&5
8656 sed 's/^/| /' conftest.
$ac_ext >&5
8658 eval "$as_ac_Header=no"
8660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8665 cat >>confdefs.h
<<_ACEOF
8666 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8669 ac_header_dirent
=$ac_hdr; break
8673 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8674 if test $ac_header_dirent = dirent.h
; then
8675 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8676 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8677 if test "${ac_cv_search_opendir+set}" = set; then
8678 echo $ECHO_N "(cached) $ECHO_C" >&6
8680 ac_func_search_save_LIBS
=$LIBS
8681 ac_cv_search_opendir
=no
8682 cat >conftest.
$ac_ext <<_ACEOF
8685 cat confdefs.h
>>conftest.
$ac_ext
8686 cat >>conftest.
$ac_ext <<_ACEOF
8687 /* end confdefs.h. */
8689 /* Override any gcc2 internal prototype to avoid an error. */
8693 /* We use char because int might match the return type of a gcc2
8694 builtin and then its argument prototype would still apply. */
8704 rm -f conftest.
$ac_objext conftest
$ac_exeext
8705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8706 (eval $ac_link) 2>conftest.er1
8708 grep -v '^ *+' conftest.er1
>conftest.err
8710 cat conftest.err
>&5
8711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8712 (exit $ac_status); } &&
8713 { ac_try
='test -z "$ac_c_werror_flag"
8714 || test ! -s conftest.err'
8715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8719 (exit $ac_status); }; } &&
8720 { ac_try
='test -s conftest$ac_exeext'
8721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8725 (exit $ac_status); }; }; then
8726 ac_cv_search_opendir
="none required"
8728 echo "$as_me: failed program was:" >&5
8729 sed 's/^/| /' conftest.
$ac_ext >&5
8732 rm -f conftest.err conftest.
$ac_objext \
8733 conftest
$ac_exeext conftest.
$ac_ext
8734 if test "$ac_cv_search_opendir" = no
; then
8735 for ac_lib
in dir
; do
8736 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8737 cat >conftest.
$ac_ext <<_ACEOF
8740 cat confdefs.h
>>conftest.
$ac_ext
8741 cat >>conftest.
$ac_ext <<_ACEOF
8742 /* end confdefs.h. */
8744 /* Override any gcc2 internal prototype to avoid an error. */
8748 /* We use char because int might match the return type of a gcc2
8749 builtin and then its argument prototype would still apply. */
8759 rm -f conftest.
$ac_objext conftest
$ac_exeext
8760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8761 (eval $ac_link) 2>conftest.er1
8763 grep -v '^ *+' conftest.er1
>conftest.err
8765 cat conftest.err
>&5
8766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8767 (exit $ac_status); } &&
8768 { ac_try
='test -z "$ac_c_werror_flag"
8769 || test ! -s conftest.err'
8770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8774 (exit $ac_status); }; } &&
8775 { ac_try
='test -s conftest$ac_exeext'
8776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780 (exit $ac_status); }; }; then
8781 ac_cv_search_opendir
="-l$ac_lib"
8784 echo "$as_me: failed program was:" >&5
8785 sed 's/^/| /' conftest.
$ac_ext >&5
8788 rm -f conftest.err conftest.
$ac_objext \
8789 conftest
$ac_exeext conftest.
$ac_ext
8792 LIBS
=$ac_func_search_save_LIBS
8794 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8795 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8796 if test "$ac_cv_search_opendir" != no
; then
8797 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
8802 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8803 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8804 if test "${ac_cv_search_opendir+set}" = set; then
8805 echo $ECHO_N "(cached) $ECHO_C" >&6
8807 ac_func_search_save_LIBS
=$LIBS
8808 ac_cv_search_opendir
=no
8809 cat >conftest.
$ac_ext <<_ACEOF
8812 cat confdefs.h
>>conftest.
$ac_ext
8813 cat >>conftest.
$ac_ext <<_ACEOF
8814 /* end confdefs.h. */
8816 /* Override any gcc2 internal prototype to avoid an error. */
8820 /* We use char because int might match the return type of a gcc2
8821 builtin and then its argument prototype would still apply. */
8831 rm -f conftest.
$ac_objext conftest
$ac_exeext
8832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8833 (eval $ac_link) 2>conftest.er1
8835 grep -v '^ *+' conftest.er1
>conftest.err
8837 cat conftest.err
>&5
8838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8839 (exit $ac_status); } &&
8840 { ac_try
='test -z "$ac_c_werror_flag"
8841 || test ! -s conftest.err'
8842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8846 (exit $ac_status); }; } &&
8847 { ac_try
='test -s conftest$ac_exeext'
8848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8852 (exit $ac_status); }; }; then
8853 ac_cv_search_opendir
="none required"
8855 echo "$as_me: failed program was:" >&5
8856 sed 's/^/| /' conftest.
$ac_ext >&5
8859 rm -f conftest.err conftest.
$ac_objext \
8860 conftest
$ac_exeext conftest.
$ac_ext
8861 if test "$ac_cv_search_opendir" = no
; then
8863 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8864 cat >conftest.
$ac_ext <<_ACEOF
8867 cat confdefs.h
>>conftest.
$ac_ext
8868 cat >>conftest.
$ac_ext <<_ACEOF
8869 /* end confdefs.h. */
8871 /* Override any gcc2 internal prototype to avoid an error. */
8875 /* We use char because int might match the return type of a gcc2
8876 builtin and then its argument prototype would still apply. */
8886 rm -f conftest.
$ac_objext conftest
$ac_exeext
8887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8888 (eval $ac_link) 2>conftest.er1
8890 grep -v '^ *+' conftest.er1
>conftest.err
8892 cat conftest.err
>&5
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); } &&
8895 { ac_try
='test -z "$ac_c_werror_flag"
8896 || test ! -s conftest.err'
8897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8901 (exit $ac_status); }; } &&
8902 { ac_try
='test -s conftest$ac_exeext'
8903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907 (exit $ac_status); }; }; then
8908 ac_cv_search_opendir
="-l$ac_lib"
8911 echo "$as_me: failed program was:" >&5
8912 sed 's/^/| /' conftest.
$ac_ext >&5
8915 rm -f conftest.err conftest.
$ac_objext \
8916 conftest
$ac_exeext conftest.
$ac_ext
8919 LIBS
=$ac_func_search_save_LIBS
8921 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8922 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8923 if test "$ac_cv_search_opendir" != no
; then
8924 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
8937 for ac_func
in fcntl getpagesize setitimer sysconf fdopen getuid getgid
8939 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8940 echo "$as_me:$LINENO: checking for $ac_func" >&5
8941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8942 if eval "test \"\${$as_ac_var+set}\" = set"; then
8943 echo $ECHO_N "(cached) $ECHO_C" >&6
8945 cat >conftest.
$ac_ext <<_ACEOF
8948 cat confdefs.h
>>conftest.
$ac_ext
8949 cat >>conftest.
$ac_ext <<_ACEOF
8950 /* end confdefs.h. */
8951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8953 #define $ac_func innocuous_$ac_func
8955 /* System header to define __stub macros and hopefully few prototypes,
8956 which can conflict with char $ac_func (); below.
8957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8958 <limits.h> exists even on freestanding compilers. */
8961 # include <limits.h>
8963 # include <assert.h>
8968 /* Override any gcc2 internal prototype to avoid an error. */
8973 /* We use char because int might match the return type of a gcc2
8974 builtin and then its argument prototype would still apply. */
8976 /* The GNU C library defines this for functions which it implements
8977 to always fail with ENOSYS. Some functions are actually named
8978 something starting with __ and the normal name is an alias. */
8979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8982 char (*f) () = $ac_func;
8991 return f != $ac_func;
8996 rm -f conftest.
$ac_objext conftest
$ac_exeext
8997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8998 (eval $ac_link) 2>conftest.er1
9000 grep -v '^ *+' conftest.er1
>conftest.err
9002 cat conftest.err
>&5
9003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9004 (exit $ac_status); } &&
9005 { ac_try
='test -z "$ac_c_werror_flag"
9006 || test ! -s conftest.err'
9007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9011 (exit $ac_status); }; } &&
9012 { ac_try
='test -s conftest$ac_exeext'
9013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9017 (exit $ac_status); }; }; then
9018 eval "$as_ac_var=yes"
9020 echo "$as_me: failed program was:" >&5
9021 sed 's/^/| /' conftest.
$ac_ext >&5
9023 eval "$as_ac_var=no"
9025 rm -f conftest.err conftest.
$ac_objext \
9026 conftest
$ac_exeext conftest.
$ac_ext
9028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9030 if test `eval echo '${'$as_ac_var'}'` = yes; then
9031 cat >>confdefs.h
<<_ACEOF
9032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9039 for ac_func
in strtoull
9041 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9042 echo "$as_me:$LINENO: checking for $ac_func" >&5
9043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9044 if eval "test \"\${$as_ac_var+set}\" = set"; then
9045 echo $ECHO_N "(cached) $ECHO_C" >&6
9047 cat >conftest.
$ac_ext <<_ACEOF
9050 cat confdefs.h
>>conftest.
$ac_ext
9051 cat >>conftest.
$ac_ext <<_ACEOF
9052 /* end confdefs.h. */
9053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9055 #define $ac_func innocuous_$ac_func
9057 /* System header to define __stub macros and hopefully few prototypes,
9058 which can conflict with char $ac_func (); below.
9059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9060 <limits.h> exists even on freestanding compilers. */
9063 # include <limits.h>
9065 # include <assert.h>
9070 /* Override any gcc2 internal prototype to avoid an error. */
9075 /* We use char because int might match the return type of a gcc2
9076 builtin and then its argument prototype would still apply. */
9078 /* The GNU C library defines this for functions which it implements
9079 to always fail with ENOSYS. Some functions are actually named
9080 something starting with __ and the normal name is an alias. */
9081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9084 char (*f) () = $ac_func;
9093 return f != $ac_func;
9098 rm -f conftest.
$ac_objext conftest
$ac_exeext
9099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9100 (eval $ac_link) 2>conftest.er1
9102 grep -v '^ *+' conftest.er1
>conftest.err
9104 cat conftest.err
>&5
9105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9106 (exit $ac_status); } &&
9107 { ac_try
='test -z "$ac_c_werror_flag"
9108 || test ! -s conftest.err'
9109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9113 (exit $ac_status); }; } &&
9114 { ac_try
='test -s conftest$ac_exeext'
9115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119 (exit $ac_status); }; }; then
9120 eval "$as_ac_var=yes"
9122 echo "$as_me: failed program was:" >&5
9123 sed 's/^/| /' conftest.
$ac_ext >&5
9125 eval "$as_ac_var=no"
9127 rm -f conftest.err conftest.
$ac_objext \
9128 conftest
$ac_exeext conftest.
$ac_ext
9130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9132 if test `eval echo '${'$as_ac_var'}'` = yes; then
9133 cat >>confdefs.h
<<_ACEOF
9134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9143 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
9145 cat >>confdefs.h
<<\_ACEOF
9146 #define USE_BINARY_FOPEN 1
9151 echo "$as_me:$LINENO: checking whether strstr must be declared" >&5
9152 echo $ECHO_N "checking whether strstr must be declared... $ECHO_C" >&6
9153 if test "${bfd_cv_decl_needed_strstr+set}" = set; then
9154 echo $ECHO_N "(cached) $ECHO_C" >&6
9156 cat >conftest.
$ac_ext <<_ACEOF
9159 cat confdefs.h
>>conftest.
$ac_ext
9160 cat >>conftest.
$ac_ext <<_ACEOF
9161 /* end confdefs.h. */
9164 #ifdef HAVE_STRING_H
9167 #ifdef HAVE_STRINGS_H
9168 #include <strings.h>
9171 #ifdef HAVE_STDLIB_H
9174 #ifdef HAVE_UNISTD_H
9180 char *(*pfn) = (char *(*)) strstr
9185 rm -f conftest.
$ac_objext
9186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9187 (eval $ac_compile) 2>conftest.er1
9189 grep -v '^ *+' conftest.er1
>conftest.err
9191 cat conftest.err
>&5
9192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9193 (exit $ac_status); } &&
9194 { ac_try
='test -z "$ac_c_werror_flag"
9195 || test ! -s conftest.err'
9196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9200 (exit $ac_status); }; } &&
9201 { ac_try
='test -s conftest.$ac_objext'
9202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9206 (exit $ac_status); }; }; then
9207 bfd_cv_decl_needed_strstr
=no
9209 echo "$as_me: failed program was:" >&5
9210 sed 's/^/| /' conftest.
$ac_ext >&5
9212 bfd_cv_decl_needed_strstr
=yes
9214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9217 echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_strstr" >&5
9218 echo "${ECHO_T}$bfd_cv_decl_needed_strstr" >&6
9219 if test $bfd_cv_decl_needed_strstr = yes; then
9221 cat >>confdefs.h
<<\_ACEOF
9222 #define NEED_DECLARATION_STRSTR 1
9227 echo "$as_me:$LINENO: checking whether malloc must be declared" >&5
9228 echo $ECHO_N "checking whether malloc must be declared... $ECHO_C" >&6
9229 if test "${bfd_cv_decl_needed_malloc+set}" = set; then
9230 echo $ECHO_N "(cached) $ECHO_C" >&6
9232 cat >conftest.
$ac_ext <<_ACEOF
9235 cat confdefs.h
>>conftest.
$ac_ext
9236 cat >>conftest.
$ac_ext <<_ACEOF
9237 /* end confdefs.h. */
9240 #ifdef HAVE_STRING_H
9243 #ifdef HAVE_STRINGS_H
9244 #include <strings.h>
9247 #ifdef HAVE_STDLIB_H
9250 #ifdef HAVE_UNISTD_H
9256 char *(*pfn) = (char *(*)) malloc
9261 rm -f conftest.
$ac_objext
9262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9263 (eval $ac_compile) 2>conftest.er1
9265 grep -v '^ *+' conftest.er1
>conftest.err
9267 cat conftest.err
>&5
9268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9269 (exit $ac_status); } &&
9270 { ac_try
='test -z "$ac_c_werror_flag"
9271 || test ! -s conftest.err'
9272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9276 (exit $ac_status); }; } &&
9277 { ac_try
='test -s conftest.$ac_objext'
9278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9282 (exit $ac_status); }; }; then
9283 bfd_cv_decl_needed_malloc
=no
9285 echo "$as_me: failed program was:" >&5
9286 sed 's/^/| /' conftest.
$ac_ext >&5
9288 bfd_cv_decl_needed_malloc
=yes
9290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9293 echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_malloc" >&5
9294 echo "${ECHO_T}$bfd_cv_decl_needed_malloc" >&6
9295 if test $bfd_cv_decl_needed_malloc = yes; then
9297 cat >>confdefs.h
<<\_ACEOF
9298 #define NEED_DECLARATION_MALLOC 1
9303 echo "$as_me:$LINENO: checking whether realloc must be declared" >&5
9304 echo $ECHO_N "checking whether realloc must be declared... $ECHO_C" >&6
9305 if test "${bfd_cv_decl_needed_realloc+set}" = set; then
9306 echo $ECHO_N "(cached) $ECHO_C" >&6
9308 cat >conftest.
$ac_ext <<_ACEOF
9311 cat confdefs.h
>>conftest.
$ac_ext
9312 cat >>conftest.
$ac_ext <<_ACEOF
9313 /* end confdefs.h. */
9316 #ifdef HAVE_STRING_H
9319 #ifdef HAVE_STRINGS_H
9320 #include <strings.h>
9323 #ifdef HAVE_STDLIB_H
9326 #ifdef HAVE_UNISTD_H
9332 char *(*pfn) = (char *(*)) realloc
9337 rm -f conftest.
$ac_objext
9338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9339 (eval $ac_compile) 2>conftest.er1
9341 grep -v '^ *+' conftest.er1
>conftest.err
9343 cat conftest.err
>&5
9344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9345 (exit $ac_status); } &&
9346 { ac_try
='test -z "$ac_c_werror_flag"
9347 || test ! -s conftest.err'
9348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9352 (exit $ac_status); }; } &&
9353 { ac_try
='test -s conftest.$ac_objext'
9354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9358 (exit $ac_status); }; }; then
9359 bfd_cv_decl_needed_realloc
=no
9361 echo "$as_me: failed program was:" >&5
9362 sed 's/^/| /' conftest.
$ac_ext >&5
9364 bfd_cv_decl_needed_realloc
=yes
9366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9369 echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_realloc" >&5
9370 echo "${ECHO_T}$bfd_cv_decl_needed_realloc" >&6
9371 if test $bfd_cv_decl_needed_realloc = yes; then
9373 cat >>confdefs.h
<<\_ACEOF
9374 #define NEED_DECLARATION_REALLOC 1
9379 echo "$as_me:$LINENO: checking whether free must be declared" >&5
9380 echo $ECHO_N "checking whether free must be declared... $ECHO_C" >&6
9381 if test "${bfd_cv_decl_needed_free+set}" = set; then
9382 echo $ECHO_N "(cached) $ECHO_C" >&6
9384 cat >conftest.
$ac_ext <<_ACEOF
9387 cat confdefs.h
>>conftest.
$ac_ext
9388 cat >>conftest.
$ac_ext <<_ACEOF
9389 /* end confdefs.h. */
9392 #ifdef HAVE_STRING_H
9395 #ifdef HAVE_STRINGS_H
9396 #include <strings.h>
9399 #ifdef HAVE_STDLIB_H
9402 #ifdef HAVE_UNISTD_H
9408 char *(*pfn) = (char *(*)) free
9413 rm -f conftest.
$ac_objext
9414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9415 (eval $ac_compile) 2>conftest.er1
9417 grep -v '^ *+' conftest.er1
>conftest.err
9419 cat conftest.err
>&5
9420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9421 (exit $ac_status); } &&
9422 { ac_try
='test -z "$ac_c_werror_flag"
9423 || test ! -s conftest.err'
9424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9428 (exit $ac_status); }; } &&
9429 { ac_try
='test -s conftest.$ac_objext'
9430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9434 (exit $ac_status); }; }; then
9435 bfd_cv_decl_needed_free
=no
9437 echo "$as_me: failed program was:" >&5
9438 sed 's/^/| /' conftest.
$ac_ext >&5
9440 bfd_cv_decl_needed_free
=yes
9442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9445 echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_free" >&5
9446 echo "${ECHO_T}$bfd_cv_decl_needed_free" >&6
9447 if test $bfd_cv_decl_needed_free = yes; then
9449 cat >>confdefs.h
<<\_ACEOF
9450 #define NEED_DECLARATION_FREE 1
9455 echo "$as_me:$LINENO: checking whether getenv must be declared" >&5
9456 echo $ECHO_N "checking whether getenv must be declared... $ECHO_C" >&6
9457 if test "${bfd_cv_decl_needed_getenv+set}" = set; then
9458 echo $ECHO_N "(cached) $ECHO_C" >&6
9460 cat >conftest.
$ac_ext <<_ACEOF
9463 cat confdefs.h
>>conftest.
$ac_ext
9464 cat >>conftest.
$ac_ext <<_ACEOF
9465 /* end confdefs.h. */
9468 #ifdef HAVE_STRING_H
9471 #ifdef HAVE_STRINGS_H
9472 #include <strings.h>
9475 #ifdef HAVE_STDLIB_H
9478 #ifdef HAVE_UNISTD_H
9484 char *(*pfn) = (char *(*)) getenv
9489 rm -f conftest.
$ac_objext
9490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9491 (eval $ac_compile) 2>conftest.er1
9493 grep -v '^ *+' conftest.er1
>conftest.err
9495 cat conftest.err
>&5
9496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9497 (exit $ac_status); } &&
9498 { ac_try
='test -z "$ac_c_werror_flag"
9499 || test ! -s conftest.err'
9500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9504 (exit $ac_status); }; } &&
9505 { ac_try
='test -s conftest.$ac_objext'
9506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510 (exit $ac_status); }; }; then
9511 bfd_cv_decl_needed_getenv
=no
9513 echo "$as_me: failed program was:" >&5
9514 sed 's/^/| /' conftest.
$ac_ext >&5
9516 bfd_cv_decl_needed_getenv
=yes
9518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9521 echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_getenv" >&5
9522 echo "${ECHO_T}$bfd_cv_decl_needed_getenv" >&6
9523 if test $bfd_cv_decl_needed_getenv = yes; then
9525 cat >>confdefs.h
<<\_ACEOF
9526 #define NEED_DECLARATION_GETENV 1
9532 # If we are configured native, pick a core file support file.
9536 if test "${target}" = "${host}"; then
9538 alpha
*-*-freebsd* | alpha
*-*-kfreebsd*-gnu)
9541 alpha
*-*-linux-gnu*)
9542 COREFILE
=trad-core.lo
9543 TRAD_HEADER
='"hosts/alphalinux.h"'
9545 alpha
*-*-netbsd* | alpha
*-*-openbsd*)
9546 COREFILE
=netbsd-core.lo
9548 alpha
*-*-*) COREFILE
=osf-core.lo
;;
9549 arm-
*-freebsd* | arm-
*-kfreebsd*-gnu)
9551 arm-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
9552 arm-
*-riscix) COREFILE
=trad-core.lo
;;
9553 hppa
*-*-hpux*) COREFILE
=hpux-core.lo
;;
9554 hppa
*-*-hiux*) COREFILE
=hpux-core.lo
;;
9555 hppa
*-*-mpeix*) COREFILE
=hpux-core.lo
;;
9556 hppa
*-*-bsd*) COREFILE
="hpux-core.lo hppabsd-core.lo"
9557 COREFLAG
="-DHPUX_CORE -DHPPABSD_CORE" ;;
9558 hppa
*-*-netbsd* | hppa
*-*-openbsd*)
9559 COREFILE
=netbsd-core.lo
9563 COREFILE
=trad-core.lo
9564 TRAD_HEADER
='"hosts/i370linux.h"'
9567 i
[3-7]86-sequent-bsd*)
9568 COREFILE
=trad-core.lo
9569 TRAD_HEADER
='"hosts/symmetry.h"'
9571 i
[3-7]86-sequent-sysv4*) ;;
9572 i
[3-7]86-sequent-sysv*)
9573 COREFILE
=trad-core.lo
9574 TRAD_HEADER
='"hosts/symmetry.h"'
9579 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
*)
9580 COREFILE
=trad-core.lo
9581 TRAD_HEADER
='"hosts/i386bsd.h"'
9583 i
[3-7]86-*-freebsd* | i
[3-7]86-*-kfreebsd*-gnu)
9585 TRAD_HEADER
='"hosts/i386bsd.h"'
9587 i
[3-7]86-*-netbsd* | i
[3-7]86-*-knetbsd*-gnu | i
[3-7]86-*-openbsd*)
9588 COREFILE
=netbsd-core.lo
9590 i
[3-7]86-esix-sysv3*)
9591 COREFILE
=trad-core.lo
9592 TRAD_HEADER
='"hosts/esix.h"'
9594 i
[3-7]86-*-sco3.2v5
*)
9595 COREFILE
=sco5-core.lo
9597 i
[3-7]86-*-sco* | i
[3-7]86-*-isc*)
9598 COREFILE
=trad-core.lo
9599 TRAD_HEADER
='"hosts/i386sco.h"'
9602 COREFILE
=trad-core.lo
9603 TRAD_HEADER
='"hosts/i386mach3.h"'
9605 i
[3-7]86-*-linux-gnu*)
9606 COREFILE
=trad-core.lo
9607 TRAD_HEADER
='"hosts/i386linux.h"'
9609 i
[3-7]86-*-isc*) COREFILE
=trad-core.lo
;;
9610 i
[3-7]86-*-aix*) COREFILE
=aix386-core.lo
;;
9611 i860-
*-mach3* | i860-
*-osf1*)
9612 COREFILE
=trad-core.lo
9613 TRAD_HEADER
='"hosts/i860mach3.h"'
9615 mips-
*-netbsd* | mips
*-*-openbsd*)
9616 COREFILE
=netbsd-core.lo
9619 COREFILE
=trad-core.lo
9620 TRAD_HEADER
='"hosts/decstation.h"'
9622 mips-sgi-irix4
*) COREFILE
=irix-core.lo
;;
9623 mips-sgi-irix5
*) COREFILE
=irix-core.lo
;;
9624 mips-sgi-irix6
*) COREFILE
=irix-core.lo
;;
9626 mips-
*-sysv* | mips-
*-riscos*)
9627 COREFILE
=trad-core.lo
9628 TRAD_HEADER
='"hosts/riscos.h"'
9631 COREFILE
=trad-core.lo
9632 TRAD_HEADER
='"hosts/news-mips.h"'
9635 COREFILE
=trad-core.lo
9636 TRAD_HEADER
='"hosts/dpx2.h"'
9638 m68
*-hp-hpux*) COREFILE
=hpux-core.lo
;;
9640 COREFILE
=trad-core.lo
9641 TRAD_HEADER
='"hosts/hp300bsd.h"'
9644 COREFILE
=trad-core.lo
9645 TRAD_HEADER
='"hosts/m68klinux.h"'
9647 m68
*-motorola-sysv*)
9648 COREFILE
=trad-core.lo
9649 TRAD_HEADER
='"hosts/delta68.h"'
9652 COREFILE
=trad-core.lo
9653 TRAD_HEADER
='"hosts/news.h"'
9655 m68
*-*-netbsd* | m68
*-*-openbsd*)
9656 COREFILE
=netbsd-core.lo
9659 COREFILE
=trad-core.lo
9660 TRAD_HEADER
='"hosts/m68kaux.h"'
9664 m88
*-motorola-sysv*)
9665 COREFILE
=ptrace-core.lo
9668 COREFILE
=trad-core.lo
9669 TRAD_HEADER
='"hosts/m88kmach3.h"'
9672 COREFILE
=netbsd-core.lo
9675 COREFILE
=trad-core.lo
9676 TRAD_HEADER
='"hosts/pc532mach.h"'
9678 ns32k-
*-netbsd* | ns32k-
*-openbsd*)
9679 COREFILE
=netbsd-core.lo
9682 COREFILE
=lynx-core.lo
9684 rs6000-
*-aix5.
* | powerpc-
*-aix5.
*)
9685 COREFILE
=rs6000-core.lo
9686 COREFLAG
="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
9688 rs6000-
*-aix4.
[3-9]* | powerpc-
*-aix4.
[3-9]*)
9689 COREFILE
=rs6000-core.lo
9690 COREFLAG
="$COREFLAG -DAIX_CORE_DUMPX_CORE"
9691 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
9692 # have c_impl as a member of struct core_dumpx
9693 echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
9694 echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
9695 cat >conftest.
$ac_ext <<_ACEOF
9698 cat confdefs.h
>>conftest.
$ac_ext
9699 cat >>conftest.
$ac_ext <<_ACEOF
9700 /* end confdefs.h. */
9705 struct core_dumpx c; c.c_impl = 0;
9710 rm -f conftest.
$ac_objext
9711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9712 (eval $ac_compile) 2>conftest.er1
9714 grep -v '^ *+' conftest.er1
>conftest.err
9716 cat conftest.err
>&5
9717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718 (exit $ac_status); } &&
9719 { ac_try
='test -z "$ac_c_werror_flag"
9720 || test ! -s conftest.err'
9721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725 (exit $ac_status); }; } &&
9726 { ac_try
='test -s conftest.$ac_objext'
9727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9731 (exit $ac_status); }; }; then
9733 cat >>confdefs.h
<<\_ACEOF
9734 #define HAVE_ST_C_IMPL 1
9737 echo "$as_me:$LINENO: result: yes" >&5
9738 echo "${ECHO_T}yes" >&6
9740 echo "$as_me: failed program was:" >&5
9741 sed 's/^/| /' conftest.
$ac_ext >&5
9743 echo "$as_me:$LINENO: result: no" >&5
9744 echo "${ECHO_T}no" >&6
9746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9748 rs6000-
*-aix4*) COREFILE
=rs6000-core.lo
;;
9749 rs6000-
*-*) COREFILE
=rs6000-core.lo
;;
9750 powerpc-
*-aix4*) COREFILE
=rs6000-core.lo
;;
9751 powerpc-
*-aix*) COREFILE
=rs6000-core.lo
;;
9753 powerpc-
*-freebsd* | powerpc-
*-kfreebsd*-gnu)
9755 powerpc-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
9756 powerpc-
*-*bsd
*) COREFILE
=netbsd-core.lo
;;
9757 s390
*-*-*) COREFILE
=trad-core.lo
;;
9758 sh
*-*-netbsd*) COREFILE
=netbsd-core.lo
;;
9759 sparc-
*-netbsd* | sparc
*-*-openbsd*)
9760 COREFILE
=netbsd-core.lo
9763 COREFILE
=trad-core.lo
9764 TRAD_HEADER
='"hosts/tahoe.h"'
9766 vax-
*-netbsd* | vax-
*-openbsd*)
9767 COREFILE
=netbsd-core.lo
9770 COREFILE
=trad-core.lo
9771 TRAD_HEADER
='"hosts/vaxult2.h"'
9774 COREFILE
=trad-core.lo
9775 TRAD_HEADER
='"hosts/vaxult2.h"'
9778 COREFILE
=trad-core.lo
9779 TRAD_HEADER
='"hosts/vaxlinux.h"'
9782 COREFILE
=trad-core.lo
9783 TRAD_HEADER
='"hosts/vaxbsd.h"'
9785 x86_64-
*-netbsd* | x86_64-
*-openbsd*)
9786 COREFILE
=netbsd-core.lo
9791 aix386-core.lo
) COREFLAG
=-DAIX386_CORE ;;
9792 hppabsd-core.lo
) COREFLAG
=-DHPPABSD_CORE ;;
9793 hpux-core.lo
) COREFLAG
=-DHPUX_CORE ;;
9794 irix-core.lo
) COREFLAG
=-DIRIX_CORE ;;
9795 lynx-core.lo
) COREFLAG
=-DLYNX_CORE ;;
9796 netbsd-core.lo
) COREFLAG
=-DNETBSD_CORE ;;
9797 osf-core.lo
) COREFLAG
=-DOSF_CORE ;;
9798 ptrace-core.lo
) COREFLAG
=-DPTRACE_CORE ;;
9799 rs6000-core.lo
) COREFLAG
="$COREFLAG -DAIX_CORE" ;;
9800 sco5-core.lo
) COREFLAG
="$COREFLAG -DSCO5_CORE" ;;
9801 trad-core.lo
) COREFLAG
="$COREFLAG -DTRAD_CORE" ;;
9804 # ELF corefile support has several flavors, but all of
9805 # them use something called <sys/procfs.h>
9807 for ac_header
in sys
/procfs.h
9809 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9811 echo "$as_me:$LINENO: checking for $ac_header" >&5
9812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9814 echo $ECHO_N "(cached) $ECHO_C" >&6
9816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9819 # Is the header compilable?
9820 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9821 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9822 cat >conftest.
$ac_ext <<_ACEOF
9825 cat confdefs.h
>>conftest.
$ac_ext
9826 cat >>conftest.
$ac_ext <<_ACEOF
9827 /* end confdefs.h. */
9828 $ac_includes_default
9829 #include <$ac_header>
9831 rm -f conftest.
$ac_objext
9832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9833 (eval $ac_compile) 2>conftest.er1
9835 grep -v '^ *+' conftest.er1
>conftest.err
9837 cat conftest.err
>&5
9838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9839 (exit $ac_status); } &&
9840 { ac_try
='test -z "$ac_c_werror_flag"
9841 || test ! -s conftest.err'
9842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9846 (exit $ac_status); }; } &&
9847 { ac_try
='test -s conftest.$ac_objext'
9848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9852 (exit $ac_status); }; }; then
9853 ac_header_compiler
=yes
9855 echo "$as_me: failed program was:" >&5
9856 sed 's/^/| /' conftest.
$ac_ext >&5
9858 ac_header_compiler
=no
9860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9861 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9862 echo "${ECHO_T}$ac_header_compiler" >&6
9864 # Is the header present?
9865 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9866 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9867 cat >conftest.
$ac_ext <<_ACEOF
9870 cat confdefs.h
>>conftest.
$ac_ext
9871 cat >>conftest.
$ac_ext <<_ACEOF
9872 /* end confdefs.h. */
9873 #include <$ac_header>
9875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9876 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9878 grep -v '^ *+' conftest.er1
>conftest.err
9880 cat conftest.err
>&5
9881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9882 (exit $ac_status); } >/dev
/null
; then
9883 if test -s conftest.err
; then
9884 ac_cpp_err
=$ac_c_preproc_warn_flag
9885 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9892 if test -z "$ac_cpp_err"; then
9893 ac_header_preproc
=yes
9895 echo "$as_me: failed program was:" >&5
9896 sed 's/^/| /' conftest.
$ac_ext >&5
9898 ac_header_preproc
=no
9900 rm -f conftest.err conftest.
$ac_ext
9901 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9902 echo "${ECHO_T}$ac_header_preproc" >&6
9904 # So? What about this header?
9905 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9907 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9908 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9909 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9910 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9911 ac_header_preproc
=yes
9914 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9915 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9916 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9917 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9918 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9919 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9920 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9921 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9923 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9924 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9925 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9928 ## ------------------------------------------ ##
9929 ## Report this to the AC_PACKAGE_NAME lists. ##
9930 ## ------------------------------------------ ##
9933 sed "s/^/$as_me: WARNING: /" >&2
9936 echo "$as_me:$LINENO: checking for $ac_header" >&5
9937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9939 echo $ECHO_N "(cached) $ECHO_C" >&6
9941 eval "$as_ac_Header=\$ac_header_preproc"
9943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9948 cat >>confdefs.h
<<_ACEOF
9949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9956 if test "$ac_cv_header_sys_procfs_h" = yes; then
9957 echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
9958 echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
9959 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
9960 echo $ECHO_N "(cached) $ECHO_C" >&6
9962 cat >conftest.
$ac_ext <<_ACEOF
9965 cat confdefs.h
>>conftest.
$ac_ext
9966 cat >>conftest.
$ac_ext <<_ACEOF
9967 /* end confdefs.h. */
9970 #include <sys/procfs.h>
9979 rm -f conftest.
$ac_objext
9980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9981 (eval $ac_compile) 2>conftest.er1
9983 grep -v '^ *+' conftest.er1
>conftest.err
9985 cat conftest.err
>&5
9986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9987 (exit $ac_status); } &&
9988 { ac_try
='test -z "$ac_c_werror_flag"
9989 || test ! -s conftest.err'
9990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 (exit $ac_status); }; } &&
9995 { ac_try
='test -s conftest.$ac_objext'
9996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10000 (exit $ac_status); }; }; then
10001 bfd_cv_have_sys_procfs_type_prstatus_t
=yes
10003 echo "$as_me: failed program was:" >&5
10004 sed 's/^/| /' conftest.
$ac_ext >&5
10006 bfd_cv_have_sys_procfs_type_prstatus_t
=no
10009 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10012 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
10014 cat >>confdefs.h
<<\_ACEOF
10015 #define HAVE_PRSTATUS_T 1
10019 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
10020 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
10022 echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
10023 echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
10024 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
10025 echo $ECHO_N "(cached) $ECHO_C" >&6
10027 cat >conftest.
$ac_ext <<_ACEOF
10030 cat confdefs.h
>>conftest.
$ac_ext
10031 cat >>conftest.
$ac_ext <<_ACEOF
10032 /* end confdefs.h. */
10035 #include <sys/procfs.h>
10044 rm -f conftest.
$ac_objext
10045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10046 (eval $ac_compile) 2>conftest.er1
10048 grep -v '^ *+' conftest.er1
>conftest.err
10050 cat conftest.err
>&5
10051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10052 (exit $ac_status); } &&
10053 { ac_try
='test -z "$ac_c_werror_flag"
10054 || test ! -s conftest.err'
10055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10056 (eval $ac_try) 2>&5
10058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10059 (exit $ac_status); }; } &&
10060 { ac_try
='test -s conftest.$ac_objext'
10061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10062 (eval $ac_try) 2>&5
10064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10065 (exit $ac_status); }; }; then
10066 bfd_cv_have_sys_procfs_type_prstatus32_t
=yes
10068 echo "$as_me: failed program was:" >&5
10069 sed 's/^/| /' conftest.
$ac_ext >&5
10071 bfd_cv_have_sys_procfs_type_prstatus32_t
=no
10074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10077 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
10079 cat >>confdefs.h
<<\_ACEOF
10080 #define HAVE_PRSTATUS32_T 1
10084 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
10085 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
10087 echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
10088 echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
10089 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
10090 echo $ECHO_N "(cached) $ECHO_C" >&6
10092 cat >conftest.
$ac_ext <<_ACEOF
10095 cat confdefs.h
>>conftest.
$ac_ext
10096 cat >>conftest.
$ac_ext <<_ACEOF
10097 /* end confdefs.h. */
10100 #include <sys/procfs.h>
10104 prstatus_t avar; void* aref = (void*) &avar.pr_who
10109 rm -f conftest.
$ac_objext
10110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10111 (eval $ac_compile) 2>conftest.er1
10113 grep -v '^ *+' conftest.er1
>conftest.err
10115 cat conftest.err
>&5
10116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117 (exit $ac_status); } &&
10118 { ac_try
='test -z "$ac_c_werror_flag"
10119 || test ! -s conftest.err'
10120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10121 (eval $ac_try) 2>&5
10123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10124 (exit $ac_status); }; } &&
10125 { ac_try
='test -s conftest.$ac_objext'
10126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10127 (eval $ac_try) 2>&5
10129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10130 (exit $ac_status); }; }; then
10131 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=yes
10133 echo "$as_me: failed program was:" >&5
10134 sed 's/^/| /' conftest.
$ac_ext >&5
10136 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=no
10139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10142 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
10144 cat >>confdefs.h
<<\_ACEOF
10145 #define HAVE_PRSTATUS_T_PR_WHO 1
10149 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
10150 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
10152 echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
10153 echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
10154 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
10155 echo $ECHO_N "(cached) $ECHO_C" >&6
10157 cat >conftest.
$ac_ext <<_ACEOF
10160 cat confdefs.h
>>conftest.
$ac_ext
10161 cat >>conftest.
$ac_ext <<_ACEOF
10162 /* end confdefs.h. */
10165 #include <sys/procfs.h>
10169 prstatus32_t avar; void* aref = (void*) &avar.pr_who
10174 rm -f conftest.
$ac_objext
10175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10176 (eval $ac_compile) 2>conftest.er1
10178 grep -v '^ *+' conftest.er1
>conftest.err
10180 cat conftest.err
>&5
10181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10182 (exit $ac_status); } &&
10183 { ac_try
='test -z "$ac_c_werror_flag"
10184 || test ! -s conftest.err'
10185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10186 (eval $ac_try) 2>&5
10188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10189 (exit $ac_status); }; } &&
10190 { ac_try
='test -s conftest.$ac_objext'
10191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10192 (eval $ac_try) 2>&5
10194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10195 (exit $ac_status); }; }; then
10196 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=yes
10198 echo "$as_me: failed program was:" >&5
10199 sed 's/^/| /' conftest.
$ac_ext >&5
10201 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=no
10204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10207 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
10209 cat >>confdefs.h
<<\_ACEOF
10210 #define HAVE_PRSTATUS32_T_PR_WHO 1
10214 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
10215 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
10217 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
10218 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
10219 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
10220 echo $ECHO_N "(cached) $ECHO_C" >&6
10222 cat >conftest.
$ac_ext <<_ACEOF
10225 cat confdefs.h
>>conftest.
$ac_ext
10226 cat >>conftest.
$ac_ext <<_ACEOF
10227 /* end confdefs.h. */
10230 #include <sys/procfs.h>
10239 rm -f conftest.
$ac_objext
10240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10241 (eval $ac_compile) 2>conftest.er1
10243 grep -v '^ *+' conftest.er1
>conftest.err
10245 cat conftest.err
>&5
10246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10247 (exit $ac_status); } &&
10248 { ac_try
='test -z "$ac_c_werror_flag"
10249 || test ! -s conftest.err'
10250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10251 (eval $ac_try) 2>&5
10253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10254 (exit $ac_status); }; } &&
10255 { ac_try
='test -s conftest.$ac_objext'
10256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10257 (eval $ac_try) 2>&5
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); }; }; then
10261 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
10263 echo "$as_me: failed program was:" >&5
10264 sed 's/^/| /' conftest.
$ac_ext >&5
10266 bfd_cv_have_sys_procfs_type_pstatus_t
=no
10269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10272 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
10274 cat >>confdefs.h
<<\_ACEOF
10275 #define HAVE_PSTATUS_T 1
10279 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
10280 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
10282 echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
10283 echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
10284 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
10285 echo $ECHO_N "(cached) $ECHO_C" >&6
10287 cat >conftest.
$ac_ext <<_ACEOF
10290 cat confdefs.h
>>conftest.
$ac_ext
10291 cat >>conftest.
$ac_ext <<_ACEOF
10292 /* end confdefs.h. */
10295 #include <sys/procfs.h>
10304 rm -f conftest.
$ac_objext
10305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10306 (eval $ac_compile) 2>conftest.er1
10308 grep -v '^ *+' conftest.er1
>conftest.err
10310 cat conftest.err
>&5
10311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312 (exit $ac_status); } &&
10313 { ac_try
='test -z "$ac_c_werror_flag"
10314 || test ! -s conftest.err'
10315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10316 (eval $ac_try) 2>&5
10318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10319 (exit $ac_status); }; } &&
10320 { ac_try
='test -s conftest.$ac_objext'
10321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10322 (eval $ac_try) 2>&5
10324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10325 (exit $ac_status); }; }; then
10326 bfd_cv_have_sys_procfs_type_pxstatus_t
=yes
10328 echo "$as_me: failed program was:" >&5
10329 sed 's/^/| /' conftest.
$ac_ext >&5
10331 bfd_cv_have_sys_procfs_type_pxstatus_t
=no
10334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10337 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
10339 cat >>confdefs.h
<<\_ACEOF
10340 #define HAVE_PXSTATUS_T 1
10344 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
10345 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
10347 echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
10348 echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
10349 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
10350 echo $ECHO_N "(cached) $ECHO_C" >&6
10352 cat >conftest.
$ac_ext <<_ACEOF
10355 cat confdefs.h
>>conftest.
$ac_ext
10356 cat >>conftest.
$ac_ext <<_ACEOF
10357 /* end confdefs.h. */
10360 #include <sys/procfs.h>
10369 rm -f conftest.
$ac_objext
10370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10371 (eval $ac_compile) 2>conftest.er1
10373 grep -v '^ *+' conftest.er1
>conftest.err
10375 cat conftest.err
>&5
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); } &&
10378 { ac_try
='test -z "$ac_c_werror_flag"
10379 || test ! -s conftest.err'
10380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10381 (eval $ac_try) 2>&5
10383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10384 (exit $ac_status); }; } &&
10385 { ac_try
='test -s conftest.$ac_objext'
10386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10387 (eval $ac_try) 2>&5
10389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390 (exit $ac_status); }; }; then
10391 bfd_cv_have_sys_procfs_type_pstatus32_t
=yes
10393 echo "$as_me: failed program was:" >&5
10394 sed 's/^/| /' conftest.
$ac_ext >&5
10396 bfd_cv_have_sys_procfs_type_pstatus32_t
=no
10399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10402 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
10404 cat >>confdefs.h
<<\_ACEOF
10405 #define HAVE_PSTATUS32_T 1
10409 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
10410 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
10412 echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
10413 echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
10414 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
10415 echo $ECHO_N "(cached) $ECHO_C" >&6
10417 cat >conftest.
$ac_ext <<_ACEOF
10420 cat confdefs.h
>>conftest.
$ac_ext
10421 cat >>conftest.
$ac_ext <<_ACEOF
10422 /* end confdefs.h. */
10425 #include <sys/procfs.h>
10434 rm -f conftest.
$ac_objext
10435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10436 (eval $ac_compile) 2>conftest.er1
10438 grep -v '^ *+' conftest.er1
>conftest.err
10440 cat conftest.err
>&5
10441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); } &&
10443 { ac_try
='test -z "$ac_c_werror_flag"
10444 || test ! -s conftest.err'
10445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10446 (eval $ac_try) 2>&5
10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10449 (exit $ac_status); }; } &&
10450 { ac_try
='test -s conftest.$ac_objext'
10451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10452 (eval $ac_try) 2>&5
10454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10455 (exit $ac_status); }; }; then
10456 bfd_cv_have_sys_procfs_type_prpsinfo_t
=yes
10458 echo "$as_me: failed program was:" >&5
10459 sed 's/^/| /' conftest.
$ac_ext >&5
10461 bfd_cv_have_sys_procfs_type_prpsinfo_t
=no
10464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10467 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
10469 cat >>confdefs.h
<<\_ACEOF
10470 #define HAVE_PRPSINFO_T 1
10474 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
10475 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
10477 echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
10478 echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
10479 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
10480 echo $ECHO_N "(cached) $ECHO_C" >&6
10482 cat >conftest.
$ac_ext <<_ACEOF
10485 cat confdefs.h
>>conftest.
$ac_ext
10486 cat >>conftest.
$ac_ext <<_ACEOF
10487 /* end confdefs.h. */
10490 #include <sys/procfs.h>
10499 rm -f conftest.
$ac_objext
10500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10501 (eval $ac_compile) 2>conftest.er1
10503 grep -v '^ *+' conftest.er1
>conftest.err
10505 cat conftest.err
>&5
10506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10507 (exit $ac_status); } &&
10508 { ac_try
='test -z "$ac_c_werror_flag"
10509 || test ! -s conftest.err'
10510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10511 (eval $ac_try) 2>&5
10513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10514 (exit $ac_status); }; } &&
10515 { ac_try
='test -s conftest.$ac_objext'
10516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10517 (eval $ac_try) 2>&5
10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520 (exit $ac_status); }; }; then
10521 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=yes
10523 echo "$as_me: failed program was:" >&5
10524 sed 's/^/| /' conftest.
$ac_ext >&5
10526 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=no
10529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10532 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
10534 cat >>confdefs.h
<<\_ACEOF
10535 #define HAVE_PRPSINFO32_T 1
10539 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
10540 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
10542 echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
10543 echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
10544 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
10545 echo $ECHO_N "(cached) $ECHO_C" >&6
10547 cat >conftest.
$ac_ext <<_ACEOF
10550 cat confdefs.h
>>conftest.
$ac_ext
10551 cat >>conftest.
$ac_ext <<_ACEOF
10552 /* end confdefs.h. */
10555 #include <sys/procfs.h>
10564 rm -f conftest.
$ac_objext
10565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10566 (eval $ac_compile) 2>conftest.er1
10568 grep -v '^ *+' conftest.er1
>conftest.err
10570 cat conftest.err
>&5
10571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); } &&
10573 { ac_try
='test -z "$ac_c_werror_flag"
10574 || test ! -s conftest.err'
10575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10576 (eval $ac_try) 2>&5
10578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10579 (exit $ac_status); }; } &&
10580 { ac_try
='test -s conftest.$ac_objext'
10581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10582 (eval $ac_try) 2>&5
10584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585 (exit $ac_status); }; }; then
10586 bfd_cv_have_sys_procfs_type_psinfo_t
=yes
10588 echo "$as_me: failed program was:" >&5
10589 sed 's/^/| /' conftest.
$ac_ext >&5
10591 bfd_cv_have_sys_procfs_type_psinfo_t
=no
10594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10597 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
10599 cat >>confdefs.h
<<\_ACEOF
10600 #define HAVE_PSINFO_T 1
10604 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
10605 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
10607 echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
10608 echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
10609 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
10610 echo $ECHO_N "(cached) $ECHO_C" >&6
10612 cat >conftest.
$ac_ext <<_ACEOF
10615 cat confdefs.h
>>conftest.
$ac_ext
10616 cat >>conftest.
$ac_ext <<_ACEOF
10617 /* end confdefs.h. */
10620 #include <sys/procfs.h>
10629 rm -f conftest.
$ac_objext
10630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10631 (eval $ac_compile) 2>conftest.er1
10633 grep -v '^ *+' conftest.er1
>conftest.err
10635 cat conftest.err
>&5
10636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637 (exit $ac_status); } &&
10638 { ac_try
='test -z "$ac_c_werror_flag"
10639 || test ! -s conftest.err'
10640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10641 (eval $ac_try) 2>&5
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); }; } &&
10645 { ac_try
='test -s conftest.$ac_objext'
10646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10647 (eval $ac_try) 2>&5
10649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10650 (exit $ac_status); }; }; then
10651 bfd_cv_have_sys_procfs_type_psinfo32_t
=yes
10653 echo "$as_me: failed program was:" >&5
10654 sed 's/^/| /' conftest.
$ac_ext >&5
10656 bfd_cv_have_sys_procfs_type_psinfo32_t
=no
10659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10662 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
10664 cat >>confdefs.h
<<\_ACEOF
10665 #define HAVE_PSINFO32_T 1
10669 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
10670 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
10672 echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
10673 echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
10674 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
10675 echo $ECHO_N "(cached) $ECHO_C" >&6
10677 cat >conftest.
$ac_ext <<_ACEOF
10680 cat confdefs.h
>>conftest.
$ac_ext
10681 cat >>conftest.
$ac_ext <<_ACEOF
10682 /* end confdefs.h. */
10685 #include <sys/procfs.h>
10694 rm -f conftest.
$ac_objext
10695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10696 (eval $ac_compile) 2>conftest.er1
10698 grep -v '^ *+' conftest.er1
>conftest.err
10700 cat conftest.err
>&5
10701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10702 (exit $ac_status); } &&
10703 { ac_try
='test -z "$ac_c_werror_flag"
10704 || test ! -s conftest.err'
10705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10706 (eval $ac_try) 2>&5
10708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); }; } &&
10710 { ac_try
='test -s conftest.$ac_objext'
10711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10712 (eval $ac_try) 2>&5
10714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715 (exit $ac_status); }; }; then
10716 bfd_cv_have_sys_procfs_type_lwpstatus_t
=yes
10718 echo "$as_me: failed program was:" >&5
10719 sed 's/^/| /' conftest.
$ac_ext >&5
10721 bfd_cv_have_sys_procfs_type_lwpstatus_t
=no
10724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10727 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
10729 cat >>confdefs.h
<<\_ACEOF
10730 #define HAVE_LWPSTATUS_T 1
10734 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
10735 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
10737 echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
10738 echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
10739 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
10740 echo $ECHO_N "(cached) $ECHO_C" >&6
10742 cat >conftest.
$ac_ext <<_ACEOF
10745 cat confdefs.h
>>conftest.
$ac_ext
10746 cat >>conftest.
$ac_ext <<_ACEOF
10747 /* end confdefs.h. */
10750 #include <sys/procfs.h>
10759 rm -f conftest.
$ac_objext
10760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10761 (eval $ac_compile) 2>conftest.er1
10763 grep -v '^ *+' conftest.er1
>conftest.err
10765 cat conftest.err
>&5
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); } &&
10768 { ac_try
='test -z "$ac_c_werror_flag"
10769 || test ! -s conftest.err'
10770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10771 (eval $ac_try) 2>&5
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); }; } &&
10775 { ac_try
='test -s conftest.$ac_objext'
10776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10777 (eval $ac_try) 2>&5
10779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10780 (exit $ac_status); }; }; then
10781 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=yes
10783 echo "$as_me: failed program was:" >&5
10784 sed 's/^/| /' conftest.
$ac_ext >&5
10786 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=no
10789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10792 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
10794 cat >>confdefs.h
<<\_ACEOF
10795 #define HAVE_LWPXSTATUS_T 1
10799 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
10800 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
10802 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
10803 echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
10804 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
10805 echo $ECHO_N "(cached) $ECHO_C" >&6
10807 cat >conftest.
$ac_ext <<_ACEOF
10810 cat confdefs.h
>>conftest.
$ac_ext
10811 cat >>conftest.
$ac_ext <<_ACEOF
10812 /* end confdefs.h. */
10815 #include <sys/procfs.h>
10819 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
10824 rm -f conftest.
$ac_objext
10825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10826 (eval $ac_compile) 2>conftest.er1
10828 grep -v '^ *+' conftest.er1
>conftest.err
10830 cat conftest.err
>&5
10831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10832 (exit $ac_status); } &&
10833 { ac_try
='test -z "$ac_c_werror_flag"
10834 || test ! -s conftest.err'
10835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10836 (eval $ac_try) 2>&5
10838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10839 (exit $ac_status); }; } &&
10840 { ac_try
='test -s conftest.$ac_objext'
10841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10842 (eval $ac_try) 2>&5
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); }; }; then
10846 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=yes
10848 echo "$as_me: failed program was:" >&5
10849 sed 's/^/| /' conftest.
$ac_ext >&5
10851 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=no
10854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10857 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
10859 cat >>confdefs.h
<<\_ACEOF
10860 #define HAVE_LWPSTATUS_T_PR_CONTEXT 1
10864 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
10865 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
10867 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
10868 echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
10869 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
10870 echo $ECHO_N "(cached) $ECHO_C" >&6
10872 cat >conftest.
$ac_ext <<_ACEOF
10875 cat confdefs.h
>>conftest.
$ac_ext
10876 cat >>conftest.
$ac_ext <<_ACEOF
10877 /* end confdefs.h. */
10880 #include <sys/procfs.h>
10884 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
10889 rm -f conftest.
$ac_objext
10890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10891 (eval $ac_compile) 2>conftest.er1
10893 grep -v '^ *+' conftest.er1
>conftest.err
10895 cat conftest.err
>&5
10896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10897 (exit $ac_status); } &&
10898 { ac_try
='test -z "$ac_c_werror_flag"
10899 || test ! -s conftest.err'
10900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10901 (eval $ac_try) 2>&5
10903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904 (exit $ac_status); }; } &&
10905 { ac_try
='test -s conftest.$ac_objext'
10906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10907 (eval $ac_try) 2>&5
10909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10910 (exit $ac_status); }; }; then
10911 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=yes
10913 echo "$as_me: failed program was:" >&5
10914 sed 's/^/| /' conftest.
$ac_ext >&5
10916 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=no
10919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10922 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
10924 cat >>confdefs.h
<<\_ACEOF
10925 #define HAVE_LWPSTATUS_T_PR_REG 1
10929 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
10930 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
10932 echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
10933 echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
10934 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
10935 echo $ECHO_N "(cached) $ECHO_C" >&6
10937 cat >conftest.
$ac_ext <<_ACEOF
10940 cat confdefs.h
>>conftest.
$ac_ext
10941 cat >>conftest.
$ac_ext <<_ACEOF
10942 /* end confdefs.h. */
10945 #include <sys/procfs.h>
10949 win32_pstatus_t avar
10954 rm -f conftest.
$ac_objext
10955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10956 (eval $ac_compile) 2>conftest.er1
10958 grep -v '^ *+' conftest.er1
>conftest.err
10960 cat conftest.err
>&5
10961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10962 (exit $ac_status); } &&
10963 { ac_try
='test -z "$ac_c_werror_flag"
10964 || test ! -s conftest.err'
10965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10966 (eval $ac_try) 2>&5
10968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10969 (exit $ac_status); }; } &&
10970 { ac_try
='test -s conftest.$ac_objext'
10971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10972 (eval $ac_try) 2>&5
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); }; }; then
10976 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=yes
10978 echo "$as_me: failed program was:" >&5
10979 sed 's/^/| /' conftest.
$ac_ext >&5
10981 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=no
10984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10987 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
10989 cat >>confdefs.h
<<\_ACEOF
10990 #define HAVE_WIN32_PSTATUS_T 1
10994 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
10995 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
11001 if test -n "$TRAD_HEADER"; then
11003 cat >>confdefs.h
<<_ACEOF
11004 #define TRAD_HEADER $TRAD_HEADER
11009 # Horrible hacks to build DLLs on Windows.
11014 if test "$enable_shared" = "yes"; then
11015 WIN32LDFLAGS
="-no-undefined"
11016 WIN32LIBADD
="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
11020 # We borrow WIN32LIBADD so that the shared libbfd won't depend on
11024 # Linux/MIPS uses PIC by default.
11025 if test "$enable_shared" = "yes"; then
11026 WIN32LIBADD
="-L../libiberty -liberty"
11030 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
11031 if test -n "$x"; then
11032 WIN32LIBADD
="-L../libiberty/pic -liberty"
11043 # Canonicalize the secondary target names.
11044 if test -n "$enable_targets" ; then
11045 for targ
in `echo $enable_targets | sed 's/,/ /g'`
11047 result
=`$ac_config_sub $targ 2>/dev/null`
11048 if test -n "$result" ; then
11049 canon_targets
="$canon_targets $result"
11051 # Allow targets that config.sub doesn't recognize, like "all".
11052 canon_targets
="$canon_targets $targ"
11063 for targ
in $target $canon_targets
11065 if test "x$targ" = "xall"; then
11067 assocvecs
="$assocvecs $targ_defvec $targ_selvecs"
11069 .
$srcdir/config.bfd
11070 if test "x$targ" = "x$target"; then
11071 defvec
=$targ_defvec
11073 selvecs
="$selvecs $targ_defvec $targ_selvecs"
11074 selarchs
="$selarchs $targ_archs"
11075 TDEFINES
="$TDEFINES $targ_cflags"
11080 # This processing still needs to be done if we're to decide properly whether
11081 # 64-bit support needs to be compiled in. Currently, it will be included if
11082 # the default or any other explicitly requested target requires it; it
11083 # will not be included on a 32-bit host if no 64-bit target is requested, and
11084 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
11087 # uniq the default and selected vectors in all the configured targets.
11089 for i
in $selvecs ; do
11098 # uniq the associated vectors in all the configured targets.
11100 for i
in $assocvecs ; do
11109 # uniq the architectures in all the configured targets.
11111 for i
in $selarchs ; do
11119 # Target backend .o files.
11122 elf
="elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
11124 for vec
in $selvecs
11128 # This list is alphabetized to make it easy to compare
11129 # with the two vector lists in targets.c. For the same reason,
11130 # use one entry per line, even though this leads to long lines.
11131 a29kcoff_big_vec
) tb
="$tb coff-a29k.lo cofflink.lo" ;;
11132 a_out_adobe_vec
) tb
="$tb aout-adobe.lo aout32.lo" ;;
11133 aix5coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
11134 aout0_big_vec
) tb
="$tb aout0.lo aout32.lo" ;;
11135 aout_arm_big_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
11136 aout_arm_little_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
11137 apollocoff_vec
) tb
="$tb coff-apollo.lo" ;;
11138 arm_epoc_pe_big_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
11139 arm_epoc_pe_little_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
11140 arm_epoc_pei_big_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
11141 arm_epoc_pei_little_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
11142 armcoff_big_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
11143 armcoff_little_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
11144 armnetbsd_vec
) tb
="$tb armnetbsd.lo aout32.lo" ;;
11145 armpe_big_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
11146 armpe_little_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
11147 armpei_big_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
11148 armpei_little_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
11149 b_out_vec_big_host
) tb
="$tb bout.lo aout32.lo" ;;
11150 b_out_vec_little_host
) tb
="$tb bout.lo aout32.lo" ;;
11151 bfd_efi_app_ia32_vec
) tb
="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;;
11152 bfd_efi_app_ia64_vec
) tb
="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
11153 bfd_elf32_am33lin_vec
) tb
="$tb elf32-am33lin.lo elf32.lo $elf" ;;
11154 bfd_elf32_avr_vec
) tb
="$tb elf32-avr.lo elf32.lo $elf" ;;
11155 bfd_elf32_big_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
11156 bfd_elf32_bigarc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
11157 bfd_elf32_bigarm_oabi_vec
) tb
="$tb elfarm-oabi.lo elf32.lo $elf" ;;
11158 bfd_elf32_bigarm_vec
) tb
="$tb elfarm-nabi.lo elf32.lo $elf" ;;
11159 bfd_elf32_bigarm_symbian_vec
)
11160 tb
="$tb elfarm-nabi.lo elf32.lo $elf" ;;
11161 bfd_elf32_bigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
11162 bfd_elf32_cr16c_vec
) tb
="$tb elf32-cr16c.lo elf32.lo $elf" ;;
11163 bfd_elf32_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
11164 bfd_elf32_crx_vec
) tb
="$tb elf32-crx.lo elf32.lo $elf" ;;
11165 bfd_elf32_d10v_vec
) tb
="$tb elf32-d10v.lo elf32.lo $elf" ;;
11166 bfd_elf32_d30v_vec
) tb
="$tb elf32-d30v.lo elf32.lo $elf" ;;
11167 bfd_elf32_dlx_big_vec
) tb
="$tb elf32-dlx.lo elf32.lo $elf" ;;
11168 bfd_elf32_fr30_vec
) tb
="$tb elf32-fr30.lo elf32.lo $elf" ;;
11169 bfd_elf32_frv_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
11170 bfd_elf32_frvfdpic_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
11171 bfd_elf32_h8300_vec
) tb
="$tb elf32-h8300.lo elf32.lo $elf" ;;
11172 bfd_elf32_hppa_linux_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
11173 bfd_elf32_hppa_nbsd_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
11174 bfd_elf32_hppa_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
11175 bfd_elf32_i370_vec
) tb
="$tb elf32-i370.lo elf32.lo $elf" ;;
11176 bfd_elf32_i386_freebsd_vec
) tb
="$tb elf32-i386.lo elf32.lo $elf" ;;
11177 bfd_elf32_i386_vec
) tb
="$tb elf32-i386.lo elf32.lo $elf" ;;
11178 bfd_elf32_i860_little_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
11179 bfd_elf32_i860_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
11180 bfd_elf32_i960_vec
) tb
="$tb elf32-i960.lo elf32.lo $elf" ;;
11181 bfd_elf32_ia64_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf" ;;
11182 bfd_elf32_ia64_hpux_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf";;
11183 bfd_elf32_ip2k_vec
) tb
="$tb elf32-ip2k.lo elf32.lo $elf" ;;
11184 bfd_elf32_iq2000_vec
) tb
="$tb elf32-iq2000.lo elf32.lo $elf" ;;
11185 bfd_elf32_little_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
11186 bfd_elf32_littlearc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
11187 bfd_elf32_littlearm_oabi_vec
) tb
="$tb elfarm-oabi.lo elf32.lo $elf" ;;
11188 bfd_elf32_littlearm_symbian_vec
)
11189 tb
="$tb elfarm-nabi.lo elf32.lo $elf" ;;
11190 bfd_elf32_littlearm_vec
) tb
="$tb elfarm-nabi.lo elf32.lo $elf" ;;
11191 bfd_elf32_littlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
11192 bfd_elf32_m32r_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
11193 bfd_elf32_m32rle_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
11194 bfd_elf32_m32rlin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
11195 bfd_elf32_m32rlelin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
11196 bfd_elf32_m68hc11_vec
) tb
="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
11197 bfd_elf32_m68hc12_vec
) tb
="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
11198 bfd_elf32_m68k_vec
) tb
="$tb elf32-m68k.lo elf32.lo $elf" ;;
11199 bfd_elf32_m88k_vec
) tb
="$tb elf32-m88k.lo elf32.lo $elf" ;;
11200 bfd_elf32_mcore_big_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
11201 bfd_elf32_mcore_little_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
11202 bfd_elf32_mn10200_vec
) tb
="$tb elf-m10200.lo elf32.lo $elf" ;;
11203 bfd_elf32_mn10300_vec
) tb
="$tb elf-m10300.lo elf32.lo $elf" ;;
11204 bfd_elf32_msp430_vec
) tb
="$tb elf32-msp430.lo elf32.lo $elf" ;;
11205 bfd_elf32_nbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11206 bfd_elf32_nlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11207 bfd_elf32_ntradbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11208 bfd_elf32_ntradlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11209 bfd_elf32_openrisc_vec
) tb
="$tb elf32-openrisc.lo elf32.lo $elf" ;;
11210 bfd_elf32_or32_big_vec
) tb
="$tb elf32-or32.lo elf32.lo $elf" ;;
11211 bfd_elf32_pj_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
11212 bfd_elf32_pjl_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
11213 bfd_elf32_powerpc_vec
) tb
="$tb elf32-ppc.lo elf32.lo $elf" ;;
11214 bfd_elf32_powerpcle_vec
) tb
="$tb elf32-ppc.lo elf32.lo $elf" ;;
11215 bfd_elf32_s390_vec
) tb
="$tb elf32-s390.lo elf32.lo $elf" ;;
11216 # FIXME: We include cofflink.lo not because it's needed for
11217 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
11218 # which needs it but does not list it. Should be fixed in right place.
11219 bfd_elf32_sh64_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
11220 bfd_elf32_sh64l_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
11221 bfd_elf32_sh64lin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
11222 bfd_elf32_sh64blin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
11223 bfd_elf32_sh64lnbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;;
11224 bfd_elf32_sh64nbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;;
11225 bfd_elf32_sh_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;;
11226 bfd_elf32_shblin_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
11227 bfd_elf32_shl_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;;
11228 bfd_elf32_shl_symbian_vec
) tb
="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf32.lo $elf coff-sh.lo" ;;
11229 bfd_elf32_shlin_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
11230 bfd_elf32_shlnbsd_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
11231 bfd_elf32_shnbsd_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
11232 bfd_elf32_sparc_vec
) tb
="$tb elf32-sparc.lo elf32.lo $elf" ;;
11233 bfd_elf32_tradbigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
11234 bfd_elf32_tradlittlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
11235 bfd_elf32_us_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
11236 bfd_elf32_v850_vec
) tb
="$tb elf32-v850.lo elf32.lo $elf" ;;
11237 bfd_elf32_vax_vec
) tb
="$tb elf32-vax.lo elf32.lo $elf" ;;
11238 bfd_elf32_xstormy16_vec
) tb
="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
11239 bfd_elf32_xtensa_le_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
11240 bfd_elf32_xtensa_be_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
11241 bfd_elf64_alpha_freebsd_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
11242 bfd_elf64_alpha_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
11243 bfd_elf64_big_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
11244 bfd_elf64_bigmips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11245 bfd_elf64_hppa_linux_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
11246 bfd_elf64_hppa_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
11247 bfd_elf64_ia64_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
11248 bfd_elf64_ia64_hpux_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
11249 bfd_elf64_ia64_little_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
11250 bfd_elf64_little_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
11251 bfd_elf64_littlemips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11252 bfd_elf64_mmix_vec
) tb
="$tb elf64-mmix.lo elf64.lo $elf" target_size
=64 ;;
11253 bfd_elf64_powerpc_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
11254 bfd_elf64_powerpcle_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size
=64 ;;
11255 bfd_elf64_s390_vec
) tb
="$tb elf64-s390.lo elf64.lo $elf"; target_size
=64 ;;
11256 bfd_elf64_sh64_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11257 bfd_elf64_sh64l_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11258 bfd_elf64_sh64lin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11259 bfd_elf64_sh64blin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11260 bfd_elf64_sh64lnbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11261 bfd_elf64_sh64nbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11262 bfd_elf64_sparc_vec
) tb
="$tb elf64-sparc.lo elf64.lo $elf"; target_size
=64 ;;
11263 bfd_elf64_tradbigmips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11264 bfd_elf64_tradlittlemips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11265 bfd_elf64_x86_64_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
11266 bfd_mmo_vec
) tb
="$tb mmo.lo" target_size
=64 ;;
11267 bfd_powerpc_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
11268 bfd_powerpc_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
11269 bfd_powerpcle_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
11270 bfd_powerpcle_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
11271 cris_aout_vec
) tb
="$tb aout-cris.lo" ;;
11272 demo_64_vec
) tb
="$tb demo64.lo aout64.lo"; target_size
=64 ;;
11273 ecoff_big_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
11274 ecoff_biglittle_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
11275 ecoff_little_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
11276 ecoffalpha_little_vec
) tb
="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size
=64 ;;
11277 go32coff_vec
) tb
="$tb coff-go32.lo cofflink.lo" ;;
11278 go32stubbedcoff_vec
) tb
="$tb coff-stgo32.lo cofflink.lo" ;;
11279 h8300coff_vec
) tb
="$tb coff-h8300.lo reloc16.lo" ;;
11280 h8500coff_vec
) tb
="$tb coff-h8500.lo reloc16.lo" ;;
11281 host_aout_vec
) tb
="$tb host-aout.lo aout32.lo" ;;
11282 hp300bsd_vec
) tb
="$tb hp300bsd.lo aout32.lo" ;;
11283 hp300hpux_vec
) tb
="$tb hp300hpux.lo aout32.lo" ;;
11284 i386aout_vec
) tb
="$tb i386aout.lo aout32.lo" ;;
11285 i386bsd_vec
) tb
="$tb i386bsd.lo aout32.lo" ;;
11286 i386coff_vec
) tb
="$tb coff-i386.lo cofflink.lo" ;;
11287 i386dynix_vec
) tb
="$tb i386dynix.lo aout32.lo" ;;
11288 i386freebsd_vec
) tb
="$tb i386freebsd.lo aout32.lo" ;;
11289 i386linux_vec
) tb
="$tb i386linux.lo aout32.lo" ;;
11290 i386lynx_aout_vec
) tb
="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
11291 i386lynx_coff_vec
) tb
="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
11292 i386mach3_vec
) tb
="$tb i386mach3.lo aout32.lo" ;;
11293 i386msdos_vec
) tb
="$tb i386msdos.lo" ;;
11294 i386netbsd_vec
) tb
="$tb i386netbsd.lo aout32.lo" ;;
11295 i386os9k_vec
) tb
="$tb i386os9k.lo aout32.lo" ;;
11296 i386pe_vec
) tb
="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
11297 i386pei_vec
) tb
="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
11298 i860coff_vec
) tb
="$tb coff-i860.lo cofflink.lo" ;;
11299 icoff_big_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
11300 icoff_little_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
11301 ieee_vec
) tb
="$tb ieee.lo" ;;
11302 m68k4knetbsd_vec
) tb
="$tb m68k4knetbsd.lo aout32.lo" ;;
11303 m68kaux_coff_vec
) tb
="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
11304 m68kcoff_vec
) tb
="$tb coff-m68k.lo cofflink.lo" ;;
11305 m68kcoffun_vec
) tb
="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
11306 m68klinux_vec
) tb
="$tb m68klinux.lo aout32.lo" ;;
11307 m68klynx_aout_vec
) tb
="$tb m68klynx.lo lynx-core.lo aout32.lo" ;;
11308 m68klynx_coff_vec
) tb
="$tb cf-m68klynx.lo coff-m68k.lo cofflink.lo lynx-core.lo" ;;
11309 m68knetbsd_vec
) tb
="$tb m68knetbsd.lo aout32.lo" ;;
11310 m68ksysvcoff_vec
) tb
="$tb coff-svm68k.lo cofflink.lo" ;;
11311 m88kbcs_vec
) tb
="$tb coff-m88k.lo" ;;
11312 m88kmach3_vec
) tb
="$tb m88kmach3.lo aout32.lo" ;;
11313 m88kopenbsd_vec
) tb
="$tb m88kopenbsd.lo aout32.lo" ;;
11314 mach_o_be_vec
) tb
="$tb mach-o.lo" ;;
11315 mach_o_le_vec
) tb
="$tb mach-o.lo" ;;
11316 mach_o_fat_vec
) tb
="$tb mach-o.lo" ;;
11317 mcore_pe_big_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
11318 mcore_pe_little_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
11319 mcore_pei_big_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
11320 mcore_pei_little_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
11321 mipslpe_vec
) tb
="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
11322 mipslpei_vec
) tb
="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
11323 newsos3_vec
) tb
="$tb newsos3.lo aout32.lo" ;;
11324 nlm32_alpha_vec
) tb
="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size
=64 ;;
11325 nlm32_i386_vec
) tb
="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
11326 nlm32_powerpc_vec
) tb
="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
11327 nlm32_sparc_vec
) tb
="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
11328 or32coff_big_vec
) tb
="$tb coff-or32.lo cofflink.lo" ;;
11329 pc532machaout_vec
) tb
="$tb pc532-mach.lo aout-ns32k.lo" ;;
11330 pc532netbsd_vec
) tb
="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
11331 pef_vec
) tb
="$tb pef.lo" ;;
11332 pef_xlib_vec
) tb
="$tb pef.lo" ;;
11333 pdp11_aout_vec
) tb
="$tb pdp11.lo" ;;
11334 pmac_xcoff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
11335 ppcboot_vec
) tb
="$tb ppcboot.lo" ;;
11336 riscix_vec
) tb
="$tb aout32.lo riscix.lo" ;;
11337 rs6000coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
11338 rs6000coff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
11339 shcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11340 shcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11341 shlcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11342 shlcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11343 shlpe_vec
) tb
="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
11344 shlpei_vec
) tb
="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
11345 som_vec
) tb
="$tb som.lo" ;;
11346 sparccoff_vec
) tb
="$tb coff-sparc.lo" ;;
11347 sparcle_aout_vec
) tb
="$tb aout-sparcle.lo aout32.lo" ;;
11348 sparclinux_vec
) tb
="$tb sparclinux.lo aout32.lo" ;;
11349 sparclynx_aout_vec
) tb
="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
11350 sparclynx_coff_vec
) tb
="$tb cf-sparclynx.lo lynx-core.lo" ;;
11351 sparcnetbsd_vec
) tb
="$tb sparcnetbsd.lo aout32.lo" ;;
11352 sunos_big_vec
) tb
="$tb sunos.lo aout32.lo" ;;
11353 sym_vec
) tb
="$tb xsym.lo" ;;
11354 tic30_aout_vec
) tb
="$tb aout-tic30.lo" ;;
11355 tic30_coff_vec
) tb
="$tb coff-tic30.lo" ;;
11356 tic4x_coff0_vec
) tb
="$tb coff-tic4x.lo" ;;
11357 tic4x_coff0_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
11358 tic4x_coff1_vec
) tb
="$tb coff-tic4x.lo" ;;
11359 tic4x_coff1_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
11360 tic4x_coff2_vec
) tb
="$tb coff-tic4x.lo" ;;
11361 tic4x_coff2_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
11362 tic54x_coff0_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
11363 tic54x_coff0_vec
) tb
="$tb coff-tic54x.lo" ;;
11364 tic54x_coff1_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
11365 tic54x_coff1_vec
) tb
="$tb coff-tic54x.lo" ;;
11366 tic54x_coff2_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
11367 tic54x_coff2_vec
) tb
="$tb coff-tic54x.lo" ;;
11368 tic80coff_vec
) tb
="$tb coff-tic80.lo cofflink.lo" ;;
11369 vaxnetbsd_vec
) tb
="$tb vaxnetbsd.lo aout32.lo" ;;
11370 vax1knetbsd_vec
) tb
="$tb vax1knetbsd.lo aout32.lo" ;;
11371 vaxbsd_vec
) tb
="$tb vaxbsd.lo aout32.lo" ;;
11372 versados_vec
) tb
="$tb versados.lo" ;;
11373 vms_alpha_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size
=64 ;;
11374 vms_vax_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
11375 w65_vec
) tb
="$tb coff-w65.lo reloc16.lo" ;;
11376 we32kcoff_vec
) tb
="$tb coff-we32k.lo" ;;
11377 z8kcoff_vec
) tb
="$tb coff-z8k.lo reloc16.lo" ;;
11379 # These appear out of order in targets.c
11380 srec_vec
) tb
="$tb srec.lo" ;;
11381 symbolsrec_vec
) tb
="$tb srec.lo" ;;
11382 tekhex_vec
) tb
="$tb tekhex.lo" ;;
11383 cisco_core_big_vec
) tb
="$tb cisco-core.lo" ;;
11384 cisco_core_little_vec
) tb
="$tb cisco-core.lo" ;;
11387 *) { { echo "$as_me:$LINENO: error: *** unknown target vector $vec" >&5
11388 echo "$as_me: error: *** unknown target vector $vec" >&2;}
11389 { (exit 1); exit 1; }; } ;;
11392 if test ${target_size} = 64; then
11395 if test x
"${vec}" = x
"${defvec}"; then
11396 bfd_default_target_size
=${target_size}
11400 # Target architecture .o files.
11401 # A couple of CPUs use shorter file names to avoid problems on DOS
11403 ta
=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
11405 # Weed out duplicate .o files.
11427 if test x
${all_targets} = xtrue
; then
11428 bfd_backends
="${bfd_backends}"' $(ALL_BACKENDS)'
11429 bfd_machines
="${bfd_machines}"' $(ALL_MACHINES)'
11433 test -n "$assocvecs" &&
11434 assocvecs
=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11435 else # all_targets is true
11436 # Only set these if they will be nonempty, for the clever echo.
11439 test -n "$selvecs" &&
11440 havevecs
=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
11441 test -n "$selvecs" &&
11442 selvecs
=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11443 test -n "$selarchs" &&
11444 selarchs
=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11445 fi # all_targets is true
11447 case ${host64}-${target64}-${want64} in
11450 bfd_libs
='$(BFD64_LIBS) $(BFD32_LIBS)'
11451 all_backends
='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
11452 if test $BFD_HOST_64_BIT_DEFINED = 0; then
11453 { echo "$as_me:$LINENO: WARNING: You have requested a 64 bit BFD configuration, but" >&5
11454 echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
11455 { echo "$as_me:$LINENO: WARNING: your compiler may not have a 64 bit integral type" >&5
11456 echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
11458 if test -n "$GCC" ; then
11460 echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
11461 echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
11462 # Add more tests for gcc versions with non-working 64-bit support here.
11463 cat >conftest.
$ac_ext <<_ACEOF
11466 cat confdefs.h
>>conftest.
$ac_ext
11467 cat >>conftest.
$ac_ext <<_ACEOF
11468 /* end confdefs.h. */
11469 :__GNUC__:__GNUC_MINOR__:__i386__:
11471 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11472 $EGREP ": 2 : 91 : 1 :" >/dev
/null
2>&1; then
11474 echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
11475 echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
11477 echo "$as_me:$LINENO: result: no" >&5
11478 echo "${ECHO_T}no" >&6
11482 if test $bad_64bit_gcc = yes ; then
11483 { { echo "$as_me:$LINENO: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&5
11484 echo "$as_me: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&2;}
11485 { (exit 1); exit 1; }; }
11491 bfd_libs
='$(BFD32_LIBS)'
11492 all_backends
='$(BFD32_BACKENDS)'
11503 # Determine the host dependant file_ptr a.k.a. off_t type. In order
11504 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
11505 # fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
11506 # Hopefully a reasonable assumption since fseeko et.al. should be
11507 # upward compatible.
11512 for ac_func
in ftello ftello64 fseeko fseeko64
11514 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11515 echo "$as_me:$LINENO: checking for $ac_func" >&5
11516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11517 if eval "test \"\${$as_ac_var+set}\" = set"; then
11518 echo $ECHO_N "(cached) $ECHO_C" >&6
11520 cat >conftest.
$ac_ext <<_ACEOF
11523 cat confdefs.h
>>conftest.
$ac_ext
11524 cat >>conftest.
$ac_ext <<_ACEOF
11525 /* end confdefs.h. */
11526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11528 #define $ac_func innocuous_$ac_func
11530 /* System header to define __stub macros and hopefully few prototypes,
11531 which can conflict with char $ac_func (); below.
11532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11533 <limits.h> exists even on freestanding compilers. */
11536 # include <limits.h>
11538 # include <assert.h>
11543 /* Override any gcc2 internal prototype to avoid an error. */
11548 /* We use char because int might match the return type of a gcc2
11549 builtin and then its argument prototype would still apply. */
11551 /* The GNU C library defines this for functions which it implements
11552 to always fail with ENOSYS. Some functions are actually named
11553 something starting with __ and the normal name is an alias. */
11554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11557 char (*f) () = $ac_func;
11566 return f != $ac_func;
11571 rm -f conftest.
$ac_objext conftest
$ac_exeext
11572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11573 (eval $ac_link) 2>conftest.er1
11575 grep -v '^ *+' conftest.er1
>conftest.err
11577 cat conftest.err
>&5
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); } &&
11580 { ac_try
='test -z "$ac_c_werror_flag"
11581 || test ! -s conftest.err'
11582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11583 (eval $ac_try) 2>&5
11585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11586 (exit $ac_status); }; } &&
11587 { ac_try
='test -s conftest$ac_exeext'
11588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11589 (eval $ac_try) 2>&5
11591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11592 (exit $ac_status); }; }; then
11593 eval "$as_ac_var=yes"
11595 echo "$as_me: failed program was:" >&5
11596 sed 's/^/| /' conftest.
$ac_ext >&5
11598 eval "$as_ac_var=no"
11600 rm -f conftest.err conftest.
$ac_objext \
11601 conftest
$ac_exeext conftest.
$ac_ext
11603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11605 if test `eval echo '${'$as_ac_var'}'` = yes; then
11606 cat >>confdefs.h
<<_ACEOF
11607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11613 if test x
"$ac_cv_func_ftello" = xyes
-a x
"$ac_cv_func_fseeko" = xyes
; then
11614 echo "$as_me:$LINENO: checking size of off_t" >&5
11615 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
11616 if test "${ac_cv_sizeof_off_t+set}" = set; then
11617 echo $ECHO_N "(cached) $ECHO_C" >&6
11619 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
11620 cat >conftest.
$ac_ext <<_ACEOF
11623 cat confdefs.h
>>conftest.
$ac_ext
11624 cat >>conftest.
$ac_ext <<_ACEOF
11625 /* end confdefs.h. */
11626 #include "confdefs.h"
11627 #include <sys/types.h>
11633 switch (0) case 0: case (sizeof (off_t) == $ac_size):;
11638 rm -f conftest.
$ac_objext
11639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11640 (eval $ac_compile) 2>conftest.er1
11642 grep -v '^ *+' conftest.er1
>conftest.err
11644 cat conftest.err
>&5
11645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11646 (exit $ac_status); } &&
11647 { ac_try
='test -z "$ac_c_werror_flag"
11648 || test ! -s conftest.err'
11649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11650 (eval $ac_try) 2>&5
11652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11653 (exit $ac_status); }; } &&
11654 { ac_try
='test -s conftest.$ac_objext'
11655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11656 (eval $ac_try) 2>&5
11658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 (exit $ac_status); }; }; then
11660 ac_cv_sizeof_off_t
=$ac_size
11662 echo "$as_me: failed program was:" >&5
11663 sed 's/^/| /' conftest.
$ac_ext >&5
11666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11667 if test x
$ac_cv_sizeof_off_t != x
; then break; fi
11672 if test x
$ac_cv_sizeof_off_t = x
; then
11673 { { echo "$as_me:$LINENO: error: cannot determine a size for off_t" >&5
11674 echo "$as_me: error: cannot determine a size for off_t" >&2;}
11675 { (exit 1); exit 1; }; }
11677 echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
11678 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
11680 cat >>confdefs.h
<<_ACEOF
11681 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
11686 echo "$as_me:$LINENO: checking file_ptr type" >&5
11687 echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
11688 bfd_file_ptr
="long"
11689 bfd_ufile_ptr
="unsigned long"
11690 if test x
"$ac_cv_func_ftello64" = xyes
-a x
"$ac_cv_func_fseeko64" = xyes \
11691 -o x
"${ac_cv_sizeof_off_t}" = x8
; then
11692 bfd_file_ptr
=BFD_HOST_64_BIT
11693 bfd_ufile_ptr
=BFD_HOST_U_64_BIT
11695 echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
11696 echo "${ECHO_T}$bfd_file_ptr" >&6
11702 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
11703 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
11704 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
11705 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
11706 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
11711 for ac_header
in stdlib.h unistd.h
11713 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11715 echo "$as_me:$LINENO: checking for $ac_header" >&5
11716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11718 echo $ECHO_N "(cached) $ECHO_C" >&6
11720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11721 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11723 # Is the header compilable?
11724 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11725 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11726 cat >conftest.
$ac_ext <<_ACEOF
11729 cat confdefs.h
>>conftest.
$ac_ext
11730 cat >>conftest.
$ac_ext <<_ACEOF
11731 /* end confdefs.h. */
11732 $ac_includes_default
11733 #include <$ac_header>
11735 rm -f conftest.
$ac_objext
11736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11737 (eval $ac_compile) 2>conftest.er1
11739 grep -v '^ *+' conftest.er1
>conftest.err
11741 cat conftest.err
>&5
11742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11743 (exit $ac_status); } &&
11744 { ac_try
='test -z "$ac_c_werror_flag"
11745 || test ! -s conftest.err'
11746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11747 (eval $ac_try) 2>&5
11749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); }; } &&
11751 { ac_try
='test -s conftest.$ac_objext'
11752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11753 (eval $ac_try) 2>&5
11755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11756 (exit $ac_status); }; }; then
11757 ac_header_compiler
=yes
11759 echo "$as_me: failed program was:" >&5
11760 sed 's/^/| /' conftest.
$ac_ext >&5
11762 ac_header_compiler
=no
11764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11765 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11766 echo "${ECHO_T}$ac_header_compiler" >&6
11768 # Is the header present?
11769 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11770 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11771 cat >conftest.
$ac_ext <<_ACEOF
11774 cat confdefs.h
>>conftest.
$ac_ext
11775 cat >>conftest.
$ac_ext <<_ACEOF
11776 /* end confdefs.h. */
11777 #include <$ac_header>
11779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11780 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11782 grep -v '^ *+' conftest.er1
>conftest.err
11784 cat conftest.err
>&5
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); } >/dev
/null
; then
11787 if test -s conftest.err
; then
11788 ac_cpp_err
=$ac_c_preproc_warn_flag
11789 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11796 if test -z "$ac_cpp_err"; then
11797 ac_header_preproc
=yes
11799 echo "$as_me: failed program was:" >&5
11800 sed 's/^/| /' conftest.
$ac_ext >&5
11802 ac_header_preproc
=no
11804 rm -f conftest.err conftest.
$ac_ext
11805 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11806 echo "${ECHO_T}$ac_header_preproc" >&6
11808 # So? What about this header?
11809 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11811 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11812 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11813 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11814 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11815 ac_header_preproc
=yes
11818 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11819 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11820 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11821 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11822 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11823 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11824 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11825 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11827 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11828 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11829 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11832 ## ------------------------------------------ ##
11833 ## Report this to the AC_PACKAGE_NAME lists. ##
11834 ## ------------------------------------------ ##
11837 sed "s/^/$as_me: WARNING: /" >&2
11840 echo "$as_me:$LINENO: checking for $ac_header" >&5
11841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11843 echo $ECHO_N "(cached) $ECHO_C" >&6
11845 eval "$as_ac_Header=\$ac_header_preproc"
11847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11851 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11852 cat >>confdefs.h
<<_ACEOF
11853 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11861 for ac_func
in getpagesize
11863 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11864 echo "$as_me:$LINENO: checking for $ac_func" >&5
11865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11866 if eval "test \"\${$as_ac_var+set}\" = set"; then
11867 echo $ECHO_N "(cached) $ECHO_C" >&6
11869 cat >conftest.
$ac_ext <<_ACEOF
11872 cat confdefs.h
>>conftest.
$ac_ext
11873 cat >>conftest.
$ac_ext <<_ACEOF
11874 /* end confdefs.h. */
11875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11877 #define $ac_func innocuous_$ac_func
11879 /* System header to define __stub macros and hopefully few prototypes,
11880 which can conflict with char $ac_func (); below.
11881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11882 <limits.h> exists even on freestanding compilers. */
11885 # include <limits.h>
11887 # include <assert.h>
11892 /* Override any gcc2 internal prototype to avoid an error. */
11897 /* We use char because int might match the return type of a gcc2
11898 builtin and then its argument prototype would still apply. */
11900 /* The GNU C library defines this for functions which it implements
11901 to always fail with ENOSYS. Some functions are actually named
11902 something starting with __ and the normal name is an alias. */
11903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11906 char (*f) () = $ac_func;
11915 return f != $ac_func;
11920 rm -f conftest.
$ac_objext conftest
$ac_exeext
11921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11922 (eval $ac_link) 2>conftest.er1
11924 grep -v '^ *+' conftest.er1
>conftest.err
11926 cat conftest.err
>&5
11927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11928 (exit $ac_status); } &&
11929 { ac_try
='test -z "$ac_c_werror_flag"
11930 || test ! -s conftest.err'
11931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11932 (eval $ac_try) 2>&5
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 (exit $ac_status); }; } &&
11936 { ac_try
='test -s conftest$ac_exeext'
11937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11938 (eval $ac_try) 2>&5
11940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11941 (exit $ac_status); }; }; then
11942 eval "$as_ac_var=yes"
11944 echo "$as_me: failed program was:" >&5
11945 sed 's/^/| /' conftest.
$ac_ext >&5
11947 eval "$as_ac_var=no"
11949 rm -f conftest.err conftest.
$ac_objext \
11950 conftest
$ac_exeext conftest.
$ac_ext
11952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11954 if test `eval echo '${'$as_ac_var'}'` = yes; then
11955 cat >>confdefs.h
<<_ACEOF
11956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11962 echo "$as_me:$LINENO: checking for working mmap" >&5
11963 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
11964 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
11965 echo $ECHO_N "(cached) $ECHO_C" >&6
11967 if test "$cross_compiling" = yes; then
11968 ac_cv_func_mmap_fixed_mapped
=no
11970 cat >conftest.
$ac_ext <<_ACEOF
11973 cat confdefs.h
>>conftest.
$ac_ext
11974 cat >>conftest.
$ac_ext <<_ACEOF
11975 /* end confdefs.h. */
11976 $ac_includes_default
11977 /* malloc might have been renamed as rpl_malloc. */
11980 /* Thanks to Mike Haertel and Jim Avera for this test.
11981 Here is a matrix of mmap possibilities:
11982 mmap private not fixed
11983 mmap private fixed at somewhere currently unmapped
11984 mmap private fixed at somewhere already mapped
11985 mmap shared not fixed
11986 mmap shared fixed at somewhere currently unmapped
11987 mmap shared fixed at somewhere already mapped
11988 For private mappings, we should verify that changes cannot be read()
11989 back from the file, nor mmap's back from the file at a different
11990 address. (There have been systems where private was not correctly
11991 implemented like the infamous i386 svr4.0, and systems where the
11992 VM page cache was not coherent with the file system buffer cache
11993 like early versions of FreeBSD and possibly contemporary NetBSD.)
11994 For shared mappings, we should conversely verify that changes get
11995 propagated back to all the places they're supposed to be.
11997 Grep wants private fixed already mapped.
11998 The main things grep needs to know about mmap are:
11999 * does it exist and is it safe to write into the mmap'd area
12000 * how to use it (BSD variants) */
12003 #include <sys/mman.h>
12005 #if !STDC_HEADERS && !HAVE_STDLIB_H
12009 /* This mess was copied from the GNU getpagesize.h. */
12010 #if !HAVE_GETPAGESIZE
12011 /* Assume that all systems that can run configure have sys/param.h. */
12012 # if !HAVE_SYS_PARAM_H
12013 # define HAVE_SYS_PARAM_H 1
12016 # ifdef _SC_PAGESIZE
12017 # define getpagesize() sysconf(_SC_PAGESIZE)
12018 # else /* no _SC_PAGESIZE */
12019 # if HAVE_SYS_PARAM_H
12020 # include <sys/param.h>
12021 # ifdef EXEC_PAGESIZE
12022 # define getpagesize() EXEC_PAGESIZE
12023 # else /* no EXEC_PAGESIZE */
12025 # define getpagesize() NBPG * CLSIZE
12028 # endif /* no CLSIZE */
12029 # else /* no NBPG */
12031 # define getpagesize() NBPC
12032 # else /* no NBPC */
12034 # define getpagesize() PAGESIZE
12035 # endif /* PAGESIZE */
12036 # endif /* no NBPC */
12037 # endif /* no NBPG */
12038 # endif /* no EXEC_PAGESIZE */
12039 # else /* no HAVE_SYS_PARAM_H */
12040 # define getpagesize() 8192 /* punt totally */
12041 # endif /* no HAVE_SYS_PARAM_H */
12042 # endif /* no _SC_PAGESIZE */
12044 #endif /* no HAVE_GETPAGESIZE */
12049 char *data, *data2, *data3;
12053 pagesize = getpagesize ();
12055 /* First, make a file with some known garbage in it. */
12056 data = (char *) malloc (pagesize);
12059 for (i = 0; i < pagesize; ++i)
12060 *(data + i) = rand ();
12062 fd = creat ("conftest.mmap", 0600);
12065 if (write (fd, data, pagesize) != pagesize)
12069 /* Next, try to mmap the file at a fixed address which already has
12070 something else allocated at it. If we can, also make sure that
12071 we see the same garbage. */
12072 fd = open ("conftest.mmap", O_RDWR);
12075 data2 = (char *) malloc (2 * pagesize);
12078 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
12079 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12080 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12082 for (i = 0; i < pagesize; ++i)
12083 if (*(data + i) != *(data2 + i))
12086 /* Finally, make sure that changes to the mapped area do not
12087 percolate back to the file as seen by read(). (This is a bug on
12088 some variants of i386 svr4.0.) */
12089 for (i = 0; i < pagesize; ++i)
12090 *(data2 + i) = *(data2 + i) + 1;
12091 data3 = (char *) malloc (pagesize);
12094 if (read (fd, data3, pagesize) != pagesize)
12096 for (i = 0; i < pagesize; ++i)
12097 if (*(data + i) != *(data3 + i))
12103 rm -f conftest
$ac_exeext
12104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12105 (eval $ac_link) 2>&5
12107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12108 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12110 (eval $ac_try) 2>&5
12112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12113 (exit $ac_status); }; }; then
12114 ac_cv_func_mmap_fixed_mapped
=yes
12116 echo "$as_me: program exited with status $ac_status" >&5
12117 echo "$as_me: failed program was:" >&5
12118 sed 's/^/| /' conftest.
$ac_ext >&5
12120 ( exit $ac_status )
12121 ac_cv_func_mmap_fixed_mapped
=no
12123 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12126 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
12127 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
12128 if test $ac_cv_func_mmap_fixed_mapped = yes; then
12130 cat >>confdefs.h
<<\_ACEOF
12131 #define HAVE_MMAP 1
12135 rm -f conftest.mmap
12139 for ac_func
in madvise mprotect
12141 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12142 echo "$as_me:$LINENO: checking for $ac_func" >&5
12143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12144 if eval "test \"\${$as_ac_var+set}\" = set"; then
12145 echo $ECHO_N "(cached) $ECHO_C" >&6
12147 cat >conftest.
$ac_ext <<_ACEOF
12150 cat confdefs.h
>>conftest.
$ac_ext
12151 cat >>conftest.
$ac_ext <<_ACEOF
12152 /* end confdefs.h. */
12153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12155 #define $ac_func innocuous_$ac_func
12157 /* System header to define __stub macros and hopefully few prototypes,
12158 which can conflict with char $ac_func (); below.
12159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12160 <limits.h> exists even on freestanding compilers. */
12163 # include <limits.h>
12165 # include <assert.h>
12170 /* Override any gcc2 internal prototype to avoid an error. */
12175 /* We use char because int might match the return type of a gcc2
12176 builtin and then its argument prototype would still apply. */
12178 /* The GNU C library defines this for functions which it implements
12179 to always fail with ENOSYS. Some functions are actually named
12180 something starting with __ and the normal name is an alias. */
12181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12184 char (*f) () = $ac_func;
12193 return f != $ac_func;
12198 rm -f conftest.
$ac_objext conftest
$ac_exeext
12199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12200 (eval $ac_link) 2>conftest.er1
12202 grep -v '^ *+' conftest.er1
>conftest.err
12204 cat conftest.err
>&5
12205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12206 (exit $ac_status); } &&
12207 { ac_try
='test -z "$ac_c_werror_flag"
12208 || test ! -s conftest.err'
12209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12210 (eval $ac_try) 2>&5
12212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12213 (exit $ac_status); }; } &&
12214 { ac_try
='test -s conftest$ac_exeext'
12215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12216 (eval $ac_try) 2>&5
12218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12219 (exit $ac_status); }; }; then
12220 eval "$as_ac_var=yes"
12222 echo "$as_me: failed program was:" >&5
12223 sed 's/^/| /' conftest.
$ac_ext >&5
12225 eval "$as_ac_var=no"
12227 rm -f conftest.err conftest.
$ac_objext \
12228 conftest
$ac_exeext conftest.
$ac_ext
12230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12232 if test `eval echo '${'$as_ac_var'}'` = yes; then
12233 cat >>confdefs.h
<<_ACEOF
12234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12240 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
12242 cat >>confdefs.h
<<\_ACEOF
12248 rm -f doc
/config.status
12249 ac_config_files
="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
12251 ac_config_commands
="$ac_config_commands default"
12253 cat >confcache
<<\_ACEOF
12254 # This file is a shell script that caches the results of configure
12255 # tests run on this system so they can be shared between configure
12256 # scripts and configure runs, see configure's option --config-cache.
12257 # It is not useful on other systems. If it contains results you don't
12258 # want to keep, you may remove or edit it.
12260 # config.status only pays attention to the cache file if you give it
12261 # the --recheck option to rerun configure.
12263 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12264 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12265 # following values.
12269 # The following way of writing the cache mishandles newlines in values,
12270 # but we know of no workaround that is simple, portable, and efficient.
12271 # So, don't put newlines in cache variables' values.
12272 # Ultrix sh set writes to stderr and can't be redirected directly,
12273 # and sets the high bit in the cache file unless we assign to the vars.
12276 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12278 # `set' does not quote correctly, so add quotes (double-quote
12279 # substitution turns \\\\ into \\, and sed turns \\ into \).
12282 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12285 # `set' quotes correctly as required by POSIX, so do not add quotes.
12287 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12294 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12296 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12298 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
12299 if test -w $cache_file; then
12300 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12301 cat confcache
>$cache_file
12303 echo "not updating unwritable cache $cache_file"
12308 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12309 # Let make expand exec_prefix.
12310 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12312 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12313 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12314 # trailing colons and then remove the whole line if VPATH becomes empty
12315 # (actually we leave an empty line to preserve line numbers).
12316 if test "x$srcdir" = x.
; then
12317 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12318 s/:*\$(srcdir):*/:/;
12319 s/:*\${srcdir}:*/:/;
12321 s/^\([^=]*=[ ]*\):*/\1/;
12327 DEFS
=-DHAVE_CONFIG_H
12331 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12332 # 1. Remove the extension, and $U if already installed.
12333 ac_i
=`echo "$ac_i" |
12334 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12336 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12337 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12339 LIBOBJS
=$ac_libobjs
12341 LTLIBOBJS
=$ac_ltlibobjs
12345 : ${CONFIG_STATUS=./config.status}
12346 ac_clean_files_save
=$ac_clean_files
12347 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12348 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12349 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12350 cat >$CONFIG_STATUS <<_ACEOF
12352 # Generated by $as_me.
12353 # Run this file to recreate the current configuration.
12354 # Compiler output produced by configure, useful for debugging
12355 # configure, is in config.log if it exists.
12358 ac_cs_recheck=false
12360 SHELL=\${CONFIG_SHELL-$SHELL}
12363 cat >>$CONFIG_STATUS <<\_ACEOF
12364 ## --------------------- ##
12365 ## M4sh Initialization. ##
12366 ## --------------------- ##
12368 # Be Bourne compatible
12369 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12372 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12373 # is contrary to our usage. Disable this feature.
12374 alias -g '${1+"$@"}'='"$@"'
12375 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12378 DUALCASE
=1; export DUALCASE
# for MKS sh
12380 # Support unset when possible.
12381 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12388 # Work around bugs in pre-3.0 UWIN ksh.
12389 $as_unset ENV MAIL MAILPATH
12396 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12397 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12398 LC_TELEPHONE LC_TIME
12400 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12401 eval $as_var=C
; export $as_var
12407 # Required to use basename.
12408 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12414 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12415 as_basename
=basename
12421 # Name of the executable.
12422 as_me
=`$as_basename "$0" ||
12423 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12424 X"$0" : 'X\(//\)$' \| \
12425 X"$0" : 'X\(/\)$' \| \
12426 . : '\(.\)' 2>/dev/null ||
12428 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12429 /^X\/\(\/\/\)$/{ s//\1/; q; }
12430 /^X\/\(\/\).*/{ s//\1/; q; }
12434 # PATH needs CR, and LINENO needs CR and PATH.
12435 # Avoid depending upon Character Ranges.
12436 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12437 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12438 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12439 as_cr_digits
='0123456789'
12440 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12442 # The user is always right.
12443 if test "${PATH_SEPARATOR+set}" != set; then
12444 echo "#! /bin/sh" >conf$$.sh
12445 echo "exit 0" >>conf$$.sh
12447 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12456 as_lineno_1
=$LINENO
12457 as_lineno_2
=$LINENO
12458 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12459 test "x$as_lineno_1" != "x$as_lineno_2" &&
12460 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12461 # Find who we are. Look in the path if we contain no path at all
12464 *[\\/]* ) as_myself
=$0 ;;
12465 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12466 for as_dir
in $PATH
12469 test -z "$as_dir" && as_dir
=.
12470 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12475 # We did not find ourselves, most probably we were run as `sh COMMAND'
12476 # in which case we are not to be found in the path.
12477 if test "x$as_myself" = x
; then
12480 if test ! -f "$as_myself"; then
12481 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12482 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12483 { (exit 1); exit 1; }; }
12485 case $CONFIG_SHELL in
12487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12488 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12491 test -z "$as_dir" && as_dir
=.
12492 for as_base
in sh bash ksh sh5
; do
12495 if ("$as_dir/$as_base" -c '
12496 as_lineno_1=$LINENO
12497 as_lineno_2=$LINENO
12498 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12499 test "x$as_lineno_1" != "x$as_lineno_2" &&
12500 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12501 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12502 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12503 CONFIG_SHELL
=$as_dir/$as_base
12504 export CONFIG_SHELL
12505 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12513 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12514 # uniformly replaced by the line number. The first 'sed' inserts a
12515 # line-number line before each line; the second 'sed' does the real
12516 # work. The second script uses 'N' to pair each line-number line
12517 # with the numbered line, and appends trailing '-' during
12518 # substitution so that $LINENO is not a special case at line end.
12519 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12520 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12521 sed '=' <$as_myself |
12526 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12529 s,^['$as_cr_digits']*\n,,
12530 ' >$as_me.lineno
&&
12531 chmod +x
$as_me.lineno ||
12532 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12533 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12534 { (exit 1); exit 1; }; }
12536 # Don't try to exec as it changes $[0], causing all sort of problems
12537 # (the dirname of $[0] is not the place where we might find the
12538 # original and so on. Autoconf is especially sensible to this).
12540 # Exit status is that of the last command.
12545 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12546 *c
*,-n*) ECHO_N
= ECHO_C
='
12548 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12549 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12552 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12558 rm -f conf$$ conf$$.exe conf$$.
file
12560 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12561 # We could just check for DJGPP; but this test a) works b) is more generic
12562 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12563 if test -f conf$$.exe
; then
12564 # Don't use ln at all; we don't have any links
12569 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12574 rm -f conf$$ conf$$.exe conf$$.
file
12576 if mkdir
-p .
2>/dev
/null
; then
12579 test -d .
/-p && rmdir .
/-p
12583 as_executable_p
="test -f"
12585 # Sed expression to map a string onto a valid CPP name.
12586 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12588 # Sed expression to map a string onto a valid variable name.
12589 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12593 # We need space, tab and new line, in precisely that order.
12603 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12604 # report actual input values of CONFIG_FILES etc. instead of their
12605 # values after options handling. Logging --version etc. is OK.
12609 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12610 ## Running $as_me. ##
12615 This file was extended by $as_me, which was
12616 generated by GNU Autoconf 2.59. Invocation command line was
12618 CONFIG_FILES = $CONFIG_FILES
12619 CONFIG_HEADERS = $CONFIG_HEADERS
12620 CONFIG_LINKS = $CONFIG_LINKS
12621 CONFIG_COMMANDS = $CONFIG_COMMANDS
12625 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12629 # Files that config.status was made for.
12630 if test -n "$ac_config_files"; then
12631 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12634 if test -n "$ac_config_headers"; then
12635 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12638 if test -n "$ac_config_links"; then
12639 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12642 if test -n "$ac_config_commands"; then
12643 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12646 cat >>$CONFIG_STATUS <<\_ACEOF
12649 \`$as_me' instantiates files from templates according to the
12650 current configuration.
12652 Usage: $0 [OPTIONS] [FILE]...
12654 -h, --help print this help, then exit
12655 -V, --version print version number, then exit
12656 -q, --quiet do not print progress messages
12657 -d, --debug don't remove temporary files
12658 --recheck update $as_me by reconfiguring in the same conditions
12659 --file=FILE[:TEMPLATE]
12660 instantiate the configuration file FILE
12661 --header=FILE[:TEMPLATE]
12662 instantiate the configuration header FILE
12664 Configuration files:
12667 Configuration headers:
12670 Configuration commands:
12673 Report bugs to <bug-autoconf@gnu.org>."
12676 cat >>$CONFIG_STATUS <<_ACEOF
12679 configured by $0, generated by GNU Autoconf 2.59,
12680 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12682 Copyright (C) 2003 Free Software Foundation, Inc.
12683 This config.status script is free software; the Free Software Foundation
12684 gives unlimited permission to copy, distribute and modify it."
12689 cat >>$CONFIG_STATUS <<\_ACEOF
12690 # If no file are specified by the user, then we need to provide default
12691 # value. By we need to know if files were specified by the user.
12697 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12698 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12706 *) # This is not an option, so the user has probably given explicit
12709 ac_need_defaults
=false
;;
12713 # Handling of the options.
12715 cat >>$CONFIG_STATUS <<\_ACEOF
12716 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12718 --version |
--vers* |
-V )
12719 echo "$ac_cs_version"; exit 0 ;;
12721 # Conflict between --help and --header
12722 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12723 Try \`$0 --help' for more information." >&5
12724 echo "$as_me: error: ambiguous option: $1
12725 Try \`$0 --help' for more information." >&2;}
12726 { (exit 1); exit 1; }; };;
12727 --help |
--hel |
-h )
12728 echo "$ac_cs_usage"; exit 0 ;;
12729 --debug |
--d* |
-d )
12731 --file |
--fil |
--fi |
--f )
12733 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12734 ac_need_defaults
=false
;;
12735 --header |
--heade |
--head |
--hea )
12737 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12738 ac_need_defaults
=false
;;
12739 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12740 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12743 # This is an error.
12744 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12745 Try \`$0 --help' for more information." >&5
12746 echo "$as_me: error: unrecognized option: $1
12747 Try \`$0 --help' for more information." >&2;}
12748 { (exit 1); exit 1; }; } ;;
12750 *) ac_config_targets
="$ac_config_targets $1" ;;
12756 ac_configure_extra_args
=
12758 if $ac_cs_silent; then
12760 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12764 cat >>$CONFIG_STATUS <<_ACEOF
12765 if \$ac_cs_recheck; then
12766 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12767 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12772 cat >>$CONFIG_STATUS <<_ACEOF
12774 # INIT-COMMANDS section.
12784 cat >>$CONFIG_STATUS <<\_ACEOF
12785 for ac_config_target
in $ac_config_targets
12787 case "$ac_config_target" in
12788 # Handling of arguments.
12789 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12790 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
12791 "bfd-in3.h" ) CONFIG_FILES
="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
12792 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
12793 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12794 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
12795 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
12796 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12797 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12798 { (exit 1); exit 1; }; };;
12802 # If the user did not use the arguments to specify the items to instantiate,
12803 # then the envvar interface is used. Set only those that are not.
12804 # We use the long form for the default assignment because of an extremely
12805 # bizarre bug on SunOS 4.1.3.
12806 if $ac_need_defaults; then
12807 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12808 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12809 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12812 # Have a temporary directory for convenience. Make it in the build tree
12813 # simply because there is no reason to put it here, and in addition,
12814 # creating and moving files from /tmp can sometimes cause problems.
12815 # Create a temporary directory, and hook for its removal unless debugging.
12818 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12819 trap '{ (exit 1); exit 1; }' 1 2 13 15
12822 # Create a (secure) tmp directory for tmp files.
12825 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12826 test -n "$tmp" && test -d "$tmp"
12829 tmp
=.
/confstat$$
-$RANDOM
12830 (umask 077 && mkdir
$tmp)
12833 echo "$me: cannot create a temporary directory in ." >&2
12834 { (exit 1); exit 1; }
12839 cat >>$CONFIG_STATUS <<_ACEOF
12842 # CONFIG_FILES section.
12845 # No need to generate the scripts if there are no CONFIG_FILES.
12846 # This happens for instance when ./config.status config.h
12847 if test -n "\$CONFIG_FILES"; then
12848 # Protect against being on the right side of a sed subst in config.status.
12849 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12850 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12851 s,@SHELL@,$SHELL,;t t
12852 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12853 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12854 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12855 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12856 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12857 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12858 s,@exec_prefix@,$exec_prefix,;t t
12859 s,@prefix@,$prefix,;t t
12860 s,@program_transform_name@,$program_transform_name,;t t
12861 s,@bindir@,$bindir,;t t
12862 s,@sbindir@,$sbindir,;t t
12863 s,@libexecdir@,$libexecdir,;t t
12864 s,@datadir@,$datadir,;t t
12865 s,@sysconfdir@,$sysconfdir,;t t
12866 s,@sharedstatedir@,$sharedstatedir,;t t
12867 s,@localstatedir@,$localstatedir,;t t
12868 s,@libdir@,$libdir,;t t
12869 s,@includedir@,$includedir,;t t
12870 s,@oldincludedir@,$oldincludedir,;t t
12871 s,@infodir@,$infodir,;t t
12872 s,@mandir@,$mandir,;t t
12873 s,@build_alias@,$build_alias,;t t
12874 s,@host_alias@,$host_alias,;t t
12875 s,@target_alias@,$target_alias,;t t
12876 s,@DEFS@,$DEFS,;t t
12877 s,@ECHO_C@,$ECHO_C,;t t
12878 s,@ECHO_N@,$ECHO_N,;t t
12879 s,@ECHO_T@,$ECHO_T,;t t
12880 s,@LIBS@,$LIBS,;t t
12881 s,@build@,$build,;t t
12882 s,@build_cpu@,$build_cpu,;t t
12883 s,@build_vendor@,$build_vendor,;t t
12884 s,@build_os@,$build_os,;t t
12885 s,@host@,$host,;t t
12886 s,@host_cpu@,$host_cpu,;t t
12887 s,@host_vendor@,$host_vendor,;t t
12888 s,@host_os@,$host_os,;t t
12889 s,@target@,$target,;t t
12890 s,@target_cpu@,$target_cpu,;t t
12891 s,@target_vendor@,$target_vendor,;t t
12892 s,@target_os@,$target_os,;t t
12894 s,@CFLAGS@,$CFLAGS,;t t
12895 s,@LDFLAGS@,$LDFLAGS,;t t
12896 s,@CPPFLAGS@,$CPPFLAGS,;t t
12897 s,@ac_ct_CC@,$ac_ct_CC,;t t
12898 s,@EXEEXT@,$EXEEXT,;t t
12899 s,@OBJEXT@,$OBJEXT,;t t
12900 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12901 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12902 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12903 s,@PACKAGE@,$PACKAGE,;t t
12904 s,@VERSION@,$VERSION,;t t
12905 s,@ACLOCAL@,$ACLOCAL,;t t
12906 s,@AUTOCONF@,$AUTOCONF,;t t
12907 s,@AUTOMAKE@,$AUTOMAKE,;t t
12908 s,@AUTOHEADER@,$AUTOHEADER,;t t
12909 s,@MAKEINFO@,$MAKEINFO,;t t
12910 s,@SET_MAKE@,$SET_MAKE,;t t
12912 s,@ac_ct_AR@,$ac_ct_AR,;t t
12913 s,@RANLIB@,$RANLIB,;t t
12914 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12915 s,@LN_S@,$LN_S,;t t
12916 s,@STRIP@,$STRIP,;t t
12917 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12918 s,@LIBTOOL@,$LIBTOOL,;t t
12919 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
12920 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12921 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12922 s,@MAINT@,$MAINT,;t t
12923 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
12924 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
12925 s,@host_noncanonical@,$host_noncanonical,;t t
12926 s,@target_noncanonical@,$target_noncanonical,;t t
12927 s,@bfdlibdir@,$bfdlibdir,;t t
12928 s,@bfdincludedir@,$bfdincludedir,;t t
12930 s,@EGREP@,$EGREP,;t t
12931 s,@ALLOCA@,$ALLOCA,;t t
12932 s,@USE_NLS@,$USE_NLS,;t t
12933 s,@MSGFMT@,$MSGFMT,;t t
12934 s,@GMSGFMT@,$GMSGFMT,;t t
12935 s,@XGETTEXT@,$XGETTEXT,;t t
12936 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
12937 s,@CATALOGS@,$CATALOGS,;t t
12938 s,@CATOBJEXT@,$CATOBJEXT,;t t
12939 s,@DATADIRNAME@,$DATADIRNAME,;t t
12940 s,@GMOFILES@,$GMOFILES,;t t
12941 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
12942 s,@INTLDEPS@,$INTLDEPS,;t t
12943 s,@INTLLIBS@,$INTLLIBS,;t t
12944 s,@INTLOBJS@,$INTLOBJS,;t t
12945 s,@POFILES@,$POFILES,;t t
12946 s,@POSUB@,$POSUB,;t t
12947 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
12948 s,@GT_NO@,$GT_NO,;t t
12949 s,@GT_YES@,$GT_YES,;t t
12950 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
12952 s,@HDEFINES@,$HDEFINES,;t t
12953 s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
12954 s,@BFD_HOST_LONG_LONG@,$BFD_HOST_LONG_LONG,;t t
12955 s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
12956 s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
12957 s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
12958 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
12959 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
12960 s,@COREFILE@,$COREFILE,;t t
12961 s,@COREFLAG@,$COREFLAG,;t t
12962 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
12963 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
12964 s,@TDEFINES@,$TDEFINES,;t t
12965 s,@wordsize@,$wordsize,;t t
12966 s,@bfd_libs@,$bfd_libs,;t t
12967 s,@all_backends@,$all_backends,;t t
12968 s,@bfd_backends@,$bfd_backends,;t t
12969 s,@bfd_machines@,$bfd_machines,;t t
12970 s,@bfd_default_target_size@,$bfd_default_target_size,;t t
12971 s,@bfd_file_ptr@,$bfd_file_ptr,;t t
12972 s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
12973 s,@tdefaults@,$tdefaults,;t t
12974 s,@LIBOBJS@,$LIBOBJS,;t t
12975 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12980 cat >>$CONFIG_STATUS <<\_ACEOF
12981 # Split the substitutions into bite-sized pieces for seds with
12982 # small command number limits, like on Digital OSF/1 and HP-UX.
12983 ac_max_sed_lines
=48
12984 ac_sed_frag
=1 # Number of current file.
12985 ac_beg
=1 # First line for current file.
12986 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12989 while $ac_more_lines; do
12990 if test $ac_beg -gt 1; then
12991 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12993 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12995 if test ! -s $tmp/subs.frag
; then
12996 ac_more_lines
=false
12998 # The purpose of the label and of the branching condition is to
12999 # speed up the sed processing (if there are no `@' at all, there
13000 # is no need to browse any of the substitutions).
13001 # These are the two extra sed commands mentioned above.
13003 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13004 if test -z "$ac_sed_cmds"; then
13005 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13007 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13009 ac_sed_frag
=`expr $ac_sed_frag + 1`
13011 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13014 if test -z "$ac_sed_cmds"; then
13017 fi # test -n "$CONFIG_FILES"
13020 cat >>$CONFIG_STATUS <<\_ACEOF
13021 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13022 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13024 - |
*:- |
*:-:* ) # input from stdin
13026 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13027 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13028 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13029 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13030 * ) ac_file_in
=$ac_file.
in ;;
13033 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13034 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13035 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13036 X"$ac_file" : 'X\(//\)[^/]' \| \
13037 X"$ac_file" : 'X\(//\)$' \| \
13038 X"$ac_file" : '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; }
13046 { if $as_mkdir_p; then
13051 while test ! -d "$as_dir"; do
13052 as_dirs
="$as_dir $as_dirs"
13053 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13054 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13055 X"$as_dir" : 'X\(//\)[^/]' \| \
13056 X"$as_dir" : 'X\(//\)$' \| \
13057 X"$as_dir" : 'X\(/\)' \| \
13058 . : '\(.\)' 2>/dev/null ||
13060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13061 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13062 /^X\(\/\/\)$/{ s//\1/; q; }
13063 /^X\(\/\).*/{ s//\1/; q; }
13066 test ! -n "$as_dirs" || mkdir
$as_dirs
13067 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13068 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13069 { (exit 1); exit 1; }; }; }
13073 if test "$ac_dir" != .
; then
13074 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13075 # A "../" for each directory in $ac_dir_suffix.
13076 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13078 ac_dir_suffix
= ac_top_builddir
=
13082 .
) # No --srcdir option. We are building in place.
13084 if test -z "$ac_top_builddir"; then
13087 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13089 [\\/]* | ?
:[\\/]* ) # Absolute path.
13090 ac_srcdir
=$srcdir$ac_dir_suffix;
13091 ac_top_srcdir
=$srcdir ;;
13092 *) # Relative path.
13093 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13094 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13097 # Do not use `cd foo && pwd` to compute absolute paths, because
13098 # the directories may not exist.
13100 .
) ac_abs_builddir
="$ac_dir";;
13103 .
) ac_abs_builddir
=`pwd`;;
13104 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13105 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13108 case $ac_abs_builddir in
13109 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13111 case ${ac_top_builddir}.
in
13112 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13113 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13114 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13117 case $ac_abs_builddir in
13118 .
) ac_abs_srcdir
=$ac_srcdir;;
13121 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13122 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13123 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13126 case $ac_abs_builddir in
13127 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13129 case $ac_top_srcdir in
13130 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13131 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13132 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13138 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13139 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13142 if test x
"$ac_file" != x-
; then
13143 { echo "$as_me:$LINENO: creating $ac_file" >&5
13144 echo "$as_me: creating $ac_file" >&6;}
13147 # Let's still pretend it is `configure' which instantiates (i.e., don't
13148 # use $as_me), people would be surprised to read:
13149 # /* config.h. Generated by config.status. */
13150 if test x
"$ac_file" = x-
; then
13153 configure_input
="$ac_file. "
13155 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13156 sed 's,.*/,,'` by configure."
13158 # First look for the input files in the build tree, otherwise in the
13160 ac_file_inputs
=`IFS=:
13161 for f in $ac_file_in; do
13163 -) echo $tmp/stdin ;;
13165 # Absolute (can't be DOS-style, as IFS=:)
13166 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13167 echo "$as_me: error: cannot find input file: $f" >&2;}
13168 { (exit 1); exit 1; }; }
13171 if test -f "$f"; then
13174 elif test -f "$srcdir/$f"; then
13179 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13180 echo "$as_me: error: cannot find input file: $f" >&2;}
13181 { (exit 1); exit 1; }; }
13184 done` ||
{ (exit 1); exit 1; }
13186 cat >>$CONFIG_STATUS <<_ACEOF
13190 cat >>$CONFIG_STATUS <<\_ACEOF
13192 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13193 s
,@configure_input@
,$configure_input,;t t
13194 s
,@srcdir@
,$ac_srcdir,;t t
13195 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13196 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13197 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13198 s
,@builddir@
,$ac_builddir,;t t
13199 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13200 s
,@top_builddir@
,$ac_top_builddir,;t t
13201 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13202 s
,@INSTALL@
,$ac_INSTALL,;t t
13203 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13205 if test x"$ac_file" != x-; then
13206 mv $tmp/out $ac_file
13214 cat >>$CONFIG_STATUS <<\_ACEOF
13217 # CONFIG_HEADER section.
13220 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
13221 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13223 # ac_d sets the value in "#define NAME VALUE" lines.
13224 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13225 ac_dB
='[ ].*$,\1#\2'
13228 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13229 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13230 ac_uB
='$,\1#\2define\3'
13234 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
13235 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13237 - |
*:- |
*:-:* ) # input from stdin
13239 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13240 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13241 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13242 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13243 * ) ac_file_in
=$ac_file.
in ;;
13246 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
13247 echo "$as_me: creating $ac_file" >&6;}
13249 # First look for the input files in the build tree, otherwise in the
13251 ac_file_inputs
=`IFS=:
13252 for f in $ac_file_in; do
13254 -) echo $tmp/stdin ;;
13256 # Absolute (can't be DOS-style, as IFS=:)
13257 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13258 echo "$as_me: error: cannot find input file: $f" >&2;}
13259 { (exit 1); exit 1; }; }
13260 # Do quote $f, to prevent DOS paths from being IFS'd.
13263 if test -f "$f"; then
13266 elif test -f "$srcdir/$f"; then
13271 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13272 echo "$as_me: error: cannot find input file: $f" >&2;}
13273 { (exit 1); exit 1; }; }
13276 done` ||
{ (exit 1); exit 1; }
13277 # Remove the trailing spaces.
13278 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13282 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13283 # `conftest.undefs', that substitutes the proper values into
13284 # config.h.in to produce config.h. The first handles `#define'
13285 # templates, and the second `#undef' templates.
13286 # And first: Protect against being on the right side of a sed subst in
13287 # config.status. Protect against being in an unquoted here document
13288 # in config.status.
13289 rm -f conftest.defines conftest.undefs
13290 # Using a here document instead of a string reduces the quoting nightmare.
13291 # Putting comments in sed scripts is not portable.
13293 # `end' is used to avoid that the second main sed command (meant for
13294 # 0-ary CPP macros) applies to n-ary macro definitions.
13295 # See the Autoconf documentation for `clear'.
13296 cat >confdef2sed.
sed <<\_ACEOF
13301 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13303 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13306 # If some macros were called several times there might be several times
13307 # the same #defines, which is useless. Nevertheless, we may not want to
13308 # sort them, since we want the *last* AC-DEFINE to be honored.
13309 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13310 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13311 rm -f confdef2sed.sed
13313 # This sed command replaces #undef with comments. This is necessary, for
13314 # example, in the case of _POSIX_SOURCE, which is predefined and required
13315 # on some systems where configure will not decide to define it.
13316 cat >>conftest.undefs <<\_ACEOF
13317 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13320 # Break up conftest.defines because some shells have a limit on the size
13321 # of here documents, and old seds have small limits too (100 cmds).
13322 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13323 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13324 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13325 echo ' :' >>$CONFIG_STATUS
13326 rm -f conftest.tail
13327 while grep . conftest.defines >/dev/null
13329 # Write a limited-size here document to $tmp/defines.sed.
13330 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13331 # Speed up: don't consider the non `#define' lines.
13332 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13333 # Work around the forget-to-reset-the-flag bug.
13334 echo 't clr' >>$CONFIG_STATUS
13335 echo ': clr' >>$CONFIG_STATUS
13336 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
13338 sed -f $tmp/defines.sed $tmp/in >$tmp/out
13340 mv $tmp/out $tmp/in
13342 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
13343 rm -f conftest.defines
13344 mv conftest.
tail conftest.defines
13346 rm -f conftest.defines
13347 echo ' fi # grep' >>$CONFIG_STATUS
13348 echo >>$CONFIG_STATUS
13350 # Break up conftest.undefs because some shells have a limit on the size
13351 # of here documents, and old seds have small limits too (100 cmds).
13352 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
13353 rm -f conftest.
tail
13354 while grep . conftest.undefs
>/dev
/null
13356 # Write a limited-size here document to $tmp/undefs.sed.
13357 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
13358 # Speed up: don't consider the non
`#undef'
13359 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
13360 # Work around the forget-to-reset-the-flag bug.
13361 echo 't clr' >>$CONFIG_STATUS
13362 echo ': clr' >>$CONFIG_STATUS
13363 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
13365 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
13367 mv $tmp/out $tmp/in
13369 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
13370 rm -f conftest.undefs
13371 mv conftest.tail conftest.undefs
13373 rm -f conftest.undefs
13375 cat >>$CONFIG_STATUS <<\_ACEOF
13376 # Let's still pretend it is `configure
' which instantiates (i.e., don't
13377 # use $as_me), people would be surprised to read:
13378 # /* config.h. Generated by config.status. */
13379 if test x
"$ac_file" = x-
; then
13380 echo "/* Generated by configure. */" >$tmp/config.h
13382 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13384 cat $tmp/in >>$tmp/config.h
13386 if test x
"$ac_file" != x-
; then
13387 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
13388 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13389 echo "$as_me: $ac_file is unchanged" >&6;}
13391 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13392 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13393 X"$ac_file" : 'X\(//\)[^/]' \| \
13394 X"$ac_file" : 'X\(//\)$' \| \
13395 X"$ac_file" : '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; }
13403 { if $as_mkdir_p; then
13408 while test ! -d "$as_dir"; do
13409 as_dirs
="$as_dir $as_dirs"
13410 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13411 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13412 X"$as_dir" : 'X\(//\)[^/]' \| \
13413 X"$as_dir" : 'X\(//\)$' \| \
13414 X"$as_dir" : 'X\(/\)' \| \
13415 . : '\(.\)' 2>/dev/null ||
13417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13418 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13419 /^X\(\/\/\)$/{ s//\1/; q; }
13420 /^X\(\/\).*/{ s//\1/; q; }
13423 test ! -n "$as_dirs" || mkdir
$as_dirs
13424 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13425 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13426 { (exit 1); exit 1; }; }; }
13429 mv $tmp/config.h
$ac_file
13433 rm -f $tmp/config.h
13437 cat >>$CONFIG_STATUS <<\_ACEOF
13440 # CONFIG_COMMANDS section.
13442 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
13443 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
13444 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13445 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
13446 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13447 X"$ac_dest" : 'X\(//\)[^/]' \| \
13448 X"$ac_dest" : 'X\(//\)$' \| \
13449 X"$ac_dest" : '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; }
13457 { if $as_mkdir_p; then
13462 while test ! -d "$as_dir"; do
13463 as_dirs
="$as_dir $as_dirs"
13464 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13465 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13466 X"$as_dir" : 'X\(//\)[^/]' \| \
13467 X"$as_dir" : 'X\(//\)$' \| \
13468 X"$as_dir" : 'X\(/\)' \| \
13469 . : '\(.\)' 2>/dev/null ||
13471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13472 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13473 /^X\(\/\/\)$/{ s//\1/; q; }
13474 /^X\(\/\).*/{ s//\1/; q; }
13477 test ! -n "$as_dirs" || mkdir
$as_dirs
13478 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13479 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13480 { (exit 1); exit 1; }; }; }
13484 if test "$ac_dir" != .
; then
13485 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13486 # A "../" for each directory in $ac_dir_suffix.
13487 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13489 ac_dir_suffix
= ac_top_builddir
=
13493 .
) # No --srcdir option. We are building in place.
13495 if test -z "$ac_top_builddir"; then
13498 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13500 [\\/]* | ?
:[\\/]* ) # Absolute path.
13501 ac_srcdir
=$srcdir$ac_dir_suffix;
13502 ac_top_srcdir
=$srcdir ;;
13503 *) # Relative path.
13504 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13505 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13508 # Do not use `cd foo && pwd` to compute absolute paths, because
13509 # the directories may not exist.
13511 .
) ac_abs_builddir
="$ac_dir";;
13514 .
) ac_abs_builddir
=`pwd`;;
13515 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13516 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13519 case $ac_abs_builddir in
13520 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13522 case ${ac_top_builddir}.
in
13523 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13524 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13525 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13528 case $ac_abs_builddir in
13529 .
) ac_abs_srcdir
=$ac_srcdir;;
13532 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13533 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13534 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13537 case $ac_abs_builddir in
13538 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13540 case $ac_top_srcdir in
13541 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13542 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13543 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13548 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13549 echo "$as_me: executing $ac_dest commands" >&6;}
13551 default-1
) test -z "$CONFIG_HEADERS" ||
echo timestamp
> stamp-h
;;
13552 default
) sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' -e '/BLD-POTFILES =/r po/BLD-POTFILES' po
/Makefile.
in > po
/Makefile
;;
13557 cat >>$CONFIG_STATUS <<\_ACEOF
13559 { (exit 0); exit 0; }
13561 chmod +x
$CONFIG_STATUS
13562 ac_clean_files
=$ac_clean_files_save
13565 # configure is writing to config.log, and then calls config.status.
13566 # config.status does its own redirection, appending to config.log.
13567 # Unfortunately, on DOS this fails, as config.log is still kept open
13568 # by configure, so config.status won't be able to write to it; its
13569 # output is simply discarded. So we exec the FD to /dev/null,
13570 # effectively closing config.log, so it can be properly (re)opened and
13571 # appended to by config.status. When coming back to configure, we
13572 # need to make the FD available again.
13573 if test "$no_create" != yes; then
13575 ac_config_status_args
=
13576 test "$silent" = yes &&
13577 ac_config_status_args
="$ac_config_status_args --quiet"
13579 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13581 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13582 # would make configure fail if this is the last instruction.
13583 $ac_cs_success ||
{ (exit 1); exit 1; }