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-secureplt Default to creating read-only plt entries
863 --enable-werror treat compile warnings as errors
864 --enable-build-warnings Enable build-time compiler warnings
865 --enable-maintainer-mode enable make rules and dependencies not useful
866 (and sometimes confusing
) to the casual installer
867 --enable-install-libbfd controls installation of libbfd and related headers
868 --disable-nls do not use Native Language Support
871 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
872 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
873 --with-gnu-ld assume the C compiler uses GNU ld default
=no
874 --with-pic try to use only PIC
/non-PIC objects default
=use both
875 --with-mmap try using mmap
for BFD input files
if available
876 --with-included-gettext use the GNU
gettext library included here
878 Some influential environment variables
:
879 CC C compiler
command
880 CFLAGS C compiler flags
881 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
882 nonstandard directory
<lib dir
>
883 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
884 headers
in a nonstandard directory
<include dir
>
887 Use these variables to override the choices made by
`configure' or to help
888 it to find libraries and programs with nonstandard names/locations.
893 if test "$ac_init_help" = "recursive"; then
894 # If there are subdirs, report their specific --help.
896 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
897 test -d $ac_dir || continue
900 if test "$ac_dir" != .; then
901 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
902 # A "../" for each directory in $ac_dir_suffix.
903 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
905 ac_dir_suffix= ac_top_builddir=
909 .) # No --srcdir option. We are building in place.
911 if test -z "$ac_top_builddir"; then
914 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
916 [\\/]* | ?:[\\/]* ) # Absolute path.
917 ac_srcdir=$srcdir$ac_dir_suffix;
918 ac_top_srcdir=$srcdir ;;
920 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
921 ac_top_srcdir=$ac_top_builddir$srcdir ;;
924 # Do not use `cd foo
&& pwd` to compute absolute paths, because
925 # the directories may not exist.
927 .) ac_abs_builddir="$ac_dir";;
930 .) ac_abs_builddir=`pwd`;;
931 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
932 *) ac_abs_builddir=`pwd`/"$ac_dir";;
935 case $ac_abs_builddir in
936 .) ac_abs_top_builddir=${ac_top_builddir}.;;
938 case ${ac_top_builddir}. in
939 .) ac_abs_top_builddir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
941 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
944 case $ac_abs_builddir in
945 .) ac_abs_srcdir=$ac_srcdir;;
948 .) ac_abs_srcdir=$ac_abs_builddir;;
949 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
950 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
953 case $ac_abs_builddir in
954 .) ac_abs_top_srcdir=$ac_top_srcdir;;
956 case $ac_top_srcdir in
957 .) ac_abs_top_srcdir=$ac_abs_builddir;;
958 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
959 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
964 # Check for guested configure; otherwise get Cygnus style configure.
965 if test -f $ac_srcdir/configure.gnu; then
967 $SHELL $ac_srcdir/configure.gnu --help=recursive
968 elif test -f $ac_srcdir/configure; then
970 $SHELL $ac_srcdir/configure --help=recursive
971 elif test -f $ac_srcdir/configure.ac ||
972 test -f $ac_srcdir/configure.in; then
976 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
982 test -n "$ac_init_help" && exit 0
983 if $ac_init_version; then
986 Copyright (C) 2003 Free Software Foundation, Inc.
987 This configure script is free software; the Free Software Foundation
988 gives unlimited permission to copy, distribute and modify it.
994 This file contains any messages produced by compilers while
995 running configure, to aid debugging if configure makes a mistake.
997 It was created by $as_me, which was
998 generated by GNU Autoconf 2.59. Invocation command line was
1009 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1010 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1011 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1012 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1013 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1015 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1016 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1018 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1019 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1020 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1021 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1022 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1023 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1024 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1032 test -z "$as_dir" && as_dir=.
1033 echo "PATH: $as_dir"
1048 # Keep a trace of the command line.
1049 # Strip out --no-create and --no-recursion so they do not pile up.
1050 # Strip out --silent because we don't want to record it for future runs.
1051 # Also quote any args containing shell meta-characters.
1052 # Make two passes to allow for proper duplicate-argument suppression.
1057 ac_must_keep_next=false
1063 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1064 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1065 | -silent | --silent | --silen | --sile | --sil)
1067 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1068 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1071 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1073 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1074 if test $ac_must_keep_next = true; then
1075 ac_must_keep_next=false # Got value, back to normal.
1078 *=* | --config-cache | -C | -disable-* | --disable-* \
1079 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1080 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1081 | -with-* | --with-* | -without-* | --without-* | --x)
1082 case "$ac_configure_args0 " in
1083 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1086 -* ) ac_must_keep_next=true ;;
1089 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1090 # Get rid of the leading space.
1096 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1097 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1099 # When interrupted or exit'd, cleanup temporary files, and complete
1100 # config.log. We remove comments because anyway the quotes in there
1101 # would cause problems or look ugly.
1102 # WARNING: Be sure not to use single quotes in there, as some shells,
1103 # such as our DU 5.0 friend, will then `close
' the trap.
1104 trap 'exit_status
=$?
1105 # Save into config.log some information that might help in debugging.
1110 ## ---------------- ##
1111 ## Cache variables. ##
1112 ## ---------------- ##
1115 # The following way of writing the cache mishandles newlines in values,
1118 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1121 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1122 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1126 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1133 ## ----------------- ##
1134 ## Output variables. ##
1135 ## ----------------- ##
1138 for ac_var
in $ac_subst_vars
1140 eval ac_val
=$
`echo $ac_var`
1141 echo "$ac_var='"'"'$ac_val'"'"'"
1145 if test -n "$ac_subst_files"; then
1152 for ac_var
in $ac_subst_files
1154 eval ac_val
=$
`echo $ac_var`
1155 echo "$ac_var='"'"'$ac_val'"'"'"
1160 if test -s confdefs.h
; then
1167 sed "/^$/d" confdefs.h |
sort
1170 test "$ac_signal" != 0 &&
1171 echo "$as_me: caught signal $ac_signal"
1172 echo "$as_me: exit $exit_status"
1174 rm -f core
*.core
&&
1175 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1178 for ac_signal in 1 2 13 15; do
1179 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1183 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1184 rm -rf conftest* confdefs.h
1185 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1188 # Predefined preprocessor variables.
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_NAME "$PACKAGE_NAME"
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1205 cat >>confdefs.h <<_ACEOF
1206 #define PACKAGE_STRING "$PACKAGE_STRING"
1210 cat >>confdefs.h <<_ACEOF
1211 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1215 # Let the site file select an alternate cache file if it wants to.
1216 # Prefer explicitly selected file to automatically selected ones.
1217 if test -z "$CONFIG_SITE"; then
1218 if test "x$prefix" != xNONE; then
1219 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1221 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1224 for ac_site_file in $CONFIG_SITE; do
1225 if test -r "$ac_site_file"; then
1226 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1227 echo "$as_me: loading site script $ac_site_file" >&6;}
1228 sed 's
/^
/|
/' "$ac_site_file" >&5
1233 if test -r "$cache_file"; then
1234 # Some versions of bash will fail to source /dev/null (special
1235 # files actually), so we avoid doing that.
1236 if test -f "$cache_file"; then
1237 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1238 echo "$as_me: loading cache $cache_file" >&6;}
1240 [\\/]* | ?:[\\/]* ) . $cache_file;;
1241 *) . ./$cache_file;;
1245 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1246 echo "$as_me: creating cache $cache_file" >&6;}
1250 # Check that the precious variables saved in the cache have kept the same
1252 ac_cache_corrupted=false
1253 for ac_var in `(set) 2>&1 |
1254 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1255 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1256 eval ac_new_set=\$ac_env_${ac_var}_set
1257 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1258 eval ac_new_val="\$ac_env_${ac_var}_value"
1259 case $ac_old_set,$ac_new_set in
1261 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1262 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1263 ac_cache_corrupted=: ;;
1265 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1266 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1267 ac_cache_corrupted=: ;;
1270 if test "x$ac_old_val" != "x$ac_new_val"; then
1271 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1272 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1273 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1274 echo "$as_me: former value: $ac_old_val" >&2;}
1275 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1276 echo "$as_me: current value: $ac_new_val" >&2;}
1277 ac_cache_corrupted=:
1280 # Pass precious variables to config.status.
1281 if test "$ac_new_set" = set; then
1283 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1284 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1285 *) ac_arg=$ac_var=$ac_new_val ;;
1287 case " $ac_configure_args " in
1288 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1289 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1293 if $ac_cache_corrupted; then
1294 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1295 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1296 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1297 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1298 { (exit 1); exit 1; }; }
1302 ac_cpp='$CPP $CPPFLAGS'
1303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1304 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1328 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1329 if test -f $ac_dir/install-sh; then
1331 ac_install_sh="$ac_aux_dir/install-sh -c"
1333 elif test -f $ac_dir/install.sh; then
1335 ac_install_sh="$ac_aux_dir/install.sh -c"
1337 elif test -f $ac_dir/shtool; then
1339 ac_install_sh="$ac_aux_dir/shtool install -c"
1343 if test -z "$ac_aux_dir"; then
1344 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1345 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1346 { (exit 1); exit 1; }; }
1348 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1349 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1350 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1352 # Make sure we can run config.sub.
1353 $ac_config_sub sun4 >/dev/null 2>&1 ||
1354 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1355 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1356 { (exit 1); exit 1; }; }
1358 echo "$as_me:$LINENO: checking build system type" >&5
1359 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1360 if test "${ac_cv_build+set}" = set; then
1361 echo $ECHO_N "(cached) $ECHO_C" >&6
1363 ac_cv_build_alias=$build_alias
1364 test -z "$ac_cv_build_alias" &&
1365 ac_cv_build_alias=`$ac_config_guess`
1366 test -z "$ac_cv_build_alias" &&
1367 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1368 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1369 { (exit 1); exit 1; }; }
1370 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1371 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1372 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1373 { (exit 1); exit 1; }; }
1376 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1377 echo "${ECHO_T}$ac_cv_build" >&6
1379 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1380 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1381 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1384 echo "$as_me:$LINENO: checking host system type" >&5
1385 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1386 if test "${ac_cv_host+set}" = set; then
1387 echo $ECHO_N "(cached) $ECHO_C" >&6
1389 ac_cv_host_alias=$host_alias
1390 test -z "$ac_cv_host_alias" &&
1391 ac_cv_host_alias=$ac_cv_build_alias
1392 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1393 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1394 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1395 { (exit 1); exit 1; }; }
1398 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1399 echo "${ECHO_T}$ac_cv_host" >&6
1401 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1402 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1403 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1406 echo "$as_me:$LINENO: checking target system type" >&5
1407 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1408 if test "${ac_cv_target+set}" = set; then
1409 echo $ECHO_N "(cached) $ECHO_C" >&6
1411 ac_cv_target_alias=$target_alias
1412 test "x$ac_cv_target_alias" = "x" &&
1413 ac_cv_target_alias=$ac_cv_host_alias
1414 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1415 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1416 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1417 { (exit 1); exit 1; }; }
1420 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1421 echo "${ECHO_T}$ac_cv_target" >&6
1422 target=$ac_cv_target
1423 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1424 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1425 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1428 # The aliases save the names the user supplied, while $host etc.
1429 # will get canonicalized.
1430 test -n "$target_alias" &&
1431 test "$program_prefix$program_suffix$program_transform_name" = \
1433 program_prefix=${target_alias}-
1435 ac_cpp='$CPP $CPPFLAGS'
1436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1437 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1439 if test -n "$ac_tool_prefix"; then
1440 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1441 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1442 echo "$as_me:$LINENO: checking for $ac_word" >&5
1443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1444 if test "${ac_cv_prog_CC+set}" = set; then
1445 echo $ECHO_N "(cached) $ECHO_C" >&6
1447 if test -n "$CC"; then
1448 ac_cv_prog_CC="$CC" # Let the user override the test.
1450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1454 test -z "$as_dir" && as_dir=.
1455 for ac_exec_ext in '' $ac_executable_extensions; do
1456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1457 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1467 if test -n "$CC"; then
1468 echo "$as_me:$LINENO: result: $CC" >&5
1469 echo "${ECHO_T}$CC" >&6
1471 echo "$as_me:$LINENO: result: no" >&5
1472 echo "${ECHO_T}no" >&6
1476 if test -z "$ac_cv_prog_CC"; then
1478 # Extract the first word of "gcc", so it can be a program name with args.
1479 set dummy gcc; ac_word=$2
1480 echo "$as_me:$LINENO: checking for $ac_word" >&5
1481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1482 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1483 echo $ECHO_N "(cached) $ECHO_C" >&6
1485 if test -n "$ac_ct_CC"; then
1486 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1492 test -z "$as_dir" && as_dir=.
1493 for ac_exec_ext in '' $ac_executable_extensions; do
1494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1495 ac_cv_prog_ac_ct_CC="gcc"
1496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1504 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1505 if test -n "$ac_ct_CC"; then
1506 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1507 echo "${ECHO_T}$ac_ct_CC" >&6
1509 echo "$as_me:$LINENO: result: no" >&5
1510 echo "${ECHO_T}no" >&6
1518 if test -z "$CC"; then
1519 if test -n "$ac_tool_prefix"; then
1520 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1521 set dummy ${ac_tool_prefix}cc; ac_word=$2
1522 echo "$as_me:$LINENO: checking for $ac_word" >&5
1523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1524 if test "${ac_cv_prog_CC+set}" = set; then
1525 echo $ECHO_N "(cached) $ECHO_C" >&6
1527 if test -n "$CC"; then
1528 ac_cv_prog_CC="$CC" # Let the user override the test.
1530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1534 test -z "$as_dir" && as_dir=.
1535 for ac_exec_ext in '' $ac_executable_extensions; do
1536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1537 ac_cv_prog_CC="${ac_tool_prefix}cc"
1538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1547 if test -n "$CC"; then
1548 echo "$as_me:$LINENO: result: $CC" >&5
1549 echo "${ECHO_T}$CC" >&6
1551 echo "$as_me:$LINENO: result: no" >&5
1552 echo "${ECHO_T}no" >&6
1556 if test -z "$ac_cv_prog_CC"; then
1558 # Extract the first word of "cc", so it can be a program name with args.
1559 set dummy cc; ac_word=$2
1560 echo "$as_me:$LINENO: checking for $ac_word" >&5
1561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1562 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1563 echo $ECHO_N "(cached) $ECHO_C" >&6
1565 if test -n "$ac_ct_CC"; then
1566 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1572 test -z "$as_dir" && as_dir=.
1573 for ac_exec_ext in '' $ac_executable_extensions; do
1574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1575 ac_cv_prog_ac_ct_CC="cc"
1576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1584 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1585 if test -n "$ac_ct_CC"; then
1586 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1587 echo "${ECHO_T}$ac_ct_CC" >&6
1589 echo "$as_me:$LINENO: result: no" >&5
1590 echo "${ECHO_T}no" >&6
1599 if test -z "$CC"; then
1600 # Extract the first word of "cc", so it can be a program name with args.
1601 set dummy cc; ac_word=$2
1602 echo "$as_me:$LINENO: checking for $ac_word" >&5
1603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1604 if test "${ac_cv_prog_CC+set}" = set; then
1605 echo $ECHO_N "(cached) $ECHO_C" >&6
1607 if test -n "$CC"; then
1608 ac_cv_prog_CC="$CC" # Let the user override the test.
1611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1615 test -z "$as_dir" && as_dir=.
1616 for ac_exec_ext in '' $ac_executable_extensions; do
1617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1618 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1619 ac_prog_rejected=yes
1623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1629 if test $ac_prog_rejected = yes; then
1630 # We found a bogon in the path, so make sure we never use it.
1631 set dummy $ac_cv_prog_CC
1633 if test $# != 0; then
1634 # We chose a different compiler from the bogus one.
1635 # However, it has the same basename, so the bogon will be chosen
1636 # first if we set CC to just the basename; use the full file name.
1638 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1644 if test -n "$CC"; then
1645 echo "$as_me:$LINENO: result: $CC" >&5
1646 echo "${ECHO_T}$CC" >&6
1648 echo "$as_me:$LINENO: result: no" >&5
1649 echo "${ECHO_T}no" >&6
1653 if test -z "$CC"; then
1654 if test -n "$ac_tool_prefix"; then
1657 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1658 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1659 echo "$as_me:$LINENO: checking for $ac_word" >&5
1660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1661 if test "${ac_cv_prog_CC+set}" = set; then
1662 echo $ECHO_N "(cached) $ECHO_C" >&6
1664 if test -n "$CC"; then
1665 ac_cv_prog_CC="$CC" # Let the user override the test.
1667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1671 test -z "$as_dir" && as_dir=.
1672 for ac_exec_ext in '' $ac_executable_extensions; do
1673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1674 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1684 if test -n "$CC"; then
1685 echo "$as_me:$LINENO: result: $CC" >&5
1686 echo "${ECHO_T}$CC" >&6
1688 echo "$as_me:$LINENO: result: no" >&5
1689 echo "${ECHO_T}no" >&6
1692 test -n "$CC" && break
1695 if test -z "$CC"; then
1699 # Extract the first word of "$ac_prog", so it can be a program name with args.
1700 set dummy $ac_prog; ac_word=$2
1701 echo "$as_me:$LINENO: checking for $ac_word" >&5
1702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1703 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1704 echo $ECHO_N "(cached) $ECHO_C" >&6
1706 if test -n "$ac_ct_CC"; then
1707 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1713 test -z "$as_dir" && as_dir=.
1714 for ac_exec_ext in '' $ac_executable_extensions; do
1715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1716 ac_cv_prog_ac_ct_CC="$ac_prog"
1717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1725 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1726 if test -n "$ac_ct_CC"; then
1727 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1728 echo "${ECHO_T}$ac_ct_CC" >&6
1730 echo "$as_me:$LINENO: result: no" >&5
1731 echo "${ECHO_T}no" >&6
1734 test -n "$ac_ct_CC" && break
1743 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1744 See \`config.log' for more details.
" >&5
1745 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1746 See \
`config.log' for more details." >&2;}
1747 { (exit 1); exit 1; }; }
1749 # Provide some information about the compiler.
1750 echo "$as_me:$LINENO:" \
1751 "checking for C compiler version" >&5
1752 ac_compiler=`set X
$ac_compile; echo $2`
1753 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1754 (eval $ac_compiler --version </dev/null >&5) 2>&5
1756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1757 (exit $ac_status); }
1758 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1759 (eval $ac_compiler -v </dev/null >&5) 2>&5
1761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1762 (exit $ac_status); }
1763 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1764 (eval $ac_compiler -V </dev/null >&5) 2>&5
1766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1767 (exit $ac_status); }
1769 cat >conftest.$ac_ext <<_ACEOF
1772 cat confdefs.h >>conftest.$ac_ext
1773 cat >>conftest.$ac_ext <<_ACEOF
1774 /* end confdefs.h. */
1784 ac_clean_files_save=$ac_clean_files
1785 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1786 # Try to create an executable without -o first, disregard a.out.
1787 # It will help us diagnose broken compilers, and finding out an intuition
1789 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1790 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1791 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1792 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1793 (eval $ac_link_default) 2>&5
1795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1796 (exit $ac_status); }; then
1797 # Find the output, starting from the most likely. This scheme is
1798 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1801 # Be careful to initialize this variable, since it used to be cached.
1802 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1804 # b.out is created by i960 compilers.
1805 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1807 test -f "$ac_file" || continue
1809 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1812 # This is the source file.
1815 # We found the default executable, but exeext='' is most
1819 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1820 # FIXME: I believe we export ac_cv_exeext for Libtool,
1821 # but it would be cool to find out if it's true. Does anybody
1822 # maintain Libtool? --akim.
1830 echo "$as_me: failed program was:" >&5
1831 sed 's/^/| /' conftest.$ac_ext >&5
1833 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1834 See \`config.log
' for more details." >&5
1835 echo "$as_me: error: C compiler cannot create executables
1836 See \`config.log' for more details.
" >&2;}
1837 { (exit 77); exit 77; }; }
1840 ac_exeext=$ac_cv_exeext
1841 echo "$as_me:$LINENO: result
: $ac_file" >&5
1842 echo "${ECHO_T}$ac_file" >&6
1844 # Check the compiler produces executables we can run. If not, either
1845 # the compiler is broken, or we cross compile.
1846 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1847 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1848 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1849 # If not cross compiling, check that we can run a simple program.
1850 if test "$cross_compiling" != yes; then
1851 if { ac_try='./$ac_file'
1852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1855 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1856 (exit $ac_status); }; }; then
1859 if test "$cross_compiling" = maybe; then
1862 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1863 If you meant to cross compile
, use \
`--host'.
1864 See \`config.log
' for more details." >&5
1865 echo "$as_me: error: cannot run C compiled programs.
1866 If you meant to cross compile, use \`--host'.
1867 See \
`config.log' for more details." >&2;}
1868 { (exit 1); exit 1; }; }
1872 echo "$as_me:$LINENO: result: yes" >&5
1873 echo "${ECHO_T}yes" >&6
1875 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1876 ac_clean_files=$ac_clean_files_save
1877 # Check the compiler produces executables we can run. If not, either
1878 # the compiler is broken, or we cross compile.
1879 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1880 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1881 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1882 echo "${ECHO_T}$cross_compiling" >&6
1884 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1885 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1887 (eval $ac_link) 2>&5
1889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1890 (exit $ac_status); }; then
1891 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1892 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1893 # work properly (i.e., refer to `conftest.exe'), while it won't with
1895 for ac_file
in conftest.exe conftest conftest.
*; do
1896 test -f "$ac_file" ||
continue
1898 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1899 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1906 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1907 See \`config.log' for more details." >&5
1908 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1909 See \`config.log' for more details." >&2;}
1910 { (exit 1); exit 1; }; }
1913 rm -f conftest
$ac_cv_exeext
1914 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1915 echo "${ECHO_T}$ac_cv_exeext" >&6
1917 rm -f conftest.
$ac_ext
1918 EXEEXT
=$ac_cv_exeext
1920 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1921 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1922 if test "${ac_cv_objext+set}" = set; then
1923 echo $ECHO_N "(cached) $ECHO_C" >&6
1925 cat >conftest.
$ac_ext <<_ACEOF
1928 cat confdefs.h
>>conftest.
$ac_ext
1929 cat >>conftest.
$ac_ext <<_ACEOF
1930 /* end confdefs.h. */
1940 rm -f conftest.o conftest.obj
1941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1942 (eval $ac_compile) 2>&5
1944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1945 (exit $ac_status); }; then
1946 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1948 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1949 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1954 echo "$as_me: failed program was:" >&5
1955 sed 's/^/| /' conftest.
$ac_ext >&5
1957 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1958 See \`config.log' for more details." >&5
1959 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1960 See \`config.log' for more details." >&2;}
1961 { (exit 1); exit 1; }; }
1964 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1966 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1967 echo "${ECHO_T}$ac_cv_objext" >&6
1968 OBJEXT
=$ac_cv_objext
1970 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1971 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1972 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1973 echo $ECHO_N "(cached) $ECHO_C" >&6
1975 cat >conftest.
$ac_ext <<_ACEOF
1978 cat confdefs.h
>>conftest.
$ac_ext
1979 cat >>conftest.
$ac_ext <<_ACEOF
1980 /* end confdefs.h. */
1993 rm -f conftest.
$ac_objext
1994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1995 (eval $ac_compile) 2>conftest.er1
1997 grep -v '^ *+' conftest.er1
>conftest.err
1999 cat conftest.err
>&5
2000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2001 (exit $ac_status); } &&
2002 { ac_try
='test -z "$ac_c_werror_flag" || 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" || test ! -s conftest.err'
2061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065 (exit $ac_status); }; } &&
2066 { ac_try
='test -s conftest.$ac_objext'
2067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071 (exit $ac_status); }; }; then
2074 echo "$as_me: failed program was:" >&5
2075 sed 's/^/| /' conftest.
$ac_ext >&5
2079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2081 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2082 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2083 if test "$ac_test_CFLAGS" = set; then
2084 CFLAGS
=$ac_save_CFLAGS
2085 elif test $ac_cv_prog_cc_g = yes; then
2086 if test "$GCC" = yes; then
2092 if test "$GCC" = yes; then
2098 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2099 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2100 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2101 echo $ECHO_N "(cached) $ECHO_C" >&6
2103 ac_cv_prog_cc_stdc
=no
2105 cat >conftest.
$ac_ext <<_ACEOF
2108 cat confdefs.h
>>conftest.
$ac_ext
2109 cat >>conftest.
$ac_ext <<_ACEOF
2110 /* end confdefs.h. */
2113 #include <sys/types.h>
2114 #include <sys/stat.h>
2115 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2116 struct buf { int x; };
2117 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2118 static char *e (p, i)
2124 static char *f (char * (*g) (char **, int), char **p, ...)
2129 s = g (p, va_arg (v,int));
2134 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2135 function prototypes and stuff, but not '\xHH' hex character constants.
2136 These don't provoke an error unfortunately, instead are silently treated
2137 as 'x'. The following induces an error, until -std1 is added to get
2138 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2139 array size at least. It's necessary to write '\x00'==0 to get something
2140 that's true only with -std1. */
2141 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2143 int test (int i, double x);
2144 struct s1 {int (*f) (int a);};
2145 struct s2 {int (*f) (double a);};
2146 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2152 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2157 # Don't try gcc -ansi; that turns off useful extensions and
2158 # breaks some systems' header files.
2159 # AIX -qlanglvl=ansi
2160 # Ultrix and OSF/1 -std1
2161 # HP-UX 10.20 and later -Ae
2162 # HP-UX older versions -Aa -D_HPUX_SOURCE
2163 # SVR4 -Xc -D__EXTENSIONS__
2164 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2166 CC
="$ac_save_CC $ac_arg"
2167 rm -f conftest.
$ac_objext
2168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2169 (eval $ac_compile) 2>conftest.er1
2171 grep -v '^ *+' conftest.er1
>conftest.err
2173 cat conftest.err
>&5
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); } &&
2176 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181 (exit $ac_status); }; } &&
2182 { ac_try
='test -s conftest.$ac_objext'
2183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 (exit $ac_status); }; }; then
2188 ac_cv_prog_cc_stdc
=$ac_arg
2191 echo "$as_me: failed program was:" >&5
2192 sed 's/^/| /' conftest.
$ac_ext >&5
2195 rm -f conftest.err conftest.
$ac_objext
2197 rm -f conftest.
$ac_ext conftest.
$ac_objext
2202 case "x$ac_cv_prog_cc_stdc" in
2204 echo "$as_me:$LINENO: result: none needed" >&5
2205 echo "${ECHO_T}none needed" >&6 ;;
2207 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2208 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2209 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2212 # Some people use a C++ compiler to compile C. Since we use `exit',
2213 # in C++ we need to declare it. In case someone uses the same compiler
2214 # for both compiling C and C++ we need to have the C++ compiler decide
2215 # the declaration of exit, since it's the most demanding environment.
2216 cat >conftest.
$ac_ext <<_ACEOF
2221 rm -f conftest.
$ac_objext
2222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2223 (eval $ac_compile) 2>conftest.er1
2225 grep -v '^ *+' conftest.er1
>conftest.err
2227 cat conftest.err
>&5
2228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229 (exit $ac_status); } &&
2230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2235 (exit $ac_status); }; } &&
2236 { ac_try
='test -s conftest.$ac_objext'
2237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); }; }; then
2242 for ac_declaration
in \
2244 'extern "C" void std::exit (int) throw (); using std::exit;' \
2245 'extern "C" void std::exit (int); using std::exit;' \
2246 'extern "C" void exit (int) throw ();' \
2247 'extern "C" void exit (int);' \
2250 cat >conftest.
$ac_ext <<_ACEOF
2253 cat confdefs.h
>>conftest.
$ac_ext
2254 cat >>conftest.
$ac_ext <<_ACEOF
2255 /* end confdefs.h. */
2266 rm -f conftest.
$ac_objext
2267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2268 (eval $ac_compile) 2>conftest.er1
2270 grep -v '^ *+' conftest.er1
>conftest.err
2272 cat conftest.err
>&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); } &&
2275 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280 (exit $ac_status); }; } &&
2281 { ac_try
='test -s conftest.$ac_objext'
2282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286 (exit $ac_status); }; }; then
2289 echo "$as_me: failed program was:" >&5
2290 sed 's/^/| /' conftest.
$ac_ext >&5
2294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2295 cat >conftest.
$ac_ext <<_ACEOF
2298 cat confdefs.h
>>conftest.
$ac_ext
2299 cat >>conftest.
$ac_ext <<_ACEOF
2300 /* end confdefs.h. */
2310 rm -f conftest.
$ac_objext
2311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2312 (eval $ac_compile) 2>conftest.er1
2314 grep -v '^ *+' conftest.er1
>conftest.err
2316 cat conftest.err
>&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); } &&
2319 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324 (exit $ac_status); }; } &&
2325 { ac_try
='test -s conftest.$ac_objext'
2326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }; }; then
2333 echo "$as_me: failed program was:" >&5
2334 sed 's/^/| /' conftest.
$ac_ext >&5
2337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2340 if test -n "$ac_declaration"; then
2341 echo '#ifdef __cplusplus' >>confdefs.h
2342 echo $ac_declaration >>confdefs.h
2343 echo '#endif' >>confdefs.h
2347 echo "$as_me: failed program was:" >&5
2348 sed 's/^/| /' conftest.
$ac_ext >&5
2351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2353 ac_cpp
='$CPP $CPPFLAGS'
2354 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2355 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2356 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2359 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2360 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2361 if test "${ac_cv_search_strerror+set}" = set; then
2362 echo $ECHO_N "(cached) $ECHO_C" >&6
2364 ac_func_search_save_LIBS
=$LIBS
2365 ac_cv_search_strerror
=no
2366 cat >conftest.
$ac_ext <<_ACEOF
2369 cat confdefs.h
>>conftest.
$ac_ext
2370 cat >>conftest.
$ac_ext <<_ACEOF
2371 /* end confdefs.h. */
2373 /* Override any gcc2 internal prototype to avoid an error. */
2377 /* We use char because int might match the return type of a gcc2
2378 builtin and then its argument prototype would still apply. */
2388 rm -f conftest.
$ac_objext conftest
$ac_exeext
2389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2390 (eval $ac_link) 2>conftest.er1
2392 grep -v '^ *+' conftest.er1
>conftest.err
2394 cat conftest.err
>&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); } &&
2397 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402 (exit $ac_status); }; } &&
2403 { ac_try
='test -s conftest$ac_exeext'
2404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); }; }; then
2409 ac_cv_search_strerror
="none required"
2411 echo "$as_me: failed program was:" >&5
2412 sed 's/^/| /' conftest.
$ac_ext >&5
2415 rm -f conftest.err conftest.
$ac_objext \
2416 conftest
$ac_exeext conftest.
$ac_ext
2417 if test "$ac_cv_search_strerror" = no
; then
2418 for ac_lib
in cposix
; do
2419 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2420 cat >conftest.
$ac_ext <<_ACEOF
2423 cat confdefs.h
>>conftest.
$ac_ext
2424 cat >>conftest.
$ac_ext <<_ACEOF
2425 /* end confdefs.h. */
2427 /* Override any gcc2 internal prototype to avoid an error. */
2431 /* We use char because int might match the return type of a gcc2
2432 builtin and then its argument prototype would still apply. */
2442 rm -f conftest.
$ac_objext conftest
$ac_exeext
2443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2444 (eval $ac_link) 2>conftest.er1
2446 grep -v '^ *+' conftest.er1
>conftest.err
2448 cat conftest.err
>&5
2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); } &&
2451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }; } &&
2457 { ac_try
='test -s conftest$ac_exeext'
2458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }; }; then
2463 ac_cv_search_strerror
="-l$ac_lib"
2466 echo "$as_me: failed program was:" >&5
2467 sed 's/^/| /' conftest.
$ac_ext >&5
2470 rm -f conftest.err conftest.
$ac_objext \
2471 conftest
$ac_exeext conftest.
$ac_ext
2474 LIBS
=$ac_func_search_save_LIBS
2476 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2477 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2478 if test "$ac_cv_search_strerror" != no
; then
2479 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2484 am__api_version
="1.9"
2485 # Find a good install program. We prefer a C program (faster),
2486 # so one script is as good as another. But avoid the broken or
2487 # incompatible versions:
2488 # SysV /etc/install, /usr/sbin/install
2489 # SunOS /usr/etc/install
2490 # IRIX /sbin/install
2492 # AmigaOS /C/install, which installs bootblocks on floppy discs
2493 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2494 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2495 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2496 # OS/2's system install, which has a completely different semantic
2497 # ./install, which can be erroneously created by make from ./install.sh.
2498 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2499 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2500 if test -z "$INSTALL"; then
2501 if test "${ac_cv_path_install+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2508 test -z "$as_dir" && as_dir
=.
2509 # Account for people who put trailing slashes in PATH elements.
2511 .
/ | .
// |
/cC
/* | \
2512 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2513 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2516 # OSF1 and SCO ODT 3.0 have their own names for install.
2517 # Don't use installbsd from OSF since it installs stuff as root
2519 for ac_prog
in ginstall scoinst
install; do
2520 for ac_exec_ext
in '' $ac_executable_extensions; do
2521 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2522 if test $ac_prog = install &&
2523 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2524 # AIX install. It has an incompatible calling convention.
2526 elif test $ac_prog = install &&
2527 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2528 # program-specific install script used by HP pwplus--don't use.
2531 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2543 if test "${ac_cv_path_install+set}" = set; then
2544 INSTALL
=$ac_cv_path_install
2546 # As a last resort, use the slow shell script. We don't cache a
2547 # path for INSTALL within a source directory, because that will
2548 # break other packages using the cache if that directory is
2549 # removed, or if the path is relative.
2550 INSTALL
=$ac_install_sh
2553 echo "$as_me:$LINENO: result: $INSTALL" >&5
2554 echo "${ECHO_T}$INSTALL" >&6
2556 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2557 # It thinks the first close brace ends the variable substitution.
2558 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2560 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2562 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2564 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2565 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2568 echo timestamp
> conftest.
file
2569 # Do `set' in a subshell so we don't clobber the current shell's
2570 # arguments. Must try -L first in case configure is actually a
2571 # symlink; some systems play weird games with the mod time of symlinks
2572 # (eg FreeBSD returns the mod time of the symlink's containing
2575 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2576 if test "$*" = "X"; then
2578 set X
`ls -t $srcdir/configure conftest.file`
2581 if test "$*" != "X $srcdir/configure conftest.file" \
2582 && test "$*" != "X conftest.file $srcdir/configure"; then
2584 # If neither matched, then we have a broken ls. This can happen
2585 # if, for instance, CONFIG_SHELL is bash and it inherits a
2586 # broken ls alias from the environment. This has actually
2587 # happened. Such a system could not be considered "sane".
2588 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2589 alias in your environment" >&5
2590 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2591 alias in your environment" >&2;}
2592 { (exit 1); exit 1; }; }
2595 test "$2" = conftest.
file
2601 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2602 Check your system clock" >&5
2603 echo "$as_me: error: newly created file is older than distributed files!
2604 Check your system clock" >&2;}
2605 { (exit 1); exit 1; }; }
2607 echo "$as_me:$LINENO: result: yes" >&5
2608 echo "${ECHO_T}yes" >&6
2609 test "$program_prefix" != NONE
&&
2610 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2611 # Use a double $ so make ignores it.
2612 test "$program_suffix" != NONE
&&
2613 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2614 # Double any \ or $. echo might interpret backslashes.
2615 # By default was `s,x,x', remove it if useless.
2616 cat <<\_ACEOF
>conftest.
sed
2617 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2619 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2622 # expand $ac_aux_dir to an absolute path
2623 am_aux_dir
=`cd $ac_aux_dir && pwd`
2625 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2626 # Use eval to expand $SHELL
2627 if eval "$MISSING --run true"; then
2628 am_missing_run
="$MISSING --run "
2631 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2632 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2635 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2636 # We used to keeping the `.' as first argument, in order to
2637 # allow $(mkdir_p) to be used without argument. As in
2638 # $(mkdir_p) $(somedir)
2639 # where $(somedir) is conditionally defined. However this is wrong
2641 # 1. if the package is installed by a user who cannot write `.'
2642 # make install will fail,
2643 # 2. the above comment should most certainly read
2644 # $(mkdir_p) $(DESTDIR)$(somedir)
2645 # so it does not work when $(somedir) is undefined and
2646 # $(DESTDIR) is not.
2647 # To support the latter case, we have to write
2648 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2649 # so the `.' trick is pointless.
2650 mkdir_p
='mkdir -p --'
2652 # On NextStep and OpenStep, the `mkdir' command does not
2653 # recognize any option. It will interpret all options as
2654 # directories to create, and then abort because `.' already
2656 for d
in .
/-p .
/--version;
2658 test -d $d && rmdir $d
2660 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2661 if test -f "$ac_aux_dir/mkinstalldirs"; then
2662 mkdir_p
='$(mkinstalldirs)'
2664 mkdir_p
='$(install_sh) -d'
2668 for ac_prog
in gawk mawk nawk
awk
2670 # Extract the first word of "$ac_prog", so it can be a program name with args.
2671 set dummy
$ac_prog; ac_word
=$2
2672 echo "$as_me:$LINENO: checking for $ac_word" >&5
2673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2674 if test "${ac_cv_prog_AWK+set}" = set; then
2675 echo $ECHO_N "(cached) $ECHO_C" >&6
2677 if test -n "$AWK"; then
2678 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2684 test -z "$as_dir" && as_dir
=.
2685 for ac_exec_ext
in '' $ac_executable_extensions; do
2686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2687 ac_cv_prog_AWK
="$ac_prog"
2688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2697 if test -n "$AWK"; then
2698 echo "$as_me:$LINENO: result: $AWK" >&5
2699 echo "${ECHO_T}$AWK" >&6
2701 echo "$as_me:$LINENO: result: no" >&5
2702 echo "${ECHO_T}no" >&6
2705 test -n "$AWK" && break
2708 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2709 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2710 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2711 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2712 echo $ECHO_N "(cached) $ECHO_C" >&6
2714 cat >conftest.
make <<\_ACEOF
2716 @
echo 'ac_maketemp="$(MAKE)"'
2718 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2719 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2720 if test -n "$ac_maketemp"; then
2721 eval ac_cv_prog_make_
${ac_make}_set
=yes
2723 eval ac_cv_prog_make_
${ac_make}_set
=no
2727 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2728 echo "$as_me:$LINENO: result: yes" >&5
2729 echo "${ECHO_T}yes" >&6
2732 echo "$as_me:$LINENO: result: no" >&5
2733 echo "${ECHO_T}no" >&6
2734 SET_MAKE
="MAKE=${MAKE-make}"
2737 rm -rf .tst
2>/dev
/null
2738 mkdir .tst
2>/dev
/null
2739 if test -d .tst
; then
2744 rmdir .tst
2>/dev
/null
2746 DEPDIR
="${am__leading_dot}deps"
2748 ac_config_commands
="$ac_config_commands depfiles"
2751 am_make
=${MAKE-make}
2752 cat > confinc
<< 'END'
2757 # If we don't find an include directive, just comment out the code.
2758 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2759 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2763 # First try GNU make style include.
2764 echo "include confinc" > confmf
2765 # We grep out `Entering directory' and `Leaving directory'
2766 # messages which can occur if `w' ends up in MAKEFLAGS.
2767 # In particular we don't look at `^make:' because GNU make might
2768 # be invoked under some other name (usually "gmake"), in which
2769 # case it prints its new name instead of `make'.
2770 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2775 # Now try BSD make style include.
2776 if test "$am__include" = "#"; then
2777 echo '.include "confinc"' > confmf
2778 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2779 am__include
=.include
2786 echo "$as_me:$LINENO: result: $_am_result" >&5
2787 echo "${ECHO_T}$_am_result" >&6
2788 rm -f confinc confmf
2790 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2791 if test "${enable_dependency_tracking+set}" = set; then
2792 enableval
="$enable_dependency_tracking"
2795 if test "x$enable_dependency_tracking" != xno
; then
2796 am_depcomp
="$ac_aux_dir/depcomp"
2801 if test "x$enable_dependency_tracking" != xno; then
2811 # test to see if srcdir already configured
2812 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2813 test -f $srcdir/config.status
; then
2814 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2815 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2816 { (exit 1); exit 1; }; }
2819 # test whether we have cygpath
2820 if test -z "$CYGPATH_W"; then
2821 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2822 CYGPATH_W
='cygpath -w'
2829 # Define the identity of the package.
2834 cat >>confdefs.h
<<_ACEOF
2835 #define PACKAGE "$PACKAGE"
2839 cat >>confdefs.h
<<_ACEOF
2840 #define VERSION "$VERSION"
2843 # Some tools Automake needs.
2845 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2848 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2851 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2854 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2857 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2859 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2861 # Installed binaries are usually stripped using `strip' when the user
2862 # run `make install-strip'. However `strip' might not be the right
2863 # tool to use in cross-compilation environments, therefore Automake
2864 # will honor the `STRIP' environment variable to overrule this program.
2865 if test "$cross_compiling" != no
; then
2866 if test -n "$ac_tool_prefix"; then
2867 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2868 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2869 echo "$as_me:$LINENO: checking for $ac_word" >&5
2870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2871 if test "${ac_cv_prog_STRIP+set}" = set; then
2872 echo $ECHO_N "(cached) $ECHO_C" >&6
2874 if test -n "$STRIP"; then
2875 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2881 test -z "$as_dir" && as_dir
=.
2882 for ac_exec_ext
in '' $ac_executable_extensions; do
2883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2884 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2893 STRIP
=$ac_cv_prog_STRIP
2894 if test -n "$STRIP"; then
2895 echo "$as_me:$LINENO: result: $STRIP" >&5
2896 echo "${ECHO_T}$STRIP" >&6
2898 echo "$as_me:$LINENO: result: no" >&5
2899 echo "${ECHO_T}no" >&6
2903 if test -z "$ac_cv_prog_STRIP"; then
2905 # Extract the first word of "strip", so it can be a program name with args.
2906 set dummy strip
; ac_word
=$2
2907 echo "$as_me:$LINENO: checking for $ac_word" >&5
2908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2909 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2910 echo $ECHO_N "(cached) $ECHO_C" >&6
2912 if test -n "$ac_ct_STRIP"; then
2913 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2919 test -z "$as_dir" && as_dir
=.
2920 for ac_exec_ext
in '' $ac_executable_extensions; do
2921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2922 ac_cv_prog_ac_ct_STRIP
="strip"
2923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2929 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2932 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2933 if test -n "$ac_ct_STRIP"; then
2934 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2935 echo "${ECHO_T}$ac_ct_STRIP" >&6
2937 echo "$as_me:$LINENO: result: no" >&5
2938 echo "${ECHO_T}no" >&6
2943 STRIP
="$ac_cv_prog_STRIP"
2947 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2949 # We need awk for the "check" target. The system "awk" is bad on
2951 # Always define AMTAR for backward compatibility.
2953 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2955 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2960 depcc
="$CC" am_compiler_list
=
2962 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2963 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2964 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2965 echo $ECHO_N "(cached) $ECHO_C" >&6
2967 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2968 # We make a subdir and do the tests there. Otherwise we can end up
2969 # making bogus files that we don't know about and never remove. For
2970 # instance it was reported that on HP-UX the gcc test will end up
2971 # making a dummy file named `D' -- because `-MD' means `put the output
2974 # Copy depcomp to subdir because otherwise we won't find it if we're
2975 # using a relative directory.
2976 cp "$am_depcomp" conftest.dir
2978 # We will build objects and dependencies in a subdirectory because
2979 # it helps to detect inapplicable dependency modes. For instance
2980 # both Tru64's cc and ICC support -MD to output dependencies as a
2981 # side effect of compilation, but ICC will put the dependencies in
2982 # the current directory while Tru64 will put them in the object
2986 am_cv_CC_dependencies_compiler_type
=none
2987 if test "$am_compiler_list" = ""; then
2988 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2990 for depmode
in $am_compiler_list; do
2991 # Setup a source with many dependencies, because some compilers
2992 # like to wrap large dependency lists on column 80 (with \), and
2993 # we should not choose a depcomp mode which is confused by this.
2995 # We need to recreate these files for each test, as the compiler may
2996 # overwrite some of them when testing with obscure command lines.
2997 # This happens at least with the AIX C compiler.
2999 for i
in 1 2 3 4 5 6; do
3000 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3001 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3002 # Solaris 8's {/usr,}/bin/sh.
3003 touch sub
/conftst
$i.h
3005 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3009 # after this tag, mechanisms are not by side-effect, so they'll
3010 # only be used when explicitly requested
3011 if test "x$enable_dependency_tracking" = xyes
; then
3019 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3020 # mode. It turns out that the SunPro C++ compiler does not properly
3021 # handle `-M -o', and we need to detect this.
3022 if depmode
=$depmode \
3023 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3024 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3025 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3026 >/dev
/null
2>conftest.err
&&
3027 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3028 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3029 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3030 # icc doesn't choke on unknown options, it will just issue warnings
3031 # or remarks (even with -Werror). So we grep stderr for any message
3032 # that says an option was ignored or not supported.
3033 # When given -MP, icc 7.0 and 7.1 complain thusly:
3034 # icc: Command line warning: ignoring option '-M'; no argument required
3035 # The diagnosis changed in icc 8.0:
3036 # icc: Command line remark: option '-MP' not supported
3037 if (grep 'ignoring option' conftest.err ||
3038 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3039 am_cv_CC_dependencies_compiler_type
=$depmode
3048 am_cv_CC_dependencies_compiler_type
=none
3052 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3053 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3054 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3059 test "x$enable_dependency_tracking" != xno \
3060 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3062 am__fastdepCC_FALSE
='#'
3064 am__fastdepCC_TRUE
='#'
3065 am__fastdepCC_FALSE
=
3071 if test -n "$ac_tool_prefix"; then
3072 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3073 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3074 echo "$as_me:$LINENO: checking for $ac_word" >&5
3075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3076 if test "${ac_cv_prog_AR+set}" = set; then
3077 echo $ECHO_N "(cached) $ECHO_C" >&6
3079 if test -n "$AR"; then
3080 ac_cv_prog_AR
="$AR" # Let the user override the test.
3082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3086 test -z "$as_dir" && as_dir
=.
3087 for ac_exec_ext
in '' $ac_executable_extensions; do
3088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3089 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3099 if test -n "$AR"; then
3100 echo "$as_me:$LINENO: result: $AR" >&5
3101 echo "${ECHO_T}$AR" >&6
3103 echo "$as_me:$LINENO: result: no" >&5
3104 echo "${ECHO_T}no" >&6
3108 if test -z "$ac_cv_prog_AR"; then
3110 # Extract the first word of "ar", so it can be a program name with args.
3111 set dummy
ar; ac_word
=$2
3112 echo "$as_me:$LINENO: checking for $ac_word" >&5
3113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3114 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3115 echo $ECHO_N "(cached) $ECHO_C" >&6
3117 if test -n "$ac_ct_AR"; then
3118 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3124 test -z "$as_dir" && as_dir
=.
3125 for ac_exec_ext
in '' $ac_executable_extensions; do
3126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3127 ac_cv_prog_ac_ct_AR
="ar"
3128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3136 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3137 if test -n "$ac_ct_AR"; then
3138 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3139 echo "${ECHO_T}$ac_ct_AR" >&6
3141 echo "$as_me:$LINENO: result: no" >&5
3142 echo "${ECHO_T}no" >&6
3150 if test -n "$ac_tool_prefix"; then
3151 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3152 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3153 echo "$as_me:$LINENO: checking for $ac_word" >&5
3154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3155 if test "${ac_cv_prog_RANLIB+set}" = set; then
3156 echo $ECHO_N "(cached) $ECHO_C" >&6
3158 if test -n "$RANLIB"; then
3159 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3165 test -z "$as_dir" && as_dir
=.
3166 for ac_exec_ext
in '' $ac_executable_extensions; do
3167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3168 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3177 RANLIB
=$ac_cv_prog_RANLIB
3178 if test -n "$RANLIB"; then
3179 echo "$as_me:$LINENO: result: $RANLIB" >&5
3180 echo "${ECHO_T}$RANLIB" >&6
3182 echo "$as_me:$LINENO: result: no" >&5
3183 echo "${ECHO_T}no" >&6
3187 if test -z "$ac_cv_prog_RANLIB"; then
3188 ac_ct_RANLIB
=$RANLIB
3189 # Extract the first word of "ranlib", so it can be a program name with args.
3190 set dummy ranlib
; ac_word
=$2
3191 echo "$as_me:$LINENO: checking for $ac_word" >&5
3192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3193 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3194 echo $ECHO_N "(cached) $ECHO_C" >&6
3196 if test -n "$ac_ct_RANLIB"; then
3197 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3203 test -z "$as_dir" && as_dir
=.
3204 for ac_exec_ext
in '' $ac_executable_extensions; do
3205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3206 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3213 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3216 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3217 if test -n "$ac_ct_RANLIB"; then
3218 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3219 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3221 echo "$as_me:$LINENO: result: no" >&5
3222 echo "${ECHO_T}no" >&6
3225 RANLIB
=$ac_ct_RANLIB
3227 RANLIB
="$ac_cv_prog_RANLIB"
3231 # Check whether --enable-shared or --disable-shared was given.
3232 if test "${enable_shared+set}" = set; then
3233 enableval
="$enable_shared"
3234 p
=${PACKAGE-default}
3236 yes) enable_shared
=yes ;;
3237 no
) enable_shared
=no
;;
3240 # Look at the argument we got. We use all the common list separators.
3241 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3242 for pkg
in $enableval; do
3243 if test "X$pkg" = "X$p"; then
3254 # Check whether --enable-static or --disable-static was given.
3255 if test "${enable_static+set}" = set; then
3256 enableval
="$enable_static"
3257 p
=${PACKAGE-default}
3259 yes) enable_static
=yes ;;
3260 no
) enable_static
=no
;;
3263 # Look at the argument we got. We use all the common list separators.
3264 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3265 for pkg
in $enableval; do
3266 if test "X$pkg" = "X$p"; then
3276 # Check whether --enable-fast-install or --disable-fast-install was given.
3277 if test "${enable_fast_install+set}" = set; then
3278 enableval
="$enable_fast_install"
3279 p
=${PACKAGE-default}
3281 yes) enable_fast_install
=yes ;;
3282 no
) enable_fast_install
=no
;;
3284 enable_fast_install
=no
3285 # Look at the argument we got. We use all the common list separators.
3286 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3287 for pkg
in $enableval; do
3288 if test "X$pkg" = "X$p"; then
3289 enable_fast_install
=yes
3296 enable_fast_install
=yes
3299 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3300 if test "${with_gnu_ld+set}" = set; then
3301 withval
="$with_gnu_ld"
3302 test "$withval" = no || with_gnu_ld
=yes
3307 if test "$GCC" = yes; then
3308 # Check if gcc -print-prog-name=ld gives a path.
3309 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3310 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3313 # gcc leaves a trailing carriage return which upsets mingw
3314 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3316 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3319 # Accept absolute paths.
3320 [\\/]* |
[A-Za-z
]:[\\/]*)
3321 re_direlt
='/[^/][^/]*/\.\./'
3322 # Canonicalize the path of ld
3323 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3324 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3325 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3327 test -z "$LD" && LD
="$ac_prog"
3330 # If it fails, then pretend we aren't using GCC.
3334 # If it is relative, then search for the first ld in PATH.
3338 elif test "$with_gnu_ld" = yes; then
3339 echo "$as_me:$LINENO: checking for GNU ld" >&5
3340 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3342 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3343 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3345 if test "${lt_cv_path_LD+set}" = set; then
3346 echo $ECHO_N "(cached) $ECHO_C" >&6
3348 if test -z "$LD"; then
3349 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3350 for ac_dir
in $PATH; do
3351 test -z "$ac_dir" && ac_dir
=.
3352 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3353 lt_cv_path_LD
="$ac_dir/$ac_prog"
3354 # Check to see if the program is GNU ld. I'd rather use --version,
3355 # but apparently some GNU ld's only accept -v.
3356 # Break only if it was the GNU/non-GNU ld that we prefer.
3357 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3358 test "$with_gnu_ld" != no
&& break
3360 test "$with_gnu_ld" != yes && break
3366 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3371 if test -n "$LD"; then
3372 echo "$as_me:$LINENO: result: $LD" >&5
3373 echo "${ECHO_T}$LD" >&6
3375 echo "$as_me:$LINENO: result: no" >&5
3376 echo "${ECHO_T}no" >&6
3378 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3379 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3380 { (exit 1); exit 1; }; }
3381 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3382 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3383 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3384 echo $ECHO_N "(cached) $ECHO_C" >&6
3386 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3387 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3388 lt_cv_prog_gnu_ld
=yes
3390 lt_cv_prog_gnu_ld
=no
3393 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3394 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3395 with_gnu_ld
=$lt_cv_prog_gnu_ld
3398 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3399 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3400 if test "${lt_cv_ld_reload_flag+set}" = set; then
3401 echo $ECHO_N "(cached) $ECHO_C" >&6
3403 lt_cv_ld_reload_flag
='-r'
3405 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3406 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3407 reload_flag
=$lt_cv_ld_reload_flag
3408 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3410 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3411 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3412 if test "${lt_cv_path_NM+set}" = set; then
3413 echo $ECHO_N "(cached) $ECHO_C" >&6
3415 if test -n "$NM"; then
3416 # Let the user override the test.
3419 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3420 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3421 test -z "$ac_dir" && ac_dir
=.
3422 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3423 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3424 # Check to see if the nm accepts a BSD-compat flag.
3425 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3426 # nm: unknown option "B" ignored
3427 # Tru64's nm complains that /dev/null is an invalid object file
3428 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3429 lt_cv_path_NM
="$tmp_nm -B"
3431 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3432 lt_cv_path_NM
="$tmp_nm -p"
3435 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3436 continue # so that we can try to find one that supports BSD flags
3441 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3446 echo "$as_me:$LINENO: result: $NM" >&5
3447 echo "${ECHO_T}$NM" >&6
3449 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3450 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3452 if test "$LN_S" = "ln -s"; then
3453 echo "$as_me:$LINENO: result: yes" >&5
3454 echo "${ECHO_T}yes" >&6
3456 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3457 echo "${ECHO_T}no, using $LN_S" >&6
3460 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3461 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3462 if test "${lt_cv_deplibs_check_method+set}" = set; then
3463 echo $ECHO_N "(cached) $ECHO_C" >&6
3465 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3466 lt_cv_file_magic_test_file
=
3467 lt_cv_deplibs_check_method
='unknown'
3468 # Need to set the preceding variable on all platforms that support
3469 # interlibrary dependencies.
3470 # 'none' -- dependencies not supported.
3471 # `unknown' -- same as none, but documents that we really don't know.
3472 # 'pass_all' -- all dependencies passed with no checks.
3473 # 'test_compile' -- check by making test program.
3474 # 'file_magic [regex]' -- check by looking for files in library path
3475 # which responds to the $file_magic_cmd with a given egrep regex.
3476 # If you have `file' or equivalent on your system and you're not sure
3477 # whether `pass_all' will *always* work, you probably want this one.
3481 lt_cv_deplibs_check_method
=pass_all
3485 lt_cv_deplibs_check_method
=pass_all
3489 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3490 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3491 lt_cv_file_magic_test_file
=/shlib
/libc.so
3494 cygwin
* | mingw
* |pw32
*)
3495 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3496 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3499 darwin
* | rhapsody
*)
3500 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3501 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3503 rhapsody
* | darwin1.012
)
3504 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3507 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3512 freebsd
* | kfreebsd
*-gnu)
3513 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3516 # Not sure whether the presence of OpenBSD here was a mistake.
3517 # Let's accept both of them until this is cleared up.
3518 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3519 lt_cv_file_magic_cmd
=/usr
/bin
/file
3520 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3524 lt_cv_deplibs_check_method
=pass_all
3529 lt_cv_deplibs_check_method
=pass_all
3535 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3536 lt_cv_file_magic_cmd
=/usr
/bin
/file
3537 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3540 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3541 lt_cv_file_magic_cmd
=/usr
/bin
/file
3542 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3550 # this will be overridden with pass_all, but let us keep it just in case
3551 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3555 *-32|
*"-32 ") libmagic
=32-bit;;
3556 *-n32|
*"-n32 ") libmagic
=N32
;;
3557 *-64|
*"-64 ") libmagic
=64-bit;;
3558 *) libmagic
=never-match
;;
3560 # this will be overridden with pass_all, but let us keep it just in case
3561 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3564 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3565 lt_cv_deplibs_check_method
=pass_all
3568 # This must be Linux ELF.
3571 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
3572 lt_cv_deplibs_check_method
=pass_all
;;
3574 # glibc up to 2.1.1 does not perform some relocations on ARM
3575 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3577 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3580 netbsd
* | knetbsd
*-gnu)
3581 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3582 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3584 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3589 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3590 lt_cv_file_magic_cmd
=/usr
/bin
/file
3591 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3594 osf3
* | osf4
* | osf5
*)
3595 # this will be overridden with pass_all, but let us keep it just in case
3596 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3597 lt_cv_file_magic_test_file
=/shlib
/libc.so
3598 lt_cv_deplibs_check_method
=pass_all
3602 lt_cv_deplibs_check_method
=pass_all
3606 lt_cv_deplibs_check_method
=pass_all
3607 lt_cv_file_magic_test_file
=/lib
/libc.so
3610 sysv5uw
[78]* | sysv4
*uw2
*)
3611 lt_cv_deplibs_check_method
=pass_all
3614 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3615 case $host_vendor in
3617 lt_cv_deplibs_check_method
=pass_all
3620 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]'
3621 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3628 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3629 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3630 file_magic_cmd
=$lt_cv_file_magic_cmd
3631 deplibs_check_method
=$lt_cv_deplibs_check_method
3636 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3638 # Only perform the check for file, if the check method requires it
3639 case $deplibs_check_method in
3641 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3642 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3643 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3644 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3645 echo $ECHO_N "(cached) $ECHO_C" >&6
3649 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3652 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3655 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3656 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3657 ac_dummy
="/usr/bin:$PATH"
3658 for ac_dir
in $ac_dummy; do
3659 test -z "$ac_dir" && ac_dir
=.
3660 if test -f $ac_dir/${ac_tool_prefix}file; then
3661 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3662 if test -n "$file_magic_test_file"; then
3663 case $deplibs_check_method in
3665 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3666 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3667 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3668 egrep "$file_magic_regex" > /dev
/null
; then
3673 *** Warning: the command libtool uses to detect shared libraries,
3674 *** $file_magic_cmd, produces output that libtool cannot recognize.
3675 *** The result is that libtool may fail to recognize shared libraries
3676 *** as such. This will affect the creation of libtool libraries that
3677 *** depend on shared libraries, but programs linked with such libtool
3678 *** libraries will work regardless of this problem. Nevertheless, you
3679 *** may want to report the problem to your system manager and/or to
3680 *** bug-libtool@gnu.org
3690 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3695 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3696 if test -n "$MAGIC_CMD"; then
3697 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3698 echo "${ECHO_T}$MAGIC_CMD" >&6
3700 echo "$as_me:$LINENO: result: no" >&5
3701 echo "${ECHO_T}no" >&6
3704 if test -z "$lt_cv_path_MAGIC_CMD"; then
3705 if test -n "$ac_tool_prefix"; then
3706 echo "$as_me:$LINENO: checking for file" >&5
3707 echo $ECHO_N "checking for file... $ECHO_C" >&6
3708 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3709 echo $ECHO_N "(cached) $ECHO_C" >&6
3713 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3716 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3719 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3720 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3721 ac_dummy
="/usr/bin:$PATH"
3722 for ac_dir
in $ac_dummy; do
3723 test -z "$ac_dir" && ac_dir
=.
3724 if test -f $ac_dir/file; then
3725 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3726 if test -n "$file_magic_test_file"; then
3727 case $deplibs_check_method in
3729 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3730 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3731 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3732 egrep "$file_magic_regex" > /dev
/null
; then
3737 *** Warning: the command libtool uses to detect shared libraries,
3738 *** $file_magic_cmd, produces output that libtool cannot recognize.
3739 *** The result is that libtool may fail to recognize shared libraries
3740 *** as such. This will affect the creation of libtool libraries that
3741 *** depend on shared libraries, but programs linked with such libtool
3742 *** libraries will work regardless of this problem. Nevertheless, you
3743 *** may want to report the problem to your system manager and/or to
3744 *** bug-libtool@gnu.org
3754 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3759 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3760 if test -n "$MAGIC_CMD"; then
3761 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3762 echo "${ECHO_T}$MAGIC_CMD" >&6
3764 echo "$as_me:$LINENO: result: no" >&5
3765 echo "${ECHO_T}no" >&6
3777 if test -n "$ac_tool_prefix"; then
3778 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3779 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3780 echo "$as_me:$LINENO: checking for $ac_word" >&5
3781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3782 if test "${ac_cv_prog_RANLIB+set}" = set; then
3783 echo $ECHO_N "(cached) $ECHO_C" >&6
3785 if test -n "$RANLIB"; then
3786 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3792 test -z "$as_dir" && as_dir
=.
3793 for ac_exec_ext
in '' $ac_executable_extensions; do
3794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3795 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3804 RANLIB
=$ac_cv_prog_RANLIB
3805 if test -n "$RANLIB"; then
3806 echo "$as_me:$LINENO: result: $RANLIB" >&5
3807 echo "${ECHO_T}$RANLIB" >&6
3809 echo "$as_me:$LINENO: result: no" >&5
3810 echo "${ECHO_T}no" >&6
3814 if test -z "$ac_cv_prog_RANLIB"; then
3815 ac_ct_RANLIB
=$RANLIB
3816 # Extract the first word of "ranlib", so it can be a program name with args.
3817 set dummy ranlib
; ac_word
=$2
3818 echo "$as_me:$LINENO: checking for $ac_word" >&5
3819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3820 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3821 echo $ECHO_N "(cached) $ECHO_C" >&6
3823 if test -n "$ac_ct_RANLIB"; then
3824 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3830 test -z "$as_dir" && as_dir
=.
3831 for ac_exec_ext
in '' $ac_executable_extensions; do
3832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3833 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3840 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3843 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3844 if test -n "$ac_ct_RANLIB"; then
3845 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3846 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3848 echo "$as_me:$LINENO: result: no" >&5
3849 echo "${ECHO_T}no" >&6
3852 RANLIB
=$ac_ct_RANLIB
3854 RANLIB
="$ac_cv_prog_RANLIB"
3857 if test -n "$ac_tool_prefix"; then
3858 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3859 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3860 echo "$as_me:$LINENO: checking for $ac_word" >&5
3861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3862 if test "${ac_cv_prog_STRIP+set}" = set; then
3863 echo $ECHO_N "(cached) $ECHO_C" >&6
3865 if test -n "$STRIP"; then
3866 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3872 test -z "$as_dir" && as_dir
=.
3873 for ac_exec_ext
in '' $ac_executable_extensions; do
3874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3875 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3884 STRIP
=$ac_cv_prog_STRIP
3885 if test -n "$STRIP"; then
3886 echo "$as_me:$LINENO: result: $STRIP" >&5
3887 echo "${ECHO_T}$STRIP" >&6
3889 echo "$as_me:$LINENO: result: no" >&5
3890 echo "${ECHO_T}no" >&6
3894 if test -z "$ac_cv_prog_STRIP"; then
3896 # Extract the first word of "strip", so it can be a program name with args.
3897 set dummy strip
; ac_word
=$2
3898 echo "$as_me:$LINENO: checking for $ac_word" >&5
3899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3900 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3901 echo $ECHO_N "(cached) $ECHO_C" >&6
3903 if test -n "$ac_ct_STRIP"; then
3904 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3910 test -z "$as_dir" && as_dir
=.
3911 for ac_exec_ext
in '' $ac_executable_extensions; do
3912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3913 ac_cv_prog_ac_ct_STRIP
="strip"
3914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3920 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3923 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3924 if test -n "$ac_ct_STRIP"; then
3925 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3926 echo "${ECHO_T}$ac_ct_STRIP" >&6
3928 echo "$as_me:$LINENO: result: no" >&5
3929 echo "${ECHO_T}no" >&6
3934 STRIP
="$ac_cv_prog_STRIP"
3938 # Check for any special flags to pass to ltconfig.
3939 libtool_flags
="--cache-file=$cache_file"
3940 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3941 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3942 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3943 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3944 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3947 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3948 if test "${enable_libtool_lock+set}" = set; then
3949 enableval
="$enable_libtool_lock"
3952 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3953 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3956 # Check whether --with-pic or --without-pic was given.
3957 if test "${with_pic+set}" = set; then
3963 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3964 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3966 # Some flags need to be propagated to the compiler or linker for good
3970 # Find out which ABI we are using.
3971 echo '#line 3971 "configure"' > conftest.
$ac_ext
3972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3973 (eval $ac_compile) 2>&5
3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 (exit $ac_status); }; then
3977 if test "$lt_cv_prog_gnu_ld" = yes; then
3978 case `/usr/bin/file conftest.$ac_objext` in
3980 LD
="${LD-ld} -melf32bsmip"
3983 LD
="${LD-ld} -melf32bmipn32"
3986 LD
="${LD-ld} -melf64bmip"
3990 case `/usr/bin/file conftest.$ac_objext` in
4007 # Find out which ABI we are using.
4008 echo 'int i;' > conftest.
$ac_ext
4009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4010 (eval $ac_compile) 2>&5
4012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013 (exit $ac_status); }; then
4014 case "`/usr/bin/file conftest.o`" in
4027 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4028 SAVE_CFLAGS
="$CFLAGS"
4029 CFLAGS
="$CFLAGS -belf"
4030 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4031 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4032 if test "${lt_cv_cc_needs_belf+set}" = set; then
4033 echo $ECHO_N "(cached) $ECHO_C" >&6
4038 ac_cpp
='$CPP $CPPFLAGS'
4039 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4040 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4041 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4043 cat >conftest.
$ac_ext <<_ACEOF
4046 cat confdefs.h
>>conftest.
$ac_ext
4047 cat >>conftest.
$ac_ext <<_ACEOF
4048 /* end confdefs.h. */
4058 rm -f conftest.
$ac_objext conftest
$ac_exeext
4059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4060 (eval $ac_link) 2>conftest.er1
4062 grep -v '^ *+' conftest.er1
>conftest.err
4064 cat conftest.err
>&5
4065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4066 (exit $ac_status); } &&
4067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072 (exit $ac_status); }; } &&
4073 { ac_try
='test -s conftest$ac_exeext'
4074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078 (exit $ac_status); }; }; then
4079 lt_cv_cc_needs_belf
=yes
4081 echo "$as_me: failed program was:" >&5
4082 sed 's/^/| /' conftest.
$ac_ext >&5
4084 lt_cv_cc_needs_belf
=no
4086 rm -f conftest.err conftest.
$ac_objext \
4087 conftest
$ac_exeext conftest.
$ac_ext
4089 ac_cpp
='$CPP $CPPFLAGS'
4090 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4091 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4092 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4095 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4096 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4097 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4098 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4099 CFLAGS
="$SAVE_CFLAGS"
4107 # Save cache, so that ltconfig can load it
4108 cat >confcache
<<\_ACEOF
4109 # This file is a shell script that caches the results of configure
4110 # tests run on this system so they can be shared between configure
4111 # scripts and configure runs, see configure's option --config-cache.
4112 # It is not useful on other systems. If it contains results you don't
4113 # want to keep, you may remove or edit it.
4115 # config.status only pays attention to the cache file if you give it
4116 # the --recheck option to rerun configure.
4118 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4119 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4124 # The following way of writing the cache mishandles newlines in values,
4125 # but we know of no workaround that is simple, portable, and efficient.
4126 # So, don't put newlines in cache variables' values.
4127 # Ultrix sh set writes to stderr and can't be redirected directly,
4128 # and sets the high bit in the cache file unless we assign to the vars.
4131 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4133 # `set' does not quote correctly, so add quotes (double-quote
4134 # substitution turns \\\\ into \\, and sed turns \\ into \).
4137 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4140 # `set' quotes correctly as required by POSIX, so do not add quotes.
4142 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4149 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4151 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4153 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4154 if test -w $cache_file; then
4155 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4156 cat confcache
>$cache_file
4158 echo "not updating unwritable cache $cache_file"
4163 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4164 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4165 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4166 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4167 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4168 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4169 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4170 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4171 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4172 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4173 echo "$as_me: error: libtool configure failed" >&2;}
4174 { (exit 1); exit 1; }; }
4176 # Reload cache, that may have been modified by ltconfig
4177 if test -r "$cache_file"; then
4178 # Some versions of bash will fail to source /dev/null (special
4179 # files actually), so we avoid doing that.
4180 if test -f "$cache_file"; then
4181 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4182 echo "$as_me: loading cache $cache_file" >&6;}
4184 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4185 *) . .
/$cache_file;;
4189 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4190 echo "$as_me: creating cache $cache_file" >&6;}
4195 # This can be used to rebuild libtool when needed
4196 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4198 # Always use our own libtool.
4199 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4201 # Redirect the config.log output again, so that the ltconfig log is not
4202 # clobbered by the next message.
4203 exec 5>>.
/config.log
4211 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
4212 if test "${enable_64_bit_bfd+set}" = set; then
4213 enableval
="$enable_64_bit_bfd"
4214 case "${enableval}" in
4217 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
4218 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
4219 { (exit 1); exit 1; }; } ;;
4223 fi; # Check whether --enable-targets or --disable-targets was given.
4224 if test "${enable_targets+set}" = set; then
4225 enableval
="$enable_targets"
4226 case "${enableval}" in
4227 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
4228 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
4229 { (exit 1); exit 1; }; }
4231 no
) enable_targets
= ;;
4232 *) enable_targets
=$enableval ;;
4234 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
4235 if test "${enable_commonbfdlib+set}" = set; then
4236 enableval
="$enable_commonbfdlib"
4237 case "${enableval}" in
4238 yes) commonbfdlib
=true
;;
4239 no
) commonbfdlib
=false
;;
4240 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
4241 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
4242 { (exit 1); exit 1; }; } ;;
4245 # Check whether --with-mmap or --without-mmap was given.
4246 if test "${with_mmap+set}" = set; then
4247 withval
="$with_mmap"
4248 case "${withval}" in
4249 yes) want_mmap
=true
;;
4250 no
) want_mmap
=false
;;
4251 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
4252 echo "$as_me: error: bad value ${withval} for BFD with-mmap option" >&2;}
4253 { (exit 1); exit 1; }; } ;;
4258 # Check whether --enable-secureplt or --disable-secureplt was given.
4259 if test "${enable_secureplt+set}" = set; then
4260 enableval
="$enable_secureplt"
4261 case "${enableval}" in
4262 yes) use_secureplt
=true
;;
4263 no
) use_secureplt
=false
;;
4264 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for secureplt option" >&5
4265 echo "$as_me: error: bad value ${enableval} for secureplt option" >&2;}
4266 { (exit 1); exit 1; }; } ;;
4270 fi; if test $use_secureplt = true
; then
4272 cat >>confdefs.h
<<\_ACEOF
4273 #define USE_SECUREPLT 1
4279 WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4281 # Check whether --enable-werror or --disable-werror was given.
4282 if test "${enable_werror+set}" = set; then
4283 enableval
="$enable_werror"
4284 case "${enableval}" in
4285 yes | y
) ERROR_ON_WARNING
="yes" ;;
4286 no | n
) ERROR_ON_WARNING
="no" ;;
4287 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4288 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4289 { (exit 1); exit 1; }; } ;;
4293 # Enable -Werror by default when using gcc
4294 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4295 ERROR_ON_WARNING
=yes
4299 if test "${ERROR_ON_WARNING}" = yes ; then
4300 WARN_CFLAGS
="$WARN_CFLAGS -Werror"
4301 NO_WERROR
="-Wno-error"
4304 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4305 if test "${enable_build_warnings+set}" = set; then
4306 enableval
="$enable_build_warnings"
4307 case "${enableval}" in
4309 no
) WARN_CFLAGS
="-w";;
4310 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4311 WARN_CFLAGS
="${WARN_CFLAGS} ${t}";;
4312 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4313 WARN_CFLAGS
="${t} ${WARN_CFLAGS}";;
4314 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4318 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4319 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4326 ac_config_headers
="$ac_config_headers config.h:config.in"
4329 if test -z "$target" ; then
4330 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
4331 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
4332 { (exit 1); exit 1; }; }
4335 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4336 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4337 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4338 if test "${enable_maintainer_mode+set}" = set; then
4339 enableval
="$enable_maintainer_mode"
4340 USE_MAINTAINER_MODE
=$enableval
4342 USE_MAINTAINER_MODE
=no
4344 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4345 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4348 if test $USE_MAINTAINER_MODE = yes; then
4349 MAINTAINER_MODE_TRUE
=
4350 MAINTAINER_MODE_FALSE
='#'
4352 MAINTAINER_MODE_TRUE
='#'
4353 MAINTAINER_MODE_FALSE
=
4356 MAINT
=$MAINTAINER_MODE_TRUE
4359 case ${build_alias} in
4360 "") build_noncanonical
=${build} ;;
4361 *) build_noncanonical
=${build_alias} ;;
4364 case ${host_alias} in
4365 "") host_noncanonical
=${build_noncanonical} ;;
4366 *) host_noncanonical
=${host_alias} ;;
4369 case ${target_alias} in
4370 "") target_noncanonical
=${host_noncanonical} ;;
4371 *) target_noncanonical
=${target_alias} ;;
4374 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
4375 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
4376 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
4377 if test "${enable_install_libbfd+set}" = set; then
4378 enableval
="$enable_install_libbfd"
4379 install_libbfd_p
=$enableval
4381 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
4382 install_libbfd_p
=yes
4387 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
4388 echo "${ECHO_T}$install_libbfd_p" >&6
4391 if test $install_libbfd_p = yes; then
4392 INSTALL_LIBBFD_TRUE
=
4393 INSTALL_LIBBFD_FALSE
='#'
4395 INSTALL_LIBBFD_TRUE
='#'
4396 INSTALL_LIBBFD_FALSE
=
4399 # Need _noncanonical variables for this.
4404 # libbfd.a is a host library containing target dependent code
4405 bfdlibdir
='$(libdir)'
4406 bfdincludedir
='$(includedir)'
4407 if test "${host}" != "${target}"; then
4408 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
4409 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
4419 bfd_default_target_size
=32
4424 ac_cpp
='$CPP $CPPFLAGS'
4425 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4426 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4427 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4428 if test -n "$ac_tool_prefix"; then
4429 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4430 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4431 echo "$as_me:$LINENO: checking for $ac_word" >&5
4432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4433 if test "${ac_cv_prog_CC+set}" = set; then
4434 echo $ECHO_N "(cached) $ECHO_C" >&6
4436 if test -n "$CC"; then
4437 ac_cv_prog_CC
="$CC" # Let the user override the test.
4439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4443 test -z "$as_dir" && as_dir
=.
4444 for ac_exec_ext
in '' $ac_executable_extensions; do
4445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4446 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4456 if test -n "$CC"; then
4457 echo "$as_me:$LINENO: result: $CC" >&5
4458 echo "${ECHO_T}$CC" >&6
4460 echo "$as_me:$LINENO: result: no" >&5
4461 echo "${ECHO_T}no" >&6
4465 if test -z "$ac_cv_prog_CC"; then
4467 # Extract the first word of "gcc", so it can be a program name with args.
4468 set dummy gcc
; ac_word
=$2
4469 echo "$as_me:$LINENO: checking for $ac_word" >&5
4470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4471 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4472 echo $ECHO_N "(cached) $ECHO_C" >&6
4474 if test -n "$ac_ct_CC"; then
4475 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4481 test -z "$as_dir" && as_dir
=.
4482 for ac_exec_ext
in '' $ac_executable_extensions; do
4483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4484 ac_cv_prog_ac_ct_CC
="gcc"
4485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4493 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4494 if test -n "$ac_ct_CC"; then
4495 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4496 echo "${ECHO_T}$ac_ct_CC" >&6
4498 echo "$as_me:$LINENO: result: no" >&5
4499 echo "${ECHO_T}no" >&6
4507 if test -z "$CC"; then
4508 if test -n "$ac_tool_prefix"; then
4509 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4510 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4511 echo "$as_me:$LINENO: checking for $ac_word" >&5
4512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4513 if test "${ac_cv_prog_CC+set}" = set; then
4514 echo $ECHO_N "(cached) $ECHO_C" >&6
4516 if test -n "$CC"; then
4517 ac_cv_prog_CC
="$CC" # Let the user override the test.
4519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4523 test -z "$as_dir" && as_dir
=.
4524 for ac_exec_ext
in '' $ac_executable_extensions; do
4525 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4526 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4536 if test -n "$CC"; then
4537 echo "$as_me:$LINENO: result: $CC" >&5
4538 echo "${ECHO_T}$CC" >&6
4540 echo "$as_me:$LINENO: result: no" >&5
4541 echo "${ECHO_T}no" >&6
4545 if test -z "$ac_cv_prog_CC"; then
4547 # Extract the first word of "cc", so it can be a program name with args.
4548 set dummy cc
; ac_word
=$2
4549 echo "$as_me:$LINENO: checking for $ac_word" >&5
4550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4551 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4552 echo $ECHO_N "(cached) $ECHO_C" >&6
4554 if test -n "$ac_ct_CC"; then
4555 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4561 test -z "$as_dir" && as_dir
=.
4562 for ac_exec_ext
in '' $ac_executable_extensions; do
4563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4564 ac_cv_prog_ac_ct_CC
="cc"
4565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4573 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4574 if test -n "$ac_ct_CC"; then
4575 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4576 echo "${ECHO_T}$ac_ct_CC" >&6
4578 echo "$as_me:$LINENO: result: no" >&5
4579 echo "${ECHO_T}no" >&6
4588 if test -z "$CC"; then
4589 # Extract the first word of "cc", so it can be a program name with args.
4590 set dummy cc
; ac_word
=$2
4591 echo "$as_me:$LINENO: checking for $ac_word" >&5
4592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4593 if test "${ac_cv_prog_CC+set}" = set; then
4594 echo $ECHO_N "(cached) $ECHO_C" >&6
4596 if test -n "$CC"; then
4597 ac_cv_prog_CC
="$CC" # Let the user override the test.
4600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4604 test -z "$as_dir" && as_dir
=.
4605 for ac_exec_ext
in '' $ac_executable_extensions; do
4606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4607 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4608 ac_prog_rejected
=yes
4612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4618 if test $ac_prog_rejected = yes; then
4619 # We found a bogon in the path, so make sure we never use it.
4620 set dummy
$ac_cv_prog_CC
4622 if test $# != 0; then
4623 # We chose a different compiler from the bogus one.
4624 # However, it has the same basename, so the bogon will be chosen
4625 # first if we set CC to just the basename; use the full file name.
4627 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4633 if test -n "$CC"; then
4634 echo "$as_me:$LINENO: result: $CC" >&5
4635 echo "${ECHO_T}$CC" >&6
4637 echo "$as_me:$LINENO: result: no" >&5
4638 echo "${ECHO_T}no" >&6
4642 if test -z "$CC"; then
4643 if test -n "$ac_tool_prefix"; then
4646 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4647 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4648 echo "$as_me:$LINENO: checking for $ac_word" >&5
4649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4650 if test "${ac_cv_prog_CC+set}" = set; then
4651 echo $ECHO_N "(cached) $ECHO_C" >&6
4653 if test -n "$CC"; then
4654 ac_cv_prog_CC
="$CC" # Let the user override the test.
4656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4660 test -z "$as_dir" && as_dir
=.
4661 for ac_exec_ext
in '' $ac_executable_extensions; do
4662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4663 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4673 if test -n "$CC"; then
4674 echo "$as_me:$LINENO: result: $CC" >&5
4675 echo "${ECHO_T}$CC" >&6
4677 echo "$as_me:$LINENO: result: no" >&5
4678 echo "${ECHO_T}no" >&6
4681 test -n "$CC" && break
4684 if test -z "$CC"; then
4688 # Extract the first word of "$ac_prog", so it can be a program name with args.
4689 set dummy
$ac_prog; ac_word
=$2
4690 echo "$as_me:$LINENO: checking for $ac_word" >&5
4691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4692 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
4695 if test -n "$ac_ct_CC"; then
4696 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4702 test -z "$as_dir" && as_dir
=.
4703 for ac_exec_ext
in '' $ac_executable_extensions; do
4704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4705 ac_cv_prog_ac_ct_CC
="$ac_prog"
4706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4714 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4715 if test -n "$ac_ct_CC"; then
4716 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4717 echo "${ECHO_T}$ac_ct_CC" >&6
4719 echo "$as_me:$LINENO: result: no" >&5
4720 echo "${ECHO_T}no" >&6
4723 test -n "$ac_ct_CC" && break
4732 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4733 See \`config.log' for more details." >&5
4734 echo "$as_me: error: no acceptable C compiler found in \$PATH
4735 See \`config.log' for more details." >&2;}
4736 { (exit 1); exit 1; }; }
4738 # Provide some information about the compiler.
4739 echo "$as_me:$LINENO:" \
4740 "checking for C compiler version" >&5
4741 ac_compiler
=`set X $ac_compile; echo $2`
4742 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4743 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); }
4747 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4748 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }
4752 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4753 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); }
4758 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4759 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4760 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4761 echo $ECHO_N "(cached) $ECHO_C" >&6
4763 cat >conftest.
$ac_ext <<_ACEOF
4766 cat confdefs.h
>>conftest.
$ac_ext
4767 cat >>conftest.
$ac_ext <<_ACEOF
4768 /* end confdefs.h. */
4781 rm -f conftest.
$ac_objext
4782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4783 (eval $ac_compile) 2>conftest.er1
4785 grep -v '^ *+' conftest.er1
>conftest.err
4787 cat conftest.err
>&5
4788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789 (exit $ac_status); } &&
4790 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795 (exit $ac_status); }; } &&
4796 { ac_try
='test -s conftest.$ac_objext'
4797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); }; }; then
4804 echo "$as_me: failed program was:" >&5
4805 sed 's/^/| /' conftest.
$ac_ext >&5
4809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4810 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4813 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4814 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4815 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4816 ac_test_CFLAGS
=${CFLAGS+set}
4817 ac_save_CFLAGS
=$CFLAGS
4819 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4820 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4821 if test "${ac_cv_prog_cc_g+set}" = set; then
4822 echo $ECHO_N "(cached) $ECHO_C" >&6
4824 cat >conftest.
$ac_ext <<_ACEOF
4827 cat confdefs.h
>>conftest.
$ac_ext
4828 cat >>conftest.
$ac_ext <<_ACEOF
4829 /* end confdefs.h. */
4839 rm -f conftest.
$ac_objext
4840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4841 (eval $ac_compile) 2>conftest.er1
4843 grep -v '^ *+' conftest.er1
>conftest.err
4845 cat conftest.err
>&5
4846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847 (exit $ac_status); } &&
4848 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 (exit $ac_status); }; } &&
4854 { ac_try
='test -s conftest.$ac_objext'
4855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 (exit $ac_status); }; }; then
4862 echo "$as_me: failed program was:" >&5
4863 sed 's/^/| /' conftest.
$ac_ext >&5
4867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4869 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4870 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4871 if test "$ac_test_CFLAGS" = set; then
4872 CFLAGS
=$ac_save_CFLAGS
4873 elif test $ac_cv_prog_cc_g = yes; then
4874 if test "$GCC" = yes; then
4880 if test "$GCC" = yes; then
4886 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4887 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4888 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4889 echo $ECHO_N "(cached) $ECHO_C" >&6
4891 ac_cv_prog_cc_stdc
=no
4893 cat >conftest.
$ac_ext <<_ACEOF
4896 cat confdefs.h
>>conftest.
$ac_ext
4897 cat >>conftest.
$ac_ext <<_ACEOF
4898 /* end confdefs.h. */
4901 #include <sys/types.h>
4902 #include <sys/stat.h>
4903 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4904 struct buf { int x; };
4905 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4906 static char *e (p, i)
4912 static char *f (char * (*g) (char **, int), char **p, ...)
4917 s = g (p, va_arg (v,int));
4922 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4923 function prototypes and stuff, but not '\xHH' hex character constants.
4924 These don't provoke an error unfortunately, instead are silently treated
4925 as 'x'. The following induces an error, until -std1 is added to get
4926 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4927 array size at least. It's necessary to write '\x00'==0 to get something
4928 that's true only with -std1. */
4929 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4931 int test (int i, double x);
4932 struct s1 {int (*f) (int a);};
4933 struct s2 {int (*f) (double a);};
4934 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4940 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4945 # Don't try gcc -ansi; that turns off useful extensions and
4946 # breaks some systems' header files.
4947 # AIX -qlanglvl=ansi
4948 # Ultrix and OSF/1 -std1
4949 # HP-UX 10.20 and later -Ae
4950 # HP-UX older versions -Aa -D_HPUX_SOURCE
4951 # SVR4 -Xc -D__EXTENSIONS__
4952 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4954 CC
="$ac_save_CC $ac_arg"
4955 rm -f conftest.
$ac_objext
4956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4957 (eval $ac_compile) 2>conftest.er1
4959 grep -v '^ *+' conftest.er1
>conftest.err
4961 cat conftest.err
>&5
4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 (exit $ac_status); } &&
4964 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); }; } &&
4970 { ac_try
='test -s conftest.$ac_objext'
4971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); }; }; then
4976 ac_cv_prog_cc_stdc
=$ac_arg
4979 echo "$as_me: failed program was:" >&5
4980 sed 's/^/| /' conftest.
$ac_ext >&5
4983 rm -f conftest.err conftest.
$ac_objext
4985 rm -f conftest.
$ac_ext conftest.
$ac_objext
4990 case "x$ac_cv_prog_cc_stdc" in
4992 echo "$as_me:$LINENO: result: none needed" >&5
4993 echo "${ECHO_T}none needed" >&6 ;;
4995 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4996 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4997 CC
="$CC $ac_cv_prog_cc_stdc" ;;
5000 # Some people use a C++ compiler to compile C. Since we use `exit',
5001 # in C++ we need to declare it. In case someone uses the same compiler
5002 # for both compiling C and C++ we need to have the C++ compiler decide
5003 # the declaration of exit, since it's the most demanding environment.
5004 cat >conftest.
$ac_ext <<_ACEOF
5009 rm -f conftest.
$ac_objext
5010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5011 (eval $ac_compile) 2>conftest.er1
5013 grep -v '^ *+' conftest.er1
>conftest.err
5015 cat conftest.err
>&5
5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017 (exit $ac_status); } &&
5018 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); }; } &&
5024 { ac_try
='test -s conftest.$ac_objext'
5025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029 (exit $ac_status); }; }; then
5030 for ac_declaration
in \
5032 'extern "C" void std::exit (int) throw (); using std::exit;' \
5033 'extern "C" void std::exit (int); using std::exit;' \
5034 'extern "C" void exit (int) throw ();' \
5035 'extern "C" void exit (int);' \
5038 cat >conftest.
$ac_ext <<_ACEOF
5041 cat confdefs.h
>>conftest.
$ac_ext
5042 cat >>conftest.
$ac_ext <<_ACEOF
5043 /* end confdefs.h. */
5054 rm -f conftest.
$ac_objext
5055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5056 (eval $ac_compile) 2>conftest.er1
5058 grep -v '^ *+' conftest.er1
>conftest.err
5060 cat conftest.err
>&5
5061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062 (exit $ac_status); } &&
5063 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068 (exit $ac_status); }; } &&
5069 { ac_try
='test -s conftest.$ac_objext'
5070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5074 (exit $ac_status); }; }; then
5077 echo "$as_me: failed program was:" >&5
5078 sed 's/^/| /' conftest.
$ac_ext >&5
5082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5083 cat >conftest.
$ac_ext <<_ACEOF
5086 cat confdefs.h
>>conftest.
$ac_ext
5087 cat >>conftest.
$ac_ext <<_ACEOF
5088 /* end confdefs.h. */
5098 rm -f conftest.
$ac_objext
5099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5100 (eval $ac_compile) 2>conftest.er1
5102 grep -v '^ *+' conftest.er1
>conftest.err
5104 cat conftest.err
>&5
5105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106 (exit $ac_status); } &&
5107 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); }; } &&
5113 { ac_try
='test -s conftest.$ac_objext'
5114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); }; }; then
5121 echo "$as_me: failed program was:" >&5
5122 sed 's/^/| /' conftest.
$ac_ext >&5
5125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5128 if test -n "$ac_declaration"; then
5129 echo '#ifdef __cplusplus' >>confdefs.h
5130 echo $ac_declaration >>confdefs.h
5131 echo '#endif' >>confdefs.h
5135 echo "$as_me: failed program was:" >&5
5136 sed 's/^/| /' conftest.
$ac_ext >&5
5139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5141 ac_cpp
='$CPP $CPPFLAGS'
5142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5147 cat >>confdefs.h
<<\_ACEOF
5148 #define _GNU_SOURCE 1
5153 ALL_LINGUAS
="fr tr ja es sv da zh_CN ro rw vi"
5154 if test -n "$ac_tool_prefix"; then
5155 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5156 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5157 echo "$as_me:$LINENO: checking for $ac_word" >&5
5158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5159 if test "${ac_cv_prog_RANLIB+set}" = set; then
5160 echo $ECHO_N "(cached) $ECHO_C" >&6
5162 if test -n "$RANLIB"; then
5163 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5169 test -z "$as_dir" && as_dir
=.
5170 for ac_exec_ext
in '' $ac_executable_extensions; do
5171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5172 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5181 RANLIB
=$ac_cv_prog_RANLIB
5182 if test -n "$RANLIB"; then
5183 echo "$as_me:$LINENO: result: $RANLIB" >&5
5184 echo "${ECHO_T}$RANLIB" >&6
5186 echo "$as_me:$LINENO: result: no" >&5
5187 echo "${ECHO_T}no" >&6
5191 if test -z "$ac_cv_prog_RANLIB"; then
5192 ac_ct_RANLIB
=$RANLIB
5193 # Extract the first word of "ranlib", so it can be a program name with args.
5194 set dummy ranlib
; ac_word
=$2
5195 echo "$as_me:$LINENO: checking for $ac_word" >&5
5196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5197 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5198 echo $ECHO_N "(cached) $ECHO_C" >&6
5200 if test -n "$ac_ct_RANLIB"; then
5201 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5207 test -z "$as_dir" && as_dir
=.
5208 for ac_exec_ext
in '' $ac_executable_extensions; do
5209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5210 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5217 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5220 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5221 if test -n "$ac_ct_RANLIB"; then
5222 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5223 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5225 echo "$as_me:$LINENO: result: no" >&5
5226 echo "${ECHO_T}no" >&6
5229 RANLIB
=$ac_ct_RANLIB
5231 RANLIB
="$ac_cv_prog_RANLIB"
5235 ac_cpp
='$CPP $CPPFLAGS'
5236 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5237 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5238 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5239 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5240 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5241 # On Suns, sometimes $CPP names a directory.
5242 if test -n "$CPP" && test -d "$CPP"; then
5245 if test -z "$CPP"; then
5246 if test "${ac_cv_prog_CPP+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 # Double quotes because CPP needs to be expanded
5250 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5253 for ac_c_preproc_warn_flag
in '' yes
5255 # Use a header file that comes with gcc, so configuring glibc
5256 # with a fresh cross-compiler works.
5257 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5258 # <limits.h> exists even on freestanding compilers.
5259 # On the NeXT, cc -E runs the code through the compiler's parser,
5260 # not just through cpp. "Syntax error" is here to catch this case.
5261 cat >conftest.
$ac_ext <<_ACEOF
5264 cat confdefs.h
>>conftest.
$ac_ext
5265 cat >>conftest.
$ac_ext <<_ACEOF
5266 /* end confdefs.h. */
5268 # include <limits.h>
5270 # include <assert.h>
5274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5275 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5277 grep -v '^ *+' conftest.er1
>conftest.err
5279 cat conftest.err
>&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); } >/dev
/null
; then
5282 if test -s conftest.err
; then
5283 ac_cpp_err
=$ac_c_preproc_warn_flag
5284 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5291 if test -z "$ac_cpp_err"; then
5294 echo "$as_me: failed program was:" >&5
5295 sed 's/^/| /' conftest.
$ac_ext >&5
5297 # Broken: fails on valid input.
5300 rm -f conftest.err conftest.
$ac_ext
5302 # OK, works on sane cases. Now check whether non-existent headers
5303 # can be detected and how.
5304 cat >conftest.
$ac_ext <<_ACEOF
5307 cat confdefs.h
>>conftest.
$ac_ext
5308 cat >>conftest.
$ac_ext <<_ACEOF
5309 /* end confdefs.h. */
5310 #include <ac_nonexistent.h>
5312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5313 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5315 grep -v '^ *+' conftest.er1
>conftest.err
5317 cat conftest.err
>&5
5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319 (exit $ac_status); } >/dev
/null
; then
5320 if test -s conftest.err
; then
5321 ac_cpp_err
=$ac_c_preproc_warn_flag
5322 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5329 if test -z "$ac_cpp_err"; then
5330 # Broken: success on invalid input.
5333 echo "$as_me: failed program was:" >&5
5334 sed 's/^/| /' conftest.
$ac_ext >&5
5336 # Passes both tests.
5340 rm -f conftest.err conftest.
$ac_ext
5343 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5344 rm -f conftest.err conftest.
$ac_ext
5345 if $ac_preproc_ok; then
5357 echo "$as_me:$LINENO: result: $CPP" >&5
5358 echo "${ECHO_T}$CPP" >&6
5360 for ac_c_preproc_warn_flag
in '' yes
5362 # Use a header file that comes with gcc, so configuring glibc
5363 # with a fresh cross-compiler works.
5364 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5365 # <limits.h> exists even on freestanding compilers.
5366 # On the NeXT, cc -E runs the code through the compiler's parser,
5367 # not just through cpp. "Syntax error" is here to catch this case.
5368 cat >conftest.
$ac_ext <<_ACEOF
5371 cat confdefs.h
>>conftest.
$ac_ext
5372 cat >>conftest.
$ac_ext <<_ACEOF
5373 /* end confdefs.h. */
5375 # include <limits.h>
5377 # include <assert.h>
5381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5382 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5384 grep -v '^ *+' conftest.er1
>conftest.err
5386 cat conftest.err
>&5
5387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388 (exit $ac_status); } >/dev
/null
; then
5389 if test -s conftest.err
; then
5390 ac_cpp_err
=$ac_c_preproc_warn_flag
5391 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5398 if test -z "$ac_cpp_err"; then
5401 echo "$as_me: failed program was:" >&5
5402 sed 's/^/| /' conftest.
$ac_ext >&5
5404 # Broken: fails on valid input.
5407 rm -f conftest.err conftest.
$ac_ext
5409 # OK, works on sane cases. Now check whether non-existent headers
5410 # can be detected and how.
5411 cat >conftest.
$ac_ext <<_ACEOF
5414 cat confdefs.h
>>conftest.
$ac_ext
5415 cat >>conftest.
$ac_ext <<_ACEOF
5416 /* end confdefs.h. */
5417 #include <ac_nonexistent.h>
5419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5420 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5422 grep -v '^ *+' conftest.er1
>conftest.err
5424 cat conftest.err
>&5
5425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5426 (exit $ac_status); } >/dev
/null
; then
5427 if test -s conftest.err
; then
5428 ac_cpp_err
=$ac_c_preproc_warn_flag
5429 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5436 if test -z "$ac_cpp_err"; then
5437 # Broken: success on invalid input.
5440 echo "$as_me: failed program was:" >&5
5441 sed 's/^/| /' conftest.
$ac_ext >&5
5443 # Passes both tests.
5447 rm -f conftest.err conftest.
$ac_ext
5450 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5451 rm -f conftest.err conftest.
$ac_ext
5452 if $ac_preproc_ok; then
5455 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5456 See \`config.log' for more details." >&5
5457 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5458 See \`config.log' for more details." >&2;}
5459 { (exit 1); exit 1; }; }
5463 ac_cpp
='$CPP $CPPFLAGS'
5464 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5465 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5466 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5469 echo "$as_me:$LINENO: checking for egrep" >&5
5470 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5471 if test "${ac_cv_prog_egrep+set}" = set; then
5472 echo $ECHO_N "(cached) $ECHO_C" >&6
5474 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5475 then ac_cv_prog_egrep
='grep -E'
5476 else ac_cv_prog_egrep
='egrep'
5479 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5480 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5481 EGREP
=$ac_cv_prog_egrep
5484 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5485 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5486 if test "${ac_cv_header_stdc+set}" = set; then
5487 echo $ECHO_N "(cached) $ECHO_C" >&6
5489 cat >conftest.
$ac_ext <<_ACEOF
5492 cat confdefs.h
>>conftest.
$ac_ext
5493 cat >>conftest.
$ac_ext <<_ACEOF
5494 /* end confdefs.h. */
5508 rm -f conftest.
$ac_objext
5509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5510 (eval $ac_compile) 2>conftest.er1
5512 grep -v '^ *+' conftest.er1
>conftest.err
5514 cat conftest.err
>&5
5515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516 (exit $ac_status); } &&
5517 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5522 (exit $ac_status); }; } &&
5523 { ac_try
='test -s conftest.$ac_objext'
5524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5528 (exit $ac_status); }; }; then
5529 ac_cv_header_stdc
=yes
5531 echo "$as_me: failed program was:" >&5
5532 sed 's/^/| /' conftest.
$ac_ext >&5
5534 ac_cv_header_stdc
=no
5536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5538 if test $ac_cv_header_stdc = yes; then
5539 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5540 cat >conftest.
$ac_ext <<_ACEOF
5543 cat confdefs.h
>>conftest.
$ac_ext
5544 cat >>conftest.
$ac_ext <<_ACEOF
5545 /* end confdefs.h. */
5549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5550 $EGREP "memchr" >/dev
/null
2>&1; then
5553 ac_cv_header_stdc
=no
5559 if test $ac_cv_header_stdc = yes; then
5560 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5561 cat >conftest.
$ac_ext <<_ACEOF
5564 cat confdefs.h
>>conftest.
$ac_ext
5565 cat >>conftest.
$ac_ext <<_ACEOF
5566 /* end confdefs.h. */
5570 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5571 $EGREP "free" >/dev
/null
2>&1; then
5574 ac_cv_header_stdc
=no
5580 if test $ac_cv_header_stdc = yes; then
5581 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5582 if test "$cross_compiling" = yes; then
5585 cat >conftest.
$ac_ext <<_ACEOF
5588 cat confdefs.h
>>conftest.
$ac_ext
5589 cat >>conftest.
$ac_ext <<_ACEOF
5590 /* end confdefs.h. */
5592 #if ((' ' & 0x0FF) == 0x020)
5593 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5594 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5596 # define ISLOWER(c) \
5597 (('a' <= (c) && (c) <= 'i') \
5598 || ('j' <= (c) && (c) <= 'r') \
5599 || ('s' <= (c) && (c) <= 'z'))
5600 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5603 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5608 for (i = 0; i < 256; i++)
5609 if (XOR (islower (i), ISLOWER (i))
5610 || toupper (i) != TOUPPER (i))
5615 rm -f conftest
$ac_exeext
5616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5617 (eval $ac_link) 2>&5
5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5625 (exit $ac_status); }; }; then
5628 echo "$as_me: program exited with status $ac_status" >&5
5629 echo "$as_me: failed program was:" >&5
5630 sed 's/^/| /' conftest.
$ac_ext >&5
5633 ac_cv_header_stdc
=no
5635 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5639 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5640 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5641 if test $ac_cv_header_stdc = yes; then
5643 cat >>confdefs.h
<<\_ACEOF
5644 #define STDC_HEADERS 1
5649 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5650 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5651 if test "${ac_cv_c_const+set}" = set; then
5652 echo $ECHO_N "(cached) $ECHO_C" >&6
5654 cat >conftest.
$ac_ext <<_ACEOF
5657 cat confdefs.h
>>conftest.
$ac_ext
5658 cat >>conftest.
$ac_ext <<_ACEOF
5659 /* end confdefs.h. */
5664 /* FIXME: Include the comments suggested by Paul. */
5666 /* Ultrix mips cc rejects this. */
5667 typedef int charset[2];
5669 /* SunOS 4.1.1 cc rejects this. */
5670 char const *const *ccp;
5672 /* NEC SVR4.0.2 mips cc rejects this. */
5673 struct point {int x, y;};
5674 static struct point const zero = {0,0};
5675 /* AIX XL C 1.02.0.0 rejects this.
5676 It does not let you subtract one const X* pointer from another in
5677 an arm of an if-expression whose if-part is not a constant
5679 const char *g = "string";
5680 ccp = &g + (g ? g-g : 0);
5681 /* HPUX 7.0 cc rejects these. */
5684 ccp = (char const *const *) p;
5685 { /* SCO 3.2v4 cc rejects this. */
5687 char const *s = 0 ? (char *) 0 : (char const *) 0;
5691 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5693 const int *foo = &x[0];
5696 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5697 typedef const int *iptr;
5701 { /* AIX XL C 1.02.0.0 rejects this saying
5702 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5703 struct s { int j; const int *ap[3]; };
5704 struct s *b; b->j = 5;
5706 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5715 rm -f conftest.
$ac_objext
5716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5717 (eval $ac_compile) 2>conftest.er1
5719 grep -v '^ *+' conftest.er1
>conftest.err
5721 cat conftest.err
>&5
5722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5723 (exit $ac_status); } &&
5724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5729 (exit $ac_status); }; } &&
5730 { ac_try
='test -s conftest.$ac_objext'
5731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5735 (exit $ac_status); }; }; then
5738 echo "$as_me: failed program was:" >&5
5739 sed 's/^/| /' conftest.
$ac_ext >&5
5743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5745 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5746 echo "${ECHO_T}$ac_cv_c_const" >&6
5747 if test $ac_cv_c_const = no
; then
5749 cat >>confdefs.h
<<\_ACEOF
5755 echo "$as_me:$LINENO: checking for inline" >&5
5756 echo $ECHO_N "checking for inline... $ECHO_C" >&6
5757 if test "${ac_cv_c_inline+set}" = set; then
5758 echo $ECHO_N "(cached) $ECHO_C" >&6
5761 for ac_kw
in inline __inline__ __inline
; do
5762 cat >conftest.
$ac_ext <<_ACEOF
5765 cat confdefs.h
>>conftest.
$ac_ext
5766 cat >>conftest.
$ac_ext <<_ACEOF
5767 /* end confdefs.h. */
5770 static $ac_kw foo_t static_foo () {return 0; }
5771 $ac_kw foo_t foo () {return 0; }
5775 rm -f conftest.
$ac_objext
5776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5777 (eval $ac_compile) 2>conftest.er1
5779 grep -v '^ *+' conftest.er1
>conftest.err
5781 cat conftest.err
>&5
5782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5783 (exit $ac_status); } &&
5784 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789 (exit $ac_status); }; } &&
5790 { ac_try
='test -s conftest.$ac_objext'
5791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5795 (exit $ac_status); }; }; then
5796 ac_cv_c_inline
=$ac_kw; break
5798 echo "$as_me: failed program was:" >&5
5799 sed 's/^/| /' conftest.
$ac_ext >&5
5802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5806 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5807 echo "${ECHO_T}$ac_cv_c_inline" >&6
5810 case $ac_cv_c_inline in
5813 case $ac_cv_c_inline in
5815 *) ac_val
=$ac_cv_c_inline;;
5817 cat >>confdefs.h
<<_ACEOF
5819 #define inline $ac_val
5825 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5835 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5836 inttypes.h stdint.h unistd.h
5838 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5839 echo "$as_me:$LINENO: checking for $ac_header" >&5
5840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5842 echo $ECHO_N "(cached) $ECHO_C" >&6
5844 cat >conftest.
$ac_ext <<_ACEOF
5847 cat confdefs.h
>>conftest.
$ac_ext
5848 cat >>conftest.
$ac_ext <<_ACEOF
5849 /* end confdefs.h. */
5850 $ac_includes_default
5852 #include <$ac_header>
5854 rm -f conftest.
$ac_objext
5855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5856 (eval $ac_compile) 2>conftest.er1
5858 grep -v '^ *+' conftest.er1
>conftest.err
5860 cat conftest.err
>&5
5861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862 (exit $ac_status); } &&
5863 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5868 (exit $ac_status); }; } &&
5869 { ac_try
='test -s conftest.$ac_objext'
5870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5874 (exit $ac_status); }; }; then
5875 eval "$as_ac_Header=yes"
5877 echo "$as_me: failed program was:" >&5
5878 sed 's/^/| /' conftest.
$ac_ext >&5
5880 eval "$as_ac_Header=no"
5882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5887 cat >>confdefs.h
<<_ACEOF
5888 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5896 echo "$as_me:$LINENO: checking for off_t" >&5
5897 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5898 if test "${ac_cv_type_off_t+set}" = set; then
5899 echo $ECHO_N "(cached) $ECHO_C" >&6
5901 cat >conftest.
$ac_ext <<_ACEOF
5904 cat confdefs.h
>>conftest.
$ac_ext
5905 cat >>conftest.
$ac_ext <<_ACEOF
5906 /* end confdefs.h. */
5907 $ac_includes_default
5919 rm -f conftest.
$ac_objext
5920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5921 (eval $ac_compile) 2>conftest.er1
5923 grep -v '^ *+' conftest.er1
>conftest.err
5925 cat conftest.err
>&5
5926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5927 (exit $ac_status); } &&
5928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933 (exit $ac_status); }; } &&
5934 { ac_try
='test -s conftest.$ac_objext'
5935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5939 (exit $ac_status); }; }; then
5940 ac_cv_type_off_t
=yes
5942 echo "$as_me: failed program was:" >&5
5943 sed 's/^/| /' conftest.
$ac_ext >&5
5947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5949 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5950 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5951 if test $ac_cv_type_off_t = yes; then
5955 cat >>confdefs.h
<<_ACEOF
5961 echo "$as_me:$LINENO: checking for size_t" >&5
5962 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5963 if test "${ac_cv_type_size_t+set}" = set; then
5964 echo $ECHO_N "(cached) $ECHO_C" >&6
5966 cat >conftest.
$ac_ext <<_ACEOF
5969 cat confdefs.h
>>conftest.
$ac_ext
5970 cat >>conftest.
$ac_ext <<_ACEOF
5971 /* end confdefs.h. */
5972 $ac_includes_default
5978 if (sizeof (size_t))
5984 rm -f conftest.
$ac_objext
5985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5986 (eval $ac_compile) 2>conftest.er1
5988 grep -v '^ *+' conftest.er1
>conftest.err
5990 cat conftest.err
>&5
5991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992 (exit $ac_status); } &&
5993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 (exit $ac_status); }; } &&
5999 { ac_try
='test -s conftest.$ac_objext'
6000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004 (exit $ac_status); }; }; then
6005 ac_cv_type_size_t
=yes
6007 echo "$as_me: failed program was:" >&5
6008 sed 's/^/| /' conftest.
$ac_ext >&5
6010 ac_cv_type_size_t
=no
6012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6014 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6015 echo "${ECHO_T}$ac_cv_type_size_t" >&6
6016 if test $ac_cv_type_size_t = yes; then
6020 cat >>confdefs.h
<<_ACEOF
6021 #define size_t unsigned
6026 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6027 # for constant arguments. Useless!
6028 echo "$as_me:$LINENO: checking for working alloca.h" >&5
6029 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
6030 if test "${ac_cv_working_alloca_h+set}" = set; then
6031 echo $ECHO_N "(cached) $ECHO_C" >&6
6033 cat >conftest.
$ac_ext <<_ACEOF
6036 cat confdefs.h
>>conftest.
$ac_ext
6037 cat >>conftest.
$ac_ext <<_ACEOF
6038 /* end confdefs.h. */
6043 char *p = (char *) alloca (2 * sizeof (int));
6048 rm -f conftest.
$ac_objext conftest
$ac_exeext
6049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6050 (eval $ac_link) 2>conftest.er1
6052 grep -v '^ *+' conftest.er1
>conftest.err
6054 cat conftest.err
>&5
6055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6056 (exit $ac_status); } &&
6057 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6062 (exit $ac_status); }; } &&
6063 { ac_try
='test -s conftest$ac_exeext'
6064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6068 (exit $ac_status); }; }; then
6069 ac_cv_working_alloca_h
=yes
6071 echo "$as_me: failed program was:" >&5
6072 sed 's/^/| /' conftest.
$ac_ext >&5
6074 ac_cv_working_alloca_h
=no
6076 rm -f conftest.err conftest.
$ac_objext \
6077 conftest
$ac_exeext conftest.
$ac_ext
6079 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6080 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6081 if test $ac_cv_working_alloca_h = yes; then
6083 cat >>confdefs.h
<<\_ACEOF
6084 #define HAVE_ALLOCA_H 1
6089 echo "$as_me:$LINENO: checking for alloca" >&5
6090 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6091 if test "${ac_cv_func_alloca_works+set}" = set; then
6092 echo $ECHO_N "(cached) $ECHO_C" >&6
6094 cat >conftest.
$ac_ext <<_ACEOF
6097 cat confdefs.h
>>conftest.
$ac_ext
6098 cat >>conftest.
$ac_ext <<_ACEOF
6099 /* end confdefs.h. */
6101 # define alloca __builtin_alloca
6104 # include <malloc.h>
6105 # define alloca _alloca
6108 # include <alloca.h>
6113 # ifndef alloca /* predefined by HP cc +Olibcalls */
6124 char *p = (char *) alloca (1);
6129 rm -f conftest.
$ac_objext conftest
$ac_exeext
6130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6131 (eval $ac_link) 2>conftest.er1
6133 grep -v '^ *+' conftest.er1
>conftest.err
6135 cat conftest.err
>&5
6136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6137 (exit $ac_status); } &&
6138 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6143 (exit $ac_status); }; } &&
6144 { ac_try
='test -s conftest$ac_exeext'
6145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6149 (exit $ac_status); }; }; then
6150 ac_cv_func_alloca_works
=yes
6152 echo "$as_me: failed program was:" >&5
6153 sed 's/^/| /' conftest.
$ac_ext >&5
6155 ac_cv_func_alloca_works
=no
6157 rm -f conftest.err conftest.
$ac_objext \
6158 conftest
$ac_exeext conftest.
$ac_ext
6160 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6161 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6163 if test $ac_cv_func_alloca_works = yes; then
6165 cat >>confdefs.h
<<\_ACEOF
6166 #define HAVE_ALLOCA 1
6170 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6171 # that cause trouble. Some versions do not even contain alloca or
6172 # contain a buggy version. If you still want to use their alloca,
6173 # use ar to extract alloca.o from them instead of compiling alloca.c.
6175 ALLOCA
=alloca.
$ac_objext
6177 cat >>confdefs.h
<<\_ACEOF
6182 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6183 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6184 if test "${ac_cv_os_cray+set}" = set; then
6185 echo $ECHO_N "(cached) $ECHO_C" >&6
6187 cat >conftest.
$ac_ext <<_ACEOF
6190 cat confdefs.h
>>conftest.
$ac_ext
6191 cat >>conftest.
$ac_ext <<_ACEOF
6192 /* end confdefs.h. */
6193 #if defined(CRAY) && ! defined(CRAY2)
6200 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6201 $EGREP "webecray" >/dev
/null
2>&1; then
6209 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6210 echo "${ECHO_T}$ac_cv_os_cray" >&6
6211 if test $ac_cv_os_cray = yes; then
6212 for ac_func
in _getb67 GETB67 getb67
; do
6213 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6214 echo "$as_me:$LINENO: checking for $ac_func" >&5
6215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6216 if eval "test \"\${$as_ac_var+set}\" = set"; then
6217 echo $ECHO_N "(cached) $ECHO_C" >&6
6219 cat >conftest.
$ac_ext <<_ACEOF
6222 cat confdefs.h
>>conftest.
$ac_ext
6223 cat >>conftest.
$ac_ext <<_ACEOF
6224 /* end confdefs.h. */
6225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6227 #define $ac_func innocuous_$ac_func
6229 /* System header to define __stub macros and hopefully few prototypes,
6230 which can conflict with char $ac_func (); below.
6231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6232 <limits.h> exists even on freestanding compilers. */
6235 # include <limits.h>
6237 # include <assert.h>
6242 /* Override any gcc2 internal prototype to avoid an error. */
6247 /* We use char because int might match the return type of a gcc2
6248 builtin and then its argument prototype would still apply. */
6250 /* The GNU C library defines this for functions which it implements
6251 to always fail with ENOSYS. Some functions are actually named
6252 something starting with __ and the normal name is an alias. */
6253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6256 char (*f) () = $ac_func;
6265 return f != $ac_func;
6270 rm -f conftest.
$ac_objext conftest
$ac_exeext
6271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6272 (eval $ac_link) 2>conftest.er1
6274 grep -v '^ *+' conftest.er1
>conftest.err
6276 cat conftest.err
>&5
6277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6278 (exit $ac_status); } &&
6279 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284 (exit $ac_status); }; } &&
6285 { ac_try
='test -s conftest$ac_exeext'
6286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); }; }; then
6291 eval "$as_ac_var=yes"
6293 echo "$as_me: failed program was:" >&5
6294 sed 's/^/| /' conftest.
$ac_ext >&5
6296 eval "$as_ac_var=no"
6298 rm -f conftest.err conftest.
$ac_objext \
6299 conftest
$ac_exeext conftest.
$ac_ext
6301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6303 if test `eval echo '${'$as_ac_var'}'` = yes; then
6305 cat >>confdefs.h
<<_ACEOF
6306 #define CRAY_STACKSEG_END $ac_func
6315 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6316 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6317 if test "${ac_cv_c_stack_direction+set}" = set; then
6318 echo $ECHO_N "(cached) $ECHO_C" >&6
6320 if test "$cross_compiling" = yes; then
6321 ac_cv_c_stack_direction
=0
6323 cat >conftest.
$ac_ext <<_ACEOF
6326 cat confdefs.h
>>conftest.
$ac_ext
6327 cat >>conftest.
$ac_ext <<_ACEOF
6328 /* end confdefs.h. */
6330 find_stack_direction ()
6332 static char *addr = 0;
6337 return find_stack_direction ();
6340 return (&dummy > addr) ? 1 : -1;
6346 exit (find_stack_direction () < 0);
6349 rm -f conftest
$ac_exeext
6350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6351 (eval $ac_link) 2>&5
6353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6354 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6359 (exit $ac_status); }; }; then
6360 ac_cv_c_stack_direction
=1
6362 echo "$as_me: program exited with status $ac_status" >&5
6363 echo "$as_me: failed program was:" >&5
6364 sed 's/^/| /' conftest.
$ac_ext >&5
6367 ac_cv_c_stack_direction
=-1
6369 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6372 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6373 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
6375 cat >>confdefs.h
<<_ACEOF
6376 #define STACK_DIRECTION $ac_cv_c_stack_direction
6384 for ac_header
in stdlib.h unistd.h
6386 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6388 echo "$as_me:$LINENO: checking for $ac_header" >&5
6389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6391 echo $ECHO_N "(cached) $ECHO_C" >&6
6393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6396 # Is the header compilable?
6397 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6398 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6399 cat >conftest.
$ac_ext <<_ACEOF
6402 cat confdefs.h
>>conftest.
$ac_ext
6403 cat >>conftest.
$ac_ext <<_ACEOF
6404 /* end confdefs.h. */
6405 $ac_includes_default
6406 #include <$ac_header>
6408 rm -f conftest.
$ac_objext
6409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6410 (eval $ac_compile) 2>conftest.er1
6412 grep -v '^ *+' conftest.er1
>conftest.err
6414 cat conftest.err
>&5
6415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6416 (exit $ac_status); } &&
6417 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6422 (exit $ac_status); }; } &&
6423 { ac_try
='test -s conftest.$ac_objext'
6424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 (exit $ac_status); }; }; then
6429 ac_header_compiler
=yes
6431 echo "$as_me: failed program was:" >&5
6432 sed 's/^/| /' conftest.
$ac_ext >&5
6434 ac_header_compiler
=no
6436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6437 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6438 echo "${ECHO_T}$ac_header_compiler" >&6
6440 # Is the header present?
6441 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6442 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6443 cat >conftest.
$ac_ext <<_ACEOF
6446 cat confdefs.h
>>conftest.
$ac_ext
6447 cat >>conftest.
$ac_ext <<_ACEOF
6448 /* end confdefs.h. */
6449 #include <$ac_header>
6451 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6452 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6454 grep -v '^ *+' conftest.er1
>conftest.err
6456 cat conftest.err
>&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); } >/dev
/null
; then
6459 if test -s conftest.err
; then
6460 ac_cpp_err
=$ac_c_preproc_warn_flag
6461 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6468 if test -z "$ac_cpp_err"; then
6469 ac_header_preproc
=yes
6471 echo "$as_me: failed program was:" >&5
6472 sed 's/^/| /' conftest.
$ac_ext >&5
6474 ac_header_preproc
=no
6476 rm -f conftest.err conftest.
$ac_ext
6477 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6478 echo "${ECHO_T}$ac_header_preproc" >&6
6480 # So? What about this header?
6481 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6483 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6484 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6486 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6487 ac_header_preproc
=yes
6490 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6491 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6492 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6493 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6494 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6495 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6496 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6497 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6498 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6499 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6500 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6501 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6504 ## ------------------------------------------ ##
6505 ## Report this to the AC_PACKAGE_NAME lists. ##
6506 ## ------------------------------------------ ##
6509 sed "s/^/$as_me: WARNING: /" >&2
6512 echo "$as_me:$LINENO: checking for $ac_header" >&5
6513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6515 echo $ECHO_N "(cached) $ECHO_C" >&6
6517 eval "$as_ac_Header=\$ac_header_preproc"
6519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6523 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6524 cat >>confdefs.h
<<_ACEOF
6525 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6533 for ac_func
in getpagesize
6535 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6536 echo "$as_me:$LINENO: checking for $ac_func" >&5
6537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6538 if eval "test \"\${$as_ac_var+set}\" = set"; then
6539 echo $ECHO_N "(cached) $ECHO_C" >&6
6541 cat >conftest.
$ac_ext <<_ACEOF
6544 cat confdefs.h
>>conftest.
$ac_ext
6545 cat >>conftest.
$ac_ext <<_ACEOF
6546 /* end confdefs.h. */
6547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6549 #define $ac_func innocuous_$ac_func
6551 /* System header to define __stub macros and hopefully few prototypes,
6552 which can conflict with char $ac_func (); below.
6553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6554 <limits.h> exists even on freestanding compilers. */
6557 # include <limits.h>
6559 # include <assert.h>
6564 /* Override any gcc2 internal prototype to avoid an error. */
6569 /* We use char because int might match the return type of a gcc2
6570 builtin and then its argument prototype would still apply. */
6572 /* The GNU C library defines this for functions which it implements
6573 to always fail with ENOSYS. Some functions are actually named
6574 something starting with __ and the normal name is an alias. */
6575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6578 char (*f) () = $ac_func;
6587 return f != $ac_func;
6592 rm -f conftest.
$ac_objext conftest
$ac_exeext
6593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6594 (eval $ac_link) 2>conftest.er1
6596 grep -v '^ *+' conftest.er1
>conftest.err
6598 cat conftest.err
>&5
6599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6600 (exit $ac_status); } &&
6601 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606 (exit $ac_status); }; } &&
6607 { ac_try
='test -s conftest$ac_exeext'
6608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6612 (exit $ac_status); }; }; then
6613 eval "$as_ac_var=yes"
6615 echo "$as_me: failed program was:" >&5
6616 sed 's/^/| /' conftest.
$ac_ext >&5
6618 eval "$as_ac_var=no"
6620 rm -f conftest.err conftest.
$ac_objext \
6621 conftest
$ac_exeext conftest.
$ac_ext
6623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6625 if test `eval echo '${'$as_ac_var'}'` = yes; then
6626 cat >>confdefs.h
<<_ACEOF
6627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6633 echo "$as_me:$LINENO: checking for working mmap" >&5
6634 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6635 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6636 echo $ECHO_N "(cached) $ECHO_C" >&6
6638 if test "$cross_compiling" = yes; then
6639 ac_cv_func_mmap_fixed_mapped
=no
6641 cat >conftest.
$ac_ext <<_ACEOF
6644 cat confdefs.h
>>conftest.
$ac_ext
6645 cat >>conftest.
$ac_ext <<_ACEOF
6646 /* end confdefs.h. */
6647 $ac_includes_default
6648 /* malloc might have been renamed as rpl_malloc. */
6651 /* Thanks to Mike Haertel and Jim Avera for this test.
6652 Here is a matrix of mmap possibilities:
6653 mmap private not fixed
6654 mmap private fixed at somewhere currently unmapped
6655 mmap private fixed at somewhere already mapped
6656 mmap shared not fixed
6657 mmap shared fixed at somewhere currently unmapped
6658 mmap shared fixed at somewhere already mapped
6659 For private mappings, we should verify that changes cannot be read()
6660 back from the file, nor mmap's back from the file at a different
6661 address. (There have been systems where private was not correctly
6662 implemented like the infamous i386 svr4.0, and systems where the
6663 VM page cache was not coherent with the file system buffer cache
6664 like early versions of FreeBSD and possibly contemporary NetBSD.)
6665 For shared mappings, we should conversely verify that changes get
6666 propagated back to all the places they're supposed to be.
6668 Grep wants private fixed already mapped.
6669 The main things grep needs to know about mmap are:
6670 * does it exist and is it safe to write into the mmap'd area
6671 * how to use it (BSD variants) */
6674 #include <sys/mman.h>
6676 #if !STDC_HEADERS && !HAVE_STDLIB_H
6680 /* This mess was copied from the GNU getpagesize.h. */
6681 #if !HAVE_GETPAGESIZE
6682 /* Assume that all systems that can run configure have sys/param.h. */
6683 # if !HAVE_SYS_PARAM_H
6684 # define HAVE_SYS_PARAM_H 1
6687 # ifdef _SC_PAGESIZE
6688 # define getpagesize() sysconf(_SC_PAGESIZE)
6689 # else /* no _SC_PAGESIZE */
6690 # if HAVE_SYS_PARAM_H
6691 # include <sys/param.h>
6692 # ifdef EXEC_PAGESIZE
6693 # define getpagesize() EXEC_PAGESIZE
6694 # else /* no EXEC_PAGESIZE */
6696 # define getpagesize() NBPG * CLSIZE
6699 # endif /* no CLSIZE */
6700 # else /* no NBPG */
6702 # define getpagesize() NBPC
6703 # else /* no NBPC */
6705 # define getpagesize() PAGESIZE
6706 # endif /* PAGESIZE */
6707 # endif /* no NBPC */
6708 # endif /* no NBPG */
6709 # endif /* no EXEC_PAGESIZE */
6710 # else /* no HAVE_SYS_PARAM_H */
6711 # define getpagesize() 8192 /* punt totally */
6712 # endif /* no HAVE_SYS_PARAM_H */
6713 # endif /* no _SC_PAGESIZE */
6715 #endif /* no HAVE_GETPAGESIZE */
6720 char *data, *data2, *data3;
6724 pagesize = getpagesize ();
6726 /* First, make a file with some known garbage in it. */
6727 data = (char *) malloc (pagesize);
6730 for (i = 0; i < pagesize; ++i)
6731 *(data + i) = rand ();
6733 fd = creat ("conftest.mmap", 0600);
6736 if (write (fd, data, pagesize) != pagesize)
6740 /* Next, try to mmap the file at a fixed address which already has
6741 something else allocated at it. If we can, also make sure that
6742 we see the same garbage. */
6743 fd = open ("conftest.mmap", O_RDWR);
6746 data2 = (char *) malloc (2 * pagesize);
6749 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6750 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6751 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6753 for (i = 0; i < pagesize; ++i)
6754 if (*(data + i) != *(data2 + i))
6757 /* Finally, make sure that changes to the mapped area do not
6758 percolate back to the file as seen by read(). (This is a bug on
6759 some variants of i386 svr4.0.) */
6760 for (i = 0; i < pagesize; ++i)
6761 *(data2 + i) = *(data2 + i) + 1;
6762 data3 = (char *) malloc (pagesize);
6765 if (read (fd, data3, pagesize) != pagesize)
6767 for (i = 0; i < pagesize; ++i)
6768 if (*(data + i) != *(data3 + i))
6774 rm -f conftest
$ac_exeext
6775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6776 (eval $ac_link) 2>&5
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784 (exit $ac_status); }; }; then
6785 ac_cv_func_mmap_fixed_mapped
=yes
6787 echo "$as_me: program exited with status $ac_status" >&5
6788 echo "$as_me: failed program was:" >&5
6789 sed 's/^/| /' conftest.
$ac_ext >&5
6792 ac_cv_func_mmap_fixed_mapped
=no
6794 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6797 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6798 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6799 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6801 cat >>confdefs.h
<<\_ACEOF
6818 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
6819 unistd.h values.h sys
/param.h
6821 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6823 echo "$as_me:$LINENO: checking for $ac_header" >&5
6824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6826 echo $ECHO_N "(cached) $ECHO_C" >&6
6828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6831 # Is the header compilable?
6832 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6833 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6834 cat >conftest.
$ac_ext <<_ACEOF
6837 cat confdefs.h
>>conftest.
$ac_ext
6838 cat >>conftest.
$ac_ext <<_ACEOF
6839 /* end confdefs.h. */
6840 $ac_includes_default
6841 #include <$ac_header>
6843 rm -f conftest.
$ac_objext
6844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6845 (eval $ac_compile) 2>conftest.er1
6847 grep -v '^ *+' conftest.er1
>conftest.err
6849 cat conftest.err
>&5
6850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6851 (exit $ac_status); } &&
6852 { ac_try
='test -z "$ac_c_werror_flag" || 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" || test ! -s conftest.err'
7047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051 (exit $ac_status); }; } &&
7052 { ac_try
='test -s conftest$ac_exeext'
7053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057 (exit $ac_status); }; }; then
7058 eval "$as_ac_var=yes"
7060 echo "$as_me: failed program was:" >&5
7061 sed 's/^/| /' conftest.
$ac_ext >&5
7063 eval "$as_ac_var=no"
7065 rm -f conftest.err conftest.
$ac_objext \
7066 conftest
$ac_exeext conftest.
$ac_ext
7068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7070 if test `eval echo '${'$as_ac_var'}'` = yes; then
7071 cat >>confdefs.h
<<_ACEOF
7072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7079 if test "${ac_cv_func_stpcpy+set}" != "set"; then
7081 for ac_func
in stpcpy
7083 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7084 echo "$as_me:$LINENO: checking for $ac_func" >&5
7085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7086 if eval "test \"\${$as_ac_var+set}\" = set"; then
7087 echo $ECHO_N "(cached) $ECHO_C" >&6
7089 cat >conftest.
$ac_ext <<_ACEOF
7092 cat confdefs.h
>>conftest.
$ac_ext
7093 cat >>conftest.
$ac_ext <<_ACEOF
7094 /* end confdefs.h. */
7095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7097 #define $ac_func innocuous_$ac_func
7099 /* System header to define __stub macros and hopefully few prototypes,
7100 which can conflict with char $ac_func (); below.
7101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7102 <limits.h> exists even on freestanding compilers. */
7105 # include <limits.h>
7107 # include <assert.h>
7112 /* Override any gcc2 internal prototype to avoid an error. */
7117 /* We use char because int might match the return type of a gcc2
7118 builtin and then its argument prototype would still apply. */
7120 /* The GNU C library defines this for functions which it implements
7121 to always fail with ENOSYS. Some functions are actually named
7122 something starting with __ and the normal name is an alias. */
7123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7126 char (*f) () = $ac_func;
7135 return f != $ac_func;
7140 rm -f conftest.
$ac_objext conftest
$ac_exeext
7141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7142 (eval $ac_link) 2>conftest.er1
7144 grep -v '^ *+' conftest.er1
>conftest.err
7146 cat conftest.err
>&5
7147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148 (exit $ac_status); } &&
7149 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); }; } &&
7155 { ac_try
='test -s conftest$ac_exeext'
7156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160 (exit $ac_status); }; }; then
7161 eval "$as_ac_var=yes"
7163 echo "$as_me: failed program was:" >&5
7164 sed 's/^/| /' conftest.
$ac_ext >&5
7166 eval "$as_ac_var=no"
7168 rm -f conftest.err conftest.
$ac_objext \
7169 conftest
$ac_exeext conftest.
$ac_ext
7171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7173 if test `eval echo '${'$as_ac_var'}'` = yes; then
7174 cat >>confdefs.h
<<_ACEOF
7175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7182 if test "${ac_cv_func_stpcpy}" = "yes"; then
7184 cat >>confdefs.h
<<\_ACEOF
7185 #define HAVE_STPCPY 1
7190 if test $ac_cv_header_locale_h = yes; then
7191 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
7192 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
7193 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
7194 echo $ECHO_N "(cached) $ECHO_C" >&6
7196 cat >conftest.
$ac_ext <<_ACEOF
7199 cat confdefs.h
>>conftest.
$ac_ext
7200 cat >>conftest.
$ac_ext <<_ACEOF
7201 /* end confdefs.h. */
7211 rm -f conftest.
$ac_objext conftest
$ac_exeext
7212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7213 (eval $ac_link) 2>conftest.er1
7215 grep -v '^ *+' conftest.er1
>conftest.err
7217 cat conftest.err
>&5
7218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7219 (exit $ac_status); } &&
7220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7225 (exit $ac_status); }; } &&
7226 { ac_try
='test -s conftest$ac_exeext'
7227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7231 (exit $ac_status); }; }; then
7232 am_cv_val_LC_MESSAGES
=yes
7234 echo "$as_me: failed program was:" >&5
7235 sed 's/^/| /' conftest.
$ac_ext >&5
7237 am_cv_val_LC_MESSAGES
=no
7239 rm -f conftest.err conftest.
$ac_objext \
7240 conftest
$ac_exeext conftest.
$ac_ext
7242 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
7243 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
7244 if test $am_cv_val_LC_MESSAGES = yes; then
7246 cat >>confdefs.h
<<\_ACEOF
7247 #define HAVE_LC_MESSAGES 1
7252 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7253 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7254 # Check whether --enable-nls or --disable-nls was given.
7255 if test "${enable_nls+set}" = set; then
7256 enableval
="$enable_nls"
7261 echo "$as_me:$LINENO: result: $USE_NLS" >&5
7262 echo "${ECHO_T}$USE_NLS" >&6
7265 USE_INCLUDED_LIBINTL
=no
7267 if test "$USE_NLS" = "yes"; then
7268 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
7269 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
7271 # Check whether --with-included-gettext or --without-included-gettext was given.
7272 if test "${with_included_gettext+set}" = set; then
7273 withval
="$with_included_gettext"
7274 nls_cv_force_use_gnu_gettext
=$withval
7276 nls_cv_force_use_gnu_gettext
=no
7278 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
7279 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
7281 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
7282 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7284 nls_cv_header_libgt
=
7287 if test "${ac_cv_header_libintl_h+set}" = set; then
7288 echo "$as_me:$LINENO: checking for libintl.h" >&5
7289 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7290 if test "${ac_cv_header_libintl_h+set}" = set; then
7291 echo $ECHO_N "(cached) $ECHO_C" >&6
7293 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7294 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7296 # Is the header compilable?
7297 echo "$as_me:$LINENO: checking libintl.h usability" >&5
7298 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
7299 cat >conftest.
$ac_ext <<_ACEOF
7302 cat confdefs.h
>>conftest.
$ac_ext
7303 cat >>conftest.
$ac_ext <<_ACEOF
7304 /* end confdefs.h. */
7305 $ac_includes_default
7306 #include <libintl.h>
7308 rm -f conftest.
$ac_objext
7309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7310 (eval $ac_compile) 2>conftest.er1
7312 grep -v '^ *+' conftest.er1
>conftest.err
7314 cat conftest.err
>&5
7315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316 (exit $ac_status); } &&
7317 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7322 (exit $ac_status); }; } &&
7323 { ac_try
='test -s conftest.$ac_objext'
7324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); }; }; then
7329 ac_header_compiler
=yes
7331 echo "$as_me: failed program was:" >&5
7332 sed 's/^/| /' conftest.
$ac_ext >&5
7334 ac_header_compiler
=no
7336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7337 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7338 echo "${ECHO_T}$ac_header_compiler" >&6
7340 # Is the header present?
7341 echo "$as_me:$LINENO: checking libintl.h presence" >&5
7342 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
7343 cat >conftest.
$ac_ext <<_ACEOF
7346 cat confdefs.h
>>conftest.
$ac_ext
7347 cat >>conftest.
$ac_ext <<_ACEOF
7348 /* end confdefs.h. */
7349 #include <libintl.h>
7351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7352 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7354 grep -v '^ *+' conftest.er1
>conftest.err
7356 cat conftest.err
>&5
7357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7358 (exit $ac_status); } >/dev
/null
; then
7359 if test -s conftest.err
; then
7360 ac_cpp_err
=$ac_c_preproc_warn_flag
7361 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7368 if test -z "$ac_cpp_err"; then
7369 ac_header_preproc
=yes
7371 echo "$as_me: failed program was:" >&5
7372 sed 's/^/| /' conftest.
$ac_ext >&5
7374 ac_header_preproc
=no
7376 rm -f conftest.err conftest.
$ac_ext
7377 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7378 echo "${ECHO_T}$ac_header_preproc" >&6
7380 # So? What about this header?
7381 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7383 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7384 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7385 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
7386 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
7387 ac_header_preproc
=yes
7390 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
7391 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
7392 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7393 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7394 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
7395 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
7396 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
7397 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
7398 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7399 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
7400 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
7401 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
7404 ## ------------------------------------------ ##
7405 ## Report this to the AC_PACKAGE_NAME lists. ##
7406 ## ------------------------------------------ ##
7409 sed "s/^/$as_me: WARNING: /" >&2
7412 echo "$as_me:$LINENO: checking for libintl.h" >&5
7413 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7414 if test "${ac_cv_header_libintl_h+set}" = set; then
7415 echo $ECHO_N "(cached) $ECHO_C" >&6
7417 ac_cv_header_libintl_h
=$ac_header_preproc
7419 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7420 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7423 if test $ac_cv_header_libintl_h = yes; then
7424 echo "$as_me:$LINENO: checking for gettext in libc" >&5
7425 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
7426 if test "${gt_cv_func_gettext_libc+set}" = set; then
7427 echo $ECHO_N "(cached) $ECHO_C" >&6
7429 cat >conftest.
$ac_ext <<_ACEOF
7432 cat confdefs.h
>>conftest.
$ac_ext
7433 cat >>conftest.
$ac_ext <<_ACEOF
7434 /* end confdefs.h. */
7435 #include <libintl.h>
7439 return (int) gettext ("")
7444 rm -f conftest.
$ac_objext conftest
$ac_exeext
7445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7446 (eval $ac_link) 2>conftest.er1
7448 grep -v '^ *+' conftest.er1
>conftest.err
7450 cat conftest.err
>&5
7451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452 (exit $ac_status); } &&
7453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458 (exit $ac_status); }; } &&
7459 { ac_try
='test -s conftest$ac_exeext'
7460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7464 (exit $ac_status); }; }; then
7465 gt_cv_func_gettext_libc
=yes
7467 echo "$as_me: failed program was:" >&5
7468 sed 's/^/| /' conftest.
$ac_ext >&5
7470 gt_cv_func_gettext_libc
=no
7472 rm -f conftest.err conftest.
$ac_objext \
7473 conftest
$ac_exeext conftest.
$ac_ext
7475 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
7476 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
7478 if test "$gt_cv_func_gettext_libc" != "yes"; then
7479 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
7480 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
7481 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
7482 echo $ECHO_N "(cached) $ECHO_C" >&6
7484 ac_check_lib_save_LIBS
=$LIBS
7486 cat >conftest.
$ac_ext <<_ACEOF
7489 cat confdefs.h
>>conftest.
$ac_ext
7490 cat >>conftest.
$ac_ext <<_ACEOF
7491 /* end confdefs.h. */
7493 /* Override any gcc2 internal prototype to avoid an error. */
7497 /* We use char because int might match the return type of a gcc2
7498 builtin and then its argument prototype would still apply. */
7499 char bindtextdomain ();
7508 rm -f conftest.
$ac_objext conftest
$ac_exeext
7509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7510 (eval $ac_link) 2>conftest.er1
7512 grep -v '^ *+' conftest.er1
>conftest.err
7514 cat conftest.err
>&5
7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516 (exit $ac_status); } &&
7517 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7522 (exit $ac_status); }; } &&
7523 { ac_try
='test -s conftest$ac_exeext'
7524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7528 (exit $ac_status); }; }; then
7529 ac_cv_lib_intl_bindtextdomain
=yes
7531 echo "$as_me: failed program was:" >&5
7532 sed 's/^/| /' conftest.
$ac_ext >&5
7534 ac_cv_lib_intl_bindtextdomain
=no
7536 rm -f conftest.err conftest.
$ac_objext \
7537 conftest
$ac_exeext conftest.
$ac_ext
7538 LIBS
=$ac_check_lib_save_LIBS
7540 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7541 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
7542 if test $ac_cv_lib_intl_bindtextdomain = yes; then
7543 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
7544 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
7545 if test "${gt_cv_func_gettext_libintl+set}" = set; then
7546 echo $ECHO_N "(cached) $ECHO_C" >&6
7548 cat >conftest.
$ac_ext <<_ACEOF
7551 cat confdefs.h
>>conftest.
$ac_ext
7552 cat >>conftest.
$ac_ext <<_ACEOF
7553 /* end confdefs.h. */
7558 return (int) gettext ("")
7563 rm -f conftest.
$ac_objext conftest
$ac_exeext
7564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7565 (eval $ac_link) 2>conftest.er1
7567 grep -v '^ *+' conftest.er1
>conftest.err
7569 cat conftest.err
>&5
7570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7571 (exit $ac_status); } &&
7572 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7577 (exit $ac_status); }; } &&
7578 { ac_try
='test -s conftest$ac_exeext'
7579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); }; }; then
7584 gt_cv_func_gettext_libintl
=yes
7586 echo "$as_me: failed program was:" >&5
7587 sed 's/^/| /' conftest.
$ac_ext >&5
7589 gt_cv_func_gettext_libintl
=no
7591 rm -f conftest.err conftest.
$ac_objext \
7592 conftest
$ac_exeext conftest.
$ac_ext
7594 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
7595 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
7600 if test "$gt_cv_func_gettext_libc" = "yes" \
7601 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
7603 cat >>confdefs.h
<<\_ACEOF
7604 #define HAVE_GETTEXT 1
7607 # Extract the first word of "msgfmt", so it can be a program name with args.
7608 set dummy msgfmt
; ac_word
=$2
7609 echo "$as_me:$LINENO: checking for $ac_word" >&5
7610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7611 if test "${ac_cv_path_MSGFMT+set}" = set; then
7612 echo $ECHO_N "(cached) $ECHO_C" >&6
7616 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7619 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7620 for ac_dir
in $PATH; do
7621 test -z "$ac_dir" && ac_dir
=.
7622 if test -f $ac_dir/$ac_word; then
7623 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7624 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7630 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
7634 MSGFMT
="$ac_cv_path_MSGFMT"
7635 if test -n "$MSGFMT"; then
7636 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7637 echo "${ECHO_T}$MSGFMT" >&6
7639 echo "$as_me:$LINENO: result: no" >&5
7640 echo "${ECHO_T}no" >&6
7642 if test "$MSGFMT" != "no"; then
7644 for ac_func
in dcgettext
7646 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7647 echo "$as_me:$LINENO: checking for $ac_func" >&5
7648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7649 if eval "test \"\${$as_ac_var+set}\" = set"; then
7650 echo $ECHO_N "(cached) $ECHO_C" >&6
7652 cat >conftest.
$ac_ext <<_ACEOF
7655 cat confdefs.h
>>conftest.
$ac_ext
7656 cat >>conftest.
$ac_ext <<_ACEOF
7657 /* end confdefs.h. */
7658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7660 #define $ac_func innocuous_$ac_func
7662 /* System header to define __stub macros and hopefully few prototypes,
7663 which can conflict with char $ac_func (); below.
7664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7665 <limits.h> exists even on freestanding compilers. */
7668 # include <limits.h>
7670 # include <assert.h>
7675 /* Override any gcc2 internal prototype to avoid an error. */
7680 /* We use char because int might match the return type of a gcc2
7681 builtin and then its argument prototype would still apply. */
7683 /* The GNU C library defines this for functions which it implements
7684 to always fail with ENOSYS. Some functions are actually named
7685 something starting with __ and the normal name is an alias. */
7686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7689 char (*f) () = $ac_func;
7698 return f != $ac_func;
7703 rm -f conftest.
$ac_objext conftest
$ac_exeext
7704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7705 (eval $ac_link) 2>conftest.er1
7707 grep -v '^ *+' conftest.er1
>conftest.err
7709 cat conftest.err
>&5
7710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7711 (exit $ac_status); } &&
7712 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7717 (exit $ac_status); }; } &&
7718 { ac_try
='test -s conftest$ac_exeext'
7719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7723 (exit $ac_status); }; }; then
7724 eval "$as_ac_var=yes"
7726 echo "$as_me: failed program was:" >&5
7727 sed 's/^/| /' conftest.
$ac_ext >&5
7729 eval "$as_ac_var=no"
7731 rm -f conftest.err conftest.
$ac_objext \
7732 conftest
$ac_exeext conftest.
$ac_ext
7734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7736 if test `eval echo '${'$as_ac_var'}'` = yes; then
7737 cat >>confdefs.h
<<_ACEOF
7738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7744 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7745 set dummy gmsgfmt
; ac_word
=$2
7746 echo "$as_me:$LINENO: checking for $ac_word" >&5
7747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7748 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7749 echo $ECHO_N "(cached) $ECHO_C" >&6
7753 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7760 test -z "$as_dir" && as_dir
=.
7761 for ac_exec_ext
in '' $ac_executable_extensions; do
7762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7763 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7770 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7774 GMSGFMT
=$ac_cv_path_GMSGFMT
7776 if test -n "$GMSGFMT"; then
7777 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7778 echo "${ECHO_T}$GMSGFMT" >&6
7780 echo "$as_me:$LINENO: result: no" >&5
7781 echo "${ECHO_T}no" >&6
7784 # Extract the first word of "xgettext", so it can be a program name with args.
7785 set dummy xgettext
; ac_word
=$2
7786 echo "$as_me:$LINENO: checking for $ac_word" >&5
7787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7788 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7789 echo $ECHO_N "(cached) $ECHO_C" >&6
7793 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7796 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7797 for ac_dir
in $PATH; do
7798 test -z "$ac_dir" && ac_dir
=.
7799 if test -f $ac_dir/$ac_word; then
7800 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7801 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7807 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7811 XGETTEXT
="$ac_cv_path_XGETTEXT"
7812 if test -n "$XGETTEXT"; then
7813 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7814 echo "${ECHO_T}$XGETTEXT" >&6
7816 echo "$as_me:$LINENO: result: no" >&5
7817 echo "${ECHO_T}no" >&6
7820 cat >conftest.
$ac_ext <<_ACEOF
7823 cat confdefs.h
>>conftest.
$ac_ext
7824 cat >>conftest.
$ac_ext <<_ACEOF
7825 /* end confdefs.h. */
7830 extern int _nl_msg_cat_cntr;
7831 return _nl_msg_cat_cntr
7836 rm -f conftest.
$ac_objext conftest
$ac_exeext
7837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7838 (eval $ac_link) 2>conftest.er1
7840 grep -v '^ *+' conftest.er1
>conftest.err
7842 cat conftest.err
>&5
7843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7844 (exit $ac_status); } &&
7845 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7850 (exit $ac_status); }; } &&
7851 { ac_try
='test -s conftest$ac_exeext'
7852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7856 (exit $ac_status); }; }; then
7860 echo "$as_me: failed program was:" >&5
7861 sed 's/^/| /' conftest.
$ac_ext >&5
7866 rm -f conftest.err conftest.
$ac_objext \
7867 conftest
$ac_exeext conftest.
$ac_ext
7877 if test x
"$CATOBJEXT" = x
&& test -d $srcdir/..
/intl
; then
7878 # Neither gettext nor catgets in included in the C library.
7879 # Fall back on GNU gettext library (assuming it is present).
7880 nls_cv_use_gnu_gettext
=yes
7884 if test "$nls_cv_use_gnu_gettext" = "yes"; then
7885 INTLOBJS
="\$(GETTOBJS)"
7886 # Extract the first word of "msgfmt", so it can be a program name with args.
7887 set dummy msgfmt
; ac_word
=$2
7888 echo "$as_me:$LINENO: checking for $ac_word" >&5
7889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7890 if test "${ac_cv_path_MSGFMT+set}" = set; then
7891 echo $ECHO_N "(cached) $ECHO_C" >&6
7895 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7898 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7899 for ac_dir
in $PATH; do
7900 test -z "$ac_dir" && ac_dir
=.
7901 if test -f $ac_dir/$ac_word; then
7902 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7903 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7909 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
7913 MSGFMT
="$ac_cv_path_MSGFMT"
7914 if test -n "$MSGFMT"; then
7915 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7916 echo "${ECHO_T}$MSGFMT" >&6
7918 echo "$as_me:$LINENO: result: no" >&5
7919 echo "${ECHO_T}no" >&6
7922 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7923 set dummy gmsgfmt
; ac_word
=$2
7924 echo "$as_me:$LINENO: checking for $ac_word" >&5
7925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7926 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7927 echo $ECHO_N "(cached) $ECHO_C" >&6
7931 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7938 test -z "$as_dir" && as_dir
=.
7939 for ac_exec_ext
in '' $ac_executable_extensions; do
7940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7941 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7948 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7952 GMSGFMT
=$ac_cv_path_GMSGFMT
7954 if test -n "$GMSGFMT"; then
7955 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7956 echo "${ECHO_T}$GMSGFMT" >&6
7958 echo "$as_me:$LINENO: result: no" >&5
7959 echo "${ECHO_T}no" >&6
7962 # Extract the first word of "xgettext", so it can be a program name with args.
7963 set dummy xgettext
; ac_word
=$2
7964 echo "$as_me:$LINENO: checking for $ac_word" >&5
7965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7966 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7967 echo $ECHO_N "(cached) $ECHO_C" >&6
7971 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7974 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7975 for ac_dir
in $PATH; do
7976 test -z "$ac_dir" && ac_dir
=.
7977 if test -f $ac_dir/$ac_word; then
7978 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7979 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7985 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7989 XGETTEXT
="$ac_cv_path_XGETTEXT"
7990 if test -n "$XGETTEXT"; then
7991 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7992 echo "${ECHO_T}$XGETTEXT" >&6
7994 echo "$as_me:$LINENO: result: no" >&5
7995 echo "${ECHO_T}no" >&6
7999 USE_INCLUDED_LIBINTL
=yes
8003 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
8005 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
8006 nls_cv_header_intl
=libintl.h
8007 nls_cv_header_libgt
=libgettext.h
8010 if test "$XGETTEXT" != ":"; then
8011 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
8014 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
8015 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
8020 # We need to process the po/ directory.
8024 nls_cv_header_intl
=libintl.h
8025 nls_cv_header_libgt
=libgettext.h
8028 # If this is used in GNU gettext we have to set USE_NLS to `yes'
8029 # because some of the sources are only built for this goal.
8030 if test "$PACKAGE" = gettext; then
8032 USE_INCLUDED_LIBINTL
=yes
8035 for lang
in $ALL_LINGUAS; do
8036 GMOFILES
="$GMOFILES $lang.gmo"
8037 POFILES
="$POFILES $lang.po"
8051 if test "x$CATOBJEXT" != "x"; then
8053 cat >>confdefs.h
<<\_ACEOF
8054 #define ENABLE_NLS 1
8060 if test "x$CATOBJEXT" != "x"; then
8061 if test "x$ALL_LINGUAS" = "x"; then
8064 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8065 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
8067 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
8068 case "$ALL_LINGUAS" in
8069 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
8072 LINGUAS
=$NEW_LINGUAS
8073 echo "$as_me:$LINENO: result: $LINGUAS" >&5
8074 echo "${ECHO_T}$LINGUAS" >&6
8077 if test -n "$LINGUAS"; then
8078 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
8082 if test $ac_cv_header_locale_h = yes; then
8083 INCLUDE_LOCALE_H
="#include <locale.h>"
8086 /* The system does not provide the header <locale.h>. Take care yourself. */"
8090 if test -f $srcdir/po2tbl.
sed.
in; then
8091 if test "$CATOBJEXT" = ".cat"; then
8092 if test "${ac_cv_header_linux_version_h+set}" = set; then
8093 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8094 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8095 if test "${ac_cv_header_linux_version_h+set}" = set; then
8096 echo $ECHO_N "(cached) $ECHO_C" >&6
8098 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8099 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8101 # Is the header compilable?
8102 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
8103 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
8104 cat >conftest.
$ac_ext <<_ACEOF
8107 cat confdefs.h
>>conftest.
$ac_ext
8108 cat >>conftest.
$ac_ext <<_ACEOF
8109 /* end confdefs.h. */
8110 $ac_includes_default
8111 #include <linux/version.h>
8113 rm -f conftest.
$ac_objext
8114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8115 (eval $ac_compile) 2>conftest.er1
8117 grep -v '^ *+' conftest.er1
>conftest.err
8119 cat conftest.err
>&5
8120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8121 (exit $ac_status); } &&
8122 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); }; } &&
8128 { ac_try
='test -s conftest.$ac_objext'
8129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); }; }; then
8134 ac_header_compiler
=yes
8136 echo "$as_me: failed program was:" >&5
8137 sed 's/^/| /' conftest.
$ac_ext >&5
8139 ac_header_compiler
=no
8141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8142 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8143 echo "${ECHO_T}$ac_header_compiler" >&6
8145 # Is the header present?
8146 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
8147 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
8148 cat >conftest.
$ac_ext <<_ACEOF
8151 cat confdefs.h
>>conftest.
$ac_ext
8152 cat >>conftest.
$ac_ext <<_ACEOF
8153 /* end confdefs.h. */
8154 #include <linux/version.h>
8156 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8157 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8159 grep -v '^ *+' conftest.er1
>conftest.err
8161 cat conftest.err
>&5
8162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8163 (exit $ac_status); } >/dev
/null
; then
8164 if test -s conftest.err
; then
8165 ac_cpp_err
=$ac_c_preproc_warn_flag
8166 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8173 if test -z "$ac_cpp_err"; then
8174 ac_header_preproc
=yes
8176 echo "$as_me: failed program was:" >&5
8177 sed 's/^/| /' conftest.
$ac_ext >&5
8179 ac_header_preproc
=no
8181 rm -f conftest.err conftest.
$ac_ext
8182 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8183 echo "${ECHO_T}$ac_header_preproc" >&6
8185 # So? What about this header?
8186 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8188 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
8189 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8190 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
8191 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
8192 ac_header_preproc
=yes
8195 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
8196 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
8197 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
8198 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
8199 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
8200 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
8201 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
8202 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
8203 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
8204 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
8205 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
8206 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
8209 ## ------------------------------------------ ##
8210 ## Report this to the AC_PACKAGE_NAME lists. ##
8211 ## ------------------------------------------ ##
8214 sed "s/^/$as_me: WARNING: /" >&2
8217 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8218 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8219 if test "${ac_cv_header_linux_version_h+set}" = set; then
8220 echo $ECHO_N "(cached) $ECHO_C" >&6
8222 ac_cv_header_linux_version_h
=$ac_header_preproc
8224 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8225 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8228 if test $ac_cv_header_linux_version_h = yes; then
8236 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
8238 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
8239 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
8242 if test "$PACKAGE" = "gettext"; then
8252 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
8258 if test -f $srcdir/po
/POTFILES.
in; then
8259 test -d po || mkdir po
8260 if test "x$srcdir" != "x."; then
8261 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
8262 posrcprefix
="$srcdir/"
8264 posrcprefix
="../$srcdir/"
8270 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
8271 < $srcdir/po
/POTFILES.
in > po
/POTFILES
8275 # Permit host specific settings.
8276 .
${srcdir}/configure.
host
8279 # Find a good install program. We prefer a C program (faster),
8280 # so one script is as good as another. But avoid the broken or
8281 # incompatible versions:
8282 # SysV /etc/install, /usr/sbin/install
8283 # SunOS /usr/etc/install
8284 # IRIX /sbin/install
8286 # AmigaOS /C/install, which installs bootblocks on floppy discs
8287 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8288 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8289 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8290 # OS/2's system install, which has a completely different semantic
8291 # ./install, which can be erroneously created by make from ./install.sh.
8292 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8293 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
8294 if test -z "$INSTALL"; then
8295 if test "${ac_cv_path_install+set}" = set; then
8296 echo $ECHO_N "(cached) $ECHO_C" >&6
8298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8302 test -z "$as_dir" && as_dir
=.
8303 # Account for people who put trailing slashes in PATH elements.
8305 .
/ | .
// |
/cC
/* | \
8306 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
8307 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
8310 # OSF1 and SCO ODT 3.0 have their own names for install.
8311 # Don't use installbsd from OSF since it installs stuff as root
8313 for ac_prog
in ginstall scoinst
install; do
8314 for ac_exec_ext
in '' $ac_executable_extensions; do
8315 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8316 if test $ac_prog = install &&
8317 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8318 # AIX install. It has an incompatible calling convention.
8320 elif test $ac_prog = install &&
8321 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8322 # program-specific install script used by HP pwplus--don't use.
8325 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
8337 if test "${ac_cv_path_install+set}" = set; then
8338 INSTALL
=$ac_cv_path_install
8340 # As a last resort, use the slow shell script. We don't cache a
8341 # path for INSTALL within a source directory, because that will
8342 # break other packages using the cache if that directory is
8343 # removed, or if the path is relative.
8344 INSTALL
=$ac_install_sh
8347 echo "$as_me:$LINENO: result: $INSTALL" >&5
8348 echo "${ECHO_T}$INSTALL" >&6
8350 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8351 # It thinks the first close brace ends the variable substitution.
8352 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8354 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
8356 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8359 BFD_HOST_64BIT_LONG
=0
8360 BFD_HOST_LONG_LONG
=0
8361 BFD_HOST_64_BIT_DEFINED
=0
8365 echo "$as_me:$LINENO: checking for long long" >&5
8366 echo $ECHO_N "checking for long long... $ECHO_C" >&6
8367 if test "${bfd_cv_has_long_long+set}" = set; then
8368 echo $ECHO_N "(cached) $ECHO_C" >&6
8370 cat >conftest.
$ac_ext <<_ACEOF
8373 cat confdefs.h
>>conftest.
$ac_ext
8374 cat >>conftest.
$ac_ext <<_ACEOF
8375 /* end confdefs.h. */
8380 unsigned long long ll = 18446744073709551615ULL;
8385 rm -f conftest.
$ac_objext
8386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8387 (eval $ac_compile) 2>conftest.er1
8389 grep -v '^ *+' conftest.er1
>conftest.err
8391 cat conftest.err
>&5
8392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393 (exit $ac_status); } &&
8394 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8399 (exit $ac_status); }; } &&
8400 { ac_try
='test -s conftest.$ac_objext'
8401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8405 (exit $ac_status); }; }; then
8406 bfd_cv_has_long_long
=yes
8408 echo "$as_me: failed program was:" >&5
8409 sed 's/^/| /' conftest.
$ac_ext >&5
8411 bfd_cv_has_long_long
=no
8413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8416 echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
8417 echo "${ECHO_T}$bfd_cv_has_long_long" >&6
8418 if test $bfd_cv_has_long_long = yes; then
8419 BFD_HOST_LONG_LONG
=1
8420 echo "$as_me:$LINENO: checking for long long" >&5
8421 echo $ECHO_N "checking for long long... $ECHO_C" >&6
8422 if test "${ac_cv_type_long_long+set}" = set; then
8423 echo $ECHO_N "(cached) $ECHO_C" >&6
8425 cat >conftest.
$ac_ext <<_ACEOF
8428 cat confdefs.h
>>conftest.
$ac_ext
8429 cat >>conftest.
$ac_ext <<_ACEOF
8430 /* end confdefs.h. */
8431 $ac_includes_default
8435 if ((long long *) 0)
8437 if (sizeof (long long))
8443 rm -f conftest.
$ac_objext
8444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8445 (eval $ac_compile) 2>conftest.er1
8447 grep -v '^ *+' conftest.er1
>conftest.err
8449 cat conftest.err
>&5
8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451 (exit $ac_status); } &&
8452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8457 (exit $ac_status); }; } &&
8458 { ac_try
='test -s conftest.$ac_objext'
8459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8463 (exit $ac_status); }; }; then
8464 ac_cv_type_long_long
=yes
8466 echo "$as_me: failed program was:" >&5
8467 sed 's/^/| /' conftest.
$ac_ext >&5
8469 ac_cv_type_long_long
=no
8471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8473 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
8474 echo "${ECHO_T}$ac_cv_type_long_long" >&6
8476 echo "$as_me:$LINENO: checking size of long long" >&5
8477 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
8478 if test "${ac_cv_sizeof_long_long+set}" = set; then
8479 echo $ECHO_N "(cached) $ECHO_C" >&6
8481 if test "$ac_cv_type_long_long" = yes; then
8482 # The cast to unsigned long works around a bug in the HP C Compiler
8483 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8484 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8485 # This bug is HP SR number 8606223364.
8486 if test "$cross_compiling" = yes; then
8487 # Depending upon the size, compute the lo and hi bounds.
8488 cat >conftest.
$ac_ext <<_ACEOF
8491 cat confdefs.h
>>conftest.
$ac_ext
8492 cat >>conftest.
$ac_ext <<_ACEOF
8493 /* end confdefs.h. */
8494 $ac_includes_default
8498 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
8505 rm -f conftest.
$ac_objext
8506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8507 (eval $ac_compile) 2>conftest.er1
8509 grep -v '^ *+' conftest.er1
>conftest.err
8511 cat conftest.err
>&5
8512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513 (exit $ac_status); } &&
8514 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8519 (exit $ac_status); }; } &&
8520 { ac_try
='test -s conftest.$ac_objext'
8521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525 (exit $ac_status); }; }; then
8528 cat >conftest.
$ac_ext <<_ACEOF
8531 cat confdefs.h
>>conftest.
$ac_ext
8532 cat >>conftest.
$ac_ext <<_ACEOF
8533 /* end confdefs.h. */
8534 $ac_includes_default
8538 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
8545 rm -f conftest.
$ac_objext
8546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8547 (eval $ac_compile) 2>conftest.er1
8549 grep -v '^ *+' conftest.er1
>conftest.err
8551 cat conftest.err
>&5
8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553 (exit $ac_status); } &&
8554 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8559 (exit $ac_status); }; } &&
8560 { ac_try
='test -s conftest.$ac_objext'
8561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); }; }; then
8566 ac_hi
=$ac_mid; break
8568 echo "$as_me: failed program was:" >&5
8569 sed 's/^/| /' conftest.
$ac_ext >&5
8571 ac_lo
=`expr $ac_mid + 1`
8572 if test $ac_lo -le $ac_mid; then
8576 ac_mid
=`expr 2 '*' $ac_mid + 1`
8578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8581 echo "$as_me: failed program was:" >&5
8582 sed 's/^/| /' conftest.
$ac_ext >&5
8584 cat >conftest.
$ac_ext <<_ACEOF
8587 cat confdefs.h
>>conftest.
$ac_ext
8588 cat >>conftest.
$ac_ext <<_ACEOF
8589 /* end confdefs.h. */
8590 $ac_includes_default
8594 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
8601 rm -f conftest.
$ac_objext
8602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8603 (eval $ac_compile) 2>conftest.er1
8605 grep -v '^ *+' conftest.er1
>conftest.err
8607 cat conftest.err
>&5
8608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8609 (exit $ac_status); } &&
8610 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); }; } &&
8616 { ac_try
='test -s conftest.$ac_objext'
8617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621 (exit $ac_status); }; }; then
8624 cat >conftest.
$ac_ext <<_ACEOF
8627 cat confdefs.h
>>conftest.
$ac_ext
8628 cat >>conftest.
$ac_ext <<_ACEOF
8629 /* end confdefs.h. */
8630 $ac_includes_default
8634 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
8641 rm -f conftest.
$ac_objext
8642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8643 (eval $ac_compile) 2>conftest.er1
8645 grep -v '^ *+' conftest.er1
>conftest.err
8647 cat conftest.err
>&5
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); } &&
8650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 (exit $ac_status); }; } &&
8656 { ac_try
='test -s conftest.$ac_objext'
8657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661 (exit $ac_status); }; }; then
8662 ac_lo
=$ac_mid; break
8664 echo "$as_me: failed program was:" >&5
8665 sed 's/^/| /' conftest.
$ac_ext >&5
8667 ac_hi
=`expr '(' $ac_mid ')' - 1`
8668 if test $ac_mid -le $ac_hi; then
8672 ac_mid
=`expr 2 '*' $ac_mid`
8674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8677 echo "$as_me: failed program was:" >&5
8678 sed 's/^/| /' conftest.
$ac_ext >&5
8682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8685 # Binary search between lo and hi bounds.
8686 while test "x$ac_lo" != "x$ac_hi"; do
8687 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8688 cat >conftest.
$ac_ext <<_ACEOF
8691 cat confdefs.h
>>conftest.
$ac_ext
8692 cat >>conftest.
$ac_ext <<_ACEOF
8693 /* end confdefs.h. */
8694 $ac_includes_default
8698 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
8705 rm -f conftest.
$ac_objext
8706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8707 (eval $ac_compile) 2>conftest.er1
8709 grep -v '^ *+' conftest.er1
>conftest.err
8711 cat conftest.err
>&5
8712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8713 (exit $ac_status); } &&
8714 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8719 (exit $ac_status); }; } &&
8720 { ac_try
='test -s conftest.$ac_objext'
8721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8725 (exit $ac_status); }; }; then
8728 echo "$as_me: failed program was:" >&5
8729 sed 's/^/| /' conftest.
$ac_ext >&5
8731 ac_lo
=`expr '(' $ac_mid ')' + 1`
8733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8736 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
8737 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
8738 See \`config.log' for more details." >&5
8739 echo "$as_me: error: cannot compute sizeof (long long), 77
8740 See \`config.log' for more details." >&2;}
8741 { (exit 1); exit 1; }; } ;;
8744 if test "$cross_compiling" = yes; then
8745 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
8746 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
8747 { (exit 1); exit 1; }; }
8749 cat >conftest.
$ac_ext <<_ACEOF
8752 cat confdefs.h
>>conftest.
$ac_ext
8753 cat >>conftest.
$ac_ext <<_ACEOF
8754 /* end confdefs.h. */
8755 $ac_includes_default
8756 long longval () { return (long) (sizeof (long long)); }
8757 unsigned long ulongval () { return (long) (sizeof (long long)); }
8764 FILE *f = fopen ("conftest.val", "w");
8767 if (((long) (sizeof (long long))) < 0)
8769 long i = longval ();
8770 if (i != ((long) (sizeof (long long))))
8772 fprintf (f, "%ld\n", i);
8776 unsigned long i = ulongval ();
8777 if (i != ((long) (sizeof (long long))))
8779 fprintf (f, "%lu\n", i);
8781 exit (ferror (f) || fclose (f) != 0);
8787 rm -f conftest
$ac_exeext
8788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8789 (eval $ac_link) 2>&5
8791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8792 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8797 (exit $ac_status); }; }; then
8798 ac_cv_sizeof_long_long
=`cat conftest.val`
8800 echo "$as_me: program exited with status $ac_status" >&5
8801 echo "$as_me: failed program was:" >&5
8802 sed 's/^/| /' conftest.
$ac_ext >&5
8805 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
8806 See \`config.log' for more details." >&5
8807 echo "$as_me: error: cannot compute sizeof (long long), 77
8808 See \`config.log' for more details." >&2;}
8809 { (exit 1); exit 1; }; }
8811 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8816 ac_cv_sizeof_long_long
=0
8819 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
8820 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
8821 cat >>confdefs.h
<<_ACEOF
8822 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8828 echo "$as_me:$LINENO: checking for long" >&5
8829 echo $ECHO_N "checking for long... $ECHO_C" >&6
8830 if test "${ac_cv_type_long+set}" = set; then
8831 echo $ECHO_N "(cached) $ECHO_C" >&6
8833 cat >conftest.
$ac_ext <<_ACEOF
8836 cat confdefs.h
>>conftest.
$ac_ext
8837 cat >>conftest.
$ac_ext <<_ACEOF
8838 /* end confdefs.h. */
8839 $ac_includes_default
8851 rm -f conftest.
$ac_objext
8852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8853 (eval $ac_compile) 2>conftest.er1
8855 grep -v '^ *+' conftest.er1
>conftest.err
8857 cat conftest.err
>&5
8858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8859 (exit $ac_status); } &&
8860 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865 (exit $ac_status); }; } &&
8866 { ac_try
='test -s conftest.$ac_objext'
8867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8871 (exit $ac_status); }; }; then
8874 echo "$as_me: failed program was:" >&5
8875 sed 's/^/| /' conftest.
$ac_ext >&5
8879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8881 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
8882 echo "${ECHO_T}$ac_cv_type_long" >&6
8884 echo "$as_me:$LINENO: checking size of long" >&5
8885 echo $ECHO_N "checking size of long... $ECHO_C" >&6
8886 if test "${ac_cv_sizeof_long+set}" = set; then
8887 echo $ECHO_N "(cached) $ECHO_C" >&6
8889 if test "$ac_cv_type_long" = yes; then
8890 # The cast to unsigned long works around a bug in the HP C Compiler
8891 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8892 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8893 # This bug is HP SR number 8606223364.
8894 if test "$cross_compiling" = yes; then
8895 # Depending upon the size, compute the lo and hi bounds.
8896 cat >conftest.
$ac_ext <<_ACEOF
8899 cat confdefs.h
>>conftest.
$ac_ext
8900 cat >>conftest.
$ac_ext <<_ACEOF
8901 /* end confdefs.h. */
8902 $ac_includes_default
8906 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
8913 rm -f conftest.
$ac_objext
8914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8915 (eval $ac_compile) 2>conftest.er1
8917 grep -v '^ *+' conftest.er1
>conftest.err
8919 cat conftest.err
>&5
8920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921 (exit $ac_status); } &&
8922 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8927 (exit $ac_status); }; } &&
8928 { ac_try
='test -s conftest.$ac_objext'
8929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933 (exit $ac_status); }; }; then
8936 cat >conftest.
$ac_ext <<_ACEOF
8939 cat confdefs.h
>>conftest.
$ac_ext
8940 cat >>conftest.
$ac_ext <<_ACEOF
8941 /* end confdefs.h. */
8942 $ac_includes_default
8946 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
8953 rm -f conftest.
$ac_objext
8954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8955 (eval $ac_compile) 2>conftest.er1
8957 grep -v '^ *+' conftest.er1
>conftest.err
8959 cat conftest.err
>&5
8960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 (exit $ac_status); } &&
8962 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 (exit $ac_status); }; } &&
8968 { ac_try
='test -s conftest.$ac_objext'
8969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973 (exit $ac_status); }; }; then
8974 ac_hi
=$ac_mid; break
8976 echo "$as_me: failed program was:" >&5
8977 sed 's/^/| /' conftest.
$ac_ext >&5
8979 ac_lo
=`expr $ac_mid + 1`
8980 if test $ac_lo -le $ac_mid; then
8984 ac_mid
=`expr 2 '*' $ac_mid + 1`
8986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8989 echo "$as_me: failed program was:" >&5
8990 sed 's/^/| /' conftest.
$ac_ext >&5
8992 cat >conftest.
$ac_ext <<_ACEOF
8995 cat confdefs.h
>>conftest.
$ac_ext
8996 cat >>conftest.
$ac_ext <<_ACEOF
8997 /* end confdefs.h. */
8998 $ac_includes_default
9002 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
9009 rm -f conftest.
$ac_objext
9010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9011 (eval $ac_compile) 2>conftest.er1
9013 grep -v '^ *+' conftest.er1
>conftest.err
9015 cat conftest.err
>&5
9016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9017 (exit $ac_status); } &&
9018 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9023 (exit $ac_status); }; } &&
9024 { ac_try
='test -s conftest.$ac_objext'
9025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9029 (exit $ac_status); }; }; then
9032 cat >conftest.
$ac_ext <<_ACEOF
9035 cat confdefs.h
>>conftest.
$ac_ext
9036 cat >>conftest.
$ac_ext <<_ACEOF
9037 /* end confdefs.h. */
9038 $ac_includes_default
9042 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
9049 rm -f conftest.
$ac_objext
9050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9051 (eval $ac_compile) 2>conftest.er1
9053 grep -v '^ *+' conftest.er1
>conftest.err
9055 cat conftest.err
>&5
9056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9057 (exit $ac_status); } &&
9058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063 (exit $ac_status); }; } &&
9064 { ac_try
='test -s conftest.$ac_objext'
9065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 (exit $ac_status); }; }; then
9070 ac_lo
=$ac_mid; break
9072 echo "$as_me: failed program was:" >&5
9073 sed 's/^/| /' conftest.
$ac_ext >&5
9075 ac_hi
=`expr '(' $ac_mid ')' - 1`
9076 if test $ac_mid -le $ac_hi; then
9080 ac_mid
=`expr 2 '*' $ac_mid`
9082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9085 echo "$as_me: failed program was:" >&5
9086 sed 's/^/| /' conftest.
$ac_ext >&5
9090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9093 # Binary search between lo and hi bounds.
9094 while test "x$ac_lo" != "x$ac_hi"; do
9095 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9096 cat >conftest.
$ac_ext <<_ACEOF
9099 cat confdefs.h
>>conftest.
$ac_ext
9100 cat >>conftest.
$ac_ext <<_ACEOF
9101 /* end confdefs.h. */
9102 $ac_includes_default
9106 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
9113 rm -f conftest.
$ac_objext
9114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9115 (eval $ac_compile) 2>conftest.er1
9117 grep -v '^ *+' conftest.er1
>conftest.err
9119 cat conftest.err
>&5
9120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9121 (exit $ac_status); } &&
9122 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); }; } &&
9128 { ac_try
='test -s conftest.$ac_objext'
9129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133 (exit $ac_status); }; }; then
9136 echo "$as_me: failed program was:" >&5
9137 sed 's/^/| /' conftest.
$ac_ext >&5
9139 ac_lo
=`expr '(' $ac_mid ')' + 1`
9141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9144 ?
*) ac_cv_sizeof_long
=$ac_lo;;
9145 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
9146 See \`config.log' for more details." >&5
9147 echo "$as_me: error: cannot compute sizeof (long), 77
9148 See \`config.log' for more details." >&2;}
9149 { (exit 1); exit 1; }; } ;;
9152 if test "$cross_compiling" = yes; then
9153 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
9154 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
9155 { (exit 1); exit 1; }; }
9157 cat >conftest.
$ac_ext <<_ACEOF
9160 cat confdefs.h
>>conftest.
$ac_ext
9161 cat >>conftest.
$ac_ext <<_ACEOF
9162 /* end confdefs.h. */
9163 $ac_includes_default
9164 long longval () { return (long) (sizeof (long)); }
9165 unsigned long ulongval () { return (long) (sizeof (long)); }
9172 FILE *f = fopen ("conftest.val", "w");
9175 if (((long) (sizeof (long))) < 0)
9177 long i = longval ();
9178 if (i != ((long) (sizeof (long))))
9180 fprintf (f, "%ld\n", i);
9184 unsigned long i = ulongval ();
9185 if (i != ((long) (sizeof (long))))
9187 fprintf (f, "%lu\n", i);
9189 exit (ferror (f) || fclose (f) != 0);
9195 rm -f conftest
$ac_exeext
9196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9197 (eval $ac_link) 2>&5
9199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9200 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9205 (exit $ac_status); }; }; then
9206 ac_cv_sizeof_long
=`cat conftest.val`
9208 echo "$as_me: program exited with status $ac_status" >&5
9209 echo "$as_me: failed program was:" >&5
9210 sed 's/^/| /' conftest.
$ac_ext >&5
9213 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
9214 See \`config.log' for more details." >&5
9215 echo "$as_me: error: cannot compute sizeof (long), 77
9216 See \`config.log' for more details." >&2;}
9217 { (exit 1); exit 1; }; }
9219 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9227 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
9228 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
9229 cat >>confdefs.h
<<_ACEOF
9230 #define SIZEOF_LONG $ac_cv_sizeof_long
9234 if test "x${ac_cv_sizeof_long}" = "x8"; then
9236 BFD_HOST_64BIT_LONG
=1
9237 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long"
9238 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long"
9239 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
9240 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long long"
9241 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long long"
9244 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
9245 BFD_HOST_64_BIT_DEFINED
=1
9246 BFD_HOST_64_BIT
="${HOST_64BIT_TYPE}"
9247 BFD_HOST_U_64_BIT
="${HOST_U_64BIT_TYPE}"
9256 # Put a plausible default for CC_FOR_BUILD in Makefile.
9257 if test -z "$CC_FOR_BUILD"; then
9258 if test "x$cross_compiling" = "xno"; then
9259 CC_FOR_BUILD
='$(CC)'
9265 # Also set EXEEXT_FOR_BUILD.
9266 if test "x$cross_compiling" = "xno"; then
9267 EXEEXT_FOR_BUILD
='$(EXEEXT)'
9269 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
9270 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
9271 if test "${bfd_cv_build_exeext+set}" = set; then
9272 echo $ECHO_N "(cached) $ECHO_C" >&6
9275 echo 'int main () { return 0; }' > conftest.c
9276 bfd_cv_build_exeext
=
9277 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
9278 for file in conftest.
*; do
9280 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
9281 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
9285 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
9287 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
9288 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
9290 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
9300 for ac_header
in stddef.h string.h
strings.h stdlib.h
time.h unistd.h
9302 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9304 echo "$as_me:$LINENO: checking for $ac_header" >&5
9305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9307 echo $ECHO_N "(cached) $ECHO_C" >&6
9309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9312 # Is the header compilable?
9313 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9314 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9315 cat >conftest.
$ac_ext <<_ACEOF
9318 cat confdefs.h
>>conftest.
$ac_ext
9319 cat >>conftest.
$ac_ext <<_ACEOF
9320 /* end confdefs.h. */
9321 $ac_includes_default
9322 #include <$ac_header>
9324 rm -f conftest.
$ac_objext
9325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9326 (eval $ac_compile) 2>conftest.er1
9328 grep -v '^ *+' conftest.er1
>conftest.err
9330 cat conftest.err
>&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); } &&
9333 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9338 (exit $ac_status); }; } &&
9339 { ac_try
='test -s conftest.$ac_objext'
9340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344 (exit $ac_status); }; }; then
9345 ac_header_compiler
=yes
9347 echo "$as_me: failed program was:" >&5
9348 sed 's/^/| /' conftest.
$ac_ext >&5
9350 ac_header_compiler
=no
9352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9353 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9354 echo "${ECHO_T}$ac_header_compiler" >&6
9356 # Is the header present?
9357 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9358 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9359 cat >conftest.
$ac_ext <<_ACEOF
9362 cat confdefs.h
>>conftest.
$ac_ext
9363 cat >>conftest.
$ac_ext <<_ACEOF
9364 /* end confdefs.h. */
9365 #include <$ac_header>
9367 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9368 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9370 grep -v '^ *+' conftest.er1
>conftest.err
9372 cat conftest.err
>&5
9373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9374 (exit $ac_status); } >/dev
/null
; then
9375 if test -s conftest.err
; then
9376 ac_cpp_err
=$ac_c_preproc_warn_flag
9377 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9384 if test -z "$ac_cpp_err"; then
9385 ac_header_preproc
=yes
9387 echo "$as_me: failed program was:" >&5
9388 sed 's/^/| /' conftest.
$ac_ext >&5
9390 ac_header_preproc
=no
9392 rm -f conftest.err conftest.
$ac_ext
9393 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9394 echo "${ECHO_T}$ac_header_preproc" >&6
9396 # So? What about this header?
9397 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9399 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9400 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9401 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9402 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9403 ac_header_preproc
=yes
9406 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9407 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9408 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9409 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9410 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9411 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9412 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9413 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9414 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9415 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9416 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9417 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9420 ## ------------------------------------------ ##
9421 ## Report this to the AC_PACKAGE_NAME lists. ##
9422 ## ------------------------------------------ ##
9425 sed "s/^/$as_me: WARNING: /" >&2
9428 echo "$as_me:$LINENO: checking for $ac_header" >&5
9429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9431 echo $ECHO_N "(cached) $ECHO_C" >&6
9433 eval "$as_ac_Header=\$ac_header_preproc"
9435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9436 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9439 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9440 cat >>confdefs.h
<<_ACEOF
9441 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9451 for ac_header
in fcntl.h sys
/file.h sys
/time.h
9453 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9455 echo "$as_me:$LINENO: checking for $ac_header" >&5
9456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9458 echo $ECHO_N "(cached) $ECHO_C" >&6
9460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9463 # Is the header compilable?
9464 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9465 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9466 cat >conftest.
$ac_ext <<_ACEOF
9469 cat confdefs.h
>>conftest.
$ac_ext
9470 cat >>conftest.
$ac_ext <<_ACEOF
9471 /* end confdefs.h. */
9472 $ac_includes_default
9473 #include <$ac_header>
9475 rm -f conftest.
$ac_objext
9476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9477 (eval $ac_compile) 2>conftest.er1
9479 grep -v '^ *+' conftest.er1
>conftest.err
9481 cat conftest.err
>&5
9482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9483 (exit $ac_status); } &&
9484 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9489 (exit $ac_status); }; } &&
9490 { ac_try
='test -s conftest.$ac_objext'
9491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9495 (exit $ac_status); }; }; then
9496 ac_header_compiler
=yes
9498 echo "$as_me: failed program was:" >&5
9499 sed 's/^/| /' conftest.
$ac_ext >&5
9501 ac_header_compiler
=no
9503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9504 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9505 echo "${ECHO_T}$ac_header_compiler" >&6
9507 # Is the header present?
9508 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9509 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9510 cat >conftest.
$ac_ext <<_ACEOF
9513 cat confdefs.h
>>conftest.
$ac_ext
9514 cat >>conftest.
$ac_ext <<_ACEOF
9515 /* end confdefs.h. */
9516 #include <$ac_header>
9518 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9519 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9521 grep -v '^ *+' conftest.er1
>conftest.err
9523 cat conftest.err
>&5
9524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9525 (exit $ac_status); } >/dev
/null
; then
9526 if test -s conftest.err
; then
9527 ac_cpp_err
=$ac_c_preproc_warn_flag
9528 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9535 if test -z "$ac_cpp_err"; then
9536 ac_header_preproc
=yes
9538 echo "$as_me: failed program was:" >&5
9539 sed 's/^/| /' conftest.
$ac_ext >&5
9541 ac_header_preproc
=no
9543 rm -f conftest.err conftest.
$ac_ext
9544 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9545 echo "${ECHO_T}$ac_header_preproc" >&6
9547 # So? What about this header?
9548 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9550 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9551 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9552 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9553 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9554 ac_header_preproc
=yes
9557 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9558 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9559 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9560 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9561 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9562 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9563 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9564 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9566 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9567 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9568 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9571 ## ------------------------------------------ ##
9572 ## Report this to the AC_PACKAGE_NAME lists. ##
9573 ## ------------------------------------------ ##
9576 sed "s/^/$as_me: WARNING: /" >&2
9579 echo "$as_me:$LINENO: checking for $ac_header" >&5
9580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9582 echo $ECHO_N "(cached) $ECHO_C" >&6
9584 eval "$as_ac_Header=\$ac_header_preproc"
9586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9590 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9591 cat >>confdefs.h
<<_ACEOF
9592 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9599 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
9600 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
9601 if test "${ac_cv_header_time+set}" = set; then
9602 echo $ECHO_N "(cached) $ECHO_C" >&6
9604 cat >conftest.
$ac_ext <<_ACEOF
9607 cat confdefs.h
>>conftest.
$ac_ext
9608 cat >>conftest.
$ac_ext <<_ACEOF
9609 /* end confdefs.h. */
9610 #include <sys/types.h>
9611 #include <sys/time.h>
9617 if ((struct tm *) 0)
9623 rm -f conftest.
$ac_objext
9624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9625 (eval $ac_compile) 2>conftest.er1
9627 grep -v '^ *+' conftest.er1
>conftest.err
9629 cat conftest.err
>&5
9630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9631 (exit $ac_status); } &&
9632 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9637 (exit $ac_status); }; } &&
9638 { ac_try
='test -s conftest.$ac_objext'
9639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9643 (exit $ac_status); }; }; then
9644 ac_cv_header_time
=yes
9646 echo "$as_me: failed program was:" >&5
9647 sed 's/^/| /' conftest.
$ac_ext >&5
9649 ac_cv_header_time
=no
9651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9653 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
9654 echo "${ECHO_T}$ac_cv_header_time" >&6
9655 if test $ac_cv_header_time = yes; then
9657 cat >>confdefs.h
<<\_ACEOF
9658 #define TIME_WITH_SYS_TIME 1
9669 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9670 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9671 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
9672 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
9673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9674 echo $ECHO_N "(cached) $ECHO_C" >&6
9676 cat >conftest.
$ac_ext <<_ACEOF
9679 cat confdefs.h
>>conftest.
$ac_ext
9680 cat >>conftest.
$ac_ext <<_ACEOF
9681 /* end confdefs.h. */
9682 #include <sys/types.h>
9694 rm -f conftest.
$ac_objext
9695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9696 (eval $ac_compile) 2>conftest.er1
9698 grep -v '^ *+' conftest.er1
>conftest.err
9700 cat conftest.err
>&5
9701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702 (exit $ac_status); } &&
9703 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9708 (exit $ac_status); }; } &&
9709 { ac_try
='test -s conftest.$ac_objext'
9710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9714 (exit $ac_status); }; }; then
9715 eval "$as_ac_Header=yes"
9717 echo "$as_me: failed program was:" >&5
9718 sed 's/^/| /' conftest.
$ac_ext >&5
9720 eval "$as_ac_Header=no"
9722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9727 cat >>confdefs.h
<<_ACEOF
9728 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9731 ac_header_dirent
=$ac_hdr; break
9735 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9736 if test $ac_header_dirent = dirent.h
; then
9737 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9738 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9739 if test "${ac_cv_search_opendir+set}" = set; then
9740 echo $ECHO_N "(cached) $ECHO_C" >&6
9742 ac_func_search_save_LIBS
=$LIBS
9743 ac_cv_search_opendir
=no
9744 cat >conftest.
$ac_ext <<_ACEOF
9747 cat confdefs.h
>>conftest.
$ac_ext
9748 cat >>conftest.
$ac_ext <<_ACEOF
9749 /* end confdefs.h. */
9751 /* Override any gcc2 internal prototype to avoid an error. */
9755 /* We use char because int might match the return type of a gcc2
9756 builtin and then its argument prototype would still apply. */
9766 rm -f conftest.
$ac_objext conftest
$ac_exeext
9767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9768 (eval $ac_link) 2>conftest.er1
9770 grep -v '^ *+' conftest.er1
>conftest.err
9772 cat conftest.err
>&5
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); } &&
9775 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780 (exit $ac_status); }; } &&
9781 { ac_try
='test -s conftest$ac_exeext'
9782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9786 (exit $ac_status); }; }; then
9787 ac_cv_search_opendir
="none required"
9789 echo "$as_me: failed program was:" >&5
9790 sed 's/^/| /' conftest.
$ac_ext >&5
9793 rm -f conftest.err conftest.
$ac_objext \
9794 conftest
$ac_exeext conftest.
$ac_ext
9795 if test "$ac_cv_search_opendir" = no
; then
9796 for ac_lib
in dir
; do
9797 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9798 cat >conftest.
$ac_ext <<_ACEOF
9801 cat confdefs.h
>>conftest.
$ac_ext
9802 cat >>conftest.
$ac_ext <<_ACEOF
9803 /* end confdefs.h. */
9805 /* Override any gcc2 internal prototype to avoid an error. */
9809 /* We use char because int might match the return type of a gcc2
9810 builtin and then its argument prototype would still apply. */
9820 rm -f conftest.
$ac_objext conftest
$ac_exeext
9821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9822 (eval $ac_link) 2>conftest.er1
9824 grep -v '^ *+' conftest.er1
>conftest.err
9826 cat conftest.err
>&5
9827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9828 (exit $ac_status); } &&
9829 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834 (exit $ac_status); }; } &&
9835 { ac_try
='test -s conftest$ac_exeext'
9836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); }; }; then
9841 ac_cv_search_opendir
="-l$ac_lib"
9844 echo "$as_me: failed program was:" >&5
9845 sed 's/^/| /' conftest.
$ac_ext >&5
9848 rm -f conftest.err conftest.
$ac_objext \
9849 conftest
$ac_exeext conftest.
$ac_ext
9852 LIBS
=$ac_func_search_save_LIBS
9854 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9855 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9856 if test "$ac_cv_search_opendir" != no
; then
9857 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9862 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9863 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9864 if test "${ac_cv_search_opendir+set}" = set; then
9865 echo $ECHO_N "(cached) $ECHO_C" >&6
9867 ac_func_search_save_LIBS
=$LIBS
9868 ac_cv_search_opendir
=no
9869 cat >conftest.
$ac_ext <<_ACEOF
9872 cat confdefs.h
>>conftest.
$ac_ext
9873 cat >>conftest.
$ac_ext <<_ACEOF
9874 /* end confdefs.h. */
9876 /* Override any gcc2 internal prototype to avoid an error. */
9880 /* We use char because int might match the return type of a gcc2
9881 builtin and then its argument prototype would still apply. */
9891 rm -f conftest.
$ac_objext conftest
$ac_exeext
9892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9893 (eval $ac_link) 2>conftest.er1
9895 grep -v '^ *+' conftest.er1
>conftest.err
9897 cat conftest.err
>&5
9898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9899 (exit $ac_status); } &&
9900 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 (exit $ac_status); }; } &&
9906 { ac_try
='test -s conftest$ac_exeext'
9907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9911 (exit $ac_status); }; }; then
9912 ac_cv_search_opendir
="none required"
9914 echo "$as_me: failed program was:" >&5
9915 sed 's/^/| /' conftest.
$ac_ext >&5
9918 rm -f conftest.err conftest.
$ac_objext \
9919 conftest
$ac_exeext conftest.
$ac_ext
9920 if test "$ac_cv_search_opendir" = no
; then
9922 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9923 cat >conftest.
$ac_ext <<_ACEOF
9926 cat confdefs.h
>>conftest.
$ac_ext
9927 cat >>conftest.
$ac_ext <<_ACEOF
9928 /* end confdefs.h. */
9930 /* Override any gcc2 internal prototype to avoid an error. */
9934 /* We use char because int might match the return type of a gcc2
9935 builtin and then its argument prototype would still apply. */
9945 rm -f conftest.
$ac_objext conftest
$ac_exeext
9946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9947 (eval $ac_link) 2>conftest.er1
9949 grep -v '^ *+' conftest.er1
>conftest.err
9951 cat conftest.err
>&5
9952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9953 (exit $ac_status); } &&
9954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9959 (exit $ac_status); }; } &&
9960 { ac_try
='test -s conftest$ac_exeext'
9961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); }; }; then
9966 ac_cv_search_opendir
="-l$ac_lib"
9969 echo "$as_me: failed program was:" >&5
9970 sed 's/^/| /' conftest.
$ac_ext >&5
9973 rm -f conftest.err conftest.
$ac_objext \
9974 conftest
$ac_exeext conftest.
$ac_ext
9977 LIBS
=$ac_func_search_save_LIBS
9979 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9980 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9981 if test "$ac_cv_search_opendir" != no
; then
9982 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9988 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
9989 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
9990 if test "${gcc_cv_header_string+set}" = set; then
9991 echo $ECHO_N "(cached) $ECHO_C" >&6
9993 cat >conftest.
$ac_ext <<_ACEOF
9996 cat confdefs.h
>>conftest.
$ac_ext
9997 cat >>conftest.
$ac_ext <<_ACEOF
9998 /* end confdefs.h. */
10000 #include <strings.h>
10009 rm -f conftest.
$ac_objext
10010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10011 (eval $ac_compile) 2>conftest.er1
10013 grep -v '^ *+' conftest.er1
>conftest.err
10015 cat conftest.err
>&5
10016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10017 (exit $ac_status); } &&
10018 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10020 (eval $ac_try) 2>&5
10022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10023 (exit $ac_status); }; } &&
10024 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
10030 gcc_cv_header_string
=yes
10032 echo "$as_me: failed program was:" >&5
10033 sed 's/^/| /' conftest.
$ac_ext >&5
10035 gcc_cv_header_string
=no
10037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10039 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
10040 echo "${ECHO_T}$gcc_cv_header_string" >&6
10041 if test $gcc_cv_header_string = yes; then
10043 cat >>confdefs.h
<<\_ACEOF
10044 #define STRING_WITH_STRINGS 1
10056 for ac_func
in fcntl getpagesize setitimer sysconf fdopen getuid getgid
10058 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10059 echo "$as_me:$LINENO: checking for $ac_func" >&5
10060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10061 if eval "test \"\${$as_ac_var+set}\" = set"; then
10062 echo $ECHO_N "(cached) $ECHO_C" >&6
10064 cat >conftest.
$ac_ext <<_ACEOF
10067 cat confdefs.h
>>conftest.
$ac_ext
10068 cat >>conftest.
$ac_ext <<_ACEOF
10069 /* end confdefs.h. */
10070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10072 #define $ac_func innocuous_$ac_func
10074 /* System header to define __stub macros and hopefully few prototypes,
10075 which can conflict with char $ac_func (); below.
10076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10077 <limits.h> exists even on freestanding compilers. */
10080 # include <limits.h>
10082 # include <assert.h>
10087 /* Override any gcc2 internal prototype to avoid an error. */
10092 /* We use char because int might match the return type of a gcc2
10093 builtin and then its argument prototype would still apply. */
10095 /* The GNU C library defines this for functions which it implements
10096 to always fail with ENOSYS. Some functions are actually named
10097 something starting with __ and the normal name is an alias. */
10098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10101 char (*f) () = $ac_func;
10110 return f != $ac_func;
10115 rm -f conftest.
$ac_objext conftest
$ac_exeext
10116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10117 (eval $ac_link) 2>conftest.er1
10119 grep -v '^ *+' conftest.er1
>conftest.err
10121 cat conftest.err
>&5
10122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10123 (exit $ac_status); } &&
10124 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10126 (eval $ac_try) 2>&5
10128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10129 (exit $ac_status); }; } &&
10130 { ac_try
='test -s conftest$ac_exeext'
10131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10132 (eval $ac_try) 2>&5
10134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10135 (exit $ac_status); }; }; then
10136 eval "$as_ac_var=yes"
10138 echo "$as_me: failed program was:" >&5
10139 sed 's/^/| /' conftest.
$ac_ext >&5
10141 eval "$as_ac_var=no"
10143 rm -f conftest.err conftest.
$ac_objext \
10144 conftest
$ac_exeext conftest.
$ac_ext
10146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10148 if test `eval echo '${'$as_ac_var'}'` = yes; then
10149 cat >>confdefs.h
<<_ACEOF
10150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10157 for ac_func
in strtoull
10159 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10160 echo "$as_me:$LINENO: checking for $ac_func" >&5
10161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10162 if eval "test \"\${$as_ac_var+set}\" = set"; then
10163 echo $ECHO_N "(cached) $ECHO_C" >&6
10165 cat >conftest.
$ac_ext <<_ACEOF
10168 cat confdefs.h
>>conftest.
$ac_ext
10169 cat >>conftest.
$ac_ext <<_ACEOF
10170 /* end confdefs.h. */
10171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10173 #define $ac_func innocuous_$ac_func
10175 /* System header to define __stub macros and hopefully few prototypes,
10176 which can conflict with char $ac_func (); below.
10177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10178 <limits.h> exists even on freestanding compilers. */
10181 # include <limits.h>
10183 # include <assert.h>
10188 /* Override any gcc2 internal prototype to avoid an error. */
10193 /* We use char because int might match the return type of a gcc2
10194 builtin and then its argument prototype would still apply. */
10196 /* The GNU C library defines this for functions which it implements
10197 to always fail with ENOSYS. Some functions are actually named
10198 something starting with __ and the normal name is an alias. */
10199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10202 char (*f) () = $ac_func;
10211 return f != $ac_func;
10216 rm -f conftest.
$ac_objext conftest
$ac_exeext
10217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10218 (eval $ac_link) 2>conftest.er1
10220 grep -v '^ *+' conftest.er1
>conftest.err
10222 cat conftest.err
>&5
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); } &&
10225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10227 (eval $ac_try) 2>&5
10229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230 (exit $ac_status); }; } &&
10231 { ac_try
='test -s conftest$ac_exeext'
10232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10233 (eval $ac_try) 2>&5
10235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236 (exit $ac_status); }; }; then
10237 eval "$as_ac_var=yes"
10239 echo "$as_me: failed program was:" >&5
10240 sed 's/^/| /' conftest.
$ac_ext >&5
10242 eval "$as_ac_var=no"
10244 rm -f conftest.err conftest.
$ac_objext \
10245 conftest
$ac_exeext conftest.
$ac_ext
10247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10249 if test `eval echo '${'$as_ac_var'}'` = yes; then
10250 cat >>confdefs.h
<<_ACEOF
10251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10258 echo "$as_me:$LINENO: checking whether basename is declared" >&5
10259 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
10260 if test "${ac_cv_have_decl_basename+set}" = set; then
10261 echo $ECHO_N "(cached) $ECHO_C" >&6
10263 cat >conftest.
$ac_ext <<_ACEOF
10266 cat confdefs.h
>>conftest.
$ac_ext
10267 cat >>conftest.
$ac_ext <<_ACEOF
10268 /* end confdefs.h. */
10269 $ac_includes_default
10274 char *p = (char *) basename;
10281 rm -f conftest.
$ac_objext
10282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10283 (eval $ac_compile) 2>conftest.er1
10285 grep -v '^ *+' conftest.er1
>conftest.err
10287 cat conftest.err
>&5
10288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10289 (exit $ac_status); } &&
10290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10292 (eval $ac_try) 2>&5
10294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295 (exit $ac_status); }; } &&
10296 { ac_try
='test -s conftest.$ac_objext'
10297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10298 (eval $ac_try) 2>&5
10300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301 (exit $ac_status); }; }; then
10302 ac_cv_have_decl_basename
=yes
10304 echo "$as_me: failed program was:" >&5
10305 sed 's/^/| /' conftest.
$ac_ext >&5
10307 ac_cv_have_decl_basename
=no
10309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10311 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
10312 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
10313 if test $ac_cv_have_decl_basename = yes; then
10315 cat >>confdefs.h
<<_ACEOF
10316 #define HAVE_DECL_BASENAME 1
10321 cat >>confdefs.h
<<_ACEOF
10322 #define HAVE_DECL_BASENAME 0
10329 echo "$as_me:$LINENO: checking whether ftello is declared" >&5
10330 echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6
10331 if test "${ac_cv_have_decl_ftello+set}" = set; then
10332 echo $ECHO_N "(cached) $ECHO_C" >&6
10334 cat >conftest.
$ac_ext <<_ACEOF
10337 cat confdefs.h
>>conftest.
$ac_ext
10338 cat >>conftest.
$ac_ext <<_ACEOF
10339 /* end confdefs.h. */
10340 $ac_includes_default
10345 char *p = (char *) ftello;
10352 rm -f conftest.
$ac_objext
10353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10354 (eval $ac_compile) 2>conftest.er1
10356 grep -v '^ *+' conftest.er1
>conftest.err
10358 cat conftest.err
>&5
10359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360 (exit $ac_status); } &&
10361 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10363 (eval $ac_try) 2>&5
10365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10366 (exit $ac_status); }; } &&
10367 { ac_try
='test -s conftest.$ac_objext'
10368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10369 (eval $ac_try) 2>&5
10371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10372 (exit $ac_status); }; }; then
10373 ac_cv_have_decl_ftello
=yes
10375 echo "$as_me: failed program was:" >&5
10376 sed 's/^/| /' conftest.
$ac_ext >&5
10378 ac_cv_have_decl_ftello
=no
10380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10382 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
10383 echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6
10384 if test $ac_cv_have_decl_ftello = yes; then
10386 cat >>confdefs.h
<<_ACEOF
10387 #define HAVE_DECL_FTELLO 1
10392 cat >>confdefs.h
<<_ACEOF
10393 #define HAVE_DECL_FTELLO 0
10400 echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
10401 echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6
10402 if test "${ac_cv_have_decl_ftello64+set}" = set; then
10403 echo $ECHO_N "(cached) $ECHO_C" >&6
10405 cat >conftest.
$ac_ext <<_ACEOF
10408 cat confdefs.h
>>conftest.
$ac_ext
10409 cat >>conftest.
$ac_ext <<_ACEOF
10410 /* end confdefs.h. */
10411 $ac_includes_default
10416 char *p = (char *) ftello64;
10423 rm -f conftest.
$ac_objext
10424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10425 (eval $ac_compile) 2>conftest.er1
10427 grep -v '^ *+' conftest.er1
>conftest.err
10429 cat conftest.err
>&5
10430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10431 (exit $ac_status); } &&
10432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10434 (eval $ac_try) 2>&5
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); }; } &&
10438 { ac_try
='test -s conftest.$ac_objext'
10439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10440 (eval $ac_try) 2>&5
10442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443 (exit $ac_status); }; }; then
10444 ac_cv_have_decl_ftello64
=yes
10446 echo "$as_me: failed program was:" >&5
10447 sed 's/^/| /' conftest.
$ac_ext >&5
10449 ac_cv_have_decl_ftello64
=no
10451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10453 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
10454 echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6
10455 if test $ac_cv_have_decl_ftello64 = yes; then
10457 cat >>confdefs.h
<<_ACEOF
10458 #define HAVE_DECL_FTELLO64 1
10463 cat >>confdefs.h
<<_ACEOF
10464 #define HAVE_DECL_FTELLO64 0
10471 echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
10472 echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6
10473 if test "${ac_cv_have_decl_fseeko+set}" = set; then
10474 echo $ECHO_N "(cached) $ECHO_C" >&6
10476 cat >conftest.
$ac_ext <<_ACEOF
10479 cat confdefs.h
>>conftest.
$ac_ext
10480 cat >>conftest.
$ac_ext <<_ACEOF
10481 /* end confdefs.h. */
10482 $ac_includes_default
10487 char *p = (char *) fseeko;
10494 rm -f conftest.
$ac_objext
10495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10496 (eval $ac_compile) 2>conftest.er1
10498 grep -v '^ *+' conftest.er1
>conftest.err
10500 cat conftest.err
>&5
10501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10502 (exit $ac_status); } &&
10503 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10505 (eval $ac_try) 2>&5
10507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10508 (exit $ac_status); }; } &&
10509 { ac_try
='test -s conftest.$ac_objext'
10510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10511 (eval $ac_try) 2>&5
10513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10514 (exit $ac_status); }; }; then
10515 ac_cv_have_decl_fseeko
=yes
10517 echo "$as_me: failed program was:" >&5
10518 sed 's/^/| /' conftest.
$ac_ext >&5
10520 ac_cv_have_decl_fseeko
=no
10522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10524 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
10525 echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6
10526 if test $ac_cv_have_decl_fseeko = yes; then
10528 cat >>confdefs.h
<<_ACEOF
10529 #define HAVE_DECL_FSEEKO 1
10534 cat >>confdefs.h
<<_ACEOF
10535 #define HAVE_DECL_FSEEKO 0
10542 echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
10543 echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6
10544 if test "${ac_cv_have_decl_fseeko64+set}" = set; then
10545 echo $ECHO_N "(cached) $ECHO_C" >&6
10547 cat >conftest.
$ac_ext <<_ACEOF
10550 cat confdefs.h
>>conftest.
$ac_ext
10551 cat >>conftest.
$ac_ext <<_ACEOF
10552 /* end confdefs.h. */
10553 $ac_includes_default
10558 char *p = (char *) fseeko64;
10565 rm -f conftest.
$ac_objext
10566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10567 (eval $ac_compile) 2>conftest.er1
10569 grep -v '^ *+' conftest.er1
>conftest.err
10571 cat conftest.err
>&5
10572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10573 (exit $ac_status); } &&
10574 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10576 (eval $ac_try) 2>&5
10578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10579 (exit $ac_status); }; } &&
10580 { ac_try
='test -s conftest.$ac_objext'
10581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10582 (eval $ac_try) 2>&5
10584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585 (exit $ac_status); }; }; then
10586 ac_cv_have_decl_fseeko64
=yes
10588 echo "$as_me: failed program was:" >&5
10589 sed 's/^/| /' conftest.
$ac_ext >&5
10591 ac_cv_have_decl_fseeko64
=no
10593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10595 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
10596 echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6
10597 if test $ac_cv_have_decl_fseeko64 = yes; then
10599 cat >>confdefs.h
<<_ACEOF
10600 #define HAVE_DECL_FSEEKO64 1
10605 cat >>confdefs.h
<<_ACEOF
10606 #define HAVE_DECL_FSEEKO64 0
10616 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
10618 cat >>confdefs.h
<<\_ACEOF
10619 #define USE_BINARY_FOPEN 1
10624 echo "$as_me:$LINENO: checking whether ffs is declared" >&5
10625 echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
10626 if test "${ac_cv_have_decl_ffs+set}" = set; then
10627 echo $ECHO_N "(cached) $ECHO_C" >&6
10629 cat >conftest.
$ac_ext <<_ACEOF
10632 cat confdefs.h
>>conftest.
$ac_ext
10633 cat >>conftest.
$ac_ext <<_ACEOF
10634 /* end confdefs.h. */
10635 $ac_includes_default
10640 char *p = (char *) ffs;
10647 rm -f conftest.
$ac_objext
10648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10649 (eval $ac_compile) 2>conftest.er1
10651 grep -v '^ *+' conftest.er1
>conftest.err
10653 cat conftest.err
>&5
10654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10655 (exit $ac_status); } &&
10656 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10658 (eval $ac_try) 2>&5
10660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10661 (exit $ac_status); }; } &&
10662 { ac_try
='test -s conftest.$ac_objext'
10663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10664 (eval $ac_try) 2>&5
10666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667 (exit $ac_status); }; }; then
10668 ac_cv_have_decl_ffs
=yes
10670 echo "$as_me: failed program was:" >&5
10671 sed 's/^/| /' conftest.
$ac_ext >&5
10673 ac_cv_have_decl_ffs
=no
10675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10677 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
10678 echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
10679 if test $ac_cv_have_decl_ffs = yes; then
10681 cat >>confdefs.h
<<_ACEOF
10682 #define HAVE_DECL_FFS 1
10687 cat >>confdefs.h
<<_ACEOF
10688 #define HAVE_DECL_FFS 0
10695 echo "$as_me:$LINENO: checking whether free is declared" >&5
10696 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
10697 if test "${ac_cv_have_decl_free+set}" = set; then
10698 echo $ECHO_N "(cached) $ECHO_C" >&6
10700 cat >conftest.
$ac_ext <<_ACEOF
10703 cat confdefs.h
>>conftest.
$ac_ext
10704 cat >>conftest.
$ac_ext <<_ACEOF
10705 /* end confdefs.h. */
10706 $ac_includes_default
10711 char *p = (char *) free;
10718 rm -f conftest.
$ac_objext
10719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10720 (eval $ac_compile) 2>conftest.er1
10722 grep -v '^ *+' conftest.er1
>conftest.err
10724 cat conftest.err
>&5
10725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10726 (exit $ac_status); } &&
10727 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10729 (eval $ac_try) 2>&5
10731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10732 (exit $ac_status); }; } &&
10733 { ac_try
='test -s conftest.$ac_objext'
10734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10735 (eval $ac_try) 2>&5
10737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10738 (exit $ac_status); }; }; then
10739 ac_cv_have_decl_free
=yes
10741 echo "$as_me: failed program was:" >&5
10742 sed 's/^/| /' conftest.
$ac_ext >&5
10744 ac_cv_have_decl_free
=no
10746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10748 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
10749 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
10750 if test $ac_cv_have_decl_free = yes; then
10752 cat >>confdefs.h
<<_ACEOF
10753 #define HAVE_DECL_FREE 1
10758 cat >>confdefs.h
<<_ACEOF
10759 #define HAVE_DECL_FREE 0
10766 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
10767 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
10768 if test "${ac_cv_have_decl_getenv+set}" = set; then
10769 echo $ECHO_N "(cached) $ECHO_C" >&6
10771 cat >conftest.
$ac_ext <<_ACEOF
10774 cat confdefs.h
>>conftest.
$ac_ext
10775 cat >>conftest.
$ac_ext <<_ACEOF
10776 /* end confdefs.h. */
10777 $ac_includes_default
10782 char *p = (char *) getenv;
10789 rm -f conftest.
$ac_objext
10790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10791 (eval $ac_compile) 2>conftest.er1
10793 grep -v '^ *+' conftest.er1
>conftest.err
10795 cat conftest.err
>&5
10796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797 (exit $ac_status); } &&
10798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10800 (eval $ac_try) 2>&5
10802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10803 (exit $ac_status); }; } &&
10804 { ac_try
='test -s conftest.$ac_objext'
10805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10806 (eval $ac_try) 2>&5
10808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809 (exit $ac_status); }; }; then
10810 ac_cv_have_decl_getenv
=yes
10812 echo "$as_me: failed program was:" >&5
10813 sed 's/^/| /' conftest.
$ac_ext >&5
10815 ac_cv_have_decl_getenv
=no
10817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10819 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
10820 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
10821 if test $ac_cv_have_decl_getenv = yes; then
10823 cat >>confdefs.h
<<_ACEOF
10824 #define HAVE_DECL_GETENV 1
10829 cat >>confdefs.h
<<_ACEOF
10830 #define HAVE_DECL_GETENV 0
10837 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
10838 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
10839 if test "${ac_cv_have_decl_malloc+set}" = set; then
10840 echo $ECHO_N "(cached) $ECHO_C" >&6
10842 cat >conftest.
$ac_ext <<_ACEOF
10845 cat confdefs.h
>>conftest.
$ac_ext
10846 cat >>conftest.
$ac_ext <<_ACEOF
10847 /* end confdefs.h. */
10848 $ac_includes_default
10853 char *p = (char *) malloc;
10860 rm -f conftest.
$ac_objext
10861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10862 (eval $ac_compile) 2>conftest.er1
10864 grep -v '^ *+' conftest.er1
>conftest.err
10866 cat conftest.err
>&5
10867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10868 (exit $ac_status); } &&
10869 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10871 (eval $ac_try) 2>&5
10873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10874 (exit $ac_status); }; } &&
10875 { ac_try
='test -s conftest.$ac_objext'
10876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10877 (eval $ac_try) 2>&5
10879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10880 (exit $ac_status); }; }; then
10881 ac_cv_have_decl_malloc
=yes
10883 echo "$as_me: failed program was:" >&5
10884 sed 's/^/| /' conftest.
$ac_ext >&5
10886 ac_cv_have_decl_malloc
=no
10888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10890 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
10891 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
10892 if test $ac_cv_have_decl_malloc = yes; then
10894 cat >>confdefs.h
<<_ACEOF
10895 #define HAVE_DECL_MALLOC 1
10900 cat >>confdefs.h
<<_ACEOF
10901 #define HAVE_DECL_MALLOC 0
10908 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
10909 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
10910 if test "${ac_cv_have_decl_realloc+set}" = set; then
10911 echo $ECHO_N "(cached) $ECHO_C" >&6
10913 cat >conftest.
$ac_ext <<_ACEOF
10916 cat confdefs.h
>>conftest.
$ac_ext
10917 cat >>conftest.
$ac_ext <<_ACEOF
10918 /* end confdefs.h. */
10919 $ac_includes_default
10924 char *p = (char *) realloc;
10931 rm -f conftest.
$ac_objext
10932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10933 (eval $ac_compile) 2>conftest.er1
10935 grep -v '^ *+' conftest.er1
>conftest.err
10937 cat conftest.err
>&5
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); } &&
10940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10942 (eval $ac_try) 2>&5
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); }; } &&
10946 { ac_try
='test -s conftest.$ac_objext'
10947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10948 (eval $ac_try) 2>&5
10950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951 (exit $ac_status); }; }; then
10952 ac_cv_have_decl_realloc
=yes
10954 echo "$as_me: failed program was:" >&5
10955 sed 's/^/| /' conftest.
$ac_ext >&5
10957 ac_cv_have_decl_realloc
=no
10959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10961 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
10962 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
10963 if test $ac_cv_have_decl_realloc = yes; then
10965 cat >>confdefs.h
<<_ACEOF
10966 #define HAVE_DECL_REALLOC 1
10971 cat >>confdefs.h
<<_ACEOF
10972 #define HAVE_DECL_REALLOC 0
10979 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
10980 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
10981 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
10982 echo $ECHO_N "(cached) $ECHO_C" >&6
10984 cat >conftest.
$ac_ext <<_ACEOF
10987 cat confdefs.h
>>conftest.
$ac_ext
10988 cat >>conftest.
$ac_ext <<_ACEOF
10989 /* end confdefs.h. */
10990 $ac_includes_default
10995 char *p = (char *) stpcpy;
11002 rm -f conftest.
$ac_objext
11003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11004 (eval $ac_compile) 2>conftest.er1
11006 grep -v '^ *+' conftest.er1
>conftest.err
11008 cat conftest.err
>&5
11009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010 (exit $ac_status); } &&
11011 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11013 (eval $ac_try) 2>&5
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); }; } &&
11017 { ac_try
='test -s conftest.$ac_objext'
11018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11019 (eval $ac_try) 2>&5
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); }; }; then
11023 ac_cv_have_decl_stpcpy
=yes
11025 echo "$as_me: failed program was:" >&5
11026 sed 's/^/| /' conftest.
$ac_ext >&5
11028 ac_cv_have_decl_stpcpy
=no
11030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11032 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
11033 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
11034 if test $ac_cv_have_decl_stpcpy = yes; then
11036 cat >>confdefs.h
<<_ACEOF
11037 #define HAVE_DECL_STPCPY 1
11042 cat >>confdefs.h
<<_ACEOF
11043 #define HAVE_DECL_STPCPY 0
11050 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
11051 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
11052 if test "${ac_cv_have_decl_strstr+set}" = set; then
11053 echo $ECHO_N "(cached) $ECHO_C" >&6
11055 cat >conftest.
$ac_ext <<_ACEOF
11058 cat confdefs.h
>>conftest.
$ac_ext
11059 cat >>conftest.
$ac_ext <<_ACEOF
11060 /* end confdefs.h. */
11061 $ac_includes_default
11066 char *p = (char *) strstr;
11073 rm -f conftest.
$ac_objext
11074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11075 (eval $ac_compile) 2>conftest.er1
11077 grep -v '^ *+' conftest.er1
>conftest.err
11079 cat conftest.err
>&5
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); } &&
11082 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11084 (eval $ac_try) 2>&5
11086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087 (exit $ac_status); }; } &&
11088 { ac_try
='test -s conftest.$ac_objext'
11089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11090 (eval $ac_try) 2>&5
11092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11093 (exit $ac_status); }; }; then
11094 ac_cv_have_decl_strstr
=yes
11096 echo "$as_me: failed program was:" >&5
11097 sed 's/^/| /' conftest.
$ac_ext >&5
11099 ac_cv_have_decl_strstr
=no
11101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11103 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
11104 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
11105 if test $ac_cv_have_decl_strstr = yes; then
11107 cat >>confdefs.h
<<_ACEOF
11108 #define HAVE_DECL_STRSTR 1
11113 cat >>confdefs.h
<<_ACEOF
11114 #define HAVE_DECL_STRSTR 0
11121 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
11122 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
11123 if test "${ac_cv_have_decl_snprintf+set}" = set; then
11124 echo $ECHO_N "(cached) $ECHO_C" >&6
11126 cat >conftest.
$ac_ext <<_ACEOF
11129 cat confdefs.h
>>conftest.
$ac_ext
11130 cat >>conftest.
$ac_ext <<_ACEOF
11131 /* end confdefs.h. */
11132 $ac_includes_default
11137 char *p = (char *) snprintf;
11144 rm -f conftest.
$ac_objext
11145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11146 (eval $ac_compile) 2>conftest.er1
11148 grep -v '^ *+' conftest.er1
>conftest.err
11150 cat conftest.err
>&5
11151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152 (exit $ac_status); } &&
11153 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11155 (eval $ac_try) 2>&5
11157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11158 (exit $ac_status); }; } &&
11159 { ac_try
='test -s conftest.$ac_objext'
11160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11161 (eval $ac_try) 2>&5
11163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164 (exit $ac_status); }; }; then
11165 ac_cv_have_decl_snprintf
=yes
11167 echo "$as_me: failed program was:" >&5
11168 sed 's/^/| /' conftest.
$ac_ext >&5
11170 ac_cv_have_decl_snprintf
=no
11172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11174 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
11175 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
11176 if test $ac_cv_have_decl_snprintf = yes; then
11178 cat >>confdefs.h
<<_ACEOF
11179 #define HAVE_DECL_SNPRINTF 1
11184 cat >>confdefs.h
<<_ACEOF
11185 #define HAVE_DECL_SNPRINTF 0
11192 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
11193 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
11194 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
11195 echo $ECHO_N "(cached) $ECHO_C" >&6
11197 cat >conftest.
$ac_ext <<_ACEOF
11200 cat confdefs.h
>>conftest.
$ac_ext
11201 cat >>conftest.
$ac_ext <<_ACEOF
11202 /* end confdefs.h. */
11203 $ac_includes_default
11208 char *p = (char *) vsnprintf;
11215 rm -f conftest.
$ac_objext
11216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11217 (eval $ac_compile) 2>conftest.er1
11219 grep -v '^ *+' conftest.er1
>conftest.err
11221 cat conftest.err
>&5
11222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11223 (exit $ac_status); } &&
11224 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11226 (eval $ac_try) 2>&5
11228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 (exit $ac_status); }; } &&
11230 { ac_try
='test -s conftest.$ac_objext'
11231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11232 (eval $ac_try) 2>&5
11234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235 (exit $ac_status); }; }; then
11236 ac_cv_have_decl_vsnprintf
=yes
11238 echo "$as_me: failed program was:" >&5
11239 sed 's/^/| /' conftest.
$ac_ext >&5
11241 ac_cv_have_decl_vsnprintf
=no
11243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11245 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
11246 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
11247 if test $ac_cv_have_decl_vsnprintf = yes; then
11249 cat >>confdefs.h
<<_ACEOF
11250 #define HAVE_DECL_VSNPRINTF 1
11255 cat >>confdefs.h
<<_ACEOF
11256 #define HAVE_DECL_VSNPRINTF 0
11264 # If we are configured native, pick a core file support file.
11268 if test "${target}" = "${host}"; then
11270 alpha
*-*-freebsd* | alpha
*-*-kfreebsd*-gnu)
11274 COREFILE
=trad-core.lo
11275 TRAD_HEADER
='"hosts/alphalinux.h"'
11277 alpha
*-*-netbsd* | alpha
*-*-openbsd*)
11278 COREFILE
=netbsd-core.lo
11280 alpha
*-*-*) COREFILE
=osf-core.lo
;;
11281 arm-
*-freebsd* | arm-
*-kfreebsd*-gnu)
11283 arm-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
11284 arm-
*-riscix) COREFILE
=trad-core.lo
;;
11285 hppa
*-*-hpux*) COREFILE
=hpux-core.lo
;;
11286 hppa
*-*-hiux*) COREFILE
=hpux-core.lo
;;
11287 hppa
*-*-mpeix*) COREFILE
=hpux-core.lo
;;
11288 hppa
*-*-bsd*) COREFILE
="hpux-core.lo hppabsd-core.lo"
11289 COREFLAG
="-DHPUX_CORE -DHPPABSD_CORE" ;;
11290 hppa
*-*-netbsd* | hppa
*-*-openbsd*)
11291 COREFILE
=netbsd-core.lo
11295 COREFILE
=trad-core.lo
11296 TRAD_HEADER
='"hosts/i370linux.h"'
11299 i
[3-7]86-sequent-bsd*)
11300 COREFILE
=trad-core.lo
11301 TRAD_HEADER
='"hosts/symmetry.h"'
11303 i
[3-7]86-sequent-sysv4*) ;;
11304 i
[3-7]86-sequent-sysv*)
11305 COREFILE
=trad-core.lo
11306 TRAD_HEADER
='"hosts/symmetry.h"'
11311 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
*)
11312 COREFILE
=trad-core.lo
11313 TRAD_HEADER
='"hosts/i386bsd.h"'
11315 i
[3-7]86-*-freebsd* | i
[3-7]86-*-kfreebsd*-gnu)
11317 TRAD_HEADER
='"hosts/i386bsd.h"'
11319 i
[3-7]86-*-netbsd* | i
[3-7]86-*-knetbsd*-gnu | i
[3-7]86-*-openbsd*)
11320 COREFILE
=netbsd-core.lo
11322 i
[3-7]86-esix-sysv3*)
11323 COREFILE
=trad-core.lo
11324 TRAD_HEADER
='"hosts/esix.h"'
11326 i
[3-7]86-*-sco3.2v5
*)
11327 COREFILE
=sco5-core.lo
11329 i
[3-7]86-*-sco* | i
[3-7]86-*-isc*)
11330 COREFILE
=trad-core.lo
11331 TRAD_HEADER
='"hosts/i386sco.h"'
11334 COREFILE
=trad-core.lo
11335 TRAD_HEADER
='"hosts/i386mach3.h"'
11337 i
[3-7]86-*-linux-*)
11338 COREFILE
=trad-core.lo
11339 TRAD_HEADER
='"hosts/i386linux.h"'
11341 i
[3-7]86-*-isc*) COREFILE
=trad-core.lo
;;
11342 i
[3-7]86-*-aix*) COREFILE
=aix386-core.lo
;;
11343 i860-
*-mach3* | i860-
*-osf1*)
11344 COREFILE
=trad-core.lo
11345 TRAD_HEADER
='"hosts/i860mach3.h"'
11347 mips-
*-netbsd* | mips
*-*-openbsd*)
11348 COREFILE
=netbsd-core.lo
11351 COREFILE
=trad-core.lo
11352 TRAD_HEADER
='"hosts/decstation.h"'
11354 mips-sgi-irix4
*) COREFILE
=irix-core.lo
;;
11355 mips-sgi-irix5
*) COREFILE
=irix-core.lo
;;
11356 mips-sgi-irix6
*) COREFILE
=irix-core.lo
;;
11358 mips-
*-sysv* | mips-
*-riscos*)
11359 COREFILE
=trad-core.lo
11360 TRAD_HEADER
='"hosts/riscos.h"'
11363 COREFILE
=trad-core.lo
11364 TRAD_HEADER
='"hosts/news-mips.h"'
11367 COREFILE
=trad-core.lo
11368 TRAD_HEADER
='"hosts/dpx2.h"'
11370 m68
*-hp-hpux*) COREFILE
=hpux-core.lo
;;
11372 COREFILE
=trad-core.lo
11373 TRAD_HEADER
='"hosts/hp300bsd.h"'
11376 COREFILE
=trad-core.lo
11377 TRAD_HEADER
='"hosts/m68klinux.h"'
11379 m68
*-motorola-sysv*)
11380 COREFILE
=trad-core.lo
11381 TRAD_HEADER
='"hosts/delta68.h"'
11384 COREFILE
=trad-core.lo
11385 TRAD_HEADER
='"hosts/news.h"'
11387 m68
*-*-netbsd* | m68
*-*-openbsd*)
11388 COREFILE
=netbsd-core.lo
11391 COREFILE
=trad-core.lo
11392 TRAD_HEADER
='"hosts/m68kaux.h"'
11396 m88
*-motorola-sysv*)
11397 COREFILE
=ptrace-core.lo
11400 COREFILE
=trad-core.lo
11401 TRAD_HEADER
='"hosts/m88kmach3.h"'
11404 COREFILE
=netbsd-core.lo
11407 COREFILE
=trad-core.lo
11408 TRAD_HEADER
='"hosts/pc532mach.h"'
11410 ns32k-
*-netbsd* | ns32k-
*-openbsd*)
11411 COREFILE
=netbsd-core.lo
11414 COREFILE
=lynx-core.lo
11416 rs6000-
*-aix5.
* | powerpc-
*-aix5.
*)
11417 COREFILE
=rs6000-core.lo
11418 COREFLAG
="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
11420 rs6000-
*-aix4.
[3-9]* | powerpc-
*-aix4.
[3-9]*)
11421 COREFILE
=rs6000-core.lo
11422 COREFLAG
="$COREFLAG -DAIX_CORE_DUMPX_CORE"
11423 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
11424 # have c_impl as a member of struct core_dumpx
11425 echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
11426 echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
11427 cat >conftest.
$ac_ext <<_ACEOF
11430 cat confdefs.h
>>conftest.
$ac_ext
11431 cat >>conftest.
$ac_ext <<_ACEOF
11432 /* end confdefs.h. */
11437 struct core_dumpx c; c.c_impl = 0;
11442 rm -f conftest.
$ac_objext
11443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11444 (eval $ac_compile) 2>conftest.er1
11446 grep -v '^ *+' conftest.er1
>conftest.err
11448 cat conftest.err
>&5
11449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11450 (exit $ac_status); } &&
11451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11453 (eval $ac_try) 2>&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); }; } &&
11457 { ac_try
='test -s conftest.$ac_objext'
11458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11459 (eval $ac_try) 2>&5
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); }; }; then
11464 cat >>confdefs.h
<<\_ACEOF
11465 #define HAVE_ST_C_IMPL 1
11468 echo "$as_me:$LINENO: result: yes" >&5
11469 echo "${ECHO_T}yes" >&6
11471 echo "$as_me: failed program was:" >&5
11472 sed 's/^/| /' conftest.
$ac_ext >&5
11474 echo "$as_me:$LINENO: result: no" >&5
11475 echo "${ECHO_T}no" >&6
11477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11479 rs6000-
*-aix4*) COREFILE
=rs6000-core.lo
;;
11480 rs6000-
*-*) COREFILE
=rs6000-core.lo
;;
11481 powerpc-
*-aix4*) COREFILE
=rs6000-core.lo
;;
11482 powerpc-
*-aix*) COREFILE
=rs6000-core.lo
;;
11483 powerpc-
*-beos*) ;;
11484 powerpc-
*-freebsd* | powerpc-
*-kfreebsd*-gnu)
11486 powerpc-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
11487 powerpc-
*-*bsd
*) COREFILE
=netbsd-core.lo
;;
11488 s390
*-*-*) COREFILE
=trad-core.lo
;;
11489 sh
*-*-netbsd*) COREFILE
=netbsd-core.lo
;;
11490 sparc-
*-netbsd* | sparc
*-*-openbsd*)
11491 COREFILE
=netbsd-core.lo
11494 COREFILE
=trad-core.lo
11495 TRAD_HEADER
='"hosts/tahoe.h"'
11497 vax-
*-netbsd* | vax-
*-openbsd*)
11498 COREFILE
=netbsd-core.lo
11501 COREFILE
=trad-core.lo
11502 TRAD_HEADER
='"hosts/vaxult2.h"'
11505 COREFILE
=trad-core.lo
11506 TRAD_HEADER
='"hosts/vaxult2.h"'
11509 COREFILE
=trad-core.lo
11510 TRAD_HEADER
='"hosts/vaxlinux.h"'
11513 COREFILE
=trad-core.lo
11514 TRAD_HEADER
='"hosts/vaxbsd.h"'
11516 x86_64-
*-netbsd* | x86_64-
*-openbsd*)
11517 COREFILE
=netbsd-core.lo
11521 case "$COREFILE" in
11522 aix386-core.lo
) COREFLAG
=-DAIX386_CORE ;;
11523 hppabsd-core.lo
) COREFLAG
=-DHPPABSD_CORE ;;
11524 hpux-core.lo
) COREFLAG
=-DHPUX_CORE ;;
11525 irix-core.lo
) COREFLAG
=-DIRIX_CORE ;;
11526 lynx-core.lo
) COREFLAG
=-DLYNX_CORE ;;
11527 netbsd-core.lo
) COREFLAG
=-DNETBSD_CORE ;;
11528 osf-core.lo
) COREFLAG
=-DOSF_CORE ;;
11529 ptrace-core.lo
) COREFLAG
=-DPTRACE_CORE ;;
11530 rs6000-core.lo
) COREFLAG
="$COREFLAG -DAIX_CORE" ;;
11531 sco5-core.lo
) COREFLAG
="$COREFLAG -DSCO5_CORE" ;;
11532 trad-core.lo
) COREFLAG
="$COREFLAG -DTRAD_CORE" ;;
11535 # ELF corefile support has several flavors, but all of
11536 # them use something called <sys/procfs.h>
11538 for ac_header
in sys
/procfs.h
11540 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11542 echo "$as_me:$LINENO: checking for $ac_header" >&5
11543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11545 echo $ECHO_N "(cached) $ECHO_C" >&6
11547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11550 # Is the header compilable?
11551 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11552 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11553 cat >conftest.
$ac_ext <<_ACEOF
11556 cat confdefs.h
>>conftest.
$ac_ext
11557 cat >>conftest.
$ac_ext <<_ACEOF
11558 /* end confdefs.h. */
11559 $ac_includes_default
11560 #include <$ac_header>
11562 rm -f conftest.
$ac_objext
11563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11564 (eval $ac_compile) 2>conftest.er1
11566 grep -v '^ *+' conftest.er1
>conftest.err
11568 cat conftest.err
>&5
11569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11570 (exit $ac_status); } &&
11571 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11573 (eval $ac_try) 2>&5
11575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576 (exit $ac_status); }; } &&
11577 { ac_try
='test -s conftest.$ac_objext'
11578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11579 (eval $ac_try) 2>&5
11581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11582 (exit $ac_status); }; }; then
11583 ac_header_compiler
=yes
11585 echo "$as_me: failed program was:" >&5
11586 sed 's/^/| /' conftest.
$ac_ext >&5
11588 ac_header_compiler
=no
11590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11591 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11592 echo "${ECHO_T}$ac_header_compiler" >&6
11594 # Is the header present?
11595 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11596 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11597 cat >conftest.
$ac_ext <<_ACEOF
11600 cat confdefs.h
>>conftest.
$ac_ext
11601 cat >>conftest.
$ac_ext <<_ACEOF
11602 /* end confdefs.h. */
11603 #include <$ac_header>
11605 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11606 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11608 grep -v '^ *+' conftest.er1
>conftest.err
11610 cat conftest.err
>&5
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); } >/dev
/null
; then
11613 if test -s conftest.err
; then
11614 ac_cpp_err
=$ac_c_preproc_warn_flag
11615 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11622 if test -z "$ac_cpp_err"; then
11623 ac_header_preproc
=yes
11625 echo "$as_me: failed program was:" >&5
11626 sed 's/^/| /' conftest.
$ac_ext >&5
11628 ac_header_preproc
=no
11630 rm -f conftest.err conftest.
$ac_ext
11631 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11632 echo "${ECHO_T}$ac_header_preproc" >&6
11634 # So? What about this header?
11635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11637 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11638 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11639 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11640 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11641 ac_header_preproc
=yes
11644 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11645 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11646 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11647 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11648 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11649 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11650 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11651 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11652 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11653 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11654 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11655 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11658 ## ------------------------------------------ ##
11659 ## Report this to the AC_PACKAGE_NAME lists. ##
11660 ## ------------------------------------------ ##
11663 sed "s/^/$as_me: WARNING: /" >&2
11666 echo "$as_me:$LINENO: checking for $ac_header" >&5
11667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11669 echo $ECHO_N "(cached) $ECHO_C" >&6
11671 eval "$as_ac_Header=\$ac_header_preproc"
11673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11674 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11677 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11678 cat >>confdefs.h
<<_ACEOF
11679 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11686 if test "$ac_cv_header_sys_procfs_h" = yes; then
11687 echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
11688 echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
11689 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+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>
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" || test ! -s conftest.err'
11719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11720 (eval $ac_try) 2>&5
11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723 (exit $ac_status); }; } &&
11724 { ac_try
='test -s conftest.$ac_objext'
11725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11726 (eval $ac_try) 2>&5
11728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11729 (exit $ac_status); }; }; then
11730 bfd_cv_have_sys_procfs_type_prstatus_t
=yes
11732 echo "$as_me: failed program was:" >&5
11733 sed 's/^/| /' conftest.
$ac_ext >&5
11735 bfd_cv_have_sys_procfs_type_prstatus_t
=no
11738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11741 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
11743 cat >>confdefs.h
<<\_ACEOF
11744 #define HAVE_PRSTATUS_T 1
11748 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
11749 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
11751 echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
11752 echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
11753 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
11754 echo $ECHO_N "(cached) $ECHO_C" >&6
11756 cat >conftest.
$ac_ext <<_ACEOF
11759 cat confdefs.h
>>conftest.
$ac_ext
11760 cat >>conftest.
$ac_ext <<_ACEOF
11761 /* end confdefs.h. */
11764 #include <sys/procfs.h>
11773 rm -f conftest.
$ac_objext
11774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11775 (eval $ac_compile) 2>conftest.er1
11777 grep -v '^ *+' conftest.er1
>conftest.err
11779 cat conftest.err
>&5
11780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11781 (exit $ac_status); } &&
11782 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11784 (eval $ac_try) 2>&5
11786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11787 (exit $ac_status); }; } &&
11788 { ac_try
='test -s conftest.$ac_objext'
11789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11790 (eval $ac_try) 2>&5
11792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11793 (exit $ac_status); }; }; then
11794 bfd_cv_have_sys_procfs_type_prstatus32_t
=yes
11796 echo "$as_me: failed program was:" >&5
11797 sed 's/^/| /' conftest.
$ac_ext >&5
11799 bfd_cv_have_sys_procfs_type_prstatus32_t
=no
11802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11805 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
11807 cat >>confdefs.h
<<\_ACEOF
11808 #define HAVE_PRSTATUS32_T 1
11812 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
11813 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
11815 echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
11816 echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
11817 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
11818 echo $ECHO_N "(cached) $ECHO_C" >&6
11820 cat >conftest.
$ac_ext <<_ACEOF
11823 cat confdefs.h
>>conftest.
$ac_ext
11824 cat >>conftest.
$ac_ext <<_ACEOF
11825 /* end confdefs.h. */
11828 #include <sys/procfs.h>
11832 prstatus_t avar; void* aref = (void*) &avar.pr_who
11837 rm -f conftest.
$ac_objext
11838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11839 (eval $ac_compile) 2>conftest.er1
11841 grep -v '^ *+' conftest.er1
>conftest.err
11843 cat conftest.err
>&5
11844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11845 (exit $ac_status); } &&
11846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11848 (eval $ac_try) 2>&5
11850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11851 (exit $ac_status); }; } &&
11852 { ac_try
='test -s conftest.$ac_objext'
11853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11854 (eval $ac_try) 2>&5
11856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11857 (exit $ac_status); }; }; then
11858 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=yes
11860 echo "$as_me: failed program was:" >&5
11861 sed 's/^/| /' conftest.
$ac_ext >&5
11863 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=no
11866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11869 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
11871 cat >>confdefs.h
<<\_ACEOF
11872 #define HAVE_PRSTATUS_T_PR_WHO 1
11876 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
11877 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
11879 echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
11880 echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
11881 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
11882 echo $ECHO_N "(cached) $ECHO_C" >&6
11884 cat >conftest.
$ac_ext <<_ACEOF
11887 cat confdefs.h
>>conftest.
$ac_ext
11888 cat >>conftest.
$ac_ext <<_ACEOF
11889 /* end confdefs.h. */
11892 #include <sys/procfs.h>
11896 prstatus32_t avar; void* aref = (void*) &avar.pr_who
11901 rm -f conftest.
$ac_objext
11902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11903 (eval $ac_compile) 2>conftest.er1
11905 grep -v '^ *+' conftest.er1
>conftest.err
11907 cat conftest.err
>&5
11908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909 (exit $ac_status); } &&
11910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11912 (eval $ac_try) 2>&5
11914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915 (exit $ac_status); }; } &&
11916 { ac_try
='test -s conftest.$ac_objext'
11917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11918 (eval $ac_try) 2>&5
11920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11921 (exit $ac_status); }; }; then
11922 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=yes
11924 echo "$as_me: failed program was:" >&5
11925 sed 's/^/| /' conftest.
$ac_ext >&5
11927 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=no
11930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11933 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
11935 cat >>confdefs.h
<<\_ACEOF
11936 #define HAVE_PRSTATUS32_T_PR_WHO 1
11940 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
11941 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
11943 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
11944 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
11945 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
11946 echo $ECHO_N "(cached) $ECHO_C" >&6
11948 cat >conftest.
$ac_ext <<_ACEOF
11951 cat confdefs.h
>>conftest.
$ac_ext
11952 cat >>conftest.
$ac_ext <<_ACEOF
11953 /* end confdefs.h. */
11956 #include <sys/procfs.h>
11965 rm -f conftest.
$ac_objext
11966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11967 (eval $ac_compile) 2>conftest.er1
11969 grep -v '^ *+' conftest.er1
>conftest.err
11971 cat conftest.err
>&5
11972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973 (exit $ac_status); } &&
11974 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11976 (eval $ac_try) 2>&5
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); }; } &&
11980 { ac_try
='test -s conftest.$ac_objext'
11981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11982 (eval $ac_try) 2>&5
11984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985 (exit $ac_status); }; }; then
11986 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
11988 echo "$as_me: failed program was:" >&5
11989 sed 's/^/| /' conftest.
$ac_ext >&5
11991 bfd_cv_have_sys_procfs_type_pstatus_t
=no
11994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11997 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
11999 cat >>confdefs.h
<<\_ACEOF
12000 #define HAVE_PSTATUS_T 1
12004 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
12005 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
12007 echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
12008 echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
12009 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
12010 echo $ECHO_N "(cached) $ECHO_C" >&6
12012 cat >conftest.
$ac_ext <<_ACEOF
12015 cat confdefs.h
>>conftest.
$ac_ext
12016 cat >>conftest.
$ac_ext <<_ACEOF
12017 /* end confdefs.h. */
12020 #include <sys/procfs.h>
12029 rm -f conftest.
$ac_objext
12030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12031 (eval $ac_compile) 2>conftest.er1
12033 grep -v '^ *+' conftest.er1
>conftest.err
12035 cat conftest.err
>&5
12036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12037 (exit $ac_status); } &&
12038 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12040 (eval $ac_try) 2>&5
12042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12043 (exit $ac_status); }; } &&
12044 { ac_try
='test -s conftest.$ac_objext'
12045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12046 (eval $ac_try) 2>&5
12048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12049 (exit $ac_status); }; }; then
12050 bfd_cv_have_sys_procfs_type_pxstatus_t
=yes
12052 echo "$as_me: failed program was:" >&5
12053 sed 's/^/| /' conftest.
$ac_ext >&5
12055 bfd_cv_have_sys_procfs_type_pxstatus_t
=no
12058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12061 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
12063 cat >>confdefs.h
<<\_ACEOF
12064 #define HAVE_PXSTATUS_T 1
12068 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
12069 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
12071 echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
12072 echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
12073 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
12074 echo $ECHO_N "(cached) $ECHO_C" >&6
12076 cat >conftest.
$ac_ext <<_ACEOF
12079 cat confdefs.h
>>conftest.
$ac_ext
12080 cat >>conftest.
$ac_ext <<_ACEOF
12081 /* end confdefs.h. */
12084 #include <sys/procfs.h>
12093 rm -f conftest.
$ac_objext
12094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12095 (eval $ac_compile) 2>conftest.er1
12097 grep -v '^ *+' conftest.er1
>conftest.err
12099 cat conftest.err
>&5
12100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12101 (exit $ac_status); } &&
12102 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12104 (eval $ac_try) 2>&5
12106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12107 (exit $ac_status); }; } &&
12108 { ac_try
='test -s conftest.$ac_objext'
12109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12110 (eval $ac_try) 2>&5
12112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12113 (exit $ac_status); }; }; then
12114 bfd_cv_have_sys_procfs_type_pstatus32_t
=yes
12116 echo "$as_me: failed program was:" >&5
12117 sed 's/^/| /' conftest.
$ac_ext >&5
12119 bfd_cv_have_sys_procfs_type_pstatus32_t
=no
12122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12125 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
12127 cat >>confdefs.h
<<\_ACEOF
12128 #define HAVE_PSTATUS32_T 1
12132 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
12133 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
12135 echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
12136 echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
12137 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
12138 echo $ECHO_N "(cached) $ECHO_C" >&6
12140 cat >conftest.
$ac_ext <<_ACEOF
12143 cat confdefs.h
>>conftest.
$ac_ext
12144 cat >>conftest.
$ac_ext <<_ACEOF
12145 /* end confdefs.h. */
12148 #include <sys/procfs.h>
12157 rm -f conftest.
$ac_objext
12158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12159 (eval $ac_compile) 2>conftest.er1
12161 grep -v '^ *+' conftest.er1
>conftest.err
12163 cat conftest.err
>&5
12164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12165 (exit $ac_status); } &&
12166 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12168 (eval $ac_try) 2>&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); }; } &&
12172 { ac_try
='test -s conftest.$ac_objext'
12173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12174 (eval $ac_try) 2>&5
12176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12177 (exit $ac_status); }; }; then
12178 bfd_cv_have_sys_procfs_type_prpsinfo_t
=yes
12180 echo "$as_me: failed program was:" >&5
12181 sed 's/^/| /' conftest.
$ac_ext >&5
12183 bfd_cv_have_sys_procfs_type_prpsinfo_t
=no
12186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12189 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
12191 cat >>confdefs.h
<<\_ACEOF
12192 #define HAVE_PRPSINFO_T 1
12196 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
12197 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
12199 echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
12200 echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
12201 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
12202 echo $ECHO_N "(cached) $ECHO_C" >&6
12204 cat >conftest.
$ac_ext <<_ACEOF
12207 cat confdefs.h
>>conftest.
$ac_ext
12208 cat >>conftest.
$ac_ext <<_ACEOF
12209 /* end confdefs.h. */
12212 #include <sys/procfs.h>
12221 rm -f conftest.
$ac_objext
12222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12223 (eval $ac_compile) 2>conftest.er1
12225 grep -v '^ *+' conftest.er1
>conftest.err
12227 cat conftest.err
>&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); } &&
12230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12232 (eval $ac_try) 2>&5
12234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 (exit $ac_status); }; } &&
12236 { ac_try
='test -s conftest.$ac_objext'
12237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12238 (eval $ac_try) 2>&5
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); }; }; then
12242 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=yes
12244 echo "$as_me: failed program was:" >&5
12245 sed 's/^/| /' conftest.
$ac_ext >&5
12247 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=no
12250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12253 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
12255 cat >>confdefs.h
<<\_ACEOF
12256 #define HAVE_PRPSINFO32_T 1
12260 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
12261 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
12263 echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
12264 echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
12265 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
12266 echo $ECHO_N "(cached) $ECHO_C" >&6
12268 cat >conftest.
$ac_ext <<_ACEOF
12271 cat confdefs.h
>>conftest.
$ac_ext
12272 cat >>conftest.
$ac_ext <<_ACEOF
12273 /* end confdefs.h. */
12276 #include <sys/procfs.h>
12285 rm -f conftest.
$ac_objext
12286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12287 (eval $ac_compile) 2>conftest.er1
12289 grep -v '^ *+' conftest.er1
>conftest.err
12291 cat conftest.err
>&5
12292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12293 (exit $ac_status); } &&
12294 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12296 (eval $ac_try) 2>&5
12298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12299 (exit $ac_status); }; } &&
12300 { ac_try
='test -s conftest.$ac_objext'
12301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12302 (eval $ac_try) 2>&5
12304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305 (exit $ac_status); }; }; then
12306 bfd_cv_have_sys_procfs_type_psinfo_t
=yes
12308 echo "$as_me: failed program was:" >&5
12309 sed 's/^/| /' conftest.
$ac_ext >&5
12311 bfd_cv_have_sys_procfs_type_psinfo_t
=no
12314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12317 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
12319 cat >>confdefs.h
<<\_ACEOF
12320 #define HAVE_PSINFO_T 1
12324 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
12325 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
12327 echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
12328 echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
12329 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
12330 echo $ECHO_N "(cached) $ECHO_C" >&6
12332 cat >conftest.
$ac_ext <<_ACEOF
12335 cat confdefs.h
>>conftest.
$ac_ext
12336 cat >>conftest.
$ac_ext <<_ACEOF
12337 /* end confdefs.h. */
12340 #include <sys/procfs.h>
12349 rm -f conftest.
$ac_objext
12350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12351 (eval $ac_compile) 2>conftest.er1
12353 grep -v '^ *+' conftest.er1
>conftest.err
12355 cat conftest.err
>&5
12356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12357 (exit $ac_status); } &&
12358 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12360 (eval $ac_try) 2>&5
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); }; } &&
12364 { ac_try
='test -s conftest.$ac_objext'
12365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12366 (eval $ac_try) 2>&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); }; }; then
12370 bfd_cv_have_sys_procfs_type_psinfo32_t
=yes
12372 echo "$as_me: failed program was:" >&5
12373 sed 's/^/| /' conftest.
$ac_ext >&5
12375 bfd_cv_have_sys_procfs_type_psinfo32_t
=no
12378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12381 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
12383 cat >>confdefs.h
<<\_ACEOF
12384 #define HAVE_PSINFO32_T 1
12388 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
12389 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
12391 echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
12392 echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
12393 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
12394 echo $ECHO_N "(cached) $ECHO_C" >&6
12396 cat >conftest.
$ac_ext <<_ACEOF
12399 cat confdefs.h
>>conftest.
$ac_ext
12400 cat >>conftest.
$ac_ext <<_ACEOF
12401 /* end confdefs.h. */
12404 #include <sys/procfs.h>
12413 rm -f conftest.
$ac_objext
12414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12415 (eval $ac_compile) 2>conftest.er1
12417 grep -v '^ *+' conftest.er1
>conftest.err
12419 cat conftest.err
>&5
12420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421 (exit $ac_status); } &&
12422 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12424 (eval $ac_try) 2>&5
12426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12427 (exit $ac_status); }; } &&
12428 { ac_try
='test -s conftest.$ac_objext'
12429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12430 (eval $ac_try) 2>&5
12432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12433 (exit $ac_status); }; }; then
12434 bfd_cv_have_sys_procfs_type_lwpstatus_t
=yes
12436 echo "$as_me: failed program was:" >&5
12437 sed 's/^/| /' conftest.
$ac_ext >&5
12439 bfd_cv_have_sys_procfs_type_lwpstatus_t
=no
12442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12445 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
12447 cat >>confdefs.h
<<\_ACEOF
12448 #define HAVE_LWPSTATUS_T 1
12452 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
12453 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
12455 echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
12456 echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
12457 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
12458 echo $ECHO_N "(cached) $ECHO_C" >&6
12460 cat >conftest.
$ac_ext <<_ACEOF
12463 cat confdefs.h
>>conftest.
$ac_ext
12464 cat >>conftest.
$ac_ext <<_ACEOF
12465 /* end confdefs.h. */
12468 #include <sys/procfs.h>
12477 rm -f conftest.
$ac_objext
12478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12479 (eval $ac_compile) 2>conftest.er1
12481 grep -v '^ *+' conftest.er1
>conftest.err
12483 cat conftest.err
>&5
12484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12485 (exit $ac_status); } &&
12486 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12488 (eval $ac_try) 2>&5
12490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12491 (exit $ac_status); }; } &&
12492 { ac_try
='test -s conftest.$ac_objext'
12493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12494 (eval $ac_try) 2>&5
12496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12497 (exit $ac_status); }; }; then
12498 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=yes
12500 echo "$as_me: failed program was:" >&5
12501 sed 's/^/| /' conftest.
$ac_ext >&5
12503 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=no
12506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12509 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
12511 cat >>confdefs.h
<<\_ACEOF
12512 #define HAVE_LWPXSTATUS_T 1
12516 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
12517 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
12519 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
12520 echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
12521 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
12522 echo $ECHO_N "(cached) $ECHO_C" >&6
12524 cat >conftest.
$ac_ext <<_ACEOF
12527 cat confdefs.h
>>conftest.
$ac_ext
12528 cat >>conftest.
$ac_ext <<_ACEOF
12529 /* end confdefs.h. */
12532 #include <sys/procfs.h>
12536 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
12541 rm -f conftest.
$ac_objext
12542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12543 (eval $ac_compile) 2>conftest.er1
12545 grep -v '^ *+' conftest.er1
>conftest.err
12547 cat conftest.err
>&5
12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549 (exit $ac_status); } &&
12550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12552 (eval $ac_try) 2>&5
12554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); }; } &&
12556 { ac_try
='test -s conftest.$ac_objext'
12557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12558 (eval $ac_try) 2>&5
12560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12561 (exit $ac_status); }; }; then
12562 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=yes
12564 echo "$as_me: failed program was:" >&5
12565 sed 's/^/| /' conftest.
$ac_ext >&5
12567 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=no
12570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12573 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
12575 cat >>confdefs.h
<<\_ACEOF
12576 #define HAVE_LWPSTATUS_T_PR_CONTEXT 1
12580 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
12581 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
12583 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
12584 echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
12585 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
12586 echo $ECHO_N "(cached) $ECHO_C" >&6
12588 cat >conftest.
$ac_ext <<_ACEOF
12591 cat confdefs.h
>>conftest.
$ac_ext
12592 cat >>conftest.
$ac_ext <<_ACEOF
12593 /* end confdefs.h. */
12596 #include <sys/procfs.h>
12600 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
12605 rm -f conftest.
$ac_objext
12606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12607 (eval $ac_compile) 2>conftest.er1
12609 grep -v '^ *+' conftest.er1
>conftest.err
12611 cat conftest.err
>&5
12612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12613 (exit $ac_status); } &&
12614 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12616 (eval $ac_try) 2>&5
12618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12619 (exit $ac_status); }; } &&
12620 { ac_try
='test -s conftest.$ac_objext'
12621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12622 (eval $ac_try) 2>&5
12624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12625 (exit $ac_status); }; }; then
12626 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=yes
12628 echo "$as_me: failed program was:" >&5
12629 sed 's/^/| /' conftest.
$ac_ext >&5
12631 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=no
12634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12637 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
12639 cat >>confdefs.h
<<\_ACEOF
12640 #define HAVE_LWPSTATUS_T_PR_REG 1
12644 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
12645 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
12647 echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
12648 echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
12649 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
12650 echo $ECHO_N "(cached) $ECHO_C" >&6
12652 cat >conftest.
$ac_ext <<_ACEOF
12655 cat confdefs.h
>>conftest.
$ac_ext
12656 cat >>conftest.
$ac_ext <<_ACEOF
12657 /* end confdefs.h. */
12660 #include <sys/procfs.h>
12664 win32_pstatus_t avar
12669 rm -f conftest.
$ac_objext
12670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12671 (eval $ac_compile) 2>conftest.er1
12673 grep -v '^ *+' conftest.er1
>conftest.err
12675 cat conftest.err
>&5
12676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); } &&
12678 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12680 (eval $ac_try) 2>&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); }; } &&
12684 { ac_try
='test -s conftest.$ac_objext'
12685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12686 (eval $ac_try) 2>&5
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); }; }; then
12690 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=yes
12692 echo "$as_me: failed program was:" >&5
12693 sed 's/^/| /' conftest.
$ac_ext >&5
12695 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=no
12698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12701 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
12703 cat >>confdefs.h
<<\_ACEOF
12704 #define HAVE_WIN32_PSTATUS_T 1
12708 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
12709 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
12715 if test -n "$TRAD_HEADER"; then
12717 cat >>confdefs.h
<<_ACEOF
12718 #define TRAD_HEADER $TRAD_HEADER
12723 # Horrible hacks to build DLLs on Windows.
12728 if test "$enable_shared" = "yes"; then
12729 WIN32LDFLAGS
="-no-undefined"
12730 WIN32LIBADD
="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
12734 # We borrow WIN32LIBADD so that the shared libbfd won't depend on
12738 # Linux/MIPS uses PIC by default.
12739 if test "$enable_shared" = "yes"; then
12740 WIN32LIBADD
="-L../libiberty -liberty"
12744 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
12745 if test -n "$x"; then
12746 WIN32LIBADD
="-L../libiberty/pic -liberty"
12757 # Canonicalize the secondary target names.
12758 if test -n "$enable_targets" ; then
12759 for targ
in `echo $enable_targets | sed 's/,/ /g'`
12761 result
=`$ac_config_sub $targ 2>/dev/null`
12762 if test -n "$result" ; then
12763 canon_targets
="$canon_targets $result"
12765 # Allow targets that config.sub doesn't recognize, like "all".
12766 canon_targets
="$canon_targets $targ"
12777 for targ
in $target $canon_targets
12779 if test "x$targ" = "xall"; then
12781 assocvecs
="$assocvecs $targ_defvec $targ_selvecs"
12783 .
$srcdir/config.bfd
12784 if test "x$targ" = "x$target"; then
12785 defvec
=$targ_defvec
12787 selvecs
="$selvecs $targ_defvec $targ_selvecs"
12788 selarchs
="$selarchs $targ_archs"
12789 TDEFINES
="$TDEFINES $targ_cflags"
12794 # This processing still needs to be done if we're to decide properly whether
12795 # 64-bit support needs to be compiled in. Currently, it will be included if
12796 # the default or any other explicitly requested target requires it; it
12797 # will not be included on a 32-bit host if no 64-bit target is requested, and
12798 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
12801 # uniq the default and selected vectors in all the configured targets.
12803 for i
in $selvecs ; do
12812 # uniq the associated vectors in all the configured targets.
12814 for i
in $assocvecs ; do
12823 # uniq the architectures in all the configured targets.
12825 for i
in $selarchs ; do
12833 # Target backend .o files.
12836 elf
="elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
12838 for vec
in $selvecs
12842 # This list is alphabetized to make it easy to compare
12843 # with the two vector lists in targets.c. For the same reason,
12844 # use one entry per line, even though this leads to long lines.
12845 a_out_adobe_vec
) tb
="$tb aout-adobe.lo aout32.lo" ;;
12846 aix5coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
12847 aout0_big_vec
) tb
="$tb aout0.lo aout32.lo" ;;
12848 aout_arm_big_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
12849 aout_arm_little_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
12850 apollocoff_vec
) tb
="$tb coff-apollo.lo" ;;
12851 arm_epoc_pe_big_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
12852 arm_epoc_pe_little_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
12853 arm_epoc_pei_big_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
12854 arm_epoc_pei_little_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
12855 armcoff_big_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
12856 armcoff_little_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
12857 armnetbsd_vec
) tb
="$tb armnetbsd.lo aout32.lo" ;;
12858 armpe_big_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
12859 armpe_little_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
12860 armpei_big_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
12861 armpei_little_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
12862 b_out_vec_big_host
) tb
="$tb bout.lo aout32.lo" ;;
12863 b_out_vec_little_host
) tb
="$tb bout.lo aout32.lo" ;;
12864 bfd_efi_app_ia32_vec
) tb
="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;;
12865 bfd_efi_app_ia64_vec
) tb
="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
12866 bfd_elf32_am33lin_vec
) tb
="$tb elf32-am33lin.lo elf32.lo $elf" ;;
12867 bfd_elf32_avr_vec
) tb
="$tb elf32-avr.lo elf32.lo $elf" ;;
12868 bfd_elf32_bfin_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
12869 bfd_elf32_big_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
12870 bfd_elf32_bigarc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
12871 bfd_elf32_bigarm_vec
) tb
="$tb elf32-arm.lo elf32.lo $elf" ;;
12872 bfd_elf32_bigarm_symbian_vec
)
12873 tb
="$tb elf32-arm.lo elf32.lo $elf" ;;
12874 bfd_elf32_bigarm_vxworks_vec
)
12875 tb
="$tb elf32-arm.lo elf32.lo $elf" ;;
12876 bfd_elf32_bigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
12877 bfd_elf32_cr16c_vec
) tb
="$tb elf32-cr16c.lo elf32.lo $elf" ;;
12878 bfd_elf32_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
12879 bfd_elf32_crx_vec
) tb
="$tb elf32-crx.lo elf32.lo $elf" ;;
12880 bfd_elf32_d10v_vec
) tb
="$tb elf32-d10v.lo elf32.lo $elf" ;;
12881 bfd_elf32_d30v_vec
) tb
="$tb elf32-d30v.lo elf32.lo $elf" ;;
12882 bfd_elf32_dlx_big_vec
) tb
="$tb elf32-dlx.lo elf32.lo $elf" ;;
12883 bfd_elf32_fr30_vec
) tb
="$tb elf32-fr30.lo elf32.lo $elf" ;;
12884 bfd_elf32_frv_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
12885 bfd_elf32_frvfdpic_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
12886 bfd_elf32_h8300_vec
) tb
="$tb elf32-h8300.lo elf32.lo $elf" ;;
12887 bfd_elf32_hppa_linux_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
12888 bfd_elf32_hppa_nbsd_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
12889 bfd_elf32_hppa_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
12890 bfd_elf32_i370_vec
) tb
="$tb elf32-i370.lo elf32.lo $elf" ;;
12891 bfd_elf32_i386_freebsd_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
12892 bfd_elf32_i386_vxworks_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
12893 bfd_elf32_i386_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
12894 bfd_elf32_i860_little_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
12895 bfd_elf32_i860_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
12896 bfd_elf32_i960_vec
) tb
="$tb elf32-i960.lo elf32.lo $elf" ;;
12897 bfd_elf32_ia64_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf" ;;
12898 bfd_elf32_ia64_hpux_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf";;
12899 bfd_elf32_ip2k_vec
) tb
="$tb elf32-ip2k.lo elf32.lo $elf" ;;
12900 bfd_elf32_iq2000_vec
) tb
="$tb elf32-iq2000.lo elf32.lo $elf" ;;
12901 bfd_elf32_little_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
12902 bfd_elf32_littlearc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
12903 bfd_elf32_littlearm_symbian_vec
)
12904 tb
="$tb elf32-arm.lo elf32.lo $elf" ;;
12905 bfd_elf32_littlearm_vxworks_vec
)
12906 tb
="$tb elf32-arm.lo elf32.lo $elf" ;;
12907 bfd_elf32_littlearm_vec
) tb
="$tb elf32-arm.lo elf32.lo $elf" ;;
12908 bfd_elf32_littlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
12909 bfd_elf32_m32c_vec
) tb
="$tb elf32-m32c.lo elf32.lo $elf" ;;
12910 bfd_elf32_m32r_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
12911 bfd_elf32_m32rle_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
12912 bfd_elf32_m32rlin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
12913 bfd_elf32_m32rlelin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
12914 bfd_elf32_m68hc11_vec
) tb
="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
12915 bfd_elf32_m68hc12_vec
) tb
="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
12916 bfd_elf32_m68k_vec
) tb
="$tb elf32-m68k.lo elf32.lo $elf" ;;
12917 bfd_elf32_m88k_vec
) tb
="$tb elf32-m88k.lo elf32.lo $elf" ;;
12918 bfd_elf32_mcore_big_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
12919 bfd_elf32_mcore_little_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
12920 bfd_elf32_mn10200_vec
) tb
="$tb elf-m10200.lo elf32.lo $elf" ;;
12921 bfd_elf32_mn10300_vec
) tb
="$tb elf-m10300.lo elf32.lo $elf" ;;
12922 bfd_elf32_ms1_vec
) tb
="$tb elf32-ms1.lo elf32.lo $elf" ;;
12923 bfd_elf32_msp430_vec
) tb
="$tb elf32-msp430.lo elf32.lo $elf" ;;
12924 bfd_elf32_nbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
12925 bfd_elf32_nlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
12926 bfd_elf32_ntradbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
12927 bfd_elf32_ntradlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
12928 bfd_elf32_openrisc_vec
) tb
="$tb elf32-openrisc.lo elf32.lo $elf" ;;
12929 bfd_elf32_or32_big_vec
) tb
="$tb elf32-or32.lo elf32.lo $elf" ;;
12930 bfd_elf32_pj_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
12931 bfd_elf32_pjl_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
12932 bfd_elf32_powerpc_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
12933 bfd_elf32_powerpcle_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
12934 bfd_elf32_powerpc_vxworks_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
12935 bfd_elf32_s390_vec
) tb
="$tb elf32-s390.lo elf32.lo $elf" ;;
12936 # FIXME: We include cofflink.lo not because it's needed for
12937 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
12938 # which needs it but does not list it. Should be fixed in right place.
12939 bfd_elf32_sh64_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
12940 bfd_elf32_sh64l_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
12941 bfd_elf32_sh64lin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
12942 bfd_elf32_sh64blin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
12943 bfd_elf32_sh64lnbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;;
12944 bfd_elf32_sh64nbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;;
12945 bfd_elf32_sh_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;;
12946 bfd_elf32_shblin_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
12947 bfd_elf32_shl_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;;
12948 bfd_elf32_shl_symbian_vec
) tb
="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf32.lo $elf coff-sh.lo" ;;
12949 bfd_elf32_shlin_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
12950 bfd_elf32_shlnbsd_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
12951 bfd_elf32_shnbsd_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
12952 bfd_elf32_sparc_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf32.lo $elf" ;;
12953 bfd_elf32_tradbigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
12954 bfd_elf32_tradlittlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
12955 bfd_elf32_us_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
12956 bfd_elf32_v850_vec
) tb
="$tb elf32-v850.lo elf32.lo $elf" ;;
12957 bfd_elf32_vax_vec
) tb
="$tb elf32-vax.lo elf32.lo $elf" ;;
12958 bfd_elf32_xstormy16_vec
) tb
="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
12959 bfd_elf32_xtensa_le_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
12960 bfd_elf32_xtensa_be_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
12961 bfd_elf64_alpha_freebsd_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
12962 bfd_elf64_alpha_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
12963 bfd_elf64_big_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
12964 bfd_elf64_bigmips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
12965 bfd_elf64_hppa_linux_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
12966 bfd_elf64_hppa_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
12967 bfd_elf64_ia64_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
12968 bfd_elf64_ia64_hpux_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
12969 bfd_elf64_ia64_little_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
12970 bfd_elf64_little_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
12971 bfd_elf64_littlemips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
12972 bfd_elf64_mmix_vec
) tb
="$tb elf64-mmix.lo elf64.lo $elf" target_size
=64 ;;
12973 bfd_elf64_powerpc_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
12974 bfd_elf64_powerpcle_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size
=64 ;;
12975 bfd_elf64_s390_vec
) tb
="$tb elf64-s390.lo elf64.lo $elf"; target_size
=64 ;;
12976 bfd_elf64_sh64_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
12977 bfd_elf64_sh64l_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
12978 bfd_elf64_sh64lin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
12979 bfd_elf64_sh64blin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
12980 bfd_elf64_sh64lnbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
12981 bfd_elf64_sh64nbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
12982 bfd_elf64_sparc_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf64.lo $elf"; target_size
=64 ;;
12983 bfd_elf64_tradbigmips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
12984 bfd_elf64_tradlittlemips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
12985 bfd_elf64_x86_64_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
12986 bfd_mmo_vec
) tb
="$tb mmo.lo" target_size
=64 ;;
12987 bfd_powerpc_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
12988 bfd_powerpc_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
12989 bfd_powerpcle_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
12990 bfd_powerpcle_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
12991 cris_aout_vec
) tb
="$tb aout-cris.lo" ;;
12992 demo_64_vec
) tb
="$tb demo64.lo aout64.lo"; target_size
=64 ;;
12993 ecoff_big_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
12994 ecoff_biglittle_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
12995 ecoff_little_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
12996 ecoffalpha_little_vec
) tb
="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size
=64 ;;
12997 go32coff_vec
) tb
="$tb coff-go32.lo cofflink.lo" ;;
12998 go32stubbedcoff_vec
) tb
="$tb coff-stgo32.lo cofflink.lo" ;;
12999 h8300coff_vec
) tb
="$tb coff-h8300.lo reloc16.lo" ;;
13000 h8500coff_vec
) tb
="$tb coff-h8500.lo reloc16.lo" ;;
13001 host_aout_vec
) tb
="$tb host-aout.lo aout32.lo" ;;
13002 hp300bsd_vec
) tb
="$tb hp300bsd.lo aout32.lo" ;;
13003 hp300hpux_vec
) tb
="$tb hp300hpux.lo aout32.lo" ;;
13004 i386aout_vec
) tb
="$tb i386aout.lo aout32.lo" ;;
13005 i386bsd_vec
) tb
="$tb i386bsd.lo aout32.lo" ;;
13006 i386coff_vec
) tb
="$tb coff-i386.lo cofflink.lo" ;;
13007 i386dynix_vec
) tb
="$tb i386dynix.lo aout32.lo" ;;
13008 i386freebsd_vec
) tb
="$tb i386freebsd.lo aout32.lo" ;;
13009 i386linux_vec
) tb
="$tb i386linux.lo aout32.lo" ;;
13010 i386lynx_aout_vec
) tb
="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
13011 i386lynx_coff_vec
) tb
="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
13012 i386mach3_vec
) tb
="$tb i386mach3.lo aout32.lo" ;;
13013 i386msdos_vec
) tb
="$tb i386msdos.lo" ;;
13014 i386netbsd_vec
) tb
="$tb i386netbsd.lo aout32.lo" ;;
13015 i386os9k_vec
) tb
="$tb i386os9k.lo aout32.lo" ;;
13016 i386pe_vec
) tb
="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
13017 i386pei_vec
) tb
="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
13018 i860coff_vec
) tb
="$tb coff-i860.lo cofflink.lo" ;;
13019 icoff_big_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
13020 icoff_little_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
13021 ieee_vec
) tb
="$tb ieee.lo" ;;
13022 m68k4knetbsd_vec
) tb
="$tb m68k4knetbsd.lo aout32.lo" ;;
13023 m68kaux_coff_vec
) tb
="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
13024 m68kcoff_vec
) tb
="$tb coff-m68k.lo cofflink.lo" ;;
13025 m68kcoffun_vec
) tb
="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
13026 m68klinux_vec
) tb
="$tb m68klinux.lo aout32.lo" ;;
13027 m68knetbsd_vec
) tb
="$tb m68knetbsd.lo aout32.lo" ;;
13028 m68ksysvcoff_vec
) tb
="$tb coff-svm68k.lo cofflink.lo" ;;
13029 m88kbcs_vec
) tb
="$tb coff-m88k.lo" ;;
13030 m88kmach3_vec
) tb
="$tb m88kmach3.lo aout32.lo" ;;
13031 m88kopenbsd_vec
) tb
="$tb m88kopenbsd.lo aout32.lo" ;;
13032 maxqcoff_vec
) tb
="$tb coff-maxq.lo" ;;
13033 mach_o_be_vec
) tb
="$tb mach-o.lo" ;;
13034 mach_o_le_vec
) tb
="$tb mach-o.lo" ;;
13035 mach_o_fat_vec
) tb
="$tb mach-o.lo" ;;
13036 mcore_pe_big_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
13037 mcore_pe_little_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
13038 mcore_pei_big_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
13039 mcore_pei_little_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
13040 mipslpe_vec
) tb
="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
13041 mipslpei_vec
) tb
="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
13042 newsos3_vec
) tb
="$tb newsos3.lo aout32.lo" ;;
13043 nlm32_alpha_vec
) tb
="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size
=64 ;;
13044 nlm32_i386_vec
) tb
="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
13045 nlm32_powerpc_vec
) tb
="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
13046 nlm32_sparc_vec
) tb
="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
13047 or32coff_big_vec
) tb
="$tb coff-or32.lo cofflink.lo" ;;
13048 pc532machaout_vec
) tb
="$tb pc532-mach.lo aout-ns32k.lo" ;;
13049 pc532netbsd_vec
) tb
="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
13050 pef_vec
) tb
="$tb pef.lo" ;;
13051 pef_xlib_vec
) tb
="$tb pef.lo" ;;
13052 pdp11_aout_vec
) tb
="$tb pdp11.lo" ;;
13053 pmac_xcoff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
13054 ppcboot_vec
) tb
="$tb ppcboot.lo" ;;
13055 riscix_vec
) tb
="$tb aout32.lo riscix.lo" ;;
13056 rs6000coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
13057 rs6000coff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
13058 shcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
13059 shcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
13060 shlcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
13061 shlcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
13062 shlpe_vec
) tb
="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
13063 shlpei_vec
) tb
="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
13064 som_vec
) tb
="$tb som.lo" ;;
13065 sparccoff_vec
) tb
="$tb coff-sparc.lo" ;;
13066 sparcle_aout_vec
) tb
="$tb aout-sparcle.lo aout32.lo" ;;
13067 sparclinux_vec
) tb
="$tb sparclinux.lo aout32.lo" ;;
13068 sparclynx_aout_vec
) tb
="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
13069 sparclynx_coff_vec
) tb
="$tb cf-sparclynx.lo lynx-core.lo" ;;
13070 sparcnetbsd_vec
) tb
="$tb sparcnetbsd.lo aout32.lo" ;;
13071 sunos_big_vec
) tb
="$tb sunos.lo aout32.lo" ;;
13072 sym_vec
) tb
="$tb xsym.lo" ;;
13073 tic30_aout_vec
) tb
="$tb aout-tic30.lo" ;;
13074 tic30_coff_vec
) tb
="$tb coff-tic30.lo" ;;
13075 tic4x_coff0_vec
) tb
="$tb coff-tic4x.lo" ;;
13076 tic4x_coff0_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
13077 tic4x_coff1_vec
) tb
="$tb coff-tic4x.lo" ;;
13078 tic4x_coff1_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
13079 tic4x_coff2_vec
) tb
="$tb coff-tic4x.lo" ;;
13080 tic4x_coff2_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
13081 tic54x_coff0_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
13082 tic54x_coff0_vec
) tb
="$tb coff-tic54x.lo" ;;
13083 tic54x_coff1_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
13084 tic54x_coff1_vec
) tb
="$tb coff-tic54x.lo" ;;
13085 tic54x_coff2_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
13086 tic54x_coff2_vec
) tb
="$tb coff-tic54x.lo" ;;
13087 tic80coff_vec
) tb
="$tb coff-tic80.lo cofflink.lo" ;;
13088 vaxnetbsd_vec
) tb
="$tb vaxnetbsd.lo aout32.lo" ;;
13089 vax1knetbsd_vec
) tb
="$tb vax1knetbsd.lo aout32.lo" ;;
13090 vaxbsd_vec
) tb
="$tb vaxbsd.lo aout32.lo" ;;
13091 versados_vec
) tb
="$tb versados.lo" ;;
13092 vms_alpha_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size
=64 ;;
13093 vms_vax_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
13094 w65_vec
) tb
="$tb coff-w65.lo reloc16.lo" ;;
13095 we32kcoff_vec
) tb
="$tb coff-we32k.lo" ;;
13096 z80coff_vec
) tb
="$tb coff-z80.lo reloc16.lo" ;;
13097 z8kcoff_vec
) tb
="$tb coff-z8k.lo reloc16.lo cofflink.lo" ;;
13099 # These appear out of order in targets.c
13100 srec_vec
) tb
="$tb srec.lo" ;;
13101 symbolsrec_vec
) tb
="$tb srec.lo" ;;
13102 tekhex_vec
) tb
="$tb tekhex.lo" ;;
13103 cisco_core_big_vec
) tb
="$tb cisco-core.lo" ;;
13104 cisco_core_little_vec
) tb
="$tb cisco-core.lo" ;;
13107 *) { { echo "$as_me:$LINENO: error: *** unknown target vector $vec" >&5
13108 echo "$as_me: error: *** unknown target vector $vec" >&2;}
13109 { (exit 1); exit 1; }; } ;;
13112 if test ${target_size} = 64; then
13115 if test x
"${vec}" = x
"${defvec}"; then
13116 bfd_default_target_size
=${target_size}
13120 # Target architecture .o files.
13121 # A couple of CPUs use shorter file names to avoid problems on DOS
13123 ta
=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
13125 # Weed out duplicate .o files.
13147 if test x
${all_targets} = xtrue
; then
13148 bfd_backends
="${bfd_backends}"' $(ALL_BACKENDS)'
13149 bfd_machines
="${bfd_machines}"' $(ALL_MACHINES)'
13153 test -n "$assocvecs" &&
13154 assocvecs
=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
13155 else # all_targets is true
13156 # Only set these if they will be nonempty, for the clever echo.
13159 test -n "$selvecs" &&
13160 havevecs
=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
13161 test -n "$selvecs" &&
13162 selvecs
=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
13163 test -n "$selarchs" &&
13164 selarchs
=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
13165 fi # all_targets is true
13167 case ${host64}-${target64}-${want64} in
13170 bfd_libs
='$(BFD64_LIBS) $(BFD32_LIBS)'
13171 all_backends
='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
13172 if test $BFD_HOST_64_BIT_DEFINED = 0; then
13173 { echo "$as_me:$LINENO: WARNING: You have requested a 64 bit BFD configuration, but" >&5
13174 echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
13175 { echo "$as_me:$LINENO: WARNING: your compiler may not have a 64 bit integral type" >&5
13176 echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
13178 if test -n "$GCC" ; then
13180 echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
13181 echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
13182 # Add more tests for gcc versions with non-working 64-bit support here.
13183 cat >conftest.
$ac_ext <<_ACEOF
13186 cat confdefs.h
>>conftest.
$ac_ext
13187 cat >>conftest.
$ac_ext <<_ACEOF
13188 /* end confdefs.h. */
13189 :__GNUC__:__GNUC_MINOR__:__i386__:
13191 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13192 $EGREP ": 2 : 91 : 1 :" >/dev
/null
2>&1; then
13194 echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
13195 echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
13197 echo "$as_me:$LINENO: result: no" >&5
13198 echo "${ECHO_T}no" >&6
13202 if test $bad_64bit_gcc = yes ; then
13203 { { echo "$as_me:$LINENO: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&5
13204 echo "$as_me: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&2;}
13205 { (exit 1); exit 1; }; }
13211 bfd_libs
='$(BFD32_LIBS)'
13212 all_backends
='$(BFD32_BACKENDS)'
13223 # Determine the host dependant file_ptr a.k.a. off_t type. In order
13224 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
13225 # fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
13226 # Hopefully a reasonable assumption since fseeko et.al. should be
13227 # upward compatible.
13233 for ac_func
in ftello ftello64 fseeko fseeko64 fopen64
13235 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13236 echo "$as_me:$LINENO: checking for $ac_func" >&5
13237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13238 if eval "test \"\${$as_ac_var+set}\" = set"; then
13239 echo $ECHO_N "(cached) $ECHO_C" >&6
13241 cat >conftest.
$ac_ext <<_ACEOF
13244 cat confdefs.h
>>conftest.
$ac_ext
13245 cat >>conftest.
$ac_ext <<_ACEOF
13246 /* end confdefs.h. */
13247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13249 #define $ac_func innocuous_$ac_func
13251 /* System header to define __stub macros and hopefully few prototypes,
13252 which can conflict with char $ac_func (); below.
13253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13254 <limits.h> exists even on freestanding compilers. */
13257 # include <limits.h>
13259 # include <assert.h>
13264 /* Override any gcc2 internal prototype to avoid an error. */
13269 /* We use char because int might match the return type of a gcc2
13270 builtin and then its argument prototype would still apply. */
13272 /* The GNU C library defines this for functions which it implements
13273 to always fail with ENOSYS. Some functions are actually named
13274 something starting with __ and the normal name is an alias. */
13275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13278 char (*f) () = $ac_func;
13287 return f != $ac_func;
13292 rm -f conftest.
$ac_objext conftest
$ac_exeext
13293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13294 (eval $ac_link) 2>conftest.er1
13296 grep -v '^ *+' conftest.er1
>conftest.err
13298 cat conftest.err
>&5
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); } &&
13301 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13303 (eval $ac_try) 2>&5
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); }; } &&
13307 { ac_try
='test -s conftest$ac_exeext'
13308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13309 (eval $ac_try) 2>&5
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); }; }; then
13313 eval "$as_ac_var=yes"
13315 echo "$as_me: failed program was:" >&5
13316 sed 's/^/| /' conftest.
$ac_ext >&5
13318 eval "$as_ac_var=no"
13320 rm -f conftest.err conftest.
$ac_objext \
13321 conftest
$ac_exeext conftest.
$ac_ext
13323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13325 if test `eval echo '${'$as_ac_var'}'` = yes; then
13326 cat >>confdefs.h
<<_ACEOF
13327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13333 if test x
"$ac_cv_func_ftello" = xyes
-a x
"$ac_cv_func_fseeko" = xyes
; then
13334 echo "$as_me:$LINENO: checking for off_t" >&5
13335 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13336 if test "${ac_cv_type_off_t+set}" = set; then
13337 echo $ECHO_N "(cached) $ECHO_C" >&6
13339 cat >conftest.
$ac_ext <<_ACEOF
13342 cat confdefs.h
>>conftest.
$ac_ext
13343 cat >>conftest.
$ac_ext <<_ACEOF
13344 /* end confdefs.h. */
13345 $ac_includes_default
13351 if (sizeof (off_t))
13357 rm -f conftest.
$ac_objext
13358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13359 (eval $ac_compile) 2>conftest.er1
13361 grep -v '^ *+' conftest.er1
>conftest.err
13363 cat conftest.err
>&5
13364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13365 (exit $ac_status); } &&
13366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13368 (eval $ac_try) 2>&5
13370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13371 (exit $ac_status); }; } &&
13372 { ac_try
='test -s conftest.$ac_objext'
13373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13374 (eval $ac_try) 2>&5
13376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 (exit $ac_status); }; }; then
13378 ac_cv_type_off_t
=yes
13380 echo "$as_me: failed program was:" >&5
13381 sed 's/^/| /' conftest.
$ac_ext >&5
13383 ac_cv_type_off_t
=no
13385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13387 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13388 echo "${ECHO_T}$ac_cv_type_off_t" >&6
13390 echo "$as_me:$LINENO: checking size of off_t" >&5
13391 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
13392 if test "${ac_cv_sizeof_off_t+set}" = set; then
13393 echo $ECHO_N "(cached) $ECHO_C" >&6
13395 if test "$ac_cv_type_off_t" = yes; then
13396 # The cast to unsigned long works around a bug in the HP C Compiler
13397 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13398 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13399 # This bug is HP SR number 8606223364.
13400 if test "$cross_compiling" = yes; then
13401 # Depending upon the size, compute the lo and hi bounds.
13402 cat >conftest.
$ac_ext <<_ACEOF
13405 cat confdefs.h
>>conftest.
$ac_ext
13406 cat >>conftest.
$ac_ext <<_ACEOF
13407 /* end confdefs.h. */
13408 $ac_includes_default
13412 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)];
13419 rm -f conftest.
$ac_objext
13420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13421 (eval $ac_compile) 2>conftest.er1
13423 grep -v '^ *+' conftest.er1
>conftest.err
13425 cat conftest.err
>&5
13426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 (exit $ac_status); } &&
13428 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13430 (eval $ac_try) 2>&5
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); }; } &&
13434 { ac_try
='test -s conftest.$ac_objext'
13435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13436 (eval $ac_try) 2>&5
13438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439 (exit $ac_status); }; }; then
13442 cat >conftest.
$ac_ext <<_ACEOF
13445 cat confdefs.h
>>conftest.
$ac_ext
13446 cat >>conftest.
$ac_ext <<_ACEOF
13447 /* end confdefs.h. */
13448 $ac_includes_default
13452 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
13459 rm -f conftest.
$ac_objext
13460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13461 (eval $ac_compile) 2>conftest.er1
13463 grep -v '^ *+' conftest.er1
>conftest.err
13465 cat conftest.err
>&5
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); } &&
13468 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470 (eval $ac_try) 2>&5
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); }; } &&
13474 { ac_try
='test -s conftest.$ac_objext'
13475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13476 (eval $ac_try) 2>&5
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); }; }; then
13480 ac_hi
=$ac_mid; break
13482 echo "$as_me: failed program was:" >&5
13483 sed 's/^/| /' conftest.
$ac_ext >&5
13485 ac_lo
=`expr $ac_mid + 1`
13486 if test $ac_lo -le $ac_mid; then
13490 ac_mid
=`expr 2 '*' $ac_mid + 1`
13492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13495 echo "$as_me: failed program was:" >&5
13496 sed 's/^/| /' conftest.
$ac_ext >&5
13498 cat >conftest.
$ac_ext <<_ACEOF
13501 cat confdefs.h
>>conftest.
$ac_ext
13502 cat >>conftest.
$ac_ext <<_ACEOF
13503 /* end confdefs.h. */
13504 $ac_includes_default
13508 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)];
13515 rm -f conftest.
$ac_objext
13516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13517 (eval $ac_compile) 2>conftest.er1
13519 grep -v '^ *+' conftest.er1
>conftest.err
13521 cat conftest.err
>&5
13522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13523 (exit $ac_status); } &&
13524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13526 (eval $ac_try) 2>&5
13528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13529 (exit $ac_status); }; } &&
13530 { ac_try
='test -s conftest.$ac_objext'
13531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13532 (eval $ac_try) 2>&5
13534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13535 (exit $ac_status); }; }; then
13538 cat >conftest.
$ac_ext <<_ACEOF
13541 cat confdefs.h
>>conftest.
$ac_ext
13542 cat >>conftest.
$ac_ext <<_ACEOF
13543 /* end confdefs.h. */
13544 $ac_includes_default
13548 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)];
13555 rm -f conftest.
$ac_objext
13556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13557 (eval $ac_compile) 2>conftest.er1
13559 grep -v '^ *+' conftest.er1
>conftest.err
13561 cat conftest.err
>&5
13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13563 (exit $ac_status); } &&
13564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13566 (eval $ac_try) 2>&5
13568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13569 (exit $ac_status); }; } &&
13570 { ac_try
='test -s conftest.$ac_objext'
13571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13572 (eval $ac_try) 2>&5
13574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13575 (exit $ac_status); }; }; then
13576 ac_lo
=$ac_mid; break
13578 echo "$as_me: failed program was:" >&5
13579 sed 's/^/| /' conftest.
$ac_ext >&5
13581 ac_hi
=`expr '(' $ac_mid ')' - 1`
13582 if test $ac_mid -le $ac_hi; then
13586 ac_mid
=`expr 2 '*' $ac_mid`
13588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13591 echo "$as_me: failed program was:" >&5
13592 sed 's/^/| /' conftest.
$ac_ext >&5
13596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13599 # Binary search between lo and hi bounds.
13600 while test "x$ac_lo" != "x$ac_hi"; do
13601 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13602 cat >conftest.
$ac_ext <<_ACEOF
13605 cat confdefs.h
>>conftest.
$ac_ext
13606 cat >>conftest.
$ac_ext <<_ACEOF
13607 /* end confdefs.h. */
13608 $ac_includes_default
13612 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
13619 rm -f conftest.
$ac_objext
13620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13621 (eval $ac_compile) 2>conftest.er1
13623 grep -v '^ *+' conftest.er1
>conftest.err
13625 cat conftest.err
>&5
13626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13627 (exit $ac_status); } &&
13628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13630 (eval $ac_try) 2>&5
13632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13633 (exit $ac_status); }; } &&
13634 { ac_try
='test -s conftest.$ac_objext'
13635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13636 (eval $ac_try) 2>&5
13638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13639 (exit $ac_status); }; }; then
13642 echo "$as_me: failed program was:" >&5
13643 sed 's/^/| /' conftest.
$ac_ext >&5
13645 ac_lo
=`expr '(' $ac_mid ')' + 1`
13647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13650 ?
*) ac_cv_sizeof_off_t
=$ac_lo;;
13651 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
13652 See \`config.log' for more details." >&5
13653 echo "$as_me: error: cannot compute sizeof (off_t), 77
13654 See \`config.log' for more details." >&2;}
13655 { (exit 1); exit 1; }; } ;;
13658 if test "$cross_compiling" = yes; then
13659 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
13660 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
13661 { (exit 1); exit 1; }; }
13663 cat >conftest.
$ac_ext <<_ACEOF
13666 cat confdefs.h
>>conftest.
$ac_ext
13667 cat >>conftest.
$ac_ext <<_ACEOF
13668 /* end confdefs.h. */
13669 $ac_includes_default
13670 long longval () { return (long) (sizeof (off_t)); }
13671 unsigned long ulongval () { return (long) (sizeof (off_t)); }
13673 #include <stdlib.h>
13678 FILE *f = fopen ("conftest.val", "w");
13681 if (((long) (sizeof (off_t))) < 0)
13683 long i = longval ();
13684 if (i != ((long) (sizeof (off_t))))
13686 fprintf (f, "%ld\n", i);
13690 unsigned long i = ulongval ();
13691 if (i != ((long) (sizeof (off_t))))
13693 fprintf (f, "%lu\n", i);
13695 exit (ferror (f) || fclose (f) != 0);
13701 rm -f conftest
$ac_exeext
13702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13703 (eval $ac_link) 2>&5
13705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13706 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13708 (eval $ac_try) 2>&5
13710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13711 (exit $ac_status); }; }; then
13712 ac_cv_sizeof_off_t
=`cat conftest.val`
13714 echo "$as_me: program exited with status $ac_status" >&5
13715 echo "$as_me: failed program was:" >&5
13716 sed 's/^/| /' conftest.
$ac_ext >&5
13718 ( exit $ac_status )
13719 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
13720 See \`config.log' for more details." >&5
13721 echo "$as_me: error: cannot compute sizeof (off_t), 77
13722 See \`config.log' for more details." >&2;}
13723 { (exit 1); exit 1; }; }
13725 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13730 ac_cv_sizeof_off_t
=0
13733 echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
13734 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
13735 cat >>confdefs.h
<<_ACEOF
13736 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
13741 echo "$as_me:$LINENO: checking file_ptr type" >&5
13742 echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
13743 bfd_file_ptr
="long"
13744 bfd_ufile_ptr
="unsigned long"
13745 if test x
"$ac_cv_func_ftello64" = xyes
-a x
"$ac_cv_func_fseeko64" = xyes \
13746 -o x
"${ac_cv_sizeof_off_t}" = x8
; then
13747 bfd_file_ptr
=BFD_HOST_64_BIT
13748 bfd_ufile_ptr
=BFD_HOST_U_64_BIT
13750 echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
13751 echo "${ECHO_T}$bfd_file_ptr" >&6
13757 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
13758 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
13759 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
13760 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
13761 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
13766 for ac_header
in stdlib.h unistd.h
13768 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13770 echo "$as_me:$LINENO: checking for $ac_header" >&5
13771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13773 echo $ECHO_N "(cached) $ECHO_C" >&6
13775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13778 # Is the header compilable?
13779 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13780 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13781 cat >conftest.
$ac_ext <<_ACEOF
13784 cat confdefs.h
>>conftest.
$ac_ext
13785 cat >>conftest.
$ac_ext <<_ACEOF
13786 /* end confdefs.h. */
13787 $ac_includes_default
13788 #include <$ac_header>
13790 rm -f conftest.
$ac_objext
13791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13792 (eval $ac_compile) 2>conftest.er1
13794 grep -v '^ *+' conftest.er1
>conftest.err
13796 cat conftest.err
>&5
13797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13798 (exit $ac_status); } &&
13799 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13801 (eval $ac_try) 2>&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); }; } &&
13805 { ac_try
='test -s conftest.$ac_objext'
13806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13807 (eval $ac_try) 2>&5
13809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810 (exit $ac_status); }; }; then
13811 ac_header_compiler
=yes
13813 echo "$as_me: failed program was:" >&5
13814 sed 's/^/| /' conftest.
$ac_ext >&5
13816 ac_header_compiler
=no
13818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13819 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13820 echo "${ECHO_T}$ac_header_compiler" >&6
13822 # Is the header present?
13823 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13824 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13825 cat >conftest.
$ac_ext <<_ACEOF
13828 cat confdefs.h
>>conftest.
$ac_ext
13829 cat >>conftest.
$ac_ext <<_ACEOF
13830 /* end confdefs.h. */
13831 #include <$ac_header>
13833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13834 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13836 grep -v '^ *+' conftest.er1
>conftest.err
13838 cat conftest.err
>&5
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); } >/dev
/null
; then
13841 if test -s conftest.err
; then
13842 ac_cpp_err
=$ac_c_preproc_warn_flag
13843 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13850 if test -z "$ac_cpp_err"; then
13851 ac_header_preproc
=yes
13853 echo "$as_me: failed program was:" >&5
13854 sed 's/^/| /' conftest.
$ac_ext >&5
13856 ac_header_preproc
=no
13858 rm -f conftest.err conftest.
$ac_ext
13859 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13860 echo "${ECHO_T}$ac_header_preproc" >&6
13862 # So? What about this header?
13863 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13865 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13866 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13867 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13868 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13869 ac_header_preproc
=yes
13872 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13873 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13874 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13875 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13876 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13877 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13878 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13879 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13882 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13883 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13886 ## ------------------------------------------ ##
13887 ## Report this to the AC_PACKAGE_NAME lists. ##
13888 ## ------------------------------------------ ##
13891 sed "s/^/$as_me: WARNING: /" >&2
13894 echo "$as_me:$LINENO: checking for $ac_header" >&5
13895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13897 echo $ECHO_N "(cached) $ECHO_C" >&6
13899 eval "$as_ac_Header=\$ac_header_preproc"
13901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13906 cat >>confdefs.h
<<_ACEOF
13907 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13915 for ac_func
in getpagesize
13917 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13918 echo "$as_me:$LINENO: checking for $ac_func" >&5
13919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13920 if eval "test \"\${$as_ac_var+set}\" = set"; then
13921 echo $ECHO_N "(cached) $ECHO_C" >&6
13923 cat >conftest.
$ac_ext <<_ACEOF
13926 cat confdefs.h
>>conftest.
$ac_ext
13927 cat >>conftest.
$ac_ext <<_ACEOF
13928 /* end confdefs.h. */
13929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13931 #define $ac_func innocuous_$ac_func
13933 /* System header to define __stub macros and hopefully few prototypes,
13934 which can conflict with char $ac_func (); below.
13935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13936 <limits.h> exists even on freestanding compilers. */
13939 # include <limits.h>
13941 # include <assert.h>
13946 /* Override any gcc2 internal prototype to avoid an error. */
13951 /* We use char because int might match the return type of a gcc2
13952 builtin and then its argument prototype would still apply. */
13954 /* The GNU C library defines this for functions which it implements
13955 to always fail with ENOSYS. Some functions are actually named
13956 something starting with __ and the normal name is an alias. */
13957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13960 char (*f) () = $ac_func;
13969 return f != $ac_func;
13974 rm -f conftest.
$ac_objext conftest
$ac_exeext
13975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13976 (eval $ac_link) 2>conftest.er1
13978 grep -v '^ *+' conftest.er1
>conftest.err
13980 cat conftest.err
>&5
13981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982 (exit $ac_status); } &&
13983 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13985 (eval $ac_try) 2>&5
13987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988 (exit $ac_status); }; } &&
13989 { ac_try
='test -s conftest$ac_exeext'
13990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13991 (eval $ac_try) 2>&5
13993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994 (exit $ac_status); }; }; then
13995 eval "$as_ac_var=yes"
13997 echo "$as_me: failed program was:" >&5
13998 sed 's/^/| /' conftest.
$ac_ext >&5
14000 eval "$as_ac_var=no"
14002 rm -f conftest.err conftest.
$ac_objext \
14003 conftest
$ac_exeext conftest.
$ac_ext
14005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14007 if test `eval echo '${'$as_ac_var'}'` = yes; then
14008 cat >>confdefs.h
<<_ACEOF
14009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14015 echo "$as_me:$LINENO: checking for working mmap" >&5
14016 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
14017 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
14018 echo $ECHO_N "(cached) $ECHO_C" >&6
14020 if test "$cross_compiling" = yes; then
14021 ac_cv_func_mmap_fixed_mapped
=no
14023 cat >conftest.
$ac_ext <<_ACEOF
14026 cat confdefs.h
>>conftest.
$ac_ext
14027 cat >>conftest.
$ac_ext <<_ACEOF
14028 /* end confdefs.h. */
14029 $ac_includes_default
14030 /* malloc might have been renamed as rpl_malloc. */
14033 /* Thanks to Mike Haertel and Jim Avera for this test.
14034 Here is a matrix of mmap possibilities:
14035 mmap private not fixed
14036 mmap private fixed at somewhere currently unmapped
14037 mmap private fixed at somewhere already mapped
14038 mmap shared not fixed
14039 mmap shared fixed at somewhere currently unmapped
14040 mmap shared fixed at somewhere already mapped
14041 For private mappings, we should verify that changes cannot be read()
14042 back from the file, nor mmap's back from the file at a different
14043 address. (There have been systems where private was not correctly
14044 implemented like the infamous i386 svr4.0, and systems where the
14045 VM page cache was not coherent with the file system buffer cache
14046 like early versions of FreeBSD and possibly contemporary NetBSD.)
14047 For shared mappings, we should conversely verify that changes get
14048 propagated back to all the places they're supposed to be.
14050 Grep wants private fixed already mapped.
14051 The main things grep needs to know about mmap are:
14052 * does it exist and is it safe to write into the mmap'd area
14053 * how to use it (BSD variants) */
14056 #include <sys/mman.h>
14058 #if !STDC_HEADERS && !HAVE_STDLIB_H
14062 /* This mess was copied from the GNU getpagesize.h. */
14063 #if !HAVE_GETPAGESIZE
14064 /* Assume that all systems that can run configure have sys/param.h. */
14065 # if !HAVE_SYS_PARAM_H
14066 # define HAVE_SYS_PARAM_H 1
14069 # ifdef _SC_PAGESIZE
14070 # define getpagesize() sysconf(_SC_PAGESIZE)
14071 # else /* no _SC_PAGESIZE */
14072 # if HAVE_SYS_PARAM_H
14073 # include <sys/param.h>
14074 # ifdef EXEC_PAGESIZE
14075 # define getpagesize() EXEC_PAGESIZE
14076 # else /* no EXEC_PAGESIZE */
14078 # define getpagesize() NBPG * CLSIZE
14081 # endif /* no CLSIZE */
14082 # else /* no NBPG */
14084 # define getpagesize() NBPC
14085 # else /* no NBPC */
14087 # define getpagesize() PAGESIZE
14088 # endif /* PAGESIZE */
14089 # endif /* no NBPC */
14090 # endif /* no NBPG */
14091 # endif /* no EXEC_PAGESIZE */
14092 # else /* no HAVE_SYS_PARAM_H */
14093 # define getpagesize() 8192 /* punt totally */
14094 # endif /* no HAVE_SYS_PARAM_H */
14095 # endif /* no _SC_PAGESIZE */
14097 #endif /* no HAVE_GETPAGESIZE */
14102 char *data, *data2, *data3;
14106 pagesize = getpagesize ();
14108 /* First, make a file with some known garbage in it. */
14109 data = (char *) malloc (pagesize);
14112 for (i = 0; i < pagesize; ++i)
14113 *(data + i) = rand ();
14115 fd = creat ("conftest.mmap", 0600);
14118 if (write (fd, data, pagesize) != pagesize)
14122 /* Next, try to mmap the file at a fixed address which already has
14123 something else allocated at it. If we can, also make sure that
14124 we see the same garbage. */
14125 fd = open ("conftest.mmap", O_RDWR);
14128 data2 = (char *) malloc (2 * pagesize);
14131 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
14132 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14133 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14135 for (i = 0; i < pagesize; ++i)
14136 if (*(data + i) != *(data2 + i))
14139 /* Finally, make sure that changes to the mapped area do not
14140 percolate back to the file as seen by read(). (This is a bug on
14141 some variants of i386 svr4.0.) */
14142 for (i = 0; i < pagesize; ++i)
14143 *(data2 + i) = *(data2 + i) + 1;
14144 data3 = (char *) malloc (pagesize);
14147 if (read (fd, data3, pagesize) != pagesize)
14149 for (i = 0; i < pagesize; ++i)
14150 if (*(data + i) != *(data3 + i))
14156 rm -f conftest
$ac_exeext
14157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14158 (eval $ac_link) 2>&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14163 (eval $ac_try) 2>&5
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); }; }; then
14167 ac_cv_func_mmap_fixed_mapped
=yes
14169 echo "$as_me: program exited with status $ac_status" >&5
14170 echo "$as_me: failed program was:" >&5
14171 sed 's/^/| /' conftest.
$ac_ext >&5
14173 ( exit $ac_status )
14174 ac_cv_func_mmap_fixed_mapped
=no
14176 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14179 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
14180 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
14181 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14183 cat >>confdefs.h
<<\_ACEOF
14184 #define HAVE_MMAP 1
14188 rm -f conftest.mmap
14192 for ac_func
in madvise mprotect
14194 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14195 echo "$as_me:$LINENO: checking for $ac_func" >&5
14196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14197 if eval "test \"\${$as_ac_var+set}\" = set"; then
14198 echo $ECHO_N "(cached) $ECHO_C" >&6
14200 cat >conftest.
$ac_ext <<_ACEOF
14203 cat confdefs.h
>>conftest.
$ac_ext
14204 cat >>conftest.
$ac_ext <<_ACEOF
14205 /* end confdefs.h. */
14206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14208 #define $ac_func innocuous_$ac_func
14210 /* System header to define __stub macros and hopefully few prototypes,
14211 which can conflict with char $ac_func (); below.
14212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14213 <limits.h> exists even on freestanding compilers. */
14216 # include <limits.h>
14218 # include <assert.h>
14223 /* Override any gcc2 internal prototype to avoid an error. */
14228 /* We use char because int might match the return type of a gcc2
14229 builtin and then its argument prototype would still apply. */
14231 /* The GNU C library defines this for functions which it implements
14232 to always fail with ENOSYS. Some functions are actually named
14233 something starting with __ and the normal name is an alias. */
14234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14237 char (*f) () = $ac_func;
14246 return f != $ac_func;
14251 rm -f conftest.
$ac_objext conftest
$ac_exeext
14252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14253 (eval $ac_link) 2>conftest.er1
14255 grep -v '^ *+' conftest.er1
>conftest.err
14257 cat conftest.err
>&5
14258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14259 (exit $ac_status); } &&
14260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14262 (eval $ac_try) 2>&5
14264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265 (exit $ac_status); }; } &&
14266 { ac_try
='test -s conftest$ac_exeext'
14267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14268 (eval $ac_try) 2>&5
14270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14271 (exit $ac_status); }; }; then
14272 eval "$as_ac_var=yes"
14274 echo "$as_me: failed program was:" >&5
14275 sed 's/^/| /' conftest.
$ac_ext >&5
14277 eval "$as_ac_var=no"
14279 rm -f conftest.err conftest.
$ac_objext \
14280 conftest
$ac_exeext conftest.
$ac_ext
14282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14284 if test `eval echo '${'$as_ac_var'}'` = yes; then
14285 cat >>confdefs.h
<<_ACEOF
14286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14292 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
14294 cat >>confdefs.h
<<\_ACEOF
14300 rm -f doc
/config.status
14301 ac_config_files
="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
14303 ac_config_commands
="$ac_config_commands default"
14305 cat >confcache
<<\_ACEOF
14306 # This file is a shell script that caches the results of configure
14307 # tests run on this system so they can be shared between configure
14308 # scripts and configure runs, see configure's option --config-cache.
14309 # It is not useful on other systems. If it contains results you don't
14310 # want to keep, you may remove or edit it.
14312 # config.status only pays attention to the cache file if you give it
14313 # the --recheck option to rerun configure.
14315 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14316 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14317 # following values.
14321 # The following way of writing the cache mishandles newlines in values,
14322 # but we know of no workaround that is simple, portable, and efficient.
14323 # So, don't put newlines in cache variables' values.
14324 # Ultrix sh set writes to stderr and can't be redirected directly,
14325 # and sets the high bit in the cache file unless we assign to the vars.
14328 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14330 # `set' does not quote correctly, so add quotes (double-quote
14331 # substitution turns \\\\ into \\, and sed turns \\ into \).
14334 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14337 # `set' quotes correctly as required by POSIX, so do not add quotes.
14339 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14346 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14348 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14350 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
14351 if test -w $cache_file; then
14352 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14353 cat confcache
>$cache_file
14355 echo "not updating unwritable cache $cache_file"
14360 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14361 # Let make expand exec_prefix.
14362 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14364 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14365 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14366 # trailing colons and then remove the whole line if VPATH becomes empty
14367 # (actually we leave an empty line to preserve line numbers).
14368 if test "x$srcdir" = x.
; then
14369 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
14370 s/:*\$(srcdir):*/:/;
14371 s/:*\${srcdir}:*/:/;
14373 s/^\([^=]*=[ ]*\):*/\1/;
14379 DEFS
=-DHAVE_CONFIG_H
14383 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14384 # 1. Remove the extension, and $U if already installed.
14385 ac_i
=`echo "$ac_i" |
14386 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
14388 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
14389 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
14391 LIBOBJS
=$ac_libobjs
14393 LTLIBOBJS
=$ac_ltlibobjs
14396 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14397 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
14398 Usually this means the macro was only invoked conditionally." >&5
14399 echo "$as_me: error: conditional \"AMDEP\" was never defined.
14400 Usually this means the macro was only invoked conditionally." >&2;}
14401 { (exit 1); exit 1; }; }
14403 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14404 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
14405 Usually this means the macro was only invoked conditionally." >&5
14406 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
14407 Usually this means the macro was only invoked conditionally." >&2;}
14408 { (exit 1); exit 1; }; }
14410 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14411 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
14412 Usually this means the macro was only invoked conditionally." >&5
14413 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
14414 Usually this means the macro was only invoked conditionally." >&2;}
14415 { (exit 1); exit 1; }; }
14417 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
14418 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
14419 Usually this means the macro was only invoked conditionally." >&5
14420 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
14421 Usually this means the macro was only invoked conditionally." >&2;}
14422 { (exit 1); exit 1; }; }
14425 : ${CONFIG_STATUS=./config.status}
14426 ac_clean_files_save
=$ac_clean_files
14427 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14428 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14429 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14430 cat >$CONFIG_STATUS <<_ACEOF
14432 # Generated by $as_me.
14433 # Run this file to recreate the current configuration.
14434 # Compiler output produced by configure, useful for debugging
14435 # configure, is in config.log if it exists.
14438 ac_cs_recheck=false
14440 SHELL=\${CONFIG_SHELL-$SHELL}
14443 cat >>$CONFIG_STATUS <<\_ACEOF
14444 ## --------------------- ##
14445 ## M4sh Initialization. ##
14446 ## --------------------- ##
14448 # Be Bourne compatible
14449 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
14452 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14453 # is contrary to our usage. Disable this feature.
14454 alias -g '${1+"$@"}'='"$@"'
14455 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
14458 DUALCASE
=1; export DUALCASE
# for MKS sh
14460 # Support unset when possible.
14461 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
14468 # Work around bugs in pre-3.0 UWIN ksh.
14469 $as_unset ENV MAIL MAILPATH
14476 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
14477 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
14478 LC_TELEPHONE LC_TIME
14480 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14481 eval $as_var=C
; export $as_var
14487 # Required to use basename.
14488 if expr a
: '\(a\)' >/dev
/null
2>&1; then
14494 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
14495 as_basename
=basename
14501 # Name of the executable.
14502 as_me
=`$as_basename "$0" ||
14503 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14504 X"$0" : 'X\(//\)$' \| \
14505 X"$0" : 'X\(/\)$' \| \
14506 . : '\(.\)' 2>/dev/null ||
14508 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14509 /^X\/\(\/\/\)$/{ s//\1/; q; }
14510 /^X\/\(\/\).*/{ s//\1/; q; }
14514 # PATH needs CR, and LINENO needs CR and PATH.
14515 # Avoid depending upon Character Ranges.
14516 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14517 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14518 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14519 as_cr_digits
='0123456789'
14520 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14522 # The user is always right.
14523 if test "${PATH_SEPARATOR+set}" != set; then
14524 echo "#! /bin/sh" >conf$$.sh
14525 echo "exit 0" >>conf$$.sh
14527 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14536 as_lineno_1
=$LINENO
14537 as_lineno_2
=$LINENO
14538 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
14539 test "x$as_lineno_1" != "x$as_lineno_2" &&
14540 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
14541 # Find who we are. Look in the path if we contain no path at all
14544 *[\\/]* ) as_myself
=$0 ;;
14545 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14546 for as_dir
in $PATH
14549 test -z "$as_dir" && as_dir
=.
14550 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14555 # We did not find ourselves, most probably we were run as `sh COMMAND'
14556 # in which case we are not to be found in the path.
14557 if test "x$as_myself" = x
; then
14560 if test ! -f "$as_myself"; then
14561 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14562 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14563 { (exit 1); exit 1; }; }
14565 case $CONFIG_SHELL in
14567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14568 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
14571 test -z "$as_dir" && as_dir
=.
14572 for as_base
in sh bash ksh sh5
; do
14575 if ("$as_dir/$as_base" -c '
14576 as_lineno_1=$LINENO
14577 as_lineno_2=$LINENO
14578 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14579 test "x$as_lineno_1" != "x$as_lineno_2" &&
14580 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
14581 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
14582 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
14583 CONFIG_SHELL
=$as_dir/$as_base
14584 export CONFIG_SHELL
14585 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14593 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14594 # uniformly replaced by the line number. The first 'sed' inserts a
14595 # line-number line before each line; the second 'sed' does the real
14596 # work. The second script uses 'N' to pair each line-number line
14597 # with the numbered line, and appends trailing '-' during
14598 # substitution so that $LINENO is not a special case at line end.
14599 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14600 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
14601 sed '=' <$as_myself |
14606 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14609 s,^['$as_cr_digits']*\n,,
14610 ' >$as_me.lineno
&&
14611 chmod +x
$as_me.lineno ||
14612 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14613 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14614 { (exit 1); exit 1; }; }
14616 # Don't try to exec as it changes $[0], causing all sort of problems
14617 # (the dirname of $[0] is not the place where we might find the
14618 # original and so on. Autoconf is especially sensible to this).
14620 # Exit status is that of the last command.
14625 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14626 *c
*,-n*) ECHO_N
= ECHO_C
='
14628 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
14629 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
14632 if expr a
: '\(a\)' >/dev
/null
2>&1; then
14638 rm -f conf$$ conf$$.exe conf$$.
file
14640 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14641 # We could just check for DJGPP; but this test a) works b) is more generic
14642 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14643 if test -f conf$$.exe
; then
14644 # Don't use ln at all; we don't have any links
14649 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14654 rm -f conf$$ conf$$.exe conf$$.
file
14656 if mkdir
-p .
2>/dev
/null
; then
14659 test -d .
/-p && rmdir .
/-p
14663 as_executable_p
="test -f"
14665 # Sed expression to map a string onto a valid CPP name.
14666 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14668 # Sed expression to map a string onto a valid variable name.
14669 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14673 # We need space, tab and new line, in precisely that order.
14683 # Open the log real soon, to keep \$[0] and so on meaningful, and to
14684 # report actual input values of CONFIG_FILES etc. instead of their
14685 # values after options handling. Logging --version etc. is OK.
14689 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14690 ## Running $as_me. ##
14695 This file was extended by $as_me, which was
14696 generated by GNU Autoconf 2.59. Invocation command line was
14698 CONFIG_FILES = $CONFIG_FILES
14699 CONFIG_HEADERS = $CONFIG_HEADERS
14700 CONFIG_LINKS = $CONFIG_LINKS
14701 CONFIG_COMMANDS = $CONFIG_COMMANDS
14705 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14709 # Files that config.status was made for.
14710 if test -n "$ac_config_files"; then
14711 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14714 if test -n "$ac_config_headers"; then
14715 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14718 if test -n "$ac_config_links"; then
14719 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14722 if test -n "$ac_config_commands"; then
14723 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14726 cat >>$CONFIG_STATUS <<\_ACEOF
14729 \`$as_me' instantiates files from templates according to the
14730 current configuration.
14732 Usage: $0 [OPTIONS] [FILE]...
14734 -h, --help print this help, then exit
14735 -V, --version print version number, then exit
14736 -q, --quiet do not print progress messages
14737 -d, --debug don't remove temporary files
14738 --recheck update $as_me by reconfiguring in the same conditions
14739 --file=FILE[:TEMPLATE]
14740 instantiate the configuration file FILE
14741 --header=FILE[:TEMPLATE]
14742 instantiate the configuration header FILE
14744 Configuration files:
14747 Configuration headers:
14750 Configuration commands:
14753 Report bugs to <bug-autoconf@gnu.org>."
14756 cat >>$CONFIG_STATUS <<_ACEOF
14759 configured by $0, generated by GNU Autoconf 2.59,
14760 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
14762 Copyright (C) 2003 Free Software Foundation, Inc.
14763 This config.status script is free software; the Free Software Foundation
14764 gives unlimited permission to copy, distribute and modify it."
14769 cat >>$CONFIG_STATUS <<\_ACEOF
14770 # If no file are specified by the user, then we need to provide default
14771 # value. By we need to know if files were specified by the user.
14777 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
14778 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
14786 *) # This is not an option, so the user has probably given explicit
14789 ac_need_defaults
=false
;;
14793 # Handling of the options.
14795 cat >>$CONFIG_STATUS <<\_ACEOF
14796 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14798 --version |
--vers* |
-V )
14799 echo "$ac_cs_version"; exit 0 ;;
14801 # Conflict between --help and --header
14802 { { echo "$as_me:$LINENO: error: ambiguous option: $1
14803 Try \`$0 --help' for more information." >&5
14804 echo "$as_me: error: ambiguous option: $1
14805 Try \`$0 --help' for more information." >&2;}
14806 { (exit 1); exit 1; }; };;
14807 --help |
--hel |
-h )
14808 echo "$ac_cs_usage"; exit 0 ;;
14809 --debug |
--d* |
-d )
14811 --file |
--fil |
--fi |
--f )
14813 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
14814 ac_need_defaults
=false
;;
14815 --header |
--heade |
--head |
--hea )
14817 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
14818 ac_need_defaults
=false
;;
14819 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14820 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14823 # This is an error.
14824 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
14825 Try \`$0 --help' for more information." >&5
14826 echo "$as_me: error: unrecognized option: $1
14827 Try \`$0 --help' for more information." >&2;}
14828 { (exit 1); exit 1; }; } ;;
14830 *) ac_config_targets
="$ac_config_targets $1" ;;
14836 ac_configure_extra_args
=
14838 if $ac_cs_silent; then
14840 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14844 cat >>$CONFIG_STATUS <<_ACEOF
14845 if \$ac_cs_recheck; then
14846 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
14847 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14852 cat >>$CONFIG_STATUS <<_ACEOF
14854 # INIT-COMMANDS section.
14857 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14864 cat >>$CONFIG_STATUS <<\_ACEOF
14865 for ac_config_target
in $ac_config_targets
14867 case "$ac_config_target" in
14868 # Handling of arguments.
14869 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14870 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
14871 "bfd-in3.h" ) CONFIG_FILES
="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
14872 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
14873 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14874 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
14875 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
14876 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14877 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14878 { (exit 1); exit 1; }; };;
14882 # If the user did not use the arguments to specify the items to instantiate,
14883 # then the envvar interface is used. Set only those that are not.
14884 # We use the long form for the default assignment because of an extremely
14885 # bizarre bug on SunOS 4.1.3.
14886 if $ac_need_defaults; then
14887 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14888 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14889 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14892 # Have a temporary directory for convenience. Make it in the build tree
14893 # simply because there is no reason to put it here, and in addition,
14894 # creating and moving files from /tmp can sometimes cause problems.
14895 # Create a temporary directory, and hook for its removal unless debugging.
14898 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
14899 trap '{ (exit 1); exit 1; }' 1 2 13 15
14902 # Create a (secure) tmp directory for tmp files.
14905 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
14906 test -n "$tmp" && test -d "$tmp"
14909 tmp
=.
/confstat$$
-$RANDOM
14910 (umask 077 && mkdir
$tmp)
14913 echo "$me: cannot create a temporary directory in ." >&2
14914 { (exit 1); exit 1; }
14919 cat >>$CONFIG_STATUS <<_ACEOF
14922 # CONFIG_FILES section.
14925 # No need to generate the scripts if there are no CONFIG_FILES.
14926 # This happens for instance when ./config.status config.h
14927 if test -n "\$CONFIG_FILES"; then
14928 # Protect against being on the right side of a sed subst in config.status.
14929 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
14930 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
14931 s,@SHELL@,$SHELL,;t t
14932 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
14933 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
14934 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
14935 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
14936 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
14937 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
14938 s,@exec_prefix@,$exec_prefix,;t t
14939 s,@prefix@,$prefix,;t t
14940 s,@program_transform_name@,$program_transform_name,;t t
14941 s,@bindir@,$bindir,;t t
14942 s,@sbindir@,$sbindir,;t t
14943 s,@libexecdir@,$libexecdir,;t t
14944 s,@datadir@,$datadir,;t t
14945 s,@sysconfdir@,$sysconfdir,;t t
14946 s,@sharedstatedir@,$sharedstatedir,;t t
14947 s,@localstatedir@,$localstatedir,;t t
14948 s,@libdir@,$libdir,;t t
14949 s,@includedir@,$includedir,;t t
14950 s,@oldincludedir@,$oldincludedir,;t t
14951 s,@infodir@,$infodir,;t t
14952 s,@mandir@,$mandir,;t t
14953 s,@build_alias@,$build_alias,;t t
14954 s,@host_alias@,$host_alias,;t t
14955 s,@target_alias@,$target_alias,;t t
14956 s,@DEFS@,$DEFS,;t t
14957 s,@ECHO_C@,$ECHO_C,;t t
14958 s,@ECHO_N@,$ECHO_N,;t t
14959 s,@ECHO_T@,$ECHO_T,;t t
14960 s,@LIBS@,$LIBS,;t t
14961 s,@build@,$build,;t t
14962 s,@build_cpu@,$build_cpu,;t t
14963 s,@build_vendor@,$build_vendor,;t t
14964 s,@build_os@,$build_os,;t t
14965 s,@host@,$host,;t t
14966 s,@host_cpu@,$host_cpu,;t t
14967 s,@host_vendor@,$host_vendor,;t t
14968 s,@host_os@,$host_os,;t t
14969 s,@target@,$target,;t t
14970 s,@target_cpu@,$target_cpu,;t t
14971 s,@target_vendor@,$target_vendor,;t t
14972 s,@target_os@,$target_os,;t t
14974 s,@CFLAGS@,$CFLAGS,;t t
14975 s,@LDFLAGS@,$LDFLAGS,;t t
14976 s,@CPPFLAGS@,$CPPFLAGS,;t t
14977 s,@ac_ct_CC@,$ac_ct_CC,;t t
14978 s,@EXEEXT@,$EXEEXT,;t t
14979 s,@OBJEXT@,$OBJEXT,;t t
14980 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
14981 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
14982 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14983 s,@CYGPATH_W@,$CYGPATH_W,;t t
14984 s,@PACKAGE@,$PACKAGE,;t t
14985 s,@VERSION@,$VERSION,;t t
14986 s,@ACLOCAL@,$ACLOCAL,;t t
14987 s,@AUTOCONF@,$AUTOCONF,;t t
14988 s,@AUTOMAKE@,$AUTOMAKE,;t t
14989 s,@AUTOHEADER@,$AUTOHEADER,;t t
14990 s,@MAKEINFO@,$MAKEINFO,;t t
14991 s,@install_sh@,$install_sh,;t t
14992 s,@STRIP@,$STRIP,;t t
14993 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
14994 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
14995 s,@mkdir_p@,$mkdir_p,;t t
14997 s,@SET_MAKE@,$SET_MAKE,;t t
14998 s,@am__leading_dot@,$am__leading_dot,;t t
14999 s,@AMTAR@,$AMTAR,;t t
15000 s,@am__tar@,$am__tar,;t t
15001 s,@am__untar@,$am__untar,;t t
15002 s,@DEPDIR@,$DEPDIR,;t t
15003 s,@am__include@,$am__include,;t t
15004 s,@am__quote@,$am__quote,;t t
15005 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
15006 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
15007 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
15008 s,@CCDEPMODE@,$CCDEPMODE,;t t
15009 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
15010 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
15012 s,@ac_ct_AR@,$ac_ct_AR,;t t
15013 s,@RANLIB@,$RANLIB,;t t
15014 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15015 s,@LN_S@,$LN_S,;t t
15016 s,@LIBTOOL@,$LIBTOOL,;t t
15017 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
15018 s,@NO_WERROR@,$NO_WERROR,;t t
15019 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
15020 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
15021 s,@MAINT@,$MAINT,;t t
15022 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
15023 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
15024 s,@host_noncanonical@,$host_noncanonical,;t t
15025 s,@target_noncanonical@,$target_noncanonical,;t t
15026 s,@bfdlibdir@,$bfdlibdir,;t t
15027 s,@bfdincludedir@,$bfdincludedir,;t t
15029 s,@EGREP@,$EGREP,;t t
15030 s,@ALLOCA@,$ALLOCA,;t t
15031 s,@USE_NLS@,$USE_NLS,;t t
15032 s,@MSGFMT@,$MSGFMT,;t t
15033 s,@GMSGFMT@,$GMSGFMT,;t t
15034 s,@XGETTEXT@,$XGETTEXT,;t t
15035 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
15036 s,@CATALOGS@,$CATALOGS,;t t
15037 s,@CATOBJEXT@,$CATOBJEXT,;t t
15038 s,@DATADIRNAME@,$DATADIRNAME,;t t
15039 s,@GMOFILES@,$GMOFILES,;t t
15040 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
15041 s,@INTLDEPS@,$INTLDEPS,;t t
15042 s,@INTLLIBS@,$INTLLIBS,;t t
15043 s,@INTLOBJS@,$INTLOBJS,;t t
15044 s,@POFILES@,$POFILES,;t t
15045 s,@POSUB@,$POSUB,;t t
15046 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
15047 s,@GT_NO@,$GT_NO,;t t
15048 s,@GT_YES@,$GT_YES,;t t
15049 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
15051 s,@HDEFINES@,$HDEFINES,;t t
15052 s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
15053 s,@BFD_HOST_LONG_LONG@,$BFD_HOST_LONG_LONG,;t t
15054 s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
15055 s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
15056 s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
15057 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
15058 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
15059 s,@COREFILE@,$COREFILE,;t t
15060 s,@COREFLAG@,$COREFLAG,;t t
15061 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
15062 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
15063 s,@TDEFINES@,$TDEFINES,;t t
15064 s,@wordsize@,$wordsize,;t t
15065 s,@bfd_libs@,$bfd_libs,;t t
15066 s,@all_backends@,$all_backends,;t t
15067 s,@bfd_backends@,$bfd_backends,;t t
15068 s,@bfd_machines@,$bfd_machines,;t t
15069 s,@bfd_default_target_size@,$bfd_default_target_size,;t t
15070 s,@bfd_file_ptr@,$bfd_file_ptr,;t t
15071 s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
15072 s,@tdefaults@,$tdefaults,;t t
15073 s,@LIBOBJS@,$LIBOBJS,;t t
15074 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
15079 cat >>$CONFIG_STATUS <<\_ACEOF
15080 # Split the substitutions into bite-sized pieces for seds with
15081 # small command number limits, like on Digital OSF/1 and HP-UX.
15082 ac_max_sed_lines
=48
15083 ac_sed_frag
=1 # Number of current file.
15084 ac_beg
=1 # First line for current file.
15085 ac_end
=$ac_max_sed_lines # Line after last line for current file.
15088 while $ac_more_lines; do
15089 if test $ac_beg -gt 1; then
15090 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
15092 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
15094 if test ! -s $tmp/subs.frag
; then
15095 ac_more_lines
=false
15097 # The purpose of the label and of the branching condition is to
15098 # speed up the sed processing (if there are no `@' at all, there
15099 # is no need to browse any of the substitutions).
15100 # These are the two extra sed commands mentioned above.
15102 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
15103 if test -z "$ac_sed_cmds"; then
15104 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
15106 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
15108 ac_sed_frag
=`expr $ac_sed_frag + 1`
15110 ac_end
=`expr $ac_end + $ac_max_sed_lines`
15113 if test -z "$ac_sed_cmds"; then
15116 fi # test -n "$CONFIG_FILES"
15119 cat >>$CONFIG_STATUS <<\_ACEOF
15120 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
15121 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15123 - |
*:- |
*:-:* ) # input from stdin
15125 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15126 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15127 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15128 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15129 * ) ac_file_in
=$ac_file.
in ;;
15132 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
15133 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
15134 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15135 X"$ac_file" : 'X\(//\)[^/]' \| \
15136 X"$ac_file" : 'X\(//\)$' \| \
15137 X"$ac_file" : 'X\(/\)' \| \
15138 . : '\(.\)' 2>/dev/null ||
15140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15141 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15142 /^X\(\/\/\)$/{ s//\1/; q; }
15143 /^X\(\/\).*/{ s//\1/; q; }
15145 { if $as_mkdir_p; then
15150 while test ! -d "$as_dir"; do
15151 as_dirs
="$as_dir $as_dirs"
15152 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15153 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15154 X"$as_dir" : 'X\(//\)[^/]' \| \
15155 X"$as_dir" : 'X\(//\)$' \| \
15156 X"$as_dir" : 'X\(/\)' \| \
15157 . : '\(.\)' 2>/dev/null ||
15159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15160 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15161 /^X\(\/\/\)$/{ s//\1/; q; }
15162 /^X\(\/\).*/{ s//\1/; q; }
15165 test ! -n "$as_dirs" || mkdir
$as_dirs
15166 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15167 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15168 { (exit 1); exit 1; }; }; }
15172 if test "$ac_dir" != .
; then
15173 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15174 # A "../" for each directory in $ac_dir_suffix.
15175 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15177 ac_dir_suffix
= ac_top_builddir
=
15181 .
) # No --srcdir option. We are building in place.
15183 if test -z "$ac_top_builddir"; then
15186 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
15188 [\\/]* | ?
:[\\/]* ) # Absolute path.
15189 ac_srcdir
=$srcdir$ac_dir_suffix;
15190 ac_top_srcdir
=$srcdir ;;
15191 *) # Relative path.
15192 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
15193 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
15196 # Do not use `cd foo && pwd` to compute absolute paths, because
15197 # the directories may not exist.
15199 .
) ac_abs_builddir
="$ac_dir";;
15202 .
) ac_abs_builddir
=`pwd`;;
15203 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
15204 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
15207 case $ac_abs_builddir in
15208 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15210 case ${ac_top_builddir}.
in
15211 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
15212 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15213 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
15216 case $ac_abs_builddir in
15217 .
) ac_abs_srcdir
=$ac_srcdir;;
15220 .
) ac_abs_srcdir
=$ac_abs_builddir;;
15221 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
15222 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
15225 case $ac_abs_builddir in
15226 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
15228 case $ac_top_srcdir in
15229 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
15230 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
15231 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
15237 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15238 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
15241 # Let's still pretend it is `configure' which instantiates (i.e., don't
15242 # use $as_me), people would be surprised to read:
15243 # /* config.h. Generated by config.status. */
15244 if test x
"$ac_file" = x-
; then
15247 configure_input
="$ac_file. "
15249 configure_input
=$configure_input"Generated from `echo $ac_file_in |
15250 sed 's,.*/,,'` by configure."
15252 # First look for the input files in the build tree, otherwise in the
15254 ac_file_inputs
=`IFS=:
15255 for f in $ac_file_in; do
15257 -) echo $tmp/stdin ;;
15259 # Absolute (can't be DOS-style, as IFS=:)
15260 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15261 echo "$as_me: error: cannot find input file: $f" >&2;}
15262 { (exit 1); exit 1; }; }
15265 if test -f "$f"; then
15268 elif test -f "$srcdir/$f"; then
15273 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15274 echo "$as_me: error: cannot find input file: $f" >&2;}
15275 { (exit 1); exit 1; }; }
15278 done` ||
{ (exit 1); exit 1; }
15280 if test x
"$ac_file" != x-
; then
15281 { echo "$as_me:$LINENO: creating $ac_file" >&5
15282 echo "$as_me: creating $ac_file" >&6;}
15286 cat >>$CONFIG_STATUS <<_ACEOF
15290 cat >>$CONFIG_STATUS <<\_ACEOF
15292 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15293 s
,@configure_input@
,$configure_input,;t t
15294 s
,@srcdir@
,$ac_srcdir,;t t
15295 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
15296 s
,@top_srcdir@
,$ac_top_srcdir,;t t
15297 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
15298 s
,@builddir@
,$ac_builddir,;t t
15299 s
,@abs_builddir@
,$ac_abs_builddir,;t t
15300 s
,@top_builddir@
,$ac_top_builddir,;t t
15301 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
15302 s
,@INSTALL@
,$ac_INSTALL,;t t
15303 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15305 if test x"$ac_file" != x-; then
15306 mv $tmp/out $ac_file
15314 cat >>$CONFIG_STATUS <<\_ACEOF
15317 # CONFIG_HEADER section.
15320 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
15321 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15323 # ac_d sets the value in "#define NAME VALUE" lines.
15324 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15325 ac_dB
='[ ].*$,\1#\2'
15328 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15329 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15330 ac_uB
='$,\1#\2define\3'
15334 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
15335 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15337 - |
*:- |
*:-:* ) # input from stdin
15339 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15340 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15341 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15342 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15343 * ) ac_file_in
=$ac_file.
in ;;
15346 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
15347 echo "$as_me: creating $ac_file" >&6;}
15349 # First look for the input files in the build tree, otherwise in the
15351 ac_file_inputs
=`IFS=:
15352 for f in $ac_file_in; do
15354 -) echo $tmp/stdin ;;
15356 # Absolute (can't be DOS-style, as IFS=:)
15357 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15358 echo "$as_me: error: cannot find input file: $f" >&2;}
15359 { (exit 1); exit 1; }; }
15360 # Do quote $f, to prevent DOS paths from being IFS'd.
15363 if test -f "$f"; then
15366 elif test -f "$srcdir/$f"; then
15371 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15372 echo "$as_me: error: cannot find input file: $f" >&2;}
15373 { (exit 1); exit 1; }; }
15376 done` ||
{ (exit 1); exit 1; }
15377 # Remove the trailing spaces.
15378 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
15382 # Transform confdefs.h into two sed scripts, `conftest.defines' and
15383 # `conftest.undefs', that substitutes the proper values into
15384 # config.h.in to produce config.h. The first handles `#define'
15385 # templates, and the second `#undef' templates.
15386 # And first: Protect against being on the right side of a sed subst in
15387 # config.status. Protect against being in an unquoted here document
15388 # in config.status.
15389 rm -f conftest.defines conftest.undefs
15390 # Using a here document instead of a string reduces the quoting nightmare.
15391 # Putting comments in sed scripts is not portable.
15393 # `end' is used to avoid that the second main sed command (meant for
15394 # 0-ary CPP macros) applies to n-ary macro definitions.
15395 # See the Autoconf documentation for `clear'.
15396 cat >confdef2sed.
sed <<\_ACEOF
15401 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15403 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15406 # If some macros were called several times there might be several times
15407 # the same #defines, which is useless. Nevertheless, we may not want to
15408 # sort them, since we want the *last* AC-DEFINE to be honored.
15409 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15410 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15411 rm -f confdef2sed.sed
15413 # This sed command replaces #undef with comments. This is necessary, for
15414 # example, in the case of _POSIX_SOURCE, which is predefined and required
15415 # on some systems where configure will not decide to define it.
15416 cat >>conftest.undefs <<\_ACEOF
15417 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15420 # Break up conftest.defines because some shells have a limit on the size
15421 # of here documents, and old seds have small limits too (100 cmds).
15422 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15423 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15424 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15425 echo ' :' >>$CONFIG_STATUS
15426 rm -f conftest.tail
15427 while grep . conftest.defines >/dev/null
15429 # Write a limited-size here document to $tmp/defines.sed.
15430 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15431 # Speed up: don't consider the non `#define' lines.
15432 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
15433 # Work around the forget-to-reset-the-flag bug.
15434 echo 't clr' >>$CONFIG_STATUS
15435 echo ': clr' >>$CONFIG_STATUS
15436 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
15438 sed -f $tmp/defines.sed $tmp/in >$tmp/out
15440 mv $tmp/out $tmp/in
15442 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
15443 rm -f conftest.defines
15444 mv conftest.
tail conftest.defines
15446 rm -f conftest.defines
15447 echo ' fi # grep' >>$CONFIG_STATUS
15448 echo >>$CONFIG_STATUS
15450 # Break up conftest.undefs because some shells have a limit on the size
15451 # of here documents, and old seds have small limits too (100 cmds).
15452 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
15453 rm -f conftest.
tail
15454 while grep . conftest.undefs
>/dev
/null
15456 # Write a limited-size here document to $tmp/undefs.sed.
15457 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15458 # Speed up: don't consider the non
`#undef'
15459 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
15460 # Work around the forget-to-reset-the-flag bug.
15461 echo 't clr' >>$CONFIG_STATUS
15462 echo ': clr' >>$CONFIG_STATUS
15463 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15465 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15467 mv $tmp/out $tmp/in
15469 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15470 rm -f conftest.undefs
15471 mv conftest.tail conftest.undefs
15473 rm -f conftest.undefs
15475 cat >>$CONFIG_STATUS <<\_ACEOF
15476 # Let's still pretend it is `configure
' which instantiates (i.e., don't
15477 # use $as_me), people would be surprised to read:
15478 # /* config.h. Generated by config.status. */
15479 if test x
"$ac_file" = x-
; then
15480 echo "/* Generated by configure. */" >$tmp/config.h
15482 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
15484 cat $tmp/in >>$tmp/config.h
15486 if test x
"$ac_file" != x-
; then
15487 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
15488 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15489 echo "$as_me: $ac_file is unchanged" >&6;}
15491 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
15492 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15493 X"$ac_file" : 'X\(//\)[^/]' \| \
15494 X"$ac_file" : 'X\(//\)$' \| \
15495 X"$ac_file" : 'X\(/\)' \| \
15496 . : '\(.\)' 2>/dev/null ||
15498 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15499 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15500 /^X\(\/\/\)$/{ s//\1/; q; }
15501 /^X\(\/\).*/{ s//\1/; q; }
15503 { if $as_mkdir_p; then
15508 while test ! -d "$as_dir"; do
15509 as_dirs
="$as_dir $as_dirs"
15510 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15511 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15512 X"$as_dir" : 'X\(//\)[^/]' \| \
15513 X"$as_dir" : 'X\(//\)$' \| \
15514 X"$as_dir" : 'X\(/\)' \| \
15515 . : '\(.\)' 2>/dev/null ||
15517 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15518 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15519 /^X\(\/\/\)$/{ s//\1/; q; }
15520 /^X\(\/\).*/{ s//\1/; q; }
15523 test ! -n "$as_dirs" || mkdir
$as_dirs
15524 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15525 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15526 { (exit 1); exit 1; }; }; }
15529 mv $tmp/config.h
$ac_file
15533 rm -f $tmp/config.h
15535 # Compute $ac_file's index in $config_headers.
15537 for _am_header
in $config_headers :; do
15538 case $_am_header in
15539 $ac_file |
$ac_file:* )
15542 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15545 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
15546 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15547 X$ac_file : 'X\(//\)[^/]' \| \
15548 X$ac_file : 'X\(//\)$' \| \
15549 X$ac_file : 'X\(/\)' \| \
15550 . : '\(.\)' 2>/dev/null ||
15552 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15553 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15554 /^X\(\/\/\)$/{ s//\1/; q; }
15555 /^X\(\/\).*/{ s//\1/; q; }
15556 s/.*/./; q'`/stamp-h
$_am_stamp_count
15559 cat >>$CONFIG_STATUS <<\_ACEOF
15562 # CONFIG_COMMANDS section.
15564 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
15565 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
15566 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15567 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
15568 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15569 X"$ac_dest" : 'X\(//\)[^/]' \| \
15570 X"$ac_dest" : 'X\(//\)$' \| \
15571 X"$ac_dest" : 'X\(/\)' \| \
15572 . : '\(.\)' 2>/dev/null ||
15574 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15575 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15576 /^X\(\/\/\)$/{ s//\1/; q; }
15577 /^X\(\/\).*/{ s//\1/; q; }
15579 { if $as_mkdir_p; then
15584 while test ! -d "$as_dir"; do
15585 as_dirs
="$as_dir $as_dirs"
15586 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15587 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15588 X"$as_dir" : 'X\(//\)[^/]' \| \
15589 X"$as_dir" : 'X\(//\)$' \| \
15590 X"$as_dir" : 'X\(/\)' \| \
15591 . : '\(.\)' 2>/dev/null ||
15593 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15594 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15595 /^X\(\/\/\)$/{ s//\1/; q; }
15596 /^X\(\/\).*/{ s//\1/; q; }
15599 test ! -n "$as_dirs" || mkdir
$as_dirs
15600 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15601 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15602 { (exit 1); exit 1; }; }; }
15606 if test "$ac_dir" != .
; then
15607 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15608 # A "../" for each directory in $ac_dir_suffix.
15609 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15611 ac_dir_suffix
= ac_top_builddir
=
15615 .
) # No --srcdir option. We are building in place.
15617 if test -z "$ac_top_builddir"; then
15620 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
15622 [\\/]* | ?
:[\\/]* ) # Absolute path.
15623 ac_srcdir
=$srcdir$ac_dir_suffix;
15624 ac_top_srcdir
=$srcdir ;;
15625 *) # Relative path.
15626 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
15627 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
15630 # Do not use `cd foo && pwd` to compute absolute paths, because
15631 # the directories may not exist.
15633 .
) ac_abs_builddir
="$ac_dir";;
15636 .
) ac_abs_builddir
=`pwd`;;
15637 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
15638 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
15641 case $ac_abs_builddir in
15642 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15644 case ${ac_top_builddir}.
in
15645 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
15646 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15647 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
15650 case $ac_abs_builddir in
15651 .
) ac_abs_srcdir
=$ac_srcdir;;
15654 .
) ac_abs_srcdir
=$ac_abs_builddir;;
15655 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
15656 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
15659 case $ac_abs_builddir in
15660 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
15662 case $ac_top_srcdir in
15663 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
15664 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
15665 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
15670 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
15671 echo "$as_me: executing $ac_dest commands" >&6;}
15673 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
15674 # Strip MF so we end up with the name of the file.
15675 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15676 # Check whether this is an Automake generated Makefile or not.
15677 # We used to match only the files named `Makefile.in', but
15678 # some people rename them; so instead we look at the file content.
15679 # Grep'ing the first line is not enough: some people post-process
15680 # each Makefile.in and add a new line on top of each file to say so.
15681 # So let's grep whole file.
15682 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
15683 dirpart
=`(dirname "$mf") 2>/dev/null ||
15684 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15685 X"$mf" : 'X\(//\)[^/]' \| \
15686 X"$mf" : 'X\(//\)$' \| \
15687 X"$mf" : 'X\(/\)' \| \
15688 . : '\(.\)' 2>/dev/null ||
15690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15691 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15692 /^X\(\/\/\)$/{ s//\1/; q; }
15693 /^X\(\/\).*/{ s//\1/; q; }
15698 # Extract the definition of DEPDIR, am__include, and am__quote
15699 # from the Makefile without running `make'.
15700 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15701 test -z "$DEPDIR" && continue
15702 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15703 test -z "am__include" && continue
15704 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15705 # When using ansi2knr, U may be empty or an underscore; expand it
15706 U
=`sed -n 's/^U = //p' < "$mf"`
15707 # Find all dependency output files, they are included files with
15708 # $(DEPDIR) in their names. We invoke sed twice because it is the
15709 # simplest approach to changing $(DEPDIR) to its actual value in the
15711 for file in `sed -n "
15712 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15713 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15714 # Make sure the directory exists.
15715 test -f "$dirpart/$file" && continue
15716 fdir
=`(dirname "$file") 2>/dev/null ||
15717 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15718 X"$file" : 'X\(//\)[^/]' \| \
15719 X"$file" : 'X\(//\)$' \| \
15720 X"$file" : 'X\(/\)' \| \
15721 . : '\(.\)' 2>/dev/null ||
15723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15724 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15725 /^X\(\/\/\)$/{ s//\1/; q; }
15726 /^X\(\/\).*/{ s//\1/; q; }
15728 { if $as_mkdir_p; then
15729 mkdir
-p $dirpart/$fdir
15731 as_dir
=$dirpart/$fdir
15733 while test ! -d "$as_dir"; do
15734 as_dirs
="$as_dir $as_dirs"
15735 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15736 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15737 X"$as_dir" : 'X\(//\)[^/]' \| \
15738 X"$as_dir" : 'X\(//\)$' \| \
15739 X"$as_dir" : 'X\(/\)' \| \
15740 . : '\(.\)' 2>/dev/null ||
15742 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15743 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15744 /^X\(\/\/\)$/{ s//\1/; q; }
15745 /^X\(\/\).*/{ s//\1/; q; }
15748 test ! -n "$as_dirs" || mkdir
$as_dirs
15749 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
15750 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
15751 { (exit 1); exit 1; }; }; }
15753 # echo "creating $dirpart/$file"
15754 echo '# dummy' > "$dirpart/$file"
15758 default
) sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' -e '/BLD-POTFILES =/r po/BLD-POTFILES' po
/Makefile.
in > po
/Makefile
;;
15763 cat >>$CONFIG_STATUS <<\_ACEOF
15765 { (exit 0); exit 0; }
15767 chmod +x
$CONFIG_STATUS
15768 ac_clean_files
=$ac_clean_files_save
15771 # configure is writing to config.log, and then calls config.status.
15772 # config.status does its own redirection, appending to config.log.
15773 # Unfortunately, on DOS this fails, as config.log is still kept open
15774 # by configure, so config.status won't be able to write to it; its
15775 # output is simply discarded. So we exec the FD to /dev/null,
15776 # effectively closing config.log, so it can be properly (re)opened and
15777 # appended to by config.status. When coming back to configure, we
15778 # need to make the FD available again.
15779 if test "$no_create" != yes; then
15781 ac_config_status_args
=
15782 test "$silent" = yes &&
15783 ac_config_status_args
="$ac_config_status_args --quiet"
15785 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15787 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15788 # would make configure fail if this is the last instruction.
15789 $ac_cs_success ||
{ (exit 1); exit 1; }