2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="libbfd.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l HDEFINES BFD_HOST_64BIT_LONG BFD_HOST_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG WIN32LDFLAGS WIN32LIBADD TDEFINES wordsize bfd_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --disable-dependency-tracking speeds up one-time build
854 --enable-dependency-tracking do not reject slow dependency extractors
855 --enable-shared=PKGS build shared libraries default
=no
856 --enable-static=PKGS build static libraries default
=yes
857 --enable-fast-install=PKGS optimize
for fast installation default
=yes
858 --disable-libtool-lock avoid locking
(might
break parallel builds
)
859 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
860 --enable-targets alternative target configurations
861 --enable-commonbfdlib build shared BFD
/opcodes
/libiberty library
862 --enable-werror treat compile warnings as errors
863 --enable-build-warnings Enable build-time compiler warnings
864 --enable-maintainer-mode enable make rules and dependencies not useful
865 (and sometimes confusing
) to the casual installer
866 --enable-install-libbfd controls installation of libbfd and related headers
867 --disable-nls do not use Native Language Support
870 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
871 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
872 --with-gnu-ld assume the C compiler uses GNU ld default
=no
873 --with-pic try to use only PIC
/non-PIC objects default
=use both
874 --with-mmap try using mmap
for BFD input files
if available
875 --with-included-gettext use the GNU
gettext library included here
877 Some influential environment variables
:
878 CC C compiler
command
879 CFLAGS C compiler flags
880 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
881 nonstandard directory
<lib dir
>
882 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
883 headers
in a nonstandard directory
<include dir
>
886 Use these variables to override the choices made by
`configure' or to help
887 it to find libraries and programs with nonstandard names/locations.
892 if test "$ac_init_help" = "recursive"; then
893 # If there are subdirs, report their specific --help.
895 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
896 test -d $ac_dir || continue
899 if test "$ac_dir" != .; then
900 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
901 # A "../" for each directory in $ac_dir_suffix.
902 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
904 ac_dir_suffix= ac_top_builddir=
908 .) # No --srcdir option. We are building in place.
910 if test -z "$ac_top_builddir"; then
913 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
915 [\\/]* | ?:[\\/]* ) # Absolute path.
916 ac_srcdir=$srcdir$ac_dir_suffix;
917 ac_top_srcdir=$srcdir ;;
919 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
920 ac_top_srcdir=$ac_top_builddir$srcdir ;;
923 # Do not use `cd foo
&& pwd` to compute absolute paths, because
924 # the directories may not exist.
926 .) ac_abs_builddir="$ac_dir";;
929 .) ac_abs_builddir=`pwd`;;
930 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
931 *) ac_abs_builddir=`pwd`/"$ac_dir";;
934 case $ac_abs_builddir in
935 .) ac_abs_top_builddir=${ac_top_builddir}.;;
937 case ${ac_top_builddir}. in
938 .) ac_abs_top_builddir=$ac_abs_builddir;;
939 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
940 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
943 case $ac_abs_builddir in
944 .) ac_abs_srcdir=$ac_srcdir;;
947 .) ac_abs_srcdir=$ac_abs_builddir;;
948 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
949 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
952 case $ac_abs_builddir in
953 .) ac_abs_top_srcdir=$ac_top_srcdir;;
955 case $ac_top_srcdir in
956 .) ac_abs_top_srcdir=$ac_abs_builddir;;
957 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
958 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
963 # Check for guested configure; otherwise get Cygnus style configure.
964 if test -f $ac_srcdir/configure.gnu; then
966 $SHELL $ac_srcdir/configure.gnu --help=recursive
967 elif test -f $ac_srcdir/configure; then
969 $SHELL $ac_srcdir/configure --help=recursive
970 elif test -f $ac_srcdir/configure.ac ||
971 test -f $ac_srcdir/configure.in; then
975 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
981 test -n "$ac_init_help" && exit 0
982 if $ac_init_version; then
985 Copyright (C) 2003 Free Software Foundation, Inc.
986 This configure script is free software; the Free Software Foundation
987 gives unlimited permission to copy, distribute and modify it.
993 This file contains any messages produced by compilers while
994 running configure, to aid debugging if configure makes a mistake.
996 It was created by $as_me, which was
997 generated by GNU Autoconf 2.59. Invocation command line was
1008 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1009 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1010 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1011 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1012 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1014 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1015 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1017 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1018 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1019 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1020 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1021 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1022 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1023 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1031 test -z "$as_dir" && as_dir=.
1032 echo "PATH: $as_dir"
1047 # Keep a trace of the command line.
1048 # Strip out --no-create and --no-recursion so they do not pile up.
1049 # Strip out --silent because we don't want to record it for future runs.
1050 # Also quote any args containing shell meta-characters.
1051 # Make two passes to allow for proper duplicate-argument suppression.
1056 ac_must_keep_next=false
1062 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1066 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1067 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1070 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1072 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1073 if test $ac_must_keep_next = true; then
1074 ac_must_keep_next=false # Got value, back to normal.
1077 *=* | --config-cache | -C | -disable-* | --disable-* \
1078 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1079 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1080 | -with-* | --with-* | -without-* | --without-* | --x)
1081 case "$ac_configure_args0 " in
1082 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1085 -* ) ac_must_keep_next=true ;;
1088 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1089 # Get rid of the leading space.
1095 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1096 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1098 # When interrupted or exit'd, cleanup temporary files, and complete
1099 # config.log. We remove comments because anyway the quotes in there
1100 # would cause problems or look ugly.
1101 # WARNING: Be sure not to use single quotes in there, as some shells,
1102 # such as our DU 5.0 friend, will then `close
' the trap.
1103 trap 'exit_status
=$?
1104 # Save into config.log some information that might help in debugging.
1109 ## ---------------- ##
1110 ## Cache variables. ##
1111 ## ---------------- ##
1114 # The following way of writing the cache mishandles newlines in values,
1117 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1120 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1125 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1132 ## ----------------- ##
1133 ## Output variables. ##
1134 ## ----------------- ##
1137 for ac_var
in $ac_subst_vars
1139 eval ac_val
=$
`echo $ac_var`
1140 echo "$ac_var='"'"'$ac_val'"'"'"
1144 if test -n "$ac_subst_files"; then
1151 for ac_var
in $ac_subst_files
1153 eval ac_val
=$
`echo $ac_var`
1154 echo "$ac_var='"'"'$ac_val'"'"'"
1159 if test -s confdefs.h
; then
1166 sed "/^$/d" confdefs.h |
sort
1169 test "$ac_signal" != 0 &&
1170 echo "$as_me: caught signal $ac_signal"
1171 echo "$as_me: exit $exit_status"
1173 rm -f core
*.core
&&
1174 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1177 for ac_signal in 1 2 13 15; do
1178 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1182 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1183 rm -rf conftest* confdefs.h
1184 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1187 # Predefined preprocessor variables.
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_NAME "$PACKAGE_NAME"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_STRING "$PACKAGE_STRING"
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1214 # Let the site file select an alternate cache file if it wants to.
1215 # Prefer explicitly selected file to automatically selected ones.
1216 if test -z "$CONFIG_SITE"; then
1217 if test "x$prefix" != xNONE; then
1218 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1220 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1223 for ac_site_file in $CONFIG_SITE; do
1224 if test -r "$ac_site_file"; then
1225 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1226 echo "$as_me: loading site script $ac_site_file" >&6;}
1227 sed 's
/^
/|
/' "$ac_site_file" >&5
1232 if test -r "$cache_file"; then
1233 # Some versions of bash will fail to source /dev/null (special
1234 # files actually), so we avoid doing that.
1235 if test -f "$cache_file"; then
1236 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1237 echo "$as_me: loading cache $cache_file" >&6;}
1239 [\\/]* | ?:[\\/]* ) . $cache_file;;
1240 *) . ./$cache_file;;
1244 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1245 echo "$as_me: creating cache $cache_file" >&6;}
1249 # Check that the precious variables saved in the cache have kept the same
1251 ac_cache_corrupted=false
1252 for ac_var in `(set) 2>&1 |
1253 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1254 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1255 eval ac_new_set=\$ac_env_${ac_var}_set
1256 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1257 eval ac_new_val="\$ac_env_${ac_var}_value"
1258 case $ac_old_set,$ac_new_set in
1260 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1261 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1262 ac_cache_corrupted=: ;;
1264 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1265 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1266 ac_cache_corrupted=: ;;
1269 if test "x$ac_old_val" != "x$ac_new_val"; then
1270 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1271 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1272 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1273 echo "$as_me: former value: $ac_old_val" >&2;}
1274 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1275 echo "$as_me: current value: $ac_new_val" >&2;}
1276 ac_cache_corrupted=:
1279 # Pass precious variables to config.status.
1280 if test "$ac_new_set" = set; then
1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1284 *) ac_arg=$ac_var=$ac_new_val ;;
1286 case " $ac_configure_args " in
1287 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1288 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1292 if $ac_cache_corrupted; then
1293 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1294 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1295 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1296 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1297 { (exit 1); exit 1; }; }
1301 ac_cpp='$CPP $CPPFLAGS'
1302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1303 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1327 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1328 if test -f $ac_dir/install-sh; then
1330 ac_install_sh="$ac_aux_dir/install-sh -c"
1332 elif test -f $ac_dir/install.sh; then
1334 ac_install_sh="$ac_aux_dir/install.sh -c"
1336 elif test -f $ac_dir/shtool; then
1338 ac_install_sh="$ac_aux_dir/shtool install -c"
1342 if test -z "$ac_aux_dir"; then
1343 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1344 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1345 { (exit 1); exit 1; }; }
1347 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1348 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1349 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1351 # Make sure we can run config.sub.
1352 $ac_config_sub sun4 >/dev/null 2>&1 ||
1353 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1354 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1355 { (exit 1); exit 1; }; }
1357 echo "$as_me:$LINENO: checking build system type" >&5
1358 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1359 if test "${ac_cv_build+set}" = set; then
1360 echo $ECHO_N "(cached) $ECHO_C" >&6
1362 ac_cv_build_alias=$build_alias
1363 test -z "$ac_cv_build_alias" &&
1364 ac_cv_build_alias=`$ac_config_guess`
1365 test -z "$ac_cv_build_alias" &&
1366 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1367 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1368 { (exit 1); exit 1; }; }
1369 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1370 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1371 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1372 { (exit 1); exit 1; }; }
1375 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1376 echo "${ECHO_T}$ac_cv_build" >&6
1378 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1379 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1380 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1383 echo "$as_me:$LINENO: checking host system type" >&5
1384 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1385 if test "${ac_cv_host+set}" = set; then
1386 echo $ECHO_N "(cached) $ECHO_C" >&6
1388 ac_cv_host_alias=$host_alias
1389 test -z "$ac_cv_host_alias" &&
1390 ac_cv_host_alias=$ac_cv_build_alias
1391 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1392 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1393 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1394 { (exit 1); exit 1; }; }
1397 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1398 echo "${ECHO_T}$ac_cv_host" >&6
1400 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1401 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1402 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1405 echo "$as_me:$LINENO: checking target system type" >&5
1406 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1407 if test "${ac_cv_target+set}" = set; then
1408 echo $ECHO_N "(cached) $ECHO_C" >&6
1410 ac_cv_target_alias=$target_alias
1411 test "x$ac_cv_target_alias" = "x" &&
1412 ac_cv_target_alias=$ac_cv_host_alias
1413 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1414 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1415 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1416 { (exit 1); exit 1; }; }
1419 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1420 echo "${ECHO_T}$ac_cv_target" >&6
1421 target=$ac_cv_target
1422 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1423 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1424 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1427 # The aliases save the names the user supplied, while $host etc.
1428 # will get canonicalized.
1429 test -n "$target_alias" &&
1430 test "$program_prefix$program_suffix$program_transform_name" = \
1432 program_prefix=${target_alias}-
1434 ac_cpp='$CPP $CPPFLAGS'
1435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1436 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1438 if test -n "$ac_tool_prefix"; then
1439 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1440 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1441 echo "$as_me:$LINENO: checking for $ac_word" >&5
1442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1443 if test "${ac_cv_prog_CC+set}" = set; then
1444 echo $ECHO_N "(cached) $ECHO_C" >&6
1446 if test -n "$CC"; then
1447 ac_cv_prog_CC="$CC" # Let the user override the test.
1449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1453 test -z "$as_dir" && as_dir=.
1454 for ac_exec_ext in '' $ac_executable_extensions; do
1455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1456 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1466 if test -n "$CC"; then
1467 echo "$as_me:$LINENO: result: $CC" >&5
1468 echo "${ECHO_T}$CC" >&6
1470 echo "$as_me:$LINENO: result: no" >&5
1471 echo "${ECHO_T}no" >&6
1475 if test -z "$ac_cv_prog_CC"; then
1477 # Extract the first word of "gcc", so it can be a program name with args.
1478 set dummy gcc; ac_word=$2
1479 echo "$as_me:$LINENO: checking for $ac_word" >&5
1480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1481 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1482 echo $ECHO_N "(cached) $ECHO_C" >&6
1484 if test -n "$ac_ct_CC"; then
1485 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1491 test -z "$as_dir" && as_dir=.
1492 for ac_exec_ext in '' $ac_executable_extensions; do
1493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1494 ac_cv_prog_ac_ct_CC="gcc"
1495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1503 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1504 if test -n "$ac_ct_CC"; then
1505 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1506 echo "${ECHO_T}$ac_ct_CC" >&6
1508 echo "$as_me:$LINENO: result: no" >&5
1509 echo "${ECHO_T}no" >&6
1517 if test -z "$CC"; then
1518 if test -n "$ac_tool_prefix"; then
1519 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1520 set dummy ${ac_tool_prefix}cc; ac_word=$2
1521 echo "$as_me:$LINENO: checking for $ac_word" >&5
1522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1523 if test "${ac_cv_prog_CC+set}" = set; then
1524 echo $ECHO_N "(cached) $ECHO_C" >&6
1526 if test -n "$CC"; then
1527 ac_cv_prog_CC="$CC" # Let the user override the test.
1529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1533 test -z "$as_dir" && as_dir=.
1534 for ac_exec_ext in '' $ac_executable_extensions; do
1535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1536 ac_cv_prog_CC="${ac_tool_prefix}cc"
1537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1546 if test -n "$CC"; then
1547 echo "$as_me:$LINENO: result: $CC" >&5
1548 echo "${ECHO_T}$CC" >&6
1550 echo "$as_me:$LINENO: result: no" >&5
1551 echo "${ECHO_T}no" >&6
1555 if test -z "$ac_cv_prog_CC"; then
1557 # Extract the first word of "cc", so it can be a program name with args.
1558 set dummy cc; ac_word=$2
1559 echo "$as_me:$LINENO: checking for $ac_word" >&5
1560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1561 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1562 echo $ECHO_N "(cached) $ECHO_C" >&6
1564 if test -n "$ac_ct_CC"; then
1565 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1571 test -z "$as_dir" && as_dir=.
1572 for ac_exec_ext in '' $ac_executable_extensions; do
1573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1574 ac_cv_prog_ac_ct_CC="cc"
1575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1583 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1584 if test -n "$ac_ct_CC"; then
1585 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1586 echo "${ECHO_T}$ac_ct_CC" >&6
1588 echo "$as_me:$LINENO: result: no" >&5
1589 echo "${ECHO_T}no" >&6
1598 if test -z "$CC"; then
1599 # Extract the first word of "cc", so it can be a program name with args.
1600 set dummy cc; ac_word=$2
1601 echo "$as_me:$LINENO: checking for $ac_word" >&5
1602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1603 if test "${ac_cv_prog_CC+set}" = set; then
1604 echo $ECHO_N "(cached) $ECHO_C" >&6
1606 if test -n "$CC"; then
1607 ac_cv_prog_CC="$CC" # Let the user override the test.
1610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1614 test -z "$as_dir" && as_dir=.
1615 for ac_exec_ext in '' $ac_executable_extensions; do
1616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1617 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1618 ac_prog_rejected=yes
1622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1628 if test $ac_prog_rejected = yes; then
1629 # We found a bogon in the path, so make sure we never use it.
1630 set dummy $ac_cv_prog_CC
1632 if test $# != 0; then
1633 # We chose a different compiler from the bogus one.
1634 # However, it has the same basename, so the bogon will be chosen
1635 # first if we set CC to just the basename; use the full file name.
1637 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1643 if test -n "$CC"; then
1644 echo "$as_me:$LINENO: result: $CC" >&5
1645 echo "${ECHO_T}$CC" >&6
1647 echo "$as_me:$LINENO: result: no" >&5
1648 echo "${ECHO_T}no" >&6
1652 if test -z "$CC"; then
1653 if test -n "$ac_tool_prefix"; then
1656 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1657 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1658 echo "$as_me:$LINENO: checking for $ac_word" >&5
1659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1660 if test "${ac_cv_prog_CC+set}" = set; then
1661 echo $ECHO_N "(cached) $ECHO_C" >&6
1663 if test -n "$CC"; then
1664 ac_cv_prog_CC="$CC" # Let the user override the test.
1666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1670 test -z "$as_dir" && as_dir=.
1671 for ac_exec_ext in '' $ac_executable_extensions; do
1672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1673 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1683 if test -n "$CC"; then
1684 echo "$as_me:$LINENO: result: $CC" >&5
1685 echo "${ECHO_T}$CC" >&6
1687 echo "$as_me:$LINENO: result: no" >&5
1688 echo "${ECHO_T}no" >&6
1691 test -n "$CC" && break
1694 if test -z "$CC"; then
1698 # Extract the first word of "$ac_prog", so it can be a program name with args.
1699 set dummy $ac_prog; ac_word=$2
1700 echo "$as_me:$LINENO: checking for $ac_word" >&5
1701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1702 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1703 echo $ECHO_N "(cached) $ECHO_C" >&6
1705 if test -n "$ac_ct_CC"; then
1706 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1712 test -z "$as_dir" && as_dir=.
1713 for ac_exec_ext in '' $ac_executable_extensions; do
1714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1715 ac_cv_prog_ac_ct_CC="$ac_prog"
1716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1724 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1725 if test -n "$ac_ct_CC"; then
1726 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1727 echo "${ECHO_T}$ac_ct_CC" >&6
1729 echo "$as_me:$LINENO: result: no" >&5
1730 echo "${ECHO_T}no" >&6
1733 test -n "$ac_ct_CC" && break
1742 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1743 See \`config.log' for more details.
" >&5
1744 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1745 See \
`config.log' for more details." >&2;}
1746 { (exit 1); exit 1; }; }
1748 # Provide some information about the compiler.
1749 echo "$as_me:$LINENO:" \
1750 "checking for C compiler version" >&5
1751 ac_compiler=`set X
$ac_compile; echo $2`
1752 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1753 (eval $ac_compiler --version </dev/null >&5) 2>&5
1755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1756 (exit $ac_status); }
1757 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1758 (eval $ac_compiler -v </dev/null >&5) 2>&5
1760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1761 (exit $ac_status); }
1762 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1763 (eval $ac_compiler -V </dev/null >&5) 2>&5
1765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1766 (exit $ac_status); }
1768 cat >conftest.$ac_ext <<_ACEOF
1771 cat confdefs.h >>conftest.$ac_ext
1772 cat >>conftest.$ac_ext <<_ACEOF
1773 /* end confdefs.h. */
1783 ac_clean_files_save=$ac_clean_files
1784 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1785 # Try to create an executable without -o first, disregard a.out.
1786 # It will help us diagnose broken compilers, and finding out an intuition
1788 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1789 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1790 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1791 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1792 (eval $ac_link_default) 2>&5
1794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1795 (exit $ac_status); }; then
1796 # Find the output, starting from the most likely. This scheme is
1797 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1800 # Be careful to initialize this variable, since it used to be cached.
1801 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1803 # b.out is created by i960 compilers.
1804 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1806 test -f "$ac_file" || continue
1808 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1811 # This is the source file.
1814 # We found the default executable, but exeext='' is most
1818 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1819 # FIXME: I believe we export ac_cv_exeext for Libtool,
1820 # but it would be cool to find out if it's true. Does anybody
1821 # maintain Libtool? --akim.
1829 echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.$ac_ext >&5
1832 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1833 See \`config.log
' for more details." >&5
1834 echo "$as_me: error: C compiler cannot create executables
1835 See \`config.log' for more details.
" >&2;}
1836 { (exit 77); exit 77; }; }
1839 ac_exeext=$ac_cv_exeext
1840 echo "$as_me:$LINENO: result
: $ac_file" >&5
1841 echo "${ECHO_T}$ac_file" >&6
1843 # Check the compiler produces executables we can run. If not, either
1844 # the compiler is broken, or we cross compile.
1845 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1846 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1847 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1848 # If not cross compiling, check that we can run a simple program.
1849 if test "$cross_compiling" != yes; then
1850 if { ac_try='./$ac_file'
1851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1854 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1855 (exit $ac_status); }; }; then
1858 if test "$cross_compiling" = maybe; then
1861 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1862 If you meant to cross compile
, use \
`--host'.
1863 See \`config.log
' for more details." >&5
1864 echo "$as_me: error: cannot run C compiled programs.
1865 If you meant to cross compile, use \`--host'.
1866 See \
`config.log' for more details." >&2;}
1867 { (exit 1); exit 1; }; }
1871 echo "$as_me:$LINENO: result: yes" >&5
1872 echo "${ECHO_T}yes" >&6
1874 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1875 ac_clean_files=$ac_clean_files_save
1876 # Check the compiler produces executables we can run. If not, either
1877 # the compiler is broken, or we cross compile.
1878 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1879 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1880 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1881 echo "${ECHO_T}$cross_compiling" >&6
1883 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1884 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1886 (eval $ac_link) 2>&5
1888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1889 (exit $ac_status); }; then
1890 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1891 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1892 # work properly (i.e., refer to `conftest.exe'), while it won't with
1894 for ac_file
in conftest.exe conftest conftest.
*; do
1895 test -f "$ac_file" ||
continue
1897 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1898 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1905 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1906 See \`config.log' for more details." >&5
1907 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1908 See \`config.log' for more details." >&2;}
1909 { (exit 1); exit 1; }; }
1912 rm -f conftest
$ac_cv_exeext
1913 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1914 echo "${ECHO_T}$ac_cv_exeext" >&6
1916 rm -f conftest.
$ac_ext
1917 EXEEXT
=$ac_cv_exeext
1919 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1920 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1921 if test "${ac_cv_objext+set}" = set; then
1922 echo $ECHO_N "(cached) $ECHO_C" >&6
1924 cat >conftest.
$ac_ext <<_ACEOF
1927 cat confdefs.h
>>conftest.
$ac_ext
1928 cat >>conftest.
$ac_ext <<_ACEOF
1929 /* end confdefs.h. */
1939 rm -f conftest.o conftest.obj
1940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1941 (eval $ac_compile) 2>&5
1943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1944 (exit $ac_status); }; then
1945 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1947 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1948 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1953 echo "$as_me: failed program was:" >&5
1954 sed 's/^/| /' conftest.
$ac_ext >&5
1956 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1957 See \`config.log' for more details." >&5
1958 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1959 See \`config.log' for more details." >&2;}
1960 { (exit 1); exit 1; }; }
1963 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1965 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1966 echo "${ECHO_T}$ac_cv_objext" >&6
1967 OBJEXT
=$ac_cv_objext
1969 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1970 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1971 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1972 echo $ECHO_N "(cached) $ECHO_C" >&6
1974 cat >conftest.
$ac_ext <<_ACEOF
1977 cat confdefs.h
>>conftest.
$ac_ext
1978 cat >>conftest.
$ac_ext <<_ACEOF
1979 /* end confdefs.h. */
1992 rm -f conftest.
$ac_objext
1993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1994 (eval $ac_compile) 2>conftest.er1
1996 grep -v '^ *+' conftest.er1
>conftest.err
1998 cat conftest.err
>&5
1999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2000 (exit $ac_status); } &&
2001 { ac_try
='test -z "$ac_c_werror_flag"
2002 || test ! -s conftest.err'
2003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2007 (exit $ac_status); }; } &&
2008 { ac_try
='test -s conftest.$ac_objext'
2009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2013 (exit $ac_status); }; }; then
2016 echo "$as_me: failed program was:" >&5
2017 sed 's/^/| /' conftest.
$ac_ext >&5
2021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2022 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2025 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2026 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2027 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2028 ac_test_CFLAGS
=${CFLAGS+set}
2029 ac_save_CFLAGS
=$CFLAGS
2031 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2032 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2033 if test "${ac_cv_prog_cc_g+set}" = set; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2036 cat >conftest.
$ac_ext <<_ACEOF
2039 cat confdefs.h
>>conftest.
$ac_ext
2040 cat >>conftest.
$ac_ext <<_ACEOF
2041 /* end confdefs.h. */
2051 rm -f conftest.
$ac_objext
2052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2053 (eval $ac_compile) 2>conftest.er1
2055 grep -v '^ *+' conftest.er1
>conftest.err
2057 cat conftest.err
>&5
2058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2059 (exit $ac_status); } &&
2060 { ac_try
='test -z "$ac_c_werror_flag"
2061 || test ! -s conftest.err'
2062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); }; } &&
2067 { ac_try
='test -s conftest.$ac_objext'
2068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2072 (exit $ac_status); }; }; then
2075 echo "$as_me: failed program was:" >&5
2076 sed 's/^/| /' conftest.
$ac_ext >&5
2080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2082 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2083 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2084 if test "$ac_test_CFLAGS" = set; then
2085 CFLAGS
=$ac_save_CFLAGS
2086 elif test $ac_cv_prog_cc_g = yes; then
2087 if test "$GCC" = yes; then
2093 if test "$GCC" = yes; then
2099 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2100 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2101 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2102 echo $ECHO_N "(cached) $ECHO_C" >&6
2104 ac_cv_prog_cc_stdc
=no
2106 cat >conftest.
$ac_ext <<_ACEOF
2109 cat confdefs.h
>>conftest.
$ac_ext
2110 cat >>conftest.
$ac_ext <<_ACEOF
2111 /* end confdefs.h. */
2114 #include <sys/types.h>
2115 #include <sys/stat.h>
2116 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2117 struct buf { int x; };
2118 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2119 static char *e (p, i)
2125 static char *f (char * (*g) (char **, int), char **p, ...)
2130 s = g (p, va_arg (v,int));
2135 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2136 function prototypes and stuff, but not '\xHH' hex character constants.
2137 These don't provoke an error unfortunately, instead are silently treated
2138 as 'x'. The following induces an error, until -std1 is added to get
2139 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2140 array size at least. It's necessary to write '\x00'==0 to get something
2141 that's true only with -std1. */
2142 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2144 int test (int i, double x);
2145 struct s1 {int (*f) (int a);};
2146 struct s2 {int (*f) (double a);};
2147 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2153 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2158 # Don't try gcc -ansi; that turns off useful extensions and
2159 # breaks some systems' header files.
2160 # AIX -qlanglvl=ansi
2161 # Ultrix and OSF/1 -std1
2162 # HP-UX 10.20 and later -Ae
2163 # HP-UX older versions -Aa -D_HPUX_SOURCE
2164 # SVR4 -Xc -D__EXTENSIONS__
2165 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2167 CC
="$ac_save_CC $ac_arg"
2168 rm -f conftest.
$ac_objext
2169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2170 (eval $ac_compile) 2>conftest.er1
2172 grep -v '^ *+' conftest.er1
>conftest.err
2174 cat conftest.err
>&5
2175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176 (exit $ac_status); } &&
2177 { ac_try
='test -z "$ac_c_werror_flag"
2178 || test ! -s conftest.err'
2179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); }; } &&
2184 { ac_try
='test -s conftest.$ac_objext'
2185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2189 (exit $ac_status); }; }; then
2190 ac_cv_prog_cc_stdc
=$ac_arg
2193 echo "$as_me: failed program was:" >&5
2194 sed 's/^/| /' conftest.
$ac_ext >&5
2197 rm -f conftest.err conftest.
$ac_objext
2199 rm -f conftest.
$ac_ext conftest.
$ac_objext
2204 case "x$ac_cv_prog_cc_stdc" in
2206 echo "$as_me:$LINENO: result: none needed" >&5
2207 echo "${ECHO_T}none needed" >&6 ;;
2209 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2210 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2211 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2214 # Some people use a C++ compiler to compile C. Since we use `exit',
2215 # in C++ we need to declare it. In case someone uses the same compiler
2216 # for both compiling C and C++ we need to have the C++ compiler decide
2217 # the declaration of exit, since it's the most demanding environment.
2218 cat >conftest.
$ac_ext <<_ACEOF
2223 rm -f conftest.
$ac_objext
2224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2225 (eval $ac_compile) 2>conftest.er1
2227 grep -v '^ *+' conftest.er1
>conftest.err
2229 cat conftest.err
>&5
2230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231 (exit $ac_status); } &&
2232 { ac_try
='test -z "$ac_c_werror_flag"
2233 || test ! -s conftest.err'
2234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2238 (exit $ac_status); }; } &&
2239 { ac_try
='test -s conftest.$ac_objext'
2240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244 (exit $ac_status); }; }; then
2245 for ac_declaration
in \
2247 'extern "C" void std::exit (int) throw (); using std::exit;' \
2248 'extern "C" void std::exit (int); using std::exit;' \
2249 'extern "C" void exit (int) throw ();' \
2250 'extern "C" void exit (int);' \
2253 cat >conftest.
$ac_ext <<_ACEOF
2256 cat confdefs.h
>>conftest.
$ac_ext
2257 cat >>conftest.
$ac_ext <<_ACEOF
2258 /* end confdefs.h. */
2269 rm -f conftest.
$ac_objext
2270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2271 (eval $ac_compile) 2>conftest.er1
2273 grep -v '^ *+' conftest.er1
>conftest.err
2275 cat conftest.err
>&5
2276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2277 (exit $ac_status); } &&
2278 { ac_try
='test -z "$ac_c_werror_flag"
2279 || test ! -s conftest.err'
2280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); }; } &&
2285 { ac_try
='test -s conftest.$ac_objext'
2286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290 (exit $ac_status); }; }; then
2293 echo "$as_me: failed program was:" >&5
2294 sed 's/^/| /' conftest.
$ac_ext >&5
2298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2299 cat >conftest.
$ac_ext <<_ACEOF
2302 cat confdefs.h
>>conftest.
$ac_ext
2303 cat >>conftest.
$ac_ext <<_ACEOF
2304 /* end confdefs.h. */
2314 rm -f conftest.
$ac_objext
2315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2316 (eval $ac_compile) 2>conftest.er1
2318 grep -v '^ *+' conftest.er1
>conftest.err
2320 cat conftest.err
>&5
2321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2322 (exit $ac_status); } &&
2323 { ac_try
='test -z "$ac_c_werror_flag"
2324 || test ! -s conftest.err'
2325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329 (exit $ac_status); }; } &&
2330 { ac_try
='test -s conftest.$ac_objext'
2331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); }; }; then
2338 echo "$as_me: failed program was:" >&5
2339 sed 's/^/| /' conftest.
$ac_ext >&5
2342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2345 if test -n "$ac_declaration"; then
2346 echo '#ifdef __cplusplus' >>confdefs.h
2347 echo $ac_declaration >>confdefs.h
2348 echo '#endif' >>confdefs.h
2352 echo "$as_me: failed program was:" >&5
2353 sed 's/^/| /' conftest.
$ac_ext >&5
2356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2358 ac_cpp
='$CPP $CPPFLAGS'
2359 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2360 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2361 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2364 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2365 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2366 if test "${ac_cv_search_strerror+set}" = set; then
2367 echo $ECHO_N "(cached) $ECHO_C" >&6
2369 ac_func_search_save_LIBS
=$LIBS
2370 ac_cv_search_strerror
=no
2371 cat >conftest.
$ac_ext <<_ACEOF
2374 cat confdefs.h
>>conftest.
$ac_ext
2375 cat >>conftest.
$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2378 /* Override any gcc2 internal prototype to avoid an error. */
2382 /* We use char because int might match the return type of a gcc2
2383 builtin and then its argument prototype would still apply. */
2393 rm -f conftest.
$ac_objext conftest
$ac_exeext
2394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2395 (eval $ac_link) 2>conftest.er1
2397 grep -v '^ *+' conftest.er1
>conftest.err
2399 cat conftest.err
>&5
2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401 (exit $ac_status); } &&
2402 { ac_try
='test -z "$ac_c_werror_flag"
2403 || test ! -s conftest.err'
2404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); }; } &&
2409 { ac_try
='test -s conftest$ac_exeext'
2410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); }; }; then
2415 ac_cv_search_strerror
="none required"
2417 echo "$as_me: failed program was:" >&5
2418 sed 's/^/| /' conftest.
$ac_ext >&5
2421 rm -f conftest.err conftest.
$ac_objext \
2422 conftest
$ac_exeext conftest.
$ac_ext
2423 if test "$ac_cv_search_strerror" = no
; then
2424 for ac_lib
in cposix
; do
2425 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2426 cat >conftest.
$ac_ext <<_ACEOF
2429 cat confdefs.h
>>conftest.
$ac_ext
2430 cat >>conftest.
$ac_ext <<_ACEOF
2431 /* end confdefs.h. */
2433 /* Override any gcc2 internal prototype to avoid an error. */
2437 /* We use char because int might match the return type of a gcc2
2438 builtin and then its argument prototype would still apply. */
2448 rm -f conftest.
$ac_objext conftest
$ac_exeext
2449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2450 (eval $ac_link) 2>conftest.er1
2452 grep -v '^ *+' conftest.er1
>conftest.err
2454 cat conftest.err
>&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); } &&
2457 { ac_try
='test -z "$ac_c_werror_flag"
2458 || test ! -s conftest.err'
2459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463 (exit $ac_status); }; } &&
2464 { ac_try
='test -s conftest$ac_exeext'
2465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); }; }; then
2470 ac_cv_search_strerror
="-l$ac_lib"
2473 echo "$as_me: failed program was:" >&5
2474 sed 's/^/| /' conftest.
$ac_ext >&5
2477 rm -f conftest.err conftest.
$ac_objext \
2478 conftest
$ac_exeext conftest.
$ac_ext
2481 LIBS
=$ac_func_search_save_LIBS
2483 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2484 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2485 if test "$ac_cv_search_strerror" != no
; then
2486 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2491 am__api_version
="1.9"
2492 # Find a good install program. We prefer a C program (faster),
2493 # so one script is as good as another. But avoid the broken or
2494 # incompatible versions:
2495 # SysV /etc/install, /usr/sbin/install
2496 # SunOS /usr/etc/install
2497 # IRIX /sbin/install
2499 # AmigaOS /C/install, which installs bootblocks on floppy discs
2500 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2501 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2502 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2503 # OS/2's system install, which has a completely different semantic
2504 # ./install, which can be erroneously created by make from ./install.sh.
2505 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2506 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2507 if test -z "$INSTALL"; then
2508 if test "${ac_cv_path_install+set}" = set; then
2509 echo $ECHO_N "(cached) $ECHO_C" >&6
2511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2515 test -z "$as_dir" && as_dir
=.
2516 # Account for people who put trailing slashes in PATH elements.
2518 .
/ | .
// |
/cC
/* | \
2519 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2520 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2523 # OSF1 and SCO ODT 3.0 have their own names for install.
2524 # Don't use installbsd from OSF since it installs stuff as root
2526 for ac_prog
in ginstall scoinst
install; do
2527 for ac_exec_ext
in '' $ac_executable_extensions; do
2528 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2529 if test $ac_prog = install &&
2530 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2531 # AIX install. It has an incompatible calling convention.
2533 elif test $ac_prog = install &&
2534 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2535 # program-specific install script used by HP pwplus--don't use.
2538 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2550 if test "${ac_cv_path_install+set}" = set; then
2551 INSTALL
=$ac_cv_path_install
2553 # As a last resort, use the slow shell script. We don't cache a
2554 # path for INSTALL within a source directory, because that will
2555 # break other packages using the cache if that directory is
2556 # removed, or if the path is relative.
2557 INSTALL
=$ac_install_sh
2560 echo "$as_me:$LINENO: result: $INSTALL" >&5
2561 echo "${ECHO_T}$INSTALL" >&6
2563 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2564 # It thinks the first close brace ends the variable substitution.
2565 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2567 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2569 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2571 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2572 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2575 echo timestamp
> conftest.
file
2576 # Do `set' in a subshell so we don't clobber the current shell's
2577 # arguments. Must try -L first in case configure is actually a
2578 # symlink; some systems play weird games with the mod time of symlinks
2579 # (eg FreeBSD returns the mod time of the symlink's containing
2582 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2583 if test "$*" = "X"; then
2585 set X
`ls -t $srcdir/configure conftest.file`
2588 if test "$*" != "X $srcdir/configure conftest.file" \
2589 && test "$*" != "X conftest.file $srcdir/configure"; then
2591 # If neither matched, then we have a broken ls. This can happen
2592 # if, for instance, CONFIG_SHELL is bash and it inherits a
2593 # broken ls alias from the environment. This has actually
2594 # happened. Such a system could not be considered "sane".
2595 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2596 alias in your environment" >&5
2597 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2598 alias in your environment" >&2;}
2599 { (exit 1); exit 1; }; }
2602 test "$2" = conftest.
file
2608 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2609 Check your system clock" >&5
2610 echo "$as_me: error: newly created file is older than distributed files!
2611 Check your system clock" >&2;}
2612 { (exit 1); exit 1; }; }
2614 echo "$as_me:$LINENO: result: yes" >&5
2615 echo "${ECHO_T}yes" >&6
2616 test "$program_prefix" != NONE
&&
2617 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2618 # Use a double $ so make ignores it.
2619 test "$program_suffix" != NONE
&&
2620 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2621 # Double any \ or $. echo might interpret backslashes.
2622 # By default was `s,x,x', remove it if useless.
2623 cat <<\_ACEOF
>conftest.
sed
2624 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2626 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2629 # expand $ac_aux_dir to an absolute path
2630 am_aux_dir
=`cd $ac_aux_dir && pwd`
2632 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2633 # Use eval to expand $SHELL
2634 if eval "$MISSING --run true"; then
2635 am_missing_run
="$MISSING --run "
2638 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2639 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2642 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2643 # We used to keeping the `.' as first argument, in order to
2644 # allow $(mkdir_p) to be used without argument. As in
2645 # $(mkdir_p) $(somedir)
2646 # where $(somedir) is conditionally defined. However this is wrong
2648 # 1. if the package is installed by a user who cannot write `.'
2649 # make install will fail,
2650 # 2. the above comment should most certainly read
2651 # $(mkdir_p) $(DESTDIR)$(somedir)
2652 # so it does not work when $(somedir) is undefined and
2653 # $(DESTDIR) is not.
2654 # To support the latter case, we have to write
2655 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2656 # so the `.' trick is pointless.
2657 mkdir_p
='mkdir -p --'
2659 # On NextStep and OpenStep, the `mkdir' command does not
2660 # recognize any option. It will interpret all options as
2661 # directories to create, and then abort because `.' already
2663 for d
in .
/-p .
/--version;
2665 test -d $d && rmdir $d
2667 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2668 if test -f "$ac_aux_dir/mkinstalldirs"; then
2669 mkdir_p
='$(mkinstalldirs)'
2671 mkdir_p
='$(install_sh) -d'
2675 for ac_prog
in gawk mawk nawk
awk
2677 # Extract the first word of "$ac_prog", so it can be a program name with args.
2678 set dummy
$ac_prog; ac_word
=$2
2679 echo "$as_me:$LINENO: checking for $ac_word" >&5
2680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2681 if test "${ac_cv_prog_AWK+set}" = set; then
2682 echo $ECHO_N "(cached) $ECHO_C" >&6
2684 if test -n "$AWK"; then
2685 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2691 test -z "$as_dir" && as_dir
=.
2692 for ac_exec_ext
in '' $ac_executable_extensions; do
2693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2694 ac_cv_prog_AWK
="$ac_prog"
2695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2704 if test -n "$AWK"; then
2705 echo "$as_me:$LINENO: result: $AWK" >&5
2706 echo "${ECHO_T}$AWK" >&6
2708 echo "$as_me:$LINENO: result: no" >&5
2709 echo "${ECHO_T}no" >&6
2712 test -n "$AWK" && break
2715 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2716 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2717 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2718 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2719 echo $ECHO_N "(cached) $ECHO_C" >&6
2721 cat >conftest.
make <<\_ACEOF
2723 @
echo 'ac_maketemp="$(MAKE)"'
2725 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2726 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2727 if test -n "$ac_maketemp"; then
2728 eval ac_cv_prog_make_
${ac_make}_set
=yes
2730 eval ac_cv_prog_make_
${ac_make}_set
=no
2734 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2735 echo "$as_me:$LINENO: result: yes" >&5
2736 echo "${ECHO_T}yes" >&6
2739 echo "$as_me:$LINENO: result: no" >&5
2740 echo "${ECHO_T}no" >&6
2741 SET_MAKE
="MAKE=${MAKE-make}"
2744 rm -rf .tst
2>/dev
/null
2745 mkdir .tst
2>/dev
/null
2746 if test -d .tst
; then
2751 rmdir .tst
2>/dev
/null
2753 DEPDIR
="${am__leading_dot}deps"
2755 ac_config_commands
="$ac_config_commands depfiles"
2758 am_make
=${MAKE-make}
2759 cat > confinc
<< 'END'
2764 # If we don't find an include directive, just comment out the code.
2765 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2766 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2770 # First try GNU make style include.
2771 echo "include confinc" > confmf
2772 # We grep out `Entering directory' and `Leaving directory'
2773 # messages which can occur if `w' ends up in MAKEFLAGS.
2774 # In particular we don't look at `^make:' because GNU make might
2775 # be invoked under some other name (usually "gmake"), in which
2776 # case it prints its new name instead of `make'.
2777 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2782 # Now try BSD make style include.
2783 if test "$am__include" = "#"; then
2784 echo '.include "confinc"' > confmf
2785 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2786 am__include
=.include
2793 echo "$as_me:$LINENO: result: $_am_result" >&5
2794 echo "${ECHO_T}$_am_result" >&6
2795 rm -f confinc confmf
2797 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2798 if test "${enable_dependency_tracking+set}" = set; then
2799 enableval
="$enable_dependency_tracking"
2802 if test "x$enable_dependency_tracking" != xno
; then
2803 am_depcomp
="$ac_aux_dir/depcomp"
2808 if test "x$enable_dependency_tracking" != xno; then
2818 # test to see if srcdir already configured
2819 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2820 test -f $srcdir/config.status
; then
2821 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2822 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2823 { (exit 1); exit 1; }; }
2826 # test whether we have cygpath
2827 if test -z "$CYGPATH_W"; then
2828 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2829 CYGPATH_W
='cygpath -w'
2836 # Define the identity of the package.
2841 cat >>confdefs.h
<<_ACEOF
2842 #define PACKAGE "$PACKAGE"
2846 cat >>confdefs.h
<<_ACEOF
2847 #define VERSION "$VERSION"
2850 # Some tools Automake needs.
2852 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2855 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2858 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2861 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2864 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2866 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2868 # Installed binaries are usually stripped using `strip' when the user
2869 # run `make install-strip'. However `strip' might not be the right
2870 # tool to use in cross-compilation environments, therefore Automake
2871 # will honor the `STRIP' environment variable to overrule this program.
2872 if test "$cross_compiling" != no
; then
2873 if test -n "$ac_tool_prefix"; then
2874 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2875 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2876 echo "$as_me:$LINENO: checking for $ac_word" >&5
2877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2878 if test "${ac_cv_prog_STRIP+set}" = set; then
2879 echo $ECHO_N "(cached) $ECHO_C" >&6
2881 if test -n "$STRIP"; then
2882 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2888 test -z "$as_dir" && as_dir
=.
2889 for ac_exec_ext
in '' $ac_executable_extensions; do
2890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2891 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 STRIP
=$ac_cv_prog_STRIP
2901 if test -n "$STRIP"; then
2902 echo "$as_me:$LINENO: result: $STRIP" >&5
2903 echo "${ECHO_T}$STRIP" >&6
2905 echo "$as_me:$LINENO: result: no" >&5
2906 echo "${ECHO_T}no" >&6
2910 if test -z "$ac_cv_prog_STRIP"; then
2912 # Extract the first word of "strip", so it can be a program name with args.
2913 set dummy strip
; ac_word
=$2
2914 echo "$as_me:$LINENO: checking for $ac_word" >&5
2915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2916 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2917 echo $ECHO_N "(cached) $ECHO_C" >&6
2919 if test -n "$ac_ct_STRIP"; then
2920 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2926 test -z "$as_dir" && as_dir
=.
2927 for ac_exec_ext
in '' $ac_executable_extensions; do
2928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2929 ac_cv_prog_ac_ct_STRIP
="strip"
2930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2936 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2939 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2940 if test -n "$ac_ct_STRIP"; then
2941 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2942 echo "${ECHO_T}$ac_ct_STRIP" >&6
2944 echo "$as_me:$LINENO: result: no" >&5
2945 echo "${ECHO_T}no" >&6
2950 STRIP
="$ac_cv_prog_STRIP"
2954 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2956 # We need awk for the "check" target. The system "awk" is bad on
2958 # Always define AMTAR for backward compatibility.
2960 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2962 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2967 depcc
="$CC" am_compiler_list
=
2969 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2970 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2971 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2972 echo $ECHO_N "(cached) $ECHO_C" >&6
2974 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2975 # We make a subdir and do the tests there. Otherwise we can end up
2976 # making bogus files that we don't know about and never remove. For
2977 # instance it was reported that on HP-UX the gcc test will end up
2978 # making a dummy file named `D' -- because `-MD' means `put the output
2981 # Copy depcomp to subdir because otherwise we won't find it if we're
2982 # using a relative directory.
2983 cp "$am_depcomp" conftest.dir
2985 # We will build objects and dependencies in a subdirectory because
2986 # it helps to detect inapplicable dependency modes. For instance
2987 # both Tru64's cc and ICC support -MD to output dependencies as a
2988 # side effect of compilation, but ICC will put the dependencies in
2989 # the current directory while Tru64 will put them in the object
2993 am_cv_CC_dependencies_compiler_type
=none
2994 if test "$am_compiler_list" = ""; then
2995 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2997 for depmode
in $am_compiler_list; do
2998 # Setup a source with many dependencies, because some compilers
2999 # like to wrap large dependency lists on column 80 (with \), and
3000 # we should not choose a depcomp mode which is confused by this.
3002 # We need to recreate these files for each test, as the compiler may
3003 # overwrite some of them when testing with obscure command lines.
3004 # This happens at least with the AIX C compiler.
3006 for i
in 1 2 3 4 5 6; do
3007 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3008 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3009 # Solaris 8's {/usr,}/bin/sh.
3010 touch sub
/conftst
$i.h
3012 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3016 # after this tag, mechanisms are not by side-effect, so they'll
3017 # only be used when explicitly requested
3018 if test "x$enable_dependency_tracking" = xyes
; then
3026 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3027 # mode. It turns out that the SunPro C++ compiler does not properly
3028 # handle `-M -o', and we need to detect this.
3029 if depmode
=$depmode \
3030 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3031 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3032 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3033 >/dev
/null
2>conftest.err
&&
3034 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3035 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3036 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3037 # icc doesn't choke on unknown options, it will just issue warnings
3038 # or remarks (even with -Werror). So we grep stderr for any message
3039 # that says an option was ignored or not supported.
3040 # When given -MP, icc 7.0 and 7.1 complain thusly:
3041 # icc: Command line warning: ignoring option '-M'; no argument required
3042 # The diagnosis changed in icc 8.0:
3043 # icc: Command line remark: option '-MP' not supported
3044 if (grep 'ignoring option' conftest.err ||
3045 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3046 am_cv_CC_dependencies_compiler_type
=$depmode
3055 am_cv_CC_dependencies_compiler_type
=none
3059 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3060 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3061 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3066 test "x$enable_dependency_tracking" != xno \
3067 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3069 am__fastdepCC_FALSE
='#'
3071 am__fastdepCC_TRUE
='#'
3072 am__fastdepCC_FALSE
=
3078 if test -n "$ac_tool_prefix"; then
3079 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3080 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3081 echo "$as_me:$LINENO: checking for $ac_word" >&5
3082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3083 if test "${ac_cv_prog_AR+set}" = set; then
3084 echo $ECHO_N "(cached) $ECHO_C" >&6
3086 if test -n "$AR"; then
3087 ac_cv_prog_AR
="$AR" # Let the user override the test.
3089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3093 test -z "$as_dir" && as_dir
=.
3094 for ac_exec_ext
in '' $ac_executable_extensions; do
3095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3096 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3106 if test -n "$AR"; then
3107 echo "$as_me:$LINENO: result: $AR" >&5
3108 echo "${ECHO_T}$AR" >&6
3110 echo "$as_me:$LINENO: result: no" >&5
3111 echo "${ECHO_T}no" >&6
3115 if test -z "$ac_cv_prog_AR"; then
3117 # Extract the first word of "ar", so it can be a program name with args.
3118 set dummy
ar; ac_word
=$2
3119 echo "$as_me:$LINENO: checking for $ac_word" >&5
3120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3121 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3122 echo $ECHO_N "(cached) $ECHO_C" >&6
3124 if test -n "$ac_ct_AR"; then
3125 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3131 test -z "$as_dir" && as_dir
=.
3132 for ac_exec_ext
in '' $ac_executable_extensions; do
3133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3134 ac_cv_prog_ac_ct_AR
="ar"
3135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3143 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3144 if test -n "$ac_ct_AR"; then
3145 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3146 echo "${ECHO_T}$ac_ct_AR" >&6
3148 echo "$as_me:$LINENO: result: no" >&5
3149 echo "${ECHO_T}no" >&6
3157 if test -n "$ac_tool_prefix"; then
3158 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3159 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3160 echo "$as_me:$LINENO: checking for $ac_word" >&5
3161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3162 if test "${ac_cv_prog_RANLIB+set}" = set; then
3163 echo $ECHO_N "(cached) $ECHO_C" >&6
3165 if test -n "$RANLIB"; then
3166 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3172 test -z "$as_dir" && as_dir
=.
3173 for ac_exec_ext
in '' $ac_executable_extensions; do
3174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3175 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3184 RANLIB
=$ac_cv_prog_RANLIB
3185 if test -n "$RANLIB"; then
3186 echo "$as_me:$LINENO: result: $RANLIB" >&5
3187 echo "${ECHO_T}$RANLIB" >&6
3189 echo "$as_me:$LINENO: result: no" >&5
3190 echo "${ECHO_T}no" >&6
3194 if test -z "$ac_cv_prog_RANLIB"; then
3195 ac_ct_RANLIB
=$RANLIB
3196 # Extract the first word of "ranlib", so it can be a program name with args.
3197 set dummy ranlib
; ac_word
=$2
3198 echo "$as_me:$LINENO: checking for $ac_word" >&5
3199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3200 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3203 if test -n "$ac_ct_RANLIB"; then
3204 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3210 test -z "$as_dir" && as_dir
=.
3211 for ac_exec_ext
in '' $ac_executable_extensions; do
3212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3213 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3220 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3223 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3224 if test -n "$ac_ct_RANLIB"; then
3225 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3226 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3228 echo "$as_me:$LINENO: result: no" >&5
3229 echo "${ECHO_T}no" >&6
3232 RANLIB
=$ac_ct_RANLIB
3234 RANLIB
="$ac_cv_prog_RANLIB"
3238 # Check whether --enable-shared or --disable-shared was given.
3239 if test "${enable_shared+set}" = set; then
3240 enableval
="$enable_shared"
3241 p
=${PACKAGE-default}
3243 yes) enable_shared
=yes ;;
3244 no
) enable_shared
=no
;;
3247 # Look at the argument we got. We use all the common list separators.
3248 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3249 for pkg
in $enableval; do
3250 if test "X$pkg" = "X$p"; then
3261 # Check whether --enable-static or --disable-static was given.
3262 if test "${enable_static+set}" = set; then
3263 enableval
="$enable_static"
3264 p
=${PACKAGE-default}
3266 yes) enable_static
=yes ;;
3267 no
) enable_static
=no
;;
3270 # Look at the argument we got. We use all the common list separators.
3271 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3272 for pkg
in $enableval; do
3273 if test "X$pkg" = "X$p"; then
3283 # Check whether --enable-fast-install or --disable-fast-install was given.
3284 if test "${enable_fast_install+set}" = set; then
3285 enableval
="$enable_fast_install"
3286 p
=${PACKAGE-default}
3288 yes) enable_fast_install
=yes ;;
3289 no
) enable_fast_install
=no
;;
3291 enable_fast_install
=no
3292 # Look at the argument we got. We use all the common list separators.
3293 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3294 for pkg
in $enableval; do
3295 if test "X$pkg" = "X$p"; then
3296 enable_fast_install
=yes
3303 enable_fast_install
=yes
3306 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3307 if test "${with_gnu_ld+set}" = set; then
3308 withval
="$with_gnu_ld"
3309 test "$withval" = no || with_gnu_ld
=yes
3314 if test "$GCC" = yes; then
3315 # Check if gcc -print-prog-name=ld gives a path.
3316 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3317 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3320 # gcc leaves a trailing carriage return which upsets mingw
3321 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3323 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3326 # Accept absolute paths.
3327 [\\/]* |
[A-Za-z
]:[\\/]*)
3328 re_direlt
='/[^/][^/]*/\.\./'
3329 # Canonicalize the path of ld
3330 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3331 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3332 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3334 test -z "$LD" && LD
="$ac_prog"
3337 # If it fails, then pretend we aren't using GCC.
3341 # If it is relative, then search for the first ld in PATH.
3345 elif test "$with_gnu_ld" = yes; then
3346 echo "$as_me:$LINENO: checking for GNU ld" >&5
3347 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3349 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3350 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3352 if test "${lt_cv_path_LD+set}" = set; then
3353 echo $ECHO_N "(cached) $ECHO_C" >&6
3355 if test -z "$LD"; then
3356 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3357 for ac_dir
in $PATH; do
3358 test -z "$ac_dir" && ac_dir
=.
3359 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3360 lt_cv_path_LD
="$ac_dir/$ac_prog"
3361 # Check to see if the program is GNU ld. I'd rather use --version,
3362 # but apparently some GNU ld's only accept -v.
3363 # Break only if it was the GNU/non-GNU ld that we prefer.
3364 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3365 test "$with_gnu_ld" != no
&& break
3367 test "$with_gnu_ld" != yes && break
3373 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3378 if test -n "$LD"; then
3379 echo "$as_me:$LINENO: result: $LD" >&5
3380 echo "${ECHO_T}$LD" >&6
3382 echo "$as_me:$LINENO: result: no" >&5
3383 echo "${ECHO_T}no" >&6
3385 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3386 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3387 { (exit 1); exit 1; }; }
3388 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3389 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3390 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3391 echo $ECHO_N "(cached) $ECHO_C" >&6
3393 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3394 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3395 lt_cv_prog_gnu_ld
=yes
3397 lt_cv_prog_gnu_ld
=no
3400 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3401 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3402 with_gnu_ld
=$lt_cv_prog_gnu_ld
3405 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3406 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3407 if test "${lt_cv_ld_reload_flag+set}" = set; then
3408 echo $ECHO_N "(cached) $ECHO_C" >&6
3410 lt_cv_ld_reload_flag
='-r'
3412 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3413 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3414 reload_flag
=$lt_cv_ld_reload_flag
3415 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3417 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3418 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3419 if test "${lt_cv_path_NM+set}" = set; then
3420 echo $ECHO_N "(cached) $ECHO_C" >&6
3422 if test -n "$NM"; then
3423 # Let the user override the test.
3426 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3427 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3428 test -z "$ac_dir" && ac_dir
=.
3429 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3430 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3431 # Check to see if the nm accepts a BSD-compat flag.
3432 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3433 # nm: unknown option "B" ignored
3434 # Tru64's nm complains that /dev/null is an invalid object file
3435 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3436 lt_cv_path_NM
="$tmp_nm -B"
3438 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3439 lt_cv_path_NM
="$tmp_nm -p"
3442 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3443 continue # so that we can try to find one that supports BSD flags
3448 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3453 echo "$as_me:$LINENO: result: $NM" >&5
3454 echo "${ECHO_T}$NM" >&6
3456 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3457 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3459 if test "$LN_S" = "ln -s"; then
3460 echo "$as_me:$LINENO: result: yes" >&5
3461 echo "${ECHO_T}yes" >&6
3463 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3464 echo "${ECHO_T}no, using $LN_S" >&6
3467 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3468 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3469 if test "${lt_cv_deplibs_check_method+set}" = set; then
3470 echo $ECHO_N "(cached) $ECHO_C" >&6
3472 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3473 lt_cv_file_magic_test_file
=
3474 lt_cv_deplibs_check_method
='unknown'
3475 # Need to set the preceding variable on all platforms that support
3476 # interlibrary dependencies.
3477 # 'none' -- dependencies not supported.
3478 # `unknown' -- same as none, but documents that we really don't know.
3479 # 'pass_all' -- all dependencies passed with no checks.
3480 # 'test_compile' -- check by making test program.
3481 # 'file_magic [regex]' -- check by looking for files in library path
3482 # which responds to the $file_magic_cmd with a given egrep regex.
3483 # If you have `file' or equivalent on your system and you're not sure
3484 # whether `pass_all' will *always* work, you probably want this one.
3488 lt_cv_deplibs_check_method
=pass_all
3492 lt_cv_deplibs_check_method
=pass_all
3496 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3497 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3498 lt_cv_file_magic_test_file
=/shlib
/libc.so
3501 cygwin
* | mingw
* |pw32
*)
3502 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3503 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3506 darwin
* | rhapsody
*)
3507 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3508 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3510 rhapsody
* | darwin1.012
)
3511 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3514 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3519 freebsd
* | kfreebsd
*-gnu)
3520 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3523 # Not sure whether the presence of OpenBSD here was a mistake.
3524 # Let's accept both of them until this is cleared up.
3525 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3526 lt_cv_file_magic_cmd
=/usr
/bin
/file
3527 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3531 lt_cv_deplibs_check_method
=pass_all
3536 lt_cv_deplibs_check_method
=pass_all
3542 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3543 lt_cv_file_magic_cmd
=/usr
/bin
/file
3544 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3547 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3548 lt_cv_file_magic_cmd
=/usr
/bin
/file
3549 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3557 # this will be overridden with pass_all, but let us keep it just in case
3558 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3562 *-32|
*"-32 ") libmagic
=32-bit;;
3563 *-n32|
*"-n32 ") libmagic
=N32
;;
3564 *-64|
*"-64 ") libmagic
=64-bit;;
3565 *) libmagic
=never-match
;;
3567 # this will be overridden with pass_all, but let us keep it just in case
3568 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3571 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3572 lt_cv_deplibs_check_method
=pass_all
3575 # This must be Linux ELF.
3578 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
3579 lt_cv_deplibs_check_method
=pass_all
;;
3581 # glibc up to 2.1.1 does not perform some relocations on ARM
3582 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3584 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3587 netbsd
* | knetbsd
*-gnu)
3588 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3589 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3591 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3596 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3597 lt_cv_file_magic_cmd
=/usr
/bin
/file
3598 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3601 osf3
* | osf4
* | osf5
*)
3602 # this will be overridden with pass_all, but let us keep it just in case
3603 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3604 lt_cv_file_magic_test_file
=/shlib
/libc.so
3605 lt_cv_deplibs_check_method
=pass_all
3609 lt_cv_deplibs_check_method
=pass_all
3613 lt_cv_deplibs_check_method
=pass_all
3614 lt_cv_file_magic_test_file
=/lib
/libc.so
3617 sysv5uw
[78]* | sysv4
*uw2
*)
3618 lt_cv_deplibs_check_method
=pass_all
3621 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3622 case $host_vendor in
3624 lt_cv_deplibs_check_method
=pass_all
3627 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]'
3628 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3635 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3636 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3637 file_magic_cmd
=$lt_cv_file_magic_cmd
3638 deplibs_check_method
=$lt_cv_deplibs_check_method
3643 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3645 # Only perform the check for file, if the check method requires it
3646 case $deplibs_check_method in
3648 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3649 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3650 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3651 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3652 echo $ECHO_N "(cached) $ECHO_C" >&6
3656 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3659 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3662 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3663 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3664 ac_dummy
="/usr/bin:$PATH"
3665 for ac_dir
in $ac_dummy; do
3666 test -z "$ac_dir" && ac_dir
=.
3667 if test -f $ac_dir/${ac_tool_prefix}file; then
3668 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3669 if test -n "$file_magic_test_file"; then
3670 case $deplibs_check_method in
3672 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3673 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3674 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3675 egrep "$file_magic_regex" > /dev
/null
; then
3680 *** Warning: the command libtool uses to detect shared libraries,
3681 *** $file_magic_cmd, produces output that libtool cannot recognize.
3682 *** The result is that libtool may fail to recognize shared libraries
3683 *** as such. This will affect the creation of libtool libraries that
3684 *** depend on shared libraries, but programs linked with such libtool
3685 *** libraries will work regardless of this problem. Nevertheless, you
3686 *** may want to report the problem to your system manager and/or to
3687 *** bug-libtool@gnu.org
3697 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3702 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3703 if test -n "$MAGIC_CMD"; then
3704 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3705 echo "${ECHO_T}$MAGIC_CMD" >&6
3707 echo "$as_me:$LINENO: result: no" >&5
3708 echo "${ECHO_T}no" >&6
3711 if test -z "$lt_cv_path_MAGIC_CMD"; then
3712 if test -n "$ac_tool_prefix"; then
3713 echo "$as_me:$LINENO: checking for file" >&5
3714 echo $ECHO_N "checking for file... $ECHO_C" >&6
3715 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3716 echo $ECHO_N "(cached) $ECHO_C" >&6
3720 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3723 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3726 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3727 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3728 ac_dummy
="/usr/bin:$PATH"
3729 for ac_dir
in $ac_dummy; do
3730 test -z "$ac_dir" && ac_dir
=.
3731 if test -f $ac_dir/file; then
3732 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3733 if test -n "$file_magic_test_file"; then
3734 case $deplibs_check_method in
3736 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3737 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3738 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3739 egrep "$file_magic_regex" > /dev
/null
; then
3744 *** Warning: the command libtool uses to detect shared libraries,
3745 *** $file_magic_cmd, produces output that libtool cannot recognize.
3746 *** The result is that libtool may fail to recognize shared libraries
3747 *** as such. This will affect the creation of libtool libraries that
3748 *** depend on shared libraries, but programs linked with such libtool
3749 *** libraries will work regardless of this problem. Nevertheless, you
3750 *** may want to report the problem to your system manager and/or to
3751 *** bug-libtool@gnu.org
3761 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3766 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3767 if test -n "$MAGIC_CMD"; then
3768 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3769 echo "${ECHO_T}$MAGIC_CMD" >&6
3771 echo "$as_me:$LINENO: result: no" >&5
3772 echo "${ECHO_T}no" >&6
3784 if test -n "$ac_tool_prefix"; then
3785 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3786 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3787 echo "$as_me:$LINENO: checking for $ac_word" >&5
3788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3789 if test "${ac_cv_prog_RANLIB+set}" = set; then
3790 echo $ECHO_N "(cached) $ECHO_C" >&6
3792 if test -n "$RANLIB"; then
3793 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3799 test -z "$as_dir" && as_dir
=.
3800 for ac_exec_ext
in '' $ac_executable_extensions; do
3801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3802 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3811 RANLIB
=$ac_cv_prog_RANLIB
3812 if test -n "$RANLIB"; then
3813 echo "$as_me:$LINENO: result: $RANLIB" >&5
3814 echo "${ECHO_T}$RANLIB" >&6
3816 echo "$as_me:$LINENO: result: no" >&5
3817 echo "${ECHO_T}no" >&6
3821 if test -z "$ac_cv_prog_RANLIB"; then
3822 ac_ct_RANLIB
=$RANLIB
3823 # Extract the first word of "ranlib", so it can be a program name with args.
3824 set dummy ranlib
; ac_word
=$2
3825 echo "$as_me:$LINENO: checking for $ac_word" >&5
3826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3827 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3828 echo $ECHO_N "(cached) $ECHO_C" >&6
3830 if test -n "$ac_ct_RANLIB"; then
3831 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3837 test -z "$as_dir" && as_dir
=.
3838 for ac_exec_ext
in '' $ac_executable_extensions; do
3839 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3840 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3847 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3850 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3851 if test -n "$ac_ct_RANLIB"; then
3852 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3853 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3855 echo "$as_me:$LINENO: result: no" >&5
3856 echo "${ECHO_T}no" >&6
3859 RANLIB
=$ac_ct_RANLIB
3861 RANLIB
="$ac_cv_prog_RANLIB"
3864 if test -n "$ac_tool_prefix"; then
3865 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3866 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3867 echo "$as_me:$LINENO: checking for $ac_word" >&5
3868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3869 if test "${ac_cv_prog_STRIP+set}" = set; then
3870 echo $ECHO_N "(cached) $ECHO_C" >&6
3872 if test -n "$STRIP"; then
3873 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3879 test -z "$as_dir" && as_dir
=.
3880 for ac_exec_ext
in '' $ac_executable_extensions; do
3881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3882 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3891 STRIP
=$ac_cv_prog_STRIP
3892 if test -n "$STRIP"; then
3893 echo "$as_me:$LINENO: result: $STRIP" >&5
3894 echo "${ECHO_T}$STRIP" >&6
3896 echo "$as_me:$LINENO: result: no" >&5
3897 echo "${ECHO_T}no" >&6
3901 if test -z "$ac_cv_prog_STRIP"; then
3903 # Extract the first word of "strip", so it can be a program name with args.
3904 set dummy strip
; ac_word
=$2
3905 echo "$as_me:$LINENO: checking for $ac_word" >&5
3906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3907 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3908 echo $ECHO_N "(cached) $ECHO_C" >&6
3910 if test -n "$ac_ct_STRIP"; then
3911 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3917 test -z "$as_dir" && as_dir
=.
3918 for ac_exec_ext
in '' $ac_executable_extensions; do
3919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3920 ac_cv_prog_ac_ct_STRIP
="strip"
3921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3927 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3930 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3931 if test -n "$ac_ct_STRIP"; then
3932 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3933 echo "${ECHO_T}$ac_ct_STRIP" >&6
3935 echo "$as_me:$LINENO: result: no" >&5
3936 echo "${ECHO_T}no" >&6
3941 STRIP
="$ac_cv_prog_STRIP"
3945 # Check for any special flags to pass to ltconfig.
3946 libtool_flags
="--cache-file=$cache_file"
3947 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3948 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3949 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3950 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3951 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3954 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3955 if test "${enable_libtool_lock+set}" = set; then
3956 enableval
="$enable_libtool_lock"
3959 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3960 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3963 # Check whether --with-pic or --without-pic was given.
3964 if test "${with_pic+set}" = set; then
3970 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3971 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3973 # Some flags need to be propagated to the compiler or linker for good
3977 # Find out which ABI we are using.
3978 echo '#line 3978 "configure"' > conftest.
$ac_ext
3979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3980 (eval $ac_compile) 2>&5
3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 (exit $ac_status); }; then
3984 if test "$lt_cv_prog_gnu_ld" = yes; then
3985 case `/usr/bin/file conftest.$ac_objext` in
3987 LD
="${LD-ld} -melf32bsmip"
3990 LD
="${LD-ld} -melf32bmipn32"
3993 LD
="${LD-ld} -melf64bmip"
3997 case `/usr/bin/file conftest.$ac_objext` in
4014 # Find out which ABI we are using.
4015 echo 'int i;' > conftest.
$ac_ext
4016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4017 (eval $ac_compile) 2>&5
4019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4020 (exit $ac_status); }; then
4021 case "`/usr/bin/file conftest.o`" in
4034 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4035 SAVE_CFLAGS
="$CFLAGS"
4036 CFLAGS
="$CFLAGS -belf"
4037 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4038 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4039 if test "${lt_cv_cc_needs_belf+set}" = set; then
4040 echo $ECHO_N "(cached) $ECHO_C" >&6
4045 ac_cpp
='$CPP $CPPFLAGS'
4046 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4047 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4048 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4050 cat >conftest.
$ac_ext <<_ACEOF
4053 cat confdefs.h
>>conftest.
$ac_ext
4054 cat >>conftest.
$ac_ext <<_ACEOF
4055 /* end confdefs.h. */
4065 rm -f conftest.
$ac_objext conftest
$ac_exeext
4066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4067 (eval $ac_link) 2>conftest.er1
4069 grep -v '^ *+' conftest.er1
>conftest.err
4071 cat conftest.err
>&5
4072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4073 (exit $ac_status); } &&
4074 { ac_try
='test -z "$ac_c_werror_flag"
4075 || test ! -s conftest.err'
4076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080 (exit $ac_status); }; } &&
4081 { ac_try
='test -s conftest$ac_exeext'
4082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); }; }; then
4087 lt_cv_cc_needs_belf
=yes
4089 echo "$as_me: failed program was:" >&5
4090 sed 's/^/| /' conftest.
$ac_ext >&5
4092 lt_cv_cc_needs_belf
=no
4094 rm -f conftest.err conftest.
$ac_objext \
4095 conftest
$ac_exeext conftest.
$ac_ext
4097 ac_cpp
='$CPP $CPPFLAGS'
4098 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4099 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4100 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4103 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4104 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4105 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4106 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4107 CFLAGS
="$SAVE_CFLAGS"
4115 # Save cache, so that ltconfig can load it
4116 cat >confcache
<<\_ACEOF
4117 # This file is a shell script that caches the results of configure
4118 # tests run on this system so they can be shared between configure
4119 # scripts and configure runs, see configure's option --config-cache.
4120 # It is not useful on other systems. If it contains results you don't
4121 # want to keep, you may remove or edit it.
4123 # config.status only pays attention to the cache file if you give it
4124 # the --recheck option to rerun configure.
4126 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4127 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4132 # The following way of writing the cache mishandles newlines in values,
4133 # but we know of no workaround that is simple, portable, and efficient.
4134 # So, don't put newlines in cache variables' values.
4135 # Ultrix sh set writes to stderr and can't be redirected directly,
4136 # and sets the high bit in the cache file unless we assign to the vars.
4139 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4141 # `set' does not quote correctly, so add quotes (double-quote
4142 # substitution turns \\\\ into \\, and sed turns \\ into \).
4145 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4148 # `set' quotes correctly as required by POSIX, so do not add quotes.
4150 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4157 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4159 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4161 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4162 if test -w $cache_file; then
4163 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4164 cat confcache
>$cache_file
4166 echo "not updating unwritable cache $cache_file"
4171 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4172 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4173 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4174 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4175 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4176 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4177 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4178 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4179 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4180 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4181 echo "$as_me: error: libtool configure failed" >&2;}
4182 { (exit 1); exit 1; }; }
4184 # Reload cache, that may have been modified by ltconfig
4185 if test -r "$cache_file"; then
4186 # Some versions of bash will fail to source /dev/null (special
4187 # files actually), so we avoid doing that.
4188 if test -f "$cache_file"; then
4189 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4190 echo "$as_me: loading cache $cache_file" >&6;}
4192 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4193 *) . .
/$cache_file;;
4197 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4198 echo "$as_me: creating cache $cache_file" >&6;}
4203 # This can be used to rebuild libtool when needed
4204 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4206 # Always use our own libtool.
4207 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4209 # Redirect the config.log output again, so that the ltconfig log is not
4210 # clobbered by the next message.
4211 exec 5>>.
/config.log
4219 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
4220 if test "${enable_64_bit_bfd+set}" = set; then
4221 enableval
="$enable_64_bit_bfd"
4222 case "${enableval}" in
4225 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
4226 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
4227 { (exit 1); exit 1; }; } ;;
4231 fi; # Check whether --enable-targets or --disable-targets was given.
4232 if test "${enable_targets+set}" = set; then
4233 enableval
="$enable_targets"
4234 case "${enableval}" in
4235 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
4236 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
4237 { (exit 1); exit 1; }; }
4239 no
) enable_targets
= ;;
4240 *) enable_targets
=$enableval ;;
4242 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
4243 if test "${enable_commonbfdlib+set}" = set; then
4244 enableval
="$enable_commonbfdlib"
4245 case "${enableval}" in
4246 yes) commonbfdlib
=true
;;
4247 no
) commonbfdlib
=false
;;
4248 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
4249 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
4250 { (exit 1); exit 1; }; } ;;
4253 # Check whether --with-mmap or --without-mmap was given.
4254 if test "${with_mmap+set}" = set; then
4255 withval
="$with_mmap"
4256 case "${withval}" in
4257 yes) want_mmap
=true
;;
4258 no
) want_mmap
=false
;;
4259 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
4260 echo "$as_me: error: bad value ${withval} for BFD with-mmap option" >&2;}
4261 { (exit 1); exit 1; }; } ;;
4267 WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4269 # Check whether --enable-werror or --disable-werror was given.
4270 if test "${enable_werror+set}" = set; then
4271 enableval
="$enable_werror"
4272 case "${enableval}" in
4273 yes | y
) ERROR_ON_WARNING
="yes" ;;
4274 no | n
) ERROR_ON_WARNING
="no" ;;
4275 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4276 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4277 { (exit 1); exit 1; }; } ;;
4281 # Enable -Werror by default when using gcc
4282 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4283 ERROR_ON_WARNING
=yes
4287 if test "${ERROR_ON_WARNING}" = yes ; then
4288 WARN_CFLAGS
="$WARN_CFLAGS -Werror"
4289 NO_WERROR
="-Wno-error"
4292 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4293 if test "${enable_build_warnings+set}" = set; then
4294 enableval
="$enable_build_warnings"
4295 case "${enableval}" in
4297 no
) WARN_CFLAGS
="-w";;
4298 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4299 WARN_CFLAGS
="${WARN_CFLAGS} ${t}";;
4300 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4301 WARN_CFLAGS
="${t} ${WARN_CFLAGS}";;
4302 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4306 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4307 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4314 ac_config_headers
="$ac_config_headers config.h:config.in"
4317 if test -z "$target" ; then
4318 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
4319 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
4320 { (exit 1); exit 1; }; }
4323 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4324 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4325 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4326 if test "${enable_maintainer_mode+set}" = set; then
4327 enableval
="$enable_maintainer_mode"
4328 USE_MAINTAINER_MODE
=$enableval
4330 USE_MAINTAINER_MODE
=no
4332 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4333 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4336 if test $USE_MAINTAINER_MODE = yes; then
4337 MAINTAINER_MODE_TRUE
=
4338 MAINTAINER_MODE_FALSE
='#'
4340 MAINTAINER_MODE_TRUE
='#'
4341 MAINTAINER_MODE_FALSE
=
4344 MAINT
=$MAINTAINER_MODE_TRUE
4347 case ${build_alias} in
4348 "") build_noncanonical
=${build} ;;
4349 *) build_noncanonical
=${build_alias} ;;
4352 case ${host_alias} in
4353 "") host_noncanonical
=${build_noncanonical} ;;
4354 *) host_noncanonical
=${host_alias} ;;
4357 case ${target_alias} in
4358 "") target_noncanonical
=${host_noncanonical} ;;
4359 *) target_noncanonical
=${target_alias} ;;
4362 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
4363 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
4364 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
4365 if test "${enable_install_libbfd+set}" = set; then
4366 enableval
="$enable_install_libbfd"
4367 install_libbfd_p
=$enableval
4369 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
4370 install_libbfd_p
=yes
4375 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
4376 echo "${ECHO_T}$install_libbfd_p" >&6
4379 if test $install_libbfd_p = yes; then
4380 INSTALL_LIBBFD_TRUE
=
4381 INSTALL_LIBBFD_FALSE
='#'
4383 INSTALL_LIBBFD_TRUE
='#'
4384 INSTALL_LIBBFD_FALSE
=
4387 # Need _noncanonical variables for this.
4392 # libbfd.a is a host library containing target dependent code
4393 bfdlibdir
='$(libdir)'
4394 bfdincludedir
='$(includedir)'
4395 if test "${host}" != "${target}"; then
4396 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
4397 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
4407 bfd_default_target_size
=32
4412 ac_cpp
='$CPP $CPPFLAGS'
4413 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4414 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4415 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4416 if test -n "$ac_tool_prefix"; then
4417 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4418 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4419 echo "$as_me:$LINENO: checking for $ac_word" >&5
4420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4421 if test "${ac_cv_prog_CC+set}" = set; then
4422 echo $ECHO_N "(cached) $ECHO_C" >&6
4424 if test -n "$CC"; then
4425 ac_cv_prog_CC
="$CC" # Let the user override the test.
4427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4431 test -z "$as_dir" && as_dir
=.
4432 for ac_exec_ext
in '' $ac_executable_extensions; do
4433 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4434 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4444 if test -n "$CC"; then
4445 echo "$as_me:$LINENO: result: $CC" >&5
4446 echo "${ECHO_T}$CC" >&6
4448 echo "$as_me:$LINENO: result: no" >&5
4449 echo "${ECHO_T}no" >&6
4453 if test -z "$ac_cv_prog_CC"; then
4455 # Extract the first word of "gcc", so it can be a program name with args.
4456 set dummy gcc
; ac_word
=$2
4457 echo "$as_me:$LINENO: checking for $ac_word" >&5
4458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4459 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4460 echo $ECHO_N "(cached) $ECHO_C" >&6
4462 if test -n "$ac_ct_CC"; then
4463 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4469 test -z "$as_dir" && as_dir
=.
4470 for ac_exec_ext
in '' $ac_executable_extensions; do
4471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4472 ac_cv_prog_ac_ct_CC
="gcc"
4473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4481 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4482 if test -n "$ac_ct_CC"; then
4483 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4484 echo "${ECHO_T}$ac_ct_CC" >&6
4486 echo "$as_me:$LINENO: result: no" >&5
4487 echo "${ECHO_T}no" >&6
4495 if test -z "$CC"; then
4496 if test -n "$ac_tool_prefix"; then
4497 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4498 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4499 echo "$as_me:$LINENO: checking for $ac_word" >&5
4500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4501 if test "${ac_cv_prog_CC+set}" = set; then
4502 echo $ECHO_N "(cached) $ECHO_C" >&6
4504 if test -n "$CC"; then
4505 ac_cv_prog_CC
="$CC" # Let the user override the test.
4507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4511 test -z "$as_dir" && as_dir
=.
4512 for ac_exec_ext
in '' $ac_executable_extensions; do
4513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4514 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4524 if test -n "$CC"; then
4525 echo "$as_me:$LINENO: result: $CC" >&5
4526 echo "${ECHO_T}$CC" >&6
4528 echo "$as_me:$LINENO: result: no" >&5
4529 echo "${ECHO_T}no" >&6
4533 if test -z "$ac_cv_prog_CC"; then
4535 # Extract the first word of "cc", so it can be a program name with args.
4536 set dummy cc
; ac_word
=$2
4537 echo "$as_me:$LINENO: checking for $ac_word" >&5
4538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4539 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4540 echo $ECHO_N "(cached) $ECHO_C" >&6
4542 if test -n "$ac_ct_CC"; then
4543 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4549 test -z "$as_dir" && as_dir
=.
4550 for ac_exec_ext
in '' $ac_executable_extensions; do
4551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4552 ac_cv_prog_ac_ct_CC
="cc"
4553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4562 if test -n "$ac_ct_CC"; then
4563 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4564 echo "${ECHO_T}$ac_ct_CC" >&6
4566 echo "$as_me:$LINENO: result: no" >&5
4567 echo "${ECHO_T}no" >&6
4576 if test -z "$CC"; then
4577 # Extract the first word of "cc", so it can be a program name with args.
4578 set dummy cc
; ac_word
=$2
4579 echo "$as_me:$LINENO: checking for $ac_word" >&5
4580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4581 if test "${ac_cv_prog_CC+set}" = set; then
4582 echo $ECHO_N "(cached) $ECHO_C" >&6
4584 if test -n "$CC"; then
4585 ac_cv_prog_CC
="$CC" # Let the user override the test.
4588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4592 test -z "$as_dir" && as_dir
=.
4593 for ac_exec_ext
in '' $ac_executable_extensions; do
4594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4595 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4596 ac_prog_rejected
=yes
4600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4606 if test $ac_prog_rejected = yes; then
4607 # We found a bogon in the path, so make sure we never use it.
4608 set dummy
$ac_cv_prog_CC
4610 if test $# != 0; then
4611 # We chose a different compiler from the bogus one.
4612 # However, it has the same basename, so the bogon will be chosen
4613 # first if we set CC to just the basename; use the full file name.
4615 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4621 if test -n "$CC"; then
4622 echo "$as_me:$LINENO: result: $CC" >&5
4623 echo "${ECHO_T}$CC" >&6
4625 echo "$as_me:$LINENO: result: no" >&5
4626 echo "${ECHO_T}no" >&6
4630 if test -z "$CC"; then
4631 if test -n "$ac_tool_prefix"; then
4634 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4635 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4636 echo "$as_me:$LINENO: checking for $ac_word" >&5
4637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4638 if test "${ac_cv_prog_CC+set}" = set; then
4639 echo $ECHO_N "(cached) $ECHO_C" >&6
4641 if test -n "$CC"; then
4642 ac_cv_prog_CC
="$CC" # Let the user override the test.
4644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4648 test -z "$as_dir" && as_dir
=.
4649 for ac_exec_ext
in '' $ac_executable_extensions; do
4650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4651 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4661 if test -n "$CC"; then
4662 echo "$as_me:$LINENO: result: $CC" >&5
4663 echo "${ECHO_T}$CC" >&6
4665 echo "$as_me:$LINENO: result: no" >&5
4666 echo "${ECHO_T}no" >&6
4669 test -n "$CC" && break
4672 if test -z "$CC"; then
4676 # Extract the first word of "$ac_prog", so it can be a program name with args.
4677 set dummy
$ac_prog; ac_word
=$2
4678 echo "$as_me:$LINENO: checking for $ac_word" >&5
4679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4680 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4681 echo $ECHO_N "(cached) $ECHO_C" >&6
4683 if test -n "$ac_ct_CC"; then
4684 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4690 test -z "$as_dir" && as_dir
=.
4691 for ac_exec_ext
in '' $ac_executable_extensions; do
4692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4693 ac_cv_prog_ac_ct_CC
="$ac_prog"
4694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4702 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4703 if test -n "$ac_ct_CC"; then
4704 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4705 echo "${ECHO_T}$ac_ct_CC" >&6
4707 echo "$as_me:$LINENO: result: no" >&5
4708 echo "${ECHO_T}no" >&6
4711 test -n "$ac_ct_CC" && break
4720 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4721 See \`config.log' for more details." >&5
4722 echo "$as_me: error: no acceptable C compiler found in \$PATH
4723 See \`config.log' for more details." >&2;}
4724 { (exit 1); exit 1; }; }
4726 # Provide some information about the compiler.
4727 echo "$as_me:$LINENO:" \
4728 "checking for C compiler version" >&5
4729 ac_compiler
=`set X $ac_compile; echo $2`
4730 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4731 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4734 (exit $ac_status); }
4735 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4736 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); }
4740 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4741 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); }
4746 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4747 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4748 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4749 echo $ECHO_N "(cached) $ECHO_C" >&6
4751 cat >conftest.
$ac_ext <<_ACEOF
4754 cat confdefs.h
>>conftest.
$ac_ext
4755 cat >>conftest.
$ac_ext <<_ACEOF
4756 /* end confdefs.h. */
4769 rm -f conftest.
$ac_objext
4770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4771 (eval $ac_compile) 2>conftest.er1
4773 grep -v '^ *+' conftest.er1
>conftest.err
4775 cat conftest.err
>&5
4776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4777 (exit $ac_status); } &&
4778 { ac_try
='test -z "$ac_c_werror_flag"
4779 || test ! -s conftest.err'
4780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); }; } &&
4785 { ac_try
='test -s conftest.$ac_objext'
4786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); }; }; then
4793 echo "$as_me: failed program was:" >&5
4794 sed 's/^/| /' conftest.
$ac_ext >&5
4798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4799 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4802 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4803 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4804 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4805 ac_test_CFLAGS
=${CFLAGS+set}
4806 ac_save_CFLAGS
=$CFLAGS
4808 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4809 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4810 if test "${ac_cv_prog_cc_g+set}" = set; then
4811 echo $ECHO_N "(cached) $ECHO_C" >&6
4813 cat >conftest.
$ac_ext <<_ACEOF
4816 cat confdefs.h
>>conftest.
$ac_ext
4817 cat >>conftest.
$ac_ext <<_ACEOF
4818 /* end confdefs.h. */
4828 rm -f conftest.
$ac_objext
4829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4830 (eval $ac_compile) 2>conftest.er1
4832 grep -v '^ *+' conftest.er1
>conftest.err
4834 cat conftest.err
>&5
4835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836 (exit $ac_status); } &&
4837 { ac_try
='test -z "$ac_c_werror_flag"
4838 || test ! -s conftest.err'
4839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); }; } &&
4844 { ac_try
='test -s conftest.$ac_objext'
4845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); }; }; then
4852 echo "$as_me: failed program was:" >&5
4853 sed 's/^/| /' conftest.
$ac_ext >&5
4857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4859 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4860 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4861 if test "$ac_test_CFLAGS" = set; then
4862 CFLAGS
=$ac_save_CFLAGS
4863 elif test $ac_cv_prog_cc_g = yes; then
4864 if test "$GCC" = yes; then
4870 if test "$GCC" = yes; then
4876 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4877 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4878 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4879 echo $ECHO_N "(cached) $ECHO_C" >&6
4881 ac_cv_prog_cc_stdc
=no
4883 cat >conftest.
$ac_ext <<_ACEOF
4886 cat confdefs.h
>>conftest.
$ac_ext
4887 cat >>conftest.
$ac_ext <<_ACEOF
4888 /* end confdefs.h. */
4891 #include <sys/types.h>
4892 #include <sys/stat.h>
4893 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4894 struct buf { int x; };
4895 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4896 static char *e (p, i)
4902 static char *f (char * (*g) (char **, int), char **p, ...)
4907 s = g (p, va_arg (v,int));
4912 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4913 function prototypes and stuff, but not '\xHH' hex character constants.
4914 These don't provoke an error unfortunately, instead are silently treated
4915 as 'x'. The following induces an error, until -std1 is added to get
4916 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4917 array size at least. It's necessary to write '\x00'==0 to get something
4918 that's true only with -std1. */
4919 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4921 int test (int i, double x);
4922 struct s1 {int (*f) (int a);};
4923 struct s2 {int (*f) (double a);};
4924 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4930 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4935 # Don't try gcc -ansi; that turns off useful extensions and
4936 # breaks some systems' header files.
4937 # AIX -qlanglvl=ansi
4938 # Ultrix and OSF/1 -std1
4939 # HP-UX 10.20 and later -Ae
4940 # HP-UX older versions -Aa -D_HPUX_SOURCE
4941 # SVR4 -Xc -D__EXTENSIONS__
4942 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4944 CC
="$ac_save_CC $ac_arg"
4945 rm -f conftest.
$ac_objext
4946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4947 (eval $ac_compile) 2>conftest.er1
4949 grep -v '^ *+' conftest.er1
>conftest.err
4951 cat conftest.err
>&5
4952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953 (exit $ac_status); } &&
4954 { ac_try
='test -z "$ac_c_werror_flag"
4955 || test ! -s conftest.err'
4956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); }; } &&
4961 { ac_try
='test -s conftest.$ac_objext'
4962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); }; }; then
4967 ac_cv_prog_cc_stdc
=$ac_arg
4970 echo "$as_me: failed program was:" >&5
4971 sed 's/^/| /' conftest.
$ac_ext >&5
4974 rm -f conftest.err conftest.
$ac_objext
4976 rm -f conftest.
$ac_ext conftest.
$ac_objext
4981 case "x$ac_cv_prog_cc_stdc" in
4983 echo "$as_me:$LINENO: result: none needed" >&5
4984 echo "${ECHO_T}none needed" >&6 ;;
4986 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4987 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4988 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4991 # Some people use a C++ compiler to compile C. Since we use `exit',
4992 # in C++ we need to declare it. In case someone uses the same compiler
4993 # for both compiling C and C++ we need to have the C++ compiler decide
4994 # the declaration of exit, since it's the most demanding environment.
4995 cat >conftest.
$ac_ext <<_ACEOF
5000 rm -f conftest.
$ac_objext
5001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5002 (eval $ac_compile) 2>conftest.er1
5004 grep -v '^ *+' conftest.er1
>conftest.err
5006 cat conftest.err
>&5
5007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5008 (exit $ac_status); } &&
5009 { ac_try
='test -z "$ac_c_werror_flag"
5010 || test ! -s conftest.err'
5011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); }; } &&
5016 { ac_try
='test -s conftest.$ac_objext'
5017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021 (exit $ac_status); }; }; then
5022 for ac_declaration
in \
5024 'extern "C" void std::exit (int) throw (); using std::exit;' \
5025 'extern "C" void std::exit (int); using std::exit;' \
5026 'extern "C" void exit (int) throw ();' \
5027 'extern "C" void exit (int);' \
5030 cat >conftest.
$ac_ext <<_ACEOF
5033 cat confdefs.h
>>conftest.
$ac_ext
5034 cat >>conftest.
$ac_ext <<_ACEOF
5035 /* end confdefs.h. */
5046 rm -f conftest.
$ac_objext
5047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5048 (eval $ac_compile) 2>conftest.er1
5050 grep -v '^ *+' conftest.er1
>conftest.err
5052 cat conftest.err
>&5
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); } &&
5055 { ac_try
='test -z "$ac_c_werror_flag"
5056 || test ! -s conftest.err'
5057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061 (exit $ac_status); }; } &&
5062 { ac_try
='test -s conftest.$ac_objext'
5063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5067 (exit $ac_status); }; }; then
5070 echo "$as_me: failed program was:" >&5
5071 sed 's/^/| /' conftest.
$ac_ext >&5
5075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5076 cat >conftest.
$ac_ext <<_ACEOF
5079 cat confdefs.h
>>conftest.
$ac_ext
5080 cat >>conftest.
$ac_ext <<_ACEOF
5081 /* end confdefs.h. */
5091 rm -f conftest.
$ac_objext
5092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5093 (eval $ac_compile) 2>conftest.er1
5095 grep -v '^ *+' conftest.er1
>conftest.err
5097 cat conftest.err
>&5
5098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5099 (exit $ac_status); } &&
5100 { ac_try
='test -z "$ac_c_werror_flag"
5101 || test ! -s conftest.err'
5102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106 (exit $ac_status); }; } &&
5107 { ac_try
='test -s conftest.$ac_objext'
5108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); }; }; then
5115 echo "$as_me: failed program was:" >&5
5116 sed 's/^/| /' conftest.
$ac_ext >&5
5119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5122 if test -n "$ac_declaration"; then
5123 echo '#ifdef __cplusplus' >>confdefs.h
5124 echo $ac_declaration >>confdefs.h
5125 echo '#endif' >>confdefs.h
5129 echo "$as_me: failed program was:" >&5
5130 sed 's/^/| /' conftest.
$ac_ext >&5
5133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5135 ac_cpp
='$CPP $CPPFLAGS'
5136 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5137 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5138 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5141 ALL_LINGUAS
="fr tr ja es sv da zh_CN ro rw"
5142 if test -n "$ac_tool_prefix"; then
5143 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5144 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5145 echo "$as_me:$LINENO: checking for $ac_word" >&5
5146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5147 if test "${ac_cv_prog_RANLIB+set}" = set; then
5148 echo $ECHO_N "(cached) $ECHO_C" >&6
5150 if test -n "$RANLIB"; then
5151 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5157 test -z "$as_dir" && as_dir
=.
5158 for ac_exec_ext
in '' $ac_executable_extensions; do
5159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5160 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5169 RANLIB
=$ac_cv_prog_RANLIB
5170 if test -n "$RANLIB"; then
5171 echo "$as_me:$LINENO: result: $RANLIB" >&5
5172 echo "${ECHO_T}$RANLIB" >&6
5174 echo "$as_me:$LINENO: result: no" >&5
5175 echo "${ECHO_T}no" >&6
5179 if test -z "$ac_cv_prog_RANLIB"; then
5180 ac_ct_RANLIB
=$RANLIB
5181 # Extract the first word of "ranlib", so it can be a program name with args.
5182 set dummy ranlib
; ac_word
=$2
5183 echo "$as_me:$LINENO: checking for $ac_word" >&5
5184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5185 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5186 echo $ECHO_N "(cached) $ECHO_C" >&6
5188 if test -n "$ac_ct_RANLIB"; then
5189 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5195 test -z "$as_dir" && as_dir
=.
5196 for ac_exec_ext
in '' $ac_executable_extensions; do
5197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5198 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5205 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5208 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5209 if test -n "$ac_ct_RANLIB"; then
5210 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5211 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5213 echo "$as_me:$LINENO: result: no" >&5
5214 echo "${ECHO_T}no" >&6
5217 RANLIB
=$ac_ct_RANLIB
5219 RANLIB
="$ac_cv_prog_RANLIB"
5223 ac_cpp
='$CPP $CPPFLAGS'
5224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5227 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5228 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5229 # On Suns, sometimes $CPP names a directory.
5230 if test -n "$CPP" && test -d "$CPP"; then
5233 if test -z "$CPP"; then
5234 if test "${ac_cv_prog_CPP+set}" = set; then
5235 echo $ECHO_N "(cached) $ECHO_C" >&6
5237 # Double quotes because CPP needs to be expanded
5238 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5241 for ac_c_preproc_warn_flag
in '' yes
5243 # Use a header file that comes with gcc, so configuring glibc
5244 # with a fresh cross-compiler works.
5245 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5246 # <limits.h> exists even on freestanding compilers.
5247 # On the NeXT, cc -E runs the code through the compiler's parser,
5248 # not just through cpp. "Syntax error" is here to catch this case.
5249 cat >conftest.
$ac_ext <<_ACEOF
5252 cat confdefs.h
>>conftest.
$ac_ext
5253 cat >>conftest.
$ac_ext <<_ACEOF
5254 /* end confdefs.h. */
5256 # include <limits.h>
5258 # include <assert.h>
5262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5263 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5265 grep -v '^ *+' conftest.er1
>conftest.err
5267 cat conftest.err
>&5
5268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5269 (exit $ac_status); } >/dev
/null
; then
5270 if test -s conftest.err
; then
5271 ac_cpp_err
=$ac_c_preproc_warn_flag
5272 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5279 if test -z "$ac_cpp_err"; then
5282 echo "$as_me: failed program was:" >&5
5283 sed 's/^/| /' conftest.
$ac_ext >&5
5285 # Broken: fails on valid input.
5288 rm -f conftest.err conftest.
$ac_ext
5290 # OK, works on sane cases. Now check whether non-existent headers
5291 # can be detected and how.
5292 cat >conftest.
$ac_ext <<_ACEOF
5295 cat confdefs.h
>>conftest.
$ac_ext
5296 cat >>conftest.
$ac_ext <<_ACEOF
5297 /* end confdefs.h. */
5298 #include <ac_nonexistent.h>
5300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5301 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5303 grep -v '^ *+' conftest.er1
>conftest.err
5305 cat conftest.err
>&5
5306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5307 (exit $ac_status); } >/dev
/null
; then
5308 if test -s conftest.err
; then
5309 ac_cpp_err
=$ac_c_preproc_warn_flag
5310 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5317 if test -z "$ac_cpp_err"; then
5318 # Broken: success on invalid input.
5321 echo "$as_me: failed program was:" >&5
5322 sed 's/^/| /' conftest.
$ac_ext >&5
5324 # Passes both tests.
5328 rm -f conftest.err conftest.
$ac_ext
5331 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5332 rm -f conftest.err conftest.
$ac_ext
5333 if $ac_preproc_ok; then
5345 echo "$as_me:$LINENO: result: $CPP" >&5
5346 echo "${ECHO_T}$CPP" >&6
5348 for ac_c_preproc_warn_flag
in '' yes
5350 # Use a header file that comes with gcc, so configuring glibc
5351 # with a fresh cross-compiler works.
5352 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5353 # <limits.h> exists even on freestanding compilers.
5354 # On the NeXT, cc -E runs the code through the compiler's parser,
5355 # not just through cpp. "Syntax error" is here to catch this case.
5356 cat >conftest.
$ac_ext <<_ACEOF
5359 cat confdefs.h
>>conftest.
$ac_ext
5360 cat >>conftest.
$ac_ext <<_ACEOF
5361 /* end confdefs.h. */
5363 # include <limits.h>
5365 # include <assert.h>
5369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5370 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5372 grep -v '^ *+' conftest.er1
>conftest.err
5374 cat conftest.err
>&5
5375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376 (exit $ac_status); } >/dev
/null
; then
5377 if test -s conftest.err
; then
5378 ac_cpp_err
=$ac_c_preproc_warn_flag
5379 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5386 if test -z "$ac_cpp_err"; then
5389 echo "$as_me: failed program was:" >&5
5390 sed 's/^/| /' conftest.
$ac_ext >&5
5392 # Broken: fails on valid input.
5395 rm -f conftest.err conftest.
$ac_ext
5397 # OK, works on sane cases. Now check whether non-existent headers
5398 # can be detected and how.
5399 cat >conftest.
$ac_ext <<_ACEOF
5402 cat confdefs.h
>>conftest.
$ac_ext
5403 cat >>conftest.
$ac_ext <<_ACEOF
5404 /* end confdefs.h. */
5405 #include <ac_nonexistent.h>
5407 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5408 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5410 grep -v '^ *+' conftest.er1
>conftest.err
5412 cat conftest.err
>&5
5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414 (exit $ac_status); } >/dev
/null
; then
5415 if test -s conftest.err
; then
5416 ac_cpp_err
=$ac_c_preproc_warn_flag
5417 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5424 if test -z "$ac_cpp_err"; then
5425 # Broken: success on invalid input.
5428 echo "$as_me: failed program was:" >&5
5429 sed 's/^/| /' conftest.
$ac_ext >&5
5431 # Passes both tests.
5435 rm -f conftest.err conftest.
$ac_ext
5438 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5439 rm -f conftest.err conftest.
$ac_ext
5440 if $ac_preproc_ok; then
5443 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5444 See \`config.log' for more details." >&5
5445 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5446 See \`config.log' for more details." >&2;}
5447 { (exit 1); exit 1; }; }
5451 ac_cpp
='$CPP $CPPFLAGS'
5452 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5453 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5454 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5457 echo "$as_me:$LINENO: checking for egrep" >&5
5458 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5459 if test "${ac_cv_prog_egrep+set}" = set; then
5460 echo $ECHO_N "(cached) $ECHO_C" >&6
5462 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5463 then ac_cv_prog_egrep
='grep -E'
5464 else ac_cv_prog_egrep
='egrep'
5467 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5468 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5469 EGREP
=$ac_cv_prog_egrep
5472 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5473 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5474 if test "${ac_cv_header_stdc+set}" = set; then
5475 echo $ECHO_N "(cached) $ECHO_C" >&6
5477 cat >conftest.
$ac_ext <<_ACEOF
5480 cat confdefs.h
>>conftest.
$ac_ext
5481 cat >>conftest.
$ac_ext <<_ACEOF
5482 /* end confdefs.h. */
5496 rm -f conftest.
$ac_objext
5497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5498 (eval $ac_compile) 2>conftest.er1
5500 grep -v '^ *+' conftest.er1
>conftest.err
5502 cat conftest.err
>&5
5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504 (exit $ac_status); } &&
5505 { ac_try
='test -z "$ac_c_werror_flag"
5506 || test ! -s conftest.err'
5507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5511 (exit $ac_status); }; } &&
5512 { ac_try
='test -s conftest.$ac_objext'
5513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5517 (exit $ac_status); }; }; then
5518 ac_cv_header_stdc
=yes
5520 echo "$as_me: failed program was:" >&5
5521 sed 's/^/| /' conftest.
$ac_ext >&5
5523 ac_cv_header_stdc
=no
5525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5527 if test $ac_cv_header_stdc = yes; then
5528 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5529 cat >conftest.
$ac_ext <<_ACEOF
5532 cat confdefs.h
>>conftest.
$ac_ext
5533 cat >>conftest.
$ac_ext <<_ACEOF
5534 /* end confdefs.h. */
5538 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5539 $EGREP "memchr" >/dev
/null
2>&1; then
5542 ac_cv_header_stdc
=no
5548 if test $ac_cv_header_stdc = yes; then
5549 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5550 cat >conftest.
$ac_ext <<_ACEOF
5553 cat confdefs.h
>>conftest.
$ac_ext
5554 cat >>conftest.
$ac_ext <<_ACEOF
5555 /* end confdefs.h. */
5559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5560 $EGREP "free" >/dev
/null
2>&1; then
5563 ac_cv_header_stdc
=no
5569 if test $ac_cv_header_stdc = yes; then
5570 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5571 if test "$cross_compiling" = yes; then
5574 cat >conftest.
$ac_ext <<_ACEOF
5577 cat confdefs.h
>>conftest.
$ac_ext
5578 cat >>conftest.
$ac_ext <<_ACEOF
5579 /* end confdefs.h. */
5581 #if ((' ' & 0x0FF) == 0x020)
5582 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5583 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5585 # define ISLOWER(c) \
5586 (('a' <= (c) && (c) <= 'i') \
5587 || ('j' <= (c) && (c) <= 'r') \
5588 || ('s' <= (c) && (c) <= 'z'))
5589 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5592 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5597 for (i = 0; i < 256; i++)
5598 if (XOR (islower (i), ISLOWER (i))
5599 || toupper (i) != TOUPPER (i))
5604 rm -f conftest
$ac_exeext
5605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5606 (eval $ac_link) 2>&5
5608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); }; }; then
5617 echo "$as_me: program exited with status $ac_status" >&5
5618 echo "$as_me: failed program was:" >&5
5619 sed 's/^/| /' conftest.
$ac_ext >&5
5622 ac_cv_header_stdc
=no
5624 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5628 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5629 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5630 if test $ac_cv_header_stdc = yes; then
5632 cat >>confdefs.h
<<\_ACEOF
5633 #define STDC_HEADERS 1
5638 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5639 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5640 if test "${ac_cv_c_const+set}" = set; then
5641 echo $ECHO_N "(cached) $ECHO_C" >&6
5643 cat >conftest.
$ac_ext <<_ACEOF
5646 cat confdefs.h
>>conftest.
$ac_ext
5647 cat >>conftest.
$ac_ext <<_ACEOF
5648 /* end confdefs.h. */
5653 /* FIXME: Include the comments suggested by Paul. */
5655 /* Ultrix mips cc rejects this. */
5656 typedef int charset[2];
5658 /* SunOS 4.1.1 cc rejects this. */
5659 char const *const *ccp;
5661 /* NEC SVR4.0.2 mips cc rejects this. */
5662 struct point {int x, y;};
5663 static struct point const zero = {0,0};
5664 /* AIX XL C 1.02.0.0 rejects this.
5665 It does not let you subtract one const X* pointer from another in
5666 an arm of an if-expression whose if-part is not a constant
5668 const char *g = "string";
5669 ccp = &g + (g ? g-g : 0);
5670 /* HPUX 7.0 cc rejects these. */
5673 ccp = (char const *const *) p;
5674 { /* SCO 3.2v4 cc rejects this. */
5676 char const *s = 0 ? (char *) 0 : (char const *) 0;
5680 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5682 const int *foo = &x[0];
5685 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5686 typedef const int *iptr;
5690 { /* AIX XL C 1.02.0.0 rejects this saying
5691 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5692 struct s { int j; const int *ap[3]; };
5693 struct s *b; b->j = 5;
5695 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5704 rm -f conftest.
$ac_objext
5705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5706 (eval $ac_compile) 2>conftest.er1
5708 grep -v '^ *+' conftest.er1
>conftest.err
5710 cat conftest.err
>&5
5711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712 (exit $ac_status); } &&
5713 { ac_try
='test -z "$ac_c_werror_flag"
5714 || test ! -s conftest.err'
5715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719 (exit $ac_status); }; } &&
5720 { ac_try
='test -s conftest.$ac_objext'
5721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5725 (exit $ac_status); }; }; then
5728 echo "$as_me: failed program was:" >&5
5729 sed 's/^/| /' conftest.
$ac_ext >&5
5733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5735 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5736 echo "${ECHO_T}$ac_cv_c_const" >&6
5737 if test $ac_cv_c_const = no
; then
5739 cat >>confdefs.h
<<\_ACEOF
5745 echo "$as_me:$LINENO: checking for inline" >&5
5746 echo $ECHO_N "checking for inline... $ECHO_C" >&6
5747 if test "${ac_cv_c_inline+set}" = set; then
5748 echo $ECHO_N "(cached) $ECHO_C" >&6
5751 for ac_kw
in inline __inline__ __inline
; do
5752 cat >conftest.
$ac_ext <<_ACEOF
5755 cat confdefs.h
>>conftest.
$ac_ext
5756 cat >>conftest.
$ac_ext <<_ACEOF
5757 /* end confdefs.h. */
5760 static $ac_kw foo_t static_foo () {return 0; }
5761 $ac_kw foo_t foo () {return 0; }
5765 rm -f conftest.
$ac_objext
5766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5767 (eval $ac_compile) 2>conftest.er1
5769 grep -v '^ *+' conftest.er1
>conftest.err
5771 cat conftest.err
>&5
5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 (exit $ac_status); } &&
5774 { ac_try
='test -z "$ac_c_werror_flag"
5775 || test ! -s conftest.err'
5776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780 (exit $ac_status); }; } &&
5781 { ac_try
='test -s conftest.$ac_objext'
5782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786 (exit $ac_status); }; }; then
5787 ac_cv_c_inline
=$ac_kw; break
5789 echo "$as_me: failed program was:" >&5
5790 sed 's/^/| /' conftest.
$ac_ext >&5
5793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5797 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5798 echo "${ECHO_T}$ac_cv_c_inline" >&6
5801 case $ac_cv_c_inline in
5804 case $ac_cv_c_inline in
5806 *) ac_val
=$ac_cv_c_inline;;
5808 cat >>confdefs.h
<<_ACEOF
5810 #define inline $ac_val
5816 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5826 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5827 inttypes.h stdint.h unistd.h
5829 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5830 echo "$as_me:$LINENO: checking for $ac_header" >&5
5831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5833 echo $ECHO_N "(cached) $ECHO_C" >&6
5835 cat >conftest.
$ac_ext <<_ACEOF
5838 cat confdefs.h
>>conftest.
$ac_ext
5839 cat >>conftest.
$ac_ext <<_ACEOF
5840 /* end confdefs.h. */
5841 $ac_includes_default
5843 #include <$ac_header>
5845 rm -f conftest.
$ac_objext
5846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5847 (eval $ac_compile) 2>conftest.er1
5849 grep -v '^ *+' conftest.er1
>conftest.err
5851 cat conftest.err
>&5
5852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5853 (exit $ac_status); } &&
5854 { ac_try
='test -z "$ac_c_werror_flag"
5855 || test ! -s conftest.err'
5856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5860 (exit $ac_status); }; } &&
5861 { ac_try
='test -s conftest.$ac_objext'
5862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866 (exit $ac_status); }; }; then
5867 eval "$as_ac_Header=yes"
5869 echo "$as_me: failed program was:" >&5
5870 sed 's/^/| /' conftest.
$ac_ext >&5
5872 eval "$as_ac_Header=no"
5874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5877 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5878 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5879 cat >>confdefs.h
<<_ACEOF
5880 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5888 echo "$as_me:$LINENO: checking for off_t" >&5
5889 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5890 if test "${ac_cv_type_off_t+set}" = set; then
5891 echo $ECHO_N "(cached) $ECHO_C" >&6
5893 cat >conftest.
$ac_ext <<_ACEOF
5896 cat confdefs.h
>>conftest.
$ac_ext
5897 cat >>conftest.
$ac_ext <<_ACEOF
5898 /* end confdefs.h. */
5899 $ac_includes_default
5911 rm -f conftest.
$ac_objext
5912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5913 (eval $ac_compile) 2>conftest.er1
5915 grep -v '^ *+' conftest.er1
>conftest.err
5917 cat conftest.err
>&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); } &&
5920 { ac_try
='test -z "$ac_c_werror_flag"
5921 || test ! -s conftest.err'
5922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5926 (exit $ac_status); }; } &&
5927 { ac_try
='test -s conftest.$ac_objext'
5928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); }; }; then
5933 ac_cv_type_off_t
=yes
5935 echo "$as_me: failed program was:" >&5
5936 sed 's/^/| /' conftest.
$ac_ext >&5
5940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5942 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5943 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5944 if test $ac_cv_type_off_t = yes; then
5948 cat >>confdefs.h
<<_ACEOF
5954 echo "$as_me:$LINENO: checking for size_t" >&5
5955 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5956 if test "${ac_cv_type_size_t+set}" = set; then
5957 echo $ECHO_N "(cached) $ECHO_C" >&6
5959 cat >conftest.
$ac_ext <<_ACEOF
5962 cat confdefs.h
>>conftest.
$ac_ext
5963 cat >>conftest.
$ac_ext <<_ACEOF
5964 /* end confdefs.h. */
5965 $ac_includes_default
5971 if (sizeof (size_t))
5977 rm -f conftest.
$ac_objext
5978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5979 (eval $ac_compile) 2>conftest.er1
5981 grep -v '^ *+' conftest.er1
>conftest.err
5983 cat conftest.err
>&5
5984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5985 (exit $ac_status); } &&
5986 { ac_try
='test -z "$ac_c_werror_flag"
5987 || test ! -s conftest.err'
5988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992 (exit $ac_status); }; } &&
5993 { ac_try
='test -s conftest.$ac_objext'
5994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 (exit $ac_status); }; }; then
5999 ac_cv_type_size_t
=yes
6001 echo "$as_me: failed program was:" >&5
6002 sed 's/^/| /' conftest.
$ac_ext >&5
6004 ac_cv_type_size_t
=no
6006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6008 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6009 echo "${ECHO_T}$ac_cv_type_size_t" >&6
6010 if test $ac_cv_type_size_t = yes; then
6014 cat >>confdefs.h
<<_ACEOF
6015 #define size_t unsigned
6020 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6021 # for constant arguments. Useless!
6022 echo "$as_me:$LINENO: checking for working alloca.h" >&5
6023 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
6024 if test "${ac_cv_working_alloca_h+set}" = set; then
6025 echo $ECHO_N "(cached) $ECHO_C" >&6
6027 cat >conftest.
$ac_ext <<_ACEOF
6030 cat confdefs.h
>>conftest.
$ac_ext
6031 cat >>conftest.
$ac_ext <<_ACEOF
6032 /* end confdefs.h. */
6037 char *p = (char *) alloca (2 * sizeof (int));
6042 rm -f conftest.
$ac_objext conftest
$ac_exeext
6043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6044 (eval $ac_link) 2>conftest.er1
6046 grep -v '^ *+' conftest.er1
>conftest.err
6048 cat conftest.err
>&5
6049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6050 (exit $ac_status); } &&
6051 { ac_try
='test -z "$ac_c_werror_flag"
6052 || test ! -s conftest.err'
6053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6057 (exit $ac_status); }; } &&
6058 { ac_try
='test -s conftest$ac_exeext'
6059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6063 (exit $ac_status); }; }; then
6064 ac_cv_working_alloca_h
=yes
6066 echo "$as_me: failed program was:" >&5
6067 sed 's/^/| /' conftest.
$ac_ext >&5
6069 ac_cv_working_alloca_h
=no
6071 rm -f conftest.err conftest.
$ac_objext \
6072 conftest
$ac_exeext conftest.
$ac_ext
6074 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6075 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6076 if test $ac_cv_working_alloca_h = yes; then
6078 cat >>confdefs.h
<<\_ACEOF
6079 #define HAVE_ALLOCA_H 1
6084 echo "$as_me:$LINENO: checking for alloca" >&5
6085 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6086 if test "${ac_cv_func_alloca_works+set}" = set; then
6087 echo $ECHO_N "(cached) $ECHO_C" >&6
6089 cat >conftest.
$ac_ext <<_ACEOF
6092 cat confdefs.h
>>conftest.
$ac_ext
6093 cat >>conftest.
$ac_ext <<_ACEOF
6094 /* end confdefs.h. */
6096 # define alloca __builtin_alloca
6099 # include <malloc.h>
6100 # define alloca _alloca
6103 # include <alloca.h>
6108 # ifndef alloca /* predefined by HP cc +Olibcalls */
6119 char *p = (char *) alloca (1);
6124 rm -f conftest.
$ac_objext conftest
$ac_exeext
6125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6126 (eval $ac_link) 2>conftest.er1
6128 grep -v '^ *+' conftest.er1
>conftest.err
6130 cat conftest.err
>&5
6131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6132 (exit $ac_status); } &&
6133 { ac_try
='test -z "$ac_c_werror_flag"
6134 || test ! -s conftest.err'
6135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6139 (exit $ac_status); }; } &&
6140 { ac_try
='test -s conftest$ac_exeext'
6141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6145 (exit $ac_status); }; }; then
6146 ac_cv_func_alloca_works
=yes
6148 echo "$as_me: failed program was:" >&5
6149 sed 's/^/| /' conftest.
$ac_ext >&5
6151 ac_cv_func_alloca_works
=no
6153 rm -f conftest.err conftest.
$ac_objext \
6154 conftest
$ac_exeext conftest.
$ac_ext
6156 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6157 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6159 if test $ac_cv_func_alloca_works = yes; then
6161 cat >>confdefs.h
<<\_ACEOF
6162 #define HAVE_ALLOCA 1
6166 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6167 # that cause trouble. Some versions do not even contain alloca or
6168 # contain a buggy version. If you still want to use their alloca,
6169 # use ar to extract alloca.o from them instead of compiling alloca.c.
6171 ALLOCA
=alloca.
$ac_objext
6173 cat >>confdefs.h
<<\_ACEOF
6178 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6179 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6180 if test "${ac_cv_os_cray+set}" = set; then
6181 echo $ECHO_N "(cached) $ECHO_C" >&6
6183 cat >conftest.
$ac_ext <<_ACEOF
6186 cat confdefs.h
>>conftest.
$ac_ext
6187 cat >>conftest.
$ac_ext <<_ACEOF
6188 /* end confdefs.h. */
6189 #if defined(CRAY) && ! defined(CRAY2)
6196 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6197 $EGREP "webecray" >/dev
/null
2>&1; then
6205 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6206 echo "${ECHO_T}$ac_cv_os_cray" >&6
6207 if test $ac_cv_os_cray = yes; then
6208 for ac_func
in _getb67 GETB67 getb67
; do
6209 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6210 echo "$as_me:$LINENO: checking for $ac_func" >&5
6211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6212 if eval "test \"\${$as_ac_var+set}\" = set"; then
6213 echo $ECHO_N "(cached) $ECHO_C" >&6
6215 cat >conftest.
$ac_ext <<_ACEOF
6218 cat confdefs.h
>>conftest.
$ac_ext
6219 cat >>conftest.
$ac_ext <<_ACEOF
6220 /* end confdefs.h. */
6221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6223 #define $ac_func innocuous_$ac_func
6225 /* System header to define __stub macros and hopefully few prototypes,
6226 which can conflict with char $ac_func (); below.
6227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6228 <limits.h> exists even on freestanding compilers. */
6231 # include <limits.h>
6233 # include <assert.h>
6238 /* Override any gcc2 internal prototype to avoid an error. */
6243 /* We use char because int might match the return type of a gcc2
6244 builtin and then its argument prototype would still apply. */
6246 /* The GNU C library defines this for functions which it implements
6247 to always fail with ENOSYS. Some functions are actually named
6248 something starting with __ and the normal name is an alias. */
6249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6252 char (*f) () = $ac_func;
6261 return f != $ac_func;
6266 rm -f conftest.
$ac_objext conftest
$ac_exeext
6267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6268 (eval $ac_link) 2>conftest.er1
6270 grep -v '^ *+' conftest.er1
>conftest.err
6272 cat conftest.err
>&5
6273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6274 (exit $ac_status); } &&
6275 { ac_try
='test -z "$ac_c_werror_flag"
6276 || test ! -s conftest.err'
6277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6281 (exit $ac_status); }; } &&
6282 { ac_try
='test -s conftest$ac_exeext'
6283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6287 (exit $ac_status); }; }; then
6288 eval "$as_ac_var=yes"
6290 echo "$as_me: failed program was:" >&5
6291 sed 's/^/| /' conftest.
$ac_ext >&5
6293 eval "$as_ac_var=no"
6295 rm -f conftest.err conftest.
$ac_objext \
6296 conftest
$ac_exeext conftest.
$ac_ext
6298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6300 if test `eval echo '${'$as_ac_var'}'` = yes; then
6302 cat >>confdefs.h
<<_ACEOF
6303 #define CRAY_STACKSEG_END $ac_func
6312 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6313 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6314 if test "${ac_cv_c_stack_direction+set}" = set; then
6315 echo $ECHO_N "(cached) $ECHO_C" >&6
6317 if test "$cross_compiling" = yes; then
6318 ac_cv_c_stack_direction
=0
6320 cat >conftest.
$ac_ext <<_ACEOF
6323 cat confdefs.h
>>conftest.
$ac_ext
6324 cat >>conftest.
$ac_ext <<_ACEOF
6325 /* end confdefs.h. */
6327 find_stack_direction ()
6329 static char *addr = 0;
6334 return find_stack_direction ();
6337 return (&dummy > addr) ? 1 : -1;
6343 exit (find_stack_direction () < 0);
6346 rm -f conftest
$ac_exeext
6347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6348 (eval $ac_link) 2>&5
6350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6351 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6356 (exit $ac_status); }; }; then
6357 ac_cv_c_stack_direction
=1
6359 echo "$as_me: program exited with status $ac_status" >&5
6360 echo "$as_me: failed program was:" >&5
6361 sed 's/^/| /' conftest.
$ac_ext >&5
6364 ac_cv_c_stack_direction
=-1
6366 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6369 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6370 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
6372 cat >>confdefs.h
<<_ACEOF
6373 #define STACK_DIRECTION $ac_cv_c_stack_direction
6381 for ac_header
in stdlib.h unistd.h
6383 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6385 echo "$as_me:$LINENO: checking for $ac_header" >&5
6386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6388 echo $ECHO_N "(cached) $ECHO_C" >&6
6390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6391 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6393 # Is the header compilable?
6394 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6395 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6396 cat >conftest.
$ac_ext <<_ACEOF
6399 cat confdefs.h
>>conftest.
$ac_ext
6400 cat >>conftest.
$ac_ext <<_ACEOF
6401 /* end confdefs.h. */
6402 $ac_includes_default
6403 #include <$ac_header>
6405 rm -f conftest.
$ac_objext
6406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6407 (eval $ac_compile) 2>conftest.er1
6409 grep -v '^ *+' conftest.er1
>conftest.err
6411 cat conftest.err
>&5
6412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6413 (exit $ac_status); } &&
6414 { ac_try
='test -z "$ac_c_werror_flag"
6415 || test ! -s conftest.err'
6416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420 (exit $ac_status); }; } &&
6421 { ac_try
='test -s conftest.$ac_objext'
6422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6426 (exit $ac_status); }; }; then
6427 ac_header_compiler
=yes
6429 echo "$as_me: failed program was:" >&5
6430 sed 's/^/| /' conftest.
$ac_ext >&5
6432 ac_header_compiler
=no
6434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6435 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6436 echo "${ECHO_T}$ac_header_compiler" >&6
6438 # Is the header present?
6439 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6440 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6441 cat >conftest.
$ac_ext <<_ACEOF
6444 cat confdefs.h
>>conftest.
$ac_ext
6445 cat >>conftest.
$ac_ext <<_ACEOF
6446 /* end confdefs.h. */
6447 #include <$ac_header>
6449 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6450 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6452 grep -v '^ *+' conftest.er1
>conftest.err
6454 cat conftest.err
>&5
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); } >/dev
/null
; then
6457 if test -s conftest.err
; then
6458 ac_cpp_err
=$ac_c_preproc_warn_flag
6459 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6466 if test -z "$ac_cpp_err"; then
6467 ac_header_preproc
=yes
6469 echo "$as_me: failed program was:" >&5
6470 sed 's/^/| /' conftest.
$ac_ext >&5
6472 ac_header_preproc
=no
6474 rm -f conftest.err conftest.
$ac_ext
6475 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6476 echo "${ECHO_T}$ac_header_preproc" >&6
6478 # So? What about this header?
6479 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6481 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6482 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6484 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6485 ac_header_preproc
=yes
6488 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6489 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6490 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6491 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6492 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6493 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6494 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6495 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6497 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6498 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6499 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6502 ## ------------------------------------------ ##
6503 ## Report this to the AC_PACKAGE_NAME lists. ##
6504 ## ------------------------------------------ ##
6507 sed "s/^/$as_me: WARNING: /" >&2
6510 echo "$as_me:$LINENO: checking for $ac_header" >&5
6511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6512 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6513 echo $ECHO_N "(cached) $ECHO_C" >&6
6515 eval "$as_ac_Header=\$ac_header_preproc"
6517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6521 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6522 cat >>confdefs.h
<<_ACEOF
6523 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6531 for ac_func
in getpagesize
6533 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6534 echo "$as_me:$LINENO: checking for $ac_func" >&5
6535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6536 if eval "test \"\${$as_ac_var+set}\" = set"; then
6537 echo $ECHO_N "(cached) $ECHO_C" >&6
6539 cat >conftest.
$ac_ext <<_ACEOF
6542 cat confdefs.h
>>conftest.
$ac_ext
6543 cat >>conftest.
$ac_ext <<_ACEOF
6544 /* end confdefs.h. */
6545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6547 #define $ac_func innocuous_$ac_func
6549 /* System header to define __stub macros and hopefully few prototypes,
6550 which can conflict with char $ac_func (); below.
6551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6552 <limits.h> exists even on freestanding compilers. */
6555 # include <limits.h>
6557 # include <assert.h>
6562 /* Override any gcc2 internal prototype to avoid an error. */
6567 /* We use char because int might match the return type of a gcc2
6568 builtin and then its argument prototype would still apply. */
6570 /* The GNU C library defines this for functions which it implements
6571 to always fail with ENOSYS. Some functions are actually named
6572 something starting with __ and the normal name is an alias. */
6573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6576 char (*f) () = $ac_func;
6585 return f != $ac_func;
6590 rm -f conftest.
$ac_objext conftest
$ac_exeext
6591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6592 (eval $ac_link) 2>conftest.er1
6594 grep -v '^ *+' conftest.er1
>conftest.err
6596 cat conftest.err
>&5
6597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6598 (exit $ac_status); } &&
6599 { ac_try
='test -z "$ac_c_werror_flag"
6600 || 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
6632 echo "$as_me:$LINENO: checking for working mmap" >&5
6633 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6634 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6635 echo $ECHO_N "(cached) $ECHO_C" >&6
6637 if test "$cross_compiling" = yes; then
6638 ac_cv_func_mmap_fixed_mapped
=no
6640 cat >conftest.
$ac_ext <<_ACEOF
6643 cat confdefs.h
>>conftest.
$ac_ext
6644 cat >>conftest.
$ac_ext <<_ACEOF
6645 /* end confdefs.h. */
6646 $ac_includes_default
6647 /* malloc might have been renamed as rpl_malloc. */
6650 /* Thanks to Mike Haertel and Jim Avera for this test.
6651 Here is a matrix of mmap possibilities:
6652 mmap private not fixed
6653 mmap private fixed at somewhere currently unmapped
6654 mmap private fixed at somewhere already mapped
6655 mmap shared not fixed
6656 mmap shared fixed at somewhere currently unmapped
6657 mmap shared fixed at somewhere already mapped
6658 For private mappings, we should verify that changes cannot be read()
6659 back from the file, nor mmap's back from the file at a different
6660 address. (There have been systems where private was not correctly
6661 implemented like the infamous i386 svr4.0, and systems where the
6662 VM page cache was not coherent with the file system buffer cache
6663 like early versions of FreeBSD and possibly contemporary NetBSD.)
6664 For shared mappings, we should conversely verify that changes get
6665 propagated back to all the places they're supposed to be.
6667 Grep wants private fixed already mapped.
6668 The main things grep needs to know about mmap are:
6669 * does it exist and is it safe to write into the mmap'd area
6670 * how to use it (BSD variants) */
6673 #include <sys/mman.h>
6675 #if !STDC_HEADERS && !HAVE_STDLIB_H
6679 /* This mess was copied from the GNU getpagesize.h. */
6680 #if !HAVE_GETPAGESIZE
6681 /* Assume that all systems that can run configure have sys/param.h. */
6682 # if !HAVE_SYS_PARAM_H
6683 # define HAVE_SYS_PARAM_H 1
6686 # ifdef _SC_PAGESIZE
6687 # define getpagesize() sysconf(_SC_PAGESIZE)
6688 # else /* no _SC_PAGESIZE */
6689 # if HAVE_SYS_PARAM_H
6690 # include <sys/param.h>
6691 # ifdef EXEC_PAGESIZE
6692 # define getpagesize() EXEC_PAGESIZE
6693 # else /* no EXEC_PAGESIZE */
6695 # define getpagesize() NBPG * CLSIZE
6698 # endif /* no CLSIZE */
6699 # else /* no NBPG */
6701 # define getpagesize() NBPC
6702 # else /* no NBPC */
6704 # define getpagesize() PAGESIZE
6705 # endif /* PAGESIZE */
6706 # endif /* no NBPC */
6707 # endif /* no NBPG */
6708 # endif /* no EXEC_PAGESIZE */
6709 # else /* no HAVE_SYS_PARAM_H */
6710 # define getpagesize() 8192 /* punt totally */
6711 # endif /* no HAVE_SYS_PARAM_H */
6712 # endif /* no _SC_PAGESIZE */
6714 #endif /* no HAVE_GETPAGESIZE */
6719 char *data, *data2, *data3;
6723 pagesize = getpagesize ();
6725 /* First, make a file with some known garbage in it. */
6726 data = (char *) malloc (pagesize);
6729 for (i = 0; i < pagesize; ++i)
6730 *(data + i) = rand ();
6732 fd = creat ("conftest.mmap", 0600);
6735 if (write (fd, data, pagesize) != pagesize)
6739 /* Next, try to mmap the file at a fixed address which already has
6740 something else allocated at it. If we can, also make sure that
6741 we see the same garbage. */
6742 fd = open ("conftest.mmap", O_RDWR);
6745 data2 = (char *) malloc (2 * pagesize);
6748 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6749 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6750 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6752 for (i = 0; i < pagesize; ++i)
6753 if (*(data + i) != *(data2 + i))
6756 /* Finally, make sure that changes to the mapped area do not
6757 percolate back to the file as seen by read(). (This is a bug on
6758 some variants of i386 svr4.0.) */
6759 for (i = 0; i < pagesize; ++i)
6760 *(data2 + i) = *(data2 + i) + 1;
6761 data3 = (char *) malloc (pagesize);
6764 if (read (fd, data3, pagesize) != pagesize)
6766 for (i = 0; i < pagesize; ++i)
6767 if (*(data + i) != *(data3 + i))
6773 rm -f conftest
$ac_exeext
6774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6775 (eval $ac_link) 2>&5
6777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6783 (exit $ac_status); }; }; then
6784 ac_cv_func_mmap_fixed_mapped
=yes
6786 echo "$as_me: program exited with status $ac_status" >&5
6787 echo "$as_me: failed program was:" >&5
6788 sed 's/^/| /' conftest.
$ac_ext >&5
6791 ac_cv_func_mmap_fixed_mapped
=no
6793 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6796 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6797 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6798 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6800 cat >>confdefs.h
<<\_ACEOF
6817 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
6818 unistd.h values.h sys
/param.h
6820 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6822 echo "$as_me:$LINENO: checking for $ac_header" >&5
6823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6825 echo $ECHO_N "(cached) $ECHO_C" >&6
6827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6828 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6830 # Is the header compilable?
6831 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6832 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6833 cat >conftest.
$ac_ext <<_ACEOF
6836 cat confdefs.h
>>conftest.
$ac_ext
6837 cat >>conftest.
$ac_ext <<_ACEOF
6838 /* end confdefs.h. */
6839 $ac_includes_default
6840 #include <$ac_header>
6842 rm -f conftest.
$ac_objext
6843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6844 (eval $ac_compile) 2>conftest.er1
6846 grep -v '^ *+' conftest.er1
>conftest.err
6848 cat conftest.err
>&5
6849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6850 (exit $ac_status); } &&
6851 { ac_try
='test -z "$ac_c_werror_flag"
6852 || test ! -s conftest.err'
6853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6857 (exit $ac_status); }; } &&
6858 { ac_try
='test -s conftest.$ac_objext'
6859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6863 (exit $ac_status); }; }; then
6864 ac_header_compiler
=yes
6866 echo "$as_me: failed program was:" >&5
6867 sed 's/^/| /' conftest.
$ac_ext >&5
6869 ac_header_compiler
=no
6871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6872 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6873 echo "${ECHO_T}$ac_header_compiler" >&6
6875 # Is the header present?
6876 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6877 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6878 cat >conftest.
$ac_ext <<_ACEOF
6881 cat confdefs.h
>>conftest.
$ac_ext
6882 cat >>conftest.
$ac_ext <<_ACEOF
6883 /* end confdefs.h. */
6884 #include <$ac_header>
6886 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6887 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6889 grep -v '^ *+' conftest.er1
>conftest.err
6891 cat conftest.err
>&5
6892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6893 (exit $ac_status); } >/dev
/null
; then
6894 if test -s conftest.err
; then
6895 ac_cpp_err
=$ac_c_preproc_warn_flag
6896 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6903 if test -z "$ac_cpp_err"; then
6904 ac_header_preproc
=yes
6906 echo "$as_me: failed program was:" >&5
6907 sed 's/^/| /' conftest.
$ac_ext >&5
6909 ac_header_preproc
=no
6911 rm -f conftest.err conftest.
$ac_ext
6912 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6913 echo "${ECHO_T}$ac_header_preproc" >&6
6915 # So? What about this header?
6916 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6918 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6919 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6921 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6922 ac_header_preproc
=yes
6925 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6926 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6927 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6928 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6929 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6930 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6931 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6932 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6933 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6934 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6935 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6936 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6939 ## ------------------------------------------ ##
6940 ## Report this to the AC_PACKAGE_NAME lists. ##
6941 ## ------------------------------------------ ##
6944 sed "s/^/$as_me: WARNING: /" >&2
6947 echo "$as_me:$LINENO: checking for $ac_header" >&5
6948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6950 echo $ECHO_N "(cached) $ECHO_C" >&6
6952 eval "$as_ac_Header=\$ac_header_preproc"
6954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6955 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6958 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6959 cat >>confdefs.h
<<_ACEOF
6960 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6977 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
6978 __argz_count __argz_stringify __argz_next
6980 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6981 echo "$as_me:$LINENO: checking for $ac_func" >&5
6982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6983 if eval "test \"\${$as_ac_var+set}\" = set"; then
6984 echo $ECHO_N "(cached) $ECHO_C" >&6
6986 cat >conftest.
$ac_ext <<_ACEOF
6989 cat confdefs.h
>>conftest.
$ac_ext
6990 cat >>conftest.
$ac_ext <<_ACEOF
6991 /* end confdefs.h. */
6992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6994 #define $ac_func innocuous_$ac_func
6996 /* System header to define __stub macros and hopefully few prototypes,
6997 which can conflict with char $ac_func (); below.
6998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6999 <limits.h> exists even on freestanding compilers. */
7002 # include <limits.h>
7004 # include <assert.h>
7009 /* Override any gcc2 internal prototype to avoid an error. */
7014 /* We use char because int might match the return type of a gcc2
7015 builtin and then its argument prototype would still apply. */
7017 /* The GNU C library defines this for functions which it implements
7018 to always fail with ENOSYS. Some functions are actually named
7019 something starting with __ and the normal name is an alias. */
7020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7023 char (*f) () = $ac_func;
7032 return f != $ac_func;
7037 rm -f conftest.
$ac_objext conftest
$ac_exeext
7038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7039 (eval $ac_link) 2>conftest.er1
7041 grep -v '^ *+' conftest.er1
>conftest.err
7043 cat conftest.err
>&5
7044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7045 (exit $ac_status); } &&
7046 { ac_try
='test -z "$ac_c_werror_flag"
7047 || test ! -s conftest.err'
7048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7052 (exit $ac_status); }; } &&
7053 { ac_try
='test -s conftest$ac_exeext'
7054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058 (exit $ac_status); }; }; then
7059 eval "$as_ac_var=yes"
7061 echo "$as_me: failed program was:" >&5
7062 sed 's/^/| /' conftest.
$ac_ext >&5
7064 eval "$as_ac_var=no"
7066 rm -f conftest.err conftest.
$ac_objext \
7067 conftest
$ac_exeext conftest.
$ac_ext
7069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7071 if test `eval echo '${'$as_ac_var'}'` = yes; then
7072 cat >>confdefs.h
<<_ACEOF
7073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7080 if test "${ac_cv_func_stpcpy+set}" != "set"; then
7082 for ac_func
in stpcpy
7084 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7085 echo "$as_me:$LINENO: checking for $ac_func" >&5
7086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7087 if eval "test \"\${$as_ac_var+set}\" = set"; then
7088 echo $ECHO_N "(cached) $ECHO_C" >&6
7090 cat >conftest.
$ac_ext <<_ACEOF
7093 cat confdefs.h
>>conftest.
$ac_ext
7094 cat >>conftest.
$ac_ext <<_ACEOF
7095 /* end confdefs.h. */
7096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7098 #define $ac_func innocuous_$ac_func
7100 /* System header to define __stub macros and hopefully few prototypes,
7101 which can conflict with char $ac_func (); below.
7102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7103 <limits.h> exists even on freestanding compilers. */
7106 # include <limits.h>
7108 # include <assert.h>
7113 /* Override any gcc2 internal prototype to avoid an error. */
7118 /* We use char because int might match the return type of a gcc2
7119 builtin and then its argument prototype would still apply. */
7121 /* The GNU C library defines this for functions which it implements
7122 to always fail with ENOSYS. Some functions are actually named
7123 something starting with __ and the normal name is an alias. */
7124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7127 char (*f) () = $ac_func;
7136 return f != $ac_func;
7141 rm -f conftest.
$ac_objext conftest
$ac_exeext
7142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7143 (eval $ac_link) 2>conftest.er1
7145 grep -v '^ *+' conftest.er1
>conftest.err
7147 cat conftest.err
>&5
7148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7149 (exit $ac_status); } &&
7150 { ac_try
='test -z "$ac_c_werror_flag"
7151 || test ! -s conftest.err'
7152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156 (exit $ac_status); }; } &&
7157 { ac_try
='test -s conftest$ac_exeext'
7158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); }; }; then
7163 eval "$as_ac_var=yes"
7165 echo "$as_me: failed program was:" >&5
7166 sed 's/^/| /' conftest.
$ac_ext >&5
7168 eval "$as_ac_var=no"
7170 rm -f conftest.err conftest.
$ac_objext \
7171 conftest
$ac_exeext conftest.
$ac_ext
7173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7175 if test `eval echo '${'$as_ac_var'}'` = yes; then
7176 cat >>confdefs.h
<<_ACEOF
7177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7184 if test "${ac_cv_func_stpcpy}" = "yes"; then
7186 cat >>confdefs.h
<<\_ACEOF
7187 #define HAVE_STPCPY 1
7192 if test $ac_cv_header_locale_h = yes; then
7193 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
7194 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
7195 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
7196 echo $ECHO_N "(cached) $ECHO_C" >&6
7198 cat >conftest.
$ac_ext <<_ACEOF
7201 cat confdefs.h
>>conftest.
$ac_ext
7202 cat >>conftest.
$ac_ext <<_ACEOF
7203 /* end confdefs.h. */
7213 rm -f conftest.
$ac_objext conftest
$ac_exeext
7214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7215 (eval $ac_link) 2>conftest.er1
7217 grep -v '^ *+' conftest.er1
>conftest.err
7219 cat conftest.err
>&5
7220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7221 (exit $ac_status); } &&
7222 { ac_try
='test -z "$ac_c_werror_flag"
7223 || test ! -s conftest.err'
7224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7228 (exit $ac_status); }; } &&
7229 { ac_try
='test -s conftest$ac_exeext'
7230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7234 (exit $ac_status); }; }; then
7235 am_cv_val_LC_MESSAGES
=yes
7237 echo "$as_me: failed program was:" >&5
7238 sed 's/^/| /' conftest.
$ac_ext >&5
7240 am_cv_val_LC_MESSAGES
=no
7242 rm -f conftest.err conftest.
$ac_objext \
7243 conftest
$ac_exeext conftest.
$ac_ext
7245 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
7246 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
7247 if test $am_cv_val_LC_MESSAGES = yes; then
7249 cat >>confdefs.h
<<\_ACEOF
7250 #define HAVE_LC_MESSAGES 1
7255 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7256 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7257 # Check whether --enable-nls or --disable-nls was given.
7258 if test "${enable_nls+set}" = set; then
7259 enableval
="$enable_nls"
7264 echo "$as_me:$LINENO: result: $USE_NLS" >&5
7265 echo "${ECHO_T}$USE_NLS" >&6
7268 USE_INCLUDED_LIBINTL
=no
7270 if test "$USE_NLS" = "yes"; then
7271 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
7272 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
7274 # Check whether --with-included-gettext or --without-included-gettext was given.
7275 if test "${with_included_gettext+set}" = set; then
7276 withval
="$with_included_gettext"
7277 nls_cv_force_use_gnu_gettext
=$withval
7279 nls_cv_force_use_gnu_gettext
=no
7281 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
7282 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
7284 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
7285 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7287 nls_cv_header_libgt
=
7290 if test "${ac_cv_header_libintl_h+set}" = set; then
7291 echo "$as_me:$LINENO: checking for libintl.h" >&5
7292 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7293 if test "${ac_cv_header_libintl_h+set}" = set; then
7294 echo $ECHO_N "(cached) $ECHO_C" >&6
7296 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7297 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7299 # Is the header compilable?
7300 echo "$as_me:$LINENO: checking libintl.h usability" >&5
7301 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
7302 cat >conftest.
$ac_ext <<_ACEOF
7305 cat confdefs.h
>>conftest.
$ac_ext
7306 cat >>conftest.
$ac_ext <<_ACEOF
7307 /* end confdefs.h. */
7308 $ac_includes_default
7309 #include <libintl.h>
7311 rm -f conftest.
$ac_objext
7312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7313 (eval $ac_compile) 2>conftest.er1
7315 grep -v '^ *+' conftest.er1
>conftest.err
7317 cat conftest.err
>&5
7318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7319 (exit $ac_status); } &&
7320 { ac_try
='test -z "$ac_c_werror_flag"
7321 || test ! -s conftest.err'
7322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326 (exit $ac_status); }; } &&
7327 { ac_try
='test -s conftest.$ac_objext'
7328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332 (exit $ac_status); }; }; then
7333 ac_header_compiler
=yes
7335 echo "$as_me: failed program was:" >&5
7336 sed 's/^/| /' conftest.
$ac_ext >&5
7338 ac_header_compiler
=no
7340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7341 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7342 echo "${ECHO_T}$ac_header_compiler" >&6
7344 # Is the header present?
7345 echo "$as_me:$LINENO: checking libintl.h presence" >&5
7346 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
7347 cat >conftest.
$ac_ext <<_ACEOF
7350 cat confdefs.h
>>conftest.
$ac_ext
7351 cat >>conftest.
$ac_ext <<_ACEOF
7352 /* end confdefs.h. */
7353 #include <libintl.h>
7355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7356 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7358 grep -v '^ *+' conftest.er1
>conftest.err
7360 cat conftest.err
>&5
7361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362 (exit $ac_status); } >/dev
/null
; then
7363 if test -s conftest.err
; then
7364 ac_cpp_err
=$ac_c_preproc_warn_flag
7365 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7372 if test -z "$ac_cpp_err"; then
7373 ac_header_preproc
=yes
7375 echo "$as_me: failed program was:" >&5
7376 sed 's/^/| /' conftest.
$ac_ext >&5
7378 ac_header_preproc
=no
7380 rm -f conftest.err conftest.
$ac_ext
7381 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7382 echo "${ECHO_T}$ac_header_preproc" >&6
7384 # So? What about this header?
7385 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7387 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7388 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7389 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
7390 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
7391 ac_header_preproc
=yes
7394 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
7395 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
7396 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7397 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7398 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
7399 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
7400 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
7401 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
7402 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7403 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
7404 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
7405 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
7408 ## ------------------------------------------ ##
7409 ## Report this to the AC_PACKAGE_NAME lists. ##
7410 ## ------------------------------------------ ##
7413 sed "s/^/$as_me: WARNING: /" >&2
7416 echo "$as_me:$LINENO: checking for libintl.h" >&5
7417 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7418 if test "${ac_cv_header_libintl_h+set}" = set; then
7419 echo $ECHO_N "(cached) $ECHO_C" >&6
7421 ac_cv_header_libintl_h
=$ac_header_preproc
7423 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7424 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7427 if test $ac_cv_header_libintl_h = yes; then
7428 echo "$as_me:$LINENO: checking for gettext in libc" >&5
7429 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
7430 if test "${gt_cv_func_gettext_libc+set}" = set; then
7431 echo $ECHO_N "(cached) $ECHO_C" >&6
7433 cat >conftest.
$ac_ext <<_ACEOF
7436 cat confdefs.h
>>conftest.
$ac_ext
7437 cat >>conftest.
$ac_ext <<_ACEOF
7438 /* end confdefs.h. */
7439 #include <libintl.h>
7443 return (int) gettext ("")
7448 rm -f conftest.
$ac_objext conftest
$ac_exeext
7449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7450 (eval $ac_link) 2>conftest.er1
7452 grep -v '^ *+' conftest.er1
>conftest.err
7454 cat conftest.err
>&5
7455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 (exit $ac_status); } &&
7457 { ac_try
='test -z "$ac_c_werror_flag"
7458 || test ! -s conftest.err'
7459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7463 (exit $ac_status); }; } &&
7464 { ac_try
='test -s conftest$ac_exeext'
7465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469 (exit $ac_status); }; }; then
7470 gt_cv_func_gettext_libc
=yes
7472 echo "$as_me: failed program was:" >&5
7473 sed 's/^/| /' conftest.
$ac_ext >&5
7475 gt_cv_func_gettext_libc
=no
7477 rm -f conftest.err conftest.
$ac_objext \
7478 conftest
$ac_exeext conftest.
$ac_ext
7480 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
7481 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
7483 if test "$gt_cv_func_gettext_libc" != "yes"; then
7484 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
7485 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
7486 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
7487 echo $ECHO_N "(cached) $ECHO_C" >&6
7489 ac_check_lib_save_LIBS
=$LIBS
7491 cat >conftest.
$ac_ext <<_ACEOF
7494 cat confdefs.h
>>conftest.
$ac_ext
7495 cat >>conftest.
$ac_ext <<_ACEOF
7496 /* end confdefs.h. */
7498 /* Override any gcc2 internal prototype to avoid an error. */
7502 /* We use char because int might match the return type of a gcc2
7503 builtin and then its argument prototype would still apply. */
7504 char bindtextdomain ();
7513 rm -f conftest.
$ac_objext conftest
$ac_exeext
7514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7515 (eval $ac_link) 2>conftest.er1
7517 grep -v '^ *+' conftest.er1
>conftest.err
7519 cat conftest.err
>&5
7520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7521 (exit $ac_status); } &&
7522 { ac_try
='test -z "$ac_c_werror_flag"
7523 || test ! -s conftest.err'
7524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7528 (exit $ac_status); }; } &&
7529 { ac_try
='test -s conftest$ac_exeext'
7530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7534 (exit $ac_status); }; }; then
7535 ac_cv_lib_intl_bindtextdomain
=yes
7537 echo "$as_me: failed program was:" >&5
7538 sed 's/^/| /' conftest.
$ac_ext >&5
7540 ac_cv_lib_intl_bindtextdomain
=no
7542 rm -f conftest.err conftest.
$ac_objext \
7543 conftest
$ac_exeext conftest.
$ac_ext
7544 LIBS
=$ac_check_lib_save_LIBS
7546 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7547 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
7548 if test $ac_cv_lib_intl_bindtextdomain = yes; then
7549 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
7550 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
7551 if test "${gt_cv_func_gettext_libintl+set}" = set; then
7552 echo $ECHO_N "(cached) $ECHO_C" >&6
7554 cat >conftest.
$ac_ext <<_ACEOF
7557 cat confdefs.h
>>conftest.
$ac_ext
7558 cat >>conftest.
$ac_ext <<_ACEOF
7559 /* end confdefs.h. */
7564 return (int) gettext ("")
7569 rm -f conftest.
$ac_objext conftest
$ac_exeext
7570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7571 (eval $ac_link) 2>conftest.er1
7573 grep -v '^ *+' conftest.er1
>conftest.err
7575 cat conftest.err
>&5
7576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7577 (exit $ac_status); } &&
7578 { ac_try
='test -z "$ac_c_werror_flag"
7579 || test ! -s conftest.err'
7580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7584 (exit $ac_status); }; } &&
7585 { ac_try
='test -s conftest$ac_exeext'
7586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7590 (exit $ac_status); }; }; then
7591 gt_cv_func_gettext_libintl
=yes
7593 echo "$as_me: failed program was:" >&5
7594 sed 's/^/| /' conftest.
$ac_ext >&5
7596 gt_cv_func_gettext_libintl
=no
7598 rm -f conftest.err conftest.
$ac_objext \
7599 conftest
$ac_exeext conftest.
$ac_ext
7601 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
7602 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
7607 if test "$gt_cv_func_gettext_libc" = "yes" \
7608 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
7610 cat >>confdefs.h
<<\_ACEOF
7611 #define HAVE_GETTEXT 1
7614 # Extract the first word of "msgfmt", so it can be a program name with args.
7615 set dummy msgfmt
; ac_word
=$2
7616 echo "$as_me:$LINENO: checking for $ac_word" >&5
7617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7618 if test "${ac_cv_path_MSGFMT+set}" = set; then
7619 echo $ECHO_N "(cached) $ECHO_C" >&6
7623 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7626 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7627 for ac_dir
in $PATH; do
7628 test -z "$ac_dir" && ac_dir
=.
7629 if test -f $ac_dir/$ac_word; then
7630 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7631 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7637 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
7641 MSGFMT
="$ac_cv_path_MSGFMT"
7642 if test -n "$MSGFMT"; then
7643 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7644 echo "${ECHO_T}$MSGFMT" >&6
7646 echo "$as_me:$LINENO: result: no" >&5
7647 echo "${ECHO_T}no" >&6
7649 if test "$MSGFMT" != "no"; then
7651 for ac_func
in dcgettext
7653 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7654 echo "$as_me:$LINENO: checking for $ac_func" >&5
7655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7656 if eval "test \"\${$as_ac_var+set}\" = set"; then
7657 echo $ECHO_N "(cached) $ECHO_C" >&6
7659 cat >conftest.
$ac_ext <<_ACEOF
7662 cat confdefs.h
>>conftest.
$ac_ext
7663 cat >>conftest.
$ac_ext <<_ACEOF
7664 /* end confdefs.h. */
7665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7667 #define $ac_func innocuous_$ac_func
7669 /* System header to define __stub macros and hopefully few prototypes,
7670 which can conflict with char $ac_func (); below.
7671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7672 <limits.h> exists even on freestanding compilers. */
7675 # include <limits.h>
7677 # include <assert.h>
7682 /* Override any gcc2 internal prototype to avoid an error. */
7687 /* We use char because int might match the return type of a gcc2
7688 builtin and then its argument prototype would still apply. */
7690 /* The GNU C library defines this for functions which it implements
7691 to always fail with ENOSYS. Some functions are actually named
7692 something starting with __ and the normal name is an alias. */
7693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7696 char (*f) () = $ac_func;
7705 return f != $ac_func;
7710 rm -f conftest.
$ac_objext conftest
$ac_exeext
7711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7712 (eval $ac_link) 2>conftest.er1
7714 grep -v '^ *+' conftest.er1
>conftest.err
7716 cat conftest.err
>&5
7717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7718 (exit $ac_status); } &&
7719 { ac_try
='test -z "$ac_c_werror_flag"
7720 || test ! -s conftest.err'
7721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); }; } &&
7726 { ac_try
='test -s conftest$ac_exeext'
7727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731 (exit $ac_status); }; }; then
7732 eval "$as_ac_var=yes"
7734 echo "$as_me: failed program was:" >&5
7735 sed 's/^/| /' conftest.
$ac_ext >&5
7737 eval "$as_ac_var=no"
7739 rm -f conftest.err conftest.
$ac_objext \
7740 conftest
$ac_exeext conftest.
$ac_ext
7742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7744 if test `eval echo '${'$as_ac_var'}'` = yes; then
7745 cat >>confdefs.h
<<_ACEOF
7746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7752 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7753 set dummy gmsgfmt
; ac_word
=$2
7754 echo "$as_me:$LINENO: checking for $ac_word" >&5
7755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7756 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7757 echo $ECHO_N "(cached) $ECHO_C" >&6
7761 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7768 test -z "$as_dir" && as_dir
=.
7769 for ac_exec_ext
in '' $ac_executable_extensions; do
7770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7771 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7778 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7782 GMSGFMT
=$ac_cv_path_GMSGFMT
7784 if test -n "$GMSGFMT"; then
7785 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7786 echo "${ECHO_T}$GMSGFMT" >&6
7788 echo "$as_me:$LINENO: result: no" >&5
7789 echo "${ECHO_T}no" >&6
7792 # Extract the first word of "xgettext", so it can be a program name with args.
7793 set dummy xgettext
; ac_word
=$2
7794 echo "$as_me:$LINENO: checking for $ac_word" >&5
7795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7796 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7797 echo $ECHO_N "(cached) $ECHO_C" >&6
7801 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7804 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7805 for ac_dir
in $PATH; do
7806 test -z "$ac_dir" && ac_dir
=.
7807 if test -f $ac_dir/$ac_word; then
7808 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7809 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7815 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7819 XGETTEXT
="$ac_cv_path_XGETTEXT"
7820 if test -n "$XGETTEXT"; then
7821 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7822 echo "${ECHO_T}$XGETTEXT" >&6
7824 echo "$as_me:$LINENO: result: no" >&5
7825 echo "${ECHO_T}no" >&6
7828 cat >conftest.
$ac_ext <<_ACEOF
7831 cat confdefs.h
>>conftest.
$ac_ext
7832 cat >>conftest.
$ac_ext <<_ACEOF
7833 /* end confdefs.h. */
7838 extern int _nl_msg_cat_cntr;
7839 return _nl_msg_cat_cntr
7844 rm -f conftest.
$ac_objext conftest
$ac_exeext
7845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7846 (eval $ac_link) 2>conftest.er1
7848 grep -v '^ *+' conftest.er1
>conftest.err
7850 cat conftest.err
>&5
7851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7852 (exit $ac_status); } &&
7853 { ac_try
='test -z "$ac_c_werror_flag"
7854 || test ! -s conftest.err'
7855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7859 (exit $ac_status); }; } &&
7860 { ac_try
='test -s conftest$ac_exeext'
7861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865 (exit $ac_status); }; }; then
7869 echo "$as_me: failed program was:" >&5
7870 sed 's/^/| /' conftest.
$ac_ext >&5
7875 rm -f conftest.err conftest.
$ac_objext \
7876 conftest
$ac_exeext conftest.
$ac_ext
7886 if test x
"$CATOBJEXT" = x
&& test -d $srcdir/..
/intl
; then
7887 # Neither gettext nor catgets in included in the C library.
7888 # Fall back on GNU gettext library (assuming it is present).
7889 nls_cv_use_gnu_gettext
=yes
7893 if test "$nls_cv_use_gnu_gettext" = "yes"; then
7894 INTLOBJS
="\$(GETTOBJS)"
7895 # Extract the first word of "msgfmt", so it can be a program name with args.
7896 set dummy msgfmt
; ac_word
=$2
7897 echo "$as_me:$LINENO: checking for $ac_word" >&5
7898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7899 if test "${ac_cv_path_MSGFMT+set}" = set; then
7900 echo $ECHO_N "(cached) $ECHO_C" >&6
7904 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7907 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7908 for ac_dir
in $PATH; do
7909 test -z "$ac_dir" && ac_dir
=.
7910 if test -f $ac_dir/$ac_word; then
7911 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7912 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7918 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
7922 MSGFMT
="$ac_cv_path_MSGFMT"
7923 if test -n "$MSGFMT"; then
7924 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7925 echo "${ECHO_T}$MSGFMT" >&6
7927 echo "$as_me:$LINENO: result: no" >&5
7928 echo "${ECHO_T}no" >&6
7931 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7932 set dummy gmsgfmt
; ac_word
=$2
7933 echo "$as_me:$LINENO: checking for $ac_word" >&5
7934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7935 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7936 echo $ECHO_N "(cached) $ECHO_C" >&6
7940 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7947 test -z "$as_dir" && as_dir
=.
7948 for ac_exec_ext
in '' $ac_executable_extensions; do
7949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7950 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7957 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7961 GMSGFMT
=$ac_cv_path_GMSGFMT
7963 if test -n "$GMSGFMT"; then
7964 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7965 echo "${ECHO_T}$GMSGFMT" >&6
7967 echo "$as_me:$LINENO: result: no" >&5
7968 echo "${ECHO_T}no" >&6
7971 # Extract the first word of "xgettext", so it can be a program name with args.
7972 set dummy xgettext
; ac_word
=$2
7973 echo "$as_me:$LINENO: checking for $ac_word" >&5
7974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7975 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7976 echo $ECHO_N "(cached) $ECHO_C" >&6
7980 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7983 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7984 for ac_dir
in $PATH; do
7985 test -z "$ac_dir" && ac_dir
=.
7986 if test -f $ac_dir/$ac_word; then
7987 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7988 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7994 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7998 XGETTEXT
="$ac_cv_path_XGETTEXT"
7999 if test -n "$XGETTEXT"; then
8000 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8001 echo "${ECHO_T}$XGETTEXT" >&6
8003 echo "$as_me:$LINENO: result: no" >&5
8004 echo "${ECHO_T}no" >&6
8008 USE_INCLUDED_LIBINTL
=yes
8012 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
8014 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
8015 nls_cv_header_intl
=libintl.h
8016 nls_cv_header_libgt
=libgettext.h
8019 if test "$XGETTEXT" != ":"; then
8020 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
8023 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
8024 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
8029 # We need to process the po/ directory.
8033 nls_cv_header_intl
=libintl.h
8034 nls_cv_header_libgt
=libgettext.h
8037 # If this is used in GNU gettext we have to set USE_NLS to `yes'
8038 # because some of the sources are only built for this goal.
8039 if test "$PACKAGE" = gettext; then
8041 USE_INCLUDED_LIBINTL
=yes
8044 for lang
in $ALL_LINGUAS; do
8045 GMOFILES
="$GMOFILES $lang.gmo"
8046 POFILES
="$POFILES $lang.po"
8060 if test "x$CATOBJEXT" != "x"; then
8062 cat >>confdefs.h
<<\_ACEOF
8063 #define ENABLE_NLS 1
8069 if test "x$CATOBJEXT" != "x"; then
8070 if test "x$ALL_LINGUAS" = "x"; then
8073 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8074 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
8076 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
8077 case "$ALL_LINGUAS" in
8078 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
8081 LINGUAS
=$NEW_LINGUAS
8082 echo "$as_me:$LINENO: result: $LINGUAS" >&5
8083 echo "${ECHO_T}$LINGUAS" >&6
8086 if test -n "$LINGUAS"; then
8087 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
8091 if test $ac_cv_header_locale_h = yes; then
8092 INCLUDE_LOCALE_H
="#include <locale.h>"
8095 /* The system does not provide the header <locale.h>. Take care yourself. */"
8099 if test -f $srcdir/po2tbl.
sed.
in; then
8100 if test "$CATOBJEXT" = ".cat"; then
8101 if test "${ac_cv_header_linux_version_h+set}" = set; then
8102 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8103 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8104 if test "${ac_cv_header_linux_version_h+set}" = set; then
8105 echo $ECHO_N "(cached) $ECHO_C" >&6
8107 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8108 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8110 # Is the header compilable?
8111 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
8112 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
8113 cat >conftest.
$ac_ext <<_ACEOF
8116 cat confdefs.h
>>conftest.
$ac_ext
8117 cat >>conftest.
$ac_ext <<_ACEOF
8118 /* end confdefs.h. */
8119 $ac_includes_default
8120 #include <linux/version.h>
8122 rm -f conftest.
$ac_objext
8123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8124 (eval $ac_compile) 2>conftest.er1
8126 grep -v '^ *+' conftest.er1
>conftest.err
8128 cat conftest.err
>&5
8129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8130 (exit $ac_status); } &&
8131 { ac_try
='test -z "$ac_c_werror_flag"
8132 || test ! -s conftest.err'
8133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137 (exit $ac_status); }; } &&
8138 { ac_try
='test -s conftest.$ac_objext'
8139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 (exit $ac_status); }; }; then
8144 ac_header_compiler
=yes
8146 echo "$as_me: failed program was:" >&5
8147 sed 's/^/| /' conftest.
$ac_ext >&5
8149 ac_header_compiler
=no
8151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8152 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8153 echo "${ECHO_T}$ac_header_compiler" >&6
8155 # Is the header present?
8156 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
8157 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
8158 cat >conftest.
$ac_ext <<_ACEOF
8161 cat confdefs.h
>>conftest.
$ac_ext
8162 cat >>conftest.
$ac_ext <<_ACEOF
8163 /* end confdefs.h. */
8164 #include <linux/version.h>
8166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8167 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8169 grep -v '^ *+' conftest.er1
>conftest.err
8171 cat conftest.err
>&5
8172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8173 (exit $ac_status); } >/dev
/null
; then
8174 if test -s conftest.err
; then
8175 ac_cpp_err
=$ac_c_preproc_warn_flag
8176 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8183 if test -z "$ac_cpp_err"; then
8184 ac_header_preproc
=yes
8186 echo "$as_me: failed program was:" >&5
8187 sed 's/^/| /' conftest.
$ac_ext >&5
8189 ac_header_preproc
=no
8191 rm -f conftest.err conftest.
$ac_ext
8192 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8193 echo "${ECHO_T}$ac_header_preproc" >&6
8195 # So? What about this header?
8196 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8198 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
8199 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8200 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
8201 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
8202 ac_header_preproc
=yes
8205 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
8206 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
8207 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
8208 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
8209 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
8210 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
8211 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
8212 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
8213 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
8214 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
8215 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
8216 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
8219 ## ------------------------------------------ ##
8220 ## Report this to the AC_PACKAGE_NAME lists. ##
8221 ## ------------------------------------------ ##
8224 sed "s/^/$as_me: WARNING: /" >&2
8227 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8228 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8229 if test "${ac_cv_header_linux_version_h+set}" = set; then
8230 echo $ECHO_N "(cached) $ECHO_C" >&6
8232 ac_cv_header_linux_version_h
=$ac_header_preproc
8234 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8235 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8238 if test $ac_cv_header_linux_version_h = yes; then
8246 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
8248 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
8249 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
8252 if test "$PACKAGE" = "gettext"; then
8262 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
8268 if test -f $srcdir/po
/POTFILES.
in; then
8269 test -d po || mkdir po
8270 if test "x$srcdir" != "x."; then
8271 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
8272 posrcprefix
="$srcdir/"
8274 posrcprefix
="../$srcdir/"
8280 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
8281 < $srcdir/po
/POTFILES.
in > po
/POTFILES
8285 # Permit host specific settings.
8286 .
${srcdir}/configure.
host
8289 # Find a good install program. We prefer a C program (faster),
8290 # so one script is as good as another. But avoid the broken or
8291 # incompatible versions:
8292 # SysV /etc/install, /usr/sbin/install
8293 # SunOS /usr/etc/install
8294 # IRIX /sbin/install
8296 # AmigaOS /C/install, which installs bootblocks on floppy discs
8297 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8298 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8299 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8300 # OS/2's system install, which has a completely different semantic
8301 # ./install, which can be erroneously created by make from ./install.sh.
8302 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8303 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
8304 if test -z "$INSTALL"; then
8305 if test "${ac_cv_path_install+set}" = set; then
8306 echo $ECHO_N "(cached) $ECHO_C" >&6
8308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8312 test -z "$as_dir" && as_dir
=.
8313 # Account for people who put trailing slashes in PATH elements.
8315 .
/ | .
// |
/cC
/* | \
8316 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
8317 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
8320 # OSF1 and SCO ODT 3.0 have their own names for install.
8321 # Don't use installbsd from OSF since it installs stuff as root
8323 for ac_prog
in ginstall scoinst
install; do
8324 for ac_exec_ext
in '' $ac_executable_extensions; do
8325 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8326 if test $ac_prog = install &&
8327 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8328 # AIX install. It has an incompatible calling convention.
8330 elif test $ac_prog = install &&
8331 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8332 # program-specific install script used by HP pwplus--don't use.
8335 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
8347 if test "${ac_cv_path_install+set}" = set; then
8348 INSTALL
=$ac_cv_path_install
8350 # As a last resort, use the slow shell script. We don't cache a
8351 # path for INSTALL within a source directory, because that will
8352 # break other packages using the cache if that directory is
8353 # removed, or if the path is relative.
8354 INSTALL
=$ac_install_sh
8357 echo "$as_me:$LINENO: result: $INSTALL" >&5
8358 echo "${ECHO_T}$INSTALL" >&6
8360 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8361 # It thinks the first close brace ends the variable substitution.
8362 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8364 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
8366 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8369 BFD_HOST_64BIT_LONG
=0
8370 BFD_HOST_LONG_LONG
=0
8371 BFD_HOST_64_BIT_DEFINED
=0
8375 echo "$as_me:$LINENO: checking for long long" >&5
8376 echo $ECHO_N "checking for long long... $ECHO_C" >&6
8377 if test "${bfd_cv_has_long_long+set}" = set; then
8378 echo $ECHO_N "(cached) $ECHO_C" >&6
8380 cat >conftest.
$ac_ext <<_ACEOF
8383 cat confdefs.h
>>conftest.
$ac_ext
8384 cat >>conftest.
$ac_ext <<_ACEOF
8385 /* end confdefs.h. */
8390 unsigned long long ll = 18446744073709551615ULL;
8395 rm -f conftest.
$ac_objext
8396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8397 (eval $ac_compile) 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); } &&
8404 { ac_try
='test -z "$ac_c_werror_flag"
8405 || test ! -s conftest.err'
8406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410 (exit $ac_status); }; } &&
8411 { ac_try
='test -s conftest.$ac_objext'
8412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8416 (exit $ac_status); }; }; then
8417 bfd_cv_has_long_long
=yes
8419 echo "$as_me: failed program was:" >&5
8420 sed 's/^/| /' conftest.
$ac_ext >&5
8422 bfd_cv_has_long_long
=no
8424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8427 echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
8428 echo "${ECHO_T}$bfd_cv_has_long_long" >&6
8429 if test $bfd_cv_has_long_long = yes; then
8430 BFD_HOST_LONG_LONG
=1
8431 echo "$as_me:$LINENO: checking size of long long" >&5
8432 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
8433 if test "${ac_cv_sizeof_long_long+set}" = set; then
8434 echo $ECHO_N "(cached) $ECHO_C" >&6
8436 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
8437 cat >conftest.
$ac_ext <<_ACEOF
8440 cat confdefs.h
>>conftest.
$ac_ext
8441 cat >>conftest.
$ac_ext <<_ACEOF
8442 /* end confdefs.h. */
8443 #include "confdefs.h"
8444 #include <sys/types.h>
8450 switch (0) case 0: case (sizeof (long long) == $ac_size):;
8455 rm -f conftest.
$ac_objext
8456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8457 (eval $ac_compile) 2>conftest.er1
8459 grep -v '^ *+' conftest.er1
>conftest.err
8461 cat conftest.err
>&5
8462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8463 (exit $ac_status); } &&
8464 { ac_try
='test -z "$ac_c_werror_flag"
8465 || test ! -s conftest.err'
8466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 (exit $ac_status); }; } &&
8471 { ac_try
='test -s conftest.$ac_objext'
8472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8476 (exit $ac_status); }; }; then
8477 ac_cv_sizeof_long_long
=$ac_size
8479 echo "$as_me: failed program was:" >&5
8480 sed 's/^/| /' conftest.
$ac_ext >&5
8483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8484 if test x
$ac_cv_sizeof_long_long != x
; then break; fi
8489 if test x
$ac_cv_sizeof_long_long = x
; then
8490 { { echo "$as_me:$LINENO: error: cannot determine a size for long long" >&5
8491 echo "$as_me: error: cannot determine a size for long long" >&2;}
8492 { (exit 1); exit 1; }; }
8494 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
8495 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
8497 cat >>confdefs.h
<<_ACEOF
8498 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8504 echo "$as_me:$LINENO: checking size of long" >&5
8505 echo $ECHO_N "checking size of long... $ECHO_C" >&6
8506 if test "${ac_cv_sizeof_long+set}" = set; then
8507 echo $ECHO_N "(cached) $ECHO_C" >&6
8509 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
8510 cat >conftest.
$ac_ext <<_ACEOF
8513 cat confdefs.h
>>conftest.
$ac_ext
8514 cat >>conftest.
$ac_ext <<_ACEOF
8515 /* end confdefs.h. */
8516 #include "confdefs.h"
8517 #include <sys/types.h>
8523 switch (0) case 0: case (sizeof (long) == $ac_size):;
8528 rm -f conftest.
$ac_objext
8529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8530 (eval $ac_compile) 2>conftest.er1
8532 grep -v '^ *+' conftest.er1
>conftest.err
8534 cat conftest.err
>&5
8535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 (exit $ac_status); } &&
8537 { ac_try
='test -z "$ac_c_werror_flag"
8538 || test ! -s conftest.err'
8539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543 (exit $ac_status); }; } &&
8544 { ac_try
='test -s conftest.$ac_objext'
8545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549 (exit $ac_status); }; }; then
8550 ac_cv_sizeof_long
=$ac_size
8552 echo "$as_me: failed program was:" >&5
8553 sed 's/^/| /' conftest.
$ac_ext >&5
8556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8557 if test x
$ac_cv_sizeof_long != x
; then break; fi
8562 if test x
$ac_cv_sizeof_long = x
; then
8563 { { echo "$as_me:$LINENO: error: cannot determine a size for long" >&5
8564 echo "$as_me: error: cannot determine a size for long" >&2;}
8565 { (exit 1); exit 1; }; }
8567 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
8568 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8570 cat >>confdefs.h
<<_ACEOF
8571 #define SIZEOF_LONG $ac_cv_sizeof_long
8575 if test "x${ac_cv_sizeof_long}" = "x8"; then
8577 BFD_HOST_64BIT_LONG
=1
8578 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long"
8579 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long"
8580 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
8581 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long long"
8582 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long long"
8585 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
8586 BFD_HOST_64_BIT_DEFINED
=1
8587 BFD_HOST_64_BIT
="${HOST_64BIT_TYPE}"
8588 BFD_HOST_U_64_BIT
="${HOST_U_64BIT_TYPE}"
8597 # Put a plausible default for CC_FOR_BUILD in Makefile.
8598 if test -z "$CC_FOR_BUILD"; then
8599 if test "x$cross_compiling" = "xno"; then
8600 CC_FOR_BUILD
='$(CC)'
8606 # Also set EXEEXT_FOR_BUILD.
8607 if test "x$cross_compiling" = "xno"; then
8608 EXEEXT_FOR_BUILD
='$(EXEEXT)'
8610 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
8611 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
8612 if test "${bfd_cv_build_exeext+set}" = set; then
8613 echo $ECHO_N "(cached) $ECHO_C" >&6
8616 echo 'int main () { return 0; }' > conftest.c
8617 bfd_cv_build_exeext
=
8618 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
8619 for file in conftest.
*; do
8621 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
8622 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
8626 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
8628 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
8629 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
8631 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
8641 for ac_header
in stddef.h string.h
strings.h stdlib.h
time.h unistd.h
8643 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8645 echo "$as_me:$LINENO: checking for $ac_header" >&5
8646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8648 echo $ECHO_N "(cached) $ECHO_C" >&6
8650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8653 # Is the header compilable?
8654 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8655 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8656 cat >conftest.
$ac_ext <<_ACEOF
8659 cat confdefs.h
>>conftest.
$ac_ext
8660 cat >>conftest.
$ac_ext <<_ACEOF
8661 /* end confdefs.h. */
8662 $ac_includes_default
8663 #include <$ac_header>
8665 rm -f conftest.
$ac_objext
8666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8667 (eval $ac_compile) 2>conftest.er1
8669 grep -v '^ *+' conftest.er1
>conftest.err
8671 cat conftest.err
>&5
8672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8673 (exit $ac_status); } &&
8674 { ac_try
='test -z "$ac_c_werror_flag"
8675 || test ! -s conftest.err'
8676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680 (exit $ac_status); }; } &&
8681 { ac_try
='test -s conftest.$ac_objext'
8682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686 (exit $ac_status); }; }; then
8687 ac_header_compiler
=yes
8689 echo "$as_me: failed program was:" >&5
8690 sed 's/^/| /' conftest.
$ac_ext >&5
8692 ac_header_compiler
=no
8694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8695 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8696 echo "${ECHO_T}$ac_header_compiler" >&6
8698 # Is the header present?
8699 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8700 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8701 cat >conftest.
$ac_ext <<_ACEOF
8704 cat confdefs.h
>>conftest.
$ac_ext
8705 cat >>conftest.
$ac_ext <<_ACEOF
8706 /* end confdefs.h. */
8707 #include <$ac_header>
8709 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8710 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8712 grep -v '^ *+' conftest.er1
>conftest.err
8714 cat conftest.err
>&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); } >/dev
/null
; then
8717 if test -s conftest.err
; then
8718 ac_cpp_err
=$ac_c_preproc_warn_flag
8719 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8726 if test -z "$ac_cpp_err"; then
8727 ac_header_preproc
=yes
8729 echo "$as_me: failed program was:" >&5
8730 sed 's/^/| /' conftest.
$ac_ext >&5
8732 ac_header_preproc
=no
8734 rm -f conftest.err conftest.
$ac_ext
8735 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8736 echo "${ECHO_T}$ac_header_preproc" >&6
8738 # So? What about this header?
8739 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8741 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8742 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8744 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8745 ac_header_preproc
=yes
8748 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8749 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8750 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8751 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8752 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8753 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8754 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8755 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8756 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8757 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8758 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8759 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8762 ## ------------------------------------------ ##
8763 ## Report this to the AC_PACKAGE_NAME lists. ##
8764 ## ------------------------------------------ ##
8767 sed "s/^/$as_me: WARNING: /" >&2
8770 echo "$as_me:$LINENO: checking for $ac_header" >&5
8771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8773 echo $ECHO_N "(cached) $ECHO_C" >&6
8775 eval "$as_ac_Header=\$ac_header_preproc"
8777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8781 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8782 cat >>confdefs.h
<<_ACEOF
8783 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8793 for ac_header
in fcntl.h sys
/file.h sys
/time.h
8795 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8797 echo "$as_me:$LINENO: checking for $ac_header" >&5
8798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8800 echo $ECHO_N "(cached) $ECHO_C" >&6
8802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8805 # Is the header compilable?
8806 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8807 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8808 cat >conftest.
$ac_ext <<_ACEOF
8811 cat confdefs.h
>>conftest.
$ac_ext
8812 cat >>conftest.
$ac_ext <<_ACEOF
8813 /* end confdefs.h. */
8814 $ac_includes_default
8815 #include <$ac_header>
8817 rm -f conftest.
$ac_objext
8818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8819 (eval $ac_compile) 2>conftest.er1
8821 grep -v '^ *+' conftest.er1
>conftest.err
8823 cat conftest.err
>&5
8824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825 (exit $ac_status); } &&
8826 { ac_try
='test -z "$ac_c_werror_flag"
8827 || test ! -s conftest.err'
8828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8832 (exit $ac_status); }; } &&
8833 { ac_try
='test -s conftest.$ac_objext'
8834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838 (exit $ac_status); }; }; then
8839 ac_header_compiler
=yes
8841 echo "$as_me: failed program was:" >&5
8842 sed 's/^/| /' conftest.
$ac_ext >&5
8844 ac_header_compiler
=no
8846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8847 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8848 echo "${ECHO_T}$ac_header_compiler" >&6
8850 # Is the header present?
8851 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8852 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8853 cat >conftest.
$ac_ext <<_ACEOF
8856 cat confdefs.h
>>conftest.
$ac_ext
8857 cat >>conftest.
$ac_ext <<_ACEOF
8858 /* end confdefs.h. */
8859 #include <$ac_header>
8861 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8862 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8864 grep -v '^ *+' conftest.er1
>conftest.err
8866 cat conftest.err
>&5
8867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868 (exit $ac_status); } >/dev
/null
; then
8869 if test -s conftest.err
; then
8870 ac_cpp_err
=$ac_c_preproc_warn_flag
8871 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8878 if test -z "$ac_cpp_err"; then
8879 ac_header_preproc
=yes
8881 echo "$as_me: failed program was:" >&5
8882 sed 's/^/| /' conftest.
$ac_ext >&5
8884 ac_header_preproc
=no
8886 rm -f conftest.err conftest.
$ac_ext
8887 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8888 echo "${ECHO_T}$ac_header_preproc" >&6
8890 # So? What about this header?
8891 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8893 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8894 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8896 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8897 ac_header_preproc
=yes
8900 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8901 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8902 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8903 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8904 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8905 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8906 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8907 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8910 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8911 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8914 ## ------------------------------------------ ##
8915 ## Report this to the AC_PACKAGE_NAME lists. ##
8916 ## ------------------------------------------ ##
8919 sed "s/^/$as_me: WARNING: /" >&2
8922 echo "$as_me:$LINENO: checking for $ac_header" >&5
8923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8925 echo $ECHO_N "(cached) $ECHO_C" >&6
8927 eval "$as_ac_Header=\$ac_header_preproc"
8929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8934 cat >>confdefs.h
<<_ACEOF
8935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8942 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8943 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8944 if test "${ac_cv_header_time+set}" = set; then
8945 echo $ECHO_N "(cached) $ECHO_C" >&6
8947 cat >conftest.
$ac_ext <<_ACEOF
8950 cat confdefs.h
>>conftest.
$ac_ext
8951 cat >>conftest.
$ac_ext <<_ACEOF
8952 /* end confdefs.h. */
8953 #include <sys/types.h>
8954 #include <sys/time.h>
8960 if ((struct tm *) 0)
8966 rm -f conftest.
$ac_objext
8967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8968 (eval $ac_compile) 2>conftest.er1
8970 grep -v '^ *+' conftest.er1
>conftest.err
8972 cat conftest.err
>&5
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); } &&
8975 { ac_try
='test -z "$ac_c_werror_flag"
8976 || test ! -s conftest.err'
8977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); }; } &&
8982 { ac_try
='test -s conftest.$ac_objext'
8983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987 (exit $ac_status); }; }; then
8988 ac_cv_header_time
=yes
8990 echo "$as_me: failed program was:" >&5
8991 sed 's/^/| /' conftest.
$ac_ext >&5
8993 ac_cv_header_time
=no
8995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8997 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8998 echo "${ECHO_T}$ac_cv_header_time" >&6
8999 if test $ac_cv_header_time = yes; then
9001 cat >>confdefs.h
<<\_ACEOF
9002 #define TIME_WITH_SYS_TIME 1
9013 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9014 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9015 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
9016 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
9017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9018 echo $ECHO_N "(cached) $ECHO_C" >&6
9020 cat >conftest.
$ac_ext <<_ACEOF
9023 cat confdefs.h
>>conftest.
$ac_ext
9024 cat >>conftest.
$ac_ext <<_ACEOF
9025 /* end confdefs.h. */
9026 #include <sys/types.h>
9038 rm -f conftest.
$ac_objext
9039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9040 (eval $ac_compile) 2>conftest.er1
9042 grep -v '^ *+' conftest.er1
>conftest.err
9044 cat conftest.err
>&5
9045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046 (exit $ac_status); } &&
9047 { ac_try
='test -z "$ac_c_werror_flag"
9048 || test ! -s conftest.err'
9049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053 (exit $ac_status); }; } &&
9054 { ac_try
='test -s conftest.$ac_objext'
9055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9059 (exit $ac_status); }; }; then
9060 eval "$as_ac_Header=yes"
9062 echo "$as_me: failed program was:" >&5
9063 sed 's/^/| /' conftest.
$ac_ext >&5
9065 eval "$as_ac_Header=no"
9067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9071 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9072 cat >>confdefs.h
<<_ACEOF
9073 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9076 ac_header_dirent
=$ac_hdr; break
9080 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9081 if test $ac_header_dirent = dirent.h
; then
9082 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9083 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9084 if test "${ac_cv_search_opendir+set}" = set; then
9085 echo $ECHO_N "(cached) $ECHO_C" >&6
9087 ac_func_search_save_LIBS
=$LIBS
9088 ac_cv_search_opendir
=no
9089 cat >conftest.
$ac_ext <<_ACEOF
9092 cat confdefs.h
>>conftest.
$ac_ext
9093 cat >>conftest.
$ac_ext <<_ACEOF
9094 /* end confdefs.h. */
9096 /* Override any gcc2 internal prototype to avoid an error. */
9100 /* We use char because int might match the return type of a gcc2
9101 builtin and then its argument prototype would still apply. */
9111 rm -f conftest.
$ac_objext conftest
$ac_exeext
9112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9113 (eval $ac_link) 2>conftest.er1
9115 grep -v '^ *+' conftest.er1
>conftest.err
9117 cat conftest.err
>&5
9118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119 (exit $ac_status); } &&
9120 { ac_try
='test -z "$ac_c_werror_flag"
9121 || test ! -s conftest.err'
9122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9126 (exit $ac_status); }; } &&
9127 { ac_try
='test -s conftest$ac_exeext'
9128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132 (exit $ac_status); }; }; then
9133 ac_cv_search_opendir
="none required"
9135 echo "$as_me: failed program was:" >&5
9136 sed 's/^/| /' conftest.
$ac_ext >&5
9139 rm -f conftest.err conftest.
$ac_objext \
9140 conftest
$ac_exeext conftest.
$ac_ext
9141 if test "$ac_cv_search_opendir" = no
; then
9142 for ac_lib
in dir
; do
9143 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9144 cat >conftest.
$ac_ext <<_ACEOF
9147 cat confdefs.h
>>conftest.
$ac_ext
9148 cat >>conftest.
$ac_ext <<_ACEOF
9149 /* end confdefs.h. */
9151 /* Override any gcc2 internal prototype to avoid an error. */
9155 /* We use char because int might match the return type of a gcc2
9156 builtin and then its argument prototype would still apply. */
9166 rm -f conftest.
$ac_objext conftest
$ac_exeext
9167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9168 (eval $ac_link) 2>conftest.er1
9170 grep -v '^ *+' conftest.er1
>conftest.err
9172 cat conftest.err
>&5
9173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9174 (exit $ac_status); } &&
9175 { ac_try
='test -z "$ac_c_werror_flag"
9176 || test ! -s conftest.err'
9177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9181 (exit $ac_status); }; } &&
9182 { ac_try
='test -s conftest$ac_exeext'
9183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9187 (exit $ac_status); }; }; then
9188 ac_cv_search_opendir
="-l$ac_lib"
9191 echo "$as_me: failed program was:" >&5
9192 sed 's/^/| /' conftest.
$ac_ext >&5
9195 rm -f conftest.err conftest.
$ac_objext \
9196 conftest
$ac_exeext conftest.
$ac_ext
9199 LIBS
=$ac_func_search_save_LIBS
9201 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9202 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9203 if test "$ac_cv_search_opendir" != no
; then
9204 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9209 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9210 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9211 if test "${ac_cv_search_opendir+set}" = set; then
9212 echo $ECHO_N "(cached) $ECHO_C" >&6
9214 ac_func_search_save_LIBS
=$LIBS
9215 ac_cv_search_opendir
=no
9216 cat >conftest.
$ac_ext <<_ACEOF
9219 cat confdefs.h
>>conftest.
$ac_ext
9220 cat >>conftest.
$ac_ext <<_ACEOF
9221 /* end confdefs.h. */
9223 /* Override any gcc2 internal prototype to avoid an error. */
9227 /* We use char because int might match the return type of a gcc2
9228 builtin and then its argument prototype would still apply. */
9238 rm -f conftest.
$ac_objext conftest
$ac_exeext
9239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9240 (eval $ac_link) 2>conftest.er1
9242 grep -v '^ *+' conftest.er1
>conftest.err
9244 cat conftest.err
>&5
9245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9246 (exit $ac_status); } &&
9247 { ac_try
='test -z "$ac_c_werror_flag"
9248 || test ! -s conftest.err'
9249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9253 (exit $ac_status); }; } &&
9254 { ac_try
='test -s conftest$ac_exeext'
9255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9259 (exit $ac_status); }; }; then
9260 ac_cv_search_opendir
="none required"
9262 echo "$as_me: failed program was:" >&5
9263 sed 's/^/| /' conftest.
$ac_ext >&5
9266 rm -f conftest.err conftest.
$ac_objext \
9267 conftest
$ac_exeext conftest.
$ac_ext
9268 if test "$ac_cv_search_opendir" = no
; then
9270 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9271 cat >conftest.
$ac_ext <<_ACEOF
9274 cat confdefs.h
>>conftest.
$ac_ext
9275 cat >>conftest.
$ac_ext <<_ACEOF
9276 /* end confdefs.h. */
9278 /* Override any gcc2 internal prototype to avoid an error. */
9282 /* We use char because int might match the return type of a gcc2
9283 builtin and then its argument prototype would still apply. */
9293 rm -f conftest.
$ac_objext conftest
$ac_exeext
9294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9295 (eval $ac_link) 2>conftest.er1
9297 grep -v '^ *+' conftest.er1
>conftest.err
9299 cat conftest.err
>&5
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); } &&
9302 { ac_try
='test -z "$ac_c_werror_flag"
9303 || test ! -s conftest.err'
9304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9308 (exit $ac_status); }; } &&
9309 { ac_try
='test -s conftest$ac_exeext'
9310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9314 (exit $ac_status); }; }; then
9315 ac_cv_search_opendir
="-l$ac_lib"
9318 echo "$as_me: failed program was:" >&5
9319 sed 's/^/| /' conftest.
$ac_ext >&5
9322 rm -f conftest.err conftest.
$ac_objext \
9323 conftest
$ac_exeext conftest.
$ac_ext
9326 LIBS
=$ac_func_search_save_LIBS
9328 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9329 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9330 if test "$ac_cv_search_opendir" != no
; then
9331 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9344 for ac_func
in fcntl getpagesize setitimer sysconf fdopen getuid getgid
9346 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9347 echo "$as_me:$LINENO: checking for $ac_func" >&5
9348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9349 if eval "test \"\${$as_ac_var+set}\" = set"; then
9350 echo $ECHO_N "(cached) $ECHO_C" >&6
9352 cat >conftest.
$ac_ext <<_ACEOF
9355 cat confdefs.h
>>conftest.
$ac_ext
9356 cat >>conftest.
$ac_ext <<_ACEOF
9357 /* end confdefs.h. */
9358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9360 #define $ac_func innocuous_$ac_func
9362 /* System header to define __stub macros and hopefully few prototypes,
9363 which can conflict with char $ac_func (); below.
9364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9365 <limits.h> exists even on freestanding compilers. */
9368 # include <limits.h>
9370 # include <assert.h>
9375 /* Override any gcc2 internal prototype to avoid an error. */
9380 /* We use char because int might match the return type of a gcc2
9381 builtin and then its argument prototype would still apply. */
9383 /* The GNU C library defines this for functions which it implements
9384 to always fail with ENOSYS. Some functions are actually named
9385 something starting with __ and the normal name is an alias. */
9386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9389 char (*f) () = $ac_func;
9398 return f != $ac_func;
9403 rm -f conftest.
$ac_objext conftest
$ac_exeext
9404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9405 (eval $ac_link) 2>conftest.er1
9407 grep -v '^ *+' conftest.er1
>conftest.err
9409 cat conftest.err
>&5
9410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9411 (exit $ac_status); } &&
9412 { ac_try
='test -z "$ac_c_werror_flag"
9413 || test ! -s conftest.err'
9414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9418 (exit $ac_status); }; } &&
9419 { ac_try
='test -s conftest$ac_exeext'
9420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9424 (exit $ac_status); }; }; then
9425 eval "$as_ac_var=yes"
9427 echo "$as_me: failed program was:" >&5
9428 sed 's/^/| /' conftest.
$ac_ext >&5
9430 eval "$as_ac_var=no"
9432 rm -f conftest.err conftest.
$ac_objext \
9433 conftest
$ac_exeext conftest.
$ac_ext
9435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9437 if test `eval echo '${'$as_ac_var'}'` = yes; then
9438 cat >>confdefs.h
<<_ACEOF
9439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9446 for ac_func
in strtoull
9448 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9449 echo "$as_me:$LINENO: checking for $ac_func" >&5
9450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9451 if eval "test \"\${$as_ac_var+set}\" = set"; then
9452 echo $ECHO_N "(cached) $ECHO_C" >&6
9454 cat >conftest.
$ac_ext <<_ACEOF
9457 cat confdefs.h
>>conftest.
$ac_ext
9458 cat >>conftest.
$ac_ext <<_ACEOF
9459 /* end confdefs.h. */
9460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9462 #define $ac_func innocuous_$ac_func
9464 /* System header to define __stub macros and hopefully few prototypes,
9465 which can conflict with char $ac_func (); below.
9466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9467 <limits.h> exists even on freestanding compilers. */
9470 # include <limits.h>
9472 # include <assert.h>
9477 /* Override any gcc2 internal prototype to avoid an error. */
9482 /* We use char because int might match the return type of a gcc2
9483 builtin and then its argument prototype would still apply. */
9485 /* The GNU C library defines this for functions which it implements
9486 to always fail with ENOSYS. Some functions are actually named
9487 something starting with __ and the normal name is an alias. */
9488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9491 char (*f) () = $ac_func;
9500 return f != $ac_func;
9505 rm -f conftest.
$ac_objext conftest
$ac_exeext
9506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9507 (eval $ac_link) 2>conftest.er1
9509 grep -v '^ *+' conftest.er1
>conftest.err
9511 cat conftest.err
>&5
9512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9513 (exit $ac_status); } &&
9514 { ac_try
='test -z "$ac_c_werror_flag"
9515 || test ! -s conftest.err'
9516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9520 (exit $ac_status); }; } &&
9521 { ac_try
='test -s conftest$ac_exeext'
9522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9526 (exit $ac_status); }; }; then
9527 eval "$as_ac_var=yes"
9529 echo "$as_me: failed program was:" >&5
9530 sed 's/^/| /' conftest.
$ac_ext >&5
9532 eval "$as_ac_var=no"
9534 rm -f conftest.err conftest.
$ac_objext \
9535 conftest
$ac_exeext conftest.
$ac_ext
9537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9539 if test `eval echo '${'$as_ac_var'}'` = yes; then
9540 cat >>confdefs.h
<<_ACEOF
9541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9548 echo "$as_me:$LINENO: checking whether basename is declared" >&5
9549 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
9550 if test "${ac_cv_have_decl_basename+set}" = set; then
9551 echo $ECHO_N "(cached) $ECHO_C" >&6
9553 cat >conftest.
$ac_ext <<_ACEOF
9556 cat confdefs.h
>>conftest.
$ac_ext
9557 cat >>conftest.
$ac_ext <<_ACEOF
9558 /* end confdefs.h. */
9559 $ac_includes_default
9564 char *p = (char *) basename;
9571 rm -f conftest.
$ac_objext
9572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9573 (eval $ac_compile) 2>conftest.er1
9575 grep -v '^ *+' conftest.er1
>conftest.err
9577 cat conftest.err
>&5
9578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9579 (exit $ac_status); } &&
9580 { ac_try
='test -z "$ac_c_werror_flag"
9581 || test ! -s conftest.err'
9582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9586 (exit $ac_status); }; } &&
9587 { ac_try
='test -s conftest.$ac_objext'
9588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9592 (exit $ac_status); }; }; then
9593 ac_cv_have_decl_basename
=yes
9595 echo "$as_me: failed program was:" >&5
9596 sed 's/^/| /' conftest.
$ac_ext >&5
9598 ac_cv_have_decl_basename
=no
9600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9602 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
9603 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
9604 if test $ac_cv_have_decl_basename = yes; then
9606 cat >>confdefs.h
<<_ACEOF
9607 #define HAVE_DECL_BASENAME 1
9612 cat >>confdefs.h
<<_ACEOF
9613 #define HAVE_DECL_BASENAME 0
9620 echo "$as_me:$LINENO: checking whether ftello is declared" >&5
9621 echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6
9622 if test "${ac_cv_have_decl_ftello+set}" = set; then
9623 echo $ECHO_N "(cached) $ECHO_C" >&6
9625 cat >conftest.
$ac_ext <<_ACEOF
9628 cat confdefs.h
>>conftest.
$ac_ext
9629 cat >>conftest.
$ac_ext <<_ACEOF
9630 /* end confdefs.h. */
9631 $ac_includes_default
9636 char *p = (char *) ftello;
9643 rm -f conftest.
$ac_objext
9644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9645 (eval $ac_compile) 2>conftest.er1
9647 grep -v '^ *+' conftest.er1
>conftest.err
9649 cat conftest.err
>&5
9650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9651 (exit $ac_status); } &&
9652 { ac_try
='test -z "$ac_c_werror_flag"
9653 || test ! -s conftest.err'
9654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9658 (exit $ac_status); }; } &&
9659 { ac_try
='test -s conftest.$ac_objext'
9660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9664 (exit $ac_status); }; }; then
9665 ac_cv_have_decl_ftello
=yes
9667 echo "$as_me: failed program was:" >&5
9668 sed 's/^/| /' conftest.
$ac_ext >&5
9670 ac_cv_have_decl_ftello
=no
9672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9674 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
9675 echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6
9676 if test $ac_cv_have_decl_ftello = yes; then
9678 cat >>confdefs.h
<<_ACEOF
9679 #define HAVE_DECL_FTELLO 1
9684 cat >>confdefs.h
<<_ACEOF
9685 #define HAVE_DECL_FTELLO 0
9692 echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
9693 echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6
9694 if test "${ac_cv_have_decl_ftello64+set}" = set; then
9695 echo $ECHO_N "(cached) $ECHO_C" >&6
9697 cat >conftest.
$ac_ext <<_ACEOF
9700 cat confdefs.h
>>conftest.
$ac_ext
9701 cat >>conftest.
$ac_ext <<_ACEOF
9702 /* end confdefs.h. */
9703 $ac_includes_default
9708 char *p = (char *) ftello64;
9715 rm -f conftest.
$ac_objext
9716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9717 (eval $ac_compile) 2>conftest.er1
9719 grep -v '^ *+' conftest.er1
>conftest.err
9721 cat conftest.err
>&5
9722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9723 (exit $ac_status); } &&
9724 { ac_try
='test -z "$ac_c_werror_flag"
9725 || test ! -s conftest.err'
9726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9730 (exit $ac_status); }; } &&
9731 { ac_try
='test -s conftest.$ac_objext'
9732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9736 (exit $ac_status); }; }; then
9737 ac_cv_have_decl_ftello64
=yes
9739 echo "$as_me: failed program was:" >&5
9740 sed 's/^/| /' conftest.
$ac_ext >&5
9742 ac_cv_have_decl_ftello64
=no
9744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9746 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
9747 echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6
9748 if test $ac_cv_have_decl_ftello64 = yes; then
9750 cat >>confdefs.h
<<_ACEOF
9751 #define HAVE_DECL_FTELLO64 1
9756 cat >>confdefs.h
<<_ACEOF
9757 #define HAVE_DECL_FTELLO64 0
9764 echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
9765 echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6
9766 if test "${ac_cv_have_decl_fseeko+set}" = set; then
9767 echo $ECHO_N "(cached) $ECHO_C" >&6
9769 cat >conftest.
$ac_ext <<_ACEOF
9772 cat confdefs.h
>>conftest.
$ac_ext
9773 cat >>conftest.
$ac_ext <<_ACEOF
9774 /* end confdefs.h. */
9775 $ac_includes_default
9780 char *p = (char *) fseeko;
9787 rm -f conftest.
$ac_objext
9788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9789 (eval $ac_compile) 2>conftest.er1
9791 grep -v '^ *+' conftest.er1
>conftest.err
9793 cat conftest.err
>&5
9794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9795 (exit $ac_status); } &&
9796 { ac_try
='test -z "$ac_c_werror_flag"
9797 || test ! -s conftest.err'
9798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9802 (exit $ac_status); }; } &&
9803 { ac_try
='test -s conftest.$ac_objext'
9804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9808 (exit $ac_status); }; }; then
9809 ac_cv_have_decl_fseeko
=yes
9811 echo "$as_me: failed program was:" >&5
9812 sed 's/^/| /' conftest.
$ac_ext >&5
9814 ac_cv_have_decl_fseeko
=no
9816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9818 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
9819 echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6
9820 if test $ac_cv_have_decl_fseeko = yes; then
9822 cat >>confdefs.h
<<_ACEOF
9823 #define HAVE_DECL_FSEEKO 1
9828 cat >>confdefs.h
<<_ACEOF
9829 #define HAVE_DECL_FSEEKO 0
9836 echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
9837 echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6
9838 if test "${ac_cv_have_decl_fseeko64+set}" = set; then
9839 echo $ECHO_N "(cached) $ECHO_C" >&6
9841 cat >conftest.
$ac_ext <<_ACEOF
9844 cat confdefs.h
>>conftest.
$ac_ext
9845 cat >>conftest.
$ac_ext <<_ACEOF
9846 /* end confdefs.h. */
9847 $ac_includes_default
9852 char *p = (char *) fseeko64;
9859 rm -f conftest.
$ac_objext
9860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9861 (eval $ac_compile) 2>conftest.er1
9863 grep -v '^ *+' conftest.er1
>conftest.err
9865 cat conftest.err
>&5
9866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9867 (exit $ac_status); } &&
9868 { ac_try
='test -z "$ac_c_werror_flag"
9869 || test ! -s conftest.err'
9870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9874 (exit $ac_status); }; } &&
9875 { ac_try
='test -s conftest.$ac_objext'
9876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9880 (exit $ac_status); }; }; then
9881 ac_cv_have_decl_fseeko64
=yes
9883 echo "$as_me: failed program was:" >&5
9884 sed 's/^/| /' conftest.
$ac_ext >&5
9886 ac_cv_have_decl_fseeko64
=no
9888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9890 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
9891 echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6
9892 if test $ac_cv_have_decl_fseeko64 = yes; then
9894 cat >>confdefs.h
<<_ACEOF
9895 #define HAVE_DECL_FSEEKO64 1
9900 cat >>confdefs.h
<<_ACEOF
9901 #define HAVE_DECL_FSEEKO64 0
9911 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
9913 cat >>confdefs.h
<<\_ACEOF
9914 #define USE_BINARY_FOPEN 1
9919 echo "$as_me:$LINENO: checking whether ffs is declared" >&5
9920 echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
9921 if test "${ac_cv_have_decl_ffs+set}" = set; then
9922 echo $ECHO_N "(cached) $ECHO_C" >&6
9924 cat >conftest.
$ac_ext <<_ACEOF
9927 cat confdefs.h
>>conftest.
$ac_ext
9928 cat >>conftest.
$ac_ext <<_ACEOF
9929 /* end confdefs.h. */
9930 $ac_includes_default
9935 char *p = (char *) ffs;
9942 rm -f conftest.
$ac_objext
9943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9944 (eval $ac_compile) 2>conftest.er1
9946 grep -v '^ *+' conftest.er1
>conftest.err
9948 cat conftest.err
>&5
9949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950 (exit $ac_status); } &&
9951 { ac_try
='test -z "$ac_c_werror_flag"
9952 || test ! -s conftest.err'
9953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9957 (exit $ac_status); }; } &&
9958 { ac_try
='test -s conftest.$ac_objext'
9959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9963 (exit $ac_status); }; }; then
9964 ac_cv_have_decl_ffs
=yes
9966 echo "$as_me: failed program was:" >&5
9967 sed 's/^/| /' conftest.
$ac_ext >&5
9969 ac_cv_have_decl_ffs
=no
9971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9973 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
9974 echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
9975 if test $ac_cv_have_decl_ffs = yes; then
9977 cat >>confdefs.h
<<_ACEOF
9978 #define HAVE_DECL_FFS 1
9983 cat >>confdefs.h
<<_ACEOF
9984 #define HAVE_DECL_FFS 0
9991 echo "$as_me:$LINENO: checking whether free is declared" >&5
9992 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
9993 if test "${ac_cv_have_decl_free+set}" = set; then
9994 echo $ECHO_N "(cached) $ECHO_C" >&6
9996 cat >conftest.
$ac_ext <<_ACEOF
9999 cat confdefs.h
>>conftest.
$ac_ext
10000 cat >>conftest.
$ac_ext <<_ACEOF
10001 /* end confdefs.h. */
10002 $ac_includes_default
10007 char *p = (char *) free;
10014 rm -f conftest.
$ac_objext
10015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10016 (eval $ac_compile) 2>conftest.er1
10018 grep -v '^ *+' conftest.er1
>conftest.err
10020 cat conftest.err
>&5
10021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10022 (exit $ac_status); } &&
10023 { ac_try
='test -z "$ac_c_werror_flag"
10024 || test ! -s conftest.err'
10025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10026 (eval $ac_try) 2>&5
10028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10029 (exit $ac_status); }; } &&
10030 { ac_try
='test -s conftest.$ac_objext'
10031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10032 (eval $ac_try) 2>&5
10034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035 (exit $ac_status); }; }; then
10036 ac_cv_have_decl_free
=yes
10038 echo "$as_me: failed program was:" >&5
10039 sed 's/^/| /' conftest.
$ac_ext >&5
10041 ac_cv_have_decl_free
=no
10043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10045 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
10046 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
10047 if test $ac_cv_have_decl_free = yes; then
10049 cat >>confdefs.h
<<_ACEOF
10050 #define HAVE_DECL_FREE 1
10055 cat >>confdefs.h
<<_ACEOF
10056 #define HAVE_DECL_FREE 0
10063 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
10064 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
10065 if test "${ac_cv_have_decl_getenv+set}" = set; then
10066 echo $ECHO_N "(cached) $ECHO_C" >&6
10068 cat >conftest.
$ac_ext <<_ACEOF
10071 cat confdefs.h
>>conftest.
$ac_ext
10072 cat >>conftest.
$ac_ext <<_ACEOF
10073 /* end confdefs.h. */
10074 $ac_includes_default
10079 char *p = (char *) getenv;
10086 rm -f conftest.
$ac_objext
10087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10088 (eval $ac_compile) 2>conftest.er1
10090 grep -v '^ *+' conftest.er1
>conftest.err
10092 cat conftest.err
>&5
10093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094 (exit $ac_status); } &&
10095 { ac_try
='test -z "$ac_c_werror_flag"
10096 || test ! -s conftest.err'
10097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10098 (eval $ac_try) 2>&5
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); }; } &&
10102 { ac_try
='test -s conftest.$ac_objext'
10103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10104 (eval $ac_try) 2>&5
10106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10107 (exit $ac_status); }; }; then
10108 ac_cv_have_decl_getenv
=yes
10110 echo "$as_me: failed program was:" >&5
10111 sed 's/^/| /' conftest.
$ac_ext >&5
10113 ac_cv_have_decl_getenv
=no
10115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10117 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
10118 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
10119 if test $ac_cv_have_decl_getenv = yes; then
10121 cat >>confdefs.h
<<_ACEOF
10122 #define HAVE_DECL_GETENV 1
10127 cat >>confdefs.h
<<_ACEOF
10128 #define HAVE_DECL_GETENV 0
10135 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
10136 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
10137 if test "${ac_cv_have_decl_malloc+set}" = set; then
10138 echo $ECHO_N "(cached) $ECHO_C" >&6
10140 cat >conftest.
$ac_ext <<_ACEOF
10143 cat confdefs.h
>>conftest.
$ac_ext
10144 cat >>conftest.
$ac_ext <<_ACEOF
10145 /* end confdefs.h. */
10146 $ac_includes_default
10151 char *p = (char *) malloc;
10158 rm -f conftest.
$ac_objext
10159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10160 (eval $ac_compile) 2>conftest.er1
10162 grep -v '^ *+' conftest.er1
>conftest.err
10164 cat conftest.err
>&5
10165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10166 (exit $ac_status); } &&
10167 { ac_try
='test -z "$ac_c_werror_flag"
10168 || test ! -s conftest.err'
10169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10170 (eval $ac_try) 2>&5
10172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10173 (exit $ac_status); }; } &&
10174 { ac_try
='test -s conftest.$ac_objext'
10175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10176 (eval $ac_try) 2>&5
10178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10179 (exit $ac_status); }; }; then
10180 ac_cv_have_decl_malloc
=yes
10182 echo "$as_me: failed program was:" >&5
10183 sed 's/^/| /' conftest.
$ac_ext >&5
10185 ac_cv_have_decl_malloc
=no
10187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10189 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
10190 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
10191 if test $ac_cv_have_decl_malloc = yes; then
10193 cat >>confdefs.h
<<_ACEOF
10194 #define HAVE_DECL_MALLOC 1
10199 cat >>confdefs.h
<<_ACEOF
10200 #define HAVE_DECL_MALLOC 0
10207 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
10208 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
10209 if test "${ac_cv_have_decl_realloc+set}" = set; then
10210 echo $ECHO_N "(cached) $ECHO_C" >&6
10212 cat >conftest.
$ac_ext <<_ACEOF
10215 cat confdefs.h
>>conftest.
$ac_ext
10216 cat >>conftest.
$ac_ext <<_ACEOF
10217 /* end confdefs.h. */
10218 $ac_includes_default
10223 char *p = (char *) realloc;
10230 rm -f conftest.
$ac_objext
10231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10232 (eval $ac_compile) 2>conftest.er1
10234 grep -v '^ *+' conftest.er1
>conftest.err
10236 cat conftest.err
>&5
10237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10238 (exit $ac_status); } &&
10239 { ac_try
='test -z "$ac_c_werror_flag"
10240 || test ! -s conftest.err'
10241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10242 (eval $ac_try) 2>&5
10244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10245 (exit $ac_status); }; } &&
10246 { ac_try
='test -s conftest.$ac_objext'
10247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10248 (eval $ac_try) 2>&5
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); }; }; then
10252 ac_cv_have_decl_realloc
=yes
10254 echo "$as_me: failed program was:" >&5
10255 sed 's/^/| /' conftest.
$ac_ext >&5
10257 ac_cv_have_decl_realloc
=no
10259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10261 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
10262 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
10263 if test $ac_cv_have_decl_realloc = yes; then
10265 cat >>confdefs.h
<<_ACEOF
10266 #define HAVE_DECL_REALLOC 1
10271 cat >>confdefs.h
<<_ACEOF
10272 #define HAVE_DECL_REALLOC 0
10279 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
10280 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
10281 if test "${ac_cv_have_decl_strstr+set}" = set; then
10282 echo $ECHO_N "(cached) $ECHO_C" >&6
10284 cat >conftest.
$ac_ext <<_ACEOF
10287 cat confdefs.h
>>conftest.
$ac_ext
10288 cat >>conftest.
$ac_ext <<_ACEOF
10289 /* end confdefs.h. */
10290 $ac_includes_default
10295 char *p = (char *) strstr;
10302 rm -f conftest.
$ac_objext
10303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10304 (eval $ac_compile) 2>conftest.er1
10306 grep -v '^ *+' conftest.er1
>conftest.err
10308 cat conftest.err
>&5
10309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10310 (exit $ac_status); } &&
10311 { ac_try
='test -z "$ac_c_werror_flag"
10312 || test ! -s conftest.err'
10313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10314 (eval $ac_try) 2>&5
10316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10317 (exit $ac_status); }; } &&
10318 { ac_try
='test -s conftest.$ac_objext'
10319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10320 (eval $ac_try) 2>&5
10322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323 (exit $ac_status); }; }; then
10324 ac_cv_have_decl_strstr
=yes
10326 echo "$as_me: failed program was:" >&5
10327 sed 's/^/| /' conftest.
$ac_ext >&5
10329 ac_cv_have_decl_strstr
=no
10331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10333 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
10334 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
10335 if test $ac_cv_have_decl_strstr = yes; then
10337 cat >>confdefs.h
<<_ACEOF
10338 #define HAVE_DECL_STRSTR 1
10343 cat >>confdefs.h
<<_ACEOF
10344 #define HAVE_DECL_STRSTR 0
10352 # If we are configured native, pick a core file support file.
10356 if test "${target}" = "${host}"; then
10358 alpha
*-*-freebsd* | alpha
*-*-kfreebsd*-gnu)
10362 COREFILE
=trad-core.lo
10363 TRAD_HEADER
='"hosts/alphalinux.h"'
10365 alpha
*-*-netbsd* | alpha
*-*-openbsd*)
10366 COREFILE
=netbsd-core.lo
10368 alpha
*-*-*) COREFILE
=osf-core.lo
;;
10369 arm-
*-freebsd* | arm-
*-kfreebsd*-gnu)
10371 arm-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
10372 arm-
*-riscix) COREFILE
=trad-core.lo
;;
10373 hppa
*-*-hpux*) COREFILE
=hpux-core.lo
;;
10374 hppa
*-*-hiux*) COREFILE
=hpux-core.lo
;;
10375 hppa
*-*-mpeix*) COREFILE
=hpux-core.lo
;;
10376 hppa
*-*-bsd*) COREFILE
="hpux-core.lo hppabsd-core.lo"
10377 COREFLAG
="-DHPUX_CORE -DHPPABSD_CORE" ;;
10378 hppa
*-*-netbsd* | hppa
*-*-openbsd*)
10379 COREFILE
=netbsd-core.lo
10383 COREFILE
=trad-core.lo
10384 TRAD_HEADER
='"hosts/i370linux.h"'
10387 i
[3-7]86-sequent-bsd*)
10388 COREFILE
=trad-core.lo
10389 TRAD_HEADER
='"hosts/symmetry.h"'
10391 i
[3-7]86-sequent-sysv4*) ;;
10392 i
[3-7]86-sequent-sysv*)
10393 COREFILE
=trad-core.lo
10394 TRAD_HEADER
='"hosts/symmetry.h"'
10399 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
*)
10400 COREFILE
=trad-core.lo
10401 TRAD_HEADER
='"hosts/i386bsd.h"'
10403 i
[3-7]86-*-freebsd* | i
[3-7]86-*-kfreebsd*-gnu)
10405 TRAD_HEADER
='"hosts/i386bsd.h"'
10407 i
[3-7]86-*-netbsd* | i
[3-7]86-*-knetbsd*-gnu | i
[3-7]86-*-openbsd*)
10408 COREFILE
=netbsd-core.lo
10410 i
[3-7]86-esix-sysv3*)
10411 COREFILE
=trad-core.lo
10412 TRAD_HEADER
='"hosts/esix.h"'
10414 i
[3-7]86-*-sco3.2v5
*)
10415 COREFILE
=sco5-core.lo
10417 i
[3-7]86-*-sco* | i
[3-7]86-*-isc*)
10418 COREFILE
=trad-core.lo
10419 TRAD_HEADER
='"hosts/i386sco.h"'
10422 COREFILE
=trad-core.lo
10423 TRAD_HEADER
='"hosts/i386mach3.h"'
10425 i
[3-7]86-*-linux-*)
10426 COREFILE
=trad-core.lo
10427 TRAD_HEADER
='"hosts/i386linux.h"'
10429 i
[3-7]86-*-isc*) COREFILE
=trad-core.lo
;;
10430 i
[3-7]86-*-aix*) COREFILE
=aix386-core.lo
;;
10431 i860-
*-mach3* | i860-
*-osf1*)
10432 COREFILE
=trad-core.lo
10433 TRAD_HEADER
='"hosts/i860mach3.h"'
10435 mips-
*-netbsd* | mips
*-*-openbsd*)
10436 COREFILE
=netbsd-core.lo
10439 COREFILE
=trad-core.lo
10440 TRAD_HEADER
='"hosts/decstation.h"'
10442 mips-sgi-irix4
*) COREFILE
=irix-core.lo
;;
10443 mips-sgi-irix5
*) COREFILE
=irix-core.lo
;;
10444 mips-sgi-irix6
*) COREFILE
=irix-core.lo
;;
10446 mips-
*-sysv* | mips-
*-riscos*)
10447 COREFILE
=trad-core.lo
10448 TRAD_HEADER
='"hosts/riscos.h"'
10451 COREFILE
=trad-core.lo
10452 TRAD_HEADER
='"hosts/news-mips.h"'
10455 COREFILE
=trad-core.lo
10456 TRAD_HEADER
='"hosts/dpx2.h"'
10458 m68
*-hp-hpux*) COREFILE
=hpux-core.lo
;;
10460 COREFILE
=trad-core.lo
10461 TRAD_HEADER
='"hosts/hp300bsd.h"'
10464 COREFILE
=trad-core.lo
10465 TRAD_HEADER
='"hosts/m68klinux.h"'
10467 m68
*-motorola-sysv*)
10468 COREFILE
=trad-core.lo
10469 TRAD_HEADER
='"hosts/delta68.h"'
10472 COREFILE
=trad-core.lo
10473 TRAD_HEADER
='"hosts/news.h"'
10475 m68
*-*-netbsd* | m68
*-*-openbsd*)
10476 COREFILE
=netbsd-core.lo
10479 COREFILE
=trad-core.lo
10480 TRAD_HEADER
='"hosts/m68kaux.h"'
10484 m88
*-motorola-sysv*)
10485 COREFILE
=ptrace-core.lo
10488 COREFILE
=trad-core.lo
10489 TRAD_HEADER
='"hosts/m88kmach3.h"'
10492 COREFILE
=netbsd-core.lo
10495 COREFILE
=trad-core.lo
10496 TRAD_HEADER
='"hosts/pc532mach.h"'
10498 ns32k-
*-netbsd* | ns32k-
*-openbsd*)
10499 COREFILE
=netbsd-core.lo
10502 COREFILE
=lynx-core.lo
10504 rs6000-
*-aix5.
* | powerpc-
*-aix5.
*)
10505 COREFILE
=rs6000-core.lo
10506 COREFLAG
="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
10508 rs6000-
*-aix4.
[3-9]* | powerpc-
*-aix4.
[3-9]*)
10509 COREFILE
=rs6000-core.lo
10510 COREFLAG
="$COREFLAG -DAIX_CORE_DUMPX_CORE"
10511 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
10512 # have c_impl as a member of struct core_dumpx
10513 echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
10514 echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
10515 cat >conftest.
$ac_ext <<_ACEOF
10518 cat confdefs.h
>>conftest.
$ac_ext
10519 cat >>conftest.
$ac_ext <<_ACEOF
10520 /* end confdefs.h. */
10525 struct core_dumpx c; c.c_impl = 0;
10530 rm -f conftest.
$ac_objext
10531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10532 (eval $ac_compile) 2>conftest.er1
10534 grep -v '^ *+' conftest.er1
>conftest.err
10536 cat conftest.err
>&5
10537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10538 (exit $ac_status); } &&
10539 { ac_try
='test -z "$ac_c_werror_flag"
10540 || test ! -s conftest.err'
10541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10542 (eval $ac_try) 2>&5
10544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10545 (exit $ac_status); }; } &&
10546 { ac_try
='test -s conftest.$ac_objext'
10547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10548 (eval $ac_try) 2>&5
10550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10551 (exit $ac_status); }; }; then
10553 cat >>confdefs.h
<<\_ACEOF
10554 #define HAVE_ST_C_IMPL 1
10557 echo "$as_me:$LINENO: result: yes" >&5
10558 echo "${ECHO_T}yes" >&6
10560 echo "$as_me: failed program was:" >&5
10561 sed 's/^/| /' conftest.
$ac_ext >&5
10563 echo "$as_me:$LINENO: result: no" >&5
10564 echo "${ECHO_T}no" >&6
10566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10568 rs6000-
*-aix4*) COREFILE
=rs6000-core.lo
;;
10569 rs6000-
*-*) COREFILE
=rs6000-core.lo
;;
10570 powerpc-
*-aix4*) COREFILE
=rs6000-core.lo
;;
10571 powerpc-
*-aix*) COREFILE
=rs6000-core.lo
;;
10572 powerpc-
*-beos*) ;;
10573 powerpc-
*-freebsd* | powerpc-
*-kfreebsd*-gnu)
10575 powerpc-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
10576 powerpc-
*-*bsd
*) COREFILE
=netbsd-core.lo
;;
10577 s390
*-*-*) COREFILE
=trad-core.lo
;;
10578 sh
*-*-netbsd*) COREFILE
=netbsd-core.lo
;;
10579 sparc-
*-netbsd* | sparc
*-*-openbsd*)
10580 COREFILE
=netbsd-core.lo
10583 COREFILE
=trad-core.lo
10584 TRAD_HEADER
='"hosts/tahoe.h"'
10586 vax-
*-netbsd* | vax-
*-openbsd*)
10587 COREFILE
=netbsd-core.lo
10590 COREFILE
=trad-core.lo
10591 TRAD_HEADER
='"hosts/vaxult2.h"'
10594 COREFILE
=trad-core.lo
10595 TRAD_HEADER
='"hosts/vaxult2.h"'
10598 COREFILE
=trad-core.lo
10599 TRAD_HEADER
='"hosts/vaxlinux.h"'
10602 COREFILE
=trad-core.lo
10603 TRAD_HEADER
='"hosts/vaxbsd.h"'
10605 x86_64-
*-netbsd* | x86_64-
*-openbsd*)
10606 COREFILE
=netbsd-core.lo
10610 case "$COREFILE" in
10611 aix386-core.lo
) COREFLAG
=-DAIX386_CORE ;;
10612 hppabsd-core.lo
) COREFLAG
=-DHPPABSD_CORE ;;
10613 hpux-core.lo
) COREFLAG
=-DHPUX_CORE ;;
10614 irix-core.lo
) COREFLAG
=-DIRIX_CORE ;;
10615 lynx-core.lo
) COREFLAG
=-DLYNX_CORE ;;
10616 netbsd-core.lo
) COREFLAG
=-DNETBSD_CORE ;;
10617 osf-core.lo
) COREFLAG
=-DOSF_CORE ;;
10618 ptrace-core.lo
) COREFLAG
=-DPTRACE_CORE ;;
10619 rs6000-core.lo
) COREFLAG
="$COREFLAG -DAIX_CORE" ;;
10620 sco5-core.lo
) COREFLAG
="$COREFLAG -DSCO5_CORE" ;;
10621 trad-core.lo
) COREFLAG
="$COREFLAG -DTRAD_CORE" ;;
10624 # ELF corefile support has several flavors, but all of
10625 # them use something called <sys/procfs.h>
10627 for ac_header
in sys
/procfs.h
10629 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10631 echo "$as_me:$LINENO: checking for $ac_header" >&5
10632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10634 echo $ECHO_N "(cached) $ECHO_C" >&6
10636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10639 # Is the header compilable?
10640 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10641 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10642 cat >conftest.
$ac_ext <<_ACEOF
10645 cat confdefs.h
>>conftest.
$ac_ext
10646 cat >>conftest.
$ac_ext <<_ACEOF
10647 /* end confdefs.h. */
10648 $ac_includes_default
10649 #include <$ac_header>
10651 rm -f conftest.
$ac_objext
10652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10653 (eval $ac_compile) 2>conftest.er1
10655 grep -v '^ *+' conftest.er1
>conftest.err
10657 cat conftest.err
>&5
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); } &&
10660 { ac_try
='test -z "$ac_c_werror_flag"
10661 || test ! -s conftest.err'
10662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10663 (eval $ac_try) 2>&5
10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10666 (exit $ac_status); }; } &&
10667 { ac_try
='test -s conftest.$ac_objext'
10668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10669 (eval $ac_try) 2>&5
10671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10672 (exit $ac_status); }; }; then
10673 ac_header_compiler
=yes
10675 echo "$as_me: failed program was:" >&5
10676 sed 's/^/| /' conftest.
$ac_ext >&5
10678 ac_header_compiler
=no
10680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10681 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10682 echo "${ECHO_T}$ac_header_compiler" >&6
10684 # Is the header present?
10685 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10686 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10687 cat >conftest.
$ac_ext <<_ACEOF
10690 cat confdefs.h
>>conftest.
$ac_ext
10691 cat >>conftest.
$ac_ext <<_ACEOF
10692 /* end confdefs.h. */
10693 #include <$ac_header>
10695 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10696 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10698 grep -v '^ *+' conftest.er1
>conftest.err
10700 cat conftest.err
>&5
10701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10702 (exit $ac_status); } >/dev
/null
; then
10703 if test -s conftest.err
; then
10704 ac_cpp_err
=$ac_c_preproc_warn_flag
10705 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10712 if test -z "$ac_cpp_err"; then
10713 ac_header_preproc
=yes
10715 echo "$as_me: failed program was:" >&5
10716 sed 's/^/| /' conftest.
$ac_ext >&5
10718 ac_header_preproc
=no
10720 rm -f conftest.err conftest.
$ac_ext
10721 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10722 echo "${ECHO_T}$ac_header_preproc" >&6
10724 # So? What about this header?
10725 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10727 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10728 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10730 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10731 ac_header_preproc
=yes
10734 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10735 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10736 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10737 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10738 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10739 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10740 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10741 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10742 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10743 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10744 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10745 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10748 ## ------------------------------------------ ##
10749 ## Report this to the AC_PACKAGE_NAME lists. ##
10750 ## ------------------------------------------ ##
10753 sed "s/^/$as_me: WARNING: /" >&2
10756 echo "$as_me:$LINENO: checking for $ac_header" >&5
10757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10759 echo $ECHO_N "(cached) $ECHO_C" >&6
10761 eval "$as_ac_Header=\$ac_header_preproc"
10763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10767 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10768 cat >>confdefs.h
<<_ACEOF
10769 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10776 if test "$ac_cv_header_sys_procfs_h" = yes; then
10777 echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
10778 echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
10779 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
10780 echo $ECHO_N "(cached) $ECHO_C" >&6
10782 cat >conftest.
$ac_ext <<_ACEOF
10785 cat confdefs.h
>>conftest.
$ac_ext
10786 cat >>conftest.
$ac_ext <<_ACEOF
10787 /* end confdefs.h. */
10790 #include <sys/procfs.h>
10799 rm -f conftest.
$ac_objext
10800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10801 (eval $ac_compile) 2>conftest.er1
10803 grep -v '^ *+' conftest.er1
>conftest.err
10805 cat conftest.err
>&5
10806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10807 (exit $ac_status); } &&
10808 { ac_try
='test -z "$ac_c_werror_flag"
10809 || test ! -s conftest.err'
10810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10811 (eval $ac_try) 2>&5
10813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10814 (exit $ac_status); }; } &&
10815 { ac_try
='test -s conftest.$ac_objext'
10816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10817 (eval $ac_try) 2>&5
10819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10820 (exit $ac_status); }; }; then
10821 bfd_cv_have_sys_procfs_type_prstatus_t
=yes
10823 echo "$as_me: failed program was:" >&5
10824 sed 's/^/| /' conftest.
$ac_ext >&5
10826 bfd_cv_have_sys_procfs_type_prstatus_t
=no
10829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10832 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
10834 cat >>confdefs.h
<<\_ACEOF
10835 #define HAVE_PRSTATUS_T 1
10839 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
10840 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
10842 echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
10843 echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
10844 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
10845 echo $ECHO_N "(cached) $ECHO_C" >&6
10847 cat >conftest.
$ac_ext <<_ACEOF
10850 cat confdefs.h
>>conftest.
$ac_ext
10851 cat >>conftest.
$ac_ext <<_ACEOF
10852 /* end confdefs.h. */
10855 #include <sys/procfs.h>
10864 rm -f conftest.
$ac_objext
10865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10866 (eval $ac_compile) 2>conftest.er1
10868 grep -v '^ *+' conftest.er1
>conftest.err
10870 cat conftest.err
>&5
10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872 (exit $ac_status); } &&
10873 { ac_try
='test -z "$ac_c_werror_flag"
10874 || test ! -s conftest.err'
10875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10876 (eval $ac_try) 2>&5
10878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); }; } &&
10880 { ac_try
='test -s conftest.$ac_objext'
10881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10882 (eval $ac_try) 2>&5
10884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10885 (exit $ac_status); }; }; then
10886 bfd_cv_have_sys_procfs_type_prstatus32_t
=yes
10888 echo "$as_me: failed program was:" >&5
10889 sed 's/^/| /' conftest.
$ac_ext >&5
10891 bfd_cv_have_sys_procfs_type_prstatus32_t
=no
10894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10897 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
10899 cat >>confdefs.h
<<\_ACEOF
10900 #define HAVE_PRSTATUS32_T 1
10904 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
10905 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
10907 echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
10908 echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
10909 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
10910 echo $ECHO_N "(cached) $ECHO_C" >&6
10912 cat >conftest.
$ac_ext <<_ACEOF
10915 cat confdefs.h
>>conftest.
$ac_ext
10916 cat >>conftest.
$ac_ext <<_ACEOF
10917 /* end confdefs.h. */
10920 #include <sys/procfs.h>
10924 prstatus_t avar; void* aref = (void*) &avar.pr_who
10929 rm -f conftest.
$ac_objext
10930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10931 (eval $ac_compile) 2>conftest.er1
10933 grep -v '^ *+' conftest.er1
>conftest.err
10935 cat conftest.err
>&5
10936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10937 (exit $ac_status); } &&
10938 { ac_try
='test -z "$ac_c_werror_flag"
10939 || test ! -s conftest.err'
10940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10941 (eval $ac_try) 2>&5
10943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10944 (exit $ac_status); }; } &&
10945 { ac_try
='test -s conftest.$ac_objext'
10946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10947 (eval $ac_try) 2>&5
10949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10950 (exit $ac_status); }; }; then
10951 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=yes
10953 echo "$as_me: failed program was:" >&5
10954 sed 's/^/| /' conftest.
$ac_ext >&5
10956 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=no
10959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10962 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
10964 cat >>confdefs.h
<<\_ACEOF
10965 #define HAVE_PRSTATUS_T_PR_WHO 1
10969 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
10970 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
10972 echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
10973 echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
10974 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
10975 echo $ECHO_N "(cached) $ECHO_C" >&6
10977 cat >conftest.
$ac_ext <<_ACEOF
10980 cat confdefs.h
>>conftest.
$ac_ext
10981 cat >>conftest.
$ac_ext <<_ACEOF
10982 /* end confdefs.h. */
10985 #include <sys/procfs.h>
10989 prstatus32_t avar; void* aref = (void*) &avar.pr_who
10994 rm -f conftest.
$ac_objext
10995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10996 (eval $ac_compile) 2>conftest.er1
10998 grep -v '^ *+' conftest.er1
>conftest.err
11000 cat conftest.err
>&5
11001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11002 (exit $ac_status); } &&
11003 { ac_try
='test -z "$ac_c_werror_flag"
11004 || test ! -s conftest.err'
11005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11006 (eval $ac_try) 2>&5
11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009 (exit $ac_status); }; } &&
11010 { ac_try
='test -s conftest.$ac_objext'
11011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11012 (eval $ac_try) 2>&5
11014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015 (exit $ac_status); }; }; then
11016 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=yes
11018 echo "$as_me: failed program was:" >&5
11019 sed 's/^/| /' conftest.
$ac_ext >&5
11021 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=no
11024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11027 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
11029 cat >>confdefs.h
<<\_ACEOF
11030 #define HAVE_PRSTATUS32_T_PR_WHO 1
11034 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
11035 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
11037 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
11038 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
11039 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
11040 echo $ECHO_N "(cached) $ECHO_C" >&6
11042 cat >conftest.
$ac_ext <<_ACEOF
11045 cat confdefs.h
>>conftest.
$ac_ext
11046 cat >>conftest.
$ac_ext <<_ACEOF
11047 /* end confdefs.h. */
11050 #include <sys/procfs.h>
11059 rm -f conftest.
$ac_objext
11060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11061 (eval $ac_compile) 2>conftest.er1
11063 grep -v '^ *+' conftest.er1
>conftest.err
11065 cat conftest.err
>&5
11066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067 (exit $ac_status); } &&
11068 { ac_try
='test -z "$ac_c_werror_flag"
11069 || test ! -s conftest.err'
11070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11071 (eval $ac_try) 2>&5
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); }; } &&
11075 { ac_try
='test -s conftest.$ac_objext'
11076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11077 (eval $ac_try) 2>&5
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); }; }; then
11081 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
11083 echo "$as_me: failed program was:" >&5
11084 sed 's/^/| /' conftest.
$ac_ext >&5
11086 bfd_cv_have_sys_procfs_type_pstatus_t
=no
11089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11092 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
11094 cat >>confdefs.h
<<\_ACEOF
11095 #define HAVE_PSTATUS_T 1
11099 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
11100 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
11102 echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
11103 echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
11104 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
11105 echo $ECHO_N "(cached) $ECHO_C" >&6
11107 cat >conftest.
$ac_ext <<_ACEOF
11110 cat confdefs.h
>>conftest.
$ac_ext
11111 cat >>conftest.
$ac_ext <<_ACEOF
11112 /* end confdefs.h. */
11115 #include <sys/procfs.h>
11124 rm -f conftest.
$ac_objext
11125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11126 (eval $ac_compile) 2>conftest.er1
11128 grep -v '^ *+' conftest.er1
>conftest.err
11130 cat conftest.err
>&5
11131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11132 (exit $ac_status); } &&
11133 { ac_try
='test -z "$ac_c_werror_flag"
11134 || test ! -s conftest.err'
11135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11136 (eval $ac_try) 2>&5
11138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); }; } &&
11140 { ac_try
='test -s conftest.$ac_objext'
11141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11142 (eval $ac_try) 2>&5
11144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11145 (exit $ac_status); }; }; then
11146 bfd_cv_have_sys_procfs_type_pxstatus_t
=yes
11148 echo "$as_me: failed program was:" >&5
11149 sed 's/^/| /' conftest.
$ac_ext >&5
11151 bfd_cv_have_sys_procfs_type_pxstatus_t
=no
11154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11157 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
11159 cat >>confdefs.h
<<\_ACEOF
11160 #define HAVE_PXSTATUS_T 1
11164 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
11165 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
11167 echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
11168 echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
11169 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
11170 echo $ECHO_N "(cached) $ECHO_C" >&6
11172 cat >conftest.
$ac_ext <<_ACEOF
11175 cat confdefs.h
>>conftest.
$ac_ext
11176 cat >>conftest.
$ac_ext <<_ACEOF
11177 /* end confdefs.h. */
11180 #include <sys/procfs.h>
11189 rm -f conftest.
$ac_objext
11190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11191 (eval $ac_compile) 2>conftest.er1
11193 grep -v '^ *+' conftest.er1
>conftest.err
11195 cat conftest.err
>&5
11196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11197 (exit $ac_status); } &&
11198 { ac_try
='test -z "$ac_c_werror_flag"
11199 || test ! -s conftest.err'
11200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11201 (eval $ac_try) 2>&5
11203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11204 (exit $ac_status); }; } &&
11205 { ac_try
='test -s conftest.$ac_objext'
11206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11207 (eval $ac_try) 2>&5
11209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11210 (exit $ac_status); }; }; then
11211 bfd_cv_have_sys_procfs_type_pstatus32_t
=yes
11213 echo "$as_me: failed program was:" >&5
11214 sed 's/^/| /' conftest.
$ac_ext >&5
11216 bfd_cv_have_sys_procfs_type_pstatus32_t
=no
11219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11222 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
11224 cat >>confdefs.h
<<\_ACEOF
11225 #define HAVE_PSTATUS32_T 1
11229 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
11230 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
11232 echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
11233 echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
11234 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
11235 echo $ECHO_N "(cached) $ECHO_C" >&6
11237 cat >conftest.
$ac_ext <<_ACEOF
11240 cat confdefs.h
>>conftest.
$ac_ext
11241 cat >>conftest.
$ac_ext <<_ACEOF
11242 /* end confdefs.h. */
11245 #include <sys/procfs.h>
11254 rm -f conftest.
$ac_objext
11255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11256 (eval $ac_compile) 2>conftest.er1
11258 grep -v '^ *+' conftest.er1
>conftest.err
11260 cat conftest.err
>&5
11261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11262 (exit $ac_status); } &&
11263 { ac_try
='test -z "$ac_c_werror_flag"
11264 || test ! -s conftest.err'
11265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11266 (eval $ac_try) 2>&5
11268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11269 (exit $ac_status); }; } &&
11270 { ac_try
='test -s conftest.$ac_objext'
11271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11272 (eval $ac_try) 2>&5
11274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11275 (exit $ac_status); }; }; then
11276 bfd_cv_have_sys_procfs_type_prpsinfo_t
=yes
11278 echo "$as_me: failed program was:" >&5
11279 sed 's/^/| /' conftest.
$ac_ext >&5
11281 bfd_cv_have_sys_procfs_type_prpsinfo_t
=no
11284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11287 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
11289 cat >>confdefs.h
<<\_ACEOF
11290 #define HAVE_PRPSINFO_T 1
11294 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
11295 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
11297 echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
11298 echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
11299 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
11300 echo $ECHO_N "(cached) $ECHO_C" >&6
11302 cat >conftest.
$ac_ext <<_ACEOF
11305 cat confdefs.h
>>conftest.
$ac_ext
11306 cat >>conftest.
$ac_ext <<_ACEOF
11307 /* end confdefs.h. */
11310 #include <sys/procfs.h>
11319 rm -f conftest.
$ac_objext
11320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11321 (eval $ac_compile) 2>conftest.er1
11323 grep -v '^ *+' conftest.er1
>conftest.err
11325 cat conftest.err
>&5
11326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11327 (exit $ac_status); } &&
11328 { ac_try
='test -z "$ac_c_werror_flag"
11329 || test ! -s conftest.err'
11330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11331 (eval $ac_try) 2>&5
11333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 (exit $ac_status); }; } &&
11335 { ac_try
='test -s conftest.$ac_objext'
11336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11337 (eval $ac_try) 2>&5
11339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); }; }; then
11341 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=yes
11343 echo "$as_me: failed program was:" >&5
11344 sed 's/^/| /' conftest.
$ac_ext >&5
11346 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=no
11349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11352 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
11354 cat >>confdefs.h
<<\_ACEOF
11355 #define HAVE_PRPSINFO32_T 1
11359 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
11360 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
11362 echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
11363 echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
11364 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
11365 echo $ECHO_N "(cached) $ECHO_C" >&6
11367 cat >conftest.
$ac_ext <<_ACEOF
11370 cat confdefs.h
>>conftest.
$ac_ext
11371 cat >>conftest.
$ac_ext <<_ACEOF
11372 /* end confdefs.h. */
11375 #include <sys/procfs.h>
11384 rm -f conftest.
$ac_objext
11385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11386 (eval $ac_compile) 2>conftest.er1
11388 grep -v '^ *+' conftest.er1
>conftest.err
11390 cat conftest.err
>&5
11391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); } &&
11393 { ac_try
='test -z "$ac_c_werror_flag"
11394 || test ! -s conftest.err'
11395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11396 (eval $ac_try) 2>&5
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); }; } &&
11400 { ac_try
='test -s conftest.$ac_objext'
11401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11402 (eval $ac_try) 2>&5
11404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11405 (exit $ac_status); }; }; then
11406 bfd_cv_have_sys_procfs_type_psinfo_t
=yes
11408 echo "$as_me: failed program was:" >&5
11409 sed 's/^/| /' conftest.
$ac_ext >&5
11411 bfd_cv_have_sys_procfs_type_psinfo_t
=no
11414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11417 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
11419 cat >>confdefs.h
<<\_ACEOF
11420 #define HAVE_PSINFO_T 1
11424 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
11425 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
11427 echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
11428 echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
11429 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
11430 echo $ECHO_N "(cached) $ECHO_C" >&6
11432 cat >conftest.
$ac_ext <<_ACEOF
11435 cat confdefs.h
>>conftest.
$ac_ext
11436 cat >>conftest.
$ac_ext <<_ACEOF
11437 /* end confdefs.h. */
11440 #include <sys/procfs.h>
11449 rm -f conftest.
$ac_objext
11450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11451 (eval $ac_compile) 2>conftest.er1
11453 grep -v '^ *+' conftest.er1
>conftest.err
11455 cat conftest.err
>&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); } &&
11458 { ac_try
='test -z "$ac_c_werror_flag"
11459 || test ! -s conftest.err'
11460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11461 (eval $ac_try) 2>&5
11463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 (exit $ac_status); }; } &&
11465 { ac_try
='test -s conftest.$ac_objext'
11466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11467 (eval $ac_try) 2>&5
11469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470 (exit $ac_status); }; }; then
11471 bfd_cv_have_sys_procfs_type_psinfo32_t
=yes
11473 echo "$as_me: failed program was:" >&5
11474 sed 's/^/| /' conftest.
$ac_ext >&5
11476 bfd_cv_have_sys_procfs_type_psinfo32_t
=no
11479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11482 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
11484 cat >>confdefs.h
<<\_ACEOF
11485 #define HAVE_PSINFO32_T 1
11489 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
11490 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
11492 echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
11493 echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
11494 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
11495 echo $ECHO_N "(cached) $ECHO_C" >&6
11497 cat >conftest.
$ac_ext <<_ACEOF
11500 cat confdefs.h
>>conftest.
$ac_ext
11501 cat >>conftest.
$ac_ext <<_ACEOF
11502 /* end confdefs.h. */
11505 #include <sys/procfs.h>
11514 rm -f conftest.
$ac_objext
11515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11516 (eval $ac_compile) 2>conftest.er1
11518 grep -v '^ *+' conftest.er1
>conftest.err
11520 cat conftest.err
>&5
11521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11522 (exit $ac_status); } &&
11523 { ac_try
='test -z "$ac_c_werror_flag"
11524 || test ! -s conftest.err'
11525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11526 (eval $ac_try) 2>&5
11528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11529 (exit $ac_status); }; } &&
11530 { ac_try
='test -s conftest.$ac_objext'
11531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11532 (eval $ac_try) 2>&5
11534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11535 (exit $ac_status); }; }; then
11536 bfd_cv_have_sys_procfs_type_lwpstatus_t
=yes
11538 echo "$as_me: failed program was:" >&5
11539 sed 's/^/| /' conftest.
$ac_ext >&5
11541 bfd_cv_have_sys_procfs_type_lwpstatus_t
=no
11544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11547 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
11549 cat >>confdefs.h
<<\_ACEOF
11550 #define HAVE_LWPSTATUS_T 1
11554 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
11555 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
11557 echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
11558 echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
11559 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
11560 echo $ECHO_N "(cached) $ECHO_C" >&6
11562 cat >conftest.
$ac_ext <<_ACEOF
11565 cat confdefs.h
>>conftest.
$ac_ext
11566 cat >>conftest.
$ac_ext <<_ACEOF
11567 /* end confdefs.h. */
11570 #include <sys/procfs.h>
11579 rm -f conftest.
$ac_objext
11580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11581 (eval $ac_compile) 2>conftest.er1
11583 grep -v '^ *+' conftest.er1
>conftest.err
11585 cat conftest.err
>&5
11586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11587 (exit $ac_status); } &&
11588 { ac_try
='test -z "$ac_c_werror_flag"
11589 || test ! -s conftest.err'
11590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11591 (eval $ac_try) 2>&5
11593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11594 (exit $ac_status); }; } &&
11595 { ac_try
='test -s conftest.$ac_objext'
11596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11597 (eval $ac_try) 2>&5
11599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11600 (exit $ac_status); }; }; then
11601 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=yes
11603 echo "$as_me: failed program was:" >&5
11604 sed 's/^/| /' conftest.
$ac_ext >&5
11606 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=no
11609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11612 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
11614 cat >>confdefs.h
<<\_ACEOF
11615 #define HAVE_LWPXSTATUS_T 1
11619 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
11620 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
11622 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
11623 echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
11624 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
11625 echo $ECHO_N "(cached) $ECHO_C" >&6
11627 cat >conftest.
$ac_ext <<_ACEOF
11630 cat confdefs.h
>>conftest.
$ac_ext
11631 cat >>conftest.
$ac_ext <<_ACEOF
11632 /* end confdefs.h. */
11635 #include <sys/procfs.h>
11639 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
11644 rm -f conftest.
$ac_objext
11645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11646 (eval $ac_compile) 2>conftest.er1
11648 grep -v '^ *+' conftest.er1
>conftest.err
11650 cat conftest.err
>&5
11651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11652 (exit $ac_status); } &&
11653 { ac_try
='test -z "$ac_c_werror_flag"
11654 || test ! -s conftest.err'
11655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11656 (eval $ac_try) 2>&5
11658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 (exit $ac_status); }; } &&
11660 { ac_try
='test -s conftest.$ac_objext'
11661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11662 (eval $ac_try) 2>&5
11664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11665 (exit $ac_status); }; }; then
11666 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=yes
11668 echo "$as_me: failed program was:" >&5
11669 sed 's/^/| /' conftest.
$ac_ext >&5
11671 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=no
11674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11677 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
11679 cat >>confdefs.h
<<\_ACEOF
11680 #define HAVE_LWPSTATUS_T_PR_CONTEXT 1
11684 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
11685 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
11687 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
11688 echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
11689 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
11690 echo $ECHO_N "(cached) $ECHO_C" >&6
11692 cat >conftest.
$ac_ext <<_ACEOF
11695 cat confdefs.h
>>conftest.
$ac_ext
11696 cat >>conftest.
$ac_ext <<_ACEOF
11697 /* end confdefs.h. */
11700 #include <sys/procfs.h>
11704 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
11709 rm -f conftest.
$ac_objext
11710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11711 (eval $ac_compile) 2>conftest.er1
11713 grep -v '^ *+' conftest.er1
>conftest.err
11715 cat conftest.err
>&5
11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717 (exit $ac_status); } &&
11718 { ac_try
='test -z "$ac_c_werror_flag"
11719 || test ! -s conftest.err'
11720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11721 (eval $ac_try) 2>&5
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); }; } &&
11725 { ac_try
='test -s conftest.$ac_objext'
11726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11727 (eval $ac_try) 2>&5
11729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11730 (exit $ac_status); }; }; then
11731 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=yes
11733 echo "$as_me: failed program was:" >&5
11734 sed 's/^/| /' conftest.
$ac_ext >&5
11736 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=no
11739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11742 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
11744 cat >>confdefs.h
<<\_ACEOF
11745 #define HAVE_LWPSTATUS_T_PR_REG 1
11749 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
11750 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
11752 echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
11753 echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
11754 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
11755 echo $ECHO_N "(cached) $ECHO_C" >&6
11757 cat >conftest.
$ac_ext <<_ACEOF
11760 cat confdefs.h
>>conftest.
$ac_ext
11761 cat >>conftest.
$ac_ext <<_ACEOF
11762 /* end confdefs.h. */
11765 #include <sys/procfs.h>
11769 win32_pstatus_t avar
11774 rm -f conftest.
$ac_objext
11775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11776 (eval $ac_compile) 2>conftest.er1
11778 grep -v '^ *+' conftest.er1
>conftest.err
11780 cat conftest.err
>&5
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); } &&
11783 { ac_try
='test -z "$ac_c_werror_flag"
11784 || test ! -s conftest.err'
11785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11786 (eval $ac_try) 2>&5
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); }; } &&
11790 { ac_try
='test -s conftest.$ac_objext'
11791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11792 (eval $ac_try) 2>&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); }; }; then
11796 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=yes
11798 echo "$as_me: failed program was:" >&5
11799 sed 's/^/| /' conftest.
$ac_ext >&5
11801 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=no
11804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11807 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
11809 cat >>confdefs.h
<<\_ACEOF
11810 #define HAVE_WIN32_PSTATUS_T 1
11814 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
11815 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
11821 if test -n "$TRAD_HEADER"; then
11823 cat >>confdefs.h
<<_ACEOF
11824 #define TRAD_HEADER $TRAD_HEADER
11829 # Horrible hacks to build DLLs on Windows.
11834 if test "$enable_shared" = "yes"; then
11835 WIN32LDFLAGS
="-no-undefined"
11836 WIN32LIBADD
="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
11840 # We borrow WIN32LIBADD so that the shared libbfd won't depend on
11844 # Linux/MIPS uses PIC by default.
11845 if test "$enable_shared" = "yes"; then
11846 WIN32LIBADD
="-L../libiberty -liberty"
11850 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
11851 if test -n "$x"; then
11852 WIN32LIBADD
="-L../libiberty/pic -liberty"
11863 # Canonicalize the secondary target names.
11864 if test -n "$enable_targets" ; then
11865 for targ
in `echo $enable_targets | sed 's/,/ /g'`
11867 result
=`$ac_config_sub $targ 2>/dev/null`
11868 if test -n "$result" ; then
11869 canon_targets
="$canon_targets $result"
11871 # Allow targets that config.sub doesn't recognize, like "all".
11872 canon_targets
="$canon_targets $targ"
11883 for targ
in $target $canon_targets
11885 if test "x$targ" = "xall"; then
11887 assocvecs
="$assocvecs $targ_defvec $targ_selvecs"
11889 .
$srcdir/config.bfd
11890 if test "x$targ" = "x$target"; then
11891 defvec
=$targ_defvec
11893 selvecs
="$selvecs $targ_defvec $targ_selvecs"
11894 selarchs
="$selarchs $targ_archs"
11895 TDEFINES
="$TDEFINES $targ_cflags"
11900 # This processing still needs to be done if we're to decide properly whether
11901 # 64-bit support needs to be compiled in. Currently, it will be included if
11902 # the default or any other explicitly requested target requires it; it
11903 # will not be included on a 32-bit host if no 64-bit target is requested, and
11904 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
11907 # uniq the default and selected vectors in all the configured targets.
11909 for i
in $selvecs ; do
11918 # uniq the associated vectors in all the configured targets.
11920 for i
in $assocvecs ; do
11929 # uniq the architectures in all the configured targets.
11931 for i
in $selarchs ; do
11939 # Target backend .o files.
11942 elf
="elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
11944 for vec
in $selvecs
11948 # This list is alphabetized to make it easy to compare
11949 # with the two vector lists in targets.c. For the same reason,
11950 # use one entry per line, even though this leads to long lines.
11951 a29kcoff_big_vec
) tb
="$tb coff-a29k.lo cofflink.lo" ;;
11952 a_out_adobe_vec
) tb
="$tb aout-adobe.lo aout32.lo" ;;
11953 aix5coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
11954 aout0_big_vec
) tb
="$tb aout0.lo aout32.lo" ;;
11955 aout_arm_big_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
11956 aout_arm_little_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
11957 apollocoff_vec
) tb
="$tb coff-apollo.lo" ;;
11958 arm_epoc_pe_big_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
11959 arm_epoc_pe_little_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
11960 arm_epoc_pei_big_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
11961 arm_epoc_pei_little_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
11962 armcoff_big_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
11963 armcoff_little_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
11964 armnetbsd_vec
) tb
="$tb armnetbsd.lo aout32.lo" ;;
11965 armpe_big_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
11966 armpe_little_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
11967 armpei_big_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
11968 armpei_little_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
11969 b_out_vec_big_host
) tb
="$tb bout.lo aout32.lo" ;;
11970 b_out_vec_little_host
) tb
="$tb bout.lo aout32.lo" ;;
11971 bfd_efi_app_ia32_vec
) tb
="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;;
11972 bfd_efi_app_ia64_vec
) tb
="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
11973 bfd_elf32_am33lin_vec
) tb
="$tb elf32-am33lin.lo elf32.lo $elf" ;;
11974 bfd_elf32_avr_vec
) tb
="$tb elf32-avr.lo elf32.lo $elf" ;;
11975 bfd_elf32_big_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
11976 bfd_elf32_bigarc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
11977 bfd_elf32_bigarm_vec
) tb
="$tb elf32-arm.lo elf32.lo $elf" ;;
11978 bfd_elf32_bigarm_symbian_vec
)
11979 tb
="$tb elf32-arm.lo elf32.lo $elf" ;;
11980 bfd_elf32_bigarm_vxworks_vec
)
11981 tb
="$tb elf32-arm.lo elf32.lo $elf" ;;
11982 bfd_elf32_bigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
11983 bfd_elf32_cr16c_vec
) tb
="$tb elf32-cr16c.lo elf32.lo $elf" ;;
11984 bfd_elf32_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
11985 bfd_elf32_crx_vec
) tb
="$tb elf32-crx.lo elf32.lo $elf" ;;
11986 bfd_elf32_d10v_vec
) tb
="$tb elf32-d10v.lo elf32.lo $elf" ;;
11987 bfd_elf32_d30v_vec
) tb
="$tb elf32-d30v.lo elf32.lo $elf" ;;
11988 bfd_elf32_dlx_big_vec
) tb
="$tb elf32-dlx.lo elf32.lo $elf" ;;
11989 bfd_elf32_fr30_vec
) tb
="$tb elf32-fr30.lo elf32.lo $elf" ;;
11990 bfd_elf32_frv_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
11991 bfd_elf32_frvfdpic_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
11992 bfd_elf32_h8300_vec
) tb
="$tb elf32-h8300.lo elf32.lo $elf" ;;
11993 bfd_elf32_hppa_linux_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
11994 bfd_elf32_hppa_nbsd_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
11995 bfd_elf32_hppa_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
11996 bfd_elf32_i370_vec
) tb
="$tb elf32-i370.lo elf32.lo $elf" ;;
11997 bfd_elf32_i386_freebsd_vec
) tb
="$tb elf32-i386.lo elf32.lo $elf" ;;
11998 bfd_elf32_i386_vec
) tb
="$tb elf32-i386.lo elf32.lo $elf" ;;
11999 bfd_elf32_i860_little_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
12000 bfd_elf32_i860_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
12001 bfd_elf32_i960_vec
) tb
="$tb elf32-i960.lo elf32.lo $elf" ;;
12002 bfd_elf32_ia64_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf" ;;
12003 bfd_elf32_ia64_hpux_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf";;
12004 bfd_elf32_ip2k_vec
) tb
="$tb elf32-ip2k.lo elf32.lo $elf" ;;
12005 bfd_elf32_iq2000_vec
) tb
="$tb elf32-iq2000.lo elf32.lo $elf" ;;
12006 bfd_elf32_little_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
12007 bfd_elf32_littlearc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
12008 bfd_elf32_littlearm_symbian_vec
)
12009 tb
="$tb elf32-arm.lo elf32.lo $elf" ;;
12010 bfd_elf32_littlearm_vxworks_vec
)
12011 tb
="$tb elf32-arm.lo elf32.lo $elf" ;;
12012 bfd_elf32_littlearm_vec
) tb
="$tb elf32-arm.lo elf32.lo $elf" ;;
12013 bfd_elf32_littlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
12014 bfd_elf32_m32r_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
12015 bfd_elf32_m32rle_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
12016 bfd_elf32_m32rlin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
12017 bfd_elf32_m32rlelin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
12018 bfd_elf32_m68hc11_vec
) tb
="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
12019 bfd_elf32_m68hc12_vec
) tb
="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
12020 bfd_elf32_m68k_vec
) tb
="$tb elf32-m68k.lo elf32.lo $elf" ;;
12021 bfd_elf32_m88k_vec
) tb
="$tb elf32-m88k.lo elf32.lo $elf" ;;
12022 bfd_elf32_mcore_big_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
12023 bfd_elf32_mcore_little_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
12024 bfd_elf32_mn10200_vec
) tb
="$tb elf-m10200.lo elf32.lo $elf" ;;
12025 bfd_elf32_mn10300_vec
) tb
="$tb elf-m10300.lo elf32.lo $elf" ;;
12026 bfd_elf32_msp430_vec
) tb
="$tb elf32-msp430.lo elf32.lo $elf" ;;
12027 bfd_elf32_nbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
12028 bfd_elf32_nlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
12029 bfd_elf32_ntradbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
12030 bfd_elf32_ntradlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
12031 bfd_elf32_openrisc_vec
) tb
="$tb elf32-openrisc.lo elf32.lo $elf" ;;
12032 bfd_elf32_or32_big_vec
) tb
="$tb elf32-or32.lo elf32.lo $elf" ;;
12033 bfd_elf32_pj_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
12034 bfd_elf32_pjl_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
12035 bfd_elf32_powerpc_vec
) tb
="$tb elf32-ppc.lo elf32.lo $elf" ;;
12036 bfd_elf32_powerpcle_vec
) tb
="$tb elf32-ppc.lo elf32.lo $elf" ;;
12037 bfd_elf32_s390_vec
) tb
="$tb elf32-s390.lo elf32.lo $elf" ;;
12038 # FIXME: We include cofflink.lo not because it's needed for
12039 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
12040 # which needs it but does not list it. Should be fixed in right place.
12041 bfd_elf32_sh64_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
12042 bfd_elf32_sh64l_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
12043 bfd_elf32_sh64lin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
12044 bfd_elf32_sh64blin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
12045 bfd_elf32_sh64lnbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;;
12046 bfd_elf32_sh64nbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;;
12047 bfd_elf32_sh_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;;
12048 bfd_elf32_shblin_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
12049 bfd_elf32_shl_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;;
12050 bfd_elf32_shl_symbian_vec
) tb
="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf32.lo $elf coff-sh.lo" ;;
12051 bfd_elf32_shlin_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
12052 bfd_elf32_shlnbsd_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
12053 bfd_elf32_shnbsd_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
12054 bfd_elf32_sparc_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf32.lo $elf" ;;
12055 bfd_elf32_tradbigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
12056 bfd_elf32_tradlittlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
12057 bfd_elf32_us_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
12058 bfd_elf32_v850_vec
) tb
="$tb elf32-v850.lo elf32.lo $elf" ;;
12059 bfd_elf32_vax_vec
) tb
="$tb elf32-vax.lo elf32.lo $elf" ;;
12060 bfd_elf32_xstormy16_vec
) tb
="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
12061 bfd_elf32_xtensa_le_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
12062 bfd_elf32_xtensa_be_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
12063 bfd_elf64_alpha_freebsd_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
12064 bfd_elf64_alpha_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
12065 bfd_elf64_big_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
12066 bfd_elf64_bigmips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
12067 bfd_elf64_hppa_linux_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
12068 bfd_elf64_hppa_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
12069 bfd_elf64_ia64_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
12070 bfd_elf64_ia64_hpux_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
12071 bfd_elf64_ia64_little_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
12072 bfd_elf64_little_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
12073 bfd_elf64_littlemips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
12074 bfd_elf64_mmix_vec
) tb
="$tb elf64-mmix.lo elf64.lo $elf" target_size
=64 ;;
12075 bfd_elf64_powerpc_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
12076 bfd_elf64_powerpcle_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size
=64 ;;
12077 bfd_elf64_s390_vec
) tb
="$tb elf64-s390.lo elf64.lo $elf"; target_size
=64 ;;
12078 bfd_elf64_sh64_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
12079 bfd_elf64_sh64l_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
12080 bfd_elf64_sh64lin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
12081 bfd_elf64_sh64blin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
12082 bfd_elf64_sh64lnbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
12083 bfd_elf64_sh64nbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
12084 bfd_elf64_sparc_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf64.lo $elf"; target_size
=64 ;;
12085 bfd_elf64_tradbigmips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
12086 bfd_elf64_tradlittlemips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
12087 bfd_elf64_x86_64_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
12088 bfd_mmo_vec
) tb
="$tb mmo.lo" target_size
=64 ;;
12089 bfd_powerpc_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
12090 bfd_powerpc_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
12091 bfd_powerpcle_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
12092 bfd_powerpcle_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
12093 cris_aout_vec
) tb
="$tb aout-cris.lo" ;;
12094 demo_64_vec
) tb
="$tb demo64.lo aout64.lo"; target_size
=64 ;;
12095 ecoff_big_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
12096 ecoff_biglittle_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
12097 ecoff_little_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
12098 ecoffalpha_little_vec
) tb
="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size
=64 ;;
12099 go32coff_vec
) tb
="$tb coff-go32.lo cofflink.lo" ;;
12100 go32stubbedcoff_vec
) tb
="$tb coff-stgo32.lo cofflink.lo" ;;
12101 h8300coff_vec
) tb
="$tb coff-h8300.lo reloc16.lo" ;;
12102 h8500coff_vec
) tb
="$tb coff-h8500.lo reloc16.lo" ;;
12103 host_aout_vec
) tb
="$tb host-aout.lo aout32.lo" ;;
12104 hp300bsd_vec
) tb
="$tb hp300bsd.lo aout32.lo" ;;
12105 hp300hpux_vec
) tb
="$tb hp300hpux.lo aout32.lo" ;;
12106 i386aout_vec
) tb
="$tb i386aout.lo aout32.lo" ;;
12107 i386bsd_vec
) tb
="$tb i386bsd.lo aout32.lo" ;;
12108 i386coff_vec
) tb
="$tb coff-i386.lo cofflink.lo" ;;
12109 i386dynix_vec
) tb
="$tb i386dynix.lo aout32.lo" ;;
12110 i386freebsd_vec
) tb
="$tb i386freebsd.lo aout32.lo" ;;
12111 i386linux_vec
) tb
="$tb i386linux.lo aout32.lo" ;;
12112 i386lynx_aout_vec
) tb
="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
12113 i386lynx_coff_vec
) tb
="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
12114 i386mach3_vec
) tb
="$tb i386mach3.lo aout32.lo" ;;
12115 i386msdos_vec
) tb
="$tb i386msdos.lo" ;;
12116 i386netbsd_vec
) tb
="$tb i386netbsd.lo aout32.lo" ;;
12117 i386os9k_vec
) tb
="$tb i386os9k.lo aout32.lo" ;;
12118 i386pe_vec
) tb
="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
12119 i386pei_vec
) tb
="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
12120 i860coff_vec
) tb
="$tb coff-i860.lo cofflink.lo" ;;
12121 icoff_big_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
12122 icoff_little_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
12123 ieee_vec
) tb
="$tb ieee.lo" ;;
12124 m68k4knetbsd_vec
) tb
="$tb m68k4knetbsd.lo aout32.lo" ;;
12125 m68kaux_coff_vec
) tb
="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
12126 m68kcoff_vec
) tb
="$tb coff-m68k.lo cofflink.lo" ;;
12127 m68kcoffun_vec
) tb
="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
12128 m68klinux_vec
) tb
="$tb m68klinux.lo aout32.lo" ;;
12129 m68klynx_aout_vec
) tb
="$tb m68klynx.lo lynx-core.lo aout32.lo" ;;
12130 m68klynx_coff_vec
) tb
="$tb cf-m68klynx.lo coff-m68k.lo cofflink.lo lynx-core.lo" ;;
12131 m68knetbsd_vec
) tb
="$tb m68knetbsd.lo aout32.lo" ;;
12132 m68ksysvcoff_vec
) tb
="$tb coff-svm68k.lo cofflink.lo" ;;
12133 m88kbcs_vec
) tb
="$tb coff-m88k.lo" ;;
12134 m88kmach3_vec
) tb
="$tb m88kmach3.lo aout32.lo" ;;
12135 m88kopenbsd_vec
) tb
="$tb m88kopenbsd.lo aout32.lo" ;;
12136 maxqcoff_vec
) tb
="$tb coff-maxq.lo" ;;
12137 mach_o_be_vec
) tb
="$tb mach-o.lo" ;;
12138 mach_o_le_vec
) tb
="$tb mach-o.lo" ;;
12139 mach_o_fat_vec
) tb
="$tb mach-o.lo" ;;
12140 mcore_pe_big_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
12141 mcore_pe_little_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
12142 mcore_pei_big_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
12143 mcore_pei_little_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
12144 mipslpe_vec
) tb
="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
12145 mipslpei_vec
) tb
="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
12146 newsos3_vec
) tb
="$tb newsos3.lo aout32.lo" ;;
12147 nlm32_alpha_vec
) tb
="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size
=64 ;;
12148 nlm32_i386_vec
) tb
="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
12149 nlm32_powerpc_vec
) tb
="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
12150 nlm32_sparc_vec
) tb
="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
12151 or32coff_big_vec
) tb
="$tb coff-or32.lo cofflink.lo" ;;
12152 pc532machaout_vec
) tb
="$tb pc532-mach.lo aout-ns32k.lo" ;;
12153 pc532netbsd_vec
) tb
="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
12154 pef_vec
) tb
="$tb pef.lo" ;;
12155 pef_xlib_vec
) tb
="$tb pef.lo" ;;
12156 pdp11_aout_vec
) tb
="$tb pdp11.lo" ;;
12157 pmac_xcoff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
12158 ppcboot_vec
) tb
="$tb ppcboot.lo" ;;
12159 riscix_vec
) tb
="$tb aout32.lo riscix.lo" ;;
12160 rs6000coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
12161 rs6000coff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
12162 shcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
12163 shcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
12164 shlcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
12165 shlcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
12166 shlpe_vec
) tb
="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
12167 shlpei_vec
) tb
="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
12168 som_vec
) tb
="$tb som.lo" ;;
12169 sparccoff_vec
) tb
="$tb coff-sparc.lo" ;;
12170 sparcle_aout_vec
) tb
="$tb aout-sparcle.lo aout32.lo" ;;
12171 sparclinux_vec
) tb
="$tb sparclinux.lo aout32.lo" ;;
12172 sparclynx_aout_vec
) tb
="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
12173 sparclynx_coff_vec
) tb
="$tb cf-sparclynx.lo lynx-core.lo" ;;
12174 sparcnetbsd_vec
) tb
="$tb sparcnetbsd.lo aout32.lo" ;;
12175 sunos_big_vec
) tb
="$tb sunos.lo aout32.lo" ;;
12176 sym_vec
) tb
="$tb xsym.lo" ;;
12177 tic30_aout_vec
) tb
="$tb aout-tic30.lo" ;;
12178 tic30_coff_vec
) tb
="$tb coff-tic30.lo" ;;
12179 tic4x_coff0_vec
) tb
="$tb coff-tic4x.lo" ;;
12180 tic4x_coff0_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
12181 tic4x_coff1_vec
) tb
="$tb coff-tic4x.lo" ;;
12182 tic4x_coff1_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
12183 tic4x_coff2_vec
) tb
="$tb coff-tic4x.lo" ;;
12184 tic4x_coff2_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
12185 tic54x_coff0_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
12186 tic54x_coff0_vec
) tb
="$tb coff-tic54x.lo" ;;
12187 tic54x_coff1_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
12188 tic54x_coff1_vec
) tb
="$tb coff-tic54x.lo" ;;
12189 tic54x_coff2_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
12190 tic54x_coff2_vec
) tb
="$tb coff-tic54x.lo" ;;
12191 tic80coff_vec
) tb
="$tb coff-tic80.lo cofflink.lo" ;;
12192 vaxnetbsd_vec
) tb
="$tb vaxnetbsd.lo aout32.lo" ;;
12193 vax1knetbsd_vec
) tb
="$tb vax1knetbsd.lo aout32.lo" ;;
12194 vaxbsd_vec
) tb
="$tb vaxbsd.lo aout32.lo" ;;
12195 versados_vec
) tb
="$tb versados.lo" ;;
12196 vms_alpha_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size
=64 ;;
12197 vms_vax_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
12198 w65_vec
) tb
="$tb coff-w65.lo reloc16.lo" ;;
12199 we32kcoff_vec
) tb
="$tb coff-we32k.lo" ;;
12200 z8kcoff_vec
) tb
="$tb coff-z8k.lo reloc16.lo" ;;
12202 # These appear out of order in targets.c
12203 srec_vec
) tb
="$tb srec.lo" ;;
12204 symbolsrec_vec
) tb
="$tb srec.lo" ;;
12205 tekhex_vec
) tb
="$tb tekhex.lo" ;;
12206 cisco_core_big_vec
) tb
="$tb cisco-core.lo" ;;
12207 cisco_core_little_vec
) tb
="$tb cisco-core.lo" ;;
12210 *) { { echo "$as_me:$LINENO: error: *** unknown target vector $vec" >&5
12211 echo "$as_me: error: *** unknown target vector $vec" >&2;}
12212 { (exit 1); exit 1; }; } ;;
12215 if test ${target_size} = 64; then
12218 if test x
"${vec}" = x
"${defvec}"; then
12219 bfd_default_target_size
=${target_size}
12223 # Target architecture .o files.
12224 # A couple of CPUs use shorter file names to avoid problems on DOS
12226 ta
=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
12228 # Weed out duplicate .o files.
12250 if test x
${all_targets} = xtrue
; then
12251 bfd_backends
="${bfd_backends}"' $(ALL_BACKENDS)'
12252 bfd_machines
="${bfd_machines}"' $(ALL_MACHINES)'
12256 test -n "$assocvecs" &&
12257 assocvecs
=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
12258 else # all_targets is true
12259 # Only set these if they will be nonempty, for the clever echo.
12262 test -n "$selvecs" &&
12263 havevecs
=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
12264 test -n "$selvecs" &&
12265 selvecs
=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
12266 test -n "$selarchs" &&
12267 selarchs
=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
12268 fi # all_targets is true
12270 case ${host64}-${target64}-${want64} in
12273 bfd_libs
='$(BFD64_LIBS) $(BFD32_LIBS)'
12274 all_backends
='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
12275 if test $BFD_HOST_64_BIT_DEFINED = 0; then
12276 { echo "$as_me:$LINENO: WARNING: You have requested a 64 bit BFD configuration, but" >&5
12277 echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
12278 { echo "$as_me:$LINENO: WARNING: your compiler may not have a 64 bit integral type" >&5
12279 echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
12281 if test -n "$GCC" ; then
12283 echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
12284 echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
12285 # Add more tests for gcc versions with non-working 64-bit support here.
12286 cat >conftest.
$ac_ext <<_ACEOF
12289 cat confdefs.h
>>conftest.
$ac_ext
12290 cat >>conftest.
$ac_ext <<_ACEOF
12291 /* end confdefs.h. */
12292 :__GNUC__:__GNUC_MINOR__:__i386__:
12294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12295 $EGREP ": 2 : 91 : 1 :" >/dev
/null
2>&1; then
12297 echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
12298 echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
12300 echo "$as_me:$LINENO: result: no" >&5
12301 echo "${ECHO_T}no" >&6
12305 if test $bad_64bit_gcc = yes ; then
12306 { { echo "$as_me:$LINENO: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&5
12307 echo "$as_me: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&2;}
12308 { (exit 1); exit 1; }; }
12314 bfd_libs
='$(BFD32_LIBS)'
12315 all_backends
='$(BFD32_BACKENDS)'
12326 # Determine the host dependant file_ptr a.k.a. off_t type. In order
12327 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
12328 # fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
12329 # Hopefully a reasonable assumption since fseeko et.al. should be
12330 # upward compatible.
12335 for ac_func
in ftello ftello64 fseeko fseeko64
12337 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12338 echo "$as_me:$LINENO: checking for $ac_func" >&5
12339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12340 if eval "test \"\${$as_ac_var+set}\" = set"; then
12341 echo $ECHO_N "(cached) $ECHO_C" >&6
12343 cat >conftest.
$ac_ext <<_ACEOF
12346 cat confdefs.h
>>conftest.
$ac_ext
12347 cat >>conftest.
$ac_ext <<_ACEOF
12348 /* end confdefs.h. */
12349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12351 #define $ac_func innocuous_$ac_func
12353 /* System header to define __stub macros and hopefully few prototypes,
12354 which can conflict with char $ac_func (); below.
12355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12356 <limits.h> exists even on freestanding compilers. */
12359 # include <limits.h>
12361 # include <assert.h>
12366 /* Override any gcc2 internal prototype to avoid an error. */
12371 /* We use char because int might match the return type of a gcc2
12372 builtin and then its argument prototype would still apply. */
12374 /* The GNU C library defines this for functions which it implements
12375 to always fail with ENOSYS. Some functions are actually named
12376 something starting with __ and the normal name is an alias. */
12377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12380 char (*f) () = $ac_func;
12389 return f != $ac_func;
12394 rm -f conftest.
$ac_objext conftest
$ac_exeext
12395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12396 (eval $ac_link) 2>conftest.er1
12398 grep -v '^ *+' conftest.er1
>conftest.err
12400 cat conftest.err
>&5
12401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402 (exit $ac_status); } &&
12403 { ac_try
='test -z "$ac_c_werror_flag"
12404 || test ! -s conftest.err'
12405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12406 (eval $ac_try) 2>&5
12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409 (exit $ac_status); }; } &&
12410 { ac_try
='test -s conftest$ac_exeext'
12411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12412 (eval $ac_try) 2>&5
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); }; }; then
12416 eval "$as_ac_var=yes"
12418 echo "$as_me: failed program was:" >&5
12419 sed 's/^/| /' conftest.
$ac_ext >&5
12421 eval "$as_ac_var=no"
12423 rm -f conftest.err conftest.
$ac_objext \
12424 conftest
$ac_exeext conftest.
$ac_ext
12426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12428 if test `eval echo '${'$as_ac_var'}'` = yes; then
12429 cat >>confdefs.h
<<_ACEOF
12430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12436 if test x
"$ac_cv_func_ftello" = xyes
-a x
"$ac_cv_func_fseeko" = xyes
; then
12437 echo "$as_me:$LINENO: checking size of off_t" >&5
12438 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
12439 if test "${ac_cv_sizeof_off_t+set}" = set; then
12440 echo $ECHO_N "(cached) $ECHO_C" >&6
12442 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
12443 cat >conftest.
$ac_ext <<_ACEOF
12446 cat confdefs.h
>>conftest.
$ac_ext
12447 cat >>conftest.
$ac_ext <<_ACEOF
12448 /* end confdefs.h. */
12449 #include "confdefs.h"
12450 #include <sys/types.h>
12456 switch (0) case 0: case (sizeof (off_t) == $ac_size):;
12461 rm -f conftest.
$ac_objext
12462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12463 (eval $ac_compile) 2>conftest.er1
12465 grep -v '^ *+' conftest.er1
>conftest.err
12467 cat conftest.err
>&5
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); } &&
12470 { ac_try
='test -z "$ac_c_werror_flag"
12471 || test ! -s conftest.err'
12472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12473 (eval $ac_try) 2>&5
12475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476 (exit $ac_status); }; } &&
12477 { ac_try
='test -s conftest.$ac_objext'
12478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12479 (eval $ac_try) 2>&5
12481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12482 (exit $ac_status); }; }; then
12483 ac_cv_sizeof_off_t
=$ac_size
12485 echo "$as_me: failed program was:" >&5
12486 sed 's/^/| /' conftest.
$ac_ext >&5
12489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12490 if test x
$ac_cv_sizeof_off_t != x
; then break; fi
12495 if test x
$ac_cv_sizeof_off_t = x
; then
12496 { { echo "$as_me:$LINENO: error: cannot determine a size for off_t" >&5
12497 echo "$as_me: error: cannot determine a size for off_t" >&2;}
12498 { (exit 1); exit 1; }; }
12500 echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
12501 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
12503 cat >>confdefs.h
<<_ACEOF
12504 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
12509 echo "$as_me:$LINENO: checking file_ptr type" >&5
12510 echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
12511 bfd_file_ptr
="long"
12512 bfd_ufile_ptr
="unsigned long"
12513 if test x
"$ac_cv_func_ftello64" = xyes
-a x
"$ac_cv_func_fseeko64" = xyes \
12514 -o x
"${ac_cv_sizeof_off_t}" = x8
; then
12515 bfd_file_ptr
=BFD_HOST_64_BIT
12516 bfd_ufile_ptr
=BFD_HOST_U_64_BIT
12518 echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
12519 echo "${ECHO_T}$bfd_file_ptr" >&6
12525 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
12526 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
12527 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
12528 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
12529 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
12534 for ac_header
in stdlib.h unistd.h
12536 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12538 echo "$as_me:$LINENO: checking for $ac_header" >&5
12539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12541 echo $ECHO_N "(cached) $ECHO_C" >&6
12543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12544 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12546 # Is the header compilable?
12547 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12548 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12549 cat >conftest.
$ac_ext <<_ACEOF
12552 cat confdefs.h
>>conftest.
$ac_ext
12553 cat >>conftest.
$ac_ext <<_ACEOF
12554 /* end confdefs.h. */
12555 $ac_includes_default
12556 #include <$ac_header>
12558 rm -f conftest.
$ac_objext
12559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12560 (eval $ac_compile) 2>conftest.er1
12562 grep -v '^ *+' conftest.er1
>conftest.err
12564 cat conftest.err
>&5
12565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12566 (exit $ac_status); } &&
12567 { ac_try
='test -z "$ac_c_werror_flag"
12568 || test ! -s conftest.err'
12569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12570 (eval $ac_try) 2>&5
12572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12573 (exit $ac_status); }; } &&
12574 { ac_try
='test -s conftest.$ac_objext'
12575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12576 (eval $ac_try) 2>&5
12578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 (exit $ac_status); }; }; then
12580 ac_header_compiler
=yes
12582 echo "$as_me: failed program was:" >&5
12583 sed 's/^/| /' conftest.
$ac_ext >&5
12585 ac_header_compiler
=no
12587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12588 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12589 echo "${ECHO_T}$ac_header_compiler" >&6
12591 # Is the header present?
12592 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12593 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12594 cat >conftest.
$ac_ext <<_ACEOF
12597 cat confdefs.h
>>conftest.
$ac_ext
12598 cat >>conftest.
$ac_ext <<_ACEOF
12599 /* end confdefs.h. */
12600 #include <$ac_header>
12602 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12603 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12605 grep -v '^ *+' conftest.er1
>conftest.err
12607 cat conftest.err
>&5
12608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12609 (exit $ac_status); } >/dev
/null
; then
12610 if test -s conftest.err
; then
12611 ac_cpp_err
=$ac_c_preproc_warn_flag
12612 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12619 if test -z "$ac_cpp_err"; then
12620 ac_header_preproc
=yes
12622 echo "$as_me: failed program was:" >&5
12623 sed 's/^/| /' conftest.
$ac_ext >&5
12625 ac_header_preproc
=no
12627 rm -f conftest.err conftest.
$ac_ext
12628 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12629 echo "${ECHO_T}$ac_header_preproc" >&6
12631 # So? What about this header?
12632 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12634 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12635 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12636 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12637 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12638 ac_header_preproc
=yes
12641 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12642 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12643 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12644 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12645 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12646 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12647 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12648 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12649 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12650 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12651 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12652 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12655 ## ------------------------------------------ ##
12656 ## Report this to the AC_PACKAGE_NAME lists. ##
12657 ## ------------------------------------------ ##
12660 sed "s/^/$as_me: WARNING: /" >&2
12663 echo "$as_me:$LINENO: checking for $ac_header" >&5
12664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12666 echo $ECHO_N "(cached) $ECHO_C" >&6
12668 eval "$as_ac_Header=\$ac_header_preproc"
12670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12674 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12675 cat >>confdefs.h
<<_ACEOF
12676 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12684 for ac_func
in getpagesize
12686 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12687 echo "$as_me:$LINENO: checking for $ac_func" >&5
12688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12689 if eval "test \"\${$as_ac_var+set}\" = set"; then
12690 echo $ECHO_N "(cached) $ECHO_C" >&6
12692 cat >conftest.
$ac_ext <<_ACEOF
12695 cat confdefs.h
>>conftest.
$ac_ext
12696 cat >>conftest.
$ac_ext <<_ACEOF
12697 /* end confdefs.h. */
12698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12700 #define $ac_func innocuous_$ac_func
12702 /* System header to define __stub macros and hopefully few prototypes,
12703 which can conflict with char $ac_func (); below.
12704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12705 <limits.h> exists even on freestanding compilers. */
12708 # include <limits.h>
12710 # include <assert.h>
12715 /* Override any gcc2 internal prototype to avoid an error. */
12720 /* We use char because int might match the return type of a gcc2
12721 builtin and then its argument prototype would still apply. */
12723 /* The GNU C library defines this for functions which it implements
12724 to always fail with ENOSYS. Some functions are actually named
12725 something starting with __ and the normal name is an alias. */
12726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12729 char (*f) () = $ac_func;
12738 return f != $ac_func;
12743 rm -f conftest.
$ac_objext conftest
$ac_exeext
12744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12745 (eval $ac_link) 2>conftest.er1
12747 grep -v '^ *+' conftest.er1
>conftest.err
12749 cat conftest.err
>&5
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); } &&
12752 { ac_try
='test -z "$ac_c_werror_flag"
12753 || test ! -s conftest.err'
12754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12755 (eval $ac_try) 2>&5
12757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758 (exit $ac_status); }; } &&
12759 { ac_try
='test -s conftest$ac_exeext'
12760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12761 (eval $ac_try) 2>&5
12763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12764 (exit $ac_status); }; }; then
12765 eval "$as_ac_var=yes"
12767 echo "$as_me: failed program was:" >&5
12768 sed 's/^/| /' conftest.
$ac_ext >&5
12770 eval "$as_ac_var=no"
12772 rm -f conftest.err conftest.
$ac_objext \
12773 conftest
$ac_exeext conftest.
$ac_ext
12775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12777 if test `eval echo '${'$as_ac_var'}'` = yes; then
12778 cat >>confdefs.h
<<_ACEOF
12779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12785 echo "$as_me:$LINENO: checking for working mmap" >&5
12786 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
12787 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
12788 echo $ECHO_N "(cached) $ECHO_C" >&6
12790 if test "$cross_compiling" = yes; then
12791 ac_cv_func_mmap_fixed_mapped
=no
12793 cat >conftest.
$ac_ext <<_ACEOF
12796 cat confdefs.h
>>conftest.
$ac_ext
12797 cat >>conftest.
$ac_ext <<_ACEOF
12798 /* end confdefs.h. */
12799 $ac_includes_default
12800 /* malloc might have been renamed as rpl_malloc. */
12803 /* Thanks to Mike Haertel and Jim Avera for this test.
12804 Here is a matrix of mmap possibilities:
12805 mmap private not fixed
12806 mmap private fixed at somewhere currently unmapped
12807 mmap private fixed at somewhere already mapped
12808 mmap shared not fixed
12809 mmap shared fixed at somewhere currently unmapped
12810 mmap shared fixed at somewhere already mapped
12811 For private mappings, we should verify that changes cannot be read()
12812 back from the file, nor mmap's back from the file at a different
12813 address. (There have been systems where private was not correctly
12814 implemented like the infamous i386 svr4.0, and systems where the
12815 VM page cache was not coherent with the file system buffer cache
12816 like early versions of FreeBSD and possibly contemporary NetBSD.)
12817 For shared mappings, we should conversely verify that changes get
12818 propagated back to all the places they're supposed to be.
12820 Grep wants private fixed already mapped.
12821 The main things grep needs to know about mmap are:
12822 * does it exist and is it safe to write into the mmap'd area
12823 * how to use it (BSD variants) */
12826 #include <sys/mman.h>
12828 #if !STDC_HEADERS && !HAVE_STDLIB_H
12832 /* This mess was copied from the GNU getpagesize.h. */
12833 #if !HAVE_GETPAGESIZE
12834 /* Assume that all systems that can run configure have sys/param.h. */
12835 # if !HAVE_SYS_PARAM_H
12836 # define HAVE_SYS_PARAM_H 1
12839 # ifdef _SC_PAGESIZE
12840 # define getpagesize() sysconf(_SC_PAGESIZE)
12841 # else /* no _SC_PAGESIZE */
12842 # if HAVE_SYS_PARAM_H
12843 # include <sys/param.h>
12844 # ifdef EXEC_PAGESIZE
12845 # define getpagesize() EXEC_PAGESIZE
12846 # else /* no EXEC_PAGESIZE */
12848 # define getpagesize() NBPG * CLSIZE
12851 # endif /* no CLSIZE */
12852 # else /* no NBPG */
12854 # define getpagesize() NBPC
12855 # else /* no NBPC */
12857 # define getpagesize() PAGESIZE
12858 # endif /* PAGESIZE */
12859 # endif /* no NBPC */
12860 # endif /* no NBPG */
12861 # endif /* no EXEC_PAGESIZE */
12862 # else /* no HAVE_SYS_PARAM_H */
12863 # define getpagesize() 8192 /* punt totally */
12864 # endif /* no HAVE_SYS_PARAM_H */
12865 # endif /* no _SC_PAGESIZE */
12867 #endif /* no HAVE_GETPAGESIZE */
12872 char *data, *data2, *data3;
12876 pagesize = getpagesize ();
12878 /* First, make a file with some known garbage in it. */
12879 data = (char *) malloc (pagesize);
12882 for (i = 0; i < pagesize; ++i)
12883 *(data + i) = rand ();
12885 fd = creat ("conftest.mmap", 0600);
12888 if (write (fd, data, pagesize) != pagesize)
12892 /* Next, try to mmap the file at a fixed address which already has
12893 something else allocated at it. If we can, also make sure that
12894 we see the same garbage. */
12895 fd = open ("conftest.mmap", O_RDWR);
12898 data2 = (char *) malloc (2 * pagesize);
12901 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
12902 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12903 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12905 for (i = 0; i < pagesize; ++i)
12906 if (*(data + i) != *(data2 + i))
12909 /* Finally, make sure that changes to the mapped area do not
12910 percolate back to the file as seen by read(). (This is a bug on
12911 some variants of i386 svr4.0.) */
12912 for (i = 0; i < pagesize; ++i)
12913 *(data2 + i) = *(data2 + i) + 1;
12914 data3 = (char *) malloc (pagesize);
12917 if (read (fd, data3, pagesize) != pagesize)
12919 for (i = 0; i < pagesize; ++i)
12920 if (*(data + i) != *(data3 + i))
12926 rm -f conftest
$ac_exeext
12927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12928 (eval $ac_link) 2>&5
12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12933 (eval $ac_try) 2>&5
12935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936 (exit $ac_status); }; }; then
12937 ac_cv_func_mmap_fixed_mapped
=yes
12939 echo "$as_me: program exited with status $ac_status" >&5
12940 echo "$as_me: failed program was:" >&5
12941 sed 's/^/| /' conftest.
$ac_ext >&5
12943 ( exit $ac_status )
12944 ac_cv_func_mmap_fixed_mapped
=no
12946 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12949 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
12950 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
12951 if test $ac_cv_func_mmap_fixed_mapped = yes; then
12953 cat >>confdefs.h
<<\_ACEOF
12954 #define HAVE_MMAP 1
12958 rm -f conftest.mmap
12962 for ac_func
in madvise mprotect
12964 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12965 echo "$as_me:$LINENO: checking for $ac_func" >&5
12966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12967 if eval "test \"\${$as_ac_var+set}\" = set"; then
12968 echo $ECHO_N "(cached) $ECHO_C" >&6
12970 cat >conftest.
$ac_ext <<_ACEOF
12973 cat confdefs.h
>>conftest.
$ac_ext
12974 cat >>conftest.
$ac_ext <<_ACEOF
12975 /* end confdefs.h. */
12976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12978 #define $ac_func innocuous_$ac_func
12980 /* System header to define __stub macros and hopefully few prototypes,
12981 which can conflict with char $ac_func (); below.
12982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12983 <limits.h> exists even on freestanding compilers. */
12986 # include <limits.h>
12988 # include <assert.h>
12993 /* Override any gcc2 internal prototype to avoid an error. */
12998 /* We use char because int might match the return type of a gcc2
12999 builtin and then its argument prototype would still apply. */
13001 /* The GNU C library defines this for functions which it implements
13002 to always fail with ENOSYS. Some functions are actually named
13003 something starting with __ and the normal name is an alias. */
13004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13007 char (*f) () = $ac_func;
13016 return f != $ac_func;
13021 rm -f conftest.
$ac_objext conftest
$ac_exeext
13022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13023 (eval $ac_link) 2>conftest.er1
13025 grep -v '^ *+' conftest.er1
>conftest.err
13027 cat conftest.err
>&5
13028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13029 (exit $ac_status); } &&
13030 { ac_try
='test -z "$ac_c_werror_flag"
13031 || test ! -s conftest.err'
13032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13033 (eval $ac_try) 2>&5
13035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13036 (exit $ac_status); }; } &&
13037 { ac_try
='test -s conftest$ac_exeext'
13038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13039 (eval $ac_try) 2>&5
13041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042 (exit $ac_status); }; }; then
13043 eval "$as_ac_var=yes"
13045 echo "$as_me: failed program was:" >&5
13046 sed 's/^/| /' conftest.
$ac_ext >&5
13048 eval "$as_ac_var=no"
13050 rm -f conftest.err conftest.
$ac_objext \
13051 conftest
$ac_exeext conftest.
$ac_ext
13053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13055 if test `eval echo '${'$as_ac_var'}'` = yes; then
13056 cat >>confdefs.h
<<_ACEOF
13057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13063 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
13065 cat >>confdefs.h
<<\_ACEOF
13071 rm -f doc
/config.status
13072 ac_config_files
="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
13074 ac_config_commands
="$ac_config_commands default"
13076 cat >confcache
<<\_ACEOF
13077 # This file is a shell script that caches the results of configure
13078 # tests run on this system so they can be shared between configure
13079 # scripts and configure runs, see configure's option --config-cache.
13080 # It is not useful on other systems. If it contains results you don't
13081 # want to keep, you may remove or edit it.
13083 # config.status only pays attention to the cache file if you give it
13084 # the --recheck option to rerun configure.
13086 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13087 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13088 # following values.
13092 # The following way of writing the cache mishandles newlines in values,
13093 # but we know of no workaround that is simple, portable, and efficient.
13094 # So, don't put newlines in cache variables' values.
13095 # Ultrix sh set writes to stderr and can't be redirected directly,
13096 # and sets the high bit in the cache file unless we assign to the vars.
13099 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13101 # `set' does not quote correctly, so add quotes (double-quote
13102 # substitution turns \\\\ into \\, and sed turns \\ into \).
13105 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13108 # `set' quotes correctly as required by POSIX, so do not add quotes.
13110 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
13117 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13119 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13121 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
13122 if test -w $cache_file; then
13123 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
13124 cat confcache
>$cache_file
13126 echo "not updating unwritable cache $cache_file"
13131 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13132 # Let make expand exec_prefix.
13133 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13135 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13136 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13137 # trailing colons and then remove the whole line if VPATH becomes empty
13138 # (actually we leave an empty line to preserve line numbers).
13139 if test "x$srcdir" = x.
; then
13140 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
13141 s/:*\$(srcdir):*/:/;
13142 s/:*\${srcdir}:*/:/;
13144 s/^\([^=]*=[ ]*\):*/\1/;
13150 DEFS
=-DHAVE_CONFIG_H
13154 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13155 # 1. Remove the extension, and $U if already installed.
13156 ac_i
=`echo "$ac_i" |
13157 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
13159 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
13160 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
13162 LIBOBJS
=$ac_libobjs
13164 LTLIBOBJS
=$ac_ltlibobjs
13167 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13168 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13169 Usually this means the macro was only invoked conditionally." >&5
13170 echo "$as_me: error: conditional \"AMDEP\" was never defined.
13171 Usually this means the macro was only invoked conditionally." >&2;}
13172 { (exit 1); exit 1; }; }
13174 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13175 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13176 Usually this means the macro was only invoked conditionally." >&5
13177 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13178 Usually this means the macro was only invoked conditionally." >&2;}
13179 { (exit 1); exit 1; }; }
13181 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13182 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13183 Usually this means the macro was only invoked conditionally." >&5
13184 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
13185 Usually this means the macro was only invoked conditionally." >&2;}
13186 { (exit 1); exit 1; }; }
13188 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
13189 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
13190 Usually this means the macro was only invoked conditionally." >&5
13191 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
13192 Usually this means the macro was only invoked conditionally." >&2;}
13193 { (exit 1); exit 1; }; }
13196 : ${CONFIG_STATUS=./config.status}
13197 ac_clean_files_save
=$ac_clean_files
13198 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13199 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13200 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13201 cat >$CONFIG_STATUS <<_ACEOF
13203 # Generated by $as_me.
13204 # Run this file to recreate the current configuration.
13205 # Compiler output produced by configure, useful for debugging
13206 # configure, is in config.log if it exists.
13209 ac_cs_recheck=false
13211 SHELL=\${CONFIG_SHELL-$SHELL}
13214 cat >>$CONFIG_STATUS <<\_ACEOF
13215 ## --------------------- ##
13216 ## M4sh Initialization. ##
13217 ## --------------------- ##
13219 # Be Bourne compatible
13220 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13223 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13224 # is contrary to our usage. Disable this feature.
13225 alias -g '${1+"$@"}'='"$@"'
13226 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
13229 DUALCASE
=1; export DUALCASE
# for MKS sh
13231 # Support unset when possible.
13232 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
13239 # Work around bugs in pre-3.0 UWIN ksh.
13240 $as_unset ENV MAIL MAILPATH
13247 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13248 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13249 LC_TELEPHONE LC_TIME
13251 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13252 eval $as_var=C
; export $as_var
13258 # Required to use basename.
13259 if expr a
: '\(a\)' >/dev
/null
2>&1; then
13265 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
13266 as_basename
=basename
13272 # Name of the executable.
13273 as_me
=`$as_basename "$0" ||
13274 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13275 X"$0" : 'X\(//\)$' \| \
13276 X"$0" : 'X\(/\)$' \| \
13277 . : '\(.\)' 2>/dev/null ||
13279 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13280 /^X\/\(\/\/\)$/{ s//\1/; q; }
13281 /^X\/\(\/\).*/{ s//\1/; q; }
13285 # PATH needs CR, and LINENO needs CR and PATH.
13286 # Avoid depending upon Character Ranges.
13287 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13288 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13289 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13290 as_cr_digits
='0123456789'
13291 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13293 # The user is always right.
13294 if test "${PATH_SEPARATOR+set}" != set; then
13295 echo "#! /bin/sh" >conf$$.sh
13296 echo "exit 0" >>conf$$.sh
13298 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13307 as_lineno_1
=$LINENO
13308 as_lineno_2
=$LINENO
13309 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
13310 test "x$as_lineno_1" != "x$as_lineno_2" &&
13311 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
13312 # Find who we are. Look in the path if we contain no path at all
13315 *[\\/]* ) as_myself
=$0 ;;
13316 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13317 for as_dir
in $PATH
13320 test -z "$as_dir" && as_dir
=.
13321 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
13326 # We did not find ourselves, most probably we were run as `sh COMMAND'
13327 # in which case we are not to be found in the path.
13328 if test "x$as_myself" = x
; then
13331 if test ! -f "$as_myself"; then
13332 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
13333 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
13334 { (exit 1); exit 1; }; }
13336 case $CONFIG_SHELL in
13338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13339 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
13342 test -z "$as_dir" && as_dir
=.
13343 for as_base
in sh bash ksh sh5
; do
13346 if ("$as_dir/$as_base" -c '
13347 as_lineno_1=$LINENO
13348 as_lineno_2=$LINENO
13349 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13350 test "x$as_lineno_1" != "x$as_lineno_2" &&
13351 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
13352 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
13353 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
13354 CONFIG_SHELL
=$as_dir/$as_base
13355 export CONFIG_SHELL
13356 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
13364 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13365 # uniformly replaced by the line number. The first 'sed' inserts a
13366 # line-number line before each line; the second 'sed' does the real
13367 # work. The second script uses 'N' to pair each line-number line
13368 # with the numbered line, and appends trailing '-' during
13369 # substitution so that $LINENO is not a special case at line end.
13370 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13371 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
13372 sed '=' <$as_myself |
13377 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
13380 s,^['$as_cr_digits']*\n,,
13381 ' >$as_me.lineno
&&
13382 chmod +x
$as_me.lineno ||
13383 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
13384 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
13385 { (exit 1); exit 1; }; }
13387 # Don't try to exec as it changes $[0], causing all sort of problems
13388 # (the dirname of $[0] is not the place where we might find the
13389 # original and so on. Autoconf is especially sensible to this).
13391 # Exit status is that of the last command.
13396 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
13397 *c
*,-n*) ECHO_N
= ECHO_C
='
13399 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
13400 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
13403 if expr a
: '\(a\)' >/dev
/null
2>&1; then
13409 rm -f conf$$ conf$$.exe conf$$.
file
13411 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13412 # We could just check for DJGPP; but this test a) works b) is more generic
13413 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
13414 if test -f conf$$.exe
; then
13415 # Don't use ln at all; we don't have any links
13420 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13425 rm -f conf$$ conf$$.exe conf$$.
file
13427 if mkdir
-p .
2>/dev
/null
; then
13430 test -d .
/-p && rmdir .
/-p
13434 as_executable_p
="test -f"
13436 # Sed expression to map a string onto a valid CPP name.
13437 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13439 # Sed expression to map a string onto a valid variable name.
13440 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13444 # We need space, tab and new line, in precisely that order.
13454 # Open the log real soon, to keep \$[0] and so on meaningful, and to
13455 # report actual input values of CONFIG_FILES etc. instead of their
13456 # values after options handling. Logging --version etc. is OK.
13460 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13461 ## Running $as_me. ##
13466 This file was extended by $as_me, which was
13467 generated by GNU Autoconf 2.59. Invocation command line was
13469 CONFIG_FILES = $CONFIG_FILES
13470 CONFIG_HEADERS = $CONFIG_HEADERS
13471 CONFIG_LINKS = $CONFIG_LINKS
13472 CONFIG_COMMANDS = $CONFIG_COMMANDS
13476 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
13480 # Files that config.status was made for.
13481 if test -n "$ac_config_files"; then
13482 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
13485 if test -n "$ac_config_headers"; then
13486 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
13489 if test -n "$ac_config_links"; then
13490 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
13493 if test -n "$ac_config_commands"; then
13494 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
13497 cat >>$CONFIG_STATUS <<\_ACEOF
13500 \`$as_me' instantiates files from templates according to the
13501 current configuration.
13503 Usage: $0 [OPTIONS] [FILE]...
13505 -h, --help print this help, then exit
13506 -V, --version print version number, then exit
13507 -q, --quiet do not print progress messages
13508 -d, --debug don't remove temporary files
13509 --recheck update $as_me by reconfiguring in the same conditions
13510 --file=FILE[:TEMPLATE]
13511 instantiate the configuration file FILE
13512 --header=FILE[:TEMPLATE]
13513 instantiate the configuration header FILE
13515 Configuration files:
13518 Configuration headers:
13521 Configuration commands:
13524 Report bugs to <bug-autoconf@gnu.org>."
13527 cat >>$CONFIG_STATUS <<_ACEOF
13530 configured by $0, generated by GNU Autoconf 2.59,
13531 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13533 Copyright (C) 2003 Free Software Foundation, Inc.
13534 This config.status script is free software; the Free Software Foundation
13535 gives unlimited permission to copy, distribute and modify it."
13540 cat >>$CONFIG_STATUS <<\_ACEOF
13541 # If no file are specified by the user, then we need to provide default
13542 # value. By we need to know if files were specified by the user.
13548 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
13549 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
13557 *) # This is not an option, so the user has probably given explicit
13560 ac_need_defaults
=false
;;
13564 # Handling of the options.
13566 cat >>$CONFIG_STATUS <<\_ACEOF
13567 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13569 --version |
--vers* |
-V )
13570 echo "$ac_cs_version"; exit 0 ;;
13572 # Conflict between --help and --header
13573 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13574 Try \`$0 --help' for more information." >&5
13575 echo "$as_me: error: ambiguous option: $1
13576 Try \`$0 --help' for more information." >&2;}
13577 { (exit 1); exit 1; }; };;
13578 --help |
--hel |
-h )
13579 echo "$ac_cs_usage"; exit 0 ;;
13580 --debug |
--d* |
-d )
13582 --file |
--fil |
--fi |
--f )
13584 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13585 ac_need_defaults
=false
;;
13586 --header |
--heade |
--head |
--hea )
13588 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13589 ac_need_defaults
=false
;;
13590 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13591 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13594 # This is an error.
13595 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13596 Try \`$0 --help' for more information." >&5
13597 echo "$as_me: error: unrecognized option: $1
13598 Try \`$0 --help' for more information." >&2;}
13599 { (exit 1); exit 1; }; } ;;
13601 *) ac_config_targets
="$ac_config_targets $1" ;;
13607 ac_configure_extra_args
=
13609 if $ac_cs_silent; then
13611 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13615 cat >>$CONFIG_STATUS <<_ACEOF
13616 if \$ac_cs_recheck; then
13617 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13618 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13623 cat >>$CONFIG_STATUS <<_ACEOF
13625 # INIT-COMMANDS section.
13628 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13635 cat >>$CONFIG_STATUS <<\_ACEOF
13636 for ac_config_target
in $ac_config_targets
13638 case "$ac_config_target" in
13639 # Handling of arguments.
13640 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13641 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
13642 "bfd-in3.h" ) CONFIG_FILES
="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
13643 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
13644 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13645 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
13646 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
13647 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13648 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13649 { (exit 1); exit 1; }; };;
13653 # If the user did not use the arguments to specify the items to instantiate,
13654 # then the envvar interface is used. Set only those that are not.
13655 # We use the long form for the default assignment because of an extremely
13656 # bizarre bug on SunOS 4.1.3.
13657 if $ac_need_defaults; then
13658 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13659 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13660 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13663 # Have a temporary directory for convenience. Make it in the build tree
13664 # simply because there is no reason to put it here, and in addition,
13665 # creating and moving files from /tmp can sometimes cause problems.
13666 # Create a temporary directory, and hook for its removal unless debugging.
13669 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13670 trap '{ (exit 1); exit 1; }' 1 2 13 15
13673 # Create a (secure) tmp directory for tmp files.
13676 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13677 test -n "$tmp" && test -d "$tmp"
13680 tmp
=.
/confstat$$
-$RANDOM
13681 (umask 077 && mkdir
$tmp)
13684 echo "$me: cannot create a temporary directory in ." >&2
13685 { (exit 1); exit 1; }
13690 cat >>$CONFIG_STATUS <<_ACEOF
13693 # CONFIG_FILES section.
13696 # No need to generate the scripts if there are no CONFIG_FILES.
13697 # This happens for instance when ./config.status config.h
13698 if test -n "\$CONFIG_FILES"; then
13699 # Protect against being on the right side of a sed subst in config.status.
13700 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13701 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13702 s,@SHELL@,$SHELL,;t t
13703 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13704 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13705 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13706 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13707 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13708 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13709 s,@exec_prefix@,$exec_prefix,;t t
13710 s,@prefix@,$prefix,;t t
13711 s,@program_transform_name@,$program_transform_name,;t t
13712 s,@bindir@,$bindir,;t t
13713 s,@sbindir@,$sbindir,;t t
13714 s,@libexecdir@,$libexecdir,;t t
13715 s,@datadir@,$datadir,;t t
13716 s,@sysconfdir@,$sysconfdir,;t t
13717 s,@sharedstatedir@,$sharedstatedir,;t t
13718 s,@localstatedir@,$localstatedir,;t t
13719 s,@libdir@,$libdir,;t t
13720 s,@includedir@,$includedir,;t t
13721 s,@oldincludedir@,$oldincludedir,;t t
13722 s,@infodir@,$infodir,;t t
13723 s,@mandir@,$mandir,;t t
13724 s,@build_alias@,$build_alias,;t t
13725 s,@host_alias@,$host_alias,;t t
13726 s,@target_alias@,$target_alias,;t t
13727 s,@DEFS@,$DEFS,;t t
13728 s,@ECHO_C@,$ECHO_C,;t t
13729 s,@ECHO_N@,$ECHO_N,;t t
13730 s,@ECHO_T@,$ECHO_T,;t t
13731 s,@LIBS@,$LIBS,;t t
13732 s,@build@,$build,;t t
13733 s,@build_cpu@,$build_cpu,;t t
13734 s,@build_vendor@,$build_vendor,;t t
13735 s,@build_os@,$build_os,;t t
13736 s,@host@,$host,;t t
13737 s,@host_cpu@,$host_cpu,;t t
13738 s,@host_vendor@,$host_vendor,;t t
13739 s,@host_os@,$host_os,;t t
13740 s,@target@,$target,;t t
13741 s,@target_cpu@,$target_cpu,;t t
13742 s,@target_vendor@,$target_vendor,;t t
13743 s,@target_os@,$target_os,;t t
13745 s,@CFLAGS@,$CFLAGS,;t t
13746 s,@LDFLAGS@,$LDFLAGS,;t t
13747 s,@CPPFLAGS@,$CPPFLAGS,;t t
13748 s,@ac_ct_CC@,$ac_ct_CC,;t t
13749 s,@EXEEXT@,$EXEEXT,;t t
13750 s,@OBJEXT@,$OBJEXT,;t t
13751 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13752 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13753 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13754 s,@CYGPATH_W@,$CYGPATH_W,;t t
13755 s,@PACKAGE@,$PACKAGE,;t t
13756 s,@VERSION@,$VERSION,;t t
13757 s,@ACLOCAL@,$ACLOCAL,;t t
13758 s,@AUTOCONF@,$AUTOCONF,;t t
13759 s,@AUTOMAKE@,$AUTOMAKE,;t t
13760 s,@AUTOHEADER@,$AUTOHEADER,;t t
13761 s,@MAKEINFO@,$MAKEINFO,;t t
13762 s,@install_sh@,$install_sh,;t t
13763 s,@STRIP@,$STRIP,;t t
13764 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13765 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13766 s,@mkdir_p@,$mkdir_p,;t t
13768 s,@SET_MAKE@,$SET_MAKE,;t t
13769 s,@am__leading_dot@,$am__leading_dot,;t t
13770 s,@AMTAR@,$AMTAR,;t t
13771 s,@am__tar@,$am__tar,;t t
13772 s,@am__untar@,$am__untar,;t t
13773 s,@DEPDIR@,$DEPDIR,;t t
13774 s,@am__include@,$am__include,;t t
13775 s,@am__quote@,$am__quote,;t t
13776 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
13777 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
13778 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
13779 s,@CCDEPMODE@,$CCDEPMODE,;t t
13780 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
13781 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
13783 s,@ac_ct_AR@,$ac_ct_AR,;t t
13784 s,@RANLIB@,$RANLIB,;t t
13785 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13786 s,@LN_S@,$LN_S,;t t
13787 s,@LIBTOOL@,$LIBTOOL,;t t
13788 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
13789 s,@NO_WERROR@,$NO_WERROR,;t t
13790 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13791 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13792 s,@MAINT@,$MAINT,;t t
13793 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
13794 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
13795 s,@host_noncanonical@,$host_noncanonical,;t t
13796 s,@target_noncanonical@,$target_noncanonical,;t t
13797 s,@bfdlibdir@,$bfdlibdir,;t t
13798 s,@bfdincludedir@,$bfdincludedir,;t t
13800 s,@EGREP@,$EGREP,;t t
13801 s,@ALLOCA@,$ALLOCA,;t t
13802 s,@USE_NLS@,$USE_NLS,;t t
13803 s,@MSGFMT@,$MSGFMT,;t t
13804 s,@GMSGFMT@,$GMSGFMT,;t t
13805 s,@XGETTEXT@,$XGETTEXT,;t t
13806 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
13807 s,@CATALOGS@,$CATALOGS,;t t
13808 s,@CATOBJEXT@,$CATOBJEXT,;t t
13809 s,@DATADIRNAME@,$DATADIRNAME,;t t
13810 s,@GMOFILES@,$GMOFILES,;t t
13811 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
13812 s,@INTLDEPS@,$INTLDEPS,;t t
13813 s,@INTLLIBS@,$INTLLIBS,;t t
13814 s,@INTLOBJS@,$INTLOBJS,;t t
13815 s,@POFILES@,$POFILES,;t t
13816 s,@POSUB@,$POSUB,;t t
13817 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
13818 s,@GT_NO@,$GT_NO,;t t
13819 s,@GT_YES@,$GT_YES,;t t
13820 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
13822 s,@HDEFINES@,$HDEFINES,;t t
13823 s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
13824 s,@BFD_HOST_LONG_LONG@,$BFD_HOST_LONG_LONG,;t t
13825 s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
13826 s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
13827 s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
13828 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
13829 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
13830 s,@COREFILE@,$COREFILE,;t t
13831 s,@COREFLAG@,$COREFLAG,;t t
13832 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
13833 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
13834 s,@TDEFINES@,$TDEFINES,;t t
13835 s,@wordsize@,$wordsize,;t t
13836 s,@bfd_libs@,$bfd_libs,;t t
13837 s,@all_backends@,$all_backends,;t t
13838 s,@bfd_backends@,$bfd_backends,;t t
13839 s,@bfd_machines@,$bfd_machines,;t t
13840 s,@bfd_default_target_size@,$bfd_default_target_size,;t t
13841 s,@bfd_file_ptr@,$bfd_file_ptr,;t t
13842 s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
13843 s,@tdefaults@,$tdefaults,;t t
13844 s,@LIBOBJS@,$LIBOBJS,;t t
13845 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13850 cat >>$CONFIG_STATUS <<\_ACEOF
13851 # Split the substitutions into bite-sized pieces for seds with
13852 # small command number limits, like on Digital OSF/1 and HP-UX.
13853 ac_max_sed_lines
=48
13854 ac_sed_frag
=1 # Number of current file.
13855 ac_beg
=1 # First line for current file.
13856 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13859 while $ac_more_lines; do
13860 if test $ac_beg -gt 1; then
13861 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13863 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13865 if test ! -s $tmp/subs.frag
; then
13866 ac_more_lines
=false
13868 # The purpose of the label and of the branching condition is to
13869 # speed up the sed processing (if there are no `@' at all, there
13870 # is no need to browse any of the substitutions).
13871 # These are the two extra sed commands mentioned above.
13873 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13874 if test -z "$ac_sed_cmds"; then
13875 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13877 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13879 ac_sed_frag
=`expr $ac_sed_frag + 1`
13881 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13884 if test -z "$ac_sed_cmds"; then
13887 fi # test -n "$CONFIG_FILES"
13890 cat >>$CONFIG_STATUS <<\_ACEOF
13891 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13892 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13894 - |
*:- |
*:-:* ) # input from stdin
13896 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13897 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13898 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13899 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13900 * ) ac_file_in
=$ac_file.
in ;;
13903 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13904 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13905 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13906 X"$ac_file" : 'X\(//\)[^/]' \| \
13907 X"$ac_file" : 'X\(//\)$' \| \
13908 X"$ac_file" : 'X\(/\)' \| \
13909 . : '\(.\)' 2>/dev/null ||
13911 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13912 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13913 /^X\(\/\/\)$/{ s//\1/; q; }
13914 /^X\(\/\).*/{ s//\1/; q; }
13916 { if $as_mkdir_p; then
13921 while test ! -d "$as_dir"; do
13922 as_dirs
="$as_dir $as_dirs"
13923 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13924 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13925 X"$as_dir" : 'X\(//\)[^/]' \| \
13926 X"$as_dir" : 'X\(//\)$' \| \
13927 X"$as_dir" : 'X\(/\)' \| \
13928 . : '\(.\)' 2>/dev/null ||
13930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13931 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13932 /^X\(\/\/\)$/{ s//\1/; q; }
13933 /^X\(\/\).*/{ s//\1/; q; }
13936 test ! -n "$as_dirs" || mkdir
$as_dirs
13937 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13938 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13939 { (exit 1); exit 1; }; }; }
13943 if test "$ac_dir" != .
; then
13944 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13945 # A "../" for each directory in $ac_dir_suffix.
13946 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13948 ac_dir_suffix
= ac_top_builddir
=
13952 .
) # No --srcdir option. We are building in place.
13954 if test -z "$ac_top_builddir"; then
13957 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13959 [\\/]* | ?
:[\\/]* ) # Absolute path.
13960 ac_srcdir
=$srcdir$ac_dir_suffix;
13961 ac_top_srcdir
=$srcdir ;;
13962 *) # Relative path.
13963 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13964 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13967 # Do not use `cd foo && pwd` to compute absolute paths, because
13968 # the directories may not exist.
13970 .
) ac_abs_builddir
="$ac_dir";;
13973 .
) ac_abs_builddir
=`pwd`;;
13974 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13975 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13978 case $ac_abs_builddir in
13979 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13981 case ${ac_top_builddir}.
in
13982 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13983 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13984 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13987 case $ac_abs_builddir in
13988 .
) ac_abs_srcdir
=$ac_srcdir;;
13991 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13992 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13993 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13996 case $ac_abs_builddir in
13997 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13999 case $ac_top_srcdir in
14000 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
14001 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
14002 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
14008 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14009 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
14012 if test x
"$ac_file" != x-
; then
14013 { echo "$as_me:$LINENO: creating $ac_file" >&5
14014 echo "$as_me: creating $ac_file" >&6;}
14017 # Let's still pretend it is `configure' which instantiates (i.e., don't
14018 # use $as_me), people would be surprised to read:
14019 # /* config.h. Generated by config.status. */
14020 if test x
"$ac_file" = x-
; then
14023 configure_input
="$ac_file. "
14025 configure_input
=$configure_input"Generated from `echo $ac_file_in |
14026 sed 's,.*/,,'` by configure."
14028 # First look for the input files in the build tree, otherwise in the
14030 ac_file_inputs
=`IFS=:
14031 for f in $ac_file_in; do
14033 -) echo $tmp/stdin ;;
14035 # Absolute (can't be DOS-style, as IFS=:)
14036 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14037 echo "$as_me: error: cannot find input file: $f" >&2;}
14038 { (exit 1); exit 1; }; }
14041 if test -f "$f"; then
14044 elif test -f "$srcdir/$f"; then
14049 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14050 echo "$as_me: error: cannot find input file: $f" >&2;}
14051 { (exit 1); exit 1; }; }
14054 done` ||
{ (exit 1); exit 1; }
14056 cat >>$CONFIG_STATUS <<_ACEOF
14060 cat >>$CONFIG_STATUS <<\_ACEOF
14062 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14063 s
,@configure_input@
,$configure_input,;t t
14064 s
,@srcdir@
,$ac_srcdir,;t t
14065 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
14066 s
,@top_srcdir@
,$ac_top_srcdir,;t t
14067 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
14068 s
,@builddir@
,$ac_builddir,;t t
14069 s
,@abs_builddir@
,$ac_abs_builddir,;t t
14070 s
,@top_builddir@
,$ac_top_builddir,;t t
14071 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
14072 s
,@INSTALL@
,$ac_INSTALL,;t t
14073 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
14075 if test x"$ac_file" != x-; then
14076 mv $tmp/out $ac_file
14084 cat >>$CONFIG_STATUS <<\_ACEOF
14087 # CONFIG_HEADER section.
14090 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
14091 # NAME is the cpp macro being defined and VALUE is the value it is being given.
14093 # ac_d sets the value in "#define NAME VALUE" lines.
14094 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
14095 ac_dB
='[ ].*$,\1#\2'
14098 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
14099 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14100 ac_uB
='$,\1#\2define\3'
14104 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
14105 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14107 - |
*:- |
*:-:* ) # input from stdin
14109 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14110 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14111 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14112 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14113 * ) ac_file_in
=$ac_file.
in ;;
14116 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
14117 echo "$as_me: creating $ac_file" >&6;}
14119 # First look for the input files in the build tree, otherwise in the
14121 ac_file_inputs
=`IFS=:
14122 for f in $ac_file_in; do
14124 -) echo $tmp/stdin ;;
14126 # Absolute (can't be DOS-style, as IFS=:)
14127 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14128 echo "$as_me: error: cannot find input file: $f" >&2;}
14129 { (exit 1); exit 1; }; }
14130 # Do quote $f, to prevent DOS paths from being IFS'd.
14133 if test -f "$f"; then
14136 elif test -f "$srcdir/$f"; then
14141 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14142 echo "$as_me: error: cannot find input file: $f" >&2;}
14143 { (exit 1); exit 1; }; }
14146 done` ||
{ (exit 1); exit 1; }
14147 # Remove the trailing spaces.
14148 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
14152 # Transform confdefs.h into two sed scripts, `conftest.defines' and
14153 # `conftest.undefs', that substitutes the proper values into
14154 # config.h.in to produce config.h. The first handles `#define'
14155 # templates, and the second `#undef' templates.
14156 # And first: Protect against being on the right side of a sed subst in
14157 # config.status. Protect against being in an unquoted here document
14158 # in config.status.
14159 rm -f conftest.defines conftest.undefs
14160 # Using a here document instead of a string reduces the quoting nightmare.
14161 # Putting comments in sed scripts is not portable.
14163 # `end' is used to avoid that the second main sed command (meant for
14164 # 0-ary CPP macros) applies to n-ary macro definitions.
14165 # See the Autoconf documentation for `clear'.
14166 cat >confdef2sed.
sed <<\_ACEOF
14171 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
14173 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
14176 # If some macros were called several times there might be several times
14177 # the same #defines, which is useless. Nevertheless, we may not want to
14178 # sort them, since we want the *last* AC-DEFINE to be honored.
14179 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
14180 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
14181 rm -f confdef2sed.sed
14183 # This sed command replaces #undef with comments. This is necessary, for
14184 # example, in the case of _POSIX_SOURCE, which is predefined and required
14185 # on some systems where configure will not decide to define it.
14186 cat >>conftest.undefs <<\_ACEOF
14187 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
14190 # Break up conftest.defines because some shells have a limit on the size
14191 # of here documents, and old seds have small limits too (100 cmds).
14192 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
14193 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
14194 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
14195 echo ' :' >>$CONFIG_STATUS
14196 rm -f conftest.tail
14197 while grep . conftest.defines >/dev/null
14199 # Write a limited-size here document to $tmp/defines.sed.
14200 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
14201 # Speed up: don't consider the non `#define' lines.
14202 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
14203 # Work around the forget-to-reset-the-flag bug.
14204 echo 't clr' >>$CONFIG_STATUS
14205 echo ': clr' >>$CONFIG_STATUS
14206 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
14208 sed -f $tmp/defines.sed $tmp/in >$tmp/out
14210 mv $tmp/out $tmp/in
14212 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
14213 rm -f conftest.defines
14214 mv conftest.
tail conftest.defines
14216 rm -f conftest.defines
14217 echo ' fi # grep' >>$CONFIG_STATUS
14218 echo >>$CONFIG_STATUS
14220 # Break up conftest.undefs because some shells have a limit on the size
14221 # of here documents, and old seds have small limits too (100 cmds).
14222 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
14223 rm -f conftest.
tail
14224 while grep . conftest.undefs
>/dev
/null
14226 # Write a limited-size here document to $tmp/undefs.sed.
14227 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
14228 # Speed up: don't consider the non
`#undef'
14229 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
14230 # Work around the forget-to-reset-the-flag bug.
14231 echo 't clr' >>$CONFIG_STATUS
14232 echo ': clr' >>$CONFIG_STATUS
14233 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
14235 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
14237 mv $tmp/out $tmp/in
14239 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
14240 rm -f conftest.undefs
14241 mv conftest.tail conftest.undefs
14243 rm -f conftest.undefs
14245 cat >>$CONFIG_STATUS <<\_ACEOF
14246 # Let's still pretend it is `configure
' which instantiates (i.e., don't
14247 # use $as_me), people would be surprised to read:
14248 # /* config.h. Generated by config.status. */
14249 if test x
"$ac_file" = x-
; then
14250 echo "/* Generated by configure. */" >$tmp/config.h
14252 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
14254 cat $tmp/in >>$tmp/config.h
14256 if test x
"$ac_file" != x-
; then
14257 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
14258 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14259 echo "$as_me: $ac_file is unchanged" >&6;}
14261 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
14262 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14263 X"$ac_file" : 'X\(//\)[^/]' \| \
14264 X"$ac_file" : 'X\(//\)$' \| \
14265 X"$ac_file" : 'X\(/\)' \| \
14266 . : '\(.\)' 2>/dev/null ||
14268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14269 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14270 /^X\(\/\/\)$/{ s//\1/; q; }
14271 /^X\(\/\).*/{ s//\1/; q; }
14273 { if $as_mkdir_p; then
14278 while test ! -d "$as_dir"; do
14279 as_dirs
="$as_dir $as_dirs"
14280 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14281 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14282 X"$as_dir" : 'X\(//\)[^/]' \| \
14283 X"$as_dir" : 'X\(//\)$' \| \
14284 X"$as_dir" : 'X\(/\)' \| \
14285 . : '\(.\)' 2>/dev/null ||
14287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14288 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14289 /^X\(\/\/\)$/{ s//\1/; q; }
14290 /^X\(\/\).*/{ s//\1/; q; }
14293 test ! -n "$as_dirs" || mkdir
$as_dirs
14294 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14295 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14296 { (exit 1); exit 1; }; }; }
14299 mv $tmp/config.h
$ac_file
14303 rm -f $tmp/config.h
14305 # Compute $ac_file's index in $config_headers.
14307 for _am_header
in $config_headers :; do
14308 case $_am_header in
14309 $ac_file |
$ac_file:* )
14312 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14315 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
14316 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14317 X$ac_file : 'X\(//\)[^/]' \| \
14318 X$ac_file : 'X\(//\)$' \| \
14319 X$ac_file : 'X\(/\)' \| \
14320 . : '\(.\)' 2>/dev/null ||
14322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14323 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14324 /^X\(\/\/\)$/{ s//\1/; q; }
14325 /^X\(\/\).*/{ s//\1/; q; }
14326 s/.*/./; q'`/stamp-h
$_am_stamp_count
14329 cat >>$CONFIG_STATUS <<\_ACEOF
14332 # CONFIG_COMMANDS section.
14334 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
14335 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
14336 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14337 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
14338 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14339 X"$ac_dest" : 'X\(//\)[^/]' \| \
14340 X"$ac_dest" : 'X\(//\)$' \| \
14341 X"$ac_dest" : 'X\(/\)' \| \
14342 . : '\(.\)' 2>/dev/null ||
14344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14345 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14346 /^X\(\/\/\)$/{ s//\1/; q; }
14347 /^X\(\/\).*/{ s//\1/; q; }
14349 { if $as_mkdir_p; then
14354 while test ! -d "$as_dir"; do
14355 as_dirs
="$as_dir $as_dirs"
14356 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14357 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14358 X"$as_dir" : 'X\(//\)[^/]' \| \
14359 X"$as_dir" : 'X\(//\)$' \| \
14360 X"$as_dir" : 'X\(/\)' \| \
14361 . : '\(.\)' 2>/dev/null ||
14363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14364 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14365 /^X\(\/\/\)$/{ s//\1/; q; }
14366 /^X\(\/\).*/{ s//\1/; q; }
14369 test ! -n "$as_dirs" || mkdir
$as_dirs
14370 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14371 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14372 { (exit 1); exit 1; }; }; }
14376 if test "$ac_dir" != .
; then
14377 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14378 # A "../" for each directory in $ac_dir_suffix.
14379 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14381 ac_dir_suffix
= ac_top_builddir
=
14385 .
) # No --srcdir option. We are building in place.
14387 if test -z "$ac_top_builddir"; then
14390 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
14392 [\\/]* | ?
:[\\/]* ) # Absolute path.
14393 ac_srcdir
=$srcdir$ac_dir_suffix;
14394 ac_top_srcdir
=$srcdir ;;
14395 *) # Relative path.
14396 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
14397 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
14400 # Do not use `cd foo && pwd` to compute absolute paths, because
14401 # the directories may not exist.
14403 .
) ac_abs_builddir
="$ac_dir";;
14406 .
) ac_abs_builddir
=`pwd`;;
14407 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
14408 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
14411 case $ac_abs_builddir in
14412 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14414 case ${ac_top_builddir}.
in
14415 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
14416 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14417 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
14420 case $ac_abs_builddir in
14421 .
) ac_abs_srcdir
=$ac_srcdir;;
14424 .
) ac_abs_srcdir
=$ac_abs_builddir;;
14425 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
14426 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
14429 case $ac_abs_builddir in
14430 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
14432 case $ac_top_srcdir in
14433 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
14434 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
14435 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
14440 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
14441 echo "$as_me: executing $ac_dest commands" >&6;}
14443 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
14444 # Strip MF so we end up with the name of the file.
14445 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14446 # Check whether this is an Automake generated Makefile or not.
14447 # We used to match only the files named `Makefile.in', but
14448 # some people rename them; so instead we look at the file content.
14449 # Grep'ing the first line is not enough: some people post-process
14450 # each Makefile.in and add a new line on top of each file to say so.
14451 # So let's grep whole file.
14452 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
14453 dirpart
=`(dirname "$mf") 2>/dev/null ||
14454 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14455 X"$mf" : 'X\(//\)[^/]' \| \
14456 X"$mf" : 'X\(//\)$' \| \
14457 X"$mf" : 'X\(/\)' \| \
14458 . : '\(.\)' 2>/dev/null ||
14460 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14461 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14462 /^X\(\/\/\)$/{ s//\1/; q; }
14463 /^X\(\/\).*/{ s//\1/; q; }
14468 # Extract the definition of DEPDIR, am__include, and am__quote
14469 # from the Makefile without running `make'.
14470 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14471 test -z "$DEPDIR" && continue
14472 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14473 test -z "am__include" && continue
14474 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14475 # When using ansi2knr, U may be empty or an underscore; expand it
14476 U
=`sed -n 's/^U = //p' < "$mf"`
14477 # Find all dependency output files, they are included files with
14478 # $(DEPDIR) in their names. We invoke sed twice because it is the
14479 # simplest approach to changing $(DEPDIR) to its actual value in the
14481 for file in `sed -n "
14482 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14483 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14484 # Make sure the directory exists.
14485 test -f "$dirpart/$file" && continue
14486 fdir
=`(dirname "$file") 2>/dev/null ||
14487 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14488 X"$file" : 'X\(//\)[^/]' \| \
14489 X"$file" : 'X\(//\)$' \| \
14490 X"$file" : 'X\(/\)' \| \
14491 . : '\(.\)' 2>/dev/null ||
14493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14494 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14495 /^X\(\/\/\)$/{ s//\1/; q; }
14496 /^X\(\/\).*/{ s//\1/; q; }
14498 { if $as_mkdir_p; then
14499 mkdir
-p $dirpart/$fdir
14501 as_dir
=$dirpart/$fdir
14503 while test ! -d "$as_dir"; do
14504 as_dirs
="$as_dir $as_dirs"
14505 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14506 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14507 X"$as_dir" : 'X\(//\)[^/]' \| \
14508 X"$as_dir" : 'X\(//\)$' \| \
14509 X"$as_dir" : 'X\(/\)' \| \
14510 . : '\(.\)' 2>/dev/null ||
14512 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14513 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14514 /^X\(\/\/\)$/{ s//\1/; q; }
14515 /^X\(\/\).*/{ s//\1/; q; }
14518 test ! -n "$as_dirs" || mkdir
$as_dirs
14519 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
14520 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
14521 { (exit 1); exit 1; }; }; }
14523 # echo "creating $dirpart/$file"
14524 echo '# dummy' > "$dirpart/$file"
14528 default
) sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' -e '/BLD-POTFILES =/r po/BLD-POTFILES' po
/Makefile.
in > po
/Makefile
;;
14533 cat >>$CONFIG_STATUS <<\_ACEOF
14535 { (exit 0); exit 0; }
14537 chmod +x
$CONFIG_STATUS
14538 ac_clean_files
=$ac_clean_files_save
14541 # configure is writing to config.log, and then calls config.status.
14542 # config.status does its own redirection, appending to config.log.
14543 # Unfortunately, on DOS this fails, as config.log is still kept open
14544 # by configure, so config.status won't be able to write to it; its
14545 # output is simply discarded. So we exec the FD to /dev/null,
14546 # effectively closing config.log, so it can be properly (re)opened and
14547 # appended to by config.status. When coming back to configure, we
14548 # need to make the FD available again.
14549 if test "$no_create" != yes; then
14551 ac_config_status_args
=
14552 test "$silent" = yes &&
14553 ac_config_status_args
="$ac_config_status_args --quiet"
14555 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14557 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14558 # would make configure fail if this is the last instruction.
14559 $ac_cs_success ||
{ (exit 1); exit 1; }