2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="libbfd.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S STRIP ac_ct_STRIP LIBTOOL WARN_CFLAGS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE bfdlibdir bfdincludedir CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l HDEFINES BFD_HOST_64BIT_LONG BFD_HOST_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG WIN32LDFLAGS WIN32LIBADD TDEFINES wordsize bfd_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --enable-shared=PKGS build shared libraries default
=no
854 --enable-static=PKGS build static libraries default
=yes
855 --enable-fast-install=PKGS optimize
for fast installation default
=yes
856 --disable-libtool-lock avoid locking
(might
break parallel builds
)
857 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
858 --enable-targets alternative target configurations
859 --enable-commonbfdlib build shared BFD
/opcodes
/libiberty library
860 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
861 --enable-maintainer-mode enable make rules and dependencies not useful
862 (and sometimes confusing
) to the casual installer
863 --enable-install-libbfd controls installation of libbfd and related headers
864 --disable-nls do not use Native Language Support
867 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
868 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
869 --with-gnu-ld assume the C compiler uses GNU ld default
=no
870 --with-pic try to use only PIC
/non-PIC objects default
=use both
871 --with-mmap try using mmap
for BFD input files
if available
872 --with-included-gettext use the GNU
gettext library included here
874 Some influential environment variables
:
875 CC C compiler
command
876 CFLAGS C compiler flags
877 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
878 nonstandard directory
<lib dir
>
879 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
880 headers
in a nonstandard directory
<include dir
>
883 Use these variables to override the choices made by
`configure' or to help
884 it to find libraries and programs with nonstandard names/locations.
889 if test "$ac_init_help" = "recursive"; then
890 # If there are subdirs, report their specific --help.
892 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
893 test -d $ac_dir || continue
896 if test "$ac_dir" != .; then
897 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
898 # A "../" for each directory in $ac_dir_suffix.
899 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
901 ac_dir_suffix= ac_top_builddir=
905 .) # No --srcdir option. We are building in place.
907 if test -z "$ac_top_builddir"; then
910 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
912 [\\/]* | ?:[\\/]* ) # Absolute path.
913 ac_srcdir=$srcdir$ac_dir_suffix;
914 ac_top_srcdir=$srcdir ;;
916 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
917 ac_top_srcdir=$ac_top_builddir$srcdir ;;
920 # Do not use `cd foo
&& pwd` to compute absolute paths, because
921 # the directories may not exist.
923 .) ac_abs_builddir="$ac_dir";;
926 .) ac_abs_builddir=`pwd`;;
927 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
928 *) ac_abs_builddir=`pwd`/"$ac_dir";;
931 case $ac_abs_builddir in
932 .) ac_abs_top_builddir=${ac_top_builddir}.;;
934 case ${ac_top_builddir}. in
935 .) ac_abs_top_builddir=$ac_abs_builddir;;
936 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
937 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
940 case $ac_abs_builddir in
941 .) ac_abs_srcdir=$ac_srcdir;;
944 .) ac_abs_srcdir=$ac_abs_builddir;;
945 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
946 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
949 case $ac_abs_builddir in
950 .) ac_abs_top_srcdir=$ac_top_srcdir;;
952 case $ac_top_srcdir in
953 .) ac_abs_top_srcdir=$ac_abs_builddir;;
954 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
955 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
960 # Check for guested configure; otherwise get Cygnus style configure.
961 if test -f $ac_srcdir/configure.gnu; then
963 $SHELL $ac_srcdir/configure.gnu --help=recursive
964 elif test -f $ac_srcdir/configure; then
966 $SHELL $ac_srcdir/configure --help=recursive
967 elif test -f $ac_srcdir/configure.ac ||
968 test -f $ac_srcdir/configure.in; then
972 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
978 test -n "$ac_init_help" && exit 0
979 if $ac_init_version; then
982 Copyright (C) 2003 Free Software Foundation, Inc.
983 This configure script is free software; the Free Software Foundation
984 gives unlimited permission to copy, distribute and modify it.
990 This file contains any messages produced by compilers while
991 running configure, to aid debugging if configure makes a mistake.
993 It was created by $as_me, which was
994 generated by GNU Autoconf 2.59. Invocation command line was
1005 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1006 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1007 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1008 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1009 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1011 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1012 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1014 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1015 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1016 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1017 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1018 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1019 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1020 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1028 test -z "$as_dir" && as_dir=.
1029 echo "PATH: $as_dir"
1044 # Keep a trace of the command line.
1045 # Strip out --no-create and --no-recursion so they do not pile up.
1046 # Strip out --silent because we don't want to record it for future runs.
1047 # Also quote any args containing shell meta-characters.
1048 # Make two passes to allow for proper duplicate-argument suppression.
1053 ac_must_keep_next=false
1059 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061 | -silent | --silent | --silen | --sile | --sil)
1063 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1064 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1067 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1069 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1070 if test $ac_must_keep_next = true; then
1071 ac_must_keep_next=false # Got value, back to normal.
1074 *=* | --config-cache | -C | -disable-* | --disable-* \
1075 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1076 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1077 | -with-* | --with-* | -without-* | --without-* | --x)
1078 case "$ac_configure_args0 " in
1079 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1082 -* ) ac_must_keep_next=true ;;
1085 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1086 # Get rid of the leading space.
1092 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1093 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1095 # When interrupted or exit'd, cleanup temporary files, and complete
1096 # config.log. We remove comments because anyway the quotes in there
1097 # would cause problems or look ugly.
1098 # WARNING: Be sure not to use single quotes in there, as some shells,
1099 # such as our DU 5.0 friend, will then `close
' the trap.
1100 trap 'exit_status
=$?
1101 # Save into config.log some information that might help in debugging.
1106 ## ---------------- ##
1107 ## Cache variables. ##
1108 ## ---------------- ##
1111 # The following way of writing the cache mishandles newlines in values,
1114 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1117 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1122 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1129 ## ----------------- ##
1130 ## Output variables. ##
1131 ## ----------------- ##
1134 for ac_var
in $ac_subst_vars
1136 eval ac_val
=$
`echo $ac_var`
1137 echo "$ac_var='"'"'$ac_val'"'"'"
1141 if test -n "$ac_subst_files"; then
1148 for ac_var
in $ac_subst_files
1150 eval ac_val
=$
`echo $ac_var`
1151 echo "$ac_var='"'"'$ac_val'"'"'"
1156 if test -s confdefs.h
; then
1163 sed "/^$/d" confdefs.h |
sort
1166 test "$ac_signal" != 0 &&
1167 echo "$as_me: caught signal $ac_signal"
1168 echo "$as_me: exit $exit_status"
1170 rm -f core
*.core
&&
1171 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1174 for ac_signal in 1 2 13 15; do
1175 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1179 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1180 rm -rf conftest* confdefs.h
1181 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1184 # Predefined preprocessor variables.
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_NAME "$PACKAGE_NAME"
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_STRING "$PACKAGE_STRING"
1206 cat >>confdefs.h <<_ACEOF
1207 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1211 # Let the site file select an alternate cache file if it wants to.
1212 # Prefer explicitly selected file to automatically selected ones.
1213 if test -z "$CONFIG_SITE"; then
1214 if test "x$prefix" != xNONE; then
1215 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1217 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1220 for ac_site_file in $CONFIG_SITE; do
1221 if test -r "$ac_site_file"; then
1222 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1223 echo "$as_me: loading site script $ac_site_file" >&6;}
1224 sed 's
/^
/|
/' "$ac_site_file" >&5
1229 if test -r "$cache_file"; then
1230 # Some versions of bash will fail to source /dev/null (special
1231 # files actually), so we avoid doing that.
1232 if test -f "$cache_file"; then
1233 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1234 echo "$as_me: loading cache $cache_file" >&6;}
1236 [\\/]* | ?:[\\/]* ) . $cache_file;;
1237 *) . ./$cache_file;;
1241 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1242 echo "$as_me: creating cache $cache_file" >&6;}
1246 # Check that the precious variables saved in the cache have kept the same
1248 ac_cache_corrupted=false
1249 for ac_var in `(set) 2>&1 |
1250 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1251 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1252 eval ac_new_set=\$ac_env_${ac_var}_set
1253 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1254 eval ac_new_val="\$ac_env_${ac_var}_value"
1255 case $ac_old_set,$ac_new_set in
1257 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1259 ac_cache_corrupted=: ;;
1261 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1262 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1263 ac_cache_corrupted=: ;;
1266 if test "x$ac_old_val" != "x$ac_new_val"; then
1267 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1268 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1269 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1270 echo "$as_me: former value: $ac_old_val" >&2;}
1271 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1272 echo "$as_me: current value: $ac_new_val" >&2;}
1273 ac_cache_corrupted=:
1276 # Pass precious variables to config.status.
1277 if test "$ac_new_set" = set; then
1279 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1281 *) ac_arg=$ac_var=$ac_new_val ;;
1283 case " $ac_configure_args " in
1284 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1285 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1289 if $ac_cache_corrupted; then
1290 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1291 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1292 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1293 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1294 { (exit 1); exit 1; }; }
1298 ac_cpp='$CPP $CPPFLAGS'
1299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1300 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1324 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1325 if test -f $ac_dir/install-sh; then
1327 ac_install_sh="$ac_aux_dir/install-sh -c"
1329 elif test -f $ac_dir/install.sh; then
1331 ac_install_sh="$ac_aux_dir/install.sh -c"
1333 elif test -f $ac_dir/shtool; then
1335 ac_install_sh="$ac_aux_dir/shtool install -c"
1339 if test -z "$ac_aux_dir"; then
1340 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1341 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1342 { (exit 1); exit 1; }; }
1344 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1345 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1346 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1348 # Make sure we can run config.sub.
1349 $ac_config_sub sun4 >/dev/null 2>&1 ||
1350 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1351 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1352 { (exit 1); exit 1; }; }
1354 echo "$as_me:$LINENO: checking build system type" >&5
1355 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1356 if test "${ac_cv_build+set}" = set; then
1357 echo $ECHO_N "(cached) $ECHO_C" >&6
1359 ac_cv_build_alias=$build_alias
1360 test -z "$ac_cv_build_alias" &&
1361 ac_cv_build_alias=`$ac_config_guess`
1362 test -z "$ac_cv_build_alias" &&
1363 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1364 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1365 { (exit 1); exit 1; }; }
1366 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1367 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1368 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1369 { (exit 1); exit 1; }; }
1372 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1373 echo "${ECHO_T}$ac_cv_build" >&6
1375 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1376 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1377 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1380 echo "$as_me:$LINENO: checking host system type" >&5
1381 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1382 if test "${ac_cv_host+set}" = set; then
1383 echo $ECHO_N "(cached) $ECHO_C" >&6
1385 ac_cv_host_alias=$host_alias
1386 test -z "$ac_cv_host_alias" &&
1387 ac_cv_host_alias=$ac_cv_build_alias
1388 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1389 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1390 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1391 { (exit 1); exit 1; }; }
1394 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1395 echo "${ECHO_T}$ac_cv_host" >&6
1397 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1398 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1399 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1402 echo "$as_me:$LINENO: checking target system type" >&5
1403 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1404 if test "${ac_cv_target+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1407 ac_cv_target_alias=$target_alias
1408 test "x$ac_cv_target_alias" = "x" &&
1409 ac_cv_target_alias=$ac_cv_host_alias
1410 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1411 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1412 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1413 { (exit 1); exit 1; }; }
1416 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1417 echo "${ECHO_T}$ac_cv_target" >&6
1418 target=$ac_cv_target
1419 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1420 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1421 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1424 # The aliases save the names the user supplied, while $host etc.
1425 # will get canonicalized.
1426 test -n "$target_alias" &&
1427 test "$program_prefix$program_suffix$program_transform_name" = \
1429 program_prefix=${target_alias}-
1431 ac_cpp='$CPP $CPPFLAGS'
1432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1433 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1435 if test -n "$ac_tool_prefix"; then
1436 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1437 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1438 echo "$as_me:$LINENO: checking for $ac_word" >&5
1439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1440 if test "${ac_cv_prog_CC+set}" = set; then
1441 echo $ECHO_N "(cached) $ECHO_C" >&6
1443 if test -n "$CC"; then
1444 ac_cv_prog_CC="$CC" # Let the user override the test.
1446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1450 test -z "$as_dir" && as_dir=.
1451 for ac_exec_ext in '' $ac_executable_extensions; do
1452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1453 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1463 if test -n "$CC"; then
1464 echo "$as_me:$LINENO: result: $CC" >&5
1465 echo "${ECHO_T}$CC" >&6
1467 echo "$as_me:$LINENO: result: no" >&5
1468 echo "${ECHO_T}no" >&6
1472 if test -z "$ac_cv_prog_CC"; then
1474 # Extract the first word of "gcc", so it can be a program name with args.
1475 set dummy gcc; ac_word=$2
1476 echo "$as_me:$LINENO: checking for $ac_word" >&5
1477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1478 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1479 echo $ECHO_N "(cached) $ECHO_C" >&6
1481 if test -n "$ac_ct_CC"; then
1482 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1488 test -z "$as_dir" && as_dir=.
1489 for ac_exec_ext in '' $ac_executable_extensions; do
1490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1491 ac_cv_prog_ac_ct_CC="gcc"
1492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1500 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1501 if test -n "$ac_ct_CC"; then
1502 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1503 echo "${ECHO_T}$ac_ct_CC" >&6
1505 echo "$as_me:$LINENO: result: no" >&5
1506 echo "${ECHO_T}no" >&6
1514 if test -z "$CC"; then
1515 if test -n "$ac_tool_prefix"; then
1516 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1517 set dummy ${ac_tool_prefix}cc; ac_word=$2
1518 echo "$as_me:$LINENO: checking for $ac_word" >&5
1519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1520 if test "${ac_cv_prog_CC+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 if test -n "$CC"; then
1524 ac_cv_prog_CC="$CC" # Let the user override the test.
1526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1530 test -z "$as_dir" && as_dir=.
1531 for ac_exec_ext in '' $ac_executable_extensions; do
1532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1533 ac_cv_prog_CC="${ac_tool_prefix}cc"
1534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1543 if test -n "$CC"; then
1544 echo "$as_me:$LINENO: result: $CC" >&5
1545 echo "${ECHO_T}$CC" >&6
1547 echo "$as_me:$LINENO: result: no" >&5
1548 echo "${ECHO_T}no" >&6
1552 if test -z "$ac_cv_prog_CC"; then
1554 # Extract the first word of "cc", so it can be a program name with args.
1555 set dummy cc; ac_word=$2
1556 echo "$as_me:$LINENO: checking for $ac_word" >&5
1557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1558 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1559 echo $ECHO_N "(cached) $ECHO_C" >&6
1561 if test -n "$ac_ct_CC"; then
1562 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1568 test -z "$as_dir" && as_dir=.
1569 for ac_exec_ext in '' $ac_executable_extensions; do
1570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1571 ac_cv_prog_ac_ct_CC="cc"
1572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1580 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1581 if test -n "$ac_ct_CC"; then
1582 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1583 echo "${ECHO_T}$ac_ct_CC" >&6
1585 echo "$as_me:$LINENO: result: no" >&5
1586 echo "${ECHO_T}no" >&6
1595 if test -z "$CC"; then
1596 # Extract the first word of "cc", so it can be a program name with args.
1597 set dummy cc; ac_word=$2
1598 echo "$as_me:$LINENO: checking for $ac_word" >&5
1599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1600 if test "${ac_cv_prog_CC+set}" = set; then
1601 echo $ECHO_N "(cached) $ECHO_C" >&6
1603 if test -n "$CC"; then
1604 ac_cv_prog_CC="$CC" # Let the user override the test.
1607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1611 test -z "$as_dir" && as_dir=.
1612 for ac_exec_ext in '' $ac_executable_extensions; do
1613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1614 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1615 ac_prog_rejected=yes
1619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1625 if test $ac_prog_rejected = yes; then
1626 # We found a bogon in the path, so make sure we never use it.
1627 set dummy $ac_cv_prog_CC
1629 if test $# != 0; then
1630 # We chose a different compiler from the bogus one.
1631 # However, it has the same basename, so the bogon will be chosen
1632 # first if we set CC to just the basename; use the full file name.
1634 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1640 if test -n "$CC"; then
1641 echo "$as_me:$LINENO: result: $CC" >&5
1642 echo "${ECHO_T}$CC" >&6
1644 echo "$as_me:$LINENO: result: no" >&5
1645 echo "${ECHO_T}no" >&6
1649 if test -z "$CC"; then
1650 if test -n "$ac_tool_prefix"; then
1653 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1654 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1655 echo "$as_me:$LINENO: checking for $ac_word" >&5
1656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1657 if test "${ac_cv_prog_CC+set}" = set; then
1658 echo $ECHO_N "(cached) $ECHO_C" >&6
1660 if test -n "$CC"; then
1661 ac_cv_prog_CC="$CC" # Let the user override the test.
1663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1667 test -z "$as_dir" && as_dir=.
1668 for ac_exec_ext in '' $ac_executable_extensions; do
1669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1670 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1680 if test -n "$CC"; then
1681 echo "$as_me:$LINENO: result: $CC" >&5
1682 echo "${ECHO_T}$CC" >&6
1684 echo "$as_me:$LINENO: result: no" >&5
1685 echo "${ECHO_T}no" >&6
1688 test -n "$CC" && break
1691 if test -z "$CC"; then
1695 # Extract the first word of "$ac_prog", so it can be a program name with args.
1696 set dummy $ac_prog; ac_word=$2
1697 echo "$as_me:$LINENO: checking for $ac_word" >&5
1698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1699 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1700 echo $ECHO_N "(cached) $ECHO_C" >&6
1702 if test -n "$ac_ct_CC"; then
1703 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1709 test -z "$as_dir" && as_dir=.
1710 for ac_exec_ext in '' $ac_executable_extensions; do
1711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1712 ac_cv_prog_ac_ct_CC="$ac_prog"
1713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1721 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1722 if test -n "$ac_ct_CC"; then
1723 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1724 echo "${ECHO_T}$ac_ct_CC" >&6
1726 echo "$as_me:$LINENO: result: no" >&5
1727 echo "${ECHO_T}no" >&6
1730 test -n "$ac_ct_CC" && break
1739 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1740 See \`config.log' for more details.
" >&5
1741 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1742 See \
`config.log' for more details." >&2;}
1743 { (exit 1); exit 1; }; }
1745 # Provide some information about the compiler.
1746 echo "$as_me:$LINENO:" \
1747 "checking for C compiler version" >&5
1748 ac_compiler=`set X
$ac_compile; echo $2`
1749 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1750 (eval $ac_compiler --version </dev/null >&5) 2>&5
1752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1753 (exit $ac_status); }
1754 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1755 (eval $ac_compiler -v </dev/null >&5) 2>&5
1757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1758 (exit $ac_status); }
1759 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1760 (eval $ac_compiler -V </dev/null >&5) 2>&5
1762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1763 (exit $ac_status); }
1765 cat >conftest.$ac_ext <<_ACEOF
1768 cat confdefs.h >>conftest.$ac_ext
1769 cat >>conftest.$ac_ext <<_ACEOF
1770 /* end confdefs.h. */
1780 ac_clean_files_save=$ac_clean_files
1781 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1782 # Try to create an executable without -o first, disregard a.out.
1783 # It will help us diagnose broken compilers, and finding out an intuition
1785 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1786 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1787 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1788 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1789 (eval $ac_link_default) 2>&5
1791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1792 (exit $ac_status); }; then
1793 # Find the output, starting from the most likely. This scheme is
1794 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1797 # Be careful to initialize this variable, since it used to be cached.
1798 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1800 # b.out is created by i960 compilers.
1801 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1803 test -f "$ac_file" || continue
1805 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1808 # This is the source file.
1811 # We found the default executable, but exeext='' is most
1815 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1816 # FIXME: I believe we export ac_cv_exeext for Libtool,
1817 # but it would be cool to find out if it's true. Does anybody
1818 # maintain Libtool? --akim.
1826 echo "$as_me: failed program was:" >&5
1827 sed 's/^/| /' conftest.$ac_ext >&5
1829 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1830 See \`config.log
' for more details." >&5
1831 echo "$as_me: error: C compiler cannot create executables
1832 See \`config.log' for more details.
" >&2;}
1833 { (exit 77); exit 77; }; }
1836 ac_exeext=$ac_cv_exeext
1837 echo "$as_me:$LINENO: result
: $ac_file" >&5
1838 echo "${ECHO_T}$ac_file" >&6
1840 # Check the compiler produces executables we can run. If not, either
1841 # the compiler is broken, or we cross compile.
1842 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1843 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1844 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1845 # If not cross compiling, check that we can run a simple program.
1846 if test "$cross_compiling" != yes; then
1847 if { ac_try='./$ac_file'
1848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1851 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1852 (exit $ac_status); }; }; then
1855 if test "$cross_compiling" = maybe; then
1858 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1859 If you meant to cross compile
, use \
`--host'.
1860 See \`config.log
' for more details." >&5
1861 echo "$as_me: error: cannot run C compiled programs.
1862 If you meant to cross compile, use \`--host'.
1863 See \
`config.log' for more details." >&2;}
1864 { (exit 1); exit 1; }; }
1868 echo "$as_me:$LINENO: result: yes" >&5
1869 echo "${ECHO_T}yes" >&6
1871 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1872 ac_clean_files=$ac_clean_files_save
1873 # Check the compiler produces executables we can run. If not, either
1874 # the compiler is broken, or we cross compile.
1875 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1876 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1877 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1878 echo "${ECHO_T}$cross_compiling" >&6
1880 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1881 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1883 (eval $ac_link) 2>&5
1885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1886 (exit $ac_status); }; then
1887 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1888 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1889 # work properly (i.e., refer to `conftest.exe'), while it won't with
1891 for ac_file
in conftest.exe conftest conftest.
*; do
1892 test -f "$ac_file" ||
continue
1894 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1895 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1902 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1903 See \`config.log' for more details." >&5
1904 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1905 See \`config.log' for more details." >&2;}
1906 { (exit 1); exit 1; }; }
1909 rm -f conftest
$ac_cv_exeext
1910 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1911 echo "${ECHO_T}$ac_cv_exeext" >&6
1913 rm -f conftest.
$ac_ext
1914 EXEEXT
=$ac_cv_exeext
1916 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1917 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1918 if test "${ac_cv_objext+set}" = set; then
1919 echo $ECHO_N "(cached) $ECHO_C" >&6
1921 cat >conftest.
$ac_ext <<_ACEOF
1924 cat confdefs.h
>>conftest.
$ac_ext
1925 cat >>conftest.
$ac_ext <<_ACEOF
1926 /* end confdefs.h. */
1936 rm -f conftest.o conftest.obj
1937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1938 (eval $ac_compile) 2>&5
1940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1941 (exit $ac_status); }; then
1942 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1944 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1945 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1950 echo "$as_me: failed program was:" >&5
1951 sed 's/^/| /' conftest.
$ac_ext >&5
1953 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1954 See \`config.log' for more details." >&5
1955 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1956 See \`config.log' for more details." >&2;}
1957 { (exit 1); exit 1; }; }
1960 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1962 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1963 echo "${ECHO_T}$ac_cv_objext" >&6
1964 OBJEXT
=$ac_cv_objext
1966 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1967 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1968 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1969 echo $ECHO_N "(cached) $ECHO_C" >&6
1971 cat >conftest.
$ac_ext <<_ACEOF
1974 cat confdefs.h
>>conftest.
$ac_ext
1975 cat >>conftest.
$ac_ext <<_ACEOF
1976 /* end confdefs.h. */
1989 rm -f conftest.
$ac_objext
1990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1991 (eval $ac_compile) 2>conftest.er1
1993 grep -v '^ *+' conftest.er1
>conftest.err
1995 cat conftest.err
>&5
1996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1997 (exit $ac_status); } &&
1998 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2003 (exit $ac_status); }; } &&
2004 { ac_try
='test -s conftest.$ac_objext'
2005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2009 (exit $ac_status); }; }; then
2012 echo "$as_me: failed program was:" >&5
2013 sed 's/^/| /' conftest.
$ac_ext >&5
2017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2018 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2021 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2022 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2023 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2024 ac_test_CFLAGS
=${CFLAGS+set}
2025 ac_save_CFLAGS
=$CFLAGS
2027 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2028 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2029 if test "${ac_cv_prog_cc_g+set}" = set; then
2030 echo $ECHO_N "(cached) $ECHO_C" >&6
2032 cat >conftest.
$ac_ext <<_ACEOF
2035 cat confdefs.h
>>conftest.
$ac_ext
2036 cat >>conftest.
$ac_ext <<_ACEOF
2037 /* end confdefs.h. */
2047 rm -f conftest.
$ac_objext
2048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2049 (eval $ac_compile) 2>conftest.er1
2051 grep -v '^ *+' conftest.er1
>conftest.err
2053 cat conftest.err
>&5
2054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2055 (exit $ac_status); } &&
2056 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061 (exit $ac_status); }; } &&
2062 { ac_try
='test -s conftest.$ac_objext'
2063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2067 (exit $ac_status); }; }; then
2070 echo "$as_me: failed program was:" >&5
2071 sed 's/^/| /' conftest.
$ac_ext >&5
2075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2077 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2078 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2079 if test "$ac_test_CFLAGS" = set; then
2080 CFLAGS
=$ac_save_CFLAGS
2081 elif test $ac_cv_prog_cc_g = yes; then
2082 if test "$GCC" = yes; then
2088 if test "$GCC" = yes; then
2094 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2095 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2096 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2097 echo $ECHO_N "(cached) $ECHO_C" >&6
2099 ac_cv_prog_cc_stdc
=no
2101 cat >conftest.
$ac_ext <<_ACEOF
2104 cat confdefs.h
>>conftest.
$ac_ext
2105 cat >>conftest.
$ac_ext <<_ACEOF
2106 /* end confdefs.h. */
2109 #include <sys/types.h>
2110 #include <sys/stat.h>
2111 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2112 struct buf { int x; };
2113 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2114 static char *e (p, i)
2120 static char *f (char * (*g) (char **, int), char **p, ...)
2125 s = g (p, va_arg (v,int));
2130 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2131 function prototypes and stuff, but not '\xHH' hex character constants.
2132 These don't provoke an error unfortunately, instead are silently treated
2133 as 'x'. The following induces an error, until -std1 is added to get
2134 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2135 array size at least. It's necessary to write '\x00'==0 to get something
2136 that's true only with -std1. */
2137 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2139 int test (int i, double x);
2140 struct s1 {int (*f) (int a);};
2141 struct s2 {int (*f) (double a);};
2142 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2148 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2153 # Don't try gcc -ansi; that turns off useful extensions and
2154 # breaks some systems' header files.
2155 # AIX -qlanglvl=ansi
2156 # Ultrix and OSF/1 -std1
2157 # HP-UX 10.20 and later -Ae
2158 # HP-UX older versions -Aa -D_HPUX_SOURCE
2159 # SVR4 -Xc -D__EXTENSIONS__
2160 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2162 CC
="$ac_save_CC $ac_arg"
2163 rm -f conftest.
$ac_objext
2164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2165 (eval $ac_compile) 2>conftest.er1
2167 grep -v '^ *+' conftest.er1
>conftest.err
2169 cat conftest.err
>&5
2170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2171 (exit $ac_status); } &&
2172 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177 (exit $ac_status); }; } &&
2178 { ac_try
='test -s conftest.$ac_objext'
2179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); }; }; then
2184 ac_cv_prog_cc_stdc
=$ac_arg
2187 echo "$as_me: failed program was:" >&5
2188 sed 's/^/| /' conftest.
$ac_ext >&5
2191 rm -f conftest.err conftest.
$ac_objext
2193 rm -f conftest.
$ac_ext conftest.
$ac_objext
2198 case "x$ac_cv_prog_cc_stdc" in
2200 echo "$as_me:$LINENO: result: none needed" >&5
2201 echo "${ECHO_T}none needed" >&6 ;;
2203 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2204 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2205 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2208 # Some people use a C++ compiler to compile C. Since we use `exit',
2209 # in C++ we need to declare it. In case someone uses the same compiler
2210 # for both compiling C and C++ we need to have the C++ compiler decide
2211 # the declaration of exit, since it's the most demanding environment.
2212 cat >conftest.
$ac_ext <<_ACEOF
2217 rm -f conftest.
$ac_objext
2218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2219 (eval $ac_compile) 2>conftest.er1
2221 grep -v '^ *+' conftest.er1
>conftest.err
2223 cat conftest.err
>&5
2224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2225 (exit $ac_status); } &&
2226 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231 (exit $ac_status); }; } &&
2232 { ac_try
='test -s conftest.$ac_objext'
2233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237 (exit $ac_status); }; }; then
2238 for ac_declaration
in \
2240 'extern "C" void std::exit (int) throw (); using std::exit;' \
2241 'extern "C" void std::exit (int); using std::exit;' \
2242 'extern "C" void exit (int) throw ();' \
2243 'extern "C" void exit (int);' \
2246 cat >conftest.
$ac_ext <<_ACEOF
2249 cat confdefs.h
>>conftest.
$ac_ext
2250 cat >>conftest.
$ac_ext <<_ACEOF
2251 /* end confdefs.h. */
2262 rm -f conftest.
$ac_objext
2263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2264 (eval $ac_compile) 2>conftest.er1
2266 grep -v '^ *+' conftest.er1
>conftest.err
2268 cat conftest.err
>&5
2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270 (exit $ac_status); } &&
2271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); }; } &&
2277 { ac_try
='test -s conftest.$ac_objext'
2278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2282 (exit $ac_status); }; }; then
2285 echo "$as_me: failed program was:" >&5
2286 sed 's/^/| /' conftest.
$ac_ext >&5
2290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2291 cat >conftest.
$ac_ext <<_ACEOF
2294 cat confdefs.h
>>conftest.
$ac_ext
2295 cat >>conftest.
$ac_ext <<_ACEOF
2296 /* end confdefs.h. */
2306 rm -f conftest.
$ac_objext
2307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2308 (eval $ac_compile) 2>conftest.er1
2310 grep -v '^ *+' conftest.er1
>conftest.err
2312 cat conftest.err
>&5
2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); } &&
2315 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320 (exit $ac_status); }; } &&
2321 { ac_try
='test -s conftest.$ac_objext'
2322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 (exit $ac_status); }; }; then
2329 echo "$as_me: failed program was:" >&5
2330 sed 's/^/| /' conftest.
$ac_ext >&5
2333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2336 if test -n "$ac_declaration"; then
2337 echo '#ifdef __cplusplus' >>confdefs.h
2338 echo $ac_declaration >>confdefs.h
2339 echo '#endif' >>confdefs.h
2343 echo "$as_me: failed program was:" >&5
2344 sed 's/^/| /' conftest.
$ac_ext >&5
2347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2349 ac_cpp
='$CPP $CPPFLAGS'
2350 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2351 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2352 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2356 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2357 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2358 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2359 echo $ECHO_N "(cached) $ECHO_C" >&6
2361 ac_check_lib_save_LIBS
=$LIBS
2362 LIBS
="-lcposix $LIBS"
2363 cat >conftest.
$ac_ext <<_ACEOF
2366 cat confdefs.h
>>conftest.
$ac_ext
2367 cat >>conftest.
$ac_ext <<_ACEOF
2368 /* end confdefs.h. */
2370 /* Override any gcc2 internal prototype to avoid an error. */
2374 /* We use char because int might match the return type of a gcc2
2375 builtin and then its argument prototype would still apply. */
2385 rm -f conftest.
$ac_objext conftest
$ac_exeext
2386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2387 (eval $ac_link) 2>conftest.er1
2389 grep -v '^ *+' conftest.er1
>conftest.err
2391 cat conftest.err
>&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); } &&
2394 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399 (exit $ac_status); }; } &&
2400 { ac_try
='test -s conftest$ac_exeext'
2401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2405 (exit $ac_status); }; }; then
2406 ac_cv_lib_cposix_strerror
=yes
2408 echo "$as_me: failed program was:" >&5
2409 sed 's/^/| /' conftest.
$ac_ext >&5
2411 ac_cv_lib_cposix_strerror
=no
2413 rm -f conftest.err conftest.
$ac_objext \
2414 conftest
$ac_exeext conftest.
$ac_ext
2415 LIBS
=$ac_check_lib_save_LIBS
2417 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2418 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2419 if test $ac_cv_lib_cposix_strerror = yes; then
2420 LIBS
="$LIBS -lcposix"
2426 am__api_version
="1.4"
2427 # Find a good install program. We prefer a C program (faster),
2428 # so one script is as good as another. But avoid the broken or
2429 # incompatible versions:
2430 # SysV /etc/install, /usr/sbin/install
2431 # SunOS /usr/etc/install
2432 # IRIX /sbin/install
2434 # AmigaOS /C/install, which installs bootblocks on floppy discs
2435 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2436 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2437 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2438 # OS/2's system install, which has a completely different semantic
2439 # ./install, which can be erroneously created by make from ./install.sh.
2440 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2441 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2442 if test -z "$INSTALL"; then
2443 if test "${ac_cv_path_install+set}" = set; then
2444 echo $ECHO_N "(cached) $ECHO_C" >&6
2446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2450 test -z "$as_dir" && as_dir
=.
2451 # Account for people who put trailing slashes in PATH elements.
2453 .
/ | .
// |
/cC
/* | \
2454 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2455 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2458 # OSF1 and SCO ODT 3.0 have their own names for install.
2459 # Don't use installbsd from OSF since it installs stuff as root
2461 for ac_prog
in ginstall scoinst
install; do
2462 for ac_exec_ext
in '' $ac_executable_extensions; do
2463 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2464 if test $ac_prog = install &&
2465 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2466 # AIX install. It has an incompatible calling convention.
2468 elif test $ac_prog = install &&
2469 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2470 # program-specific install script used by HP pwplus--don't use.
2473 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2485 if test "${ac_cv_path_install+set}" = set; then
2486 INSTALL
=$ac_cv_path_install
2488 # As a last resort, use the slow shell script. We don't cache a
2489 # path for INSTALL within a source directory, because that will
2490 # break other packages using the cache if that directory is
2491 # removed, or if the path is relative.
2492 INSTALL
=$ac_install_sh
2495 echo "$as_me:$LINENO: result: $INSTALL" >&5
2496 echo "${ECHO_T}$INSTALL" >&6
2498 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2499 # It thinks the first close brace ends the variable substitution.
2500 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2502 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2504 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2506 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2507 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2510 echo timestamp
> conftestfile
2511 # Do `set' in a subshell so we don't clobber the current shell's
2512 # arguments. Must try -L first in case configure is actually a
2513 # symlink; some systems play weird games with the mod time of symlinks
2514 # (eg FreeBSD returns the mod time of the symlink's containing
2517 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
2518 if test "$*" = "X"; then
2520 set X
`ls -t $srcdir/configure conftestfile`
2522 if test "$*" != "X $srcdir/configure conftestfile" \
2523 && test "$*" != "X conftestfile $srcdir/configure"; then
2525 # If neither matched, then we have a broken ls. This can happen
2526 # if, for instance, CONFIG_SHELL is bash and it inherits a
2527 # broken ls alias from the environment. This has actually
2528 # happened. Such a system could not be considered "sane".
2529 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2530 alias in your environment" >&5
2531 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2532 alias in your environment" >&2;}
2533 { (exit 1); exit 1; }; }
2536 test "$2" = conftestfile
2542 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2543 Check your system clock" >&5
2544 echo "$as_me: error: newly created file is older than distributed files!
2545 Check your system clock" >&2;}
2546 { (exit 1); exit 1; }; }
2549 echo "$as_me:$LINENO: result: yes" >&5
2550 echo "${ECHO_T}yes" >&6
2551 test "$program_prefix" != NONE
&&
2552 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2553 # Use a double $ so make ignores it.
2554 test "$program_suffix" != NONE
&&
2555 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2556 # Double any \ or $. echo might interpret backslashes.
2557 # By default was `s,x,x', remove it if useless.
2558 cat <<\_ACEOF
>conftest.
sed
2559 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2561 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2564 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2565 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2566 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2567 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2568 echo $ECHO_N "(cached) $ECHO_C" >&6
2570 cat >conftest.
make <<\_ACEOF
2572 @
echo 'ac_maketemp="$(MAKE)"'
2574 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2575 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2576 if test -n "$ac_maketemp"; then
2577 eval ac_cv_prog_make_
${ac_make}_set
=yes
2579 eval ac_cv_prog_make_
${ac_make}_set
=no
2583 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2584 echo "$as_me:$LINENO: result: yes" >&5
2585 echo "${ECHO_T}yes" >&6
2588 echo "$as_me:$LINENO: result: no" >&5
2589 echo "${ECHO_T}no" >&6
2590 SET_MAKE
="MAKE=${MAKE-make}"
2598 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
2599 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2600 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2601 { (exit 1); exit 1; }; }
2604 cat >>confdefs.h
<<_ACEOF
2605 #define PACKAGE "$PACKAGE"
2609 cat >>confdefs.h
<<_ACEOF
2610 #define VERSION "$VERSION"
2615 missing_dir
=`cd $ac_aux_dir && pwd`
2616 echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
2617 echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
2618 # Run test in a subshell; some versions of sh will print an error if
2619 # an executable is not found, even if stderr is redirected.
2620 # Redirect stdin to placate older versions of autoconf. Sigh.
2621 if (aclocal-
${am__api_version} --version) < /dev
/null
> /dev
/null
2>&1; then
2622 ACLOCAL
=aclocal-
${am__api_version}
2623 echo "$as_me:$LINENO: result: found" >&5
2624 echo "${ECHO_T}found" >&6
2626 ACLOCAL
="$missing_dir/missing aclocal-${am__api_version}"
2627 echo "$as_me:$LINENO: result: missing" >&5
2628 echo "${ECHO_T}missing" >&6
2631 echo "$as_me:$LINENO: checking for working autoconf" >&5
2632 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
2633 # Run test in a subshell; some versions of sh will print an error if
2634 # an executable is not found, even if stderr is redirected.
2635 # Redirect stdin to placate older versions of autoconf. Sigh.
2636 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
2638 echo "$as_me:$LINENO: result: found" >&5
2639 echo "${ECHO_T}found" >&6
2641 AUTOCONF
="$missing_dir/missing autoconf"
2642 echo "$as_me:$LINENO: result: missing" >&5
2643 echo "${ECHO_T}missing" >&6
2646 echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
2647 echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
2648 # Run test in a subshell; some versions of sh will print an error if
2649 # an executable is not found, even if stderr is redirected.
2650 # Redirect stdin to placate older versions of autoconf. Sigh.
2651 if (automake-
${am__api_version} --version) < /dev
/null
> /dev
/null
2>&1; then
2652 AUTOMAKE
=automake-
${am__api_version}
2653 echo "$as_me:$LINENO: result: found" >&5
2654 echo "${ECHO_T}found" >&6
2656 AUTOMAKE
="$missing_dir/missing automake-${am__api_version}"
2657 echo "$as_me:$LINENO: result: missing" >&5
2658 echo "${ECHO_T}missing" >&6
2661 echo "$as_me:$LINENO: checking for working autoheader" >&5
2662 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
2663 # Run test in a subshell; some versions of sh will print an error if
2664 # an executable is not found, even if stderr is redirected.
2665 # Redirect stdin to placate older versions of autoconf. Sigh.
2666 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
2667 AUTOHEADER
=autoheader
2668 echo "$as_me:$LINENO: result: found" >&5
2669 echo "${ECHO_T}found" >&6
2671 AUTOHEADER
="$missing_dir/missing autoheader"
2672 echo "$as_me:$LINENO: result: missing" >&5
2673 echo "${ECHO_T}missing" >&6
2676 echo "$as_me:$LINENO: checking for working makeinfo" >&5
2677 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
2678 # Run test in a subshell; some versions of sh will print an error if
2679 # an executable is not found, even if stderr is redirected.
2680 # Redirect stdin to placate older versions of autoconf. Sigh.
2681 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
2683 echo "$as_me:$LINENO: result: found" >&5
2684 echo "${ECHO_T}found" >&6
2686 MAKEINFO
="$missing_dir/missing makeinfo"
2687 echo "$as_me:$LINENO: result: missing" >&5
2688 echo "${ECHO_T}missing" >&6
2693 if test -n "$ac_tool_prefix"; then
2694 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2695 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2696 echo "$as_me:$LINENO: checking for $ac_word" >&5
2697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2698 if test "${ac_cv_prog_AR+set}" = set; then
2699 echo $ECHO_N "(cached) $ECHO_C" >&6
2701 if test -n "$AR"; then
2702 ac_cv_prog_AR
="$AR" # Let the user override the test.
2704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2708 test -z "$as_dir" && as_dir
=.
2709 for ac_exec_ext
in '' $ac_executable_extensions; do
2710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2711 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2721 if test -n "$AR"; then
2722 echo "$as_me:$LINENO: result: $AR" >&5
2723 echo "${ECHO_T}$AR" >&6
2725 echo "$as_me:$LINENO: result: no" >&5
2726 echo "${ECHO_T}no" >&6
2730 if test -z "$ac_cv_prog_AR"; then
2732 # Extract the first word of "ar", so it can be a program name with args.
2733 set dummy
ar; ac_word
=$2
2734 echo "$as_me:$LINENO: checking for $ac_word" >&5
2735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2736 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2737 echo $ECHO_N "(cached) $ECHO_C" >&6
2739 if test -n "$ac_ct_AR"; then
2740 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2746 test -z "$as_dir" && as_dir
=.
2747 for ac_exec_ext
in '' $ac_executable_extensions; do
2748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2749 ac_cv_prog_ac_ct_AR
="ar"
2750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2759 if test -n "$ac_ct_AR"; then
2760 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2761 echo "${ECHO_T}$ac_ct_AR" >&6
2763 echo "$as_me:$LINENO: result: no" >&5
2764 echo "${ECHO_T}no" >&6
2772 if test -n "$ac_tool_prefix"; then
2773 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2774 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2775 echo "$as_me:$LINENO: checking for $ac_word" >&5
2776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2777 if test "${ac_cv_prog_RANLIB+set}" = set; then
2778 echo $ECHO_N "(cached) $ECHO_C" >&6
2780 if test -n "$RANLIB"; then
2781 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2787 test -z "$as_dir" && as_dir
=.
2788 for ac_exec_ext
in '' $ac_executable_extensions; do
2789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2790 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2799 RANLIB
=$ac_cv_prog_RANLIB
2800 if test -n "$RANLIB"; then
2801 echo "$as_me:$LINENO: result: $RANLIB" >&5
2802 echo "${ECHO_T}$RANLIB" >&6
2804 echo "$as_me:$LINENO: result: no" >&5
2805 echo "${ECHO_T}no" >&6
2809 if test -z "$ac_cv_prog_RANLIB"; then
2810 ac_ct_RANLIB
=$RANLIB
2811 # Extract the first word of "ranlib", so it can be a program name with args.
2812 set dummy ranlib
; ac_word
=$2
2813 echo "$as_me:$LINENO: checking for $ac_word" >&5
2814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2815 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2816 echo $ECHO_N "(cached) $ECHO_C" >&6
2818 if test -n "$ac_ct_RANLIB"; then
2819 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2825 test -z "$as_dir" && as_dir
=.
2826 for ac_exec_ext
in '' $ac_executable_extensions; do
2827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2828 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2835 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2838 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2839 if test -n "$ac_ct_RANLIB"; then
2840 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2841 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2843 echo "$as_me:$LINENO: result: no" >&5
2844 echo "${ECHO_T}no" >&6
2847 RANLIB
=$ac_ct_RANLIB
2849 RANLIB
="$ac_cv_prog_RANLIB"
2853 # Check whether --enable-shared or --disable-shared was given.
2854 if test "${enable_shared+set}" = set; then
2855 enableval
="$enable_shared"
2856 p
=${PACKAGE-default}
2858 yes) enable_shared
=yes ;;
2859 no
) enable_shared
=no
;;
2862 # Look at the argument we got. We use all the common list separators.
2863 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2864 for pkg
in $enableval; do
2865 if test "X$pkg" = "X$p"; then
2876 # Check whether --enable-static or --disable-static was given.
2877 if test "${enable_static+set}" = set; then
2878 enableval
="$enable_static"
2879 p
=${PACKAGE-default}
2881 yes) enable_static
=yes ;;
2882 no
) enable_static
=no
;;
2885 # Look at the argument we got. We use all the common list separators.
2886 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2887 for pkg
in $enableval; do
2888 if test "X$pkg" = "X$p"; then
2898 # Check whether --enable-fast-install or --disable-fast-install was given.
2899 if test "${enable_fast_install+set}" = set; then
2900 enableval
="$enable_fast_install"
2901 p
=${PACKAGE-default}
2903 yes) enable_fast_install
=yes ;;
2904 no
) enable_fast_install
=no
;;
2906 enable_fast_install
=no
2907 # Look at the argument we got. We use all the common list separators.
2908 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2909 for pkg
in $enableval; do
2910 if test "X$pkg" = "X$p"; then
2911 enable_fast_install
=yes
2918 enable_fast_install
=yes
2921 # Check whether --with-gnu-ld or --without-gnu-ld was given.
2922 if test "${with_gnu_ld+set}" = set; then
2923 withval
="$with_gnu_ld"
2924 test "$withval" = no || with_gnu_ld
=yes
2929 if test "$GCC" = yes; then
2930 # Check if gcc -print-prog-name=ld gives a path.
2931 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
2932 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
2935 # gcc leaves a trailing carriage return which upsets mingw
2936 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2938 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
2941 # Accept absolute paths.
2942 [\\/]* |
[A-Za-z
]:[\\/]*)
2943 re_direlt
='/[^/][^/]*/\.\./'
2944 # Canonicalize the path of ld
2945 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
2946 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
2947 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
2949 test -z "$LD" && LD
="$ac_prog"
2952 # If it fails, then pretend we aren't using GCC.
2956 # If it is relative, then search for the first ld in PATH.
2960 elif test "$with_gnu_ld" = yes; then
2961 echo "$as_me:$LINENO: checking for GNU ld" >&5
2962 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
2964 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
2965 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
2967 if test "${lt_cv_path_LD+set}" = set; then
2968 echo $ECHO_N "(cached) $ECHO_C" >&6
2970 if test -z "$LD"; then
2971 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
2972 for ac_dir
in $PATH; do
2973 test -z "$ac_dir" && ac_dir
=.
2974 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
2975 lt_cv_path_LD
="$ac_dir/$ac_prog"
2976 # Check to see if the program is GNU ld. I'd rather use --version,
2977 # but apparently some GNU ld's only accept -v.
2978 # Break only if it was the GNU/non-GNU ld that we prefer.
2979 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
2980 test "$with_gnu_ld" != no
&& break
2982 test "$with_gnu_ld" != yes && break
2988 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
2993 if test -n "$LD"; then
2994 echo "$as_me:$LINENO: result: $LD" >&5
2995 echo "${ECHO_T}$LD" >&6
2997 echo "$as_me:$LINENO: result: no" >&5
2998 echo "${ECHO_T}no" >&6
3000 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3001 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3002 { (exit 1); exit 1; }; }
3003 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3004 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3005 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3006 echo $ECHO_N "(cached) $ECHO_C" >&6
3008 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3009 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3010 lt_cv_prog_gnu_ld
=yes
3012 lt_cv_prog_gnu_ld
=no
3015 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3016 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3017 with_gnu_ld
=$lt_cv_prog_gnu_ld
3020 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3021 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3022 if test "${lt_cv_ld_reload_flag+set}" = set; then
3023 echo $ECHO_N "(cached) $ECHO_C" >&6
3025 lt_cv_ld_reload_flag
='-r'
3027 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3028 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3029 reload_flag
=$lt_cv_ld_reload_flag
3030 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3032 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3033 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3034 if test "${lt_cv_path_NM+set}" = set; then
3035 echo $ECHO_N "(cached) $ECHO_C" >&6
3037 if test -n "$NM"; then
3038 # Let the user override the test.
3041 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3042 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3043 test -z "$ac_dir" && ac_dir
=.
3044 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3045 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3046 # Check to see if the nm accepts a BSD-compat flag.
3047 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3048 # nm: unknown option "B" ignored
3049 # Tru64's nm complains that /dev/null is an invalid object file
3050 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3051 lt_cv_path_NM
="$tmp_nm -B"
3053 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3054 lt_cv_path_NM
="$tmp_nm -p"
3057 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3058 continue # so that we can try to find one that supports BSD flags
3063 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3068 echo "$as_me:$LINENO: result: $NM" >&5
3069 echo "${ECHO_T}$NM" >&6
3071 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3072 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3074 if test "$LN_S" = "ln -s"; then
3075 echo "$as_me:$LINENO: result: yes" >&5
3076 echo "${ECHO_T}yes" >&6
3078 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3079 echo "${ECHO_T}no, using $LN_S" >&6
3082 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3083 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3084 if test "${lt_cv_deplibs_check_method+set}" = set; then
3085 echo $ECHO_N "(cached) $ECHO_C" >&6
3087 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3088 lt_cv_file_magic_test_file
=
3089 lt_cv_deplibs_check_method
='unknown'
3090 # Need to set the preceding variable on all platforms that support
3091 # interlibrary dependencies.
3092 # 'none' -- dependencies not supported.
3093 # `unknown' -- same as none, but documents that we really don't know.
3094 # 'pass_all' -- all dependencies passed with no checks.
3095 # 'test_compile' -- check by making test program.
3096 # 'file_magic [regex]' -- check by looking for files in library path
3097 # which responds to the $file_magic_cmd with a given egrep regex.
3098 # If you have `file' or equivalent on your system and you're not sure
3099 # whether `pass_all' will *always* work, you probably want this one.
3103 lt_cv_deplibs_check_method
=pass_all
3107 lt_cv_deplibs_check_method
=pass_all
3111 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3112 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3113 lt_cv_file_magic_test_file
=/shlib
/libc.so
3116 cygwin
* | mingw
* |pw32
*)
3117 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3118 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3121 darwin
* | rhapsody
*)
3122 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3123 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3125 rhapsody
* | darwin1.012
)
3126 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3129 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3134 freebsd
* | kfreebsd
*-gnu)
3135 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3138 # Not sure whether the presence of OpenBSD here was a mistake.
3139 # Let's accept both of them until this is cleared up.
3140 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3141 lt_cv_file_magic_cmd
=/usr
/bin
/file
3142 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3146 lt_cv_deplibs_check_method
=pass_all
3151 lt_cv_deplibs_check_method
=pass_all
3157 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3158 lt_cv_file_magic_cmd
=/usr
/bin
/file
3159 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3162 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3163 lt_cv_file_magic_cmd
=/usr
/bin
/file
3164 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3172 # this will be overridden with pass_all, but let us keep it just in case
3173 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3177 *-32|
*"-32 ") libmagic
=32-bit;;
3178 *-n32|
*"-n32 ") libmagic
=N32
;;
3179 *-64|
*"-64 ") libmagic
=64-bit;;
3180 *) libmagic
=never-match
;;
3182 # this will be overridden with pass_all, but let us keep it just in case
3183 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3186 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3187 lt_cv_deplibs_check_method
=pass_all
3190 # This must be Linux ELF.
3193 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
3194 lt_cv_deplibs_check_method
=pass_all
;;
3196 # glibc up to 2.1.1 does not perform some relocations on ARM
3197 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3199 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3202 netbsd
* | knetbsd
*-gnu)
3203 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3204 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3206 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3211 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3212 lt_cv_file_magic_cmd
=/usr
/bin
/file
3213 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3216 osf3
* | osf4
* | osf5
*)
3217 # this will be overridden with pass_all, but let us keep it just in case
3218 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3219 lt_cv_file_magic_test_file
=/shlib
/libc.so
3220 lt_cv_deplibs_check_method
=pass_all
3224 lt_cv_deplibs_check_method
=pass_all
3228 lt_cv_deplibs_check_method
=pass_all
3229 lt_cv_file_magic_test_file
=/lib
/libc.so
3232 sysv5uw
[78]* | sysv4
*uw2
*)
3233 lt_cv_deplibs_check_method
=pass_all
3236 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3237 case $host_vendor in
3239 lt_cv_deplibs_check_method
=pass_all
3242 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]'
3243 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3250 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3251 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3252 file_magic_cmd
=$lt_cv_file_magic_cmd
3253 deplibs_check_method
=$lt_cv_deplibs_check_method
3258 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3260 # Only perform the check for file, if the check method requires it
3261 case $deplibs_check_method in
3263 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3264 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3265 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3266 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3267 echo $ECHO_N "(cached) $ECHO_C" >&6
3271 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3274 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3277 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3278 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3279 ac_dummy
="/usr/bin:$PATH"
3280 for ac_dir
in $ac_dummy; do
3281 test -z "$ac_dir" && ac_dir
=.
3282 if test -f $ac_dir/${ac_tool_prefix}file; then
3283 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3284 if test -n "$file_magic_test_file"; then
3285 case $deplibs_check_method in
3287 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3288 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3289 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3290 egrep "$file_magic_regex" > /dev
/null
; then
3295 *** Warning: the command libtool uses to detect shared libraries,
3296 *** $file_magic_cmd, produces output that libtool cannot recognize.
3297 *** The result is that libtool may fail to recognize shared libraries
3298 *** as such. This will affect the creation of libtool libraries that
3299 *** depend on shared libraries, but programs linked with such libtool
3300 *** libraries will work regardless of this problem. Nevertheless, you
3301 *** may want to report the problem to your system manager and/or to
3302 *** bug-libtool@gnu.org
3312 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3317 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3318 if test -n "$MAGIC_CMD"; then
3319 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3320 echo "${ECHO_T}$MAGIC_CMD" >&6
3322 echo "$as_me:$LINENO: result: no" >&5
3323 echo "${ECHO_T}no" >&6
3326 if test -z "$lt_cv_path_MAGIC_CMD"; then
3327 if test -n "$ac_tool_prefix"; then
3328 echo "$as_me:$LINENO: checking for file" >&5
3329 echo $ECHO_N "checking for file... $ECHO_C" >&6
3330 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3331 echo $ECHO_N "(cached) $ECHO_C" >&6
3335 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3338 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3341 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3342 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3343 ac_dummy
="/usr/bin:$PATH"
3344 for ac_dir
in $ac_dummy; do
3345 test -z "$ac_dir" && ac_dir
=.
3346 if test -f $ac_dir/file; then
3347 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3348 if test -n "$file_magic_test_file"; then
3349 case $deplibs_check_method in
3351 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3352 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3353 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3354 egrep "$file_magic_regex" > /dev
/null
; then
3359 *** Warning: the command libtool uses to detect shared libraries,
3360 *** $file_magic_cmd, produces output that libtool cannot recognize.
3361 *** The result is that libtool may fail to recognize shared libraries
3362 *** as such. This will affect the creation of libtool libraries that
3363 *** depend on shared libraries, but programs linked with such libtool
3364 *** libraries will work regardless of this problem. Nevertheless, you
3365 *** may want to report the problem to your system manager and/or to
3366 *** bug-libtool@gnu.org
3376 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3381 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3382 if test -n "$MAGIC_CMD"; then
3383 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3384 echo "${ECHO_T}$MAGIC_CMD" >&6
3386 echo "$as_me:$LINENO: result: no" >&5
3387 echo "${ECHO_T}no" >&6
3399 if test -n "$ac_tool_prefix"; then
3400 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3401 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3402 echo "$as_me:$LINENO: checking for $ac_word" >&5
3403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3404 if test "${ac_cv_prog_RANLIB+set}" = set; then
3405 echo $ECHO_N "(cached) $ECHO_C" >&6
3407 if test -n "$RANLIB"; then
3408 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3414 test -z "$as_dir" && as_dir
=.
3415 for ac_exec_ext
in '' $ac_executable_extensions; do
3416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3417 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3426 RANLIB
=$ac_cv_prog_RANLIB
3427 if test -n "$RANLIB"; then
3428 echo "$as_me:$LINENO: result: $RANLIB" >&5
3429 echo "${ECHO_T}$RANLIB" >&6
3431 echo "$as_me:$LINENO: result: no" >&5
3432 echo "${ECHO_T}no" >&6
3436 if test -z "$ac_cv_prog_RANLIB"; then
3437 ac_ct_RANLIB
=$RANLIB
3438 # Extract the first word of "ranlib", so it can be a program name with args.
3439 set dummy ranlib
; ac_word
=$2
3440 echo "$as_me:$LINENO: checking for $ac_word" >&5
3441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3442 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3443 echo $ECHO_N "(cached) $ECHO_C" >&6
3445 if test -n "$ac_ct_RANLIB"; then
3446 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3452 test -z "$as_dir" && as_dir
=.
3453 for ac_exec_ext
in '' $ac_executable_extensions; do
3454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3455 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3462 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3465 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3466 if test -n "$ac_ct_RANLIB"; then
3467 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3468 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3470 echo "$as_me:$LINENO: result: no" >&5
3471 echo "${ECHO_T}no" >&6
3474 RANLIB
=$ac_ct_RANLIB
3476 RANLIB
="$ac_cv_prog_RANLIB"
3479 if test -n "$ac_tool_prefix"; then
3480 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3481 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3482 echo "$as_me:$LINENO: checking for $ac_word" >&5
3483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3484 if test "${ac_cv_prog_STRIP+set}" = set; then
3485 echo $ECHO_N "(cached) $ECHO_C" >&6
3487 if test -n "$STRIP"; then
3488 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3494 test -z "$as_dir" && as_dir
=.
3495 for ac_exec_ext
in '' $ac_executable_extensions; do
3496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3497 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3506 STRIP
=$ac_cv_prog_STRIP
3507 if test -n "$STRIP"; then
3508 echo "$as_me:$LINENO: result: $STRIP" >&5
3509 echo "${ECHO_T}$STRIP" >&6
3511 echo "$as_me:$LINENO: result: no" >&5
3512 echo "${ECHO_T}no" >&6
3516 if test -z "$ac_cv_prog_STRIP"; then
3518 # Extract the first word of "strip", so it can be a program name with args.
3519 set dummy strip
; ac_word
=$2
3520 echo "$as_me:$LINENO: checking for $ac_word" >&5
3521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3522 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3523 echo $ECHO_N "(cached) $ECHO_C" >&6
3525 if test -n "$ac_ct_STRIP"; then
3526 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3532 test -z "$as_dir" && as_dir
=.
3533 for ac_exec_ext
in '' $ac_executable_extensions; do
3534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3535 ac_cv_prog_ac_ct_STRIP
="strip"
3536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3542 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3545 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3546 if test -n "$ac_ct_STRIP"; then
3547 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3548 echo "${ECHO_T}$ac_ct_STRIP" >&6
3550 echo "$as_me:$LINENO: result: no" >&5
3551 echo "${ECHO_T}no" >&6
3556 STRIP
="$ac_cv_prog_STRIP"
3560 # Check for any special flags to pass to ltconfig.
3561 libtool_flags
="--cache-file=$cache_file"
3562 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3563 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3564 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3565 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3566 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3569 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3570 if test "${enable_libtool_lock+set}" = set; then
3571 enableval
="$enable_libtool_lock"
3574 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3575 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3578 # Check whether --with-pic or --without-pic was given.
3579 if test "${with_pic+set}" = set; then
3585 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3586 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3588 # Some flags need to be propagated to the compiler or linker for good
3592 # Find out which ABI we are using.
3593 echo '#line 3593 "configure"' > conftest.
$ac_ext
3594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3595 (eval $ac_compile) 2>&5
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); }; then
3599 if test "$lt_cv_prog_gnu_ld" = yes; then
3600 case `/usr/bin/file conftest.$ac_objext` in
3602 LD
="${LD-ld} -melf32bsmip"
3605 LD
="${LD-ld} -melf32bmipn32"
3608 LD
="${LD-ld} -melf64bmip"
3612 case `/usr/bin/file conftest.$ac_objext` in
3629 # Find out which ABI we are using.
3630 echo 'int i;' > conftest.
$ac_ext
3631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3632 (eval $ac_compile) 2>&5
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); }; then
3636 case "`/usr/bin/file conftest.o`" in
3649 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3650 SAVE_CFLAGS
="$CFLAGS"
3651 CFLAGS
="$CFLAGS -belf"
3652 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3653 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3654 if test "${lt_cv_cc_needs_belf+set}" = set; then
3655 echo $ECHO_N "(cached) $ECHO_C" >&6
3660 ac_cpp
='$CPP $CPPFLAGS'
3661 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3662 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3663 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3665 cat >conftest.
$ac_ext <<_ACEOF
3668 cat confdefs.h
>>conftest.
$ac_ext
3669 cat >>conftest.
$ac_ext <<_ACEOF
3670 /* end confdefs.h. */
3680 rm -f conftest.
$ac_objext conftest
$ac_exeext
3681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3682 (eval $ac_link) 2>conftest.er1
3684 grep -v '^ *+' conftest.er1
>conftest.err
3686 cat conftest.err
>&5
3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688 (exit $ac_status); } &&
3689 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3694 (exit $ac_status); }; } &&
3695 { ac_try
='test -s conftest$ac_exeext'
3696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3700 (exit $ac_status); }; }; then
3701 lt_cv_cc_needs_belf
=yes
3703 echo "$as_me: failed program was:" >&5
3704 sed 's/^/| /' conftest.
$ac_ext >&5
3706 lt_cv_cc_needs_belf
=no
3708 rm -f conftest.err conftest.
$ac_objext \
3709 conftest
$ac_exeext conftest.
$ac_ext
3711 ac_cpp
='$CPP $CPPFLAGS'
3712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3717 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3718 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3719 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3720 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3721 CFLAGS
="$SAVE_CFLAGS"
3729 # Save cache, so that ltconfig can load it
3730 cat >confcache
<<\_ACEOF
3731 # This file is a shell script that caches the results of configure
3732 # tests run on this system so they can be shared between configure
3733 # scripts and configure runs, see configure's option --config-cache.
3734 # It is not useful on other systems. If it contains results you don't
3735 # want to keep, you may remove or edit it.
3737 # config.status only pays attention to the cache file if you give it
3738 # the --recheck option to rerun configure.
3740 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3741 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3746 # The following way of writing the cache mishandles newlines in values,
3747 # but we know of no workaround that is simple, portable, and efficient.
3748 # So, don't put newlines in cache variables' values.
3749 # Ultrix sh set writes to stderr and can't be redirected directly,
3750 # and sets the high bit in the cache file unless we assign to the vars.
3753 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3755 # `set' does not quote correctly, so add quotes (double-quote
3756 # substitution turns \\\\ into \\, and sed turns \\ into \).
3759 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3762 # `set' quotes correctly as required by POSIX, so do not add quotes.
3764 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3771 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3773 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3775 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3776 if test -w $cache_file; then
3777 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3778 cat confcache
>$cache_file
3780 echo "not updating unwritable cache $cache_file"
3785 # Actually configure libtool. ac_aux_dir is where install-sh is found.
3786 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
3787 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
3788 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
3789 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
3790 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
3791 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
3792 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
3793 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
3794 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
3795 echo "$as_me: error: libtool configure failed" >&2;}
3796 { (exit 1); exit 1; }; }
3798 # Reload cache, that may have been modified by ltconfig
3799 if test -r "$cache_file"; then
3800 # Some versions of bash will fail to source /dev/null (special
3801 # files actually), so we avoid doing that.
3802 if test -f "$cache_file"; then
3803 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
3804 echo "$as_me: loading cache $cache_file" >&6;}
3806 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
3807 *) . .
/$cache_file;;
3811 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
3812 echo "$as_me: creating cache $cache_file" >&6;}
3817 # This can be used to rebuild libtool when needed
3818 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
3820 # Always use our own libtool.
3821 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
3823 # Redirect the config.log output again, so that the ltconfig log is not
3824 # clobbered by the next message.
3825 exec 5>>.
/config.log
3833 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
3834 if test "${enable_64_bit_bfd+set}" = set; then
3835 enableval
="$enable_64_bit_bfd"
3836 case "${enableval}" in
3839 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
3840 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
3841 { (exit 1); exit 1; }; } ;;
3845 fi; # Check whether --enable-targets or --disable-targets was given.
3846 if test "${enable_targets+set}" = set; then
3847 enableval
="$enable_targets"
3848 case "${enableval}" in
3849 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
3850 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
3851 { (exit 1); exit 1; }; }
3853 no
) enable_targets
= ;;
3854 *) enable_targets
=$enableval ;;
3856 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
3857 if test "${enable_commonbfdlib+set}" = set; then
3858 enableval
="$enable_commonbfdlib"
3859 case "${enableval}" in
3860 yes) commonbfdlib
=true
;;
3861 no
) commonbfdlib
=false
;;
3862 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
3863 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
3864 { (exit 1); exit 1; }; } ;;
3867 # Check whether --with-mmap or --without-mmap was given.
3868 if test "${with_mmap+set}" = set; then
3869 withval
="$with_mmap"
3870 case "${withval}" in
3871 yes) want_mmap
=true
;;
3872 no
) want_mmap
=false
;;
3873 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
3874 echo "$as_me: error: bad value ${withval} for BFD with-mmap option" >&2;}
3875 { (exit 1); exit 1; }; } ;;
3880 build_warnings
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
3881 # Check whether --enable-build-warnings or --disable-build-warnings was given.
3882 if test "${enable_build_warnings+set}" = set; then
3883 enableval
="$enable_build_warnings"
3884 case "${enableval}" in
3886 no
) build_warnings
="-w";;
3887 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
3888 build_warnings
="${build_warnings} ${t}";;
3889 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
3890 build_warnings
="${t} ${build_warnings}";;
3891 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
3893 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
3894 echo "Setting warning flags = $build_warnings" 6>&1
3897 if test "x${build_warnings}" != x
&& test "x$GCC" = xyes
; then
3898 WARN_CFLAGS
="${build_warnings}"
3903 ac_config_headers
="$ac_config_headers config.h:config.in"
3905 ac_config_commands
="$ac_config_commands default-1"
3908 if test -z "$target" ; then
3909 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
3910 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
3911 { (exit 1); exit 1; }; }
3914 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3915 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3916 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3917 if test "${enable_maintainer_mode+set}" = set; then
3918 enableval
="$enable_maintainer_mode"
3919 USE_MAINTAINER_MODE
=$enableval
3921 USE_MAINTAINER_MODE
=no
3923 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3924 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3927 if test $USE_MAINTAINER_MODE = yes; then
3928 MAINTAINER_MODE_TRUE
=
3929 MAINTAINER_MODE_FALSE
='#'
3931 MAINTAINER_MODE_TRUE
='#'
3932 MAINTAINER_MODE_FALSE
=
3934 MAINT
=$MAINTAINER_MODE_TRUE
3937 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
3938 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
3939 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
3940 if test "${enable_install_libbfd+set}" = set; then
3941 enableval
="$enable_install_libbfd"
3942 install_libbfd_p
=$enableval
3944 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
3945 install_libbfd_p
=yes
3950 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
3951 echo "${ECHO_T}$install_libbfd_p" >&6
3954 if test $install_libbfd_p = yes; then
3955 INSTALL_LIBBFD_TRUE
=
3956 INSTALL_LIBBFD_FALSE
='#'
3958 INSTALL_LIBBFD_TRUE
='#'
3959 INSTALL_LIBBFD_FALSE
=
3961 # Need _noncanonical variables for this.
3962 ACX_HOST_NONCANONICAL
3963 ACX_TARGET_NONCANONICAL
3964 # libbfd.a is a host library containing target dependent code
3965 bfdlibdir
='$(libdir)'
3966 bfdincludedir
='$(includedir)'
3967 if test "${host}" != "${target}"; then
3968 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
3969 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
3979 bfd_default_target_size
=32
3984 ac_cpp
='$CPP $CPPFLAGS'
3985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3988 if test -n "$ac_tool_prefix"; then
3989 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3990 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3991 echo "$as_me:$LINENO: checking for $ac_word" >&5
3992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3993 if test "${ac_cv_prog_CC+set}" = set; then
3994 echo $ECHO_N "(cached) $ECHO_C" >&6
3996 if test -n "$CC"; then
3997 ac_cv_prog_CC
="$CC" # Let the user override the test.
3999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4003 test -z "$as_dir" && as_dir
=.
4004 for ac_exec_ext
in '' $ac_executable_extensions; do
4005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4006 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4016 if test -n "$CC"; then
4017 echo "$as_me:$LINENO: result: $CC" >&5
4018 echo "${ECHO_T}$CC" >&6
4020 echo "$as_me:$LINENO: result: no" >&5
4021 echo "${ECHO_T}no" >&6
4025 if test -z "$ac_cv_prog_CC"; then
4027 # Extract the first word of "gcc", so it can be a program name with args.
4028 set dummy gcc
; ac_word
=$2
4029 echo "$as_me:$LINENO: checking for $ac_word" >&5
4030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4031 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4032 echo $ECHO_N "(cached) $ECHO_C" >&6
4034 if test -n "$ac_ct_CC"; then
4035 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4041 test -z "$as_dir" && as_dir
=.
4042 for ac_exec_ext
in '' $ac_executable_extensions; do
4043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4044 ac_cv_prog_ac_ct_CC
="gcc"
4045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4053 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4054 if test -n "$ac_ct_CC"; then
4055 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4056 echo "${ECHO_T}$ac_ct_CC" >&6
4058 echo "$as_me:$LINENO: result: no" >&5
4059 echo "${ECHO_T}no" >&6
4067 if test -z "$CC"; then
4068 if test -n "$ac_tool_prefix"; then
4069 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4070 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4071 echo "$as_me:$LINENO: checking for $ac_word" >&5
4072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4073 if test "${ac_cv_prog_CC+set}" = set; then
4074 echo $ECHO_N "(cached) $ECHO_C" >&6
4076 if test -n "$CC"; then
4077 ac_cv_prog_CC
="$CC" # Let the user override the test.
4079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4083 test -z "$as_dir" && as_dir
=.
4084 for ac_exec_ext
in '' $ac_executable_extensions; do
4085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4086 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4096 if test -n "$CC"; then
4097 echo "$as_me:$LINENO: result: $CC" >&5
4098 echo "${ECHO_T}$CC" >&6
4100 echo "$as_me:$LINENO: result: no" >&5
4101 echo "${ECHO_T}no" >&6
4105 if test -z "$ac_cv_prog_CC"; then
4107 # Extract the first word of "cc", so it can be a program name with args.
4108 set dummy cc
; ac_word
=$2
4109 echo "$as_me:$LINENO: checking for $ac_word" >&5
4110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4111 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4112 echo $ECHO_N "(cached) $ECHO_C" >&6
4114 if test -n "$ac_ct_CC"; then
4115 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4121 test -z "$as_dir" && as_dir
=.
4122 for ac_exec_ext
in '' $ac_executable_extensions; do
4123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4124 ac_cv_prog_ac_ct_CC
="cc"
4125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4133 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4134 if test -n "$ac_ct_CC"; then
4135 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4136 echo "${ECHO_T}$ac_ct_CC" >&6
4138 echo "$as_me:$LINENO: result: no" >&5
4139 echo "${ECHO_T}no" >&6
4148 if test -z "$CC"; then
4149 # Extract the first word of "cc", so it can be a program name with args.
4150 set dummy cc
; ac_word
=$2
4151 echo "$as_me:$LINENO: checking for $ac_word" >&5
4152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4153 if test "${ac_cv_prog_CC+set}" = set; then
4154 echo $ECHO_N "(cached) $ECHO_C" >&6
4156 if test -n "$CC"; then
4157 ac_cv_prog_CC
="$CC" # Let the user override the test.
4160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4164 test -z "$as_dir" && as_dir
=.
4165 for ac_exec_ext
in '' $ac_executable_extensions; do
4166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4167 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4168 ac_prog_rejected
=yes
4172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4178 if test $ac_prog_rejected = yes; then
4179 # We found a bogon in the path, so make sure we never use it.
4180 set dummy
$ac_cv_prog_CC
4182 if test $# != 0; then
4183 # We chose a different compiler from the bogus one.
4184 # However, it has the same basename, so the bogon will be chosen
4185 # first if we set CC to just the basename; use the full file name.
4187 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4193 if test -n "$CC"; then
4194 echo "$as_me:$LINENO: result: $CC" >&5
4195 echo "${ECHO_T}$CC" >&6
4197 echo "$as_me:$LINENO: result: no" >&5
4198 echo "${ECHO_T}no" >&6
4202 if test -z "$CC"; then
4203 if test -n "$ac_tool_prefix"; then
4206 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4207 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4208 echo "$as_me:$LINENO: checking for $ac_word" >&5
4209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4210 if test "${ac_cv_prog_CC+set}" = set; then
4211 echo $ECHO_N "(cached) $ECHO_C" >&6
4213 if test -n "$CC"; then
4214 ac_cv_prog_CC
="$CC" # Let the user override the test.
4216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4220 test -z "$as_dir" && as_dir
=.
4221 for ac_exec_ext
in '' $ac_executable_extensions; do
4222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4223 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4233 if test -n "$CC"; then
4234 echo "$as_me:$LINENO: result: $CC" >&5
4235 echo "${ECHO_T}$CC" >&6
4237 echo "$as_me:$LINENO: result: no" >&5
4238 echo "${ECHO_T}no" >&6
4241 test -n "$CC" && break
4244 if test -z "$CC"; then
4248 # Extract the first word of "$ac_prog", so it can be a program name with args.
4249 set dummy
$ac_prog; ac_word
=$2
4250 echo "$as_me:$LINENO: checking for $ac_word" >&5
4251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4252 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4253 echo $ECHO_N "(cached) $ECHO_C" >&6
4255 if test -n "$ac_ct_CC"; then
4256 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4262 test -z "$as_dir" && as_dir
=.
4263 for ac_exec_ext
in '' $ac_executable_extensions; do
4264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4265 ac_cv_prog_ac_ct_CC
="$ac_prog"
4266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4274 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4275 if test -n "$ac_ct_CC"; then
4276 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4277 echo "${ECHO_T}$ac_ct_CC" >&6
4279 echo "$as_me:$LINENO: result: no" >&5
4280 echo "${ECHO_T}no" >&6
4283 test -n "$ac_ct_CC" && break
4292 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4293 See \`config.log' for more details." >&5
4294 echo "$as_me: error: no acceptable C compiler found in \$PATH
4295 See \`config.log' for more details." >&2;}
4296 { (exit 1); exit 1; }; }
4298 # Provide some information about the compiler.
4299 echo "$as_me:$LINENO:" \
4300 "checking for C compiler version" >&5
4301 ac_compiler
=`set X $ac_compile; echo $2`
4302 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4303 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4306 (exit $ac_status); }
4307 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4308 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); }
4312 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4313 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316 (exit $ac_status); }
4318 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4319 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4320 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4321 echo $ECHO_N "(cached) $ECHO_C" >&6
4323 cat >conftest.
$ac_ext <<_ACEOF
4326 cat confdefs.h
>>conftest.
$ac_ext
4327 cat >>conftest.
$ac_ext <<_ACEOF
4328 /* end confdefs.h. */
4341 rm -f conftest.
$ac_objext
4342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4343 (eval $ac_compile) 2>conftest.er1
4345 grep -v '^ *+' conftest.er1
>conftest.err
4347 cat conftest.err
>&5
4348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4349 (exit $ac_status); } &&
4350 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4355 (exit $ac_status); }; } &&
4356 { ac_try
='test -s conftest.$ac_objext'
4357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); }; }; then
4364 echo "$as_me: failed program was:" >&5
4365 sed 's/^/| /' conftest.
$ac_ext >&5
4369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4370 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4373 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4374 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4375 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4376 ac_test_CFLAGS
=${CFLAGS+set}
4377 ac_save_CFLAGS
=$CFLAGS
4379 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4380 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4381 if test "${ac_cv_prog_cc_g+set}" = set; then
4382 echo $ECHO_N "(cached) $ECHO_C" >&6
4384 cat >conftest.
$ac_ext <<_ACEOF
4387 cat confdefs.h
>>conftest.
$ac_ext
4388 cat >>conftest.
$ac_ext <<_ACEOF
4389 /* end confdefs.h. */
4399 rm -f conftest.
$ac_objext
4400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4401 (eval $ac_compile) 2>conftest.er1
4403 grep -v '^ *+' conftest.er1
>conftest.err
4405 cat conftest.err
>&5
4406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4407 (exit $ac_status); } &&
4408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4413 (exit $ac_status); }; } &&
4414 { ac_try
='test -s conftest.$ac_objext'
4415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419 (exit $ac_status); }; }; then
4422 echo "$as_me: failed program was:" >&5
4423 sed 's/^/| /' conftest.
$ac_ext >&5
4427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4429 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4430 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4431 if test "$ac_test_CFLAGS" = set; then
4432 CFLAGS
=$ac_save_CFLAGS
4433 elif test $ac_cv_prog_cc_g = yes; then
4434 if test "$GCC" = yes; then
4440 if test "$GCC" = yes; then
4446 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4447 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4448 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4449 echo $ECHO_N "(cached) $ECHO_C" >&6
4451 ac_cv_prog_cc_stdc
=no
4453 cat >conftest.
$ac_ext <<_ACEOF
4456 cat confdefs.h
>>conftest.
$ac_ext
4457 cat >>conftest.
$ac_ext <<_ACEOF
4458 /* end confdefs.h. */
4461 #include <sys/types.h>
4462 #include <sys/stat.h>
4463 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4464 struct buf { int x; };
4465 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4466 static char *e (p, i)
4472 static char *f (char * (*g) (char **, int), char **p, ...)
4477 s = g (p, va_arg (v,int));
4482 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4483 function prototypes and stuff, but not '\xHH' hex character constants.
4484 These don't provoke an error unfortunately, instead are silently treated
4485 as 'x'. The following induces an error, until -std1 is added to get
4486 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4487 array size at least. It's necessary to write '\x00'==0 to get something
4488 that's true only with -std1. */
4489 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4491 int test (int i, double x);
4492 struct s1 {int (*f) (int a);};
4493 struct s2 {int (*f) (double a);};
4494 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4500 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4505 # Don't try gcc -ansi; that turns off useful extensions and
4506 # breaks some systems' header files.
4507 # AIX -qlanglvl=ansi
4508 # Ultrix and OSF/1 -std1
4509 # HP-UX 10.20 and later -Ae
4510 # HP-UX older versions -Aa -D_HPUX_SOURCE
4511 # SVR4 -Xc -D__EXTENSIONS__
4512 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4514 CC
="$ac_save_CC $ac_arg"
4515 rm -f conftest.
$ac_objext
4516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4517 (eval $ac_compile) 2>conftest.er1
4519 grep -v '^ *+' conftest.er1
>conftest.err
4521 cat conftest.err
>&5
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); } &&
4524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4529 (exit $ac_status); }; } &&
4530 { ac_try
='test -s conftest.$ac_objext'
4531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4535 (exit $ac_status); }; }; then
4536 ac_cv_prog_cc_stdc
=$ac_arg
4539 echo "$as_me: failed program was:" >&5
4540 sed 's/^/| /' conftest.
$ac_ext >&5
4543 rm -f conftest.err conftest.
$ac_objext
4545 rm -f conftest.
$ac_ext conftest.
$ac_objext
4550 case "x$ac_cv_prog_cc_stdc" in
4552 echo "$as_me:$LINENO: result: none needed" >&5
4553 echo "${ECHO_T}none needed" >&6 ;;
4555 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4556 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4557 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4560 # Some people use a C++ compiler to compile C. Since we use `exit',
4561 # in C++ we need to declare it. In case someone uses the same compiler
4562 # for both compiling C and C++ we need to have the C++ compiler decide
4563 # the declaration of exit, since it's the most demanding environment.
4564 cat >conftest.
$ac_ext <<_ACEOF
4569 rm -f conftest.
$ac_objext
4570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4571 (eval $ac_compile) 2>conftest.er1
4573 grep -v '^ *+' conftest.er1
>conftest.err
4575 cat conftest.err
>&5
4576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577 (exit $ac_status); } &&
4578 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583 (exit $ac_status); }; } &&
4584 { ac_try
='test -s conftest.$ac_objext'
4585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); }; }; then
4590 for ac_declaration
in \
4592 'extern "C" void std::exit (int) throw (); using std::exit;' \
4593 'extern "C" void std::exit (int); using std::exit;' \
4594 'extern "C" void exit (int) throw ();' \
4595 'extern "C" void exit (int);' \
4598 cat >conftest.
$ac_ext <<_ACEOF
4601 cat confdefs.h
>>conftest.
$ac_ext
4602 cat >>conftest.
$ac_ext <<_ACEOF
4603 /* end confdefs.h. */
4614 rm -f conftest.
$ac_objext
4615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4616 (eval $ac_compile) 2>conftest.er1
4618 grep -v '^ *+' conftest.er1
>conftest.err
4620 cat conftest.err
>&5
4621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622 (exit $ac_status); } &&
4623 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628 (exit $ac_status); }; } &&
4629 { ac_try
='test -s conftest.$ac_objext'
4630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); }; }; then
4637 echo "$as_me: failed program was:" >&5
4638 sed 's/^/| /' conftest.
$ac_ext >&5
4642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4643 cat >conftest.
$ac_ext <<_ACEOF
4646 cat confdefs.h
>>conftest.
$ac_ext
4647 cat >>conftest.
$ac_ext <<_ACEOF
4648 /* end confdefs.h. */
4658 rm -f conftest.
$ac_objext
4659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4660 (eval $ac_compile) 2>conftest.er1
4662 grep -v '^ *+' conftest.er1
>conftest.err
4664 cat conftest.err
>&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); } &&
4667 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); }; } &&
4673 { ac_try
='test -s conftest.$ac_objext'
4674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678 (exit $ac_status); }; }; then
4681 echo "$as_me: failed program was:" >&5
4682 sed 's/^/| /' conftest.
$ac_ext >&5
4685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4688 if test -n "$ac_declaration"; then
4689 echo '#ifdef __cplusplus' >>confdefs.h
4690 echo $ac_declaration >>confdefs.h
4691 echo '#endif' >>confdefs.h
4695 echo "$as_me: failed program was:" >&5
4696 sed 's/^/| /' conftest.
$ac_ext >&5
4699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4701 ac_cpp
='$CPP $CPPFLAGS'
4702 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4703 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4704 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4707 ALL_LINGUAS
="fr tr ja es sv da zh_CN ro"
4708 if test -n "$ac_tool_prefix"; then
4709 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4710 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4711 echo "$as_me:$LINENO: checking for $ac_word" >&5
4712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4713 if test "${ac_cv_prog_RANLIB+set}" = set; then
4714 echo $ECHO_N "(cached) $ECHO_C" >&6
4716 if test -n "$RANLIB"; then
4717 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4723 test -z "$as_dir" && as_dir
=.
4724 for ac_exec_ext
in '' $ac_executable_extensions; do
4725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4726 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4735 RANLIB
=$ac_cv_prog_RANLIB
4736 if test -n "$RANLIB"; then
4737 echo "$as_me:$LINENO: result: $RANLIB" >&5
4738 echo "${ECHO_T}$RANLIB" >&6
4740 echo "$as_me:$LINENO: result: no" >&5
4741 echo "${ECHO_T}no" >&6
4745 if test -z "$ac_cv_prog_RANLIB"; then
4746 ac_ct_RANLIB
=$RANLIB
4747 # Extract the first word of "ranlib", so it can be a program name with args.
4748 set dummy ranlib
; ac_word
=$2
4749 echo "$as_me:$LINENO: checking for $ac_word" >&5
4750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4751 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4752 echo $ECHO_N "(cached) $ECHO_C" >&6
4754 if test -n "$ac_ct_RANLIB"; then
4755 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4761 test -z "$as_dir" && as_dir
=.
4762 for ac_exec_ext
in '' $ac_executable_extensions; do
4763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4764 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4771 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4774 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4775 if test -n "$ac_ct_RANLIB"; then
4776 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4777 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4779 echo "$as_me:$LINENO: result: no" >&5
4780 echo "${ECHO_T}no" >&6
4783 RANLIB
=$ac_ct_RANLIB
4785 RANLIB
="$ac_cv_prog_RANLIB"
4789 ac_cpp
='$CPP $CPPFLAGS'
4790 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4791 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4792 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4793 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4794 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4795 # On Suns, sometimes $CPP names a directory.
4796 if test -n "$CPP" && test -d "$CPP"; then
4799 if test -z "$CPP"; then
4800 if test "${ac_cv_prog_CPP+set}" = set; then
4801 echo $ECHO_N "(cached) $ECHO_C" >&6
4803 # Double quotes because CPP needs to be expanded
4804 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4807 for ac_c_preproc_warn_flag
in '' yes
4809 # Use a header file that comes with gcc, so configuring glibc
4810 # with a fresh cross-compiler works.
4811 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4812 # <limits.h> exists even on freestanding compilers.
4813 # On the NeXT, cc -E runs the code through the compiler's parser,
4814 # not just through cpp. "Syntax error" is here to catch this case.
4815 cat >conftest.
$ac_ext <<_ACEOF
4818 cat confdefs.h
>>conftest.
$ac_ext
4819 cat >>conftest.
$ac_ext <<_ACEOF
4820 /* end confdefs.h. */
4822 # include <limits.h>
4824 # include <assert.h>
4828 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4829 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4831 grep -v '^ *+' conftest.er1
>conftest.err
4833 cat conftest.err
>&5
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); } >/dev
/null
; then
4836 if test -s conftest.err
; then
4837 ac_cpp_err
=$ac_c_preproc_warn_flag
4838 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4845 if test -z "$ac_cpp_err"; then
4848 echo "$as_me: failed program was:" >&5
4849 sed 's/^/| /' conftest.
$ac_ext >&5
4851 # Broken: fails on valid input.
4854 rm -f conftest.err conftest.
$ac_ext
4856 # OK, works on sane cases. Now check whether non-existent headers
4857 # can be detected and how.
4858 cat >conftest.
$ac_ext <<_ACEOF
4861 cat confdefs.h
>>conftest.
$ac_ext
4862 cat >>conftest.
$ac_ext <<_ACEOF
4863 /* end confdefs.h. */
4864 #include <ac_nonexistent.h>
4866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4867 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4869 grep -v '^ *+' conftest.er1
>conftest.err
4871 cat conftest.err
>&5
4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); } >/dev
/null
; then
4874 if test -s conftest.err
; then
4875 ac_cpp_err
=$ac_c_preproc_warn_flag
4876 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4883 if test -z "$ac_cpp_err"; then
4884 # Broken: success on invalid input.
4887 echo "$as_me: failed program was:" >&5
4888 sed 's/^/| /' conftest.
$ac_ext >&5
4890 # Passes both tests.
4894 rm -f conftest.err conftest.
$ac_ext
4897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4898 rm -f conftest.err conftest.
$ac_ext
4899 if $ac_preproc_ok; then
4911 echo "$as_me:$LINENO: result: $CPP" >&5
4912 echo "${ECHO_T}$CPP" >&6
4914 for ac_c_preproc_warn_flag
in '' yes
4916 # Use a header file that comes with gcc, so configuring glibc
4917 # with a fresh cross-compiler works.
4918 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4919 # <limits.h> exists even on freestanding compilers.
4920 # On the NeXT, cc -E runs the code through the compiler's parser,
4921 # not just through cpp. "Syntax error" is here to catch this case.
4922 cat >conftest.
$ac_ext <<_ACEOF
4925 cat confdefs.h
>>conftest.
$ac_ext
4926 cat >>conftest.
$ac_ext <<_ACEOF
4927 /* end confdefs.h. */
4929 # include <limits.h>
4931 # include <assert.h>
4935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4936 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4938 grep -v '^ *+' conftest.er1
>conftest.err
4940 cat conftest.err
>&5
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); } >/dev
/null
; then
4943 if test -s conftest.err
; then
4944 ac_cpp_err
=$ac_c_preproc_warn_flag
4945 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4952 if test -z "$ac_cpp_err"; then
4955 echo "$as_me: failed program was:" >&5
4956 sed 's/^/| /' conftest.
$ac_ext >&5
4958 # Broken: fails on valid input.
4961 rm -f conftest.err conftest.
$ac_ext
4963 # OK, works on sane cases. Now check whether non-existent headers
4964 # can be detected and how.
4965 cat >conftest.
$ac_ext <<_ACEOF
4968 cat confdefs.h
>>conftest.
$ac_ext
4969 cat >>conftest.
$ac_ext <<_ACEOF
4970 /* end confdefs.h. */
4971 #include <ac_nonexistent.h>
4973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4974 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4976 grep -v '^ *+' conftest.er1
>conftest.err
4978 cat conftest.err
>&5
4979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4980 (exit $ac_status); } >/dev
/null
; then
4981 if test -s conftest.err
; then
4982 ac_cpp_err
=$ac_c_preproc_warn_flag
4983 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4990 if test -z "$ac_cpp_err"; then
4991 # Broken: success on invalid input.
4994 echo "$as_me: failed program was:" >&5
4995 sed 's/^/| /' conftest.
$ac_ext >&5
4997 # Passes both tests.
5001 rm -f conftest.err conftest.
$ac_ext
5004 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5005 rm -f conftest.err conftest.
$ac_ext
5006 if $ac_preproc_ok; then
5009 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5010 See \`config.log' for more details." >&5
5011 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5012 See \`config.log' for more details." >&2;}
5013 { (exit 1); exit 1; }; }
5017 ac_cpp
='$CPP $CPPFLAGS'
5018 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5019 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5020 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5023 echo "$as_me:$LINENO: checking for egrep" >&5
5024 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5025 if test "${ac_cv_prog_egrep+set}" = set; then
5026 echo $ECHO_N "(cached) $ECHO_C" >&6
5028 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5029 then ac_cv_prog_egrep
='grep -E'
5030 else ac_cv_prog_egrep
='egrep'
5033 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5034 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5035 EGREP
=$ac_cv_prog_egrep
5038 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5039 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5040 if test "${ac_cv_header_stdc+set}" = set; then
5041 echo $ECHO_N "(cached) $ECHO_C" >&6
5043 cat >conftest.
$ac_ext <<_ACEOF
5046 cat confdefs.h
>>conftest.
$ac_ext
5047 cat >>conftest.
$ac_ext <<_ACEOF
5048 /* end confdefs.h. */
5062 rm -f conftest.
$ac_objext
5063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5064 (eval $ac_compile) 2>conftest.er1
5066 grep -v '^ *+' conftest.er1
>conftest.err
5068 cat conftest.err
>&5
5069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070 (exit $ac_status); } &&
5071 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5076 (exit $ac_status); }; } &&
5077 { ac_try
='test -s conftest.$ac_objext'
5078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082 (exit $ac_status); }; }; then
5083 ac_cv_header_stdc
=yes
5085 echo "$as_me: failed program was:" >&5
5086 sed 's/^/| /' conftest.
$ac_ext >&5
5088 ac_cv_header_stdc
=no
5090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5092 if test $ac_cv_header_stdc = yes; then
5093 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5094 cat >conftest.
$ac_ext <<_ACEOF
5097 cat confdefs.h
>>conftest.
$ac_ext
5098 cat >>conftest.
$ac_ext <<_ACEOF
5099 /* end confdefs.h. */
5103 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5104 $EGREP "memchr" >/dev
/null
2>&1; then
5107 ac_cv_header_stdc
=no
5113 if test $ac_cv_header_stdc = yes; then
5114 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5115 cat >conftest.
$ac_ext <<_ACEOF
5118 cat confdefs.h
>>conftest.
$ac_ext
5119 cat >>conftest.
$ac_ext <<_ACEOF
5120 /* end confdefs.h. */
5124 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5125 $EGREP "free" >/dev
/null
2>&1; then
5128 ac_cv_header_stdc
=no
5134 if test $ac_cv_header_stdc = yes; then
5135 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5136 if test "$cross_compiling" = yes; then
5139 cat >conftest.
$ac_ext <<_ACEOF
5142 cat confdefs.h
>>conftest.
$ac_ext
5143 cat >>conftest.
$ac_ext <<_ACEOF
5144 /* end confdefs.h. */
5146 #if ((' ' & 0x0FF) == 0x020)
5147 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5148 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5150 # define ISLOWER(c) \
5151 (('a' <= (c) && (c) <= 'i') \
5152 || ('j' <= (c) && (c) <= 'r') \
5153 || ('s' <= (c) && (c) <= 'z'))
5154 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5157 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5162 for (i = 0; i < 256; i++)
5163 if (XOR (islower (i), ISLOWER (i))
5164 || toupper (i) != TOUPPER (i))
5169 rm -f conftest
$ac_exeext
5170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5171 (eval $ac_link) 2>&5
5173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5174 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5179 (exit $ac_status); }; }; then
5182 echo "$as_me: program exited with status $ac_status" >&5
5183 echo "$as_me: failed program was:" >&5
5184 sed 's/^/| /' conftest.
$ac_ext >&5
5187 ac_cv_header_stdc
=no
5189 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5193 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5194 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5195 if test $ac_cv_header_stdc = yes; then
5197 cat >>confdefs.h
<<\_ACEOF
5198 #define STDC_HEADERS 1
5203 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5204 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5205 if test "${ac_cv_c_const+set}" = set; then
5206 echo $ECHO_N "(cached) $ECHO_C" >&6
5208 cat >conftest.
$ac_ext <<_ACEOF
5211 cat confdefs.h
>>conftest.
$ac_ext
5212 cat >>conftest.
$ac_ext <<_ACEOF
5213 /* end confdefs.h. */
5218 /* FIXME: Include the comments suggested by Paul. */
5220 /* Ultrix mips cc rejects this. */
5221 typedef int charset[2];
5223 /* SunOS 4.1.1 cc rejects this. */
5224 char const *const *ccp;
5226 /* NEC SVR4.0.2 mips cc rejects this. */
5227 struct point {int x, y;};
5228 static struct point const zero = {0,0};
5229 /* AIX XL C 1.02.0.0 rejects this.
5230 It does not let you subtract one const X* pointer from another in
5231 an arm of an if-expression whose if-part is not a constant
5233 const char *g = "string";
5234 ccp = &g + (g ? g-g : 0);
5235 /* HPUX 7.0 cc rejects these. */
5238 ccp = (char const *const *) p;
5239 { /* SCO 3.2v4 cc rejects this. */
5241 char const *s = 0 ? (char *) 0 : (char const *) 0;
5245 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5247 const int *foo = &x[0];
5250 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5251 typedef const int *iptr;
5255 { /* AIX XL C 1.02.0.0 rejects this saying
5256 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5257 struct s { int j; const int *ap[3]; };
5258 struct s *b; b->j = 5;
5260 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5269 rm -f conftest.
$ac_objext
5270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5271 (eval $ac_compile) 2>conftest.er1
5273 grep -v '^ *+' conftest.er1
>conftest.err
5275 cat conftest.err
>&5
5276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277 (exit $ac_status); } &&
5278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5283 (exit $ac_status); }; } &&
5284 { ac_try
='test -s conftest.$ac_objext'
5285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289 (exit $ac_status); }; }; then
5292 echo "$as_me: failed program was:" >&5
5293 sed 's/^/| /' conftest.
$ac_ext >&5
5297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5299 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5300 echo "${ECHO_T}$ac_cv_c_const" >&6
5301 if test $ac_cv_c_const = no
; then
5303 cat >>confdefs.h
<<\_ACEOF
5309 echo "$as_me:$LINENO: checking for inline" >&5
5310 echo $ECHO_N "checking for inline... $ECHO_C" >&6
5311 if test "${ac_cv_c_inline+set}" = set; then
5312 echo $ECHO_N "(cached) $ECHO_C" >&6
5315 for ac_kw
in inline __inline__ __inline
; do
5316 cat >conftest.
$ac_ext <<_ACEOF
5319 cat confdefs.h
>>conftest.
$ac_ext
5320 cat >>conftest.
$ac_ext <<_ACEOF
5321 /* end confdefs.h. */
5324 static $ac_kw foo_t static_foo () {return 0; }
5325 $ac_kw foo_t foo () {return 0; }
5329 rm -f conftest.
$ac_objext
5330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5331 (eval $ac_compile) 2>conftest.er1
5333 grep -v '^ *+' conftest.er1
>conftest.err
5335 cat conftest.err
>&5
5336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337 (exit $ac_status); } &&
5338 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); }; } &&
5344 { ac_try
='test -s conftest.$ac_objext'
5345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); }; }; then
5350 ac_cv_c_inline
=$ac_kw; break
5352 echo "$as_me: failed program was:" >&5
5353 sed 's/^/| /' conftest.
$ac_ext >&5
5356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5360 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5361 echo "${ECHO_T}$ac_cv_c_inline" >&6
5364 case $ac_cv_c_inline in
5367 case $ac_cv_c_inline in
5369 *) ac_val
=$ac_cv_c_inline;;
5371 cat >>confdefs.h
<<_ACEOF
5373 #define inline $ac_val
5379 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5389 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5390 inttypes.h stdint.h unistd.h
5392 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5393 echo "$as_me:$LINENO: checking for $ac_header" >&5
5394 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5396 echo $ECHO_N "(cached) $ECHO_C" >&6
5398 cat >conftest.
$ac_ext <<_ACEOF
5401 cat confdefs.h
>>conftest.
$ac_ext
5402 cat >>conftest.
$ac_ext <<_ACEOF
5403 /* end confdefs.h. */
5404 $ac_includes_default
5406 #include <$ac_header>
5408 rm -f conftest.
$ac_objext
5409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5410 (eval $ac_compile) 2>conftest.er1
5412 grep -v '^ *+' conftest.er1
>conftest.err
5414 cat conftest.err
>&5
5415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416 (exit $ac_status); } &&
5417 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422 (exit $ac_status); }; } &&
5423 { ac_try
='test -s conftest.$ac_objext'
5424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5428 (exit $ac_status); }; }; then
5429 eval "$as_ac_Header=yes"
5431 echo "$as_me: failed program was:" >&5
5432 sed 's/^/| /' conftest.
$ac_ext >&5
5434 eval "$as_ac_Header=no"
5436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5439 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5440 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5441 cat >>confdefs.h
<<_ACEOF
5442 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5450 echo "$as_me:$LINENO: checking for off_t" >&5
5451 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5452 if test "${ac_cv_type_off_t+set}" = set; then
5453 echo $ECHO_N "(cached) $ECHO_C" >&6
5455 cat >conftest.
$ac_ext <<_ACEOF
5458 cat confdefs.h
>>conftest.
$ac_ext
5459 cat >>conftest.
$ac_ext <<_ACEOF
5460 /* end confdefs.h. */
5461 $ac_includes_default
5473 rm -f conftest.
$ac_objext
5474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5475 (eval $ac_compile) 2>conftest.er1
5477 grep -v '^ *+' conftest.er1
>conftest.err
5479 cat conftest.err
>&5
5480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481 (exit $ac_status); } &&
5482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5487 (exit $ac_status); }; } &&
5488 { ac_try
='test -s conftest.$ac_objext'
5489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5493 (exit $ac_status); }; }; then
5494 ac_cv_type_off_t
=yes
5496 echo "$as_me: failed program was:" >&5
5497 sed 's/^/| /' conftest.
$ac_ext >&5
5501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5503 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5504 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5505 if test $ac_cv_type_off_t = yes; then
5509 cat >>confdefs.h
<<_ACEOF
5515 echo "$as_me:$LINENO: checking for size_t" >&5
5516 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5517 if test "${ac_cv_type_size_t+set}" = set; then
5518 echo $ECHO_N "(cached) $ECHO_C" >&6
5520 cat >conftest.
$ac_ext <<_ACEOF
5523 cat confdefs.h
>>conftest.
$ac_ext
5524 cat >>conftest.
$ac_ext <<_ACEOF
5525 /* end confdefs.h. */
5526 $ac_includes_default
5532 if (sizeof (size_t))
5538 rm -f conftest.
$ac_objext
5539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5540 (eval $ac_compile) 2>conftest.er1
5542 grep -v '^ *+' conftest.er1
>conftest.err
5544 cat conftest.err
>&5
5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); } &&
5547 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); }; } &&
5553 { ac_try
='test -s conftest.$ac_objext'
5554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558 (exit $ac_status); }; }; then
5559 ac_cv_type_size_t
=yes
5561 echo "$as_me: failed program was:" >&5
5562 sed 's/^/| /' conftest.
$ac_ext >&5
5564 ac_cv_type_size_t
=no
5566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5568 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5569 echo "${ECHO_T}$ac_cv_type_size_t" >&6
5570 if test $ac_cv_type_size_t = yes; then
5574 cat >>confdefs.h
<<_ACEOF
5575 #define size_t unsigned
5580 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5581 # for constant arguments. Useless!
5582 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5583 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5584 if test "${ac_cv_working_alloca_h+set}" = set; then
5585 echo $ECHO_N "(cached) $ECHO_C" >&6
5587 cat >conftest.
$ac_ext <<_ACEOF
5590 cat confdefs.h
>>conftest.
$ac_ext
5591 cat >>conftest.
$ac_ext <<_ACEOF
5592 /* end confdefs.h. */
5597 char *p = (char *) alloca (2 * sizeof (int));
5602 rm -f conftest.
$ac_objext conftest
$ac_exeext
5603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5604 (eval $ac_link) 2>conftest.er1
5606 grep -v '^ *+' conftest.er1
>conftest.err
5608 cat conftest.err
>&5
5609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5610 (exit $ac_status); } &&
5611 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5616 (exit $ac_status); }; } &&
5617 { ac_try
='test -s conftest$ac_exeext'
5618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); }; }; then
5623 ac_cv_working_alloca_h
=yes
5625 echo "$as_me: failed program was:" >&5
5626 sed 's/^/| /' conftest.
$ac_ext >&5
5628 ac_cv_working_alloca_h
=no
5630 rm -f conftest.err conftest.
$ac_objext \
5631 conftest
$ac_exeext conftest.
$ac_ext
5633 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5634 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5635 if test $ac_cv_working_alloca_h = yes; then
5637 cat >>confdefs.h
<<\_ACEOF
5638 #define HAVE_ALLOCA_H 1
5643 echo "$as_me:$LINENO: checking for alloca" >&5
5644 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5645 if test "${ac_cv_func_alloca_works+set}" = set; then
5646 echo $ECHO_N "(cached) $ECHO_C" >&6
5648 cat >conftest.
$ac_ext <<_ACEOF
5651 cat confdefs.h
>>conftest.
$ac_ext
5652 cat >>conftest.
$ac_ext <<_ACEOF
5653 /* end confdefs.h. */
5655 # define alloca __builtin_alloca
5658 # include <malloc.h>
5659 # define alloca _alloca
5662 # include <alloca.h>
5667 # ifndef alloca /* predefined by HP cc +Olibcalls */
5678 char *p = (char *) alloca (1);
5683 rm -f conftest.
$ac_objext conftest
$ac_exeext
5684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5685 (eval $ac_link) 2>conftest.er1
5687 grep -v '^ *+' conftest.er1
>conftest.err
5689 cat conftest.err
>&5
5690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); } &&
5692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5697 (exit $ac_status); }; } &&
5698 { ac_try
='test -s conftest$ac_exeext'
5699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703 (exit $ac_status); }; }; then
5704 ac_cv_func_alloca_works
=yes
5706 echo "$as_me: failed program was:" >&5
5707 sed 's/^/| /' conftest.
$ac_ext >&5
5709 ac_cv_func_alloca_works
=no
5711 rm -f conftest.err conftest.
$ac_objext \
5712 conftest
$ac_exeext conftest.
$ac_ext
5714 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5715 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
5717 if test $ac_cv_func_alloca_works = yes; then
5719 cat >>confdefs.h
<<\_ACEOF
5720 #define HAVE_ALLOCA 1
5724 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5725 # that cause trouble. Some versions do not even contain alloca or
5726 # contain a buggy version. If you still want to use their alloca,
5727 # use ar to extract alloca.o from them instead of compiling alloca.c.
5729 ALLOCA
=alloca.
$ac_objext
5731 cat >>confdefs.h
<<\_ACEOF
5736 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
5737 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
5738 if test "${ac_cv_os_cray+set}" = set; then
5739 echo $ECHO_N "(cached) $ECHO_C" >&6
5741 cat >conftest.
$ac_ext <<_ACEOF
5744 cat confdefs.h
>>conftest.
$ac_ext
5745 cat >>conftest.
$ac_ext <<_ACEOF
5746 /* end confdefs.h. */
5747 #if defined(CRAY) && ! defined(CRAY2)
5754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5755 $EGREP "webecray" >/dev
/null
2>&1; then
5763 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
5764 echo "${ECHO_T}$ac_cv_os_cray" >&6
5765 if test $ac_cv_os_cray = yes; then
5766 for ac_func
in _getb67 GETB67 getb67
; do
5767 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5768 echo "$as_me:$LINENO: checking for $ac_func" >&5
5769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5770 if eval "test \"\${$as_ac_var+set}\" = set"; then
5771 echo $ECHO_N "(cached) $ECHO_C" >&6
5773 cat >conftest.
$ac_ext <<_ACEOF
5776 cat confdefs.h
>>conftest.
$ac_ext
5777 cat >>conftest.
$ac_ext <<_ACEOF
5778 /* end confdefs.h. */
5779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5781 #define $ac_func innocuous_$ac_func
5783 /* System header to define __stub macros and hopefully few prototypes,
5784 which can conflict with char $ac_func (); below.
5785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5786 <limits.h> exists even on freestanding compilers. */
5789 # include <limits.h>
5791 # include <assert.h>
5796 /* Override any gcc2 internal prototype to avoid an error. */
5801 /* We use char because int might match the return type of a gcc2
5802 builtin and then its argument prototype would still apply. */
5804 /* The GNU C library defines this for functions which it implements
5805 to always fail with ENOSYS. Some functions are actually named
5806 something starting with __ and the normal name is an alias. */
5807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5810 char (*f) () = $ac_func;
5819 return f != $ac_func;
5824 rm -f conftest.
$ac_objext conftest
$ac_exeext
5825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5826 (eval $ac_link) 2>conftest.er1
5828 grep -v '^ *+' conftest.er1
>conftest.err
5830 cat conftest.err
>&5
5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 (exit $ac_status); } &&
5833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5838 (exit $ac_status); }; } &&
5839 { ac_try
='test -s conftest$ac_exeext'
5840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5844 (exit $ac_status); }; }; then
5845 eval "$as_ac_var=yes"
5847 echo "$as_me: failed program was:" >&5
5848 sed 's/^/| /' conftest.
$ac_ext >&5
5850 eval "$as_ac_var=no"
5852 rm -f conftest.err conftest.
$ac_objext \
5853 conftest
$ac_exeext conftest.
$ac_ext
5855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5857 if test `eval echo '${'$as_ac_var'}'` = yes; then
5859 cat >>confdefs.h
<<_ACEOF
5860 #define CRAY_STACKSEG_END $ac_func
5869 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
5870 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
5871 if test "${ac_cv_c_stack_direction+set}" = set; then
5872 echo $ECHO_N "(cached) $ECHO_C" >&6
5874 if test "$cross_compiling" = yes; then
5875 ac_cv_c_stack_direction
=0
5877 cat >conftest.
$ac_ext <<_ACEOF
5880 cat confdefs.h
>>conftest.
$ac_ext
5881 cat >>conftest.
$ac_ext <<_ACEOF
5882 /* end confdefs.h. */
5884 find_stack_direction ()
5886 static char *addr = 0;
5891 return find_stack_direction ();
5894 return (&dummy > addr) ? 1 : -1;
5900 exit (find_stack_direction () < 0);
5903 rm -f conftest
$ac_exeext
5904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5905 (eval $ac_link) 2>&5
5907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5908 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913 (exit $ac_status); }; }; then
5914 ac_cv_c_stack_direction
=1
5916 echo "$as_me: program exited with status $ac_status" >&5
5917 echo "$as_me: failed program was:" >&5
5918 sed 's/^/| /' conftest.
$ac_ext >&5
5921 ac_cv_c_stack_direction
=-1
5923 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5926 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
5927 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
5929 cat >>confdefs.h
<<_ACEOF
5930 #define STACK_DIRECTION $ac_cv_c_stack_direction
5938 for ac_header
in stdlib.h unistd.h
5940 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5942 echo "$as_me:$LINENO: checking for $ac_header" >&5
5943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5945 echo $ECHO_N "(cached) $ECHO_C" >&6
5947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5950 # Is the header compilable?
5951 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5952 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5953 cat >conftest.
$ac_ext <<_ACEOF
5956 cat confdefs.h
>>conftest.
$ac_ext
5957 cat >>conftest.
$ac_ext <<_ACEOF
5958 /* end confdefs.h. */
5959 $ac_includes_default
5960 #include <$ac_header>
5962 rm -f conftest.
$ac_objext
5963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5964 (eval $ac_compile) 2>conftest.er1
5966 grep -v '^ *+' conftest.er1
>conftest.err
5968 cat conftest.err
>&5
5969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5970 (exit $ac_status); } &&
5971 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5976 (exit $ac_status); }; } &&
5977 { ac_try
='test -s conftest.$ac_objext'
5978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 (exit $ac_status); }; }; then
5983 ac_header_compiler
=yes
5985 echo "$as_me: failed program was:" >&5
5986 sed 's/^/| /' conftest.
$ac_ext >&5
5988 ac_header_compiler
=no
5990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5992 echo "${ECHO_T}$ac_header_compiler" >&6
5994 # Is the header present?
5995 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5996 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5997 cat >conftest.
$ac_ext <<_ACEOF
6000 cat confdefs.h
>>conftest.
$ac_ext
6001 cat >>conftest.
$ac_ext <<_ACEOF
6002 /* end confdefs.h. */
6003 #include <$ac_header>
6005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6006 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6008 grep -v '^ *+' conftest.er1
>conftest.err
6010 cat conftest.err
>&5
6011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012 (exit $ac_status); } >/dev
/null
; then
6013 if test -s conftest.err
; then
6014 ac_cpp_err
=$ac_c_preproc_warn_flag
6015 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6022 if test -z "$ac_cpp_err"; then
6023 ac_header_preproc
=yes
6025 echo "$as_me: failed program was:" >&5
6026 sed 's/^/| /' conftest.
$ac_ext >&5
6028 ac_header_preproc
=no
6030 rm -f conftest.err conftest.
$ac_ext
6031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6032 echo "${ECHO_T}$ac_header_preproc" >&6
6034 # So? What about this header?
6035 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6037 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6038 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6040 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6041 ac_header_preproc
=yes
6044 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6045 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6046 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6047 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6048 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6049 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6050 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6051 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6053 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6054 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6055 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6058 ## ------------------------------------------ ##
6059 ## Report this to the AC_PACKAGE_NAME lists. ##
6060 ## ------------------------------------------ ##
6063 sed "s/^/$as_me: WARNING: /" >&2
6066 echo "$as_me:$LINENO: checking for $ac_header" >&5
6067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6069 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 eval "$as_ac_Header=\$ac_header_preproc"
6073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6077 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6078 cat >>confdefs.h
<<_ACEOF
6079 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6087 for ac_func
in getpagesize
6089 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6090 echo "$as_me:$LINENO: checking for $ac_func" >&5
6091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6092 if eval "test \"\${$as_ac_var+set}\" = set"; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6095 cat >conftest.
$ac_ext <<_ACEOF
6098 cat confdefs.h
>>conftest.
$ac_ext
6099 cat >>conftest.
$ac_ext <<_ACEOF
6100 /* end confdefs.h. */
6101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6103 #define $ac_func innocuous_$ac_func
6105 /* System header to define __stub macros and hopefully few prototypes,
6106 which can conflict with char $ac_func (); below.
6107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6108 <limits.h> exists even on freestanding compilers. */
6111 # include <limits.h>
6113 # include <assert.h>
6118 /* Override any gcc2 internal prototype to avoid an error. */
6123 /* We use char because int might match the return type of a gcc2
6124 builtin and then its argument prototype would still apply. */
6126 /* The GNU C library defines this for functions which it implements
6127 to always fail with ENOSYS. Some functions are actually named
6128 something starting with __ and the normal name is an alias. */
6129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6132 char (*f) () = $ac_func;
6141 return f != $ac_func;
6146 rm -f conftest.
$ac_objext conftest
$ac_exeext
6147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6148 (eval $ac_link) 2>conftest.er1
6150 grep -v '^ *+' conftest.er1
>conftest.err
6152 cat conftest.err
>&5
6153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154 (exit $ac_status); } &&
6155 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6160 (exit $ac_status); }; } &&
6161 { ac_try
='test -s conftest$ac_exeext'
6162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6166 (exit $ac_status); }; }; then
6167 eval "$as_ac_var=yes"
6169 echo "$as_me: failed program was:" >&5
6170 sed 's/^/| /' conftest.
$ac_ext >&5
6172 eval "$as_ac_var=no"
6174 rm -f conftest.err conftest.
$ac_objext \
6175 conftest
$ac_exeext conftest.
$ac_ext
6177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6179 if test `eval echo '${'$as_ac_var'}'` = yes; then
6180 cat >>confdefs.h
<<_ACEOF
6181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6187 echo "$as_me:$LINENO: checking for working mmap" >&5
6188 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6189 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6190 echo $ECHO_N "(cached) $ECHO_C" >&6
6192 if test "$cross_compiling" = yes; then
6193 ac_cv_func_mmap_fixed_mapped
=no
6195 cat >conftest.
$ac_ext <<_ACEOF
6198 cat confdefs.h
>>conftest.
$ac_ext
6199 cat >>conftest.
$ac_ext <<_ACEOF
6200 /* end confdefs.h. */
6201 $ac_includes_default
6202 /* malloc might have been renamed as rpl_malloc. */
6205 /* Thanks to Mike Haertel and Jim Avera for this test.
6206 Here is a matrix of mmap possibilities:
6207 mmap private not fixed
6208 mmap private fixed at somewhere currently unmapped
6209 mmap private fixed at somewhere already mapped
6210 mmap shared not fixed
6211 mmap shared fixed at somewhere currently unmapped
6212 mmap shared fixed at somewhere already mapped
6213 For private mappings, we should verify that changes cannot be read()
6214 back from the file, nor mmap's back from the file at a different
6215 address. (There have been systems where private was not correctly
6216 implemented like the infamous i386 svr4.0, and systems where the
6217 VM page cache was not coherent with the file system buffer cache
6218 like early versions of FreeBSD and possibly contemporary NetBSD.)
6219 For shared mappings, we should conversely verify that changes get
6220 propagated back to all the places they're supposed to be.
6222 Grep wants private fixed already mapped.
6223 The main things grep needs to know about mmap are:
6224 * does it exist and is it safe to write into the mmap'd area
6225 * how to use it (BSD variants) */
6228 #include <sys/mman.h>
6230 #if !STDC_HEADERS && !HAVE_STDLIB_H
6234 /* This mess was copied from the GNU getpagesize.h. */
6235 #if !HAVE_GETPAGESIZE
6236 /* Assume that all systems that can run configure have sys/param.h. */
6237 # if !HAVE_SYS_PARAM_H
6238 # define HAVE_SYS_PARAM_H 1
6241 # ifdef _SC_PAGESIZE
6242 # define getpagesize() sysconf(_SC_PAGESIZE)
6243 # else /* no _SC_PAGESIZE */
6244 # if HAVE_SYS_PARAM_H
6245 # include <sys/param.h>
6246 # ifdef EXEC_PAGESIZE
6247 # define getpagesize() EXEC_PAGESIZE
6248 # else /* no EXEC_PAGESIZE */
6250 # define getpagesize() NBPG * CLSIZE
6253 # endif /* no CLSIZE */
6254 # else /* no NBPG */
6256 # define getpagesize() NBPC
6257 # else /* no NBPC */
6259 # define getpagesize() PAGESIZE
6260 # endif /* PAGESIZE */
6261 # endif /* no NBPC */
6262 # endif /* no NBPG */
6263 # endif /* no EXEC_PAGESIZE */
6264 # else /* no HAVE_SYS_PARAM_H */
6265 # define getpagesize() 8192 /* punt totally */
6266 # endif /* no HAVE_SYS_PARAM_H */
6267 # endif /* no _SC_PAGESIZE */
6269 #endif /* no HAVE_GETPAGESIZE */
6274 char *data, *data2, *data3;
6278 pagesize = getpagesize ();
6280 /* First, make a file with some known garbage in it. */
6281 data = (char *) malloc (pagesize);
6284 for (i = 0; i < pagesize; ++i)
6285 *(data + i) = rand ();
6287 fd = creat ("conftest.mmap", 0600);
6290 if (write (fd, data, pagesize) != pagesize)
6294 /* Next, try to mmap the file at a fixed address which already has
6295 something else allocated at it. If we can, also make sure that
6296 we see the same garbage. */
6297 fd = open ("conftest.mmap", O_RDWR);
6300 data2 = (char *) malloc (2 * pagesize);
6303 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6304 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6305 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6307 for (i = 0; i < pagesize; ++i)
6308 if (*(data + i) != *(data2 + i))
6311 /* Finally, make sure that changes to the mapped area do not
6312 percolate back to the file as seen by read(). (This is a bug on
6313 some variants of i386 svr4.0.) */
6314 for (i = 0; i < pagesize; ++i)
6315 *(data2 + i) = *(data2 + i) + 1;
6316 data3 = (char *) malloc (pagesize);
6319 if (read (fd, data3, pagesize) != pagesize)
6321 for (i = 0; i < pagesize; ++i)
6322 if (*(data + i) != *(data3 + i))
6328 rm -f conftest
$ac_exeext
6329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6330 (eval $ac_link) 2>&5
6332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6338 (exit $ac_status); }; }; then
6339 ac_cv_func_mmap_fixed_mapped
=yes
6341 echo "$as_me: program exited with status $ac_status" >&5
6342 echo "$as_me: failed program was:" >&5
6343 sed 's/^/| /' conftest.
$ac_ext >&5
6346 ac_cv_func_mmap_fixed_mapped
=no
6348 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6351 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6352 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6353 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6355 cat >>confdefs.h
<<\_ACEOF
6372 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
6373 unistd.h values.h sys
/param.h
6375 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6377 echo "$as_me:$LINENO: checking for $ac_header" >&5
6378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6380 echo $ECHO_N "(cached) $ECHO_C" >&6
6382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6383 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6385 # Is the header compilable?
6386 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6387 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6388 cat >conftest.
$ac_ext <<_ACEOF
6391 cat confdefs.h
>>conftest.
$ac_ext
6392 cat >>conftest.
$ac_ext <<_ACEOF
6393 /* end confdefs.h. */
6394 $ac_includes_default
6395 #include <$ac_header>
6397 rm -f conftest.
$ac_objext
6398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6399 (eval $ac_compile) 2>conftest.er1
6401 grep -v '^ *+' conftest.er1
>conftest.err
6403 cat conftest.err
>&5
6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405 (exit $ac_status); } &&
6406 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6411 (exit $ac_status); }; } &&
6412 { ac_try
='test -s conftest.$ac_objext'
6413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417 (exit $ac_status); }; }; then
6418 ac_header_compiler
=yes
6420 echo "$as_me: failed program was:" >&5
6421 sed 's/^/| /' conftest.
$ac_ext >&5
6423 ac_header_compiler
=no
6425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6426 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6427 echo "${ECHO_T}$ac_header_compiler" >&6
6429 # Is the header present?
6430 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6431 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6432 cat >conftest.
$ac_ext <<_ACEOF
6435 cat confdefs.h
>>conftest.
$ac_ext
6436 cat >>conftest.
$ac_ext <<_ACEOF
6437 /* end confdefs.h. */
6438 #include <$ac_header>
6440 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6441 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
6448 if test -s conftest.err
; then
6449 ac_cpp_err
=$ac_c_preproc_warn_flag
6450 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6457 if test -z "$ac_cpp_err"; then
6458 ac_header_preproc
=yes
6460 echo "$as_me: failed program was:" >&5
6461 sed 's/^/| /' conftest.
$ac_ext >&5
6463 ac_header_preproc
=no
6465 rm -f conftest.err conftest.
$ac_ext
6466 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6467 echo "${ECHO_T}$ac_header_preproc" >&6
6469 # So? What about this header?
6470 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6472 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6473 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6475 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6476 ac_header_preproc
=yes
6479 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6480 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6481 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6482 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6483 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6484 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6485 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6486 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6487 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6488 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6489 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6490 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6493 ## ------------------------------------------ ##
6494 ## Report this to the AC_PACKAGE_NAME lists. ##
6495 ## ------------------------------------------ ##
6498 sed "s/^/$as_me: WARNING: /" >&2
6501 echo "$as_me:$LINENO: checking for $ac_header" >&5
6502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6504 echo $ECHO_N "(cached) $ECHO_C" >&6
6506 eval "$as_ac_Header=\$ac_header_preproc"
6508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6512 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6513 cat >>confdefs.h
<<_ACEOF
6514 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6531 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
6532 __argz_count __argz_stringify __argz_next
6534 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6535 echo "$as_me:$LINENO: checking for $ac_func" >&5
6536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6537 if eval "test \"\${$as_ac_var+set}\" = set"; then
6538 echo $ECHO_N "(cached) $ECHO_C" >&6
6540 cat >conftest.
$ac_ext <<_ACEOF
6543 cat confdefs.h
>>conftest.
$ac_ext
6544 cat >>conftest.
$ac_ext <<_ACEOF
6545 /* end confdefs.h. */
6546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6548 #define $ac_func innocuous_$ac_func
6550 /* System header to define __stub macros and hopefully few prototypes,
6551 which can conflict with char $ac_func (); below.
6552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6553 <limits.h> exists even on freestanding compilers. */
6556 # include <limits.h>
6558 # include <assert.h>
6563 /* Override any gcc2 internal prototype to avoid an error. */
6568 /* We use char because int might match the return type of a gcc2
6569 builtin and then its argument prototype would still apply. */
6571 /* The GNU C library defines this for functions which it implements
6572 to always fail with ENOSYS. Some functions are actually named
6573 something starting with __ and the normal name is an alias. */
6574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6577 char (*f) () = $ac_func;
6586 return f != $ac_func;
6591 rm -f conftest.
$ac_objext conftest
$ac_exeext
6592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6593 (eval $ac_link) 2>conftest.er1
6595 grep -v '^ *+' conftest.er1
>conftest.err
6597 cat conftest.err
>&5
6598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599 (exit $ac_status); } &&
6600 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6605 (exit $ac_status); }; } &&
6606 { ac_try
='test -s conftest$ac_exeext'
6607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); }; }; then
6612 eval "$as_ac_var=yes"
6614 echo "$as_me: failed program was:" >&5
6615 sed 's/^/| /' conftest.
$ac_ext >&5
6617 eval "$as_ac_var=no"
6619 rm -f conftest.err conftest.
$ac_objext \
6620 conftest
$ac_exeext conftest.
$ac_ext
6622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6624 if test `eval echo '${'$as_ac_var'}'` = yes; then
6625 cat >>confdefs.h
<<_ACEOF
6626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6633 if test "${ac_cv_func_stpcpy+set}" != "set"; then
6635 for ac_func
in stpcpy
6637 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6638 echo "$as_me:$LINENO: checking for $ac_func" >&5
6639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6640 if eval "test \"\${$as_ac_var+set}\" = set"; then
6641 echo $ECHO_N "(cached) $ECHO_C" >&6
6643 cat >conftest.
$ac_ext <<_ACEOF
6646 cat confdefs.h
>>conftest.
$ac_ext
6647 cat >>conftest.
$ac_ext <<_ACEOF
6648 /* end confdefs.h. */
6649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6651 #define $ac_func innocuous_$ac_func
6653 /* System header to define __stub macros and hopefully few prototypes,
6654 which can conflict with char $ac_func (); below.
6655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6656 <limits.h> exists even on freestanding compilers. */
6659 # include <limits.h>
6661 # include <assert.h>
6666 /* Override any gcc2 internal prototype to avoid an error. */
6671 /* We use char because int might match the return type of a gcc2
6672 builtin and then its argument prototype would still apply. */
6674 /* The GNU C library defines this for functions which it implements
6675 to always fail with ENOSYS. Some functions are actually named
6676 something starting with __ and the normal name is an alias. */
6677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6680 char (*f) () = $ac_func;
6689 return f != $ac_func;
6694 rm -f conftest.
$ac_objext conftest
$ac_exeext
6695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6696 (eval $ac_link) 2>conftest.er1
6698 grep -v '^ *+' conftest.er1
>conftest.err
6700 cat conftest.err
>&5
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); } &&
6703 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); }; } &&
6709 { ac_try
='test -s conftest$ac_exeext'
6710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); }; }; then
6715 eval "$as_ac_var=yes"
6717 echo "$as_me: failed program was:" >&5
6718 sed 's/^/| /' conftest.
$ac_ext >&5
6720 eval "$as_ac_var=no"
6722 rm -f conftest.err conftest.
$ac_objext \
6723 conftest
$ac_exeext conftest.
$ac_ext
6725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6727 if test `eval echo '${'$as_ac_var'}'` = yes; then
6728 cat >>confdefs.h
<<_ACEOF
6729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6736 if test "${ac_cv_func_stpcpy}" = "yes"; then
6738 cat >>confdefs.h
<<\_ACEOF
6739 #define HAVE_STPCPY 1
6744 if test $ac_cv_header_locale_h = yes; then
6745 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
6746 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
6747 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6748 echo $ECHO_N "(cached) $ECHO_C" >&6
6750 cat >conftest.
$ac_ext <<_ACEOF
6753 cat confdefs.h
>>conftest.
$ac_ext
6754 cat >>conftest.
$ac_ext <<_ACEOF
6755 /* end confdefs.h. */
6765 rm -f conftest.
$ac_objext conftest
$ac_exeext
6766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6767 (eval $ac_link) 2>conftest.er1
6769 grep -v '^ *+' conftest.er1
>conftest.err
6771 cat conftest.err
>&5
6772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773 (exit $ac_status); } &&
6774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); }; } &&
6780 { ac_try
='test -s conftest$ac_exeext'
6781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785 (exit $ac_status); }; }; then
6786 am_cv_val_LC_MESSAGES
=yes
6788 echo "$as_me: failed program was:" >&5
6789 sed 's/^/| /' conftest.
$ac_ext >&5
6791 am_cv_val_LC_MESSAGES
=no
6793 rm -f conftest.err conftest.
$ac_objext \
6794 conftest
$ac_exeext conftest.
$ac_ext
6796 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
6797 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
6798 if test $am_cv_val_LC_MESSAGES = yes; then
6800 cat >>confdefs.h
<<\_ACEOF
6801 #define HAVE_LC_MESSAGES 1
6806 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
6807 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
6808 # Check whether --enable-nls or --disable-nls was given.
6809 if test "${enable_nls+set}" = set; then
6810 enableval
="$enable_nls"
6815 echo "$as_me:$LINENO: result: $USE_NLS" >&5
6816 echo "${ECHO_T}$USE_NLS" >&6
6819 USE_INCLUDED_LIBINTL
=no
6821 if test "$USE_NLS" = "yes"; then
6823 cat >>confdefs.h
<<\_ACEOF
6824 #define ENABLE_NLS 1
6827 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
6828 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
6830 # Check whether --with-included-gettext or --without-included-gettext was given.
6831 if test "${with_included_gettext+set}" = set; then
6832 withval
="$with_included_gettext"
6833 nls_cv_force_use_gnu_gettext
=$withval
6835 nls_cv_force_use_gnu_gettext
=no
6837 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
6838 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
6840 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
6841 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
6843 nls_cv_header_libgt
=
6846 if test "${ac_cv_header_libintl_h+set}" = set; then
6847 echo "$as_me:$LINENO: checking for libintl.h" >&5
6848 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
6849 if test "${ac_cv_header_libintl_h+set}" = set; then
6850 echo $ECHO_N "(cached) $ECHO_C" >&6
6852 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6853 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
6855 # Is the header compilable?
6856 echo "$as_me:$LINENO: checking libintl.h usability" >&5
6857 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
6858 cat >conftest.
$ac_ext <<_ACEOF
6861 cat confdefs.h
>>conftest.
$ac_ext
6862 cat >>conftest.
$ac_ext <<_ACEOF
6863 /* end confdefs.h. */
6864 $ac_includes_default
6865 #include <libintl.h>
6867 rm -f conftest.
$ac_objext
6868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6869 (eval $ac_compile) 2>conftest.er1
6871 grep -v '^ *+' conftest.er1
>conftest.err
6873 cat conftest.err
>&5
6874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6875 (exit $ac_status); } &&
6876 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6881 (exit $ac_status); }; } &&
6882 { ac_try
='test -s conftest.$ac_objext'
6883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6887 (exit $ac_status); }; }; then
6888 ac_header_compiler
=yes
6890 echo "$as_me: failed program was:" >&5
6891 sed 's/^/| /' conftest.
$ac_ext >&5
6893 ac_header_compiler
=no
6895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6896 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6897 echo "${ECHO_T}$ac_header_compiler" >&6
6899 # Is the header present?
6900 echo "$as_me:$LINENO: checking libintl.h presence" >&5
6901 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
6902 cat >conftest.
$ac_ext <<_ACEOF
6905 cat confdefs.h
>>conftest.
$ac_ext
6906 cat >>conftest.
$ac_ext <<_ACEOF
6907 /* end confdefs.h. */
6908 #include <libintl.h>
6910 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6911 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6913 grep -v '^ *+' conftest.er1
>conftest.err
6915 cat conftest.err
>&5
6916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6917 (exit $ac_status); } >/dev
/null
; then
6918 if test -s conftest.err
; then
6919 ac_cpp_err
=$ac_c_preproc_warn_flag
6920 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6927 if test -z "$ac_cpp_err"; then
6928 ac_header_preproc
=yes
6930 echo "$as_me: failed program was:" >&5
6931 sed 's/^/| /' conftest.
$ac_ext >&5
6933 ac_header_preproc
=no
6935 rm -f conftest.err conftest.
$ac_ext
6936 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6937 echo "${ECHO_T}$ac_header_preproc" >&6
6939 # So? What about this header?
6940 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6942 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6943 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6944 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
6945 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
6946 ac_header_preproc
=yes
6949 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
6950 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
6951 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
6952 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
6953 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
6954 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
6955 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
6956 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
6957 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
6958 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
6959 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
6960 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
6963 ## ------------------------------------------ ##
6964 ## Report this to the AC_PACKAGE_NAME lists. ##
6965 ## ------------------------------------------ ##
6968 sed "s/^/$as_me: WARNING: /" >&2
6971 echo "$as_me:$LINENO: checking for libintl.h" >&5
6972 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
6973 if test "${ac_cv_header_libintl_h+set}" = set; then
6974 echo $ECHO_N "(cached) $ECHO_C" >&6
6976 ac_cv_header_libintl_h
=$ac_header_preproc
6978 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6979 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
6982 if test $ac_cv_header_libintl_h = yes; then
6983 echo "$as_me:$LINENO: checking for gettext in libc" >&5
6984 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
6985 if test "${gt_cv_func_gettext_libc+set}" = set; then
6986 echo $ECHO_N "(cached) $ECHO_C" >&6
6988 cat >conftest.
$ac_ext <<_ACEOF
6991 cat confdefs.h
>>conftest.
$ac_ext
6992 cat >>conftest.
$ac_ext <<_ACEOF
6993 /* end confdefs.h. */
6994 #include <libintl.h>
6998 return (int) gettext ("")
7003 rm -f conftest.
$ac_objext conftest
$ac_exeext
7004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7005 (eval $ac_link) 2>conftest.er1
7007 grep -v '^ *+' conftest.er1
>conftest.err
7009 cat conftest.err
>&5
7010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011 (exit $ac_status); } &&
7012 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 (exit $ac_status); }; } &&
7018 { ac_try
='test -s conftest$ac_exeext'
7019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7023 (exit $ac_status); }; }; then
7024 gt_cv_func_gettext_libc
=yes
7026 echo "$as_me: failed program was:" >&5
7027 sed 's/^/| /' conftest.
$ac_ext >&5
7029 gt_cv_func_gettext_libc
=no
7031 rm -f conftest.err conftest.
$ac_objext \
7032 conftest
$ac_exeext conftest.
$ac_ext
7034 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
7035 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
7037 if test "$gt_cv_func_gettext_libc" != "yes"; then
7038 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
7039 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
7040 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
7041 echo $ECHO_N "(cached) $ECHO_C" >&6
7043 ac_check_lib_save_LIBS
=$LIBS
7045 cat >conftest.
$ac_ext <<_ACEOF
7048 cat confdefs.h
>>conftest.
$ac_ext
7049 cat >>conftest.
$ac_ext <<_ACEOF
7050 /* end confdefs.h. */
7052 /* Override any gcc2 internal prototype to avoid an error. */
7056 /* We use char because int might match the return type of a gcc2
7057 builtin and then its argument prototype would still apply. */
7058 char bindtextdomain ();
7067 rm -f conftest.
$ac_objext conftest
$ac_exeext
7068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7069 (eval $ac_link) 2>conftest.er1
7071 grep -v '^ *+' conftest.er1
>conftest.err
7073 cat conftest.err
>&5
7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); } &&
7076 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); }; } &&
7082 { ac_try
='test -s conftest$ac_exeext'
7083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7087 (exit $ac_status); }; }; then
7088 ac_cv_lib_intl_bindtextdomain
=yes
7090 echo "$as_me: failed program was:" >&5
7091 sed 's/^/| /' conftest.
$ac_ext >&5
7093 ac_cv_lib_intl_bindtextdomain
=no
7095 rm -f conftest.err conftest.
$ac_objext \
7096 conftest
$ac_exeext conftest.
$ac_ext
7097 LIBS
=$ac_check_lib_save_LIBS
7099 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7100 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
7101 if test $ac_cv_lib_intl_bindtextdomain = yes; then
7102 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
7103 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
7104 if test "${gt_cv_func_gettext_libintl+set}" = set; then
7105 echo $ECHO_N "(cached) $ECHO_C" >&6
7107 cat >conftest.
$ac_ext <<_ACEOF
7110 cat confdefs.h
>>conftest.
$ac_ext
7111 cat >>conftest.
$ac_ext <<_ACEOF
7112 /* end confdefs.h. */
7117 return (int) gettext ("")
7122 rm -f conftest.
$ac_objext conftest
$ac_exeext
7123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7124 (eval $ac_link) 2>conftest.er1
7126 grep -v '^ *+' conftest.er1
>conftest.err
7128 cat conftest.err
>&5
7129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7130 (exit $ac_status); } &&
7131 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); }; } &&
7137 { ac_try
='test -s conftest$ac_exeext'
7138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7142 (exit $ac_status); }; }; then
7143 gt_cv_func_gettext_libintl
=yes
7145 echo "$as_me: failed program was:" >&5
7146 sed 's/^/| /' conftest.
$ac_ext >&5
7148 gt_cv_func_gettext_libintl
=no
7150 rm -f conftest.err conftest.
$ac_objext \
7151 conftest
$ac_exeext conftest.
$ac_ext
7153 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
7154 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
7159 if test "$gt_cv_func_gettext_libc" = "yes" \
7160 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
7162 cat >>confdefs.h
<<\_ACEOF
7163 #define HAVE_GETTEXT 1
7166 # Extract the first word of "msgfmt", so it can be a program name with args.
7167 set dummy msgfmt
; ac_word
=$2
7168 echo "$as_me:$LINENO: checking for $ac_word" >&5
7169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7170 if test "${ac_cv_path_MSGFMT+set}" = set; then
7171 echo $ECHO_N "(cached) $ECHO_C" >&6
7175 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7178 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7179 for ac_dir
in $PATH; do
7180 test -z "$ac_dir" && ac_dir
=.
7181 if test -f $ac_dir/$ac_word; then
7182 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7183 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7189 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
7193 MSGFMT
="$ac_cv_path_MSGFMT"
7194 if test -n "$MSGFMT"; then
7195 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7196 echo "${ECHO_T}$MSGFMT" >&6
7198 echo "$as_me:$LINENO: result: no" >&5
7199 echo "${ECHO_T}no" >&6
7201 if test "$MSGFMT" != "no"; then
7203 for ac_func
in dcgettext
7205 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7206 echo "$as_me:$LINENO: checking for $ac_func" >&5
7207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7208 if eval "test \"\${$as_ac_var+set}\" = set"; then
7209 echo $ECHO_N "(cached) $ECHO_C" >&6
7211 cat >conftest.
$ac_ext <<_ACEOF
7214 cat confdefs.h
>>conftest.
$ac_ext
7215 cat >>conftest.
$ac_ext <<_ACEOF
7216 /* end confdefs.h. */
7217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7219 #define $ac_func innocuous_$ac_func
7221 /* System header to define __stub macros and hopefully few prototypes,
7222 which can conflict with char $ac_func (); below.
7223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7224 <limits.h> exists even on freestanding compilers. */
7227 # include <limits.h>
7229 # include <assert.h>
7234 /* Override any gcc2 internal prototype to avoid an error. */
7239 /* We use char because int might match the return type of a gcc2
7240 builtin and then its argument prototype would still apply. */
7242 /* The GNU C library defines this for functions which it implements
7243 to always fail with ENOSYS. Some functions are actually named
7244 something starting with __ and the normal name is an alias. */
7245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7248 char (*f) () = $ac_func;
7257 return f != $ac_func;
7262 rm -f conftest.
$ac_objext conftest
$ac_exeext
7263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7264 (eval $ac_link) 2>conftest.er1
7266 grep -v '^ *+' conftest.er1
>conftest.err
7268 cat conftest.err
>&5
7269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7270 (exit $ac_status); } &&
7271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7276 (exit $ac_status); }; } &&
7277 { ac_try
='test -s conftest$ac_exeext'
7278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7282 (exit $ac_status); }; }; then
7283 eval "$as_ac_var=yes"
7285 echo "$as_me: failed program was:" >&5
7286 sed 's/^/| /' conftest.
$ac_ext >&5
7288 eval "$as_ac_var=no"
7290 rm -f conftest.err conftest.
$ac_objext \
7291 conftest
$ac_exeext conftest.
$ac_ext
7293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7295 if test `eval echo '${'$as_ac_var'}'` = yes; then
7296 cat >>confdefs.h
<<_ACEOF
7297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7303 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7304 set dummy gmsgfmt
; ac_word
=$2
7305 echo "$as_me:$LINENO: checking for $ac_word" >&5
7306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7307 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7308 echo $ECHO_N "(cached) $ECHO_C" >&6
7312 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7319 test -z "$as_dir" && as_dir
=.
7320 for ac_exec_ext
in '' $ac_executable_extensions; do
7321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7322 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7329 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7333 GMSGFMT
=$ac_cv_path_GMSGFMT
7335 if test -n "$GMSGFMT"; then
7336 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7337 echo "${ECHO_T}$GMSGFMT" >&6
7339 echo "$as_me:$LINENO: result: no" >&5
7340 echo "${ECHO_T}no" >&6
7343 # Extract the first word of "xgettext", so it can be a program name with args.
7344 set dummy xgettext
; ac_word
=$2
7345 echo "$as_me:$LINENO: checking for $ac_word" >&5
7346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7347 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7348 echo $ECHO_N "(cached) $ECHO_C" >&6
7352 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7355 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7356 for ac_dir
in $PATH; do
7357 test -z "$ac_dir" && ac_dir
=.
7358 if test -f $ac_dir/$ac_word; then
7359 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7360 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7366 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7370 XGETTEXT
="$ac_cv_path_XGETTEXT"
7371 if test -n "$XGETTEXT"; then
7372 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7373 echo "${ECHO_T}$XGETTEXT" >&6
7375 echo "$as_me:$LINENO: result: no" >&5
7376 echo "${ECHO_T}no" >&6
7379 cat >conftest.
$ac_ext <<_ACEOF
7382 cat confdefs.h
>>conftest.
$ac_ext
7383 cat >>conftest.
$ac_ext <<_ACEOF
7384 /* end confdefs.h. */
7389 extern int _nl_msg_cat_cntr;
7390 return _nl_msg_cat_cntr
7395 rm -f conftest.
$ac_objext conftest
$ac_exeext
7396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7397 (eval $ac_link) 2>conftest.er1
7399 grep -v '^ *+' conftest.er1
>conftest.err
7401 cat conftest.err
>&5
7402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7403 (exit $ac_status); } &&
7404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7409 (exit $ac_status); }; } &&
7410 { ac_try
='test -s conftest$ac_exeext'
7411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415 (exit $ac_status); }; }; then
7419 echo "$as_me: failed program was:" >&5
7420 sed 's/^/| /' conftest.
$ac_ext >&5
7425 rm -f conftest.err conftest.
$ac_objext \
7426 conftest
$ac_exeext conftest.
$ac_ext
7436 if test "$CATOBJEXT" = "NONE"; then
7437 nls_cv_use_gnu_gettext
=yes
7441 if test "$nls_cv_use_gnu_gettext" = "yes"; then
7442 INTLOBJS
="\$(GETTOBJS)"
7443 # Extract the first word of "msgfmt", so it can be a program name with args.
7444 set dummy msgfmt
; ac_word
=$2
7445 echo "$as_me:$LINENO: checking for $ac_word" >&5
7446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7447 if test "${ac_cv_path_MSGFMT+set}" = set; then
7448 echo $ECHO_N "(cached) $ECHO_C" >&6
7452 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7455 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7456 for ac_dir
in $PATH; do
7457 test -z "$ac_dir" && ac_dir
=.
7458 if test -f $ac_dir/$ac_word; then
7459 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7460 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7466 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
7470 MSGFMT
="$ac_cv_path_MSGFMT"
7471 if test -n "$MSGFMT"; then
7472 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7473 echo "${ECHO_T}$MSGFMT" >&6
7475 echo "$as_me:$LINENO: result: no" >&5
7476 echo "${ECHO_T}no" >&6
7479 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7480 set dummy gmsgfmt
; ac_word
=$2
7481 echo "$as_me:$LINENO: checking for $ac_word" >&5
7482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7483 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7484 echo $ECHO_N "(cached) $ECHO_C" >&6
7488 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7495 test -z "$as_dir" && as_dir
=.
7496 for ac_exec_ext
in '' $ac_executable_extensions; do
7497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7498 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7505 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7509 GMSGFMT
=$ac_cv_path_GMSGFMT
7511 if test -n "$GMSGFMT"; then
7512 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7513 echo "${ECHO_T}$GMSGFMT" >&6
7515 echo "$as_me:$LINENO: result: no" >&5
7516 echo "${ECHO_T}no" >&6
7519 # Extract the first word of "xgettext", so it can be a program name with args.
7520 set dummy xgettext
; ac_word
=$2
7521 echo "$as_me:$LINENO: checking for $ac_word" >&5
7522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7523 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7524 echo $ECHO_N "(cached) $ECHO_C" >&6
7528 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7531 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7532 for ac_dir
in $PATH; do
7533 test -z "$ac_dir" && ac_dir
=.
7534 if test -f $ac_dir/$ac_word; then
7535 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7536 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7542 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7546 XGETTEXT
="$ac_cv_path_XGETTEXT"
7547 if test -n "$XGETTEXT"; then
7548 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7549 echo "${ECHO_T}$XGETTEXT" >&6
7551 echo "$as_me:$LINENO: result: no" >&5
7552 echo "${ECHO_T}no" >&6
7556 USE_INCLUDED_LIBINTL
=yes
7560 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
7562 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
7563 nls_cv_header_intl
=libintl.h
7564 nls_cv_header_libgt
=libgettext.h
7567 if test "$XGETTEXT" != ":"; then
7568 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
7571 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
7572 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
7577 # We need to process the po/ directory.
7581 nls_cv_header_intl
=libintl.h
7582 nls_cv_header_libgt
=libgettext.h
7585 # If this is used in GNU gettext we have to set USE_NLS to `yes'
7586 # because some of the sources are only built for this goal.
7587 if test "$PACKAGE" = gettext; then
7589 USE_INCLUDED_LIBINTL
=yes
7592 for lang
in $ALL_LINGUAS; do
7593 GMOFILES
="$GMOFILES $lang.gmo"
7594 POFILES
="$POFILES $lang.po"
7610 if test "x$CATOBJEXT" != "x"; then
7611 if test "x$ALL_LINGUAS" = "x"; then
7614 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7615 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
7617 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
7618 case "$ALL_LINGUAS" in
7619 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
7622 LINGUAS
=$NEW_LINGUAS
7623 echo "$as_me:$LINENO: result: $LINGUAS" >&5
7624 echo "${ECHO_T}$LINGUAS" >&6
7627 if test -n "$LINGUAS"; then
7628 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
7632 if test $ac_cv_header_locale_h = yes; then
7633 INCLUDE_LOCALE_H
="#include <locale.h>"
7636 /* The system does not provide the header <locale.h>. Take care yourself. */"
7640 if test -f $srcdir/po2tbl.
sed.
in; then
7641 if test "$CATOBJEXT" = ".cat"; then
7642 if test "${ac_cv_header_linux_version_h+set}" = set; then
7643 echo "$as_me:$LINENO: checking for linux/version.h" >&5
7644 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
7645 if test "${ac_cv_header_linux_version_h+set}" = set; then
7646 echo $ECHO_N "(cached) $ECHO_C" >&6
7648 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
7649 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
7651 # Is the header compilable?
7652 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
7653 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
7654 cat >conftest.
$ac_ext <<_ACEOF
7657 cat confdefs.h
>>conftest.
$ac_ext
7658 cat >>conftest.
$ac_ext <<_ACEOF
7659 /* end confdefs.h. */
7660 $ac_includes_default
7661 #include <linux/version.h>
7663 rm -f conftest.
$ac_objext
7664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7665 (eval $ac_compile) 2>conftest.er1
7667 grep -v '^ *+' conftest.er1
>conftest.err
7669 cat conftest.err
>&5
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); } &&
7672 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677 (exit $ac_status); }; } &&
7678 { ac_try
='test -s conftest.$ac_objext'
7679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7683 (exit $ac_status); }; }; then
7684 ac_header_compiler
=yes
7686 echo "$as_me: failed program was:" >&5
7687 sed 's/^/| /' conftest.
$ac_ext >&5
7689 ac_header_compiler
=no
7691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7692 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7693 echo "${ECHO_T}$ac_header_compiler" >&6
7695 # Is the header present?
7696 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
7697 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
7698 cat >conftest.
$ac_ext <<_ACEOF
7701 cat confdefs.h
>>conftest.
$ac_ext
7702 cat >>conftest.
$ac_ext <<_ACEOF
7703 /* end confdefs.h. */
7704 #include <linux/version.h>
7706 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7707 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7709 grep -v '^ *+' conftest.er1
>conftest.err
7711 cat conftest.err
>&5
7712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7713 (exit $ac_status); } >/dev
/null
; then
7714 if test -s conftest.err
; then
7715 ac_cpp_err
=$ac_c_preproc_warn_flag
7716 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7723 if test -z "$ac_cpp_err"; then
7724 ac_header_preproc
=yes
7726 echo "$as_me: failed program was:" >&5
7727 sed 's/^/| /' conftest.
$ac_ext >&5
7729 ac_header_preproc
=no
7731 rm -f conftest.err conftest.
$ac_ext
7732 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7733 echo "${ECHO_T}$ac_header_preproc" >&6
7735 # So? What about this header?
7736 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7738 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
7739 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7740 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
7741 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
7742 ac_header_preproc
=yes
7745 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
7746 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
7747 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
7748 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
7749 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
7750 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
7751 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
7752 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
7753 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
7754 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
7755 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
7756 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
7759 ## ------------------------------------------ ##
7760 ## Report this to the AC_PACKAGE_NAME lists. ##
7761 ## ------------------------------------------ ##
7764 sed "s/^/$as_me: WARNING: /" >&2
7767 echo "$as_me:$LINENO: checking for linux/version.h" >&5
7768 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
7769 if test "${ac_cv_header_linux_version_h+set}" = set; then
7770 echo $ECHO_N "(cached) $ECHO_C" >&6
7772 ac_cv_header_linux_version_h
=$ac_header_preproc
7774 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
7775 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
7778 if test $ac_cv_header_linux_version_h = yes; then
7786 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
7788 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
7789 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
7792 if test "$PACKAGE" = "gettext"; then
7802 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
7808 if test -f $srcdir/po
/POTFILES.
in; then
7809 test -d po || mkdir po
7810 if test "x$srcdir" != "x."; then
7811 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
7812 posrcprefix
="$srcdir/"
7814 posrcprefix
="../$srcdir/"
7820 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
7821 < $srcdir/po
/POTFILES.
in > po
/POTFILES
7825 # Permit host specific settings.
7826 .
${srcdir}/configure.
host
7829 # Find a good install program. We prefer a C program (faster),
7830 # so one script is as good as another. But avoid the broken or
7831 # incompatible versions:
7832 # SysV /etc/install, /usr/sbin/install
7833 # SunOS /usr/etc/install
7834 # IRIX /sbin/install
7836 # AmigaOS /C/install, which installs bootblocks on floppy discs
7837 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7838 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7839 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7840 # OS/2's system install, which has a completely different semantic
7841 # ./install, which can be erroneously created by make from ./install.sh.
7842 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7843 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
7844 if test -z "$INSTALL"; then
7845 if test "${ac_cv_path_install+set}" = set; then
7846 echo $ECHO_N "(cached) $ECHO_C" >&6
7848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7852 test -z "$as_dir" && as_dir
=.
7853 # Account for people who put trailing slashes in PATH elements.
7855 .
/ | .
// |
/cC
/* | \
7856 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
7857 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7860 # OSF1 and SCO ODT 3.0 have their own names for install.
7861 # Don't use installbsd from OSF since it installs stuff as root
7863 for ac_prog
in ginstall scoinst
install; do
7864 for ac_exec_ext
in '' $ac_executable_extensions; do
7865 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
7866 if test $ac_prog = install &&
7867 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7868 # AIX install. It has an incompatible calling convention.
7870 elif test $ac_prog = install &&
7871 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7872 # program-specific install script used by HP pwplus--don't use.
7875 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7887 if test "${ac_cv_path_install+set}" = set; then
7888 INSTALL
=$ac_cv_path_install
7890 # As a last resort, use the slow shell script. We don't cache a
7891 # path for INSTALL within a source directory, because that will
7892 # break other packages using the cache if that directory is
7893 # removed, or if the path is relative.
7894 INSTALL
=$ac_install_sh
7897 echo "$as_me:$LINENO: result: $INSTALL" >&5
7898 echo "${ECHO_T}$INSTALL" >&6
7900 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7901 # It thinks the first close brace ends the variable substitution.
7902 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7904 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7906 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7909 BFD_HOST_64BIT_LONG
=0
7910 BFD_HOST_LONG_LONG
=0
7911 BFD_HOST_64_BIT_DEFINED
=0
7915 echo "$as_me:$LINENO: checking for long long" >&5
7916 echo $ECHO_N "checking for long long... $ECHO_C" >&6
7917 if test "${bfd_cv_has_long_long+set}" = set; then
7918 echo $ECHO_N "(cached) $ECHO_C" >&6
7920 cat >conftest.
$ac_ext <<_ACEOF
7923 cat confdefs.h
>>conftest.
$ac_ext
7924 cat >>conftest.
$ac_ext <<_ACEOF
7925 /* end confdefs.h. */
7930 unsigned long long ll = 18446744073709551615ULL;
7935 rm -f conftest.
$ac_objext
7936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7937 (eval $ac_compile) 2>conftest.er1
7939 grep -v '^ *+' conftest.er1
>conftest.err
7941 cat conftest.err
>&5
7942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7943 (exit $ac_status); } &&
7944 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7949 (exit $ac_status); }; } &&
7950 { ac_try
='test -s conftest.$ac_objext'
7951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7955 (exit $ac_status); }; }; then
7956 bfd_cv_has_long_long
=yes
7958 echo "$as_me: failed program was:" >&5
7959 sed 's/^/| /' conftest.
$ac_ext >&5
7961 bfd_cv_has_long_long
=no
7963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7966 echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
7967 echo "${ECHO_T}$bfd_cv_has_long_long" >&6
7968 if test $bfd_cv_has_long_long = yes; then
7969 BFD_HOST_LONG_LONG
=1
7970 echo "$as_me:$LINENO: checking size of long long" >&5
7971 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
7972 if test "${ac_cv_sizeof_long_long+set}" = set; then
7973 echo $ECHO_N "(cached) $ECHO_C" >&6
7975 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
7976 cat >conftest.
$ac_ext <<_ACEOF
7979 cat confdefs.h
>>conftest.
$ac_ext
7980 cat >>conftest.
$ac_ext <<_ACEOF
7981 /* end confdefs.h. */
7982 #include "confdefs.h"
7983 #include <sys/types.h>
7989 switch (0) case 0: case (sizeof (long long) == $ac_size):;
7994 rm -f conftest.
$ac_objext
7995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7996 (eval $ac_compile) 2>conftest.er1
7998 grep -v '^ *+' conftest.er1
>conftest.err
8000 cat conftest.err
>&5
8001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8002 (exit $ac_status); } &&
8003 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8008 (exit $ac_status); }; } &&
8009 { ac_try
='test -s conftest.$ac_objext'
8010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8014 (exit $ac_status); }; }; then
8015 ac_cv_sizeof_long_long
=$ac_size
8017 echo "$as_me: failed program was:" >&5
8018 sed 's/^/| /' conftest.
$ac_ext >&5
8021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8022 if test x
$ac_cv_sizeof_long_long != x
; then break; fi
8027 if test x
$ac_cv_sizeof_long_long = x
; then
8028 { { echo "$as_me:$LINENO: error: cannot determine a size for long long" >&5
8029 echo "$as_me: error: cannot determine a size for long long" >&2;}
8030 { (exit 1); exit 1; }; }
8032 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
8033 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
8035 cat >>confdefs.h
<<_ACEOF
8036 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8042 echo "$as_me:$LINENO: checking size of long" >&5
8043 echo $ECHO_N "checking size of long... $ECHO_C" >&6
8044 if test "${ac_cv_sizeof_long+set}" = set; then
8045 echo $ECHO_N "(cached) $ECHO_C" >&6
8047 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
8048 cat >conftest.
$ac_ext <<_ACEOF
8051 cat confdefs.h
>>conftest.
$ac_ext
8052 cat >>conftest.
$ac_ext <<_ACEOF
8053 /* end confdefs.h. */
8054 #include "confdefs.h"
8055 #include <sys/types.h>
8061 switch (0) case 0: case (sizeof (long) == $ac_size):;
8066 rm -f conftest.
$ac_objext
8067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8068 (eval $ac_compile) 2>conftest.er1
8070 grep -v '^ *+' conftest.er1
>conftest.err
8072 cat conftest.err
>&5
8073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8074 (exit $ac_status); } &&
8075 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8080 (exit $ac_status); }; } &&
8081 { ac_try
='test -s conftest.$ac_objext'
8082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8086 (exit $ac_status); }; }; then
8087 ac_cv_sizeof_long
=$ac_size
8089 echo "$as_me: failed program was:" >&5
8090 sed 's/^/| /' conftest.
$ac_ext >&5
8093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8094 if test x
$ac_cv_sizeof_long != x
; then break; fi
8099 if test x
$ac_cv_sizeof_long = x
; then
8100 { { echo "$as_me:$LINENO: error: cannot determine a size for long" >&5
8101 echo "$as_me: error: cannot determine a size for long" >&2;}
8102 { (exit 1); exit 1; }; }
8104 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
8105 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8107 cat >>confdefs.h
<<_ACEOF
8108 #define SIZEOF_LONG $ac_cv_sizeof_long
8112 if test "x${ac_cv_sizeof_long}" = "x8"; then
8114 BFD_HOST_64BIT_LONG
=1
8115 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long"
8116 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long"
8117 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
8118 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long long"
8119 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long long"
8122 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
8123 BFD_HOST_64_BIT_DEFINED
=1
8124 BFD_HOST_64_BIT
="${HOST_64BIT_TYPE}"
8125 BFD_HOST_U_64_BIT
="${HOST_U_64BIT_TYPE}"
8134 # Put a plausible default for CC_FOR_BUILD in Makefile.
8135 if test -z "$CC_FOR_BUILD"; then
8136 if test "x$cross_compiling" = "xno"; then
8137 CC_FOR_BUILD
='$(CC)'
8143 # Also set EXEEXT_FOR_BUILD.
8144 if test "x$cross_compiling" = "xno"; then
8145 EXEEXT_FOR_BUILD
='$(EXEEXT)'
8147 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
8148 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
8149 if test "${bfd_cv_build_exeext+set}" = set; then
8150 echo $ECHO_N "(cached) $ECHO_C" >&6
8153 echo 'int main () { return 0; }' > conftest.c
8154 bfd_cv_build_exeext
=
8155 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
8156 for file in conftest.
*; do
8158 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
8159 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
8163 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
8165 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
8166 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
8168 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
8178 for ac_header
in stddef.h string.h
strings.h stdlib.h
time.h unistd.h
8180 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8182 echo "$as_me:$LINENO: checking for $ac_header" >&5
8183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8185 echo $ECHO_N "(cached) $ECHO_C" >&6
8187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8188 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8190 # Is the header compilable?
8191 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8192 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8193 cat >conftest.
$ac_ext <<_ACEOF
8196 cat confdefs.h
>>conftest.
$ac_ext
8197 cat >>conftest.
$ac_ext <<_ACEOF
8198 /* end confdefs.h. */
8199 $ac_includes_default
8200 #include <$ac_header>
8202 rm -f conftest.
$ac_objext
8203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8204 (eval $ac_compile) 2>conftest.er1
8206 grep -v '^ *+' conftest.er1
>conftest.err
8208 cat conftest.err
>&5
8209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8210 (exit $ac_status); } &&
8211 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8216 (exit $ac_status); }; } &&
8217 { ac_try
='test -s conftest.$ac_objext'
8218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222 (exit $ac_status); }; }; then
8223 ac_header_compiler
=yes
8225 echo "$as_me: failed program was:" >&5
8226 sed 's/^/| /' conftest.
$ac_ext >&5
8228 ac_header_compiler
=no
8230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8231 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8232 echo "${ECHO_T}$ac_header_compiler" >&6
8234 # Is the header present?
8235 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8236 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8237 cat >conftest.
$ac_ext <<_ACEOF
8240 cat confdefs.h
>>conftest.
$ac_ext
8241 cat >>conftest.
$ac_ext <<_ACEOF
8242 /* end confdefs.h. */
8243 #include <$ac_header>
8245 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8246 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8248 grep -v '^ *+' conftest.er1
>conftest.err
8250 cat conftest.err
>&5
8251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8252 (exit $ac_status); } >/dev
/null
; then
8253 if test -s conftest.err
; then
8254 ac_cpp_err
=$ac_c_preproc_warn_flag
8255 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8262 if test -z "$ac_cpp_err"; then
8263 ac_header_preproc
=yes
8265 echo "$as_me: failed program was:" >&5
8266 sed 's/^/| /' conftest.
$ac_ext >&5
8268 ac_header_preproc
=no
8270 rm -f conftest.err conftest.
$ac_ext
8271 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8272 echo "${ECHO_T}$ac_header_preproc" >&6
8274 # So? What about this header?
8275 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8277 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8278 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8280 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8281 ac_header_preproc
=yes
8284 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8285 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8286 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8287 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8288 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8289 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8290 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8291 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8293 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8294 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8295 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8298 ## ------------------------------------------ ##
8299 ## Report this to the AC_PACKAGE_NAME lists. ##
8300 ## ------------------------------------------ ##
8303 sed "s/^/$as_me: WARNING: /" >&2
8306 echo "$as_me:$LINENO: checking for $ac_header" >&5
8307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8309 echo $ECHO_N "(cached) $ECHO_C" >&6
8311 eval "$as_ac_Header=\$ac_header_preproc"
8313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8317 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8318 cat >>confdefs.h
<<_ACEOF
8319 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8329 for ac_header
in fcntl.h sys
/file.h sys
/time.h
8331 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8333 echo "$as_me:$LINENO: checking for $ac_header" >&5
8334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8336 echo $ECHO_N "(cached) $ECHO_C" >&6
8338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8341 # Is the header compilable?
8342 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8343 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8344 cat >conftest.
$ac_ext <<_ACEOF
8347 cat confdefs.h
>>conftest.
$ac_ext
8348 cat >>conftest.
$ac_ext <<_ACEOF
8349 /* end confdefs.h. */
8350 $ac_includes_default
8351 #include <$ac_header>
8353 rm -f conftest.
$ac_objext
8354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8355 (eval $ac_compile) 2>conftest.er1
8357 grep -v '^ *+' conftest.er1
>conftest.err
8359 cat conftest.err
>&5
8360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8361 (exit $ac_status); } &&
8362 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367 (exit $ac_status); }; } &&
8368 { ac_try
='test -s conftest.$ac_objext'
8369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8373 (exit $ac_status); }; }; then
8374 ac_header_compiler
=yes
8376 echo "$as_me: failed program was:" >&5
8377 sed 's/^/| /' conftest.
$ac_ext >&5
8379 ac_header_compiler
=no
8381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8382 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8383 echo "${ECHO_T}$ac_header_compiler" >&6
8385 # Is the header present?
8386 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8387 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8388 cat >conftest.
$ac_ext <<_ACEOF
8391 cat confdefs.h
>>conftest.
$ac_ext
8392 cat >>conftest.
$ac_ext <<_ACEOF
8393 /* end confdefs.h. */
8394 #include <$ac_header>
8396 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8397 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8399 grep -v '^ *+' conftest.er1
>conftest.err
8401 cat conftest.err
>&5
8402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403 (exit $ac_status); } >/dev
/null
; then
8404 if test -s conftest.err
; then
8405 ac_cpp_err
=$ac_c_preproc_warn_flag
8406 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8413 if test -z "$ac_cpp_err"; then
8414 ac_header_preproc
=yes
8416 echo "$as_me: failed program was:" >&5
8417 sed 's/^/| /' conftest.
$ac_ext >&5
8419 ac_header_preproc
=no
8421 rm -f conftest.err conftest.
$ac_ext
8422 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8423 echo "${ECHO_T}$ac_header_preproc" >&6
8425 # So? What about this header?
8426 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8428 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8429 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8430 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8431 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8432 ac_header_preproc
=yes
8435 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8436 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8437 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8438 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8439 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8440 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8441 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8442 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8443 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8444 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8445 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8446 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8449 ## ------------------------------------------ ##
8450 ## Report this to the AC_PACKAGE_NAME lists. ##
8451 ## ------------------------------------------ ##
8454 sed "s/^/$as_me: WARNING: /" >&2
8457 echo "$as_me:$LINENO: checking for $ac_header" >&5
8458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8460 echo $ECHO_N "(cached) $ECHO_C" >&6
8462 eval "$as_ac_Header=\$ac_header_preproc"
8464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8468 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8469 cat >>confdefs.h
<<_ACEOF
8470 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8477 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8478 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8479 if test "${ac_cv_header_time+set}" = set; then
8480 echo $ECHO_N "(cached) $ECHO_C" >&6
8482 cat >conftest.
$ac_ext <<_ACEOF
8485 cat confdefs.h
>>conftest.
$ac_ext
8486 cat >>conftest.
$ac_ext <<_ACEOF
8487 /* end confdefs.h. */
8488 #include <sys/types.h>
8489 #include <sys/time.h>
8495 if ((struct tm *) 0)
8501 rm -f conftest.
$ac_objext
8502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8503 (eval $ac_compile) 2>conftest.er1
8505 grep -v '^ *+' conftest.er1
>conftest.err
8507 cat conftest.err
>&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 (exit $ac_status); } &&
8510 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8515 (exit $ac_status); }; } &&
8516 { ac_try
='test -s conftest.$ac_objext'
8517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 (exit $ac_status); }; }; then
8522 ac_cv_header_time
=yes
8524 echo "$as_me: failed program was:" >&5
8525 sed 's/^/| /' conftest.
$ac_ext >&5
8527 ac_cv_header_time
=no
8529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8531 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8532 echo "${ECHO_T}$ac_cv_header_time" >&6
8533 if test $ac_cv_header_time = yes; then
8535 cat >>confdefs.h
<<\_ACEOF
8536 #define TIME_WITH_SYS_TIME 1
8547 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
8548 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8549 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
8550 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
8551 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8552 echo $ECHO_N "(cached) $ECHO_C" >&6
8554 cat >conftest.
$ac_ext <<_ACEOF
8557 cat confdefs.h
>>conftest.
$ac_ext
8558 cat >>conftest.
$ac_ext <<_ACEOF
8559 /* end confdefs.h. */
8560 #include <sys/types.h>
8572 rm -f conftest.
$ac_objext
8573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8574 (eval $ac_compile) 2>conftest.er1
8576 grep -v '^ *+' conftest.er1
>conftest.err
8578 cat conftest.err
>&5
8579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580 (exit $ac_status); } &&
8581 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); }; } &&
8587 { ac_try
='test -s conftest.$ac_objext'
8588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8592 (exit $ac_status); }; }; then
8593 eval "$as_ac_Header=yes"
8595 echo "$as_me: failed program was:" >&5
8596 sed 's/^/| /' conftest.
$ac_ext >&5
8598 eval "$as_ac_Header=no"
8600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8603 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8605 cat >>confdefs.h
<<_ACEOF
8606 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8609 ac_header_dirent
=$ac_hdr; break
8613 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8614 if test $ac_header_dirent = dirent.h
; then
8615 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8616 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8617 if test "${ac_cv_search_opendir+set}" = set; then
8618 echo $ECHO_N "(cached) $ECHO_C" >&6
8620 ac_func_search_save_LIBS
=$LIBS
8621 ac_cv_search_opendir
=no
8622 cat >conftest.
$ac_ext <<_ACEOF
8625 cat confdefs.h
>>conftest.
$ac_ext
8626 cat >>conftest.
$ac_ext <<_ACEOF
8627 /* end confdefs.h. */
8629 /* Override any gcc2 internal prototype to avoid an error. */
8633 /* We use char because int might match the return type of a gcc2
8634 builtin and then its argument prototype would still apply. */
8644 rm -f conftest.
$ac_objext conftest
$ac_exeext
8645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8646 (eval $ac_link) 2>conftest.er1
8648 grep -v '^ *+' conftest.er1
>conftest.err
8650 cat conftest.err
>&5
8651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8652 (exit $ac_status); } &&
8653 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8658 (exit $ac_status); }; } &&
8659 { ac_try
='test -s conftest$ac_exeext'
8660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8664 (exit $ac_status); }; }; then
8665 ac_cv_search_opendir
="none required"
8667 echo "$as_me: failed program was:" >&5
8668 sed 's/^/| /' conftest.
$ac_ext >&5
8671 rm -f conftest.err conftest.
$ac_objext \
8672 conftest
$ac_exeext conftest.
$ac_ext
8673 if test "$ac_cv_search_opendir" = no
; then
8674 for ac_lib
in dir
; do
8675 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8676 cat >conftest.
$ac_ext <<_ACEOF
8679 cat confdefs.h
>>conftest.
$ac_ext
8680 cat >>conftest.
$ac_ext <<_ACEOF
8681 /* end confdefs.h. */
8683 /* Override any gcc2 internal prototype to avoid an error. */
8687 /* We use char because int might match the return type of a gcc2
8688 builtin and then its argument prototype would still apply. */
8698 rm -f conftest.
$ac_objext conftest
$ac_exeext
8699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8700 (eval $ac_link) 2>conftest.er1
8702 grep -v '^ *+' conftest.er1
>conftest.err
8704 cat conftest.err
>&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); } &&
8707 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8712 (exit $ac_status); }; } &&
8713 { ac_try
='test -s conftest$ac_exeext'
8714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 (exit $ac_status); }; }; then
8719 ac_cv_search_opendir
="-l$ac_lib"
8722 echo "$as_me: failed program was:" >&5
8723 sed 's/^/| /' conftest.
$ac_ext >&5
8726 rm -f conftest.err conftest.
$ac_objext \
8727 conftest
$ac_exeext conftest.
$ac_ext
8730 LIBS
=$ac_func_search_save_LIBS
8732 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8733 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8734 if test "$ac_cv_search_opendir" != no
; then
8735 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
8740 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8741 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8742 if test "${ac_cv_search_opendir+set}" = set; then
8743 echo $ECHO_N "(cached) $ECHO_C" >&6
8745 ac_func_search_save_LIBS
=$LIBS
8746 ac_cv_search_opendir
=no
8747 cat >conftest.
$ac_ext <<_ACEOF
8750 cat confdefs.h
>>conftest.
$ac_ext
8751 cat >>conftest.
$ac_ext <<_ACEOF
8752 /* end confdefs.h. */
8754 /* Override any gcc2 internal prototype to avoid an error. */
8758 /* We use char because int might match the return type of a gcc2
8759 builtin and then its argument prototype would still apply. */
8769 rm -f conftest.
$ac_objext conftest
$ac_exeext
8770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8771 (eval $ac_link) 2>conftest.er1
8773 grep -v '^ *+' conftest.er1
>conftest.err
8775 cat conftest.err
>&5
8776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8777 (exit $ac_status); } &&
8778 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8783 (exit $ac_status); }; } &&
8784 { ac_try
='test -s conftest$ac_exeext'
8785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8789 (exit $ac_status); }; }; then
8790 ac_cv_search_opendir
="none required"
8792 echo "$as_me: failed program was:" >&5
8793 sed 's/^/| /' conftest.
$ac_ext >&5
8796 rm -f conftest.err conftest.
$ac_objext \
8797 conftest
$ac_exeext conftest.
$ac_ext
8798 if test "$ac_cv_search_opendir" = no
; then
8800 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8801 cat >conftest.
$ac_ext <<_ACEOF
8804 cat confdefs.h
>>conftest.
$ac_ext
8805 cat >>conftest.
$ac_ext <<_ACEOF
8806 /* end confdefs.h. */
8808 /* Override any gcc2 internal prototype to avoid an error. */
8812 /* We use char because int might match the return type of a gcc2
8813 builtin and then its argument prototype would still apply. */
8823 rm -f conftest.
$ac_objext conftest
$ac_exeext
8824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8825 (eval $ac_link) 2>conftest.er1
8827 grep -v '^ *+' conftest.er1
>conftest.err
8829 cat conftest.err
>&5
8830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831 (exit $ac_status); } &&
8832 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8837 (exit $ac_status); }; } &&
8838 { ac_try
='test -s conftest$ac_exeext'
8839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8843 (exit $ac_status); }; }; then
8844 ac_cv_search_opendir
="-l$ac_lib"
8847 echo "$as_me: failed program was:" >&5
8848 sed 's/^/| /' conftest.
$ac_ext >&5
8851 rm -f conftest.err conftest.
$ac_objext \
8852 conftest
$ac_exeext conftest.
$ac_ext
8855 LIBS
=$ac_func_search_save_LIBS
8857 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8858 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8859 if test "$ac_cv_search_opendir" != no
; then
8860 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
8873 for ac_func
in fcntl getpagesize setitimer sysconf fdopen getuid getgid
8875 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8876 echo "$as_me:$LINENO: checking for $ac_func" >&5
8877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8878 if eval "test \"\${$as_ac_var+set}\" = set"; then
8879 echo $ECHO_N "(cached) $ECHO_C" >&6
8881 cat >conftest.
$ac_ext <<_ACEOF
8884 cat confdefs.h
>>conftest.
$ac_ext
8885 cat >>conftest.
$ac_ext <<_ACEOF
8886 /* end confdefs.h. */
8887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8889 #define $ac_func innocuous_$ac_func
8891 /* System header to define __stub macros and hopefully few prototypes,
8892 which can conflict with char $ac_func (); below.
8893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8894 <limits.h> exists even on freestanding compilers. */
8897 # include <limits.h>
8899 # include <assert.h>
8904 /* Override any gcc2 internal prototype to avoid an error. */
8909 /* We use char because int might match the return type of a gcc2
8910 builtin and then its argument prototype would still apply. */
8912 /* The GNU C library defines this for functions which it implements
8913 to always fail with ENOSYS. Some functions are actually named
8914 something starting with __ and the normal name is an alias. */
8915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8918 char (*f) () = $ac_func;
8927 return f != $ac_func;
8932 rm -f conftest.
$ac_objext conftest
$ac_exeext
8933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8934 (eval $ac_link) 2>conftest.er1
8936 grep -v '^ *+' conftest.er1
>conftest.err
8938 cat conftest.err
>&5
8939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8940 (exit $ac_status); } &&
8941 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8946 (exit $ac_status); }; } &&
8947 { ac_try
='test -s conftest$ac_exeext'
8948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8952 (exit $ac_status); }; }; then
8953 eval "$as_ac_var=yes"
8955 echo "$as_me: failed program was:" >&5
8956 sed 's/^/| /' conftest.
$ac_ext >&5
8958 eval "$as_ac_var=no"
8960 rm -f conftest.err conftest.
$ac_objext \
8961 conftest
$ac_exeext conftest.
$ac_ext
8963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8965 if test `eval echo '${'$as_ac_var'}'` = yes; then
8966 cat >>confdefs.h
<<_ACEOF
8967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8974 for ac_func
in strtoull
8976 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8977 echo "$as_me:$LINENO: checking for $ac_func" >&5
8978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8979 if eval "test \"\${$as_ac_var+set}\" = set"; then
8980 echo $ECHO_N "(cached) $ECHO_C" >&6
8982 cat >conftest.
$ac_ext <<_ACEOF
8985 cat confdefs.h
>>conftest.
$ac_ext
8986 cat >>conftest.
$ac_ext <<_ACEOF
8987 /* end confdefs.h. */
8988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8990 #define $ac_func innocuous_$ac_func
8992 /* System header to define __stub macros and hopefully few prototypes,
8993 which can conflict with char $ac_func (); below.
8994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8995 <limits.h> exists even on freestanding compilers. */
8998 # include <limits.h>
9000 # include <assert.h>
9005 /* Override any gcc2 internal prototype to avoid an error. */
9010 /* We use char because int might match the return type of a gcc2
9011 builtin and then its argument prototype would still apply. */
9013 /* The GNU C library defines this for functions which it implements
9014 to always fail with ENOSYS. Some functions are actually named
9015 something starting with __ and the normal name is an alias. */
9016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9019 char (*f) () = $ac_func;
9028 return f != $ac_func;
9033 rm -f conftest.
$ac_objext conftest
$ac_exeext
9034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9035 (eval $ac_link) 2>conftest.er1
9037 grep -v '^ *+' conftest.er1
>conftest.err
9039 cat conftest.err
>&5
9040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9041 (exit $ac_status); } &&
9042 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9047 (exit $ac_status); }; } &&
9048 { ac_try
='test -s conftest$ac_exeext'
9049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053 (exit $ac_status); }; }; then
9054 eval "$as_ac_var=yes"
9056 echo "$as_me: failed program was:" >&5
9057 sed 's/^/| /' conftest.
$ac_ext >&5
9059 eval "$as_ac_var=no"
9061 rm -f conftest.err conftest.
$ac_objext \
9062 conftest
$ac_exeext conftest.
$ac_ext
9064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9066 if test `eval echo '${'$as_ac_var'}'` = yes; then
9067 cat >>confdefs.h
<<_ACEOF
9068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9077 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
9079 cat >>confdefs.h
<<\_ACEOF
9080 #define USE_BINARY_FOPEN 1
9085 echo "$as_me:$LINENO: checking whether strstr must be declared" >&5
9086 echo $ECHO_N "checking whether strstr must be declared... $ECHO_C" >&6
9087 if test "${bfd_cv_decl_needed_strstr+set}" = set; then
9088 echo $ECHO_N "(cached) $ECHO_C" >&6
9090 cat >conftest.
$ac_ext <<_ACEOF
9093 cat confdefs.h
>>conftest.
$ac_ext
9094 cat >>conftest.
$ac_ext <<_ACEOF
9095 /* end confdefs.h. */
9098 #ifdef HAVE_STRING_H
9101 #ifdef HAVE_STRINGS_H
9102 #include <strings.h>
9105 #ifdef HAVE_STDLIB_H
9108 #ifdef HAVE_UNISTD_H
9114 char *(*pfn) = (char *(*)) strstr
9119 rm -f conftest.
$ac_objext
9120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9121 (eval $ac_compile) 2>conftest.er1
9123 grep -v '^ *+' conftest.er1
>conftest.err
9125 cat conftest.err
>&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); } &&
9128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133 (exit $ac_status); }; } &&
9134 { ac_try
='test -s conftest.$ac_objext'
9135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139 (exit $ac_status); }; }; then
9140 bfd_cv_decl_needed_strstr
=no
9142 echo "$as_me: failed program was:" >&5
9143 sed 's/^/| /' conftest.
$ac_ext >&5
9145 bfd_cv_decl_needed_strstr
=yes
9147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9150 echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_strstr" >&5
9151 echo "${ECHO_T}$bfd_cv_decl_needed_strstr" >&6
9152 if test $bfd_cv_decl_needed_strstr = yes; then
9154 cat >>confdefs.h
<<\_ACEOF
9155 #define NEED_DECLARATION_STRSTR 1
9160 echo "$as_me:$LINENO: checking whether malloc must be declared" >&5
9161 echo $ECHO_N "checking whether malloc must be declared... $ECHO_C" >&6
9162 if test "${bfd_cv_decl_needed_malloc+set}" = set; then
9163 echo $ECHO_N "(cached) $ECHO_C" >&6
9165 cat >conftest.
$ac_ext <<_ACEOF
9168 cat confdefs.h
>>conftest.
$ac_ext
9169 cat >>conftest.
$ac_ext <<_ACEOF
9170 /* end confdefs.h. */
9173 #ifdef HAVE_STRING_H
9176 #ifdef HAVE_STRINGS_H
9177 #include <strings.h>
9180 #ifdef HAVE_STDLIB_H
9183 #ifdef HAVE_UNISTD_H
9189 char *(*pfn) = (char *(*)) malloc
9194 rm -f conftest.
$ac_objext
9195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9196 (eval $ac_compile) 2>conftest.er1
9198 grep -v '^ *+' conftest.er1
>conftest.err
9200 cat conftest.err
>&5
9201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9202 (exit $ac_status); } &&
9203 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9208 (exit $ac_status); }; } &&
9209 { ac_try
='test -s conftest.$ac_objext'
9210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9214 (exit $ac_status); }; }; then
9215 bfd_cv_decl_needed_malloc
=no
9217 echo "$as_me: failed program was:" >&5
9218 sed 's/^/| /' conftest.
$ac_ext >&5
9220 bfd_cv_decl_needed_malloc
=yes
9222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9225 echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_malloc" >&5
9226 echo "${ECHO_T}$bfd_cv_decl_needed_malloc" >&6
9227 if test $bfd_cv_decl_needed_malloc = yes; then
9229 cat >>confdefs.h
<<\_ACEOF
9230 #define NEED_DECLARATION_MALLOC 1
9235 echo "$as_me:$LINENO: checking whether realloc must be declared" >&5
9236 echo $ECHO_N "checking whether realloc must be declared... $ECHO_C" >&6
9237 if test "${bfd_cv_decl_needed_realloc+set}" = set; then
9238 echo $ECHO_N "(cached) $ECHO_C" >&6
9240 cat >conftest.
$ac_ext <<_ACEOF
9243 cat confdefs.h
>>conftest.
$ac_ext
9244 cat >>conftest.
$ac_ext <<_ACEOF
9245 /* end confdefs.h. */
9248 #ifdef HAVE_STRING_H
9251 #ifdef HAVE_STRINGS_H
9252 #include <strings.h>
9255 #ifdef HAVE_STDLIB_H
9258 #ifdef HAVE_UNISTD_H
9264 char *(*pfn) = (char *(*)) realloc
9269 rm -f conftest.
$ac_objext
9270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9271 (eval $ac_compile) 2>conftest.er1
9273 grep -v '^ *+' conftest.er1
>conftest.err
9275 cat conftest.err
>&5
9276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9277 (exit $ac_status); } &&
9278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9283 (exit $ac_status); }; } &&
9284 { ac_try
='test -s conftest.$ac_objext'
9285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9289 (exit $ac_status); }; }; then
9290 bfd_cv_decl_needed_realloc
=no
9292 echo "$as_me: failed program was:" >&5
9293 sed 's/^/| /' conftest.
$ac_ext >&5
9295 bfd_cv_decl_needed_realloc
=yes
9297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9300 echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_realloc" >&5
9301 echo "${ECHO_T}$bfd_cv_decl_needed_realloc" >&6
9302 if test $bfd_cv_decl_needed_realloc = yes; then
9304 cat >>confdefs.h
<<\_ACEOF
9305 #define NEED_DECLARATION_REALLOC 1
9310 echo "$as_me:$LINENO: checking whether free must be declared" >&5
9311 echo $ECHO_N "checking whether free must be declared... $ECHO_C" >&6
9312 if test "${bfd_cv_decl_needed_free+set}" = set; then
9313 echo $ECHO_N "(cached) $ECHO_C" >&6
9315 cat >conftest.
$ac_ext <<_ACEOF
9318 cat confdefs.h
>>conftest.
$ac_ext
9319 cat >>conftest.
$ac_ext <<_ACEOF
9320 /* end confdefs.h. */
9323 #ifdef HAVE_STRING_H
9326 #ifdef HAVE_STRINGS_H
9327 #include <strings.h>
9330 #ifdef HAVE_STDLIB_H
9333 #ifdef HAVE_UNISTD_H
9339 char *(*pfn) = (char *(*)) free
9344 rm -f conftest.
$ac_objext
9345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9346 (eval $ac_compile) 2>conftest.er1
9348 grep -v '^ *+' conftest.er1
>conftest.err
9350 cat conftest.err
>&5
9351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9352 (exit $ac_status); } &&
9353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9358 (exit $ac_status); }; } &&
9359 { ac_try
='test -s conftest.$ac_objext'
9360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9364 (exit $ac_status); }; }; then
9365 bfd_cv_decl_needed_free
=no
9367 echo "$as_me: failed program was:" >&5
9368 sed 's/^/| /' conftest.
$ac_ext >&5
9370 bfd_cv_decl_needed_free
=yes
9372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9375 echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_free" >&5
9376 echo "${ECHO_T}$bfd_cv_decl_needed_free" >&6
9377 if test $bfd_cv_decl_needed_free = yes; then
9379 cat >>confdefs.h
<<\_ACEOF
9380 #define NEED_DECLARATION_FREE 1
9385 echo "$as_me:$LINENO: checking whether getenv must be declared" >&5
9386 echo $ECHO_N "checking whether getenv must be declared... $ECHO_C" >&6
9387 if test "${bfd_cv_decl_needed_getenv+set}" = set; then
9388 echo $ECHO_N "(cached) $ECHO_C" >&6
9390 cat >conftest.
$ac_ext <<_ACEOF
9393 cat confdefs.h
>>conftest.
$ac_ext
9394 cat >>conftest.
$ac_ext <<_ACEOF
9395 /* end confdefs.h. */
9398 #ifdef HAVE_STRING_H
9401 #ifdef HAVE_STRINGS_H
9402 #include <strings.h>
9405 #ifdef HAVE_STDLIB_H
9408 #ifdef HAVE_UNISTD_H
9414 char *(*pfn) = (char *(*)) getenv
9419 rm -f conftest.
$ac_objext
9420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9421 (eval $ac_compile) 2>conftest.er1
9423 grep -v '^ *+' conftest.er1
>conftest.err
9425 cat conftest.err
>&5
9426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9427 (exit $ac_status); } &&
9428 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9433 (exit $ac_status); }; } &&
9434 { ac_try
='test -s conftest.$ac_objext'
9435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9439 (exit $ac_status); }; }; then
9440 bfd_cv_decl_needed_getenv
=no
9442 echo "$as_me: failed program was:" >&5
9443 sed 's/^/| /' conftest.
$ac_ext >&5
9445 bfd_cv_decl_needed_getenv
=yes
9447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9450 echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_getenv" >&5
9451 echo "${ECHO_T}$bfd_cv_decl_needed_getenv" >&6
9452 if test $bfd_cv_decl_needed_getenv = yes; then
9454 cat >>confdefs.h
<<\_ACEOF
9455 #define NEED_DECLARATION_GETENV 1
9461 # If we are configured native, pick a core file support file.
9465 if test "${target}" = "${host}"; then
9467 alpha
*-*-freebsd* | alpha
*-*-kfreebsd*-gnu)
9470 alpha
*-*-linux-gnu*)
9471 COREFILE
=trad-core.lo
9472 TRAD_HEADER
='"hosts/alphalinux.h"'
9474 alpha
*-*-netbsd* | alpha
*-*-openbsd*)
9475 COREFILE
=netbsd-core.lo
9477 alpha
*-*-*) COREFILE
=osf-core.lo
;;
9478 arm-
*-freebsd* | arm-
*-kfreebsd*-gnu)
9480 arm-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
9481 arm-
*-riscix) COREFILE
=trad-core.lo
;;
9482 hppa
*-*-hpux*) COREFILE
=hpux-core.lo
;;
9483 hppa
*-*-hiux*) COREFILE
=hpux-core.lo
;;
9484 hppa
*-*-mpeix*) COREFILE
=hpux-core.lo
;;
9485 hppa
*-*-bsd*) COREFILE
="hpux-core.lo hppabsd-core.lo"
9486 COREFLAG
="-DHPUX_CORE -DHPPABSD_CORE" ;;
9487 hppa
*-*-netbsd* | hppa
*-*-openbsd*)
9488 COREFILE
=netbsd-core.lo
9492 COREFILE
=trad-core.lo
9493 TRAD_HEADER
='"hosts/i370linux.h"'
9496 i
[3-7]86-sequent-bsd*)
9497 COREFILE
=trad-core.lo
9498 TRAD_HEADER
='"hosts/symmetry.h"'
9500 i
[3-7]86-sequent-sysv4*) ;;
9501 i
[3-7]86-sequent-sysv*)
9502 COREFILE
=trad-core.lo
9503 TRAD_HEADER
='"hosts/symmetry.h"'
9508 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
*)
9509 COREFILE
=trad-core.lo
9510 TRAD_HEADER
='"hosts/i386bsd.h"'
9512 i
[3-7]86-*-freebsd* | i
[3-7]86-*-kfreebsd*-gnu)
9514 TRAD_HEADER
='"hosts/i386bsd.h"'
9516 i
[3-7]86-*-netbsd* | i
[3-7]86-*-knetbsd*-gnu | i
[3-7]86-*-openbsd*)
9517 COREFILE
=netbsd-core.lo
9519 i
[3-7]86-esix-sysv3*)
9520 COREFILE
=trad-core.lo
9521 TRAD_HEADER
='"hosts/esix.h"'
9523 i
[3-7]86-*-sco3.2v5
*)
9524 COREFILE
=sco5-core.lo
9526 i
[3-7]86-*-sco* | i
[3-7]86-*-isc*)
9527 COREFILE
=trad-core.lo
9528 TRAD_HEADER
='"hosts/i386sco.h"'
9531 COREFILE
=trad-core.lo
9532 TRAD_HEADER
='"hosts/i386mach3.h"'
9534 i
[3-7]86-*-linux-gnu*)
9535 COREFILE
=trad-core.lo
9536 TRAD_HEADER
='"hosts/i386linux.h"'
9538 i
[3-7]86-*-isc*) COREFILE
=trad-core.lo
;;
9539 i
[3-7]86-*-aix*) COREFILE
=aix386-core.lo
;;
9540 i860-
*-mach3* | i860-
*-osf1*)
9541 COREFILE
=trad-core.lo
9542 TRAD_HEADER
='"hosts/i860mach3.h"'
9544 mips-
*-netbsd* | mips
*-*-openbsd*)
9545 COREFILE
=netbsd-core.lo
9548 COREFILE
=trad-core.lo
9549 TRAD_HEADER
='"hosts/decstation.h"'
9551 mips-sgi-irix4
*) COREFILE
=irix-core.lo
;;
9552 mips-sgi-irix5
*) COREFILE
=irix-core.lo
;;
9553 mips-sgi-irix6
*) COREFILE
=irix-core.lo
;;
9555 mips-
*-sysv* | mips-
*-riscos*)
9556 COREFILE
=trad-core.lo
9557 TRAD_HEADER
='"hosts/riscos.h"'
9560 COREFILE
=trad-core.lo
9561 TRAD_HEADER
='"hosts/news-mips.h"'
9564 COREFILE
=trad-core.lo
9565 TRAD_HEADER
='"hosts/dpx2.h"'
9567 m68
*-hp-hpux*) COREFILE
=hpux-core.lo
;;
9569 COREFILE
=trad-core.lo
9570 TRAD_HEADER
='"hosts/hp300bsd.h"'
9573 COREFILE
=trad-core.lo
9574 TRAD_HEADER
='"hosts/m68klinux.h"'
9576 m68
*-motorola-sysv*)
9577 COREFILE
=trad-core.lo
9578 TRAD_HEADER
='"hosts/delta68.h"'
9581 COREFILE
=trad-core.lo
9582 TRAD_HEADER
='"hosts/news.h"'
9584 m68
*-*-netbsd* | m68
*-*-openbsd*)
9585 COREFILE
=netbsd-core.lo
9588 COREFILE
=trad-core.lo
9589 TRAD_HEADER
='"hosts/m68kaux.h"'
9593 m88
*-motorola-sysv*)
9594 COREFILE
=ptrace-core.lo
9597 COREFILE
=trad-core.lo
9598 TRAD_HEADER
='"hosts/m88kmach3.h"'
9601 COREFILE
=netbsd-core.lo
9604 COREFILE
=trad-core.lo
9605 TRAD_HEADER
='"hosts/pc532mach.h"'
9607 ns32k-
*-netbsd* | ns32k-
*-openbsd*)
9608 COREFILE
=netbsd-core.lo
9611 COREFILE
=lynx-core.lo
9613 rs6000-
*-aix5.
* | powerpc-
*-aix5.
*)
9614 COREFILE
=rs6000-core.lo
9615 COREFLAG
="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
9617 rs6000-
*-aix4.
[3-9]* | powerpc-
*-aix4.
[3-9]*)
9618 COREFILE
=rs6000-core.lo
9619 COREFLAG
="$COREFLAG -DAIX_CORE_DUMPX_CORE"
9620 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
9621 # have c_impl as a member of struct core_dumpx
9622 echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
9623 echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
9624 cat >conftest.
$ac_ext <<_ACEOF
9627 cat confdefs.h
>>conftest.
$ac_ext
9628 cat >>conftest.
$ac_ext <<_ACEOF
9629 /* end confdefs.h. */
9634 struct core_dumpx c; c.c_impl = 0;
9639 rm -f conftest.
$ac_objext
9640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9641 (eval $ac_compile) 2>conftest.er1
9643 grep -v '^ *+' conftest.er1
>conftest.err
9645 cat conftest.err
>&5
9646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9647 (exit $ac_status); } &&
9648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9653 (exit $ac_status); }; } &&
9654 { ac_try
='test -s conftest.$ac_objext'
9655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9659 (exit $ac_status); }; }; then
9661 cat >>confdefs.h
<<\_ACEOF
9662 #define HAVE_ST_C_IMPL 1
9665 echo "$as_me:$LINENO: result: yes" >&5
9666 echo "${ECHO_T}yes" >&6
9668 echo "$as_me: failed program was:" >&5
9669 sed 's/^/| /' conftest.
$ac_ext >&5
9671 echo "$as_me:$LINENO: result: no" >&5
9672 echo "${ECHO_T}no" >&6
9674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9676 rs6000-
*-aix4*) COREFILE
=rs6000-core.lo
;;
9677 rs6000-
*-*) COREFILE
=rs6000-core.lo
;;
9678 powerpc-
*-aix4*) COREFILE
=rs6000-core.lo
;;
9679 powerpc-
*-aix*) COREFILE
=rs6000-core.lo
;;
9681 powerpc-
*-freebsd* | powerpc-
*-kfreebsd*-gnu)
9683 powerpc-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
9684 powerpc-
*-*bsd
*) COREFILE
=netbsd-core.lo
;;
9685 s390
*-*-*) COREFILE
=trad-core.lo
;;
9686 sh
*-*-netbsd*) COREFILE
=netbsd-core.lo
;;
9687 sparc-
*-netbsd* | sparc
*-*-openbsd*)
9688 COREFILE
=netbsd-core.lo
9691 COREFILE
=trad-core.lo
9692 TRAD_HEADER
='"hosts/tahoe.h"'
9694 vax-
*-netbsd* | vax-
*-openbsd*)
9695 COREFILE
=netbsd-core.lo
9698 COREFILE
=trad-core.lo
9699 TRAD_HEADER
='"hosts/vaxult2.h"'
9702 COREFILE
=trad-core.lo
9703 TRAD_HEADER
='"hosts/vaxult2.h"'
9706 COREFILE
=trad-core.lo
9707 TRAD_HEADER
='"hosts/vaxlinux.h"'
9710 COREFILE
=trad-core.lo
9711 TRAD_HEADER
='"hosts/vaxbsd.h"'
9713 x86_64-
*-netbsd* | x86_64-
*-openbsd*)
9714 COREFILE
=netbsd-core.lo
9719 aix386-core.lo
) COREFLAG
=-DAIX386_CORE ;;
9720 hppabsd-core.lo
) COREFLAG
=-DHPPABSD_CORE ;;
9721 hpux-core.lo
) COREFLAG
=-DHPUX_CORE ;;
9722 irix-core.lo
) COREFLAG
=-DIRIX_CORE ;;
9723 lynx-core.lo
) COREFLAG
=-DLYNX_CORE ;;
9724 netbsd-core.lo
) COREFLAG
=-DNETBSD_CORE ;;
9725 osf-core.lo
) COREFLAG
=-DOSF_CORE ;;
9726 ptrace-core.lo
) COREFLAG
=-DPTRACE_CORE ;;
9727 rs6000-core.lo
) COREFLAG
="$COREFLAG -DAIX_CORE" ;;
9728 sco5-core.lo
) COREFLAG
="$COREFLAG -DSCO5_CORE" ;;
9729 trad-core.lo
) COREFLAG
="$COREFLAG -DTRAD_CORE" ;;
9732 # ELF corefile support has several flavors, but all of
9733 # them use something called <sys/procfs.h>
9735 for ac_header
in sys
/procfs.h
9737 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9739 echo "$as_me:$LINENO: checking for $ac_header" >&5
9740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9742 echo $ECHO_N "(cached) $ECHO_C" >&6
9744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9747 # Is the header compilable?
9748 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9749 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9750 cat >conftest.
$ac_ext <<_ACEOF
9753 cat confdefs.h
>>conftest.
$ac_ext
9754 cat >>conftest.
$ac_ext <<_ACEOF
9755 /* end confdefs.h. */
9756 $ac_includes_default
9757 #include <$ac_header>
9759 rm -f conftest.
$ac_objext
9760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9761 (eval $ac_compile) 2>conftest.er1
9763 grep -v '^ *+' conftest.er1
>conftest.err
9765 cat conftest.err
>&5
9766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9767 (exit $ac_status); } &&
9768 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9773 (exit $ac_status); }; } &&
9774 { ac_try
='test -s conftest.$ac_objext'
9775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); }; }; then
9780 ac_header_compiler
=yes
9782 echo "$as_me: failed program was:" >&5
9783 sed 's/^/| /' conftest.
$ac_ext >&5
9785 ac_header_compiler
=no
9787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9788 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9789 echo "${ECHO_T}$ac_header_compiler" >&6
9791 # Is the header present?
9792 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9793 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9794 cat >conftest.
$ac_ext <<_ACEOF
9797 cat confdefs.h
>>conftest.
$ac_ext
9798 cat >>conftest.
$ac_ext <<_ACEOF
9799 /* end confdefs.h. */
9800 #include <$ac_header>
9802 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9803 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9805 grep -v '^ *+' conftest.er1
>conftest.err
9807 cat conftest.err
>&5
9808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9809 (exit $ac_status); } >/dev
/null
; then
9810 if test -s conftest.err
; then
9811 ac_cpp_err
=$ac_c_preproc_warn_flag
9812 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9819 if test -z "$ac_cpp_err"; then
9820 ac_header_preproc
=yes
9822 echo "$as_me: failed program was:" >&5
9823 sed 's/^/| /' conftest.
$ac_ext >&5
9825 ac_header_preproc
=no
9827 rm -f conftest.err conftest.
$ac_ext
9828 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9829 echo "${ECHO_T}$ac_header_preproc" >&6
9831 # So? What about this header?
9832 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9834 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9835 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9837 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9838 ac_header_preproc
=yes
9841 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9842 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9843 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9844 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9845 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9846 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9847 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9848 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9850 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9851 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9852 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9855 ## ------------------------------------------ ##
9856 ## Report this to the AC_PACKAGE_NAME lists. ##
9857 ## ------------------------------------------ ##
9860 sed "s/^/$as_me: WARNING: /" >&2
9863 echo "$as_me:$LINENO: checking for $ac_header" >&5
9864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9866 echo $ECHO_N "(cached) $ECHO_C" >&6
9868 eval "$as_ac_Header=\$ac_header_preproc"
9870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9871 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9874 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9875 cat >>confdefs.h
<<_ACEOF
9876 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9883 if test "$ac_cv_header_sys_procfs_h" = yes; then
9884 echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
9885 echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
9886 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
9887 echo $ECHO_N "(cached) $ECHO_C" >&6
9889 cat >conftest.
$ac_ext <<_ACEOF
9892 cat confdefs.h
>>conftest.
$ac_ext
9893 cat >>conftest.
$ac_ext <<_ACEOF
9894 /* end confdefs.h. */
9897 #include <sys/procfs.h>
9906 rm -f conftest.
$ac_objext
9907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9908 (eval $ac_compile) 2>conftest.er1
9910 grep -v '^ *+' conftest.er1
>conftest.err
9912 cat conftest.err
>&5
9913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914 (exit $ac_status); } &&
9915 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9920 (exit $ac_status); }; } &&
9921 { ac_try
='test -s conftest.$ac_objext'
9922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9926 (exit $ac_status); }; }; then
9927 bfd_cv_have_sys_procfs_type_prstatus_t
=yes
9929 echo "$as_me: failed program was:" >&5
9930 sed 's/^/| /' conftest.
$ac_ext >&5
9932 bfd_cv_have_sys_procfs_type_prstatus_t
=no
9935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9938 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
9940 cat >>confdefs.h
<<\_ACEOF
9941 #define HAVE_PRSTATUS_T 1
9945 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
9946 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
9948 echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
9949 echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
9950 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
9951 echo $ECHO_N "(cached) $ECHO_C" >&6
9953 cat >conftest.
$ac_ext <<_ACEOF
9956 cat confdefs.h
>>conftest.
$ac_ext
9957 cat >>conftest.
$ac_ext <<_ACEOF
9958 /* end confdefs.h. */
9961 #include <sys/procfs.h>
9970 rm -f conftest.
$ac_objext
9971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9972 (eval $ac_compile) 2>conftest.er1
9974 grep -v '^ *+' conftest.er1
>conftest.err
9976 cat conftest.err
>&5
9977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9978 (exit $ac_status); } &&
9979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984 (exit $ac_status); }; } &&
9985 { ac_try
='test -s conftest.$ac_objext'
9986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9990 (exit $ac_status); }; }; then
9991 bfd_cv_have_sys_procfs_type_prstatus32_t
=yes
9993 echo "$as_me: failed program was:" >&5
9994 sed 's/^/| /' conftest.
$ac_ext >&5
9996 bfd_cv_have_sys_procfs_type_prstatus32_t
=no
9999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10002 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
10004 cat >>confdefs.h
<<\_ACEOF
10005 #define HAVE_PRSTATUS32_T 1
10009 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
10010 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
10012 echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
10013 echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
10014 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
10015 echo $ECHO_N "(cached) $ECHO_C" >&6
10017 cat >conftest.
$ac_ext <<_ACEOF
10020 cat confdefs.h
>>conftest.
$ac_ext
10021 cat >>conftest.
$ac_ext <<_ACEOF
10022 /* end confdefs.h. */
10025 #include <sys/procfs.h>
10029 prstatus_t avar; void* aref = (void*) &avar.pr_who
10034 rm -f conftest.
$ac_objext
10035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10036 (eval $ac_compile) 2>conftest.er1
10038 grep -v '^ *+' conftest.er1
>conftest.err
10040 cat conftest.err
>&5
10041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042 (exit $ac_status); } &&
10043 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10045 (eval $ac_try) 2>&5
10047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10048 (exit $ac_status); }; } &&
10049 { ac_try
='test -s conftest.$ac_objext'
10050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10051 (eval $ac_try) 2>&5
10053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); }; }; then
10055 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=yes
10057 echo "$as_me: failed program was:" >&5
10058 sed 's/^/| /' conftest.
$ac_ext >&5
10060 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=no
10063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10066 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
10068 cat >>confdefs.h
<<\_ACEOF
10069 #define HAVE_PRSTATUS_T_PR_WHO 1
10073 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
10074 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
10076 echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
10077 echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
10078 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
10079 echo $ECHO_N "(cached) $ECHO_C" >&6
10081 cat >conftest.
$ac_ext <<_ACEOF
10084 cat confdefs.h
>>conftest.
$ac_ext
10085 cat >>conftest.
$ac_ext <<_ACEOF
10086 /* end confdefs.h. */
10089 #include <sys/procfs.h>
10093 prstatus32_t avar; void* aref = (void*) &avar.pr_who
10098 rm -f conftest.
$ac_objext
10099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10100 (eval $ac_compile) 2>conftest.er1
10102 grep -v '^ *+' conftest.er1
>conftest.err
10104 cat conftest.err
>&5
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 (exit $ac_status); } &&
10107 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10109 (eval $ac_try) 2>&5
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); }; } &&
10113 { ac_try
='test -s conftest.$ac_objext'
10114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10115 (eval $ac_try) 2>&5
10117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10118 (exit $ac_status); }; }; then
10119 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=yes
10121 echo "$as_me: failed program was:" >&5
10122 sed 's/^/| /' conftest.
$ac_ext >&5
10124 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=no
10127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10130 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
10132 cat >>confdefs.h
<<\_ACEOF
10133 #define HAVE_PRSTATUS32_T_PR_WHO 1
10137 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
10138 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
10140 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
10141 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
10142 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
10143 echo $ECHO_N "(cached) $ECHO_C" >&6
10145 cat >conftest.
$ac_ext <<_ACEOF
10148 cat confdefs.h
>>conftest.
$ac_ext
10149 cat >>conftest.
$ac_ext <<_ACEOF
10150 /* end confdefs.h. */
10153 #include <sys/procfs.h>
10162 rm -f conftest.
$ac_objext
10163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10164 (eval $ac_compile) 2>conftest.er1
10166 grep -v '^ *+' conftest.er1
>conftest.err
10168 cat conftest.err
>&5
10169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10170 (exit $ac_status); } &&
10171 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10173 (eval $ac_try) 2>&5
10175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10176 (exit $ac_status); }; } &&
10177 { ac_try
='test -s conftest.$ac_objext'
10178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10179 (eval $ac_try) 2>&5
10181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10182 (exit $ac_status); }; }; then
10183 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
10185 echo "$as_me: failed program was:" >&5
10186 sed 's/^/| /' conftest.
$ac_ext >&5
10188 bfd_cv_have_sys_procfs_type_pstatus_t
=no
10191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10194 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
10196 cat >>confdefs.h
<<\_ACEOF
10197 #define HAVE_PSTATUS_T 1
10201 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
10202 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
10204 echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
10205 echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
10206 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
10207 echo $ECHO_N "(cached) $ECHO_C" >&6
10209 cat >conftest.
$ac_ext <<_ACEOF
10212 cat confdefs.h
>>conftest.
$ac_ext
10213 cat >>conftest.
$ac_ext <<_ACEOF
10214 /* end confdefs.h. */
10217 #include <sys/procfs.h>
10226 rm -f conftest.
$ac_objext
10227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10228 (eval $ac_compile) 2>conftest.er1
10230 grep -v '^ *+' conftest.er1
>conftest.err
10232 cat conftest.err
>&5
10233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10234 (exit $ac_status); } &&
10235 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10237 (eval $ac_try) 2>&5
10239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10240 (exit $ac_status); }; } &&
10241 { ac_try
='test -s conftest.$ac_objext'
10242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10243 (eval $ac_try) 2>&5
10245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10246 (exit $ac_status); }; }; then
10247 bfd_cv_have_sys_procfs_type_pxstatus_t
=yes
10249 echo "$as_me: failed program was:" >&5
10250 sed 's/^/| /' conftest.
$ac_ext >&5
10252 bfd_cv_have_sys_procfs_type_pxstatus_t
=no
10255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10258 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
10260 cat >>confdefs.h
<<\_ACEOF
10261 #define HAVE_PXSTATUS_T 1
10265 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
10266 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
10268 echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
10269 echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
10270 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
10271 echo $ECHO_N "(cached) $ECHO_C" >&6
10273 cat >conftest.
$ac_ext <<_ACEOF
10276 cat confdefs.h
>>conftest.
$ac_ext
10277 cat >>conftest.
$ac_ext <<_ACEOF
10278 /* end confdefs.h. */
10281 #include <sys/procfs.h>
10290 rm -f conftest.
$ac_objext
10291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10292 (eval $ac_compile) 2>conftest.er1
10294 grep -v '^ *+' conftest.er1
>conftest.err
10296 cat conftest.err
>&5
10297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10298 (exit $ac_status); } &&
10299 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10301 (eval $ac_try) 2>&5
10303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304 (exit $ac_status); }; } &&
10305 { ac_try
='test -s conftest.$ac_objext'
10306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10307 (eval $ac_try) 2>&5
10309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10310 (exit $ac_status); }; }; then
10311 bfd_cv_have_sys_procfs_type_pstatus32_t
=yes
10313 echo "$as_me: failed program was:" >&5
10314 sed 's/^/| /' conftest.
$ac_ext >&5
10316 bfd_cv_have_sys_procfs_type_pstatus32_t
=no
10319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10322 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
10324 cat >>confdefs.h
<<\_ACEOF
10325 #define HAVE_PSTATUS32_T 1
10329 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
10330 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
10332 echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
10333 echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
10334 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
10335 echo $ECHO_N "(cached) $ECHO_C" >&6
10337 cat >conftest.
$ac_ext <<_ACEOF
10340 cat confdefs.h
>>conftest.
$ac_ext
10341 cat >>conftest.
$ac_ext <<_ACEOF
10342 /* end confdefs.h. */
10345 #include <sys/procfs.h>
10354 rm -f conftest.
$ac_objext
10355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10356 (eval $ac_compile) 2>conftest.er1
10358 grep -v '^ *+' conftest.er1
>conftest.err
10360 cat conftest.err
>&5
10361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362 (exit $ac_status); } &&
10363 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10365 (eval $ac_try) 2>&5
10367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10368 (exit $ac_status); }; } &&
10369 { ac_try
='test -s conftest.$ac_objext'
10370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10371 (eval $ac_try) 2>&5
10373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10374 (exit $ac_status); }; }; then
10375 bfd_cv_have_sys_procfs_type_prpsinfo_t
=yes
10377 echo "$as_me: failed program was:" >&5
10378 sed 's/^/| /' conftest.
$ac_ext >&5
10380 bfd_cv_have_sys_procfs_type_prpsinfo_t
=no
10383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10386 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
10388 cat >>confdefs.h
<<\_ACEOF
10389 #define HAVE_PRPSINFO_T 1
10393 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
10394 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
10396 echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
10397 echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
10398 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
10399 echo $ECHO_N "(cached) $ECHO_C" >&6
10401 cat >conftest.
$ac_ext <<_ACEOF
10404 cat confdefs.h
>>conftest.
$ac_ext
10405 cat >>conftest.
$ac_ext <<_ACEOF
10406 /* end confdefs.h. */
10409 #include <sys/procfs.h>
10418 rm -f conftest.
$ac_objext
10419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10420 (eval $ac_compile) 2>conftest.er1
10422 grep -v '^ *+' conftest.er1
>conftest.err
10424 cat conftest.err
>&5
10425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10426 (exit $ac_status); } &&
10427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10429 (eval $ac_try) 2>&5
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); }; } &&
10433 { ac_try
='test -s conftest.$ac_objext'
10434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10435 (eval $ac_try) 2>&5
10437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10438 (exit $ac_status); }; }; then
10439 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=yes
10441 echo "$as_me: failed program was:" >&5
10442 sed 's/^/| /' conftest.
$ac_ext >&5
10444 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=no
10447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10450 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
10452 cat >>confdefs.h
<<\_ACEOF
10453 #define HAVE_PRPSINFO32_T 1
10457 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
10458 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
10460 echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
10461 echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
10462 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
10463 echo $ECHO_N "(cached) $ECHO_C" >&6
10465 cat >conftest.
$ac_ext <<_ACEOF
10468 cat confdefs.h
>>conftest.
$ac_ext
10469 cat >>conftest.
$ac_ext <<_ACEOF
10470 /* end confdefs.h. */
10473 #include <sys/procfs.h>
10482 rm -f conftest.
$ac_objext
10483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10484 (eval $ac_compile) 2>conftest.er1
10486 grep -v '^ *+' conftest.er1
>conftest.err
10488 cat conftest.err
>&5
10489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10490 (exit $ac_status); } &&
10491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10493 (eval $ac_try) 2>&5
10495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10496 (exit $ac_status); }; } &&
10497 { ac_try
='test -s conftest.$ac_objext'
10498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10499 (eval $ac_try) 2>&5
10501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10502 (exit $ac_status); }; }; then
10503 bfd_cv_have_sys_procfs_type_psinfo_t
=yes
10505 echo "$as_me: failed program was:" >&5
10506 sed 's/^/| /' conftest.
$ac_ext >&5
10508 bfd_cv_have_sys_procfs_type_psinfo_t
=no
10511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10514 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
10516 cat >>confdefs.h
<<\_ACEOF
10517 #define HAVE_PSINFO_T 1
10521 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
10522 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
10524 echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
10525 echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
10526 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
10527 echo $ECHO_N "(cached) $ECHO_C" >&6
10529 cat >conftest.
$ac_ext <<_ACEOF
10532 cat confdefs.h
>>conftest.
$ac_ext
10533 cat >>conftest.
$ac_ext <<_ACEOF
10534 /* end confdefs.h. */
10537 #include <sys/procfs.h>
10546 rm -f conftest.
$ac_objext
10547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10548 (eval $ac_compile) 2>conftest.er1
10550 grep -v '^ *+' conftest.er1
>conftest.err
10552 cat conftest.err
>&5
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); } &&
10555 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10557 (eval $ac_try) 2>&5
10559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10560 (exit $ac_status); }; } &&
10561 { ac_try
='test -s conftest.$ac_objext'
10562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10563 (eval $ac_try) 2>&5
10565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10566 (exit $ac_status); }; }; then
10567 bfd_cv_have_sys_procfs_type_psinfo32_t
=yes
10569 echo "$as_me: failed program was:" >&5
10570 sed 's/^/| /' conftest.
$ac_ext >&5
10572 bfd_cv_have_sys_procfs_type_psinfo32_t
=no
10575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10578 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
10580 cat >>confdefs.h
<<\_ACEOF
10581 #define HAVE_PSINFO32_T 1
10585 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
10586 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
10588 echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
10589 echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
10590 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
10591 echo $ECHO_N "(cached) $ECHO_C" >&6
10593 cat >conftest.
$ac_ext <<_ACEOF
10596 cat confdefs.h
>>conftest.
$ac_ext
10597 cat >>conftest.
$ac_ext <<_ACEOF
10598 /* end confdefs.h. */
10601 #include <sys/procfs.h>
10610 rm -f conftest.
$ac_objext
10611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10612 (eval $ac_compile) 2>conftest.er1
10614 grep -v '^ *+' conftest.er1
>conftest.err
10616 cat conftest.err
>&5
10617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618 (exit $ac_status); } &&
10619 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10621 (eval $ac_try) 2>&5
10623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624 (exit $ac_status); }; } &&
10625 { ac_try
='test -s conftest.$ac_objext'
10626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10627 (eval $ac_try) 2>&5
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; }; then
10631 bfd_cv_have_sys_procfs_type_lwpstatus_t
=yes
10633 echo "$as_me: failed program was:" >&5
10634 sed 's/^/| /' conftest.
$ac_ext >&5
10636 bfd_cv_have_sys_procfs_type_lwpstatus_t
=no
10639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10642 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
10644 cat >>confdefs.h
<<\_ACEOF
10645 #define HAVE_LWPSTATUS_T 1
10649 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
10650 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
10652 echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
10653 echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
10654 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
10655 echo $ECHO_N "(cached) $ECHO_C" >&6
10657 cat >conftest.
$ac_ext <<_ACEOF
10660 cat confdefs.h
>>conftest.
$ac_ext
10661 cat >>conftest.
$ac_ext <<_ACEOF
10662 /* end confdefs.h. */
10665 #include <sys/procfs.h>
10674 rm -f conftest.
$ac_objext
10675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10676 (eval $ac_compile) 2>conftest.er1
10678 grep -v '^ *+' conftest.er1
>conftest.err
10680 cat conftest.err
>&5
10681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10682 (exit $ac_status); } &&
10683 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10685 (eval $ac_try) 2>&5
10687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10688 (exit $ac_status); }; } &&
10689 { ac_try
='test -s conftest.$ac_objext'
10690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10691 (eval $ac_try) 2>&5
10693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10694 (exit $ac_status); }; }; then
10695 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=yes
10697 echo "$as_me: failed program was:" >&5
10698 sed 's/^/| /' conftest.
$ac_ext >&5
10700 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=no
10703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10706 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
10708 cat >>confdefs.h
<<\_ACEOF
10709 #define HAVE_LWPXSTATUS_T 1
10713 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
10714 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
10716 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
10717 echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
10718 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
10719 echo $ECHO_N "(cached) $ECHO_C" >&6
10721 cat >conftest.
$ac_ext <<_ACEOF
10724 cat confdefs.h
>>conftest.
$ac_ext
10725 cat >>conftest.
$ac_ext <<_ACEOF
10726 /* end confdefs.h. */
10729 #include <sys/procfs.h>
10733 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
10738 rm -f conftest.
$ac_objext
10739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10740 (eval $ac_compile) 2>conftest.er1
10742 grep -v '^ *+' conftest.er1
>conftest.err
10744 cat conftest.err
>&5
10745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10746 (exit $ac_status); } &&
10747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10749 (eval $ac_try) 2>&5
10751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10752 (exit $ac_status); }; } &&
10753 { ac_try
='test -s conftest.$ac_objext'
10754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10755 (eval $ac_try) 2>&5
10757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10758 (exit $ac_status); }; }; then
10759 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=yes
10761 echo "$as_me: failed program was:" >&5
10762 sed 's/^/| /' conftest.
$ac_ext >&5
10764 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=no
10767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10770 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
10772 cat >>confdefs.h
<<\_ACEOF
10773 #define HAVE_LWPSTATUS_T_PR_CONTEXT 1
10777 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
10778 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
10780 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
10781 echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
10782 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
10783 echo $ECHO_N "(cached) $ECHO_C" >&6
10785 cat >conftest.
$ac_ext <<_ACEOF
10788 cat confdefs.h
>>conftest.
$ac_ext
10789 cat >>conftest.
$ac_ext <<_ACEOF
10790 /* end confdefs.h. */
10793 #include <sys/procfs.h>
10797 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
10802 rm -f conftest.
$ac_objext
10803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10804 (eval $ac_compile) 2>conftest.er1
10806 grep -v '^ *+' conftest.er1
>conftest.err
10808 cat conftest.err
>&5
10809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); } &&
10811 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10813 (eval $ac_try) 2>&5
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); }; } &&
10817 { ac_try
='test -s conftest.$ac_objext'
10818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10819 (eval $ac_try) 2>&5
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); }; }; then
10823 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=yes
10825 echo "$as_me: failed program was:" >&5
10826 sed 's/^/| /' conftest.
$ac_ext >&5
10828 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=no
10831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10834 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
10836 cat >>confdefs.h
<<\_ACEOF
10837 #define HAVE_LWPSTATUS_T_PR_REG 1
10841 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
10842 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
10844 echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
10845 echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
10846 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
10847 echo $ECHO_N "(cached) $ECHO_C" >&6
10849 cat >conftest.
$ac_ext <<_ACEOF
10852 cat confdefs.h
>>conftest.
$ac_ext
10853 cat >>conftest.
$ac_ext <<_ACEOF
10854 /* end confdefs.h. */
10857 #include <sys/procfs.h>
10861 win32_pstatus_t avar
10866 rm -f conftest.
$ac_objext
10867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10868 (eval $ac_compile) 2>conftest.er1
10870 grep -v '^ *+' conftest.er1
>conftest.err
10872 cat conftest.err
>&5
10873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10874 (exit $ac_status); } &&
10875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10877 (eval $ac_try) 2>&5
10879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10880 (exit $ac_status); }; } &&
10881 { ac_try
='test -s conftest.$ac_objext'
10882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10883 (eval $ac_try) 2>&5
10885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10886 (exit $ac_status); }; }; then
10887 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=yes
10889 echo "$as_me: failed program was:" >&5
10890 sed 's/^/| /' conftest.
$ac_ext >&5
10892 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=no
10895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10898 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
10900 cat >>confdefs.h
<<\_ACEOF
10901 #define HAVE_WIN32_PSTATUS_T 1
10905 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
10906 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
10912 if test -n "$TRAD_HEADER"; then
10914 cat >>confdefs.h
<<_ACEOF
10915 #define TRAD_HEADER $TRAD_HEADER
10920 # Horrible hacks to build DLLs on Windows.
10925 if test "$enable_shared" = "yes"; then
10926 WIN32LDFLAGS
="-no-undefined"
10927 WIN32LIBADD
="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
10931 # We borrow WIN32LIBADD so that the shared libbfd won't depend on
10935 # Linux/MIPS uses PIC by default.
10936 if test "$enable_shared" = "yes"; then
10937 WIN32LIBADD
="-L../libiberty -liberty"
10941 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
10942 if test -n "$x"; then
10943 WIN32LIBADD
="-L../libiberty/pic -liberty"
10954 # Canonicalize the secondary target names.
10955 if test -n "$enable_targets" ; then
10956 for targ
in `echo $enable_targets | sed 's/,/ /g'`
10958 result
=`$ac_config_sub $targ 2>/dev/null`
10959 if test -n "$result" ; then
10960 canon_targets
="$canon_targets $result"
10962 # Allow targets that config.sub doesn't recognize, like "all".
10963 canon_targets
="$canon_targets $targ"
10974 for targ
in $target $canon_targets
10976 if test "x$targ" = "xall"; then
10978 assocvecs
="$assocvecs $targ_defvec $targ_selvecs"
10980 .
$srcdir/config.bfd
10981 if test "x$targ" = "x$target"; then
10982 defvec
=$targ_defvec
10984 selvecs
="$selvecs $targ_defvec $targ_selvecs"
10985 selarchs
="$selarchs $targ_archs"
10986 TDEFINES
="$TDEFINES $targ_cflags"
10991 # This processing still needs to be done if we're to decide properly whether
10992 # 64-bit support needs to be compiled in. Currently, it will be included if
10993 # the default or any other explicitly requested target requires it; it
10994 # will not be included on a 32-bit host if no 64-bit target is requested, and
10995 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
10998 # uniq the default and selected vectors in all the configured targets.
11000 for i
in $selvecs ; do
11009 # uniq the associated vectors in all the configured targets.
11011 for i
in $assocvecs ; do
11020 # uniq the architectures in all the configured targets.
11022 for i
in $selarchs ; do
11030 # Target backend .o files.
11033 elf
="elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
11035 for vec
in $selvecs
11039 # This list is alphabetized to make it easy to compare
11040 # with the two vector lists in targets.c. For the same reason,
11041 # use one entry per line, even though this leads to long lines.
11042 a29kcoff_big_vec
) tb
="$tb coff-a29k.lo cofflink.lo" ;;
11043 a_out_adobe_vec
) tb
="$tb aout-adobe.lo aout32.lo" ;;
11044 aix5coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
11045 aout0_big_vec
) tb
="$tb aout0.lo aout32.lo" ;;
11046 aout_arm_big_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
11047 aout_arm_little_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
11048 apollocoff_vec
) tb
="$tb coff-apollo.lo" ;;
11049 arm_epoc_pe_big_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
11050 arm_epoc_pe_little_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
11051 arm_epoc_pei_big_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
11052 arm_epoc_pei_little_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
11053 armcoff_big_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
11054 armcoff_little_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
11055 armnetbsd_vec
) tb
="$tb armnetbsd.lo aout32.lo" ;;
11056 armpe_big_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
11057 armpe_little_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
11058 armpei_big_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
11059 armpei_little_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
11060 b_out_vec_big_host
) tb
="$tb bout.lo aout32.lo" ;;
11061 b_out_vec_little_host
) tb
="$tb bout.lo aout32.lo" ;;
11062 bfd_efi_app_ia32_vec
) tb
="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;;
11063 bfd_efi_app_ia64_vec
) tb
="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
11064 bfd_elf32_am33lin_vec
) tb
="$tb elf32-am33lin.lo elf32.lo $elf" ;;
11065 bfd_elf32_avr_vec
) tb
="$tb elf32-avr.lo elf32.lo $elf" ;;
11066 bfd_elf32_big_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
11067 bfd_elf32_bigarc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
11068 bfd_elf32_bigarm_oabi_vec
) tb
="$tb elfarm-oabi.lo elf32.lo $elf" ;;
11069 bfd_elf32_bigarm_vec
) tb
="$tb elfarm-nabi.lo elf32.lo $elf" ;;
11070 bfd_elf32_bigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
11071 bfd_elf32_cr16c_vec
) tb
="$tb elf32-cr16c.lo elf32.lo $elf" ;;
11072 bfd_elf32_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
11073 bfd_elf32_crx_vec
) tb
="$tb elf32-crx.lo elf32.lo $elf" ;;
11074 bfd_elf32_d10v_vec
) tb
="$tb elf32-d10v.lo elf32.lo $elf" ;;
11075 bfd_elf32_d30v_vec
) tb
="$tb elf32-d30v.lo elf32.lo $elf" ;;
11076 bfd_elf32_dlx_big_vec
) tb
="$tb elf32-dlx.lo elf32.lo $elf" ;;
11077 bfd_elf32_fr30_vec
) tb
="$tb elf32-fr30.lo elf32.lo $elf" ;;
11078 bfd_elf32_frv_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
11079 bfd_elf32_frvfdpic_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
11080 bfd_elf32_h8300_vec
) tb
="$tb elf32-h8300.lo elf32.lo $elf" ;;
11081 bfd_elf32_hppa_linux_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
11082 bfd_elf32_hppa_nbsd_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
11083 bfd_elf32_hppa_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
11084 bfd_elf32_i370_vec
) tb
="$tb elf32-i370.lo elf32.lo $elf" ;;
11085 bfd_elf32_i386_freebsd_vec
) tb
="$tb elf32-i386.lo elf32.lo $elf" ;;
11086 bfd_elf32_i386_vec
) tb
="$tb elf32-i386.lo elf32.lo $elf" ;;
11087 bfd_elf32_i860_little_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
11088 bfd_elf32_i860_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
11089 bfd_elf32_i960_vec
) tb
="$tb elf32-i960.lo elf32.lo $elf" ;;
11090 bfd_elf32_ia64_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf" ;;
11091 bfd_elf32_ia64_hpux_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf";;
11092 bfd_elf32_ip2k_vec
) tb
="$tb elf32-ip2k.lo elf32.lo $elf" ;;
11093 bfd_elf32_iq2000_vec
) tb
="$tb elf32-iq2000.lo elf32.lo $elf" ;;
11094 bfd_elf32_little_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
11095 bfd_elf32_littlearc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
11096 bfd_elf32_littlearm_oabi_vec
) tb
="$tb elfarm-oabi.lo elf32.lo $elf" ;;
11097 bfd_elf32_littlearm_vec
) tb
="$tb elfarm-nabi.lo elf32.lo $elf" ;;
11098 bfd_elf32_littlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
11099 bfd_elf32_m32r_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
11100 bfd_elf32_m32rle_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
11101 bfd_elf32_m32rlin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
11102 bfd_elf32_m32rlelin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
11103 bfd_elf32_m68hc11_vec
) tb
="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
11104 bfd_elf32_m68hc12_vec
) tb
="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
11105 bfd_elf32_m68k_vec
) tb
="$tb elf32-m68k.lo elf32.lo $elf" ;;
11106 bfd_elf32_m88k_vec
) tb
="$tb elf32-m88k.lo elf32.lo $elf" ;;
11107 bfd_elf32_mcore_big_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
11108 bfd_elf32_mcore_little_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
11109 bfd_elf32_mn10200_vec
) tb
="$tb elf-m10200.lo elf32.lo $elf" ;;
11110 bfd_elf32_mn10300_vec
) tb
="$tb elf-m10300.lo elf32.lo $elf" ;;
11111 bfd_elf32_msp430_vec
) tb
="$tb elf32-msp430.lo elf32.lo $elf" ;;
11112 bfd_elf32_nbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11113 bfd_elf32_nlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11114 bfd_elf32_ntradbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11115 bfd_elf32_ntradlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11116 bfd_elf32_openrisc_vec
) tb
="$tb elf32-openrisc.lo elf32.lo $elf" ;;
11117 bfd_elf32_or32_big_vec
) tb
="$tb elf32-or32.lo elf32.lo $elf" ;;
11118 bfd_elf32_pj_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
11119 bfd_elf32_pjl_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
11120 bfd_elf32_powerpc_vec
) tb
="$tb elf32-ppc.lo elf32.lo $elf" ;;
11121 bfd_elf32_powerpcle_vec
) tb
="$tb elf32-ppc.lo elf32.lo $elf" ;;
11122 bfd_elf32_s390_vec
) tb
="$tb elf32-s390.lo elf32.lo $elf" ;;
11123 # FIXME: We include cofflink.lo not because it's needed for
11124 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
11125 # which needs it but does not list it. Should be fixed in right place.
11126 bfd_elf32_sh64_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
11127 bfd_elf32_sh64l_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
11128 bfd_elf32_sh64lin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
11129 bfd_elf32_sh64blin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
11130 bfd_elf32_sh64lnbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;;
11131 bfd_elf32_sh64nbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;;
11132 bfd_elf32_sh_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;;
11133 bfd_elf32_shblin_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
11134 bfd_elf32_shl_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;;
11135 bfd_elf32_shl_symbian_vec
) tb
="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf32.lo $elf coff-sh.lo" ;;
11136 bfd_elf32_shlin_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
11137 bfd_elf32_shlnbsd_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
11138 bfd_elf32_shnbsd_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
11139 bfd_elf32_sparc_vec
) tb
="$tb elf32-sparc.lo elf32.lo $elf" ;;
11140 bfd_elf32_tradbigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
11141 bfd_elf32_tradlittlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
11142 bfd_elf32_us_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
11143 bfd_elf32_v850_vec
) tb
="$tb elf32-v850.lo elf32.lo $elf" ;;
11144 bfd_elf32_vax_vec
) tb
="$tb elf32-vax.lo elf32.lo $elf" ;;
11145 bfd_elf32_xstormy16_vec
) tb
="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
11146 bfd_elf32_xtensa_le_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
11147 bfd_elf32_xtensa_be_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
11148 bfd_elf64_alpha_freebsd_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
11149 bfd_elf64_alpha_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
11150 bfd_elf64_big_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
11151 bfd_elf64_bigmips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11152 bfd_elf64_hppa_linux_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
11153 bfd_elf64_hppa_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
11154 bfd_elf64_ia64_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
11155 bfd_elf64_ia64_hpux_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
11156 bfd_elf64_ia64_little_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
11157 bfd_elf64_little_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
11158 bfd_elf64_littlemips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11159 bfd_elf64_mmix_vec
) tb
="$tb elf64-mmix.lo elf64.lo $elf" target_size
=64 ;;
11160 bfd_elf64_powerpc_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
11161 bfd_elf64_powerpcle_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size
=64 ;;
11162 bfd_elf64_s390_vec
) tb
="$tb elf64-s390.lo elf64.lo $elf"; target_size
=64 ;;
11163 bfd_elf64_sh64_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11164 bfd_elf64_sh64l_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11165 bfd_elf64_sh64lin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11166 bfd_elf64_sh64blin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11167 bfd_elf64_sh64lnbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11168 bfd_elf64_sh64nbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11169 bfd_elf64_sparc_vec
) tb
="$tb elf64-sparc.lo elf64.lo $elf"; target_size
=64 ;;
11170 bfd_elf64_tradbigmips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11171 bfd_elf64_tradlittlemips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11172 bfd_elf64_x86_64_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
11173 bfd_mmo_vec
) tb
="$tb mmo.lo" target_size
=64 ;;
11174 bfd_powerpc_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
11175 bfd_powerpc_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
11176 bfd_powerpcle_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
11177 bfd_powerpcle_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
11178 cris_aout_vec
) tb
="$tb aout-cris.lo" ;;
11179 demo_64_vec
) tb
="$tb demo64.lo aout64.lo"; target_size
=64 ;;
11180 ecoff_big_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
11181 ecoff_biglittle_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
11182 ecoff_little_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
11183 ecoffalpha_little_vec
) tb
="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size
=64 ;;
11184 go32coff_vec
) tb
="$tb coff-go32.lo cofflink.lo" ;;
11185 go32stubbedcoff_vec
) tb
="$tb coff-stgo32.lo cofflink.lo" ;;
11186 h8300coff_vec
) tb
="$tb coff-h8300.lo reloc16.lo" ;;
11187 h8500coff_vec
) tb
="$tb coff-h8500.lo reloc16.lo" ;;
11188 host_aout_vec
) tb
="$tb host-aout.lo aout32.lo" ;;
11189 hp300bsd_vec
) tb
="$tb hp300bsd.lo aout32.lo" ;;
11190 hp300hpux_vec
) tb
="$tb hp300hpux.lo aout32.lo" ;;
11191 i386aout_vec
) tb
="$tb i386aout.lo aout32.lo" ;;
11192 i386bsd_vec
) tb
="$tb i386bsd.lo aout32.lo" ;;
11193 i386coff_vec
) tb
="$tb coff-i386.lo cofflink.lo" ;;
11194 i386dynix_vec
) tb
="$tb i386dynix.lo aout32.lo" ;;
11195 i386freebsd_vec
) tb
="$tb i386freebsd.lo aout32.lo" ;;
11196 i386linux_vec
) tb
="$tb i386linux.lo aout32.lo" ;;
11197 i386lynx_aout_vec
) tb
="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
11198 i386lynx_coff_vec
) tb
="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
11199 i386mach3_vec
) tb
="$tb i386mach3.lo aout32.lo" ;;
11200 i386msdos_vec
) tb
="$tb i386msdos.lo" ;;
11201 i386netbsd_vec
) tb
="$tb i386netbsd.lo aout32.lo" ;;
11202 i386os9k_vec
) tb
="$tb i386os9k.lo aout32.lo" ;;
11203 i386pe_vec
) tb
="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
11204 i386pei_vec
) tb
="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
11205 i860coff_vec
) tb
="$tb coff-i860.lo cofflink.lo" ;;
11206 icoff_big_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
11207 icoff_little_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
11208 ieee_vec
) tb
="$tb ieee.lo" ;;
11209 m68k4knetbsd_vec
) tb
="$tb m68k4knetbsd.lo aout32.lo" ;;
11210 m68kaux_coff_vec
) tb
="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
11211 m68kcoff_vec
) tb
="$tb coff-m68k.lo cofflink.lo" ;;
11212 m68kcoffun_vec
) tb
="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
11213 m68klinux_vec
) tb
="$tb m68klinux.lo aout32.lo" ;;
11214 m68klynx_aout_vec
) tb
="$tb m68klynx.lo lynx-core.lo aout32.lo" ;;
11215 m68klynx_coff_vec
) tb
="$tb cf-m68klynx.lo coff-m68k.lo cofflink.lo lynx-core.lo" ;;
11216 m68knetbsd_vec
) tb
="$tb m68knetbsd.lo aout32.lo" ;;
11217 m68ksysvcoff_vec
) tb
="$tb coff-svm68k.lo cofflink.lo" ;;
11218 m88kbcs_vec
) tb
="$tb coff-m88k.lo" ;;
11219 m88kmach3_vec
) tb
="$tb m88kmach3.lo aout32.lo" ;;
11220 m88kopenbsd_vec
) tb
="$tb m88kopenbsd.lo aout32.lo" ;;
11221 mach_o_be_vec
) tb
="$tb mach-o.lo" ;;
11222 mach_o_le_vec
) tb
="$tb mach-o.lo" ;;
11223 mach_o_fat_vec
) tb
="$tb mach-o.lo" ;;
11224 mcore_pe_big_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
11225 mcore_pe_little_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
11226 mcore_pei_big_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
11227 mcore_pei_little_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
11228 mipslpe_vec
) tb
="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
11229 mipslpei_vec
) tb
="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
11230 newsos3_vec
) tb
="$tb newsos3.lo aout32.lo" ;;
11231 nlm32_alpha_vec
) tb
="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size
=64 ;;
11232 nlm32_i386_vec
) tb
="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
11233 nlm32_powerpc_vec
) tb
="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
11234 nlm32_sparc_vec
) tb
="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
11235 or32coff_big_vec
) tb
="$tb coff-or32.lo cofflink.lo" ;;
11236 pc532machaout_vec
) tb
="$tb pc532-mach.lo aout-ns32k.lo" ;;
11237 pc532netbsd_vec
) tb
="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
11238 pef_vec
) tb
="$tb pef.lo" ;;
11239 pef_xlib_vec
) tb
="$tb pef.lo" ;;
11240 pdp11_aout_vec
) tb
="$tb pdp11.lo" ;;
11241 pmac_xcoff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
11242 ppcboot_vec
) tb
="$tb ppcboot.lo" ;;
11243 riscix_vec
) tb
="$tb aout32.lo riscix.lo" ;;
11244 rs6000coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
11245 rs6000coff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
11246 shcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11247 shcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11248 shlcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11249 shlcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11250 shlpe_vec
) tb
="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
11251 shlpei_vec
) tb
="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
11252 som_vec
) tb
="$tb som.lo" ;;
11253 sparccoff_vec
) tb
="$tb coff-sparc.lo" ;;
11254 sparcle_aout_vec
) tb
="$tb aout-sparcle.lo aout32.lo" ;;
11255 sparclinux_vec
) tb
="$tb sparclinux.lo aout32.lo" ;;
11256 sparclynx_aout_vec
) tb
="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
11257 sparclynx_coff_vec
) tb
="$tb cf-sparclynx.lo lynx-core.lo" ;;
11258 sparcnetbsd_vec
) tb
="$tb sparcnetbsd.lo aout32.lo" ;;
11259 sunos_big_vec
) tb
="$tb sunos.lo aout32.lo" ;;
11260 sym_vec
) tb
="$tb xsym.lo" ;;
11261 tic30_aout_vec
) tb
="$tb aout-tic30.lo" ;;
11262 tic30_coff_vec
) tb
="$tb coff-tic30.lo" ;;
11263 tic4x_coff0_vec
) tb
="$tb coff-tic4x.lo" ;;
11264 tic4x_coff0_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
11265 tic4x_coff1_vec
) tb
="$tb coff-tic4x.lo" ;;
11266 tic4x_coff1_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
11267 tic4x_coff2_vec
) tb
="$tb coff-tic4x.lo" ;;
11268 tic4x_coff2_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
11269 tic54x_coff0_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
11270 tic54x_coff0_vec
) tb
="$tb coff-tic54x.lo" ;;
11271 tic54x_coff1_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
11272 tic54x_coff1_vec
) tb
="$tb coff-tic54x.lo" ;;
11273 tic54x_coff2_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
11274 tic54x_coff2_vec
) tb
="$tb coff-tic54x.lo" ;;
11275 tic80coff_vec
) tb
="$tb coff-tic80.lo cofflink.lo" ;;
11276 vaxnetbsd_vec
) tb
="$tb vaxnetbsd.lo aout32.lo" ;;
11277 vax1knetbsd_vec
) tb
="$tb vax1knetbsd.lo aout32.lo" ;;
11278 vaxbsd_vec
) tb
="$tb vaxbsd.lo aout32.lo" ;;
11279 versados_vec
) tb
="$tb versados.lo" ;;
11280 vms_alpha_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size
=64 ;;
11281 vms_vax_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
11282 w65_vec
) tb
="$tb coff-w65.lo reloc16.lo" ;;
11283 we32kcoff_vec
) tb
="$tb coff-we32k.lo" ;;
11284 z8kcoff_vec
) tb
="$tb coff-z8k.lo reloc16.lo" ;;
11286 # These appear out of order in targets.c
11287 srec_vec
) tb
="$tb srec.lo" ;;
11288 symbolsrec_vec
) tb
="$tb srec.lo" ;;
11289 tekhex_vec
) tb
="$tb tekhex.lo" ;;
11290 cisco_core_big_vec
) tb
="$tb cisco-core.lo" ;;
11291 cisco_core_little_vec
) tb
="$tb cisco-core.lo" ;;
11294 *) { { echo "$as_me:$LINENO: error: *** unknown target vector $vec" >&5
11295 echo "$as_me: error: *** unknown target vector $vec" >&2;}
11296 { (exit 1); exit 1; }; } ;;
11299 if test ${target_size} = 64; then
11302 if test x
"${vec}" = x
"${defvec}"; then
11303 bfd_default_target_size
=${target_size}
11307 # Target architecture .o files.
11308 # A couple of CPUs use shorter file names to avoid problems on DOS
11310 ta
=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
11312 # Weed out duplicate .o files.
11334 if test x
${all_targets} = xtrue
; then
11335 bfd_backends
="${bfd_backends}"' $(ALL_BACKENDS)'
11336 bfd_machines
="${bfd_machines}"' $(ALL_MACHINES)'
11340 test -n "$assocvecs" &&
11341 assocvecs
=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11342 else # all_targets is true
11343 # Only set these if they will be nonempty, for the clever echo.
11346 test -n "$selvecs" &&
11347 havevecs
=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
11348 test -n "$selvecs" &&
11349 selvecs
=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11350 test -n "$selarchs" &&
11351 selarchs
=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11352 fi # all_targets is true
11354 case ${host64}-${target64}-${want64} in
11357 bfd_libs
='$(BFD64_LIBS) $(BFD32_LIBS)'
11358 all_backends
='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
11359 if test $BFD_HOST_64_BIT_DEFINED = 0; then
11360 { echo "$as_me:$LINENO: WARNING: You have requested a 64 bit BFD configuration, but" >&5
11361 echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
11362 { echo "$as_me:$LINENO: WARNING: your compiler may not have a 64 bit integral type" >&5
11363 echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
11365 if test -n "$GCC" ; then
11367 echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
11368 echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
11369 # Add more tests for gcc versions with non-working 64-bit support here.
11370 cat >conftest.
$ac_ext <<_ACEOF
11373 cat confdefs.h
>>conftest.
$ac_ext
11374 cat >>conftest.
$ac_ext <<_ACEOF
11375 /* end confdefs.h. */
11376 :__GNUC__:__GNUC_MINOR__:__i386__:
11378 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11379 $EGREP ": 2 : 91 : 1 :" >/dev
/null
2>&1; then
11381 echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
11382 echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
11384 echo "$as_me:$LINENO: result: no" >&5
11385 echo "${ECHO_T}no" >&6
11389 if test $bad_64bit_gcc = yes ; then
11390 { { echo "$as_me:$LINENO: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&5
11391 echo "$as_me: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&2;}
11392 { (exit 1); exit 1; }; }
11398 bfd_libs
='$(BFD32_LIBS)'
11399 all_backends
='$(BFD32_BACKENDS)'
11410 # Determine the host dependant file_ptr a.k.a. off_t type. In order
11411 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
11412 # fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
11413 # Hopefully a reasonable assumption since fseeko et.al. should be
11414 # upward compatible.
11419 for ac_func
in ftello ftello64 fseeko fseeko64
11421 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11422 echo "$as_me:$LINENO: checking for $ac_func" >&5
11423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11424 if eval "test \"\${$as_ac_var+set}\" = set"; then
11425 echo $ECHO_N "(cached) $ECHO_C" >&6
11427 cat >conftest.
$ac_ext <<_ACEOF
11430 cat confdefs.h
>>conftest.
$ac_ext
11431 cat >>conftest.
$ac_ext <<_ACEOF
11432 /* end confdefs.h. */
11433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11435 #define $ac_func innocuous_$ac_func
11437 /* System header to define __stub macros and hopefully few prototypes,
11438 which can conflict with char $ac_func (); below.
11439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11440 <limits.h> exists even on freestanding compilers. */
11443 # include <limits.h>
11445 # include <assert.h>
11450 /* Override any gcc2 internal prototype to avoid an error. */
11455 /* We use char because int might match the return type of a gcc2
11456 builtin and then its argument prototype would still apply. */
11458 /* The GNU C library defines this for functions which it implements
11459 to always fail with ENOSYS. Some functions are actually named
11460 something starting with __ and the normal name is an alias. */
11461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11464 char (*f) () = $ac_func;
11473 return f != $ac_func;
11478 rm -f conftest.
$ac_objext conftest
$ac_exeext
11479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11480 (eval $ac_link) 2>conftest.er1
11482 grep -v '^ *+' conftest.er1
>conftest.err
11484 cat conftest.err
>&5
11485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11486 (exit $ac_status); } &&
11487 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11489 (eval $ac_try) 2>&5
11491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11492 (exit $ac_status); }; } &&
11493 { ac_try
='test -s conftest$ac_exeext'
11494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11495 (eval $ac_try) 2>&5
11497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11498 (exit $ac_status); }; }; then
11499 eval "$as_ac_var=yes"
11501 echo "$as_me: failed program was:" >&5
11502 sed 's/^/| /' conftest.
$ac_ext >&5
11504 eval "$as_ac_var=no"
11506 rm -f conftest.err conftest.
$ac_objext \
11507 conftest
$ac_exeext conftest.
$ac_ext
11509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11511 if test `eval echo '${'$as_ac_var'}'` = yes; then
11512 cat >>confdefs.h
<<_ACEOF
11513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11519 if test x
"$ac_cv_func_ftello" = xyes
-a x
"$ac_cv_func_fseeko" = xyes
; then
11520 echo "$as_me:$LINENO: checking size of off_t" >&5
11521 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
11522 if test "${ac_cv_sizeof_off_t+set}" = set; then
11523 echo $ECHO_N "(cached) $ECHO_C" >&6
11525 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
11526 cat >conftest.
$ac_ext <<_ACEOF
11529 cat confdefs.h
>>conftest.
$ac_ext
11530 cat >>conftest.
$ac_ext <<_ACEOF
11531 /* end confdefs.h. */
11532 #include "confdefs.h"
11533 #include <sys/types.h>
11539 switch (0) case 0: case (sizeof (off_t) == $ac_size):;
11544 rm -f conftest.
$ac_objext
11545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11546 (eval $ac_compile) 2>conftest.er1
11548 grep -v '^ *+' conftest.er1
>conftest.err
11550 cat conftest.err
>&5
11551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11552 (exit $ac_status); } &&
11553 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11555 (eval $ac_try) 2>&5
11557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11558 (exit $ac_status); }; } &&
11559 { ac_try
='test -s conftest.$ac_objext'
11560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11561 (eval $ac_try) 2>&5
11563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564 (exit $ac_status); }; }; then
11565 ac_cv_sizeof_off_t
=$ac_size
11567 echo "$as_me: failed program was:" >&5
11568 sed 's/^/| /' conftest.
$ac_ext >&5
11571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11572 if test x
$ac_cv_sizeof_off_t != x
; then break; fi
11577 if test x
$ac_cv_sizeof_off_t = x
; then
11578 { { echo "$as_me:$LINENO: error: cannot determine a size for off_t" >&5
11579 echo "$as_me: error: cannot determine a size for off_t" >&2;}
11580 { (exit 1); exit 1; }; }
11582 echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
11583 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
11585 cat >>confdefs.h
<<_ACEOF
11586 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
11591 echo "$as_me:$LINENO: checking file_ptr type" >&5
11592 echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
11593 bfd_file_ptr
="long"
11594 bfd_ufile_ptr
="unsigned long"
11595 if test x
"$ac_cv_func_ftello64" = xyes
-a x
"$ac_cv_func_fseeko64" = xyes \
11596 -o x
"${ac_cv_sizeof_off_t}" = x8
; then
11597 bfd_file_ptr
=BFD_HOST_64_BIT
11598 bfd_ufile_ptr
=BFD_HOST_U_64_BIT
11600 echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
11601 echo "${ECHO_T}$bfd_file_ptr" >&6
11607 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
11608 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
11609 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
11610 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
11611 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
11616 for ac_header
in stdlib.h unistd.h
11618 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11620 echo "$as_me:$LINENO: checking for $ac_header" >&5
11621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11623 echo $ECHO_N "(cached) $ECHO_C" >&6
11625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11626 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11628 # Is the header compilable?
11629 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11630 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11631 cat >conftest.
$ac_ext <<_ACEOF
11634 cat confdefs.h
>>conftest.
$ac_ext
11635 cat >>conftest.
$ac_ext <<_ACEOF
11636 /* end confdefs.h. */
11637 $ac_includes_default
11638 #include <$ac_header>
11640 rm -f conftest.
$ac_objext
11641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11642 (eval $ac_compile) 2>conftest.er1
11644 grep -v '^ *+' conftest.er1
>conftest.err
11646 cat conftest.err
>&5
11647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11648 (exit $ac_status); } &&
11649 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11651 (eval $ac_try) 2>&5
11653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11654 (exit $ac_status); }; } &&
11655 { ac_try
='test -s conftest.$ac_objext'
11656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11657 (eval $ac_try) 2>&5
11659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11660 (exit $ac_status); }; }; then
11661 ac_header_compiler
=yes
11663 echo "$as_me: failed program was:" >&5
11664 sed 's/^/| /' conftest.
$ac_ext >&5
11666 ac_header_compiler
=no
11668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11669 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11670 echo "${ECHO_T}$ac_header_compiler" >&6
11672 # Is the header present?
11673 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11674 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11675 cat >conftest.
$ac_ext <<_ACEOF
11678 cat confdefs.h
>>conftest.
$ac_ext
11679 cat >>conftest.
$ac_ext <<_ACEOF
11680 /* end confdefs.h. */
11681 #include <$ac_header>
11683 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11684 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11686 grep -v '^ *+' conftest.er1
>conftest.err
11688 cat conftest.err
>&5
11689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11690 (exit $ac_status); } >/dev
/null
; then
11691 if test -s conftest.err
; then
11692 ac_cpp_err
=$ac_c_preproc_warn_flag
11693 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11700 if test -z "$ac_cpp_err"; then
11701 ac_header_preproc
=yes
11703 echo "$as_me: failed program was:" >&5
11704 sed 's/^/| /' conftest.
$ac_ext >&5
11706 ac_header_preproc
=no
11708 rm -f conftest.err conftest.
$ac_ext
11709 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11710 echo "${ECHO_T}$ac_header_preproc" >&6
11712 # So? What about this header?
11713 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11715 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11716 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11717 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11718 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11719 ac_header_preproc
=yes
11722 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11723 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11724 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11725 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11726 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11727 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11728 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11729 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11731 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11732 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11733 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11736 ## ------------------------------------------ ##
11737 ## Report this to the AC_PACKAGE_NAME lists. ##
11738 ## ------------------------------------------ ##
11741 sed "s/^/$as_me: WARNING: /" >&2
11744 echo "$as_me:$LINENO: checking for $ac_header" >&5
11745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11747 echo $ECHO_N "(cached) $ECHO_C" >&6
11749 eval "$as_ac_Header=\$ac_header_preproc"
11751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11756 cat >>confdefs.h
<<_ACEOF
11757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11765 for ac_func
in getpagesize
11767 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11768 echo "$as_me:$LINENO: checking for $ac_func" >&5
11769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11770 if eval "test \"\${$as_ac_var+set}\" = set"; then
11771 echo $ECHO_N "(cached) $ECHO_C" >&6
11773 cat >conftest.
$ac_ext <<_ACEOF
11776 cat confdefs.h
>>conftest.
$ac_ext
11777 cat >>conftest.
$ac_ext <<_ACEOF
11778 /* end confdefs.h. */
11779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11781 #define $ac_func innocuous_$ac_func
11783 /* System header to define __stub macros and hopefully few prototypes,
11784 which can conflict with char $ac_func (); below.
11785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11786 <limits.h> exists even on freestanding compilers. */
11789 # include <limits.h>
11791 # include <assert.h>
11796 /* Override any gcc2 internal prototype to avoid an error. */
11801 /* We use char because int might match the return type of a gcc2
11802 builtin and then its argument prototype would still apply. */
11804 /* The GNU C library defines this for functions which it implements
11805 to always fail with ENOSYS. Some functions are actually named
11806 something starting with __ and the normal name is an alias. */
11807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11810 char (*f) () = $ac_func;
11819 return f != $ac_func;
11824 rm -f conftest.
$ac_objext conftest
$ac_exeext
11825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11826 (eval $ac_link) 2>conftest.er1
11828 grep -v '^ *+' conftest.er1
>conftest.err
11830 cat conftest.err
>&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); } &&
11833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11835 (eval $ac_try) 2>&5
11837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838 (exit $ac_status); }; } &&
11839 { ac_try
='test -s conftest$ac_exeext'
11840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11841 (eval $ac_try) 2>&5
11843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11844 (exit $ac_status); }; }; then
11845 eval "$as_ac_var=yes"
11847 echo "$as_me: failed program was:" >&5
11848 sed 's/^/| /' conftest.
$ac_ext >&5
11850 eval "$as_ac_var=no"
11852 rm -f conftest.err conftest.
$ac_objext \
11853 conftest
$ac_exeext conftest.
$ac_ext
11855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11857 if test `eval echo '${'$as_ac_var'}'` = yes; then
11858 cat >>confdefs.h
<<_ACEOF
11859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11865 echo "$as_me:$LINENO: checking for working mmap" >&5
11866 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
11867 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
11868 echo $ECHO_N "(cached) $ECHO_C" >&6
11870 if test "$cross_compiling" = yes; then
11871 ac_cv_func_mmap_fixed_mapped
=no
11873 cat >conftest.
$ac_ext <<_ACEOF
11876 cat confdefs.h
>>conftest.
$ac_ext
11877 cat >>conftest.
$ac_ext <<_ACEOF
11878 /* end confdefs.h. */
11879 $ac_includes_default
11880 /* malloc might have been renamed as rpl_malloc. */
11883 /* Thanks to Mike Haertel and Jim Avera for this test.
11884 Here is a matrix of mmap possibilities:
11885 mmap private not fixed
11886 mmap private fixed at somewhere currently unmapped
11887 mmap private fixed at somewhere already mapped
11888 mmap shared not fixed
11889 mmap shared fixed at somewhere currently unmapped
11890 mmap shared fixed at somewhere already mapped
11891 For private mappings, we should verify that changes cannot be read()
11892 back from the file, nor mmap's back from the file at a different
11893 address. (There have been systems where private was not correctly
11894 implemented like the infamous i386 svr4.0, and systems where the
11895 VM page cache was not coherent with the file system buffer cache
11896 like early versions of FreeBSD and possibly contemporary NetBSD.)
11897 For shared mappings, we should conversely verify that changes get
11898 propagated back to all the places they're supposed to be.
11900 Grep wants private fixed already mapped.
11901 The main things grep needs to know about mmap are:
11902 * does it exist and is it safe to write into the mmap'd area
11903 * how to use it (BSD variants) */
11906 #include <sys/mman.h>
11908 #if !STDC_HEADERS && !HAVE_STDLIB_H
11912 /* This mess was copied from the GNU getpagesize.h. */
11913 #if !HAVE_GETPAGESIZE
11914 /* Assume that all systems that can run configure have sys/param.h. */
11915 # if !HAVE_SYS_PARAM_H
11916 # define HAVE_SYS_PARAM_H 1
11919 # ifdef _SC_PAGESIZE
11920 # define getpagesize() sysconf(_SC_PAGESIZE)
11921 # else /* no _SC_PAGESIZE */
11922 # if HAVE_SYS_PARAM_H
11923 # include <sys/param.h>
11924 # ifdef EXEC_PAGESIZE
11925 # define getpagesize() EXEC_PAGESIZE
11926 # else /* no EXEC_PAGESIZE */
11928 # define getpagesize() NBPG * CLSIZE
11931 # endif /* no CLSIZE */
11932 # else /* no NBPG */
11934 # define getpagesize() NBPC
11935 # else /* no NBPC */
11937 # define getpagesize() PAGESIZE
11938 # endif /* PAGESIZE */
11939 # endif /* no NBPC */
11940 # endif /* no NBPG */
11941 # endif /* no EXEC_PAGESIZE */
11942 # else /* no HAVE_SYS_PARAM_H */
11943 # define getpagesize() 8192 /* punt totally */
11944 # endif /* no HAVE_SYS_PARAM_H */
11945 # endif /* no _SC_PAGESIZE */
11947 #endif /* no HAVE_GETPAGESIZE */
11952 char *data, *data2, *data3;
11956 pagesize = getpagesize ();
11958 /* First, make a file with some known garbage in it. */
11959 data = (char *) malloc (pagesize);
11962 for (i = 0; i < pagesize; ++i)
11963 *(data + i) = rand ();
11965 fd = creat ("conftest.mmap", 0600);
11968 if (write (fd, data, pagesize) != pagesize)
11972 /* Next, try to mmap the file at a fixed address which already has
11973 something else allocated at it. If we can, also make sure that
11974 we see the same garbage. */
11975 fd = open ("conftest.mmap", O_RDWR);
11978 data2 = (char *) malloc (2 * pagesize);
11981 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
11982 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
11983 MAP_PRIVATE | MAP_FIXED, fd, 0L))
11985 for (i = 0; i < pagesize; ++i)
11986 if (*(data + i) != *(data2 + i))
11989 /* Finally, make sure that changes to the mapped area do not
11990 percolate back to the file as seen by read(). (This is a bug on
11991 some variants of i386 svr4.0.) */
11992 for (i = 0; i < pagesize; ++i)
11993 *(data2 + i) = *(data2 + i) + 1;
11994 data3 = (char *) malloc (pagesize);
11997 if (read (fd, data3, pagesize) != pagesize)
11999 for (i = 0; i < pagesize; ++i)
12000 if (*(data + i) != *(data3 + i))
12006 rm -f conftest
$ac_exeext
12007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12008 (eval $ac_link) 2>&5
12010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12011 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12013 (eval $ac_try) 2>&5
12015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12016 (exit $ac_status); }; }; then
12017 ac_cv_func_mmap_fixed_mapped
=yes
12019 echo "$as_me: program exited with status $ac_status" >&5
12020 echo "$as_me: failed program was:" >&5
12021 sed 's/^/| /' conftest.
$ac_ext >&5
12023 ( exit $ac_status )
12024 ac_cv_func_mmap_fixed_mapped
=no
12026 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12029 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
12030 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
12031 if test $ac_cv_func_mmap_fixed_mapped = yes; then
12033 cat >>confdefs.h
<<\_ACEOF
12034 #define HAVE_MMAP 1
12038 rm -f conftest.mmap
12042 for ac_func
in madvise mprotect
12044 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12045 echo "$as_me:$LINENO: checking for $ac_func" >&5
12046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12047 if eval "test \"\${$as_ac_var+set}\" = set"; then
12048 echo $ECHO_N "(cached) $ECHO_C" >&6
12050 cat >conftest.
$ac_ext <<_ACEOF
12053 cat confdefs.h
>>conftest.
$ac_ext
12054 cat >>conftest.
$ac_ext <<_ACEOF
12055 /* end confdefs.h. */
12056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12058 #define $ac_func innocuous_$ac_func
12060 /* System header to define __stub macros and hopefully few prototypes,
12061 which can conflict with char $ac_func (); below.
12062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12063 <limits.h> exists even on freestanding compilers. */
12066 # include <limits.h>
12068 # include <assert.h>
12073 /* Override any gcc2 internal prototype to avoid an error. */
12078 /* We use char because int might match the return type of a gcc2
12079 builtin and then its argument prototype would still apply. */
12081 /* The GNU C library defines this for functions which it implements
12082 to always fail with ENOSYS. Some functions are actually named
12083 something starting with __ and the normal name is an alias. */
12084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12087 char (*f) () = $ac_func;
12096 return f != $ac_func;
12101 rm -f conftest.
$ac_objext conftest
$ac_exeext
12102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12103 (eval $ac_link) 2>conftest.er1
12105 grep -v '^ *+' conftest.er1
>conftest.err
12107 cat conftest.err
>&5
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); } &&
12110 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12112 (eval $ac_try) 2>&5
12114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12115 (exit $ac_status); }; } &&
12116 { ac_try
='test -s conftest$ac_exeext'
12117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12118 (eval $ac_try) 2>&5
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); }; }; then
12122 eval "$as_ac_var=yes"
12124 echo "$as_me: failed program was:" >&5
12125 sed 's/^/| /' conftest.
$ac_ext >&5
12127 eval "$as_ac_var=no"
12129 rm -f conftest.err conftest.
$ac_objext \
12130 conftest
$ac_exeext conftest.
$ac_ext
12132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12134 if test `eval echo '${'$as_ac_var'}'` = yes; then
12135 cat >>confdefs.h
<<_ACEOF
12136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12142 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
12144 cat >>confdefs.h
<<\_ACEOF
12150 rm -f doc
/config.status
12151 ac_config_files
="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
12153 ac_config_commands
="$ac_config_commands default"
12155 cat >confcache
<<\_ACEOF
12156 # This file is a shell script that caches the results of configure
12157 # tests run on this system so they can be shared between configure
12158 # scripts and configure runs, see configure's option --config-cache.
12159 # It is not useful on other systems. If it contains results you don't
12160 # want to keep, you may remove or edit it.
12162 # config.status only pays attention to the cache file if you give it
12163 # the --recheck option to rerun configure.
12165 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12166 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12167 # following values.
12171 # The following way of writing the cache mishandles newlines in values,
12172 # but we know of no workaround that is simple, portable, and efficient.
12173 # So, don't put newlines in cache variables' values.
12174 # Ultrix sh set writes to stderr and can't be redirected directly,
12175 # and sets the high bit in the cache file unless we assign to the vars.
12178 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12180 # `set' does not quote correctly, so add quotes (double-quote
12181 # substitution turns \\\\ into \\, and sed turns \\ into \).
12184 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12187 # `set' quotes correctly as required by POSIX, so do not add quotes.
12189 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12196 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12198 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12200 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
12201 if test -w $cache_file; then
12202 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12203 cat confcache
>$cache_file
12205 echo "not updating unwritable cache $cache_file"
12210 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12211 # Let make expand exec_prefix.
12212 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12214 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12215 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12216 # trailing colons and then remove the whole line if VPATH becomes empty
12217 # (actually we leave an empty line to preserve line numbers).
12218 if test "x$srcdir" = x.
; then
12219 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12220 s/:*\$(srcdir):*/:/;
12221 s/:*\${srcdir}:*/:/;
12223 s/^\([^=]*=[ ]*\):*/\1/;
12229 DEFS
=-DHAVE_CONFIG_H
12233 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12234 # 1. Remove the extension, and $U if already installed.
12235 ac_i
=`echo "$ac_i" |
12236 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12238 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12239 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12241 LIBOBJS
=$ac_libobjs
12243 LTLIBOBJS
=$ac_ltlibobjs
12247 : ${CONFIG_STATUS=./config.status}
12248 ac_clean_files_save
=$ac_clean_files
12249 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12250 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12251 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12252 cat >$CONFIG_STATUS <<_ACEOF
12254 # Generated by $as_me.
12255 # Run this file to recreate the current configuration.
12256 # Compiler output produced by configure, useful for debugging
12257 # configure, is in config.log if it exists.
12260 ac_cs_recheck=false
12262 SHELL=\${CONFIG_SHELL-$SHELL}
12265 cat >>$CONFIG_STATUS <<\_ACEOF
12266 ## --------------------- ##
12267 ## M4sh Initialization. ##
12268 ## --------------------- ##
12270 # Be Bourne compatible
12271 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12274 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12275 # is contrary to our usage. Disable this feature.
12276 alias -g '${1+"$@"}'='"$@"'
12277 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12280 DUALCASE
=1; export DUALCASE
# for MKS sh
12282 # Support unset when possible.
12283 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12290 # Work around bugs in pre-3.0 UWIN ksh.
12291 $as_unset ENV MAIL MAILPATH
12298 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12299 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12300 LC_TELEPHONE LC_TIME
12302 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12303 eval $as_var=C
; export $as_var
12309 # Required to use basename.
12310 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12316 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12317 as_basename
=basename
12323 # Name of the executable.
12324 as_me
=`$as_basename "$0" ||
12325 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12326 X"$0" : 'X\(//\)$' \| \
12327 X"$0" : 'X\(/\)$' \| \
12328 . : '\(.\)' 2>/dev/null ||
12330 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12331 /^X\/\(\/\/\)$/{ s//\1/; q; }
12332 /^X\/\(\/\).*/{ s//\1/; q; }
12336 # PATH needs CR, and LINENO needs CR and PATH.
12337 # Avoid depending upon Character Ranges.
12338 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12339 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12340 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12341 as_cr_digits
='0123456789'
12342 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12344 # The user is always right.
12345 if test "${PATH_SEPARATOR+set}" != set; then
12346 echo "#! /bin/sh" >conf$$.sh
12347 echo "exit 0" >>conf$$.sh
12349 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12358 as_lineno_1
=$LINENO
12359 as_lineno_2
=$LINENO
12360 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12361 test "x$as_lineno_1" != "x$as_lineno_2" &&
12362 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12363 # Find who we are. Look in the path if we contain no path at all
12366 *[\\/]* ) as_myself
=$0 ;;
12367 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12368 for as_dir
in $PATH
12371 test -z "$as_dir" && as_dir
=.
12372 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12377 # We did not find ourselves, most probably we were run as `sh COMMAND'
12378 # in which case we are not to be found in the path.
12379 if test "x$as_myself" = x
; then
12382 if test ! -f "$as_myself"; then
12383 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12384 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12385 { (exit 1); exit 1; }; }
12387 case $CONFIG_SHELL in
12389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12390 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12393 test -z "$as_dir" && as_dir
=.
12394 for as_base
in sh bash ksh sh5
; do
12397 if ("$as_dir/$as_base" -c '
12398 as_lineno_1=$LINENO
12399 as_lineno_2=$LINENO
12400 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12401 test "x$as_lineno_1" != "x$as_lineno_2" &&
12402 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12403 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12404 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12405 CONFIG_SHELL
=$as_dir/$as_base
12406 export CONFIG_SHELL
12407 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12415 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12416 # uniformly replaced by the line number. The first 'sed' inserts a
12417 # line-number line before each line; the second 'sed' does the real
12418 # work. The second script uses 'N' to pair each line-number line
12419 # with the numbered line, and appends trailing '-' during
12420 # substitution so that $LINENO is not a special case at line end.
12421 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12422 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12423 sed '=' <$as_myself |
12428 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12431 s,^['$as_cr_digits']*\n,,
12432 ' >$as_me.lineno
&&
12433 chmod +x
$as_me.lineno ||
12434 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12435 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12436 { (exit 1); exit 1; }; }
12438 # Don't try to exec as it changes $[0], causing all sort of problems
12439 # (the dirname of $[0] is not the place where we might find the
12440 # original and so on. Autoconf is especially sensible to this).
12442 # Exit status is that of the last command.
12447 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12448 *c
*,-n*) ECHO_N
= ECHO_C
='
12450 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12451 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12454 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12460 rm -f conf$$ conf$$.exe conf$$.
file
12462 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12463 # We could just check for DJGPP; but this test a) works b) is more generic
12464 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12465 if test -f conf$$.exe
; then
12466 # Don't use ln at all; we don't have any links
12471 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12476 rm -f conf$$ conf$$.exe conf$$.
file
12478 if mkdir
-p .
2>/dev
/null
; then
12481 test -d .
/-p && rmdir .
/-p
12485 as_executable_p
="test -f"
12487 # Sed expression to map a string onto a valid CPP name.
12488 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12490 # Sed expression to map a string onto a valid variable name.
12491 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12495 # We need space, tab and new line, in precisely that order.
12505 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12506 # report actual input values of CONFIG_FILES etc. instead of their
12507 # values after options handling. Logging --version etc. is OK.
12511 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12512 ## Running $as_me. ##
12517 This file was extended by $as_me, which was
12518 generated by GNU Autoconf 2.59. Invocation command line was
12520 CONFIG_FILES = $CONFIG_FILES
12521 CONFIG_HEADERS = $CONFIG_HEADERS
12522 CONFIG_LINKS = $CONFIG_LINKS
12523 CONFIG_COMMANDS = $CONFIG_COMMANDS
12527 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12531 # Files that config.status was made for.
12532 if test -n "$ac_config_files"; then
12533 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12536 if test -n "$ac_config_headers"; then
12537 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12540 if test -n "$ac_config_links"; then
12541 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12544 if test -n "$ac_config_commands"; then
12545 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12548 cat >>$CONFIG_STATUS <<\_ACEOF
12551 \`$as_me' instantiates files from templates according to the
12552 current configuration.
12554 Usage: $0 [OPTIONS] [FILE]...
12556 -h, --help print this help, then exit
12557 -V, --version print version number, then exit
12558 -q, --quiet do not print progress messages
12559 -d, --debug don't remove temporary files
12560 --recheck update $as_me by reconfiguring in the same conditions
12561 --file=FILE[:TEMPLATE]
12562 instantiate the configuration file FILE
12563 --header=FILE[:TEMPLATE]
12564 instantiate the configuration header FILE
12566 Configuration files:
12569 Configuration headers:
12572 Configuration commands:
12575 Report bugs to <bug-autoconf@gnu.org>."
12578 cat >>$CONFIG_STATUS <<_ACEOF
12581 configured by $0, generated by GNU Autoconf 2.59,
12582 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12584 Copyright (C) 2003 Free Software Foundation, Inc.
12585 This config.status script is free software; the Free Software Foundation
12586 gives unlimited permission to copy, distribute and modify it."
12591 cat >>$CONFIG_STATUS <<\_ACEOF
12592 # If no file are specified by the user, then we need to provide default
12593 # value. By we need to know if files were specified by the user.
12599 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12600 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12608 *) # This is not an option, so the user has probably given explicit
12611 ac_need_defaults
=false
;;
12615 # Handling of the options.
12617 cat >>$CONFIG_STATUS <<\_ACEOF
12618 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12620 --version |
--vers* |
-V )
12621 echo "$ac_cs_version"; exit 0 ;;
12623 # Conflict between --help and --header
12624 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12625 Try \`$0 --help' for more information." >&5
12626 echo "$as_me: error: ambiguous option: $1
12627 Try \`$0 --help' for more information." >&2;}
12628 { (exit 1); exit 1; }; };;
12629 --help |
--hel |
-h )
12630 echo "$ac_cs_usage"; exit 0 ;;
12631 --debug |
--d* |
-d )
12633 --file |
--fil |
--fi |
--f )
12635 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12636 ac_need_defaults
=false
;;
12637 --header |
--heade |
--head |
--hea )
12639 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12640 ac_need_defaults
=false
;;
12641 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12642 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12645 # This is an error.
12646 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12647 Try \`$0 --help' for more information." >&5
12648 echo "$as_me: error: unrecognized option: $1
12649 Try \`$0 --help' for more information." >&2;}
12650 { (exit 1); exit 1; }; } ;;
12652 *) ac_config_targets
="$ac_config_targets $1" ;;
12658 ac_configure_extra_args
=
12660 if $ac_cs_silent; then
12662 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12666 cat >>$CONFIG_STATUS <<_ACEOF
12667 if \$ac_cs_recheck; then
12668 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12669 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12674 cat >>$CONFIG_STATUS <<_ACEOF
12676 # INIT-COMMANDS section.
12686 cat >>$CONFIG_STATUS <<\_ACEOF
12687 for ac_config_target
in $ac_config_targets
12689 case "$ac_config_target" in
12690 # Handling of arguments.
12691 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12692 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
12693 "bfd-in3.h" ) CONFIG_FILES
="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
12694 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
12695 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12696 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
12697 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
12698 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12699 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12700 { (exit 1); exit 1; }; };;
12704 # If the user did not use the arguments to specify the items to instantiate,
12705 # then the envvar interface is used. Set only those that are not.
12706 # We use the long form for the default assignment because of an extremely
12707 # bizarre bug on SunOS 4.1.3.
12708 if $ac_need_defaults; then
12709 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12710 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12711 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12714 # Have a temporary directory for convenience. Make it in the build tree
12715 # simply because there is no reason to put it here, and in addition,
12716 # creating and moving files from /tmp can sometimes cause problems.
12717 # Create a temporary directory, and hook for its removal unless debugging.
12720 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12721 trap '{ (exit 1); exit 1; }' 1 2 13 15
12724 # Create a (secure) tmp directory for tmp files.
12727 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12728 test -n "$tmp" && test -d "$tmp"
12731 tmp
=.
/confstat$$
-$RANDOM
12732 (umask 077 && mkdir
$tmp)
12735 echo "$me: cannot create a temporary directory in ." >&2
12736 { (exit 1); exit 1; }
12741 cat >>$CONFIG_STATUS <<_ACEOF
12744 # CONFIG_FILES section.
12747 # No need to generate the scripts if there are no CONFIG_FILES.
12748 # This happens for instance when ./config.status config.h
12749 if test -n "\$CONFIG_FILES"; then
12750 # Protect against being on the right side of a sed subst in config.status.
12751 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12752 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12753 s,@SHELL@,$SHELL,;t t
12754 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12755 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12756 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12757 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12758 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12759 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12760 s,@exec_prefix@,$exec_prefix,;t t
12761 s,@prefix@,$prefix,;t t
12762 s,@program_transform_name@,$program_transform_name,;t t
12763 s,@bindir@,$bindir,;t t
12764 s,@sbindir@,$sbindir,;t t
12765 s,@libexecdir@,$libexecdir,;t t
12766 s,@datadir@,$datadir,;t t
12767 s,@sysconfdir@,$sysconfdir,;t t
12768 s,@sharedstatedir@,$sharedstatedir,;t t
12769 s,@localstatedir@,$localstatedir,;t t
12770 s,@libdir@,$libdir,;t t
12771 s,@includedir@,$includedir,;t t
12772 s,@oldincludedir@,$oldincludedir,;t t
12773 s,@infodir@,$infodir,;t t
12774 s,@mandir@,$mandir,;t t
12775 s,@build_alias@,$build_alias,;t t
12776 s,@host_alias@,$host_alias,;t t
12777 s,@target_alias@,$target_alias,;t t
12778 s,@DEFS@,$DEFS,;t t
12779 s,@ECHO_C@,$ECHO_C,;t t
12780 s,@ECHO_N@,$ECHO_N,;t t
12781 s,@ECHO_T@,$ECHO_T,;t t
12782 s,@LIBS@,$LIBS,;t t
12783 s,@build@,$build,;t t
12784 s,@build_cpu@,$build_cpu,;t t
12785 s,@build_vendor@,$build_vendor,;t t
12786 s,@build_os@,$build_os,;t t
12787 s,@host@,$host,;t t
12788 s,@host_cpu@,$host_cpu,;t t
12789 s,@host_vendor@,$host_vendor,;t t
12790 s,@host_os@,$host_os,;t t
12791 s,@target@,$target,;t t
12792 s,@target_cpu@,$target_cpu,;t t
12793 s,@target_vendor@,$target_vendor,;t t
12794 s,@target_os@,$target_os,;t t
12796 s,@CFLAGS@,$CFLAGS,;t t
12797 s,@LDFLAGS@,$LDFLAGS,;t t
12798 s,@CPPFLAGS@,$CPPFLAGS,;t t
12799 s,@ac_ct_CC@,$ac_ct_CC,;t t
12800 s,@EXEEXT@,$EXEEXT,;t t
12801 s,@OBJEXT@,$OBJEXT,;t t
12802 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12803 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12804 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12805 s,@PACKAGE@,$PACKAGE,;t t
12806 s,@VERSION@,$VERSION,;t t
12807 s,@ACLOCAL@,$ACLOCAL,;t t
12808 s,@AUTOCONF@,$AUTOCONF,;t t
12809 s,@AUTOMAKE@,$AUTOMAKE,;t t
12810 s,@AUTOHEADER@,$AUTOHEADER,;t t
12811 s,@MAKEINFO@,$MAKEINFO,;t t
12812 s,@SET_MAKE@,$SET_MAKE,;t t
12814 s,@ac_ct_AR@,$ac_ct_AR,;t t
12815 s,@RANLIB@,$RANLIB,;t t
12816 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12817 s,@LN_S@,$LN_S,;t t
12818 s,@STRIP@,$STRIP,;t t
12819 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12820 s,@LIBTOOL@,$LIBTOOL,;t t
12821 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
12822 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12823 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12824 s,@MAINT@,$MAINT,;t t
12825 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
12826 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
12827 s,@bfdlibdir@,$bfdlibdir,;t t
12828 s,@bfdincludedir@,$bfdincludedir,;t t
12830 s,@EGREP@,$EGREP,;t t
12831 s,@ALLOCA@,$ALLOCA,;t t
12832 s,@USE_NLS@,$USE_NLS,;t t
12833 s,@MSGFMT@,$MSGFMT,;t t
12834 s,@GMSGFMT@,$GMSGFMT,;t t
12835 s,@XGETTEXT@,$XGETTEXT,;t t
12836 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
12837 s,@CATALOGS@,$CATALOGS,;t t
12838 s,@CATOBJEXT@,$CATOBJEXT,;t t
12839 s,@DATADIRNAME@,$DATADIRNAME,;t t
12840 s,@GMOFILES@,$GMOFILES,;t t
12841 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
12842 s,@INTLDEPS@,$INTLDEPS,;t t
12843 s,@INTLLIBS@,$INTLLIBS,;t t
12844 s,@INTLOBJS@,$INTLOBJS,;t t
12845 s,@POFILES@,$POFILES,;t t
12846 s,@POSUB@,$POSUB,;t t
12847 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
12848 s,@GT_NO@,$GT_NO,;t t
12849 s,@GT_YES@,$GT_YES,;t t
12850 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
12852 s,@HDEFINES@,$HDEFINES,;t t
12853 s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
12854 s,@BFD_HOST_LONG_LONG@,$BFD_HOST_LONG_LONG,;t t
12855 s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
12856 s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
12857 s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
12858 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
12859 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
12860 s,@COREFILE@,$COREFILE,;t t
12861 s,@COREFLAG@,$COREFLAG,;t t
12862 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
12863 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
12864 s,@TDEFINES@,$TDEFINES,;t t
12865 s,@wordsize@,$wordsize,;t t
12866 s,@bfd_libs@,$bfd_libs,;t t
12867 s,@all_backends@,$all_backends,;t t
12868 s,@bfd_backends@,$bfd_backends,;t t
12869 s,@bfd_machines@,$bfd_machines,;t t
12870 s,@bfd_default_target_size@,$bfd_default_target_size,;t t
12871 s,@bfd_file_ptr@,$bfd_file_ptr,;t t
12872 s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
12873 s,@tdefaults@,$tdefaults,;t t
12874 s,@LIBOBJS@,$LIBOBJS,;t t
12875 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12880 cat >>$CONFIG_STATUS <<\_ACEOF
12881 # Split the substitutions into bite-sized pieces for seds with
12882 # small command number limits, like on Digital OSF/1 and HP-UX.
12883 ac_max_sed_lines
=48
12884 ac_sed_frag
=1 # Number of current file.
12885 ac_beg
=1 # First line for current file.
12886 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12889 while $ac_more_lines; do
12890 if test $ac_beg -gt 1; then
12891 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12893 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12895 if test ! -s $tmp/subs.frag
; then
12896 ac_more_lines
=false
12898 # The purpose of the label and of the branching condition is to
12899 # speed up the sed processing (if there are no `@' at all, there
12900 # is no need to browse any of the substitutions).
12901 # These are the two extra sed commands mentioned above.
12903 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12904 if test -z "$ac_sed_cmds"; then
12905 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12907 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12909 ac_sed_frag
=`expr $ac_sed_frag + 1`
12911 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12914 if test -z "$ac_sed_cmds"; then
12917 fi # test -n "$CONFIG_FILES"
12920 cat >>$CONFIG_STATUS <<\_ACEOF
12921 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
12922 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12924 - |
*:- |
*:-:* ) # input from stdin
12926 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12927 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12928 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12929 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12930 * ) ac_file_in
=$ac_file.
in ;;
12933 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12934 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12935 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12936 X"$ac_file" : 'X\(//\)[^/]' \| \
12937 X"$ac_file" : 'X\(//\)$' \| \
12938 X"$ac_file" : 'X\(/\)' \| \
12939 . : '\(.\)' 2>/dev/null ||
12941 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12942 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12943 /^X\(\/\/\)$/{ s//\1/; q; }
12944 /^X\(\/\).*/{ s//\1/; q; }
12946 { if $as_mkdir_p; then
12951 while test ! -d "$as_dir"; do
12952 as_dirs
="$as_dir $as_dirs"
12953 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12954 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12955 X"$as_dir" : 'X\(//\)[^/]' \| \
12956 X"$as_dir" : 'X\(//\)$' \| \
12957 X"$as_dir" : 'X\(/\)' \| \
12958 . : '\(.\)' 2>/dev/null ||
12960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12961 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12962 /^X\(\/\/\)$/{ s//\1/; q; }
12963 /^X\(\/\).*/{ s//\1/; q; }
12966 test ! -n "$as_dirs" || mkdir
$as_dirs
12967 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12968 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12969 { (exit 1); exit 1; }; }; }
12973 if test "$ac_dir" != .
; then
12974 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12975 # A "../" for each directory in $ac_dir_suffix.
12976 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12978 ac_dir_suffix
= ac_top_builddir
=
12982 .
) # No --srcdir option. We are building in place.
12984 if test -z "$ac_top_builddir"; then
12987 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12989 [\\/]* | ?
:[\\/]* ) # Absolute path.
12990 ac_srcdir
=$srcdir$ac_dir_suffix;
12991 ac_top_srcdir
=$srcdir ;;
12992 *) # Relative path.
12993 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12994 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12997 # Do not use `cd foo && pwd` to compute absolute paths, because
12998 # the directories may not exist.
13000 .
) ac_abs_builddir
="$ac_dir";;
13003 .
) ac_abs_builddir
=`pwd`;;
13004 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13005 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13008 case $ac_abs_builddir in
13009 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13011 case ${ac_top_builddir}.
in
13012 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13013 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13014 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13017 case $ac_abs_builddir in
13018 .
) ac_abs_srcdir
=$ac_srcdir;;
13021 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13022 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13023 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13026 case $ac_abs_builddir in
13027 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13029 case $ac_top_srcdir in
13030 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13031 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13032 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13038 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13039 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13042 # Let's still pretend it is `configure' which instantiates (i.e., don't
13043 # use $as_me), people would be surprised to read:
13044 # /* config.h. Generated by config.status. */
13045 if test x
"$ac_file" = x-
; then
13048 configure_input
="$ac_file. "
13050 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13051 sed 's,.*/,,'` by configure."
13053 # First look for the input files in the build tree, otherwise in the
13055 ac_file_inputs
=`IFS=:
13056 for f in $ac_file_in; do
13058 -) echo $tmp/stdin ;;
13060 # Absolute (can't be DOS-style, as IFS=:)
13061 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13062 echo "$as_me: error: cannot find input file: $f" >&2;}
13063 { (exit 1); exit 1; }; }
13066 if test -f "$f"; then
13069 elif test -f "$srcdir/$f"; then
13074 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13075 echo "$as_me: error: cannot find input file: $f" >&2;}
13076 { (exit 1); exit 1; }; }
13079 done` ||
{ (exit 1); exit 1; }
13081 if test x
"$ac_file" != x-
; then
13082 { echo "$as_me:$LINENO: creating $ac_file" >&5
13083 echo "$as_me: creating $ac_file" >&6;}
13087 cat >>$CONFIG_STATUS <<_ACEOF
13091 cat >>$CONFIG_STATUS <<\_ACEOF
13093 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13094 s
,@configure_input@
,$configure_input,;t t
13095 s
,@srcdir@
,$ac_srcdir,;t t
13096 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13097 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13098 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13099 s
,@builddir@
,$ac_builddir,;t t
13100 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13101 s
,@top_builddir@
,$ac_top_builddir,;t t
13102 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13103 s
,@INSTALL@
,$ac_INSTALL,;t t
13104 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13106 if test x"$ac_file" != x-; then
13107 mv $tmp/out $ac_file
13115 cat >>$CONFIG_STATUS <<\_ACEOF
13118 # CONFIG_HEADER section.
13121 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
13122 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13124 # ac_d sets the value in "#define NAME VALUE" lines.
13125 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13126 ac_dB
='[ ].*$,\1#\2'
13129 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13130 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13131 ac_uB
='$,\1#\2define\3'
13135 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
13136 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13138 - |
*:- |
*:-:* ) # input from stdin
13140 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13141 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13142 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13143 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13144 * ) ac_file_in
=$ac_file.
in ;;
13147 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
13148 echo "$as_me: creating $ac_file" >&6;}
13150 # First look for the input files in the build tree, otherwise in the
13152 ac_file_inputs
=`IFS=:
13153 for f in $ac_file_in; do
13155 -) echo $tmp/stdin ;;
13157 # Absolute (can't be DOS-style, as IFS=:)
13158 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13159 echo "$as_me: error: cannot find input file: $f" >&2;}
13160 { (exit 1); exit 1; }; }
13161 # Do quote $f, to prevent DOS paths from being IFS'd.
13164 if test -f "$f"; then
13167 elif test -f "$srcdir/$f"; then
13172 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13173 echo "$as_me: error: cannot find input file: $f" >&2;}
13174 { (exit 1); exit 1; }; }
13177 done` ||
{ (exit 1); exit 1; }
13178 # Remove the trailing spaces.
13179 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13183 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13184 # `conftest.undefs', that substitutes the proper values into
13185 # config.h.in to produce config.h. The first handles `#define'
13186 # templates, and the second `#undef' templates.
13187 # And first: Protect against being on the right side of a sed subst in
13188 # config.status. Protect against being in an unquoted here document
13189 # in config.status.
13190 rm -f conftest.defines conftest.undefs
13191 # Using a here document instead of a string reduces the quoting nightmare.
13192 # Putting comments in sed scripts is not portable.
13194 # `end' is used to avoid that the second main sed command (meant for
13195 # 0-ary CPP macros) applies to n-ary macro definitions.
13196 # See the Autoconf documentation for `clear'.
13197 cat >confdef2sed.
sed <<\_ACEOF
13202 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13204 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13207 # If some macros were called several times there might be several times
13208 # the same #defines, which is useless. Nevertheless, we may not want to
13209 # sort them, since we want the *last* AC-DEFINE to be honored.
13210 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13211 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13212 rm -f confdef2sed.sed
13214 # This sed command replaces #undef with comments. This is necessary, for
13215 # example, in the case of _POSIX_SOURCE, which is predefined and required
13216 # on some systems where configure will not decide to define it.
13217 cat >>conftest.undefs <<\_ACEOF
13218 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13221 # Break up conftest.defines because some shells have a limit on the size
13222 # of here documents, and old seds have small limits too (100 cmds).
13223 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13224 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13225 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13226 echo ' :' >>$CONFIG_STATUS
13227 rm -f conftest.tail
13228 while grep . conftest.defines >/dev/null
13230 # Write a limited-size here document to $tmp/defines.sed.
13231 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13232 # Speed up: don't consider the non `#define' lines.
13233 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13234 # Work around the forget-to-reset-the-flag bug.
13235 echo 't clr' >>$CONFIG_STATUS
13236 echo ': clr' >>$CONFIG_STATUS
13237 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
13239 sed -f $tmp/defines.sed $tmp/in >$tmp/out
13241 mv $tmp/out $tmp/in
13243 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
13244 rm -f conftest.defines
13245 mv conftest.
tail conftest.defines
13247 rm -f conftest.defines
13248 echo ' fi # grep' >>$CONFIG_STATUS
13249 echo >>$CONFIG_STATUS
13251 # Break up conftest.undefs because some shells have a limit on the size
13252 # of here documents, and old seds have small limits too (100 cmds).
13253 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
13254 rm -f conftest.
tail
13255 while grep . conftest.undefs
>/dev
/null
13257 # Write a limited-size here document to $tmp/undefs.sed.
13258 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
13259 # Speed up: don't consider the non
`#undef'
13260 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
13261 # Work around the forget-to-reset-the-flag bug.
13262 echo 't clr' >>$CONFIG_STATUS
13263 echo ': clr' >>$CONFIG_STATUS
13264 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
13266 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
13268 mv $tmp/out $tmp/in
13270 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
13271 rm -f conftest.undefs
13272 mv conftest.tail conftest.undefs
13274 rm -f conftest.undefs
13276 cat >>$CONFIG_STATUS <<\_ACEOF
13277 # Let's still pretend it is `configure
' which instantiates (i.e., don't
13278 # use $as_me), people would be surprised to read:
13279 # /* config.h. Generated by config.status. */
13280 if test x
"$ac_file" = x-
; then
13281 echo "/* Generated by configure. */" >$tmp/config.h
13283 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13285 cat $tmp/in >>$tmp/config.h
13287 if test x
"$ac_file" != x-
; then
13288 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
13289 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13290 echo "$as_me: $ac_file is unchanged" >&6;}
13292 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13293 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13294 X"$ac_file" : 'X\(//\)[^/]' \| \
13295 X"$ac_file" : 'X\(//\)$' \| \
13296 X"$ac_file" : 'X\(/\)' \| \
13297 . : '\(.\)' 2>/dev/null ||
13299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13300 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13301 /^X\(\/\/\)$/{ s//\1/; q; }
13302 /^X\(\/\).*/{ s//\1/; q; }
13304 { if $as_mkdir_p; then
13309 while test ! -d "$as_dir"; do
13310 as_dirs
="$as_dir $as_dirs"
13311 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13312 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13313 X"$as_dir" : 'X\(//\)[^/]' \| \
13314 X"$as_dir" : 'X\(//\)$' \| \
13315 X"$as_dir" : 'X\(/\)' \| \
13316 . : '\(.\)' 2>/dev/null ||
13318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13319 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13320 /^X\(\/\/\)$/{ s//\1/; q; }
13321 /^X\(\/\).*/{ s//\1/; q; }
13324 test ! -n "$as_dirs" || mkdir
$as_dirs
13325 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13326 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13327 { (exit 1); exit 1; }; }; }
13330 mv $tmp/config.h
$ac_file
13334 rm -f $tmp/config.h
13338 cat >>$CONFIG_STATUS <<\_ACEOF
13341 # CONFIG_COMMANDS section.
13343 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
13344 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
13345 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13346 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
13347 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13348 X"$ac_dest" : 'X\(//\)[^/]' \| \
13349 X"$ac_dest" : 'X\(//\)$' \| \
13350 X"$ac_dest" : 'X\(/\)' \| \
13351 . : '\(.\)' 2>/dev/null ||
13353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13354 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13355 /^X\(\/\/\)$/{ s//\1/; q; }
13356 /^X\(\/\).*/{ s//\1/; q; }
13358 { if $as_mkdir_p; then
13363 while test ! -d "$as_dir"; do
13364 as_dirs
="$as_dir $as_dirs"
13365 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13366 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13367 X"$as_dir" : 'X\(//\)[^/]' \| \
13368 X"$as_dir" : 'X\(//\)$' \| \
13369 X"$as_dir" : 'X\(/\)' \| \
13370 . : '\(.\)' 2>/dev/null ||
13372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13373 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13374 /^X\(\/\/\)$/{ s//\1/; q; }
13375 /^X\(\/\).*/{ s//\1/; q; }
13378 test ! -n "$as_dirs" || mkdir
$as_dirs
13379 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13380 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13381 { (exit 1); exit 1; }; }; }
13385 if test "$ac_dir" != .
; then
13386 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13387 # A "../" for each directory in $ac_dir_suffix.
13388 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13390 ac_dir_suffix
= ac_top_builddir
=
13394 .
) # No --srcdir option. We are building in place.
13396 if test -z "$ac_top_builddir"; then
13399 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13401 [\\/]* | ?
:[\\/]* ) # Absolute path.
13402 ac_srcdir
=$srcdir$ac_dir_suffix;
13403 ac_top_srcdir
=$srcdir ;;
13404 *) # Relative path.
13405 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13406 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13409 # Do not use `cd foo && pwd` to compute absolute paths, because
13410 # the directories may not exist.
13412 .
) ac_abs_builddir
="$ac_dir";;
13415 .
) ac_abs_builddir
=`pwd`;;
13416 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13417 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13420 case $ac_abs_builddir in
13421 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13423 case ${ac_top_builddir}.
in
13424 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13425 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13426 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13429 case $ac_abs_builddir in
13430 .
) ac_abs_srcdir
=$ac_srcdir;;
13433 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13434 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13435 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13438 case $ac_abs_builddir in
13439 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13441 case $ac_top_srcdir in
13442 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13443 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13444 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13449 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13450 echo "$as_me: executing $ac_dest commands" >&6;}
13452 default-1
) test -z "$CONFIG_HEADERS" ||
echo timestamp
> stamp-h
;;
13453 default
) sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' -e '/BLD-POTFILES =/r po/BLD-POTFILES' po
/Makefile.
in > po
/Makefile
;;
13458 cat >>$CONFIG_STATUS <<\_ACEOF
13460 { (exit 0); exit 0; }
13462 chmod +x
$CONFIG_STATUS
13463 ac_clean_files
=$ac_clean_files_save
13466 # configure is writing to config.log, and then calls config.status.
13467 # config.status does its own redirection, appending to config.log.
13468 # Unfortunately, on DOS this fails, as config.log is still kept open
13469 # by configure, so config.status won't be able to write to it; its
13470 # output is simply discarded. So we exec the FD to /dev/null,
13471 # effectively closing config.log, so it can be properly (re)opened and
13472 # appended to by config.status. When coming back to configure, we
13473 # need to make the FD available again.
13474 if test "$no_create" != yes; then
13476 ac_config_status_args
=
13477 test "$silent" = yes &&
13478 ac_config_status_args
="$ac_config_status_args --quiet"
13480 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13482 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13483 # would make configure fail if this is the last instruction.
13484 $ac_cs_success ||
{ (exit 1); exit 1; }