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 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
308 for dir
in $PATH /usr
/ucb
; do
310 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
320 if test "X$ECHO" = Xecho
; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
327 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL
=/bin
/ksh
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
343 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
349 SHELL
="$CONFIG_SHELL"
351 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
358 # maybe with a smaller string...
361 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string
=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 # Oops. We lost completely, so just stick with echo.
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
403 ac_default_prefix
=/usr
/local
404 ac_config_libobj_dir
=.
409 SHELL
=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
423 ac_unique_file
="libbfd.c"
424 # Factoring default headers for most tests.
425 ac_includes_default
="\
428 # include <sys/types.h>
431 # include <sys/stat.h>
442 # if !STDC_HEADERS && HAVE_MEMORY_H
448 # include <strings.h>
451 # include <inttypes.h>
461 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 LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S lt_ECHO CPP DEBUGDIR PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE HDEFINES BFD_HOST_64BIT_LONG BFD_HOST_64BIT_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT BFD_HOSTPTR_T CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG WIN32LDFLAGS WIN32LIBADD TDEFINES wordsize bfd64_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
464 # Initialize some variables set by options.
466 ac_init_version
=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
476 program_transform_name
=s
,x
,x
,
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir
='${exec_prefix}/bin'
490 sbindir
='${exec_prefix}/sbin'
491 libexecdir
='${exec_prefix}/libexec'
492 datadir
='${prefix}/share'
493 sysconfdir
='${prefix}/etc'
494 sharedstatedir
='${prefix}/com'
495 localstatedir
='${prefix}/var'
496 libdir
='${exec_prefix}/lib'
497 includedir
='${prefix}/include'
498 oldincludedir
='/usr/include'
499 infodir
='${prefix}/info'
500 mandir
='${prefix}/man'
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
512 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
518 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
520 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
523 -build |
--build |
--buil |
--bui |
--bu)
524 ac_prev
=build_alias
;;
525 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
526 build_alias
=$ac_optarg ;;
528 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
529 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
530 ac_prev
=cache_file
;;
531 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
532 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
533 cache_file
=$ac_optarg ;;
536 cache_file
=config.cache
;;
538 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
540 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
542 datadir
=$ac_optarg ;;
544 -disable-* |
--disable-*)
545 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* |
--enable-*)
554 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
561 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
567 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
568 |
--exec |
--exe |
--ex)
569 ac_prev
=exec_prefix
;;
570 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
571 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
572 |
--exec=* |
--exe=* |
--ex=*)
573 exec_prefix
=$ac_optarg ;;
575 -gas |
--gas |
--ga |
--g)
576 # Obsolete; use --with-gas.
579 -help |
--help |
--hel |
--he |
-h)
581 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
582 ac_init_help
=recursive
;;
583 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
584 ac_init_help
=short
;;
586 -host |
--host |
--hos |
--ho)
587 ac_prev
=host_alias
;;
588 -host=* |
--host=* |
--hos=* |
--ho=*)
589 host_alias
=$ac_optarg ;;
591 -includedir |
--includedir |
--includedi |
--included |
--include \
592 |
--includ |
--inclu |
--incl |
--inc)
593 ac_prev
=includedir
;;
594 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
595 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
596 includedir
=$ac_optarg ;;
598 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
600 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
601 infodir
=$ac_optarg ;;
603 -libdir |
--libdir |
--libdi |
--libd)
605 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
608 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
609 |
--libexe |
--libex |
--libe)
610 ac_prev
=libexecdir
;;
611 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
612 |
--libexe=* |
--libex=* |
--libe=*)
613 libexecdir
=$ac_optarg ;;
615 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
616 |
--localstate |
--localstat |
--localsta |
--localst \
617 |
--locals |
--local |
--loca |
--loc |
--lo)
618 ac_prev
=localstatedir
;;
619 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
620 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
621 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
622 localstatedir
=$ac_optarg ;;
624 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
626 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
630 # Obsolete; use --without-fp.
633 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
634 |
--no-cr |
--no-c |
-n)
637 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
638 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
641 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
642 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
643 |
--oldin |
--oldi |
--old |
--ol |
--o)
644 ac_prev
=oldincludedir
;;
645 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
646 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
647 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
648 oldincludedir
=$ac_optarg ;;
650 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
652 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
655 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
656 |
--program-pre |
--program-pr |
--program-p)
657 ac_prev
=program_prefix
;;
658 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
659 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
660 program_prefix
=$ac_optarg ;;
662 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
663 |
--program-suf |
--program-su |
--program-s)
664 ac_prev
=program_suffix
;;
665 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
666 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
667 program_suffix
=$ac_optarg ;;
669 -program-transform-name |
--program-transform-name \
670 |
--program-transform-nam |
--program-transform-na \
671 |
--program-transform-n |
--program-transform- \
672 |
--program-transform |
--program-transfor \
673 |
--program-transfo |
--program-transf \
674 |
--program-trans |
--program-tran \
675 |
--progr-tra |
--program-tr |
--program-t)
676 ac_prev
=program_transform_name
;;
677 -program-transform-name=* |
--program-transform-name=* \
678 |
--program-transform-nam=* |
--program-transform-na=* \
679 |
--program-transform-n=* |
--program-transform-=* \
680 |
--program-transform=* |
--program-transfor=* \
681 |
--program-transfo=* |
--program-transf=* \
682 |
--program-trans=* |
--program-tran=* \
683 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
684 program_transform_name
=$ac_optarg ;;
686 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
687 |
-silent |
--silent |
--silen |
--sile |
--sil)
690 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
692 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
694 sbindir
=$ac_optarg ;;
696 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
697 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
698 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
700 ac_prev
=sharedstatedir
;;
701 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
702 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
703 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
705 sharedstatedir
=$ac_optarg ;;
707 -site |
--site |
--sit)
709 -site=* |
--site=* |
--sit=*)
712 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
714 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
717 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
718 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
719 ac_prev
=sysconfdir
;;
720 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
721 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
722 sysconfdir
=$ac_optarg ;;
724 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
725 ac_prev
=target_alias
;;
726 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
727 target_alias
=$ac_optarg ;;
729 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
732 -version |
--version |
--versio |
--versi |
--vers |
-V)
736 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package
=`echo $ac_package| sed 's/-/_/g'`
743 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* |
--without-*)
749 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package
=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
758 # Obsolete; use --with-x.
761 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
762 |
--x-incl |
--x-inc |
--x-in |
--x-i)
763 ac_prev
=x_includes
;;
764 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
765 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
766 x_includes
=$ac_optarg ;;
768 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
769 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
770 ac_prev
=x_libraries
;;
771 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
772 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
773 x_libraries
=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
781 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
801 if test -n "$ac_prev"; then
802 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var
in exec_prefix prefix
810 eval ac_val
=$
`echo $ac_var`
812 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
818 # Be sure to have absolute paths.
819 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val
=$
`echo $ac_var`
824 [\\/$
]* | ?
:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x
; then
839 if test "x$build_alias" = x
; then
840 cross_compiling
=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
849 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
851 test "$silent" = yes && exec 6>/dev
/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted
=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir
=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
871 if test ! -r $srcdir/$ac_unique_file; then
875 ac_srcdir_defaulted
=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set
=${build_alias+set}
891 ac_env_build_alias_value
=$build_alias
892 ac_cv_env_build_alias_set
=${build_alias+set}
893 ac_cv_env_build_alias_value
=$build_alias
894 ac_env_host_alias_set
=${host_alias+set}
895 ac_env_host_alias_value
=$host_alias
896 ac_cv_env_host_alias_set
=${host_alias+set}
897 ac_cv_env_host_alias_value
=$host_alias
898 ac_env_target_alias_set
=${target_alias+set}
899 ac_env_target_alias_value
=$target_alias
900 ac_cv_env_target_alias_set
=${target_alias+set}
901 ac_cv_env_target_alias_value
=$target_alias
902 ac_env_CC_set
=${CC+set}
904 ac_cv_env_CC_set
=${CC+set}
905 ac_cv_env_CC_value
=$CC
906 ac_env_CFLAGS_set
=${CFLAGS+set}
907 ac_env_CFLAGS_value
=$CFLAGS
908 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
909 ac_cv_env_CFLAGS_value
=$CFLAGS
910 ac_env_LDFLAGS_set
=${LDFLAGS+set}
911 ac_env_LDFLAGS_value
=$LDFLAGS
912 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
913 ac_cv_env_LDFLAGS_value
=$LDFLAGS
914 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
915 ac_env_CPPFLAGS_value
=$CPPFLAGS
916 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
917 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
918 ac_env_CPP_set
=${CPP+set}
919 ac_env_CPP_value
=$CPP
920 ac_cv_env_CPP_set
=${CPP+set}
921 ac_cv_env_CPP_value
=$CPP
924 # Report the --help message.
926 if test "$ac_init_help" = "long"; then
927 # Omit some internal or obsolete options to make the list less imposing.
928 # This message is too long to be a string in the A/UX 3.1 sh.
930 \`configure' configures this package to adapt to many kinds of systems.
932 Usage: $0 [OPTION]... [VAR=VALUE]...
934 To assign environment variables (e.g., CC, CFLAGS...), specify them as
935 VAR=VALUE. See below for descriptions of some of the useful variables.
937 Defaults for the options are specified in brackets.
940 -h, --help display this help and exit
941 --help=short display options specific to this package
942 --help=recursive display the short help of all the included packages
943 -V, --version display version information and exit
944 -q, --quiet, --silent do not print \`checking...' messages
945 --cache-file=FILE cache test results in FILE [disabled]
946 -C, --config-cache alias for \`--cache-file=config.cache'
947 -n, --no-create do not create output files
948 --srcdir=DIR find the sources in DIR [configure dir or \`..']
953 Installation directories:
954 --prefix=PREFIX install architecture-independent files in PREFIX
956 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
959 By default, \`make install' will install all the files in
960 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
961 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
962 for instance \`--prefix=\$HOME'.
964 For better control, use the options below.
966 Fine tuning of the installation directories:
967 --bindir=DIR user executables [EPREFIX/bin]
968 --sbindir=DIR system admin executables [EPREFIX/sbin]
969 --libexecdir=DIR program executables [EPREFIX/libexec]
970 --datadir=DIR read-only architecture-independent data [PREFIX/share]
971 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
972 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
973 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
974 --libdir=DIR object code libraries [EPREFIX/lib]
975 --includedir=DIR C header files [PREFIX/include]
976 --oldincludedir=DIR C header files for non-gcc [/usr/include]
977 --infodir=DIR info documentation [PREFIX/info]
978 --mandir=DIR man documentation [PREFIX/man]
984 --program-prefix=PREFIX prepend PREFIX to installed program names
985 --program-suffix=SUFFIX append SUFFIX to installed program names
986 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
989 --build=BUILD configure
for building on BUILD
[guessed
]
990 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
991 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
995 if test -n "$ac_init_help"; then
1000 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1001 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1002 --disable-dependency-tracking speeds up one-time build
1003 --enable-dependency-tracking do not reject slow dependency extractors
1004 --enable-shared[=PKGS
]
1005 build shared libraries
[default
=no
]
1006 --enable-static[=PKGS
]
1007 build static libraries
[default
=yes]
1008 --enable-fast-install[=PKGS
]
1009 optimize
for fast installation
[default
=yes]
1010 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1011 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
1012 --enable-targets alternative target configurations
1013 --enable-commonbfdlib build shared BFD
/opcodes
/libiberty library
1014 --enable-secureplt Default to creating read-only plt entries
1015 --enable-elf-stt-common Allow the generation of ELF symbols with the STT_COMMON
type
1016 --enable-werror treat compile warnings as errors
1017 --enable-build-warnings enable build-time compiler warnings
1018 --enable-maintainer-mode enable make rules and dependencies not useful
1019 (and sometimes confusing
) to the casual installer
1020 --enable-install-libbfd controls installation of libbfd and related headers
1021 --disable-nls do not use Native Language Support
1024 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1025 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1026 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1028 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1029 --with-mmap try using mmap
for BFD input files
if available
1030 --with-separate-debug-dir=DIR
1031 Look
for global separate debug info
in DIR
1032 [default
=LIBDIR
/debug
]
1033 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GNU
1035 --with-bugurl=URL Direct users to URL to report a bug
1037 Some influential environment variables
:
1038 CC C compiler
command
1039 CFLAGS C compiler flags
1040 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1041 nonstandard directory
<lib dir
>
1042 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1043 headers
in a nonstandard directory
<include dir
>
1046 Use these variables to override the choices made by
`configure' or to help
1047 it to find libraries and programs with nonstandard names/locations.
1052 if test "$ac_init_help" = "recursive"; then
1053 # If there are subdirs, report their specific --help.
1055 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1056 test -d $ac_dir || continue
1059 if test "$ac_dir" != .; then
1060 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1061 # A "../" for each directory in $ac_dir_suffix.
1062 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1064 ac_dir_suffix= ac_top_builddir=
1068 .) # No --srcdir option. We are building in place.
1070 if test -z "$ac_top_builddir"; then
1073 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1075 [\\/]* | ?:[\\/]* ) # Absolute path.
1076 ac_srcdir=$srcdir$ac_dir_suffix;
1077 ac_top_srcdir=$srcdir ;;
1079 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1080 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1083 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1084 # the directories may not exist.
1086 .) ac_abs_builddir="$ac_dir";;
1089 .) ac_abs_builddir=`pwd`;;
1090 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1091 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1094 case $ac_abs_builddir in
1095 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1097 case ${ac_top_builddir}. in
1098 .) ac_abs_top_builddir=$ac_abs_builddir;;
1099 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1100 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1103 case $ac_abs_builddir in
1104 .) ac_abs_srcdir=$ac_srcdir;;
1107 .) ac_abs_srcdir=$ac_abs_builddir;;
1108 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1109 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1112 case $ac_abs_builddir in
1113 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1115 case $ac_top_srcdir in
1116 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1117 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1118 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1123 # Check for guested configure; otherwise get Cygnus style configure.
1124 if test -f $ac_srcdir/configure.gnu; then
1126 $SHELL $ac_srcdir/configure.gnu --help=recursive
1127 elif test -f $ac_srcdir/configure; then
1129 $SHELL $ac_srcdir/configure --help=recursive
1130 elif test -f $ac_srcdir/configure.ac ||
1131 test -f $ac_srcdir/configure.in; then
1133 $ac_configure --help
1135 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1141 test -n "$ac_init_help" && exit 0
1142 if $ac_init_version; then
1145 Copyright (C) 2003 Free Software Foundation, Inc.
1146 This configure script is free software; the Free Software Foundation
1147 gives unlimited permission to copy, distribute and modify it.
1153 This file contains any messages produced by compilers while
1154 running configure, to aid debugging if configure makes a mistake.
1156 It was created by $as_me, which was
1157 generated by GNU Autoconf 2.59. Invocation command line was
1168 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1169 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1170 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1171 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1172 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1174 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1175 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1177 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1178 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1179 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1180 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1181 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1182 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1183 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1191 test -z "$as_dir" && as_dir=.
1192 echo "PATH: $as_dir"
1207 # Keep a trace of the command line.
1208 # Strip out --no-create and --no-recursion so they do not pile up.
1209 # Strip out --silent because we don't want to record it for future runs.
1210 # Also quote any args containing shell meta-characters.
1211 # Make two passes to allow for proper duplicate-argument suppression.
1216 ac_must_keep_next=false
1222 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1223 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1224 | -silent | --silent | --silen | --sile | --sil)
1226 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1227 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1230 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1232 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1233 if test $ac_must_keep_next = true; then
1234 ac_must_keep_next=false # Got value, back to normal.
1237 *=* | --config-cache | -C | -disable-* | --disable-* \
1238 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1239 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1240 | -with-* | --with-* | -without-* | --without-* | --x)
1241 case "$ac_configure_args0 " in
1242 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1245 -* ) ac_must_keep_next=true ;;
1248 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1249 # Get rid of the leading space.
1255 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1256 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1258 # When interrupted or exit'd, cleanup temporary files, and complete
1259 # config.log. We remove comments because anyway the quotes in there
1260 # would cause problems or look ugly.
1261 # WARNING: Be sure not to use single quotes in there, as some shells,
1262 # such as our DU 5.0 friend, will then `close
' the trap.
1263 trap 'exit_status
=$?
1264 # Save into config.log some information that might help in debugging.
1269 ## ---------------- ##
1270 ## Cache variables. ##
1271 ## ---------------- ##
1274 # The following way of writing the cache mishandles newlines in values,
1277 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1280 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1281 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1285 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1292 ## ----------------- ##
1293 ## Output variables. ##
1294 ## ----------------- ##
1297 for ac_var
in $ac_subst_vars
1299 eval ac_val
=$
`echo $ac_var`
1300 echo "$ac_var='"'"'$ac_val'"'"'"
1304 if test -n "$ac_subst_files"; then
1311 for ac_var
in $ac_subst_files
1313 eval ac_val
=$
`echo $ac_var`
1314 echo "$ac_var='"'"'$ac_val'"'"'"
1319 if test -s confdefs.h
; then
1326 sed "/^$/d" confdefs.h |
sort
1329 test "$ac_signal" != 0 &&
1330 echo "$as_me: caught signal $ac_signal"
1331 echo "$as_me: exit $exit_status"
1333 rm -f core
*.core
&&
1334 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1337 for ac_signal in 1 2 13 15; do
1338 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1342 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1343 rm -rf conftest* confdefs.h
1344 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1347 # Predefined preprocessor variables.
1349 cat >>confdefs.h <<_ACEOF
1350 #define PACKAGE_NAME "$PACKAGE_NAME"
1354 cat >>confdefs.h <<_ACEOF
1355 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1359 cat >>confdefs.h <<_ACEOF
1360 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1364 cat >>confdefs.h <<_ACEOF
1365 #define PACKAGE_STRING "$PACKAGE_STRING"
1369 cat >>confdefs.h <<_ACEOF
1370 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1374 # Let the site file select an alternate cache file if it wants to.
1375 # Prefer explicitly selected file to automatically selected ones.
1376 if test -z "$CONFIG_SITE"; then
1377 if test "x$prefix" != xNONE; then
1378 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1380 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1383 for ac_site_file in $CONFIG_SITE; do
1384 if test -r "$ac_site_file"; then
1385 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1386 echo "$as_me: loading site script $ac_site_file" >&6;}
1387 sed 's
/^
/|
/' "$ac_site_file" >&5
1392 if test -r "$cache_file"; then
1393 # Some versions of bash will fail to source /dev/null (special
1394 # files actually), so we avoid doing that.
1395 if test -f "$cache_file"; then
1396 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1397 echo "$as_me: loading cache $cache_file" >&6;}
1399 [\\/]* | ?:[\\/]* ) . $cache_file;;
1400 *) . ./$cache_file;;
1404 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1405 echo "$as_me: creating cache $cache_file" >&6;}
1409 # Check that the precious variables saved in the cache have kept the same
1411 ac_cache_corrupted=false
1412 for ac_var in `(set) 2>&1 |
1413 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1414 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1415 eval ac_new_set=\$ac_env_${ac_var}_set
1416 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1417 eval ac_new_val="\$ac_env_${ac_var}_value"
1418 case $ac_old_set,$ac_new_set in
1420 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1421 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1422 ac_cache_corrupted=: ;;
1424 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1425 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1426 ac_cache_corrupted=: ;;
1429 if test "x$ac_old_val" != "x$ac_new_val"; then
1430 # differences in whitespace do not lead to failure.
1431 ac_old_val_w=`echo x $ac_old_val`
1432 ac_new_val_w=`echo x $ac_new_val`
1433 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1434 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1435 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1436 ac_cache_corrupted=:
1438 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1439 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1440 eval $ac_var=\$ac_old_val
1442 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1443 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1444 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1445 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1448 # Pass precious variables to config.status.
1449 if test "$ac_new_set" = set; then
1451 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1452 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1453 *) ac_arg=$ac_var=$ac_new_val ;;
1455 case " $ac_configure_args " in
1456 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1457 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1461 if $ac_cache_corrupted; then
1462 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1463 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1464 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1465 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1466 { (exit 1); exit 1; }; }
1470 ac_cpp='$CPP $CPPFLAGS'
1471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1472 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1496 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1497 if test -f $ac_dir/install-sh; then
1499 ac_install_sh="$ac_aux_dir/install-sh -c"
1501 elif test -f $ac_dir/install.sh; then
1503 ac_install_sh="$ac_aux_dir/install.sh -c"
1505 elif test -f $ac_dir/shtool; then
1507 ac_install_sh="$ac_aux_dir/shtool install -c"
1511 if test -z "$ac_aux_dir"; then
1512 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1513 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1514 { (exit 1); exit 1; }; }
1516 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1517 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1518 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1520 # Make sure we can run config.sub.
1521 $ac_config_sub sun4 >/dev/null 2>&1 ||
1522 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1523 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1524 { (exit 1); exit 1; }; }
1526 echo "$as_me:$LINENO: checking build system type" >&5
1527 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1528 if test "${ac_cv_build+set}" = set; then
1529 echo $ECHO_N "(cached) $ECHO_C" >&6
1531 ac_cv_build_alias=$build_alias
1532 test -z "$ac_cv_build_alias" &&
1533 ac_cv_build_alias=`$ac_config_guess`
1534 test -z "$ac_cv_build_alias" &&
1535 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1536 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1537 { (exit 1); exit 1; }; }
1538 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1539 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1540 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1541 { (exit 1); exit 1; }; }
1544 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1545 echo "${ECHO_T}$ac_cv_build" >&6
1547 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1548 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1549 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1552 echo "$as_me:$LINENO: checking host system type" >&5
1553 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1554 if test "${ac_cv_host+set}" = set; then
1555 echo $ECHO_N "(cached) $ECHO_C" >&6
1557 ac_cv_host_alias=$host_alias
1558 test -z "$ac_cv_host_alias" &&
1559 ac_cv_host_alias=$ac_cv_build_alias
1560 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1561 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1562 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1563 { (exit 1); exit 1; }; }
1566 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1567 echo "${ECHO_T}$ac_cv_host" >&6
1569 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1570 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1571 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1574 echo "$as_me:$LINENO: checking target system type" >&5
1575 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1576 if test "${ac_cv_target+set}" = set; then
1577 echo $ECHO_N "(cached) $ECHO_C" >&6
1579 ac_cv_target_alias=$target_alias
1580 test "x$ac_cv_target_alias" = "x" &&
1581 ac_cv_target_alias=$ac_cv_host_alias
1582 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1583 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1584 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1585 { (exit 1); exit 1; }; }
1588 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1589 echo "${ECHO_T}$ac_cv_target" >&6
1590 target=$ac_cv_target
1591 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1592 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1593 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1596 # The aliases save the names the user supplied, while $host etc.
1597 # will get canonicalized.
1598 test -n "$target_alias" &&
1599 test "$program_prefix$program_suffix$program_transform_name" = \
1601 program_prefix=${target_alias}-
1603 ac_cpp='$CPP $CPPFLAGS'
1604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1605 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1607 if test -n "$ac_tool_prefix"; then
1608 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1609 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1610 echo "$as_me:$LINENO: checking for $ac_word" >&5
1611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1612 if test "${ac_cv_prog_CC+set}" = set; then
1613 echo $ECHO_N "(cached) $ECHO_C" >&6
1615 if test -n "$CC"; then
1616 ac_cv_prog_CC="$CC" # Let the user override the test.
1618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1622 test -z "$as_dir" && as_dir=.
1623 for ac_exec_ext in '' $ac_executable_extensions; do
1624 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1625 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1635 if test -n "$CC"; then
1636 echo "$as_me:$LINENO: result: $CC" >&5
1637 echo "${ECHO_T}$CC" >&6
1639 echo "$as_me:$LINENO: result: no" >&5
1640 echo "${ECHO_T}no" >&6
1644 if test -z "$ac_cv_prog_CC"; then
1646 # Extract the first word of "gcc", so it can be a program name with args.
1647 set dummy gcc; ac_word=$2
1648 echo "$as_me:$LINENO: checking for $ac_word" >&5
1649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1650 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1651 echo $ECHO_N "(cached) $ECHO_C" >&6
1653 if test -n "$ac_ct_CC"; then
1654 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1660 test -z "$as_dir" && as_dir=.
1661 for ac_exec_ext in '' $ac_executable_extensions; do
1662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1663 ac_cv_prog_ac_ct_CC="gcc"
1664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1672 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1673 if test -n "$ac_ct_CC"; then
1674 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1675 echo "${ECHO_T}$ac_ct_CC" >&6
1677 echo "$as_me:$LINENO: result: no" >&5
1678 echo "${ECHO_T}no" >&6
1686 if test -z "$CC"; then
1687 if test -n "$ac_tool_prefix"; then
1688 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1689 set dummy ${ac_tool_prefix}cc; ac_word=$2
1690 echo "$as_me:$LINENO: checking for $ac_word" >&5
1691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1692 if test "${ac_cv_prog_CC+set}" = set; then
1693 echo $ECHO_N "(cached) $ECHO_C" >&6
1695 if test -n "$CC"; then
1696 ac_cv_prog_CC="$CC" # Let the user override the test.
1698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1702 test -z "$as_dir" && as_dir=.
1703 for ac_exec_ext in '' $ac_executable_extensions; do
1704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1705 ac_cv_prog_CC="${ac_tool_prefix}cc"
1706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1715 if test -n "$CC"; then
1716 echo "$as_me:$LINENO: result: $CC" >&5
1717 echo "${ECHO_T}$CC" >&6
1719 echo "$as_me:$LINENO: result: no" >&5
1720 echo "${ECHO_T}no" >&6
1724 if test -z "$ac_cv_prog_CC"; then
1726 # Extract the first word of "cc", so it can be a program name with args.
1727 set dummy cc; ac_word=$2
1728 echo "$as_me:$LINENO: checking for $ac_word" >&5
1729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1730 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1731 echo $ECHO_N "(cached) $ECHO_C" >&6
1733 if test -n "$ac_ct_CC"; then
1734 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1740 test -z "$as_dir" && as_dir=.
1741 for ac_exec_ext in '' $ac_executable_extensions; do
1742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1743 ac_cv_prog_ac_ct_CC="cc"
1744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1752 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1753 if test -n "$ac_ct_CC"; then
1754 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1755 echo "${ECHO_T}$ac_ct_CC" >&6
1757 echo "$as_me:$LINENO: result: no" >&5
1758 echo "${ECHO_T}no" >&6
1767 if test -z "$CC"; then
1768 # Extract the first word of "cc", so it can be a program name with args.
1769 set dummy cc; ac_word=$2
1770 echo "$as_me:$LINENO: checking for $ac_word" >&5
1771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1772 if test "${ac_cv_prog_CC+set}" = set; then
1773 echo $ECHO_N "(cached) $ECHO_C" >&6
1775 if test -n "$CC"; then
1776 ac_cv_prog_CC="$CC" # Let the user override the test.
1779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1783 test -z "$as_dir" && as_dir=.
1784 for ac_exec_ext in '' $ac_executable_extensions; do
1785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1786 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1787 ac_prog_rejected=yes
1791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1797 if test $ac_prog_rejected = yes; then
1798 # We found a bogon in the path, so make sure we never use it.
1799 set dummy $ac_cv_prog_CC
1801 if test $# != 0; then
1802 # We chose a different compiler from the bogus one.
1803 # However, it has the same basename, so the bogon will be chosen
1804 # first if we set CC to just the basename; use the full file name.
1806 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1812 if test -n "$CC"; then
1813 echo "$as_me:$LINENO: result: $CC" >&5
1814 echo "${ECHO_T}$CC" >&6
1816 echo "$as_me:$LINENO: result: no" >&5
1817 echo "${ECHO_T}no" >&6
1821 if test -z "$CC"; then
1822 if test -n "$ac_tool_prefix"; then
1825 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1826 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1827 echo "$as_me:$LINENO: checking for $ac_word" >&5
1828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1829 if test "${ac_cv_prog_CC+set}" = set; then
1830 echo $ECHO_N "(cached) $ECHO_C" >&6
1832 if test -n "$CC"; then
1833 ac_cv_prog_CC="$CC" # Let the user override the test.
1835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1839 test -z "$as_dir" && as_dir=.
1840 for ac_exec_ext in '' $ac_executable_extensions; do
1841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1842 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1852 if test -n "$CC"; then
1853 echo "$as_me:$LINENO: result: $CC" >&5
1854 echo "${ECHO_T}$CC" >&6
1856 echo "$as_me:$LINENO: result: no" >&5
1857 echo "${ECHO_T}no" >&6
1860 test -n "$CC" && break
1863 if test -z "$CC"; then
1867 # Extract the first word of "$ac_prog", so it can be a program name with args.
1868 set dummy $ac_prog; ac_word=$2
1869 echo "$as_me:$LINENO: checking for $ac_word" >&5
1870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1871 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1872 echo $ECHO_N "(cached) $ECHO_C" >&6
1874 if test -n "$ac_ct_CC"; then
1875 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 test -z "$as_dir" && as_dir=.
1882 for ac_exec_ext in '' $ac_executable_extensions; do
1883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1884 ac_cv_prog_ac_ct_CC="$ac_prog"
1885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1893 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1894 if test -n "$ac_ct_CC"; then
1895 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1896 echo "${ECHO_T}$ac_ct_CC" >&6
1898 echo "$as_me:$LINENO: result: no" >&5
1899 echo "${ECHO_T}no" >&6
1902 test -n "$ac_ct_CC" && break
1911 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1912 See \`config.log' for more details.
" >&5
1913 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1914 See \
`config.log' for more details." >&2;}
1915 { (exit 1); exit 1; }; }
1917 # Provide some information about the compiler.
1918 echo "$as_me:$LINENO:" \
1919 "checking for C compiler version" >&5
1920 ac_compiler=`set X
$ac_compile; echo $2`
1921 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1922 (eval $ac_compiler --version </dev/null >&5) 2>&5
1924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1925 (exit $ac_status); }
1926 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1927 (eval $ac_compiler -v </dev/null >&5) 2>&5
1929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1930 (exit $ac_status); }
1931 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1932 (eval $ac_compiler -V </dev/null >&5) 2>&5
1934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1935 (exit $ac_status); }
1937 cat >conftest.$ac_ext <<_ACEOF
1940 cat confdefs.h >>conftest.$ac_ext
1941 cat >>conftest.$ac_ext <<_ACEOF
1942 /* end confdefs.h. */
1952 ac_clean_files_save=$ac_clean_files
1953 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1954 # Try to create an executable without -o first, disregard a.out.
1955 # It will help us diagnose broken compilers, and finding out an intuition
1957 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1958 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1959 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1960 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1961 (eval $ac_link_default) 2>&5
1963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1964 (exit $ac_status); }; then
1965 # Find the output, starting from the most likely. This scheme is
1966 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1969 # Be careful to initialize this variable, since it used to be cached.
1970 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1972 # b.out is created by i960 compilers.
1973 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1975 test -f "$ac_file" || continue
1977 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1980 # This is the source file.
1983 # We found the default executable, but exeext='' is most
1987 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1988 # FIXME: I believe we export ac_cv_exeext for Libtool,
1989 # but it would be cool to find out if it's true. Does anybody
1990 # maintain Libtool? --akim.
1998 echo "$as_me: failed program was:" >&5
1999 sed 's/^/| /' conftest.$ac_ext >&5
2001 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2002 See \`config.log
' for more details." >&5
2003 echo "$as_me: error: C compiler cannot create executables
2004 See \`config.log' for more details.
" >&2;}
2005 { (exit 77); exit 77; }; }
2008 ac_exeext=$ac_cv_exeext
2009 echo "$as_me:$LINENO: result
: $ac_file" >&5
2010 echo "${ECHO_T}$ac_file" >&6
2012 # Check the compiler produces executables we can run. If not, either
2013 # the compiler is broken, or we cross compile.
2014 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2015 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
2016 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2017 # If not cross compiling, check that we can run a simple program.
2018 if test "$cross_compiling" != yes; then
2019 if { ac_try='./$ac_file'
2020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2023 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2024 (exit $ac_status); }; }; then
2027 if test "$cross_compiling" = maybe; then
2030 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2031 If you meant to cross compile
, use \
`--host'.
2032 See \`config.log
' for more details." >&5
2033 echo "$as_me: error: cannot run C compiled programs.
2034 If you meant to cross compile, use \`--host'.
2035 See \
`config.log' for more details." >&2;}
2036 { (exit 1); exit 1; }; }
2040 echo "$as_me:$LINENO: result: yes" >&5
2041 echo "${ECHO_T}yes" >&6
2043 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2044 ac_clean_files=$ac_clean_files_save
2045 # Check the compiler produces executables we can run. If not, either
2046 # the compiler is broken, or we cross compile.
2047 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2048 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2049 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2050 echo "${ECHO_T}$cross_compiling" >&6
2052 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2053 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2055 (eval $ac_link) 2>&5
2057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2058 (exit $ac_status); }; then
2059 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2060 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2061 # work properly (i.e., refer to `conftest.exe'), while it won't with
2063 for ac_file
in conftest.exe conftest conftest.
*; do
2064 test -f "$ac_file" ||
continue
2066 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2067 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2074 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2075 See \`config.log' for more details." >&5
2076 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2077 See \`config.log' for more details." >&2;}
2078 { (exit 1); exit 1; }; }
2081 rm -f conftest
$ac_cv_exeext
2082 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2083 echo "${ECHO_T}$ac_cv_exeext" >&6
2085 rm -f conftest.
$ac_ext
2086 EXEEXT
=$ac_cv_exeext
2088 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2089 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2090 if test "${ac_cv_objext+set}" = set; then
2091 echo $ECHO_N "(cached) $ECHO_C" >&6
2093 cat >conftest.
$ac_ext <<_ACEOF
2096 cat confdefs.h
>>conftest.
$ac_ext
2097 cat >>conftest.
$ac_ext <<_ACEOF
2098 /* end confdefs.h. */
2108 rm -f conftest.o conftest.obj
2109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2110 (eval $ac_compile) 2>&5
2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113 (exit $ac_status); }; then
2114 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2116 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2117 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2122 echo "$as_me: failed program was:" >&5
2123 sed 's/^/| /' conftest.
$ac_ext >&5
2125 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2126 See \`config.log' for more details." >&5
2127 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2128 See \`config.log' for more details." >&2;}
2129 { (exit 1); exit 1; }; }
2132 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2134 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2135 echo "${ECHO_T}$ac_cv_objext" >&6
2136 OBJEXT
=$ac_cv_objext
2138 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2139 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2140 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2141 echo $ECHO_N "(cached) $ECHO_C" >&6
2143 cat >conftest.
$ac_ext <<_ACEOF
2146 cat confdefs.h
>>conftest.
$ac_ext
2147 cat >>conftest.
$ac_ext <<_ACEOF
2148 /* end confdefs.h. */
2161 rm -f conftest.
$ac_objext
2162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2163 (eval $ac_compile) 2>conftest.er1
2165 grep -v '^ *+' conftest.er1
>conftest.err
2167 cat conftest.err
>&5
2168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2169 (exit $ac_status); } &&
2170 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); }; } &&
2176 { ac_try
='test -s conftest.$ac_objext'
2177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181 (exit $ac_status); }; }; then
2184 echo "$as_me: failed program was:" >&5
2185 sed 's/^/| /' conftest.
$ac_ext >&5
2189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2190 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2193 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2194 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2195 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2196 ac_test_CFLAGS
=${CFLAGS+set}
2197 ac_save_CFLAGS
=$CFLAGS
2199 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2200 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2201 if test "${ac_cv_prog_cc_g+set}" = set; then
2202 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 cat >conftest.
$ac_ext <<_ACEOF
2207 cat confdefs.h
>>conftest.
$ac_ext
2208 cat >>conftest.
$ac_ext <<_ACEOF
2209 /* end confdefs.h. */
2219 rm -f conftest.
$ac_objext
2220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2221 (eval $ac_compile) 2>conftest.er1
2223 grep -v '^ *+' conftest.er1
>conftest.err
2225 cat conftest.err
>&5
2226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2227 (exit $ac_status); } &&
2228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); }; } &&
2234 { ac_try
='test -s conftest.$ac_objext'
2235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2239 (exit $ac_status); }; }; then
2242 echo "$as_me: failed program was:" >&5
2243 sed 's/^/| /' conftest.
$ac_ext >&5
2247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2249 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2250 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2251 if test "$ac_test_CFLAGS" = set; then
2252 CFLAGS
=$ac_save_CFLAGS
2253 elif test $ac_cv_prog_cc_g = yes; then
2254 if test "$GCC" = yes; then
2260 if test "$GCC" = yes; then
2266 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2267 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2268 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2269 echo $ECHO_N "(cached) $ECHO_C" >&6
2271 ac_cv_prog_cc_stdc
=no
2273 cat >conftest.
$ac_ext <<_ACEOF
2276 cat confdefs.h
>>conftest.
$ac_ext
2277 cat >>conftest.
$ac_ext <<_ACEOF
2278 /* end confdefs.h. */
2281 #include <sys/types.h>
2282 #include <sys/stat.h>
2283 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2284 struct buf { int x; };
2285 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2286 static char *e (p, i)
2292 static char *f (char * (*g) (char **, int), char **p, ...)
2297 s = g (p, va_arg (v,int));
2302 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2303 function prototypes and stuff, but not '\xHH' hex character constants.
2304 These don't provoke an error unfortunately, instead are silently treated
2305 as 'x'. The following induces an error, until -std1 is added to get
2306 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2307 array size at least. It's necessary to write '\x00'==0 to get something
2308 that's true only with -std1. */
2309 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2311 int test (int i, double x);
2312 struct s1 {int (*f) (int a);};
2313 struct s2 {int (*f) (double a);};
2314 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2320 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2325 # Don't try gcc -ansi; that turns off useful extensions and
2326 # breaks some systems' header files.
2327 # AIX -qlanglvl=ansi
2328 # Ultrix and OSF/1 -std1
2329 # HP-UX 10.20 and later -Ae
2330 # HP-UX older versions -Aa -D_HPUX_SOURCE
2331 # SVR4 -Xc -D__EXTENSIONS__
2332 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2334 CC
="$ac_save_CC $ac_arg"
2335 rm -f conftest.
$ac_objext
2336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2337 (eval $ac_compile) 2>conftest.er1
2339 grep -v '^ *+' conftest.er1
>conftest.err
2341 cat conftest.err
>&5
2342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343 (exit $ac_status); } &&
2344 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349 (exit $ac_status); }; } &&
2350 { ac_try
='test -s conftest.$ac_objext'
2351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); }; }; then
2356 ac_cv_prog_cc_stdc
=$ac_arg
2359 echo "$as_me: failed program was:" >&5
2360 sed 's/^/| /' conftest.
$ac_ext >&5
2363 rm -f conftest.err conftest.
$ac_objext
2365 rm -f conftest.
$ac_ext conftest.
$ac_objext
2370 case "x$ac_cv_prog_cc_stdc" in
2372 echo "$as_me:$LINENO: result: none needed" >&5
2373 echo "${ECHO_T}none needed" >&6 ;;
2375 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2376 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2377 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2380 # Some people use a C++ compiler to compile C. Since we use `exit',
2381 # in C++ we need to declare it. In case someone uses the same compiler
2382 # for both compiling C and C++ we need to have the C++ compiler decide
2383 # the declaration of exit, since it's the most demanding environment.
2384 cat >conftest.
$ac_ext <<_ACEOF
2389 rm -f conftest.
$ac_objext
2390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2391 (eval $ac_compile) 2>conftest.er1
2393 grep -v '^ *+' conftest.er1
>conftest.err
2395 cat conftest.err
>&5
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); } &&
2398 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }; } &&
2404 { ac_try
='test -s conftest.$ac_objext'
2405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409 (exit $ac_status); }; }; then
2410 for ac_declaration
in \
2412 'extern "C" void std::exit (int) throw (); using std::exit;' \
2413 'extern "C" void std::exit (int); using std::exit;' \
2414 'extern "C" void exit (int) throw ();' \
2415 'extern "C" void exit (int);' \
2418 cat >conftest.
$ac_ext <<_ACEOF
2421 cat confdefs.h
>>conftest.
$ac_ext
2422 cat >>conftest.
$ac_ext <<_ACEOF
2423 /* end confdefs.h. */
2434 rm -f conftest.
$ac_objext
2435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2436 (eval $ac_compile) 2>conftest.er1
2438 grep -v '^ *+' conftest.er1
>conftest.err
2440 cat conftest.err
>&5
2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); } &&
2443 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); }; } &&
2449 { ac_try
='test -s conftest.$ac_objext'
2450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2454 (exit $ac_status); }; }; then
2457 echo "$as_me: failed program was:" >&5
2458 sed 's/^/| /' conftest.
$ac_ext >&5
2462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2463 cat >conftest.
$ac_ext <<_ACEOF
2466 cat confdefs.h
>>conftest.
$ac_ext
2467 cat >>conftest.
$ac_ext <<_ACEOF
2468 /* end confdefs.h. */
2478 rm -f conftest.
$ac_objext
2479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2480 (eval $ac_compile) 2>conftest.er1
2482 grep -v '^ *+' conftest.er1
>conftest.err
2484 cat conftest.err
>&5
2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 (exit $ac_status); } &&
2487 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492 (exit $ac_status); }; } &&
2493 { ac_try
='test -s conftest.$ac_objext'
2494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2498 (exit $ac_status); }; }; then
2501 echo "$as_me: failed program was:" >&5
2502 sed 's/^/| /' conftest.
$ac_ext >&5
2505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2508 if test -n "$ac_declaration"; then
2509 echo '#ifdef __cplusplus' >>confdefs.h
2510 echo $ac_declaration >>confdefs.h
2511 echo '#endif' >>confdefs.h
2515 echo "$as_me: failed program was:" >&5
2516 sed 's/^/| /' conftest.
$ac_ext >&5
2519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2521 ac_cpp
='$CPP $CPPFLAGS'
2522 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2523 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2524 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2527 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2528 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2529 if test "${ac_cv_search_strerror+set}" = set; then
2530 echo $ECHO_N "(cached) $ECHO_C" >&6
2532 ac_func_search_save_LIBS
=$LIBS
2533 ac_cv_search_strerror
=no
2534 cat >conftest.
$ac_ext <<_ACEOF
2537 cat confdefs.h
>>conftest.
$ac_ext
2538 cat >>conftest.
$ac_ext <<_ACEOF
2539 /* end confdefs.h. */
2541 /* Override any gcc2 internal prototype to avoid an error. */
2545 /* We use char because int might match the return type of a gcc2
2546 builtin and then its argument prototype would still apply. */
2556 rm -f conftest.
$ac_objext conftest
$ac_exeext
2557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2558 (eval $ac_link) 2>conftest.er1
2560 grep -v '^ *+' conftest.er1
>conftest.err
2562 cat conftest.err
>&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); } &&
2565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); }; } &&
2571 { ac_try
='test -s conftest$ac_exeext'
2572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); }; }; then
2577 ac_cv_search_strerror
="none required"
2579 echo "$as_me: failed program was:" >&5
2580 sed 's/^/| /' conftest.
$ac_ext >&5
2583 rm -f conftest.err conftest.
$ac_objext \
2584 conftest
$ac_exeext conftest.
$ac_ext
2585 if test "$ac_cv_search_strerror" = no
; then
2586 for ac_lib
in cposix
; do
2587 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2588 cat >conftest.
$ac_ext <<_ACEOF
2591 cat confdefs.h
>>conftest.
$ac_ext
2592 cat >>conftest.
$ac_ext <<_ACEOF
2593 /* end confdefs.h. */
2595 /* Override any gcc2 internal prototype to avoid an error. */
2599 /* We use char because int might match the return type of a gcc2
2600 builtin and then its argument prototype would still apply. */
2610 rm -f conftest.
$ac_objext conftest
$ac_exeext
2611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2612 (eval $ac_link) 2>conftest.er1
2614 grep -v '^ *+' conftest.er1
>conftest.err
2616 cat conftest.err
>&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); } &&
2619 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); }; } &&
2625 { ac_try
='test -s conftest$ac_exeext'
2626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }; }; then
2631 ac_cv_search_strerror
="-l$ac_lib"
2634 echo "$as_me: failed program was:" >&5
2635 sed 's/^/| /' conftest.
$ac_ext >&5
2638 rm -f conftest.err conftest.
$ac_objext \
2639 conftest
$ac_exeext conftest.
$ac_ext
2642 LIBS
=$ac_func_search_save_LIBS
2644 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2645 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2646 if test "$ac_cv_search_strerror" != no
; then
2647 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2652 am__api_version
="1.9"
2653 # Find a good install program. We prefer a C program (faster),
2654 # so one script is as good as another. But avoid the broken or
2655 # incompatible versions:
2656 # SysV /etc/install, /usr/sbin/install
2657 # SunOS /usr/etc/install
2658 # IRIX /sbin/install
2660 # AmigaOS /C/install, which installs bootblocks on floppy discs
2661 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2662 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2663 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2664 # OS/2's system install, which has a completely different semantic
2665 # ./install, which can be erroneously created by make from ./install.sh.
2666 # Reject install programs that cannot install multiple files.
2667 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2668 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2669 if test -z "$INSTALL"; then
2670 if test "${ac_cv_path_install+set}" = set; then
2671 echo $ECHO_N "(cached) $ECHO_C" >&6
2673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2677 test -z "$as_dir" && as_dir
=.
2678 # Account for people who put trailing slashes in PATH elements.
2680 .
/ | .
// |
/cC
/* | \
2681 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2682 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2685 # OSF1 and SCO ODT 3.0 have their own names for install.
2686 # Don't use installbsd from OSF since it installs stuff as root
2688 for ac_prog
in ginstall scoinst
install; do
2689 for ac_exec_ext
in '' $ac_executable_extensions; do
2690 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2691 if test $ac_prog = install &&
2692 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2693 # AIX install. It has an incompatible calling convention.
2695 elif test $ac_prog = install &&
2696 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2697 # program-specific install script used by HP pwplus--don't use.
2700 rm -rf conftest.one conftest.two conftest.dir
2701 echo one
> conftest.one
2702 echo two
> conftest.two
2704 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2705 test -s conftest.one
&& test -s conftest.two
&&
2706 test -s conftest.dir
/conftest.one
&&
2707 test -s conftest.dir
/conftest.two
2709 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2720 rm -rf conftest.one conftest.two conftest.dir
2723 if test "${ac_cv_path_install+set}" = set; then
2724 INSTALL
=$ac_cv_path_install
2726 # As a last resort, use the slow shell script. Don't cache a
2727 # value for INSTALL within a source directory, because that will
2728 # break other packages using the cache if that directory is
2729 # removed, or if the value is a relative name.
2730 INSTALL
=$ac_install_sh
2733 echo "$as_me:$LINENO: result: $INSTALL" >&5
2734 echo "${ECHO_T}$INSTALL" >&6
2736 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2737 # It thinks the first close brace ends the variable substitution.
2738 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2740 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2742 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2744 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2745 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2748 echo timestamp
> conftest.
file
2749 # Do `set' in a subshell so we don't clobber the current shell's
2750 # arguments. Must try -L first in case configure is actually a
2751 # symlink; some systems play weird games with the mod time of symlinks
2752 # (eg FreeBSD returns the mod time of the symlink's containing
2755 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2756 if test "$*" = "X"; then
2758 set X
`ls -t $srcdir/configure conftest.file`
2761 if test "$*" != "X $srcdir/configure conftest.file" \
2762 && test "$*" != "X conftest.file $srcdir/configure"; then
2764 # If neither matched, then we have a broken ls. This can happen
2765 # if, for instance, CONFIG_SHELL is bash and it inherits a
2766 # broken ls alias from the environment. This has actually
2767 # happened. Such a system could not be considered "sane".
2768 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2769 alias in your environment" >&5
2770 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2771 alias in your environment" >&2;}
2772 { (exit 1); exit 1; }; }
2775 test "$2" = conftest.
file
2781 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2782 Check your system clock" >&5
2783 echo "$as_me: error: newly created file is older than distributed files!
2784 Check your system clock" >&2;}
2785 { (exit 1); exit 1; }; }
2787 echo "$as_me:$LINENO: result: yes" >&5
2788 echo "${ECHO_T}yes" >&6
2789 test "$program_prefix" != NONE
&&
2790 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2791 # Use a double $ so make ignores it.
2792 test "$program_suffix" != NONE
&&
2793 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2794 # Double any \ or $. echo might interpret backslashes.
2795 # By default was `s,x,x', remove it if useless.
2796 cat <<\_ACEOF
>conftest.
sed
2797 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2799 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2802 # expand $ac_aux_dir to an absolute path
2803 am_aux_dir
=`cd $ac_aux_dir && pwd`
2805 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2806 # Use eval to expand $SHELL
2807 if eval "$MISSING --run true"; then
2808 am_missing_run
="$MISSING --run "
2811 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2812 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2815 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2816 # We used to keeping the `.' as first argument, in order to
2817 # allow $(mkdir_p) to be used without argument. As in
2818 # $(mkdir_p) $(somedir)
2819 # where $(somedir) is conditionally defined. However this is wrong
2821 # 1. if the package is installed by a user who cannot write `.'
2822 # make install will fail,
2823 # 2. the above comment should most certainly read
2824 # $(mkdir_p) $(DESTDIR)$(somedir)
2825 # so it does not work when $(somedir) is undefined and
2826 # $(DESTDIR) is not.
2827 # To support the latter case, we have to write
2828 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2829 # so the `.' trick is pointless.
2830 mkdir_p
='mkdir -p --'
2832 # On NextStep and OpenStep, the `mkdir' command does not
2833 # recognize any option. It will interpret all options as
2834 # directories to create, and then abort because `.' already
2836 for d
in .
/-p .
/--version;
2838 test -d $d && rmdir $d
2840 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2841 if test -f "$ac_aux_dir/mkinstalldirs"; then
2842 mkdir_p
='$(mkinstalldirs)'
2844 mkdir_p
='$(install_sh) -d'
2848 for ac_prog
in gawk mawk nawk
awk
2850 # Extract the first word of "$ac_prog", so it can be a program name with args.
2851 set dummy
$ac_prog; ac_word
=$2
2852 echo "$as_me:$LINENO: checking for $ac_word" >&5
2853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2854 if test "${ac_cv_prog_AWK+set}" = set; then
2855 echo $ECHO_N "(cached) $ECHO_C" >&6
2857 if test -n "$AWK"; then
2858 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2864 test -z "$as_dir" && as_dir
=.
2865 for ac_exec_ext
in '' $ac_executable_extensions; do
2866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2867 ac_cv_prog_AWK
="$ac_prog"
2868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2877 if test -n "$AWK"; then
2878 echo "$as_me:$LINENO: result: $AWK" >&5
2879 echo "${ECHO_T}$AWK" >&6
2881 echo "$as_me:$LINENO: result: no" >&5
2882 echo "${ECHO_T}no" >&6
2885 test -n "$AWK" && break
2888 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2889 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2890 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2891 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2892 echo $ECHO_N "(cached) $ECHO_C" >&6
2894 cat >conftest.
make <<\_ACEOF
2896 @
echo 'ac_maketemp="$(MAKE)"'
2898 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2899 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2900 if test -n "$ac_maketemp"; then
2901 eval ac_cv_prog_make_
${ac_make}_set
=yes
2903 eval ac_cv_prog_make_
${ac_make}_set
=no
2907 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2908 echo "$as_me:$LINENO: result: yes" >&5
2909 echo "${ECHO_T}yes" >&6
2912 echo "$as_me:$LINENO: result: no" >&5
2913 echo "${ECHO_T}no" >&6
2914 SET_MAKE
="MAKE=${MAKE-make}"
2917 rm -rf .tst
2>/dev
/null
2918 mkdir .tst
2>/dev
/null
2919 if test -d .tst
; then
2924 rmdir .tst
2>/dev
/null
2926 DEPDIR
="${am__leading_dot}deps"
2928 ac_config_commands
="$ac_config_commands depfiles"
2931 am_make
=${MAKE-make}
2932 cat > confinc
<< 'END'
2937 # If we don't find an include directive, just comment out the code.
2938 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2939 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2943 # First try GNU make style include.
2944 echo "include confinc" > confmf
2945 # We grep out `Entering directory' and `Leaving directory'
2946 # messages which can occur if `w' ends up in MAKEFLAGS.
2947 # In particular we don't look at `^make:' because GNU make might
2948 # be invoked under some other name (usually "gmake"), in which
2949 # case it prints its new name instead of `make'.
2950 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2955 # Now try BSD make style include.
2956 if test "$am__include" = "#"; then
2957 echo '.include "confinc"' > confmf
2958 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2959 am__include
=.include
2966 echo "$as_me:$LINENO: result: $_am_result" >&5
2967 echo "${ECHO_T}$_am_result" >&6
2968 rm -f confinc confmf
2970 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2971 if test "${enable_dependency_tracking+set}" = set; then
2972 enableval
="$enable_dependency_tracking"
2975 if test "x$enable_dependency_tracking" != xno
; then
2976 am_depcomp
="$ac_aux_dir/depcomp"
2981 if test "x$enable_dependency_tracking" != xno; then
2991 # test to see if srcdir already configured
2992 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2993 test -f $srcdir/config.status
; then
2994 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2995 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2996 { (exit 1); exit 1; }; }
2999 # test whether we have cygpath
3000 if test -z "$CYGPATH_W"; then
3001 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3002 CYGPATH_W
='cygpath -w'
3009 # Define the identity of the package.
3014 cat >>confdefs.h
<<_ACEOF
3015 #define PACKAGE "$PACKAGE"
3019 cat >>confdefs.h
<<_ACEOF
3020 #define VERSION "$VERSION"
3023 # Some tools Automake needs.
3025 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3028 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3031 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3034 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3037 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3039 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3041 # Installed binaries are usually stripped using `strip' when the user
3042 # run `make install-strip'. However `strip' might not be the right
3043 # tool to use in cross-compilation environments, therefore Automake
3044 # will honor the `STRIP' environment variable to overrule this program.
3045 if test "$cross_compiling" != no
; then
3046 if test -n "$ac_tool_prefix"; then
3047 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3048 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3049 echo "$as_me:$LINENO: checking for $ac_word" >&5
3050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3051 if test "${ac_cv_prog_STRIP+set}" = set; then
3052 echo $ECHO_N "(cached) $ECHO_C" >&6
3054 if test -n "$STRIP"; then
3055 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3061 test -z "$as_dir" && as_dir
=.
3062 for ac_exec_ext
in '' $ac_executable_extensions; do
3063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3064 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3073 STRIP
=$ac_cv_prog_STRIP
3074 if test -n "$STRIP"; then
3075 echo "$as_me:$LINENO: result: $STRIP" >&5
3076 echo "${ECHO_T}$STRIP" >&6
3078 echo "$as_me:$LINENO: result: no" >&5
3079 echo "${ECHO_T}no" >&6
3083 if test -z "$ac_cv_prog_STRIP"; then
3085 # Extract the first word of "strip", so it can be a program name with args.
3086 set dummy strip
; ac_word
=$2
3087 echo "$as_me:$LINENO: checking for $ac_word" >&5
3088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3089 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3090 echo $ECHO_N "(cached) $ECHO_C" >&6
3092 if test -n "$ac_ct_STRIP"; then
3093 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3099 test -z "$as_dir" && as_dir
=.
3100 for ac_exec_ext
in '' $ac_executable_extensions; do
3101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3102 ac_cv_prog_ac_ct_STRIP
="strip"
3103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3109 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3112 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3113 if test -n "$ac_ct_STRIP"; then
3114 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3115 echo "${ECHO_T}$ac_ct_STRIP" >&6
3117 echo "$as_me:$LINENO: result: no" >&5
3118 echo "${ECHO_T}no" >&6
3123 STRIP
="$ac_cv_prog_STRIP"
3127 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3129 # We need awk for the "check" target. The system "awk" is bad on
3131 # Always define AMTAR for backward compatibility.
3133 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3135 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3140 depcc
="$CC" am_compiler_list
=
3142 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3143 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3144 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3145 echo $ECHO_N "(cached) $ECHO_C" >&6
3147 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3148 # We make a subdir and do the tests there. Otherwise we can end up
3149 # making bogus files that we don't know about and never remove. For
3150 # instance it was reported that on HP-UX the gcc test will end up
3151 # making a dummy file named `D' -- because `-MD' means `put the output
3154 # Copy depcomp to subdir because otherwise we won't find it if we're
3155 # using a relative directory.
3156 cp "$am_depcomp" conftest.dir
3158 # We will build objects and dependencies in a subdirectory because
3159 # it helps to detect inapplicable dependency modes. For instance
3160 # both Tru64's cc and ICC support -MD to output dependencies as a
3161 # side effect of compilation, but ICC will put the dependencies in
3162 # the current directory while Tru64 will put them in the object
3166 am_cv_CC_dependencies_compiler_type
=none
3167 if test "$am_compiler_list" = ""; then
3168 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3170 for depmode
in $am_compiler_list; do
3171 # Setup a source with many dependencies, because some compilers
3172 # like to wrap large dependency lists on column 80 (with \), and
3173 # we should not choose a depcomp mode which is confused by this.
3175 # We need to recreate these files for each test, as the compiler may
3176 # overwrite some of them when testing with obscure command lines.
3177 # This happens at least with the AIX C compiler.
3179 for i
in 1 2 3 4 5 6; do
3180 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3181 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3182 # Solaris 8's {/usr,}/bin/sh.
3183 touch sub
/conftst
$i.h
3185 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3189 # after this tag, mechanisms are not by side-effect, so they'll
3190 # only be used when explicitly requested
3191 if test "x$enable_dependency_tracking" = xyes
; then
3199 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3200 # mode. It turns out that the SunPro C++ compiler does not properly
3201 # handle `-M -o', and we need to detect this.
3202 if depmode
=$depmode \
3203 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3204 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3205 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3206 >/dev
/null
2>conftest.err
&&
3207 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3208 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3209 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3210 # icc doesn't choke on unknown options, it will just issue warnings
3211 # or remarks (even with -Werror). So we grep stderr for any message
3212 # that says an option was ignored or not supported.
3213 # When given -MP, icc 7.0 and 7.1 complain thusly:
3214 # icc: Command line warning: ignoring option '-M'; no argument required
3215 # The diagnosis changed in icc 8.0:
3216 # icc: Command line remark: option '-MP' not supported
3217 if (grep 'ignoring option' conftest.err ||
3218 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3219 am_cv_CC_dependencies_compiler_type
=$depmode
3228 am_cv_CC_dependencies_compiler_type
=none
3232 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3233 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3234 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3239 test "x$enable_dependency_tracking" != xno \
3240 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3242 am__fastdepCC_FALSE
='#'
3244 am__fastdepCC_TRUE
='#'
3245 am__fastdepCC_FALSE
=
3251 if test -n "$ac_tool_prefix"; then
3252 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3253 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3254 echo "$as_me:$LINENO: checking for $ac_word" >&5
3255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3256 if test "${ac_cv_prog_AR+set}" = set; then
3257 echo $ECHO_N "(cached) $ECHO_C" >&6
3259 if test -n "$AR"; then
3260 ac_cv_prog_AR
="$AR" # Let the user override the test.
3262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3266 test -z "$as_dir" && as_dir
=.
3267 for ac_exec_ext
in '' $ac_executable_extensions; do
3268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3269 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3279 if test -n "$AR"; then
3280 echo "$as_me:$LINENO: result: $AR" >&5
3281 echo "${ECHO_T}$AR" >&6
3283 echo "$as_me:$LINENO: result: no" >&5
3284 echo "${ECHO_T}no" >&6
3288 if test -z "$ac_cv_prog_AR"; then
3290 # Extract the first word of "ar", so it can be a program name with args.
3291 set dummy
ar; ac_word
=$2
3292 echo "$as_me:$LINENO: checking for $ac_word" >&5
3293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3294 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3295 echo $ECHO_N "(cached) $ECHO_C" >&6
3297 if test -n "$ac_ct_AR"; then
3298 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3304 test -z "$as_dir" && as_dir
=.
3305 for ac_exec_ext
in '' $ac_executable_extensions; do
3306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3307 ac_cv_prog_ac_ct_AR
="ar"
3308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3316 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3317 if test -n "$ac_ct_AR"; then
3318 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3319 echo "${ECHO_T}$ac_ct_AR" >&6
3321 echo "$as_me:$LINENO: result: no" >&5
3322 echo "${ECHO_T}no" >&6
3330 if test -n "$ac_tool_prefix"; then
3331 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3332 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3333 echo "$as_me:$LINENO: checking for $ac_word" >&5
3334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3335 if test "${ac_cv_prog_RANLIB+set}" = set; then
3336 echo $ECHO_N "(cached) $ECHO_C" >&6
3338 if test -n "$RANLIB"; then
3339 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3345 test -z "$as_dir" && as_dir
=.
3346 for ac_exec_ext
in '' $ac_executable_extensions; do
3347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3348 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3357 RANLIB
=$ac_cv_prog_RANLIB
3358 if test -n "$RANLIB"; then
3359 echo "$as_me:$LINENO: result: $RANLIB" >&5
3360 echo "${ECHO_T}$RANLIB" >&6
3362 echo "$as_me:$LINENO: result: no" >&5
3363 echo "${ECHO_T}no" >&6
3367 if test -z "$ac_cv_prog_RANLIB"; then
3368 ac_ct_RANLIB
=$RANLIB
3369 # Extract the first word of "ranlib", so it can be a program name with args.
3370 set dummy ranlib
; ac_word
=$2
3371 echo "$as_me:$LINENO: checking for $ac_word" >&5
3372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3373 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3374 echo $ECHO_N "(cached) $ECHO_C" >&6
3376 if test -n "$ac_ct_RANLIB"; then
3377 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3383 test -z "$as_dir" && as_dir
=.
3384 for ac_exec_ext
in '' $ac_executable_extensions; do
3385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3386 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3393 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3396 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3397 if test -n "$ac_ct_RANLIB"; then
3398 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3399 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3401 echo "$as_me:$LINENO: result: no" >&5
3402 echo "${ECHO_T}no" >&6
3405 RANLIB
=$ac_ct_RANLIB
3407 RANLIB
="$ac_cv_prog_RANLIB"
3411 # Check whether --enable-shared or --disable-shared was given.
3412 if test "${enable_shared+set}" = set; then
3413 enableval
="$enable_shared"
3414 p
=${PACKAGE-default}
3416 yes) enable_shared
=yes ;;
3417 no
) enable_shared
=no
;;
3420 # Look at the argument we got. We use all the common list separators.
3421 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3422 for pkg
in $enableval; do
3424 if test "X$pkg" = "X$p"; then
3444 ac_cpp
='$CPP $CPPFLAGS'
3445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3448 if test -n "$ac_tool_prefix"; then
3449 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3450 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3451 echo "$as_me:$LINENO: checking for $ac_word" >&5
3452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3453 if test "${ac_cv_prog_CC+set}" = set; then
3454 echo $ECHO_N "(cached) $ECHO_C" >&6
3456 if test -n "$CC"; then
3457 ac_cv_prog_CC
="$CC" # Let the user override the test.
3459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3463 test -z "$as_dir" && as_dir
=.
3464 for ac_exec_ext
in '' $ac_executable_extensions; do
3465 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3466 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3476 if test -n "$CC"; then
3477 echo "$as_me:$LINENO: result: $CC" >&5
3478 echo "${ECHO_T}$CC" >&6
3480 echo "$as_me:$LINENO: result: no" >&5
3481 echo "${ECHO_T}no" >&6
3485 if test -z "$ac_cv_prog_CC"; then
3487 # Extract the first word of "gcc", so it can be a program name with args.
3488 set dummy gcc
; ac_word
=$2
3489 echo "$as_me:$LINENO: checking for $ac_word" >&5
3490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3491 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3492 echo $ECHO_N "(cached) $ECHO_C" >&6
3494 if test -n "$ac_ct_CC"; then
3495 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3501 test -z "$as_dir" && as_dir
=.
3502 for ac_exec_ext
in '' $ac_executable_extensions; do
3503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3504 ac_cv_prog_ac_ct_CC
="gcc"
3505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3513 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3514 if test -n "$ac_ct_CC"; then
3515 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3516 echo "${ECHO_T}$ac_ct_CC" >&6
3518 echo "$as_me:$LINENO: result: no" >&5
3519 echo "${ECHO_T}no" >&6
3527 if test -z "$CC"; then
3528 if test -n "$ac_tool_prefix"; then
3529 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3530 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3531 echo "$as_me:$LINENO: checking for $ac_word" >&5
3532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3533 if test "${ac_cv_prog_CC+set}" = set; then
3534 echo $ECHO_N "(cached) $ECHO_C" >&6
3536 if test -n "$CC"; then
3537 ac_cv_prog_CC
="$CC" # Let the user override the test.
3539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3543 test -z "$as_dir" && as_dir
=.
3544 for ac_exec_ext
in '' $ac_executable_extensions; do
3545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3546 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3556 if test -n "$CC"; then
3557 echo "$as_me:$LINENO: result: $CC" >&5
3558 echo "${ECHO_T}$CC" >&6
3560 echo "$as_me:$LINENO: result: no" >&5
3561 echo "${ECHO_T}no" >&6
3565 if test -z "$ac_cv_prog_CC"; then
3567 # Extract the first word of "cc", so it can be a program name with args.
3568 set dummy cc
; ac_word
=$2
3569 echo "$as_me:$LINENO: checking for $ac_word" >&5
3570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3571 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3572 echo $ECHO_N "(cached) $ECHO_C" >&6
3574 if test -n "$ac_ct_CC"; then
3575 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3581 test -z "$as_dir" && as_dir
=.
3582 for ac_exec_ext
in '' $ac_executable_extensions; do
3583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3584 ac_cv_prog_ac_ct_CC
="cc"
3585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3593 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3594 if test -n "$ac_ct_CC"; then
3595 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3596 echo "${ECHO_T}$ac_ct_CC" >&6
3598 echo "$as_me:$LINENO: result: no" >&5
3599 echo "${ECHO_T}no" >&6
3608 if test -z "$CC"; then
3609 # Extract the first word of "cc", so it can be a program name with args.
3610 set dummy cc
; ac_word
=$2
3611 echo "$as_me:$LINENO: checking for $ac_word" >&5
3612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3613 if test "${ac_cv_prog_CC+set}" = set; then
3614 echo $ECHO_N "(cached) $ECHO_C" >&6
3616 if test -n "$CC"; then
3617 ac_cv_prog_CC
="$CC" # Let the user override the test.
3620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3624 test -z "$as_dir" && as_dir
=.
3625 for ac_exec_ext
in '' $ac_executable_extensions; do
3626 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3627 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3628 ac_prog_rejected
=yes
3632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3638 if test $ac_prog_rejected = yes; then
3639 # We found a bogon in the path, so make sure we never use it.
3640 set dummy
$ac_cv_prog_CC
3642 if test $# != 0; then
3643 # We chose a different compiler from the bogus one.
3644 # However, it has the same basename, so the bogon will be chosen
3645 # first if we set CC to just the basename; use the full file name.
3647 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3653 if test -n "$CC"; then
3654 echo "$as_me:$LINENO: result: $CC" >&5
3655 echo "${ECHO_T}$CC" >&6
3657 echo "$as_me:$LINENO: result: no" >&5
3658 echo "${ECHO_T}no" >&6
3662 if test -z "$CC"; then
3663 if test -n "$ac_tool_prefix"; then
3666 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3667 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3668 echo "$as_me:$LINENO: checking for $ac_word" >&5
3669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3670 if test "${ac_cv_prog_CC+set}" = set; then
3671 echo $ECHO_N "(cached) $ECHO_C" >&6
3673 if test -n "$CC"; then
3674 ac_cv_prog_CC
="$CC" # Let the user override the test.
3676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3680 test -z "$as_dir" && as_dir
=.
3681 for ac_exec_ext
in '' $ac_executable_extensions; do
3682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3683 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3693 if test -n "$CC"; then
3694 echo "$as_me:$LINENO: result: $CC" >&5
3695 echo "${ECHO_T}$CC" >&6
3697 echo "$as_me:$LINENO: result: no" >&5
3698 echo "${ECHO_T}no" >&6
3701 test -n "$CC" && break
3704 if test -z "$CC"; then
3708 # Extract the first word of "$ac_prog", so it can be a program name with args.
3709 set dummy
$ac_prog; ac_word
=$2
3710 echo "$as_me:$LINENO: checking for $ac_word" >&5
3711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3712 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3713 echo $ECHO_N "(cached) $ECHO_C" >&6
3715 if test -n "$ac_ct_CC"; then
3716 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3722 test -z "$as_dir" && as_dir
=.
3723 for ac_exec_ext
in '' $ac_executable_extensions; do
3724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3725 ac_cv_prog_ac_ct_CC
="$ac_prog"
3726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3734 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3735 if test -n "$ac_ct_CC"; then
3736 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3737 echo "${ECHO_T}$ac_ct_CC" >&6
3739 echo "$as_me:$LINENO: result: no" >&5
3740 echo "${ECHO_T}no" >&6
3743 test -n "$ac_ct_CC" && break
3752 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3753 See \`config.log' for more details." >&5
3754 echo "$as_me: error: no acceptable C compiler found in \$PATH
3755 See \`config.log' for more details." >&2;}
3756 { (exit 1); exit 1; }; }
3758 # Provide some information about the compiler.
3759 echo "$as_me:$LINENO:" \
3760 "checking for C compiler version" >&5
3761 ac_compiler
=`set X $ac_compile; echo $2`
3762 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3763 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); }
3767 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3768 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3771 (exit $ac_status); }
3772 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3773 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); }
3778 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3779 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3780 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3781 echo $ECHO_N "(cached) $ECHO_C" >&6
3783 cat >conftest.
$ac_ext <<_ACEOF
3786 cat confdefs.h
>>conftest.
$ac_ext
3787 cat >>conftest.
$ac_ext <<_ACEOF
3788 /* end confdefs.h. */
3801 rm -f conftest.
$ac_objext
3802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3803 (eval $ac_compile) 2>conftest.er1
3805 grep -v '^ *+' conftest.er1
>conftest.err
3807 cat conftest.err
>&5
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); } &&
3810 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); }; } &&
3816 { ac_try
='test -s conftest.$ac_objext'
3817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 (exit $ac_status); }; }; then
3824 echo "$as_me: failed program was:" >&5
3825 sed 's/^/| /' conftest.
$ac_ext >&5
3829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3830 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3833 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3834 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3835 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3836 ac_test_CFLAGS
=${CFLAGS+set}
3837 ac_save_CFLAGS
=$CFLAGS
3839 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3840 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3841 if test "${ac_cv_prog_cc_g+set}" = set; then
3842 echo $ECHO_N "(cached) $ECHO_C" >&6
3844 cat >conftest.
$ac_ext <<_ACEOF
3847 cat confdefs.h
>>conftest.
$ac_ext
3848 cat >>conftest.
$ac_ext <<_ACEOF
3849 /* end confdefs.h. */
3859 rm -f conftest.
$ac_objext
3860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3861 (eval $ac_compile) 2>conftest.er1
3863 grep -v '^ *+' conftest.er1
>conftest.err
3865 cat conftest.err
>&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); } &&
3868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873 (exit $ac_status); }; } &&
3874 { ac_try
='test -s conftest.$ac_objext'
3875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); }; }; then
3882 echo "$as_me: failed program was:" >&5
3883 sed 's/^/| /' conftest.
$ac_ext >&5
3887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3889 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3890 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3891 if test "$ac_test_CFLAGS" = set; then
3892 CFLAGS
=$ac_save_CFLAGS
3893 elif test $ac_cv_prog_cc_g = yes; then
3894 if test "$GCC" = yes; then
3900 if test "$GCC" = yes; then
3906 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3907 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3908 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3909 echo $ECHO_N "(cached) $ECHO_C" >&6
3911 ac_cv_prog_cc_stdc
=no
3913 cat >conftest.
$ac_ext <<_ACEOF
3916 cat confdefs.h
>>conftest.
$ac_ext
3917 cat >>conftest.
$ac_ext <<_ACEOF
3918 /* end confdefs.h. */
3921 #include <sys/types.h>
3922 #include <sys/stat.h>
3923 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3924 struct buf { int x; };
3925 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3926 static char *e (p, i)
3932 static char *f (char * (*g) (char **, int), char **p, ...)
3937 s = g (p, va_arg (v,int));
3942 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3943 function prototypes and stuff, but not '\xHH' hex character constants.
3944 These don't provoke an error unfortunately, instead are silently treated
3945 as 'x'. The following induces an error, until -std1 is added to get
3946 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3947 array size at least. It's necessary to write '\x00'==0 to get something
3948 that's true only with -std1. */
3949 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3951 int test (int i, double x);
3952 struct s1 {int (*f) (int a);};
3953 struct s2 {int (*f) (double a);};
3954 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3960 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3965 # Don't try gcc -ansi; that turns off useful extensions and
3966 # breaks some systems' header files.
3967 # AIX -qlanglvl=ansi
3968 # Ultrix and OSF/1 -std1
3969 # HP-UX 10.20 and later -Ae
3970 # HP-UX older versions -Aa -D_HPUX_SOURCE
3971 # SVR4 -Xc -D__EXTENSIONS__
3972 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3974 CC
="$ac_save_CC $ac_arg"
3975 rm -f conftest.
$ac_objext
3976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3977 (eval $ac_compile) 2>conftest.er1
3979 grep -v '^ *+' conftest.er1
>conftest.err
3981 cat conftest.err
>&5
3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 (exit $ac_status); } &&
3984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989 (exit $ac_status); }; } &&
3990 { ac_try
='test -s conftest.$ac_objext'
3991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3995 (exit $ac_status); }; }; then
3996 ac_cv_prog_cc_stdc
=$ac_arg
3999 echo "$as_me: failed program was:" >&5
4000 sed 's/^/| /' conftest.
$ac_ext >&5
4003 rm -f conftest.err conftest.
$ac_objext
4005 rm -f conftest.
$ac_ext conftest.
$ac_objext
4010 case "x$ac_cv_prog_cc_stdc" in
4012 echo "$as_me:$LINENO: result: none needed" >&5
4013 echo "${ECHO_T}none needed" >&6 ;;
4015 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4016 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4017 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4020 # Some people use a C++ compiler to compile C. Since we use `exit',
4021 # in C++ we need to declare it. In case someone uses the same compiler
4022 # for both compiling C and C++ we need to have the C++ compiler decide
4023 # the declaration of exit, since it's the most demanding environment.
4024 cat >conftest.
$ac_ext <<_ACEOF
4029 rm -f conftest.
$ac_objext
4030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4031 (eval $ac_compile) 2>conftest.er1
4033 grep -v '^ *+' conftest.er1
>conftest.err
4035 cat conftest.err
>&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); } &&
4038 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043 (exit $ac_status); }; } &&
4044 { ac_try
='test -s conftest.$ac_objext'
4045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); }; }; then
4050 for ac_declaration
in \
4052 'extern "C" void std::exit (int) throw (); using std::exit;' \
4053 'extern "C" void std::exit (int); using std::exit;' \
4054 'extern "C" void exit (int) throw ();' \
4055 'extern "C" void exit (int);' \
4058 cat >conftest.
$ac_ext <<_ACEOF
4061 cat confdefs.h
>>conftest.
$ac_ext
4062 cat >>conftest.
$ac_ext <<_ACEOF
4063 /* end confdefs.h. */
4074 rm -f conftest.
$ac_objext
4075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4076 (eval $ac_compile) 2>conftest.er1
4078 grep -v '^ *+' conftest.er1
>conftest.err
4080 cat conftest.err
>&5
4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); } &&
4083 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088 (exit $ac_status); }; } &&
4089 { ac_try
='test -s conftest.$ac_objext'
4090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); }; }; then
4097 echo "$as_me: failed program was:" >&5
4098 sed 's/^/| /' conftest.
$ac_ext >&5
4102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4103 cat >conftest.
$ac_ext <<_ACEOF
4106 cat confdefs.h
>>conftest.
$ac_ext
4107 cat >>conftest.
$ac_ext <<_ACEOF
4108 /* end confdefs.h. */
4118 rm -f conftest.
$ac_objext
4119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4120 (eval $ac_compile) 2>conftest.er1
4122 grep -v '^ *+' conftest.er1
>conftest.err
4124 cat conftest.err
>&5
4125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126 (exit $ac_status); } &&
4127 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132 (exit $ac_status); }; } &&
4133 { ac_try
='test -s conftest.$ac_objext'
4134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4138 (exit $ac_status); }; }; then
4141 echo "$as_me: failed program was:" >&5
4142 sed 's/^/| /' conftest.
$ac_ext >&5
4145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4148 if test -n "$ac_declaration"; then
4149 echo '#ifdef __cplusplus' >>confdefs.h
4150 echo $ac_declaration >>confdefs.h
4151 echo '#endif' >>confdefs.h
4155 echo "$as_me: failed program was:" >&5
4156 sed 's/^/| /' conftest.
$ac_ext >&5
4159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4161 ac_cpp
='$CPP $CPPFLAGS'
4162 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4163 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4164 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4167 cat >>confdefs.h
<<\_ACEOF
4168 #define _GNU_SOURCE 1
4175 macro_version
='2.1a'
4176 macro_revision
='1.2435'
4189 ltmain
="$ac_aux_dir/ltmain.sh"
4200 # Check whether --enable-static or --disable-static was given.
4201 if test "${enable_static+set}" = set; then
4202 enableval
="$enable_static"
4203 p
=${PACKAGE-default}
4205 yes) enable_static
=yes ;;
4206 no
) enable_static
=no
;;
4209 # Look at the argument we got. We use all the common list separators.
4210 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4211 for pkg
in $enableval; do
4213 if test "X$pkg" = "X$p"; then
4232 # Check whether --with-pic or --without-pic was given.
4233 if test "${with_pic+set}" = set; then
4240 test -z "$pic_mode" && pic_mode
=default
4248 # Check whether --enable-fast-install or --disable-fast-install was given.
4249 if test "${enable_fast_install+set}" = set; then
4250 enableval
="$enable_fast_install"
4251 p
=${PACKAGE-default}
4253 yes) enable_fast_install
=yes ;;
4254 no
) enable_fast_install
=no
;;
4256 enable_fast_install
=no
4257 # Look at the argument we got. We use all the common list separators.
4258 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4259 for pkg
in $enableval; do
4261 if test "X$pkg" = "X$p"; then
4262 enable_fast_install
=yes
4269 enable_fast_install
=yes
4279 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4280 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4281 if test "${lt_cv_path_SED+set}" = set; then
4282 echo $ECHO_N "(cached) $ECHO_C" >&6
4284 # Loop through the user's path and test for sed and gsed.
4285 # Then use that list of sed's as ones to test for truncation.
4286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4290 test -z "$as_dir" && as_dir
=.
4291 for lt_ac_prog
in sed gsed
; do
4292 for ac_exec_ext
in '' $ac_executable_extensions; do
4293 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4294 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4302 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4303 # along with /bin/sed that truncates output.
4304 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4305 test ! -f $lt_ac_sed && continue
4306 cat /dev
/null
> conftest.
in
4308 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4309 # Check for GNU sed and select it if it is found.
4310 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4311 lt_cv_path_SED
=$lt_ac_sed
4315 cat conftest.
in conftest.
in >conftest.tmp
4316 mv conftest.tmp conftest.
in
4317 cp conftest.
in conftest.
nl
4319 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4320 cmp -s conftest.out conftest.
nl ||
break
4321 # 10000 chars as input seems more than enough
4322 test $lt_ac_count -gt 10 && break
4323 lt_ac_count
=`expr $lt_ac_count + 1`
4324 if test $lt_ac_count -gt $lt_ac_max; then
4325 lt_ac_max
=$lt_ac_count
4326 lt_cv_path_SED
=$lt_ac_sed
4335 echo "$as_me:$LINENO: result: $SED" >&5
4336 echo "${ECHO_T}$SED" >&6
4338 test -z "$SED" && SED
=sed
4339 Xsed
="$SED -e 1s/^X//"
4351 echo "$as_me:$LINENO: checking for egrep" >&5
4352 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4353 if test "${ac_cv_prog_egrep+set}" = set; then
4354 echo $ECHO_N "(cached) $ECHO_C" >&6
4356 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4357 then ac_cv_prog_egrep
='grep -E'
4358 else ac_cv_prog_egrep
='egrep'
4361 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4362 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4363 EGREP
=$ac_cv_prog_egrep
4366 echo "$as_me:$LINENO: checking for fgrep" >&5
4367 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4368 if test "${ac_cv_prog_fgrep+set}" = set; then
4369 echo $ECHO_N "(cached) $ECHO_C" >&6
4371 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
4372 then ac_cv_prog_fgrep
='grep -F'
4373 else ac_cv_prog_fgrep
='fgrep'
4376 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4377 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4378 FGREP
=$ac_cv_prog_fgrep
4381 test -z "$GREP" && GREP
=grep
4401 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4402 if test "${with_gnu_ld+set}" = set; then
4403 withval
="$with_gnu_ld"
4404 test "$withval" = no || with_gnu_ld
=yes
4409 if test "$GCC" = yes; then
4410 # Check if gcc -print-prog-name=ld gives a path.
4411 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4412 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4415 # gcc leaves a trailing carriage return which upsets mingw
4416 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4418 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4421 # Accept absolute paths.
4423 re_direlt
='/[^/][^/]*/\.\./'
4424 # Canonicalize the pathname of ld
4425 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4426 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4427 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4429 test -z "$LD" && LD
="$ac_prog"
4432 # If it fails, then pretend we aren't using GCC.
4436 # If it is relative, then search for the first ld in PATH.
4440 elif test "$with_gnu_ld" = yes; then
4441 echo "$as_me:$LINENO: checking for GNU ld" >&5
4442 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4444 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4445 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4447 if test "${lt_cv_path_LD+set}" = set; then
4448 echo $ECHO_N "(cached) $ECHO_C" >&6
4450 if test -z "$LD"; then
4451 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4452 for ac_dir
in $PATH; do
4454 test -z "$ac_dir" && ac_dir
=.
4455 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4456 lt_cv_path_LD
="$ac_dir/$ac_prog"
4457 # Check to see if the program is GNU ld. I'd rather use --version,
4458 # but apparently some variants of GNU ld only accept -v.
4459 # Break only if it was the GNU/non-GNU ld that we prefer.
4460 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4461 *GNU
* |
*'with BFD'*)
4462 test "$with_gnu_ld" != no
&& break
4465 test "$with_gnu_ld" != yes && break
4472 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4477 if test -n "$LD"; then
4478 echo "$as_me:$LINENO: result: $LD" >&5
4479 echo "${ECHO_T}$LD" >&6
4481 echo "$as_me:$LINENO: result: no" >&5
4482 echo "${ECHO_T}no" >&6
4484 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4485 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4486 { (exit 1); exit 1; }; }
4487 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4488 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4489 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4490 echo $ECHO_N "(cached) $ECHO_C" >&6
4492 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4493 case `$LD -v 2>&1 </dev/null` in
4494 *GNU
* |
*'with BFD'*)
4495 lt_cv_prog_gnu_ld
=yes
4498 lt_cv_prog_gnu_ld
=no
4502 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4503 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4504 with_gnu_ld
=$lt_cv_prog_gnu_ld
4515 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4516 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4517 if test "${lt_cv_path_NM+set}" = set; then
4518 echo $ECHO_N "(cached) $ECHO_C" >&6
4520 if test -n "$NM"; then
4521 # Let the user override the test.
4524 lt_nm_to_check
="${ac_tool_prefix}nm"
4525 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4526 lt_nm_to_check
="$lt_nm_to_check nm"
4528 for lt_tmp_nm
in $lt_nm_to_check; do
4529 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4530 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4532 test -z "$ac_dir" && ac_dir
=.
4533 tmp_nm
="$ac_dir/$lt_tmp_nm"
4534 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4535 # Check to see if the nm accepts a BSD-compat flag.
4536 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4537 # nm: unknown option "B" ignored
4538 # Tru64's nm complains that /dev/null is an invalid object file
4539 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4540 */dev
/null
* |
*'Invalid file or object type'*)
4541 lt_cv_path_NM
="$tmp_nm -B"
4545 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4547 lt_cv_path_NM
="$tmp_nm -p"
4551 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4552 continue # so that we can try to find one that supports BSD flags
4561 : ${lt_cv_path_NM=no}
4564 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4565 echo "${ECHO_T}$lt_cv_path_NM" >&6
4566 if test "$lt_cv_path_NM" != "no"; then
4569 # Didn't find any BSD compatible name lister, look for dumpbin.
4570 if test -n "$ac_tool_prefix"; then
4571 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4573 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4574 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4575 echo "$as_me:$LINENO: checking for $ac_word" >&5
4576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4577 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4578 echo $ECHO_N "(cached) $ECHO_C" >&6
4580 if test -n "$DUMPBIN"; then
4581 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4587 test -z "$as_dir" && as_dir
=.
4588 for ac_exec_ext
in '' $ac_executable_extensions; do
4589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4590 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4599 DUMPBIN
=$ac_cv_prog_DUMPBIN
4600 if test -n "$DUMPBIN"; then
4601 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4602 echo "${ECHO_T}$DUMPBIN" >&6
4604 echo "$as_me:$LINENO: result: no" >&5
4605 echo "${ECHO_T}no" >&6
4608 test -n "$DUMPBIN" && break
4611 if test -z "$DUMPBIN"; then
4612 ac_ct_DUMPBIN
=$DUMPBIN
4613 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4615 # Extract the first word of "$ac_prog", so it can be a program name with args.
4616 set dummy
$ac_prog; ac_word
=$2
4617 echo "$as_me:$LINENO: checking for $ac_word" >&5
4618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4619 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4620 echo $ECHO_N "(cached) $ECHO_C" >&6
4622 if test -n "$ac_ct_DUMPBIN"; then
4623 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4629 test -z "$as_dir" && as_dir
=.
4630 for ac_exec_ext
in '' $ac_executable_extensions; do
4631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4632 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4641 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4642 if test -n "$ac_ct_DUMPBIN"; then
4643 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4644 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4646 echo "$as_me:$LINENO: result: no" >&5
4647 echo "${ECHO_T}no" >&6
4650 test -n "$ac_ct_DUMPBIN" && break
4652 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
4654 DUMPBIN
=$ac_ct_DUMPBIN
4658 if test "$DUMPBIN" != ":"; then
4662 test -z "$NM" && NM
=nm
4669 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4670 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4671 if test "${lt_cv_nm_interface+set}" = set; then
4672 echo $ECHO_N "(cached) $ECHO_C" >&6
4674 lt_cv_nm_interface
="BSD nm"
4675 echo "int some_variable = 0;" > conftest.
$ac_ext
4676 (eval echo "\"\$as_me:4676: $ac_compile\"" >&5)
4677 (eval "$ac_compile" 2>conftest.err
)
4678 cat conftest.err
>&5
4679 (eval echo "\"\$as_me:4679: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4680 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4681 cat conftest.err
>&5
4682 (eval echo "\"\$as_me:4682: output\"" >&5)
4683 cat conftest.out
>&5
4684 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4685 lt_cv_nm_interface
="MS dumpbin"
4689 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4690 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4692 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4693 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4695 if test "$LN_S" = "ln -s"; then
4696 echo "$as_me:$LINENO: result: yes" >&5
4697 echo "${ECHO_T}yes" >&6
4699 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4700 echo "${ECHO_T}no, using $LN_S" >&6
4703 # find the maximum length of command line arguments
4704 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4705 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4706 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4707 echo $ECHO_N "(cached) $ECHO_C" >&6
4714 # On DJGPP, this test can blow up pretty badly due to problems in libc
4715 # (any single argument exceeding 2000 bytes causes a buffer overrun
4716 # during glob expansion). Even if it were fixed, the result of this
4717 # check would be larger than it should be.
4718 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4722 # Under GNU Hurd, this test is not required because there is
4723 # no limit to the length of command line arguments.
4724 # Libtool will interpret -1 as no limit whatsoever
4725 lt_cv_sys_max_cmd_len
=-1;
4729 # On Win9x/ME, this test blows up -- it succeeds, but takes
4730 # about 5 minutes as the teststring grows exponentially.
4731 # Worse, since 9x/ME are not pre-emptively multitasking,
4732 # you end up with a "frozen" computer, even though with patience
4733 # the test eventually succeeds (with a max line length of 256k).
4734 # Instead, let's just punt: use the minimum linelength reported by
4735 # all of the supported platforms: 8192 (on NT/2K/XP).
4736 lt_cv_sys_max_cmd_len
=8192;
4740 # On AmigaOS with pdksh, this test takes hours, literally.
4741 # So we just punt and use a minimum line length of 8192.
4742 lt_cv_sys_max_cmd_len
=8192;
4745 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4746 # This has been around since 386BSD, at least. Likely further.
4747 if test -x /sbin
/sysctl
; then
4748 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4749 elif test -x /usr
/sbin
/sysctl
; then
4750 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4752 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4754 # And add a safety zone
4755 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4756 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4760 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4761 lt_cv_sys_max_cmd_len
=196608
4765 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4766 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4767 # nice to cause kernel panics so lets avoid the loop below.
4768 # First set a reasonable default.
4769 lt_cv_sys_max_cmd_len
=16384
4771 if test -x /sbin
/sysconfig
; then
4772 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4773 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4778 lt_cv_sys_max_cmd_len
=102400
4780 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4781 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4782 if test -n "$kargmax"; then
4783 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4785 lt_cv_sys_max_cmd_len
=32768
4789 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
4790 if test -n $lt_cv_sys_max_cmd_len; then
4791 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4792 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4794 # Make teststring a little bigger before we do anything with it.
4795 # a 1K string should be a reasonable start.
4796 for i
in 1 2 3 4 5 6 7 8 ; do
4797 teststring
=$teststring$teststring
4799 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4800 # If test is not a shell built-in, we'll probably end up computing a
4801 # maximum length that is only half of the actual maximum length, but
4803 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4804 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4805 test $i != 17 # 1/2 MB should be enough
4808 teststring
=$teststring$teststring
4810 # Only check the string length outside the loop.
4811 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4813 # Add a significant safety factor because C++ compilers can tack on
4814 # massive amounts of additional arguments before passing them to the
4815 # linker. It appears as though 1/2 is a usable value.
4816 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4823 if test -n $lt_cv_sys_max_cmd_len ; then
4824 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4825 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4827 echo "$as_me:$LINENO: result: none" >&5
4828 echo "${ECHO_T}none" >&6
4830 max_cmd_len
=$lt_cv_sys_max_cmd_len
4842 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4843 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4844 # Try some XSI features
4847 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4848 = c,a/b,, ) >/dev/null 2>&1 \
4850 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4851 echo "${ECHO_T}$xsi_shell" >&6
4854 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4855 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
4857 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4859 && lt_shell_append=yes
4860 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4861 echo "${ECHO_T}$lt_shell_append" >&6
4864 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4874 # test EBCDIC or ASCII
4875 case `echo X|tr X '\101'` in
4876 A) # ASCII based system
4877 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4878 lt_SP2NL='tr \040 \012'
4879 lt_NL2SP='tr \015\012 \040\040'
4881 *) # EBCDIC based system
4882 lt_SP2NL='tr \100 \n'
4883 lt_NL2SP='tr \r\n \100\100'
4895 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4896 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
4897 if test "${lt_cv_ld_reload_flag+set}" = set; then
4898 echo $ECHO_N "(cached
) $ECHO_C" >&6
4900 lt_cv_ld_reload_flag='-r'
4902 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4903 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4904 reload_flag=$lt_cv_ld_reload_flag
4905 case $reload_flag in
4907 *) reload_flag=" $reload_flag" ;;
4909 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4912 if test "$GCC" = yes; then
4913 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4915 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4929 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4930 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4931 if test "${lt_cv_deplibs_check_method+set}" = set; then
4932 echo $ECHO_N "(cached
) $ECHO_C" >&6
4934 lt_cv_file_magic_cmd='$MAGIC_CMD'
4935 lt_cv_file_magic_test_file=
4936 lt_cv_deplibs_check_method='unknown'
4937 # Need to set the preceding variable on all platforms that support
4938 # interlibrary dependencies.
4939 # 'none' -- dependencies not supported.
4940 # `unknown' -- same as none, but documents that we really don't know.
4941 # 'pass_all' -- all dependencies passed with no checks.
4942 # 'test_compile' -- check by making test program.
4943 # 'file_magic [[regex]]' -- check by looking for files in library path
4944 # which responds to the $file_magic_cmd with a given extended regex.
4945 # If you have `file' or equivalent on your system and you're not sure
4946 # whether `pass_all' will *always* work, you probably want this one.
4950 lt_cv_deplibs_check_method=pass_all
4954 lt_cv_deplibs_check_method=pass_all
4958 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4959 lt_cv_file_magic_cmd='/usr/bin/file -L'
4960 lt_cv_file_magic_test_file=/shlib/libc.so
4964 # func_win32_libid is a shell function defined in ltmain.sh
4965 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4966 lt_cv_file_magic_cmd='func_win32_libid'
4970 # Base MSYS/MinGW do not provide the 'file' command needed by
4971 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4972 # unless we find 'file', for example because we are cross-compiling.
4973 if ( file / ) >/dev/null 2>&1; then
4974 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4975 lt_cv_file_magic_cmd='func_win32_libid'
4977 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4978 lt_cv_file_magic_cmd='$OBJDUMP -f'
4982 darwin* | rhapsody*)
4983 lt_cv_deplibs_check_method=pass_all
4986 freebsd* | dragonfly*)
4987 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4990 # Not sure whether the presence of OpenBSD here was a mistake.
4991 # Let's accept both of them until this is cleared up.
4992 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4993 lt_cv_file_magic_cmd=/usr/bin/file
4994 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4998 lt_cv_deplibs_check_method=pass_all
5003 lt_cv_deplibs_check_method=pass_all
5006 hpux10.20* | hpux11*)
5007 lt_cv_file_magic_cmd=/usr/bin/file
5010 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5011 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5014 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5015 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5018 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5019 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5025 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5026 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5029 irix5* | irix6* | nonstopux*)
5031 *-32|*"-32 ") libmagic=32-bit;;
5032 *-n32|*"-n32 ") libmagic=N32;;
5033 *-64|*"-64 ") libmagic=64-bit;;
5034 *) libmagic=never-match;;
5036 lt_cv_deplibs_check_method=pass_all
5039 # This must be Linux ELF.
5040 linux* | k*bsd*-gnu)
5041 lt_cv_deplibs_check_method=pass_all
5045 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5046 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5048 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5053 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5054 lt_cv_file_magic_cmd=/usr/bin/file
5055 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5059 lt_cv_deplibs_check_method=pass_all
5063 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5064 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5066 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5070 osf3* | osf4* | osf5*)
5071 lt_cv_deplibs_check_method=pass_all
5075 lt_cv_deplibs_check_method=pass_all
5079 lt_cv_deplibs_check_method=pass_all
5082 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5083 lt_cv_deplibs_check_method=pass_all
5087 case $host_vendor in
5089 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]'
5090 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5093 lt_cv_deplibs_check_method=pass_all
5096 lt_cv_file_magic_cmd='/bin/file'
5097 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5100 lt_cv_file_magic_cmd='/bin/file'
5101 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5102 lt_cv_file_magic_test_file=/lib/libc.so
5105 lt_cv_deplibs_check_method=pass_all
5108 lt_cv_deplibs_check_method=pass_all
5114 lt_cv_deplibs_check_method=pass_all
5119 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5120 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5121 file_magic_cmd=$lt_cv_file_magic_cmd
5122 deplibs_check_method=$lt_cv_deplibs_check_method
5123 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5136 if test -n "$ac_tool_prefix"; then
5137 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5138 set dummy ${ac_tool_prefix}ar; ac_word=$2
5139 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5140 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5141 if test "${ac_cv_prog_AR+set}" = set; then
5142 echo $ECHO_N "(cached
) $ECHO_C" >&6
5144 if test -n "$AR"; then
5145 ac_cv_prog_AR="$AR" # Let the user override the test.
5147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5151 test -z "$as_dir" && as_dir=.
5152 for ac_exec_ext in '' $ac_executable_extensions; do
5153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5154 ac_cv_prog_AR="${ac_tool_prefix}ar"
5155 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5164 if test -n "$AR"; then
5165 echo "$as_me:$LINENO: result
: $AR" >&5
5166 echo "${ECHO_T}$AR" >&6
5168 echo "$as_me:$LINENO: result
: no
" >&5
5169 echo "${ECHO_T}no
" >&6
5173 if test -z "$ac_cv_prog_AR"; then
5175 # Extract the first word of "ar", so it can be a program name with args.
5176 set dummy ar; ac_word=$2
5177 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5178 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5179 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5180 echo $ECHO_N "(cached
) $ECHO_C" >&6
5182 if test -n "$ac_ct_AR"; then
5183 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5189 test -z "$as_dir" && as_dir=.
5190 for ac_exec_ext in '' $ac_executable_extensions; do
5191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5192 ac_cv_prog_ac_ct_AR="ar"
5193 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5199 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
5202 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5203 if test -n "$ac_ct_AR"; then
5204 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5205 echo "${ECHO_T}$ac_ct_AR" >&6
5207 echo "$as_me:$LINENO: result
: no
" >&5
5208 echo "${ECHO_T}no
" >&6
5216 test -z "$AR" && AR=ar
5217 test -z "$AR_FLAGS" && AR_FLAGS=cru
5229 if test -n "$ac_tool_prefix"; then
5230 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5231 set dummy ${ac_tool_prefix}strip; ac_word=$2
5232 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5233 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5234 if test "${ac_cv_prog_STRIP+set}" = set; then
5235 echo $ECHO_N "(cached
) $ECHO_C" >&6
5237 if test -n "$STRIP"; then
5238 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5244 test -z "$as_dir" && as_dir=.
5245 for ac_exec_ext in '' $ac_executable_extensions; do
5246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5247 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5248 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5256 STRIP=$ac_cv_prog_STRIP
5257 if test -n "$STRIP"; then
5258 echo "$as_me:$LINENO: result
: $STRIP" >&5
5259 echo "${ECHO_T}$STRIP" >&6
5261 echo "$as_me:$LINENO: result
: no
" >&5
5262 echo "${ECHO_T}no
" >&6
5266 if test -z "$ac_cv_prog_STRIP"; then
5268 # Extract the first word of "strip
", so it can be a program name with args.
5269 set dummy strip; ac_word=$2
5270 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5271 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5272 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5273 echo $ECHO_N "(cached
) $ECHO_C" >&6
5275 if test -n "$ac_ct_STRIP"; then
5276 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5282 test -z "$as_dir" && as_dir=.
5283 for ac_exec_ext in '' $ac_executable_extensions; do
5284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5285 ac_cv_prog_ac_ct_STRIP="strip
"
5286 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5292 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5295 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5296 if test -n "$ac_ct_STRIP"; then
5297 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5298 echo "${ECHO_T}$ac_ct_STRIP" >&6
5300 echo "$as_me:$LINENO: result
: no
" >&5
5301 echo "${ECHO_T}no
" >&6
5306 STRIP="$ac_cv_prog_STRIP"
5309 test -z "$STRIP" && STRIP=:
5316 if test -n "$ac_tool_prefix"; then
5317 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5318 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5319 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5320 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5321 if test "${ac_cv_prog_RANLIB+set}" = set; then
5322 echo $ECHO_N "(cached
) $ECHO_C" >&6
5324 if test -n "$RANLIB"; then
5325 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5331 test -z "$as_dir" && as_dir=.
5332 for ac_exec_ext in '' $ac_executable_extensions; do
5333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5334 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5335 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5343 RANLIB=$ac_cv_prog_RANLIB
5344 if test -n "$RANLIB"; then
5345 echo "$as_me:$LINENO: result
: $RANLIB" >&5
5346 echo "${ECHO_T}$RANLIB" >&6
5348 echo "$as_me:$LINENO: result
: no
" >&5
5349 echo "${ECHO_T}no
" >&6
5353 if test -z "$ac_cv_prog_RANLIB"; then
5354 ac_ct_RANLIB=$RANLIB
5355 # Extract the first word of "ranlib
", so it can be a program name with args.
5356 set dummy ranlib; ac_word=$2
5357 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5358 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5359 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5360 echo $ECHO_N "(cached
) $ECHO_C" >&6
5362 if test -n "$ac_ct_RANLIB"; then
5363 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5369 test -z "$as_dir" && as_dir=.
5370 for ac_exec_ext in '' $ac_executable_extensions; do
5371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5372 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5373 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5379 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5382 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5383 if test -n "$ac_ct_RANLIB"; then
5384 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5385 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5387 echo "$as_me:$LINENO: result
: no
" >&5
5388 echo "${ECHO_T}no
" >&6
5391 RANLIB=$ac_ct_RANLIB
5393 RANLIB="$ac_cv_prog_RANLIB"
5396 test -z "$RANLIB" && RANLIB=:
5403 # Determine commands to create old-style static archives.
5404 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5405 old_postinstall_cmds='chmod 644 $oldlib'
5406 old_postuninstall_cmds=
5408 if test -n "$RANLIB"; then
5411 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5414 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5417 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5453 # If no C compiler was specified, use CC.
5456 # If no C compiler flags were specified, use CFLAGS.
5457 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5459 # Allow CC to be a program name with arguments.
5463 # Check for command to grab the raw symbol name followed by C symbol from nm.
5464 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5465 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
5466 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5467 echo $ECHO_N "(cached
) $ECHO_C" >&6
5470 # These are sane defaults that work on at least a few old systems.
5471 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5473 # Character class describing NM global symbol codes.
5474 symcode='[BCDEGRST]'
5476 # Regexp to match symbols that can be accessed directly from C.
5477 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5479 # Define system-specific variables.
5484 cygwin* | mingw* | pw32*)
5485 symcode='[ABCDGISTW]'
5488 if test "$host_cpu" = ia64; then
5489 symcode='[ABCDEGRST]'
5493 symcode='[BCDEGRST]'
5496 symcode='[BCDEGQRST]'
5507 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5515 # If we're using GNU nm, then use its standard symbol codes.
5516 case `$NM -V 2>&1` in
5517 *GNU* | *'with BFD'*)
5518 symcode='[ABCDGIRSTW]' ;;
5521 # Transform an extracted symbol line into a proper C declaration.
5522 # Some systems (esp. on ia64) link data and code symbols differently,
5523 # so use this general approach.
5524 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5526 # Transform an extracted symbol line into symbol name and symbol address
5527 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5529 # Handle CRLF in mingw tool chain
5533 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5537 # Try without a prefix underscore, then with it.
5538 for ac_symprfx in "" "_
"; do
5540 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5541 symxfrm="\\1 $ac_symprfx\\2 \\2"
5543 # Write the raw and C identifiers.
5544 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5545 # Fake it for dumpbin and say T for any non-static function
5546 # and D for any global variable.
5547 # Also find C++ and __fastcall symbols from MSVC++,
5548 # which start with @ or ?.
5549 lt_cv_sys_global_symbol_pipe="$AWK '"\
5550 " {last_section=section; section=\$ 3};"\
5551 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5552 " \$ 0!~/External *\|/{next};"\
5553 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5554 " {if(hide[section]) next};"\
5555 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5556 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5557 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5558 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5559 " ' prfx
=^
$ac_symprfx"
5561 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5564 # Check to see that the pipe works correctly.
5568 cat > conftest.$ac_ext <<_LT_EOF
5573 void nm_test_func(void);
5574 void nm_test_func(void){}
5578 int main(){nm_test_var='a';nm_test_func();return(0);}
5581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5582 (eval $ac_compile) 2>&5
5584 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5585 (exit $ac_status); }; then
5586 # Now try to grab the symbols.
5588 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5589 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5591 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5592 (exit $ac_status); } && test -s "$nlist"; then
5593 # Try sorting and uniquifying the output.
5594 if sort "$nlist" | uniq > "$nlist"T; then
5595 mv -f "$nlist"T "$nlist"
5600 # Make sure that we snagged all the symbols we need.
5601 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5602 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5603 cat <<_LT_EOF > conftest.$ac_ext
5609 # Now generate the symbol file.
5610 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5612 cat <<_LT_EOF >> conftest.$ac_ext
5614 /* The mapping between symbol names and symbols. */
5619 lt__PROGRAM__LTX_preloaded_symbols[] =
5621 { "@PROGRAM@
", (void *) 0 },
5623 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5624 cat <<\_LT_EOF >> conftest.$ac_ext
5628 /* This works around a problem in FreeBSD linker */
5629 #ifdef FREEBSD_WORKAROUND
5630 static const void *lt_preloaded_setup() {
5631 return lt__PROGRAM__LTX_preloaded_symbols;
5639 # Now try linking the two files.
5640 mv conftest.$ac_objext conftstm.$ac_objext
5641 lt_save_LIBS="$LIBS"
5642 lt_save_CFLAGS="$CFLAGS"
5643 LIBS="conftstm.
$ac_objext"
5644 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5646 (eval $ac_link) 2>&5
5648 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5649 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5652 LIBS="$lt_save_LIBS"
5653 CFLAGS="$lt_save_CFLAGS"
5655 echo "cannot
find nm_test_func
in $nlist" >&5
5658 echo "cannot
find nm_test_var
in $nlist" >&5
5661 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5664 echo "$progname: failed program was
:" >&5
5665 cat conftest.$ac_ext >&5
5667 rm -f conftest* conftst*
5669 # Do not use the global_symbol_pipe unless it works.
5670 if test "$pipe_works" = yes; then
5673 lt_cv_sys_global_symbol_pipe=
5679 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5680 lt_cv_sys_global_symbol_to_cdecl=
5682 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5683 echo "$as_me:$LINENO: result
: failed
" >&5
5684 echo "${ECHO_T}failed
" >&6
5686 echo "$as_me:$LINENO: result
: ok
" >&5
5687 echo "${ECHO_T}ok
" >&6
5706 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5707 if test "${enable_libtool_lock+set}" = set; then
5708 enableval="$enable_libtool_lock"
5711 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5713 # Some flags need to be propagated to the compiler or linker for good
5717 # Find out which ABI we are using.
5718 echo 'int i;' > conftest.$ac_ext
5719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5720 (eval $ac_compile) 2>&5
5722 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5723 (exit $ac_status); }; then
5724 case `/usr/bin/file conftest.$ac_objext` in
5736 # Find out which ABI we are using.
5737 echo '#line 5737 "configure
"' > conftest.$ac_ext
5738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5739 (eval $ac_compile) 2>&5
5741 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5742 (exit $ac_status); }; then
5743 if test "$lt_cv_prog_gnu_ld" = yes; then
5744 case `/usr/bin/file conftest.$ac_objext` in
5746 LD="${LD-ld} -melf32bsmip"
5749 LD="${LD-ld} -melf32bmipn32"
5752 LD="${LD-ld} -melf64bmip"
5756 case `/usr/bin/file conftest.$ac_objext` in
5772 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5773 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5774 # Find out which ABI we are using.
5775 echo 'int i;' > conftest.$ac_ext
5776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5777 (eval $ac_compile) 2>&5
5779 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5780 (exit $ac_status); }; then
5781 case `/usr/bin/file conftest.o` in
5784 x86_64-*kfreebsd*-gnu)
5785 LD="${LD-ld} -m elf_i386_fbsd
"
5788 LD="${LD-ld} -m elf_i386
"
5790 ppc64-*linux*|powerpc64-*linux*)
5791 LD="${LD-ld} -m elf32ppclinux
"
5794 LD="${LD-ld} -m elf_s390
"
5797 LD="${LD-ld} -m elf32_sparc
"
5803 x86_64-*kfreebsd*-gnu)
5804 LD="${LD-ld} -m elf_x86_64_fbsd
"
5807 LD="${LD-ld} -m elf_x86_64
"
5809 ppc*-*linux*|powerpc*-*linux*)
5810 LD="${LD-ld} -m elf64ppc
"
5812 s390*-*linux*|s390*-*tpf*)
5813 LD="${LD-ld} -m elf64_s390
"
5816 LD="${LD-ld} -m elf64_sparc
"
5826 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5827 SAVE_CFLAGS="$CFLAGS"
5828 CFLAGS="$CFLAGS -belf"
5829 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5830 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
5831 if test "${lt_cv_cc_needs_belf+set}" = set; then
5832 echo $ECHO_N "(cached
) $ECHO_C" >&6
5835 ac_cpp='$CPP $CPPFLAGS'
5836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5840 cat >conftest.$ac_ext <<_ACEOF
5843 cat confdefs.h >>conftest.$ac_ext
5844 cat >>conftest.$ac_ext <<_ACEOF
5845 /* end confdefs.h. */
5855 rm -f conftest.$ac_objext conftest$ac_exeext
5856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5857 (eval $ac_link) 2>conftest.er1
5859 grep -v '^ *+' conftest.er1 >conftest.err
5861 cat conftest.err >&5
5862 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5863 (exit $ac_status); } &&
5864 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5868 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5869 (exit $ac_status); }; } &&
5870 { ac_try='test -s conftest$ac_exeext'
5871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5874 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5875 (exit $ac_status); }; }; then
5876 lt_cv_cc_needs_belf=yes
5878 echo "$as_me: failed program was
:" >&5
5879 sed 's/^/| /' conftest.$ac_ext >&5
5881 lt_cv_cc_needs_belf=no
5883 rm -f conftest.err conftest.$ac_objext \
5884 conftest$ac_exeext conftest.$ac_ext
5886 ac_cpp='$CPP $CPPFLAGS'
5887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5892 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5893 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5894 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5895 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5896 CFLAGS="$SAVE_CFLAGS"
5900 # Find out which ABI we are using.
5901 echo 'int i;' > conftest.$ac_ext
5902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5903 (eval $ac_compile) 2>&5
5905 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5906 (exit $ac_status); }; then
5907 case `/usr/bin/file conftest.o` in
5909 case $lt_cv_prog_gnu_ld in
5910 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5911 *) LD="${LD-ld} -64" ;;
5920 need_locks="$enable_libtool_lock"
5923 ac_cpp='$CPP $CPPFLAGS'
5924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5927 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5928 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
5929 # On Suns, sometimes $CPP names a directory.
5930 if test -n "$CPP" && test -d "$CPP"; then
5933 if test -z "$CPP"; then
5934 if test "${ac_cv_prog_CPP+set}" = set; then
5935 echo $ECHO_N "(cached
) $ECHO_C" >&6
5937 # Double quotes because CPP needs to be expanded
5938 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5941 for ac_c_preproc_warn_flag in '' yes
5943 # Use a header file that comes with gcc, so configuring glibc
5944 # with a fresh cross-compiler works.
5945 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5946 # <limits.h> exists even on freestanding compilers.
5947 # On the NeXT, cc -E runs the code through the compiler's parser,
5948 # not just through cpp. "Syntax error
" is here to catch this case.
5949 cat >conftest.$ac_ext <<_ACEOF
5952 cat confdefs.h >>conftest.$ac_ext
5953 cat >>conftest.$ac_ext <<_ACEOF
5954 /* end confdefs.h. */
5956 # include <limits.h>
5958 # include <assert.h>
5962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5963 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5965 grep -v '^ *+' conftest.er1 >conftest.err
5967 cat conftest.err >&5
5968 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5969 (exit $ac_status); } >/dev/null; then
5970 if test -s conftest.err; then
5971 ac_cpp_err=$ac_c_preproc_warn_flag
5972 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5979 if test -z "$ac_cpp_err"; then
5982 echo "$as_me: failed program was
:" >&5
5983 sed 's/^/| /' conftest.$ac_ext >&5
5985 # Broken: fails on valid input.
5988 rm -f conftest.err conftest.$ac_ext
5990 # OK, works on sane cases. Now check whether non-existent headers
5991 # can be detected and how.
5992 cat >conftest.$ac_ext <<_ACEOF
5995 cat confdefs.h >>conftest.$ac_ext
5996 cat >>conftest.$ac_ext <<_ACEOF
5997 /* end confdefs.h. */
5998 #include <ac_nonexistent.h>
6000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6003 grep -v '^ *+' conftest.er1 >conftest.err
6005 cat conftest.err >&5
6006 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6007 (exit $ac_status); } >/dev/null; then
6008 if test -s conftest.err; then
6009 ac_cpp_err=$ac_c_preproc_warn_flag
6010 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6017 if test -z "$ac_cpp_err"; then
6018 # Broken: success on invalid input.
6021 echo "$as_me: failed program was
:" >&5
6022 sed 's/^/| /' conftest.$ac_ext >&5
6024 # Passes both tests.
6028 rm -f conftest.err conftest.$ac_ext
6031 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6032 rm -f conftest.err conftest.$ac_ext
6033 if $ac_preproc_ok; then
6045 echo "$as_me:$LINENO: result
: $CPP" >&5
6046 echo "${ECHO_T}$CPP" >&6
6048 for ac_c_preproc_warn_flag in '' yes
6050 # Use a header file that comes with gcc, so configuring glibc
6051 # with a fresh cross-compiler works.
6052 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6053 # <limits.h> exists even on freestanding compilers.
6054 # On the NeXT, cc -E runs the code through the compiler's parser,
6055 # not just through cpp. "Syntax error
" is here to catch this case.
6056 cat >conftest.$ac_ext <<_ACEOF
6059 cat confdefs.h >>conftest.$ac_ext
6060 cat >>conftest.$ac_ext <<_ACEOF
6061 /* end confdefs.h. */
6063 # include <limits.h>
6065 # include <assert.h>
6069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6070 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6072 grep -v '^ *+' conftest.er1 >conftest.err
6074 cat conftest.err >&5
6075 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6076 (exit $ac_status); } >/dev/null; then
6077 if test -s conftest.err; then
6078 ac_cpp_err=$ac_c_preproc_warn_flag
6079 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6086 if test -z "$ac_cpp_err"; then
6089 echo "$as_me: failed program was
:" >&5
6090 sed 's/^/| /' conftest.$ac_ext >&5
6092 # Broken: fails on valid input.
6095 rm -f conftest.err conftest.$ac_ext
6097 # OK, works on sane cases. Now check whether non-existent headers
6098 # can be detected and how.
6099 cat >conftest.$ac_ext <<_ACEOF
6102 cat confdefs.h >>conftest.$ac_ext
6103 cat >>conftest.$ac_ext <<_ACEOF
6104 /* end confdefs.h. */
6105 #include <ac_nonexistent.h>
6107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6108 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6110 grep -v '^ *+' conftest.er1 >conftest.err
6112 cat conftest.err >&5
6113 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6114 (exit $ac_status); } >/dev/null; then
6115 if test -s conftest.err; then
6116 ac_cpp_err=$ac_c_preproc_warn_flag
6117 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6124 if test -z "$ac_cpp_err"; then
6125 # Broken: success on invalid input.
6128 echo "$as_me: failed program was
:" >&5
6129 sed 's/^/| /' conftest.$ac_ext >&5
6131 # Passes both tests.
6135 rm -f conftest.err conftest.$ac_ext
6138 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6139 rm -f conftest.err conftest.$ac_ext
6140 if $ac_preproc_ok; then
6143 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
6144 See \
`config.log' for more details." >&5
6145 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6146 See \`config.log
' for more details." >&2;}
6147 { (exit 1); exit 1; }; }
6151 ac_cpp='$CPP $CPPFLAGS'
6152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6153 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6157 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6158 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6159 if test "${ac_cv_header_stdc+set}" = set; then
6160 echo $ECHO_N "(cached) $ECHO_C" >&6
6162 cat >conftest.$ac_ext <<_ACEOF
6165 cat confdefs.h >>conftest.$ac_ext
6166 cat >>conftest.$ac_ext <<_ACEOF
6167 /* end confdefs.h. */
6181 rm -f conftest.$ac_objext
6182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6183 (eval $ac_compile) 2>conftest.er1
6185 grep -v '^
*+' conftest.er1 >conftest.err
6187 cat conftest.err >&5
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); } &&
6190 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
6191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); }; } &&
6196 { ac_try='test -s conftest.
$ac_objext'
6197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 (exit $ac_status); }; }; then
6202 ac_cv_header_stdc=yes
6204 echo "$as_me: failed program was:" >&5
6205 sed 's
/^
/|
/' conftest.$ac_ext >&5
6207 ac_cv_header_stdc=no
6209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6211 if test $ac_cv_header_stdc = yes; then
6212 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6213 cat >conftest.$ac_ext <<_ACEOF
6216 cat confdefs.h >>conftest.$ac_ext
6217 cat >>conftest.$ac_ext <<_ACEOF
6218 /* end confdefs.h. */
6222 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6223 $EGREP "memchr" >/dev/null 2>&1; then
6226 ac_cv_header_stdc=no
6232 if test $ac_cv_header_stdc = yes; then
6233 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6234 cat >conftest.$ac_ext <<_ACEOF
6237 cat confdefs.h >>conftest.$ac_ext
6238 cat >>conftest.$ac_ext <<_ACEOF
6239 /* end confdefs.h. */
6243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6244 $EGREP "free" >/dev/null 2>&1; then
6247 ac_cv_header_stdc=no
6253 if test $ac_cv_header_stdc = yes; then
6254 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6255 if test "$cross_compiling" = yes; then
6258 cat >conftest.$ac_ext <<_ACEOF
6261 cat confdefs.h >>conftest.$ac_ext
6262 cat >>conftest.$ac_ext <<_ACEOF
6263 /* end confdefs.h. */
6265 #if ((' ' & 0x0FF) == 0x020)
6266 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
6267 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
6269 # define ISLOWER(c) \
6270 (('a
' <= (c) && (c) <= 'i
') \
6271 || ('j
' <= (c) && (c) <= 'r
') \
6272 || ('s
' <= (c) && (c) <= 'z
'))
6273 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6276 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6281 for (i = 0; i < 256; i++)
6282 if (XOR (islower (i), ISLOWER (i))
6283 || toupper (i) != TOUPPER (i))
6288 rm -f conftest$ac_exeext
6289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6290 (eval $ac_link) 2>&5
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
6294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6298 (exit $ac_status); }; }; then
6301 echo "$as_me: program exited with status $ac_status" >&5
6302 echo "$as_me: failed program was:" >&5
6303 sed 's
/^
/|
/' conftest.$ac_ext >&5
6306 ac_cv_header_stdc=no
6308 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6312 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6313 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6314 if test $ac_cv_header_stdc = yes; then
6316 cat >>confdefs.h <<\_ACEOF
6317 #define STDC_HEADERS 1
6322 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6332 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6333 inttypes.h stdint.h unistd.h
6335 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6336 echo "$as_me:$LINENO: checking for $ac_header" >&5
6337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6339 echo $ECHO_N "(cached) $ECHO_C" >&6
6341 cat >conftest.$ac_ext <<_ACEOF
6344 cat confdefs.h >>conftest.$ac_ext
6345 cat >>conftest.$ac_ext <<_ACEOF
6346 /* end confdefs.h. */
6347 $ac_includes_default
6349 #include <$ac_header>
6351 rm -f conftest.$ac_objext
6352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6353 (eval $ac_compile) 2>conftest.er1
6355 grep -v '^
*+' conftest.er1 >conftest.err
6357 cat conftest.err >&5
6358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6359 (exit $ac_status); } &&
6360 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
6361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6365 (exit $ac_status); }; } &&
6366 { ac_try='test -s conftest.
$ac_objext'
6367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6371 (exit $ac_status); }; }; then
6372 eval "$as_ac_Header=yes"
6374 echo "$as_me: failed program was:" >&5
6375 sed 's
/^
/|
/' conftest.$ac_ext >&5
6377 eval "$as_ac_Header=no"
6379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6382 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6384 cat >>confdefs.h <<_ACEOF
6385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6394 for ac_header in dlfcn.h
6396 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6397 echo "$as_me:$LINENO: checking for $ac_header" >&5
6398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6400 echo $ECHO_N "(cached) $ECHO_C" >&6
6402 cat >conftest.$ac_ext <<_ACEOF
6405 cat confdefs.h >>conftest.$ac_ext
6406 cat >>conftest.$ac_ext <<_ACEOF
6407 /* end confdefs.h. */
6408 $ac_includes_default
6410 #include <$ac_header>
6412 rm -f conftest.$ac_objext
6413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6414 (eval $ac_compile) 2>conftest.er1
6416 grep -v '^
*+' conftest.er1 >conftest.err
6418 cat conftest.err >&5
6419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420 (exit $ac_status); } &&
6421 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
6422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6426 (exit $ac_status); }; } &&
6427 { ac_try='test -s conftest.
$ac_objext'
6428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); }; }; then
6433 eval "$as_ac_Header=yes"
6435 echo "$as_me: failed program was:" >&5
6436 sed 's
/^
/|
/' conftest.$ac_ext >&5
6438 eval "$as_ac_Header=no"
6440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6445 cat >>confdefs.h <<_ACEOF
6446 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6455 # This can be used to rebuild libtool when needed
6456 LIBTOOL_DEPS="$ltmain"
6458 # Always use our own libtool.
6459 LIBTOOL='$
(SHELL
) $
(top_builddir
)/libtool
'
6485 test -z "$LN_S" && LN_S="ln -s"
6500 if test -n "${ZSH_VERSION+set}" ; then
6501 setopt NO_GLOB_SUBST
6504 echo "$as_me:$LINENO: checking for objdir" >&5
6505 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6506 if test "${lt_cv_objdir+set}" = set; then
6507 echo $ECHO_N "(cached) $ECHO_C" >&6
6509 rm -f .libs 2>/dev/null
6510 mkdir .libs 2>/dev/null
6511 if test -d .libs; then
6514 # MS-DOS does not allow filenames that begin with a dot.
6517 rmdir .libs 2>/dev/null
6519 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6520 echo "${ECHO_T}$lt_cv_objdir" >&6
6521 objdir=$lt_cv_objdir
6527 cat >>confdefs.h <<_ACEOF
6528 #define LT_OBJDIR "$lt_cv_objdir/"
6549 # AIX sometimes has problems with the GCC collect2 program. For some
6550 # reason, if we set the COLLECT_NAMES environment variable, the problems
6551 # vanish in a puff of smoke.
6552 if test "X${COLLECT_NAMES+set}" != Xset; then
6554 export COLLECT_NAMES
6559 # Sed substitution that helps us do robust quoting. It backslashifies
6560 # metacharacters that are still active within double-quoted strings.
6561 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
6563 # Same as above, but do not quote variable references.
6564 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6566 # Sed substitution to delay expansion of an escaped shell variable in a
6567 # double_quote_subst'ed string.
6568 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6570 # Sed substitution to delay expansion of an escaped single quote.
6571 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6573 # Sed substitution to avoid accidental globbing in evaled expressions
6574 no_glob_subst='s/\*/\\\*/g'
6578 can_build_shared=yes
6580 # All known linkers require a `.a
' archive for static linking (except MSVC,
6581 # which needs '.lib
').
6584 with_gnu_ld="$lt_cv_prog_gnu_ld"
6587 old_CFLAGS="$CFLAGS"
6589 # Set sane defaults for various variables
6590 test -z "$CC" && CC=cc
6591 test -z "$LTCC" && LTCC=$CC
6592 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6593 test -z "$LD" && LD=ld
6594 test -z "$ac_objext" && ac_objext=o
6596 for cc_temp in $compiler""; do
6598 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6599 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6604 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
6607 # Only perform the check for file, if the check method requires it
6608 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6609 case $deplibs_check_method in
6611 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6612 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6613 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6614 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6615 echo $ECHO_N "(cached) $ECHO_C" >&6
6619 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6622 lt_save_MAGIC_CMD="$MAGIC_CMD"
6623 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6624 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6625 for ac_dir in $ac_dummy; do
6627 test -z "$ac_dir" && ac_dir=.
6628 if test -f $ac_dir/${ac_tool_prefix}file; then
6629 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6630 if test -n "$file_magic_test_file"; then
6631 case $deplibs_check_method in
6633 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6634 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6635 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6636 $EGREP "$file_magic_regex" > /dev/null; then
6641 *** Warning: the command libtool uses to detect shared libraries,
6642 *** $file_magic_cmd, produces output that libtool cannot recognize.
6643 *** The result is that libtool may fail to recognize shared libraries
6644 *** as such. This will affect the creation of libtool libraries that
6645 *** depend on shared libraries, but programs linked with such libtool
6646 *** libraries will work regardless of this problem. Nevertheless, you
6647 *** may want to report the problem to your system manager and/or to
6648 *** bug-libtool@gnu.org
6658 MAGIC_CMD="$lt_save_MAGIC_CMD"
6663 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6664 if test -n "$MAGIC_CMD"; then
6665 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6666 echo "${ECHO_T}$MAGIC_CMD" >&6
6668 echo "$as_me:$LINENO: result: no" >&5
6669 echo "${ECHO_T}no" >&6
6676 if test -z "$lt_cv_path_MAGIC_CMD"; then
6677 if test -n "$ac_tool_prefix"; then
6678 echo "$as_me:$LINENO: checking for file" >&5
6679 echo $ECHO_N "checking for file... $ECHO_C" >&6
6680 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6681 echo $ECHO_N "(cached) $ECHO_C" >&6
6685 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6688 lt_save_MAGIC_CMD="$MAGIC_CMD"
6689 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6690 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6691 for ac_dir in $ac_dummy; do
6693 test -z "$ac_dir" && ac_dir=.
6694 if test -f $ac_dir/file; then
6695 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6696 if test -n "$file_magic_test_file"; then
6697 case $deplibs_check_method in
6699 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6700 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6701 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6702 $EGREP "$file_magic_regex" > /dev/null; then
6707 *** Warning: the command libtool uses to detect shared libraries,
6708 *** $file_magic_cmd, produces output that libtool cannot recognize.
6709 *** The result is that libtool may fail to recognize shared libraries
6710 *** as such. This will affect the creation of libtool libraries that
6711 *** depend on shared libraries, but programs linked with such libtool
6712 *** libraries will work regardless of this problem. Nevertheless, you
6713 *** may want to report the problem to your system manager and/or to
6714 *** bug-libtool@gnu.org
6724 MAGIC_CMD="$lt_save_MAGIC_CMD"
6729 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6730 if test -n "$MAGIC_CMD"; then
6731 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6732 echo "${ECHO_T}$MAGIC_CMD" >&6
6734 echo "$as_me:$LINENO: result: no" >&5
6735 echo "${ECHO_T}no" >&6
6748 # Use C for the default configuration in the libtool script
6752 ac_cpp='$CPP $CPPFLAGS'
6753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6754 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6758 # Source file extension for C test sources.
6761 # Object file extension for compiled C test sources.
6765 # Code to be used in simple compile tests
6766 lt_simple_compile_test_code="int some_variable = 0;"
6768 # Code to be used in simple link tests
6769 lt_simple_link_test_code='int main
(){return(0);}'
6777 # If no C compiler was specified, use CC.
6780 # If no C compiler flags were specified, use CFLAGS.
6781 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6783 # Allow CC to be a program name with arguments.
6786 # Save the default compiler, since it gets overwritten when the other
6787 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6788 compiler_DEFAULT=$CC
6790 # save warnings/boilerplate of simple test code
6791 ac_outfile=conftest.$ac_objext
6792 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6793 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6794 _lt_compiler_boilerplate=`cat conftest.err`
6797 ac_outfile=conftest.$ac_objext
6798 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6799 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6800 _lt_linker_boilerplate=`cat conftest.err`
6805 ## There is no encapsulation within the following macros, do not change
6806 ## the running order or otherwise move them around unless you know exactly
6807 ## what you are doing...
6808 if test -n "$compiler"; then
6810 lt_prog_compiler_no_builtin_flag=
6812 if test "$GCC" = yes; then
6813 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6815 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6816 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6817 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6818 echo $ECHO_N "(cached) $ECHO_C" >&6
6820 lt_cv_prog_compiler_rtti_exceptions=no
6821 ac_outfile=conftest.$ac_objext
6822 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6823 lt_compiler_flag="-fno-rtti -fno-exceptions"
6824 # Insert the option either (1) after the last *FLAGS variable, or
6825 # (2) before a word containing "conftest.", or (3) at the end.
6826 # Note that $ac_compile itself does not contain backslashes and begins
6827 # with a dollar sign (not a hyphen), so the echo should work correctly.
6828 # The option is referenced via a variable to avoid confusing sed.
6829 lt_compile=`echo "$ac_compile" | $SED \
6830 -e 's
:.
*FLAGS
}\
{0,1\
} :&$lt_compiler_flag :; t
' \
6831 -e 's
: [^
]*conftest\.
: $lt_compiler_flag&:; t
' \
6832 -e 's
:$
: $lt_compiler_flag:'`
6833 (eval echo "\"\$as_me:6833: $lt_compile\"" >&5)
6834 (eval "$lt_compile" 2>conftest.err)
6836 cat conftest.err >&5
6837 echo "$as_me:6837: \$? = $ac_status" >&5
6838 if (exit $ac_status) && test -s "$ac_outfile"; then
6839 # The compiler can only warn and ignore the option if not recognized
6840 # So say no if there are warnings other than the usual output.
6841 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$
/d
' >conftest.exp
6842 $SED '/^$
/d
; /^
*+/d
' conftest.err >conftest.er2
6843 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6844 lt_cv_prog_compiler_rtti_exceptions=yes
6850 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6851 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6853 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6854 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6866 lt_prog_compiler_wl=
6867 lt_prog_compiler_pic=
6868 lt_prog_compiler_static=
6870 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6871 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6873 if test "$GCC" = yes; then
6874 lt_prog_compiler_wl='-Wl,'
6875 lt_prog_compiler_static='-static'
6879 # All AIX code is PIC.
6880 if test "$host_cpu" = ia64; then
6881 # AIX 5 now supports IA64 processor
6882 lt_prog_compiler_static='-Bstatic'
6887 if test "$host_cpu" = m68k; then
6888 # FIXME: we need at least 68020 code to build shared libraries, but
6889 # adding the `-m68020' flag to GCC prevents building anything better
,
6891 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6895 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6896 # PIC is the default for these OSes.
6899 mingw
* | cygwin
* | pw32
* | os2
*)
6900 # This hack is so that the source file can tell whether it is being
6901 # built for inclusion in a dll (and should export symbols for example).
6902 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6903 # (--disable-auto-import) libraries
6904 lt_prog_compiler_pic
='-DDLL_EXPORT'
6907 darwin
* | rhapsody
*)
6908 # PIC is the default on this platform
6909 # Common symbols not allowed in MH_DYLIB files
6910 lt_prog_compiler_pic
='-fno-common'
6914 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6921 lt_prog_compiler_pic
='-fPIC'
6927 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6928 # Instead, we relocate shared libraries at runtime.
6932 # Just because we use GCC doesn't mean we suddenly get shared libraries
6933 # on systems that don't support them.
6934 lt_prog_compiler_can_build_shared
=no
6939 # QNX uses GNU C++, but need to define -shared option too, otherwise
6941 lt_prog_compiler_pic
='-fPIC -shared'
6945 if test -d /usr
/nec
; then
6946 lt_prog_compiler_pic
=-Kconform_pic
6951 lt_prog_compiler_pic
='-fPIC'
6955 # PORTME Check for flag to pass linker flags through the system compiler.
6958 lt_prog_compiler_wl
='-Wl,'
6959 if test "$host_cpu" = ia64
; then
6960 # AIX 5 now supports IA64 processor
6961 lt_prog_compiler_static
='-Bstatic'
6963 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6967 # PIC is the default on this platform
6968 # Common symbols not allowed in MH_DYLIB files
6969 case $cc_basename in
6971 lt_prog_compiler_pic
='-qnocommon'
6972 lt_prog_compiler_wl
='-Wl,'
6977 mingw
* | cygwin
* | pw32
* | os2
*)
6978 # This hack is so that the source file can tell whether it is being
6979 # built for inclusion in a dll (and should export symbols for example).
6980 lt_prog_compiler_pic
='-DDLL_EXPORT'
6983 hpux9
* | hpux10
* | hpux11
*)
6984 lt_prog_compiler_wl
='-Wl,'
6985 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6992 lt_prog_compiler_pic
='+Z'
6995 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6996 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6999 irix5
* | irix6
* | nonstopux
*)
7000 lt_prog_compiler_wl
='-Wl,'
7001 # PIC (with -KPIC) is the default.
7002 lt_prog_compiler_static
='-non_shared'
7005 linux
* | k
*bsd
*-gnu)
7006 case $cc_basename in
7008 lt_prog_compiler_wl
='-Wl,'
7009 lt_prog_compiler_pic
='-KPIC'
7010 lt_prog_compiler_static
='-static'
7012 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7013 # Portland Group compilers (*not* the Pentium gcc compiler,
7014 # which looks to be a dead project)
7015 lt_prog_compiler_wl
='-Wl,'
7016 lt_prog_compiler_pic
='-fpic'
7017 lt_prog_compiler_static
='-Bstatic'
7020 lt_prog_compiler_wl
='-Wl,'
7021 # All Alpha code is PIC.
7022 lt_prog_compiler_static
='-non_shared'
7025 case `$CC -V 2>&1 | sed 5q` in
7028 lt_prog_compiler_pic
='-KPIC'
7029 lt_prog_compiler_static
='-Bstatic'
7030 lt_prog_compiler_wl
='-Wl,'
7033 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7034 lt_prog_compiler_pic
='-KPIC'
7035 lt_prog_compiler_static
='-Bstatic'
7036 lt_prog_compiler_wl
=''
7044 lt_prog_compiler_pic
='-KPIC'
7045 lt_prog_compiler_static
='-Bstatic'
7049 # QNX uses GNU C++, but need to define -shared option too, otherwise
7051 lt_prog_compiler_pic
='-fPIC -shared'
7054 osf3
* | osf4
* | osf5
*)
7055 lt_prog_compiler_wl
='-Wl,'
7056 # All OSF/1 code is PIC.
7057 lt_prog_compiler_static
='-non_shared'
7061 lt_prog_compiler_static
='-non_shared'
7065 lt_prog_compiler_pic
='-KPIC'
7066 lt_prog_compiler_static
='-Bstatic'
7067 case $cc_basename in
7069 lt_prog_compiler_wl
='-Qoption ld ';;
7071 lt_prog_compiler_wl
='-Wl,';;
7076 lt_prog_compiler_wl
='-Qoption ld '
7077 lt_prog_compiler_pic
='-PIC'
7078 lt_prog_compiler_static
='-Bstatic'
7081 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7082 lt_prog_compiler_wl
='-Wl,'
7083 lt_prog_compiler_pic
='-KPIC'
7084 lt_prog_compiler_static
='-Bstatic'
7088 if test -d /usr
/nec
;then
7089 lt_prog_compiler_pic
='-Kconform_pic'
7090 lt_prog_compiler_static
='-Bstatic'
7094 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7095 lt_prog_compiler_wl
='-Wl,'
7096 lt_prog_compiler_pic
='-KPIC'
7097 lt_prog_compiler_static
='-Bstatic'
7101 lt_prog_compiler_wl
='-Wl,'
7102 lt_prog_compiler_can_build_shared
=no
7106 lt_prog_compiler_pic
='-pic'
7107 lt_prog_compiler_static
='-Bstatic'
7111 lt_prog_compiler_can_build_shared
=no
7117 # For platforms which do not support PIC, -DPIC is meaningless:
7119 lt_prog_compiler_pic
=
7122 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7125 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7126 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7134 # Check to make sure the PIC flag actually works.
7136 if test -n "$lt_prog_compiler_pic"; then
7137 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7138 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7139 if test "${lt_prog_compiler_pic_works+set}" = set; then
7140 echo $ECHO_N "(cached) $ECHO_C" >&6
7142 lt_prog_compiler_pic_works
=no
7143 ac_outfile
=conftest.
$ac_objext
7144 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7145 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7146 # Insert the option either (1) after the last *FLAGS variable, or
7147 # (2) before a word containing "conftest.", or (3) at the end.
7148 # Note that $ac_compile itself does not contain backslashes and begins
7149 # with a dollar sign (not a hyphen), so the echo should work correctly.
7150 # The option is referenced via a variable to avoid confusing sed.
7151 lt_compile
=`echo "$ac_compile" | $SED \
7152 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7153 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7154 -e 's:$: $lt_compiler_flag:'`
7155 (eval echo "\"\$as_me:7155: $lt_compile\"" >&5)
7156 (eval "$lt_compile" 2>conftest.err
)
7158 cat conftest.err
>&5
7159 echo "$as_me:7159: \$? = $ac_status" >&5
7160 if (exit $ac_status) && test -s "$ac_outfile"; then
7161 # The compiler can only warn and ignore the option if not recognized
7162 # So say no if there are warnings other than the usual output.
7163 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7164 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7165 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7166 lt_prog_compiler_pic_works
=yes
7172 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7173 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7175 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7176 case $lt_prog_compiler_pic in
7178 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7181 lt_prog_compiler_pic
=
7182 lt_prog_compiler_can_build_shared
=no
7193 # Check to make sure the static flag actually works.
7195 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7196 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7197 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7198 if test "${lt_prog_compiler_static_works+set}" = set; then
7199 echo $ECHO_N "(cached) $ECHO_C" >&6
7201 lt_prog_compiler_static_works
=no
7202 save_LDFLAGS
="$LDFLAGS"
7203 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7204 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7205 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7206 # The linker can only warn and ignore the option if not recognized
7207 # So say no if there are warnings
7208 if test -s conftest.err
; then
7209 # Append any errors to the config.log.
7210 cat conftest.err
1>&5
7211 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7212 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7213 if diff conftest.exp conftest.er2
>/dev
/null
; then
7214 lt_prog_compiler_static_works
=yes
7217 lt_prog_compiler_static_works
=yes
7221 LDFLAGS
="$save_LDFLAGS"
7224 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7225 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7227 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7230 lt_prog_compiler_static
=
7239 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7240 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7241 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7242 echo $ECHO_N "(cached) $ECHO_C" >&6
7244 lt_cv_prog_compiler_c_o
=no
7245 $RM -r conftest
2>/dev
/null
7249 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7251 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7252 # Insert the option either (1) after the last *FLAGS variable, or
7253 # (2) before a word containing "conftest.", or (3) at the end.
7254 # Note that $ac_compile itself does not contain backslashes and begins
7255 # with a dollar sign (not a hyphen), so the echo should work correctly.
7256 lt_compile
=`echo "$ac_compile" | $SED \
7257 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7258 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7259 -e 's:$: $lt_compiler_flag:'`
7260 (eval echo "\"\$as_me:7260: $lt_compile\"" >&5)
7261 (eval "$lt_compile" 2>out
/conftest.err
)
7263 cat out
/conftest.err
>&5
7264 echo "$as_me:7264: \$? = $ac_status" >&5
7265 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7267 # The compiler can only warn and ignore the option if not recognized
7268 # So say no if there are warnings
7269 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7270 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7271 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7272 lt_cv_prog_compiler_c_o
=yes
7277 # SGI C++ compiler will create directory out/ii_files/ for
7278 # template instantiation
7279 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7280 $RM out
/* && rmdir out
7286 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7287 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7294 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7295 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7296 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7297 echo $ECHO_N "(cached) $ECHO_C" >&6
7299 lt_cv_prog_compiler_c_o
=no
7300 $RM -r conftest
2>/dev
/null
7304 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7306 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7307 # Insert the option either (1) after the last *FLAGS variable, or
7308 # (2) before a word containing "conftest.", or (3) at the end.
7309 # Note that $ac_compile itself does not contain backslashes and begins
7310 # with a dollar sign (not a hyphen), so the echo should work correctly.
7311 lt_compile
=`echo "$ac_compile" | $SED \
7312 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7313 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7314 -e 's:$: $lt_compiler_flag:'`
7315 (eval echo "\"\$as_me:7315: $lt_compile\"" >&5)
7316 (eval "$lt_compile" 2>out
/conftest.err
)
7318 cat out
/conftest.err
>&5
7319 echo "$as_me:7319: \$? = $ac_status" >&5
7320 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7322 # The compiler can only warn and ignore the option if not recognized
7323 # So say no if there are warnings
7324 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7325 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7326 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7327 lt_cv_prog_compiler_c_o
=yes
7332 # SGI C++ compiler will create directory out/ii_files/ for
7333 # template instantiation
7334 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7335 $RM out
/* && rmdir out
7341 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7342 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7347 hard_links
="nottested"
7348 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7349 # do not overwrite the value of need_locks provided by the user
7350 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7351 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7354 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7356 ln conftest.a conftest.b
2>&5 || hard_links
=no
7357 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7358 echo "$as_me:$LINENO: result: $hard_links" >&5
7359 echo "${ECHO_T}$hard_links" >&6
7360 if test "$hard_links" = no
; then
7361 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7362 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7374 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7375 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7378 allow_undefined_flag
=
7379 always_export_symbols
=no
7381 archive_expsym_cmds
=
7382 compiler_needs_object
=no
7383 enable_shared_with_static_runtimes
=no
7384 export_dynamic_flag_spec
=
7385 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7386 hardcode_automatic
=no
7388 hardcode_direct_absolute
=no
7389 hardcode_libdir_flag_spec
=
7390 hardcode_libdir_flag_spec_ld
=
7391 hardcode_libdir_separator
=
7393 hardcode_shlibpath_var
=unsupported
7395 link_all_deplibs
=unknown
7398 old_archive_from_new_cmds
=
7399 old_archive_from_expsyms_cmds
=
7400 thread_safe_flag_spec
=
7401 whole_archive_flag_spec
=
7402 # include_expsyms should be a list of space-separated symbols to be *always*
7403 # included in the symbol list
7405 # exclude_expsyms can be an extended regexp of symbols to exclude
7406 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7407 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7408 # as well as any symbol that contains `d'.
7409 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7410 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7411 # platforms (ab)use it in PIC code, but their linkers get confused if
7412 # the symbol is explicitly referenced. Since portable code cannot
7413 # rely on this symbol name, it's probably fine to never include it in
7414 # preloaded symbol tables.
7415 extract_expsyms_cmds
=
7418 cygwin
* | mingw
* | pw32
*)
7419 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7420 # When not using gcc, we currently assume that we are using
7421 # Microsoft Visual C++.
7422 if test "$GCC" != yes; then
7427 # we just hope/assume this is gcc and not c89 (= MSVC++)
7436 if test "$with_gnu_ld" = yes; then
7437 # If archive_cmds runs LD, not CC, wlarc should be empty
7440 # Set some defaults for GNU ld with shared library support. These
7441 # are reset later if shared libraries are not supported. Putting them
7442 # here allows them to be overridden if necessary.
7443 runpath_var
=LD_RUN_PATH
7444 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7445 export_dynamic_flag_spec
='${wl}--export-dynamic'
7446 # ancient GNU ld didn't support --whole-archive et. al.
7447 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7448 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7450 whole_archive_flag_spec
=
7452 supports_anon_versioning
=no
7453 case `$LD -v 2>&1` in
7454 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7455 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7456 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7457 *\
2.11.
*) ;; # other 2.11 versions
7458 *) supports_anon_versioning
=yes ;;
7461 # See if GNU ld supports shared libraries.
7464 # On AIX/PPC, the GNU linker is very broken
7465 if test "$host_cpu" != ia64
; then
7469 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7470 *** to be unable to reliably create shared libraries on AIX.
7471 *** Therefore, libtool is disabling shared libraries support. If you
7472 *** really care for shared libraries, you may want to modify your PATH
7473 *** so that a non-GNU linker is found, and then restart.
7480 if test "$host_cpu" = m68k
; then
7481 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7482 hardcode_libdir_flag_spec
='-L$libdir'
7483 hardcode_minus_L
=yes
7486 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7487 # that the semantics of dynamic libraries on AmigaOS, at least up
7488 # to version 4, is to share data among multiple programs linked
7489 # with the same dynamic library. Since this doesn't match the
7490 # behavior of shared libraries on other platforms, we can't use
7496 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7497 allow_undefined_flag
=unsupported
7498 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7499 # support --undefined. This deserves some investigation. FIXME
7500 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7506 cygwin
* | mingw
* | pw32
*)
7507 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7508 # as there is no search path for DLLs.
7509 hardcode_libdir_flag_spec
='-L$libdir'
7510 allow_undefined_flag
=unsupported
7511 always_export_symbols
=no
7512 enable_shared_with_static_runtimes
=yes
7513 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7515 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7516 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7517 # If the export-symbols file already is a .def file (1st line
7518 # is EXPORTS), use it as is; otherwise, prepend...
7519 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7520 cp $export_symbols $output_objdir/$soname.def;
7522 echo EXPORTS > $output_objdir/$soname.def;
7523 cat $export_symbols >> $output_objdir/$soname.def;
7525 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7533 hardcode_shlibpath_var
=no
7534 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7535 export_dynamic_flag_spec
='${wl}-E'
7536 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7537 # Instead, shared libraries are loaded at an image base (0x10000000 by
7538 # default) and relocated if they conflict, which is a slow very memory
7539 # consuming and fragmenting process. To avoid this, we pick a random,
7540 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7541 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7542 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7543 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7546 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7548 if test "$host_os" = linux-dietlibc
; then
7549 case $cc_basename in
7550 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7553 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7554 && test "$tmp_diet" = no
7557 case $cc_basename,$host_cpu in
7558 pgcc
*) # Portland Group C compiler
7559 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7560 tmp_addflag
=' $pic_flag'
7562 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7563 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7564 tmp_addflag
=' $pic_flag -Mnomain' ;;
7565 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7566 tmp_addflag
=' -i_dynamic' ;;
7567 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7568 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7569 ifc
* | ifort
*) # Intel Fortran compiler
7570 tmp_addflag
=' -nofor_main' ;;
7572 case `$CC -V 2>&1 | sed 5q` in
7573 *Sun\ C
*) # Sun C 5.9
7574 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7575 compiler_needs_object
=yes
7576 tmp_sharedflag
='-G' ;;
7577 *Sun\ F
*) # Sun Fortran 8.3
7578 tmp_sharedflag
='-G' ;;
7580 tmp_sharedflag
='-shared' ;;
7582 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7584 if test "x$supports_anon_versioning" = xyes
; then
7585 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7586 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7587 echo "local: *; };" >> $output_objdir/$libname.ver~
7588 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7596 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7597 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7600 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7601 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7606 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7610 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7611 *** create shared libraries on Solaris systems. Therefore, libtool
7612 *** is disabling shared libraries support. We urge you to upgrade GNU
7613 *** binutils to release 2.9.1 or newer. Another option is to modify
7614 *** your PATH or compiler configuration so that the native linker is
7615 *** used, and then restart.
7618 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7619 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7620 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7626 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7627 case `$LD -v 2>&1` in
7628 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7632 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7633 *** reliably create shared libraries on SCO systems. Therefore, libtool
7634 *** is disabling shared libraries support. We urge you to upgrade GNU
7635 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7636 *** your PATH or compiler configuration so that the native linker is
7637 *** used, and then restart.
7642 # For security reasons, it is highly recommended that you always
7643 # use absolute paths for naming shared libraries, and exclude the
7644 # DT_RUNPATH tag from executables and libraries. But doing so
7645 # requires that you compile everything twice, which is a pain.
7646 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7647 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7648 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7649 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7658 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7661 hardcode_shlibpath_var
=no
7665 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7666 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7667 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7674 if test "$ld_shlibs" = no
; then
7676 hardcode_libdir_flag_spec
=
7677 export_dynamic_flag_spec
=
7678 whole_archive_flag_spec
=
7681 # PORTME fill in a description of your system's linker (not GNU ld)
7684 allow_undefined_flag
=unsupported
7685 always_export_symbols
=yes
7686 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
7687 # Note: this linker hardcodes the directories in LIBPATH if there
7688 # are no directories specified by -L.
7689 hardcode_minus_L
=yes
7690 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7691 # Neither direct hardcoding nor static linking is supported with a
7693 hardcode_direct
=unsupported
7698 if test "$host_cpu" = ia64
; then
7699 # On IA64, the linker does run time linking by default, so we don't
7700 # have to do anything special.
7701 aix_use_runtimelinking
=no
7702 exp_sym_flag
='-Bexport'
7705 # If we're using GNU nm, then we don't want the "-C" option.
7706 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7707 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7708 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
7710 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
7712 aix_use_runtimelinking
=no
7714 # Test if we are trying to use run time linking or normal
7715 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7716 # need to do runtime linking.
7717 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7718 for ld_flag
in $LDFLAGS; do
7719 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7720 aix_use_runtimelinking
=yes
7727 exp_sym_flag
='-bexport'
7728 no_entry_flag
='-bnoentry'
7731 # When large executables or shared objects are built, AIX ld can
7732 # have problems creating the table of contents. If linking a library
7733 # or program results in "error TOC overflow" add -mminimal-toc to
7734 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7735 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7739 hardcode_direct_absolute
=yes
7740 hardcode_libdir_separator
=':'
7741 link_all_deplibs
=yes
7742 file_list_spec
='${wl}-f,'
7744 if test "$GCC" = yes; then
7745 case $host_os in aix4.
[012]|aix4.
[012].
*)
7746 # We only want to do this on AIX 4.2 and lower, the check
7747 # below for broken collect2 doesn't work under 4.3+
7748 collect2name
=`${CC} -print-prog-name=collect2`
7749 if test -f "$collect2name" &&
7750 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7752 # We have reworked collect2
7755 # We have old collect2
7756 hardcode_direct
=unsupported
7757 # It fails to find uninstalled libraries when the uninstalled
7758 # path is not listed in the libpath. Setting hardcode_minus_L
7759 # to unsupported forces relinking
7760 hardcode_minus_L
=yes
7761 hardcode_libdir_flag_spec
='-L$libdir'
7762 hardcode_libdir_separator
=
7766 shared_flag
='-shared'
7767 if test "$aix_use_runtimelinking" = yes; then
7768 shared_flag
="$shared_flag "'${wl}-G'
7772 if test "$host_cpu" = ia64
; then
7773 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7774 # chokes on -Wl,-G. The following line is correct:
7777 if test "$aix_use_runtimelinking" = yes; then
7778 shared_flag
='${wl}-G'
7780 shared_flag
='${wl}-bM:SRE'
7785 # It seems that -bexpall does not export symbols beginning with
7786 # underscore (_), so it is better to generate a list of symbols to export.
7787 always_export_symbols
=yes
7788 if test "$aix_use_runtimelinking" = yes; then
7789 # Warning - without using the other runtime loading flags (-brtl),
7790 # -berok will link without error, but may produce a broken library.
7791 allow_undefined_flag
='-berok'
7792 # Determine the default libpath from the value encoded in an
7794 cat >conftest.
$ac_ext <<_ACEOF
7797 cat confdefs.h
>>conftest.
$ac_ext
7798 cat >>conftest.
$ac_ext <<_ACEOF
7799 /* end confdefs.h. */
7809 rm -f conftest.
$ac_objext conftest
$ac_exeext
7810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7811 (eval $ac_link) 2>conftest.er1
7813 grep -v '^ *+' conftest.er1
>conftest.err
7815 cat conftest.err
>&5
7816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7817 (exit $ac_status); } &&
7818 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823 (exit $ac_status); }; } &&
7824 { ac_try
='test -s conftest$ac_exeext'
7825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); }; }; then
7831 lt_aix_libpath_sed
='
7832 /Import File Strings/,/^$/ {
7838 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7839 # Check for a 64-bit object if we didn't find anything.
7840 if test -z "$aix_libpath"; then
7841 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7844 echo "$as_me: failed program was:" >&5
7845 sed 's/^/| /' conftest.
$ac_ext >&5
7848 rm -f conftest.err conftest.
$ac_objext \
7849 conftest
$ac_exeext conftest.
$ac_ext
7850 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7852 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7853 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7855 if test "$host_cpu" = ia64
; then
7856 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7857 allow_undefined_flag
="-z nodefs"
7858 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
7860 # Determine the default libpath from the value encoded in an
7862 cat >conftest.
$ac_ext <<_ACEOF
7865 cat confdefs.h
>>conftest.
$ac_ext
7866 cat >>conftest.
$ac_ext <<_ACEOF
7867 /* end confdefs.h. */
7877 rm -f conftest.
$ac_objext conftest
$ac_exeext
7878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7879 (eval $ac_link) 2>conftest.er1
7881 grep -v '^ *+' conftest.er1
>conftest.err
7883 cat conftest.err
>&5
7884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7885 (exit $ac_status); } &&
7886 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7891 (exit $ac_status); }; } &&
7892 { ac_try
='test -s conftest$ac_exeext'
7893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897 (exit $ac_status); }; }; then
7899 lt_aix_libpath_sed
='
7900 /Import File Strings/,/^$/ {
7906 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7907 # Check for a 64-bit object if we didn't find anything.
7908 if test -z "$aix_libpath"; then
7909 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7912 echo "$as_me: failed program was:" >&5
7913 sed 's/^/| /' conftest.
$ac_ext >&5
7916 rm -f conftest.err conftest.
$ac_objext \
7917 conftest
$ac_exeext conftest.
$ac_ext
7918 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7920 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7921 # Warning - without using the other run time loading flags,
7922 # -berok will link without error, but may produce a broken library.
7923 no_undefined_flag
=' ${wl}-bernotok'
7924 allow_undefined_flag
=' ${wl}-berok'
7925 # Exported symbols can be pulled into shared objects from archives
7926 whole_archive_flag_spec
='$convenience'
7927 archive_cmds_need_lc
=yes
7928 # This is similar to how AIX traditionally builds its shared libraries.
7929 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7935 if test "$host_cpu" = m68k
; then
7936 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7937 hardcode_libdir_flag_spec
='-L$libdir'
7938 hardcode_minus_L
=yes
7940 # see comment about different semantics on the GNU ld section
7945 export_dynamic_flag_spec
=-rdynamic
7948 cygwin
* | mingw
* | pw32
*)
7949 # When not using gcc, we currently assume that we are using
7950 # Microsoft Visual C++.
7951 # hardcode_libdir_flag_spec is actually meaningless, as there is
7952 # no search path for DLLs.
7953 hardcode_libdir_flag_spec
=' '
7954 allow_undefined_flag
=unsupported
7955 # Tell ltmain to make .lib files, not .a files.
7957 # Tell ltmain to make .dll files, not .so files.
7959 # FIXME: Setting linknames here is a bad hack.
7960 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7961 # The linker will automatically build a .lib file if we build a DLL.
7962 old_archive_from_new_cmds
='true'
7963 # FIXME: Should let the user specify the lib program.
7964 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7965 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7966 enable_shared_with_static_runtimes
=yes
7969 darwin
* | rhapsody
*)
7971 rhapsody
* | darwin1.
[012])
7972 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7975 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7977 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7980 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7985 archive_cmds_need_lc
=no
7987 hardcode_automatic
=yes
7988 hardcode_shlibpath_var
=unsupported
7989 whole_archive_flag_spec
=''
7990 link_all_deplibs
=yes
7991 if test "$GCC" = yes ; then
7992 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7993 echo $ECHO_N "(cached) $ECHO_C" >&6
7995 lt_cv_apple_cc_single_mod
=no
7996 if test -z "${LT_MULTI_MODULE}"; then
7997 # By default we will add the -single_module flag. You can override
7998 # by either setting the environment variable LT_MULTI_MODULE
7999 # non-empty at configure time, or by adding -multi-module to the
8001 echo "int foo(void){return 1;}" > conftest.c
8002 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8003 -dynamiclib ${wl}-single_module conftest.c
8004 if test -f libconftest.dylib
; then
8005 lt_cv_apple_cc_single_mod
=yes
8006 rm libconftest.dylib
8012 output_verbose_link_cmd
=echo
8013 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
8014 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8015 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8017 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8018 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8020 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8021 module_expsym_cmds
='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8023 case $cc_basename in
8025 output_verbose_link_cmd
=echo
8026 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8027 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8028 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8029 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8030 module_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8040 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8041 hardcode_libdir_flag_spec
='-L$libdir'
8042 hardcode_shlibpath_var
=no
8049 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8050 # support. Future versions do this automatically, but an explicit c++rt0.o
8051 # does not break anything, and helps significantly (at the cost of a little
8054 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8055 hardcode_libdir_flag_spec
='-R$libdir'
8057 hardcode_shlibpath_var
=no
8060 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8062 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8064 hardcode_minus_L
=yes
8065 hardcode_shlibpath_var
=no
8068 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8069 freebsd
* | dragonfly
*)
8070 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8071 hardcode_libdir_flag_spec
='-R$libdir'
8073 hardcode_shlibpath_var
=no
8077 if test "$GCC" = yes; then
8078 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8080 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8082 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8083 hardcode_libdir_separator
=:
8086 # hardcode_minus_L: Not really in the search PATH,
8087 # but as the default location of the library.
8088 hardcode_minus_L
=yes
8089 export_dynamic_flag_spec
='${wl}-E'
8093 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8094 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8096 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8098 if test "$with_gnu_ld" = no
; then
8099 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8100 hardcode_libdir_flag_spec_ld
='+b $libdir'
8101 hardcode_libdir_separator
=:
8103 hardcode_direct_absolute
=yes
8104 export_dynamic_flag_spec
='${wl}-E'
8105 # hardcode_minus_L: Not really in the search PATH,
8106 # but as the default location of the library.
8107 hardcode_minus_L
=yes
8112 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8115 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8118 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8121 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8127 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8130 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8133 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8137 if test "$with_gnu_ld" = no
; then
8138 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8139 hardcode_libdir_separator
=:
8144 hardcode_shlibpath_var
=no
8148 hardcode_direct_absolute
=yes
8149 export_dynamic_flag_spec
='${wl}-E'
8151 # hardcode_minus_L: Not really in the search PATH,
8152 # but as the default location of the library.
8153 hardcode_minus_L
=yes
8159 irix5
* | irix6
* | nonstopux
*)
8160 if test "$GCC" = yes; then
8161 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8162 # Try to use the -exported_symbol ld option, if it does not
8163 # work, assume that -exports_file does not work either and
8164 # implicitly export all symbols.
8165 save_LDFLAGS
="$LDFLAGS"
8166 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8167 cat >conftest.
$ac_ext <<_ACEOF
8170 rm -f conftest.
$ac_objext conftest
$ac_exeext
8171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8172 (eval $ac_link) 2>conftest.er1
8174 grep -v '^ *+' conftest.er1
>conftest.err
8176 cat conftest.err
>&5
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); } &&
8179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); }; } &&
8185 { ac_try
='test -s conftest$ac_exeext'
8186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8190 (exit $ac_status); }; }; then
8191 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8194 echo "$as_me: failed program was:" >&5
8195 sed 's/^/| /' conftest.
$ac_ext >&5
8198 rm -f conftest.err conftest.
$ac_objext \
8199 conftest
$ac_exeext conftest.
$ac_ext
8200 LDFLAGS
="$save_LDFLAGS"
8202 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8203 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8205 archive_cmds_need_lc
='no'
8206 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8207 hardcode_libdir_separator
=:
8209 link_all_deplibs
=yes
8213 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8214 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8216 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8218 hardcode_libdir_flag_spec
='-R$libdir'
8220 hardcode_shlibpath_var
=no
8224 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8226 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8227 hardcode_libdir_separator
=:
8228 hardcode_shlibpath_var
=no
8236 hardcode_shlibpath_var
=no
8237 hardcode_direct_absolute
=yes
8238 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8239 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8240 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8241 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8242 export_dynamic_flag_spec
='${wl}-E'
8245 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8246 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8247 hardcode_libdir_flag_spec
='-R$libdir'
8250 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8251 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8258 hardcode_libdir_flag_spec
='-L$libdir'
8259 hardcode_minus_L
=yes
8260 allow_undefined_flag
=unsupported
8261 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8262 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8266 if test "$GCC" = yes; then
8267 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8268 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8270 allow_undefined_flag
=' -expect_unresolved \*'
8271 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8273 archive_cmds_need_lc
='no'
8274 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8275 hardcode_libdir_separator
=:
8278 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8279 if test "$GCC" = yes; then
8280 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8281 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8282 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8284 allow_undefined_flag
=' -expect_unresolved \*'
8285 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8286 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8287 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8289 # Both c and cxx compiler support -rpath directly
8290 hardcode_libdir_flag_spec
='-rpath $libdir'
8292 archive_cmds_need_lc
='no'
8293 hardcode_libdir_separator
=:
8297 no_undefined_flag
=' -z defs'
8298 if test "$GCC" = yes; then
8300 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8301 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8302 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8304 case `$CC -V 2>&1` in
8307 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8308 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8309 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8313 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8314 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8315 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8319 hardcode_libdir_flag_spec
='-R$libdir'
8320 hardcode_shlibpath_var
=no
8322 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8324 # The compiler driver will combine and reorder linker options,
8325 # but understands `-z linker_flag'. GCC discards it without `$wl',
8326 # but is careful enough not to reorder.
8327 # Supported since Solaris 2.6 (maybe 2.5.1?)
8328 if test "$GCC" = yes; then
8329 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8331 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8335 link_all_deplibs
=yes
8339 if test "x$host_vendor" = xsequent
; then
8340 # Use $CC to link under sequent, because it throws in some extra .o
8341 # files that make .init and .fini sections work.
8342 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8344 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8346 hardcode_libdir_flag_spec
='-L$libdir'
8348 hardcode_minus_L
=yes
8349 hardcode_shlibpath_var
=no
8353 case $host_vendor in
8355 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8356 hardcode_direct
=yes # is this really true???
8359 ## LD is ld it makes a PLAMLIB
8360 ## CC just makes a GrossModule.
8361 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8362 reload_cmds
='$CC -r -o $output$reload_objs'
8366 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8367 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8370 runpath_var
='LD_RUN_PATH'
8371 hardcode_shlibpath_var
=no
8375 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8376 hardcode_shlibpath_var
=no
8377 export_dynamic_flag_spec
='-Bexport'
8381 if test -d /usr
/nec
; then
8382 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8383 hardcode_shlibpath_var
=no
8384 runpath_var
=LD_RUN_PATH
8385 hardcode_runpath_var
=yes
8390 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8391 no_undefined_flag
='${wl}-z,text'
8392 archive_cmds_need_lc
=no
8393 hardcode_shlibpath_var
=no
8394 runpath_var
='LD_RUN_PATH'
8396 if test "$GCC" = yes; then
8397 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8398 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8400 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8401 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8405 sysv5
* | sco3.2v5
* | sco5v6
*)
8406 # Note: We can NOT use -z defs as we might desire, because we do not
8407 # link with -lc, and that would cause any symbols used from libc to
8408 # always be unresolved, which means just about no library would
8409 # ever link correctly. If we're not using GNU ld we use -z text
8410 # though, which does catch some bad symbols but isn't as heavy-handed
8412 no_undefined_flag
='${wl}-z,text'
8413 allow_undefined_flag
='${wl}-z,nodefs'
8414 archive_cmds_need_lc
=no
8415 hardcode_shlibpath_var
=no
8416 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8417 hardcode_libdir_separator
=':'
8418 link_all_deplibs
=yes
8419 export_dynamic_flag_spec
='${wl}-Bexport'
8420 runpath_var
='LD_RUN_PATH'
8422 if test "$GCC" = yes; then
8423 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8424 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8426 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8427 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8432 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8433 hardcode_libdir_flag_spec
='-L$libdir'
8434 hardcode_shlibpath_var
=no
8442 if test x
$host_vendor = xsni
; then
8444 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8445 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8451 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8452 echo "${ECHO_T}$ld_shlibs" >&6
8453 test "$ld_shlibs" = no
&& can_build_shared
=no
8455 with_gnu_ld
=$with_gnu_ld
8472 # Do we need to explicitly link libc?
8474 case "x$archive_cmds_need_lc" in
8476 # Assume -lc should be added
8477 archive_cmds_need_lc
=yes
8479 if test "$enable_shared" = yes && test "$GCC" = yes; then
8480 case $archive_cmds in
8482 # FIXME: we may have to deal with multi-command sequences.
8485 # Test whether the compiler implicitly links with -lc since on some
8486 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8487 # to ld, don't add -lc before -lgcc.
8488 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8489 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8491 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8494 (eval $ac_compile) 2>&5
8496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8497 (exit $ac_status); } 2>conftest.err
; then
8500 libobjs
=conftest.
$ac_objext
8502 wl
=$lt_prog_compiler_wl
8503 pic_flag
=$lt_prog_compiler_pic
8509 lt_save_allow_undefined_flag
=$allow_undefined_flag
8510 allow_undefined_flag
=
8511 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8512 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8515 (exit $ac_status); }
8517 archive_cmds_need_lc
=no
8519 archive_cmds_need_lc
=yes
8521 allow_undefined_flag
=$lt_save_allow_undefined_flag
8523 cat conftest.err
1>&5
8526 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8527 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8690 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8691 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8693 if test "$withGCC" = yes; then
8695 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8696 *) lt_awk_arg
="/^libraries:/" ;;
8698 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8699 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8700 # if the path contains ";" then we assume it to be the separator
8701 # otherwise default to the standard path separator (i.e. ":") - it is
8702 # assumed that no part of a normal pathname contains ";" but that should
8703 # okay in the real world where ";" in dirpaths is itself problematic.
8704 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8706 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8708 # Ok, now we have the path, separated by spaces, we can step through it
8709 # and add multilib dir if necessary.
8710 lt_tmp_lt_search_path_spec
=
8711 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8712 for lt_sys_path
in $lt_search_path_spec; do
8713 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8714 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8716 test -d "$lt_sys_path" && \
8717 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8720 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8721 BEGIN {RS=" "; FS="/|\n";} {
8724 for (lt_i = NF; lt_i > 0; lt_i--) {
8725 if ($lt_i != "" && $lt_i != ".") {
8726 if ($lt_i == "..") {
8729 if (lt_count == 0) {
8730 lt_foo="/" $lt_i lt_foo;
8737 if (lt_foo != "") { lt_freq[lt_foo]++; }
8738 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8740 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8742 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8745 libname_spec
='lib$name'
8753 shlibpath_overrides_runpath
=unknown
8755 dynamic_linker
="$host_os ld.so"
8756 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8757 need_lib_prefix
=unknown
8758 hardcode_into_libs
=no
8760 # when you set need_version to no, make sure it does not cause -set_version
8761 # flags to be left without arguments
8762 need_version
=unknown
8767 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8768 shlibpath_var
=LIBPATH
8770 # AIX 3 has no versioning support, so we append a major version to the name.
8771 soname_spec
='${libname}${release}${shared_ext}$major'
8778 hardcode_into_libs
=yes
8779 if test "$host_cpu" = ia64
; then
8780 # AIX 5 supports IA64
8781 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8782 shlibpath_var
=LD_LIBRARY_PATH
8784 # With GCC up to 2.95.x, collect2 would create an import file
8785 # for dependence libraries. The import file would start with
8786 # the line `#! .'. This would cause the generated library to
8787 # depend on `.', always an invalid library. This was fixed in
8788 # development snapshots of GCC prior to 3.0.
8790 aix4 | aix4.
[01] | aix4.
[01].
*)
8791 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8793 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8800 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8801 # soname into executable. Probably we can add versioning support to
8802 # collect2, so additional links can be useful in future.
8803 if test "$aix_use_runtimelinking" = yes; then
8804 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8805 # instead of lib<name>.a to let people know that these are not
8806 # typical AIX shared libraries.
8807 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8809 # We preserve .a as extension for shared libraries through AIX4.2
8810 # and later when we are not doing run time linking.
8811 library_names_spec
='${libname}${release}.a $libname.a'
8812 soname_spec
='${libname}${release}${shared_ext}$major'
8814 shlibpath_var
=LIBPATH
8819 if test "$host_cpu" = m68k
; then
8820 library_names_spec
='$libname.ixlibrary $libname.a'
8821 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8822 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
8829 library_names_spec
='${libname}${shared_ext}'
8830 dynamic_linker
="$host_os ld.so"
8831 shlibpath_var
=LIBRARY_PATH
8837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8838 soname_spec
='${libname}${release}${shared_ext}$major'
8839 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8840 shlibpath_var
=LD_LIBRARY_PATH
8841 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8842 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8843 # the default ld.so.conf also contains /usr/contrib/lib and
8844 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8845 # libtool to hard-code these into programs
8848 cygwin
* | mingw
* | pw32
*)
8849 version_type
=windows
8854 case $withGCC,$host_os in
8855 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8856 library_names_spec
='$libname.dll.a'
8857 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8858 postinstall_cmds
='base_file=`basename \${file}`~
8859 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8860 dldir=$destdir/`dirname \$dlpath`~
8861 test -d \$dldir || mkdir -p \$dldir~
8862 $install_prog $dir/$dlname \$dldir/$dlname~
8863 chmod a+x \$dldir/$dlname~
8864 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8865 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8867 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8868 dlpath=$dir/\$dldll~
8870 shlibpath_overrides_runpath
=yes
8874 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8875 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8876 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8879 # MinGW DLLs use traditional 'lib' prefix
8880 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8881 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8882 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8883 # It is most probably a Windows format PATH printed by
8884 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8885 # path with ; separators, and with drive letters. We can handle the
8886 # drive letters (cygwin fileutils understands them), so leave them,
8887 # especially as we might pass files found there to a mingw objdump,
8888 # which wouldn't understand a cygwinified path. Ahh.
8889 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8891 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8895 # pw32 DLLs use 'pw' prefix rather than 'lib'
8896 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8902 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8905 dynamic_linker
='Win32 ld.exe'
8906 # FIXME: first we should search . and the directory the executable is in
8910 darwin
* | rhapsody
*)
8911 dynamic_linker
="$host_os dyld"
8915 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8916 soname_spec
='${libname}${release}${major}$shared_ext'
8917 shlibpath_overrides_runpath
=yes
8918 shlibpath_var
=DYLD_LIBRARY_PATH
8919 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8921 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8922 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8930 soname_spec
='${libname}${release}${shared_ext}$major'
8931 shlibpath_var
=LD_LIBRARY_PATH
8938 freebsd
* | dragonfly
*)
8939 # DragonFly does not have aout. When/if they implement a new
8940 # versioning mechanism, adjust this.
8941 if test -x /usr
/bin
/objformat
; then
8942 objformat
=`/usr/bin/objformat`
8945 freebsd
[123]*) objformat
=aout
;;
8949 version_type
=freebsd-
$objformat
8950 case $version_type in
8952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8957 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8961 shlibpath_var
=LD_LIBRARY_PATH
8964 shlibpath_overrides_runpath
=yes
8966 freebsd3.
[01]* | freebsdelf3.
[01]*)
8967 shlibpath_overrides_runpath
=yes
8968 hardcode_into_libs
=yes
8970 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8971 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8972 shlibpath_overrides_runpath
=no
8973 hardcode_into_libs
=yes
8975 *) # from 4.6 on, and DragonFly
8976 shlibpath_overrides_runpath
=yes
8977 hardcode_into_libs
=yes
8986 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8987 soname_spec
='${libname}${release}${shared_ext}$major'
8988 shlibpath_var
=LD_LIBRARY_PATH
8989 hardcode_into_libs
=yes
8992 hpux9
* | hpux10
* | hpux11
*)
8993 # Give a soname corresponding to the major version so that dld.sl refuses to
8994 # link against other versions.
9001 hardcode_into_libs
=yes
9002 dynamic_linker
="$host_os dld.so"
9003 shlibpath_var
=LD_LIBRARY_PATH
9004 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9006 soname_spec
='${libname}${release}${shared_ext}$major'
9007 if test "X$HPUX_IA64_MODE" = X32
; then
9008 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9010 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9012 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9016 hardcode_into_libs
=yes
9017 dynamic_linker
="$host_os dld.sl"
9018 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9019 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9021 soname_spec
='${libname}${release}${shared_ext}$major'
9022 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9023 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9027 dynamic_linker
="$host_os dld.sl"
9028 shlibpath_var
=SHLIB_PATH
9029 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9031 soname_spec
='${libname}${release}${shared_ext}$major'
9034 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9035 postinstall_cmds
='chmod 555 $lib'
9042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9043 soname_spec
='${libname}${release}${shared_ext}$major'
9044 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9045 shlibpath_var
=LD_LIBRARY_PATH
9046 shlibpath_overrides_runpath
=no
9047 hardcode_into_libs
=yes
9050 irix5
* | irix6
* | nonstopux
*)
9052 nonstopux
*) version_type
=nonstopux
;;
9054 if test "$lt_cv_prog_gnu_ld" = yes; then
9062 soname_spec
='${libname}${release}${shared_ext}$major'
9063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9065 irix5
* | nonstopux
*)
9069 case $LD in # libtool.m4 will add one of these switches to LD
9070 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9071 libsuff
= shlibsuff
= libmagic
=32-bit;;
9072 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9073 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9074 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9075 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9076 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9080 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9081 shlibpath_overrides_runpath
=no
9082 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9083 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9084 hardcode_into_libs
=yes
9087 # No shared lib support for Linux oldld, aout, or coff.
9088 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9092 # This must be Linux ELF.
9093 linux
* | k
*bsd
*-gnu)
9097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9098 soname_spec
='${libname}${release}${shared_ext}$major'
9099 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9100 shlibpath_var
=LD_LIBRARY_PATH
9101 shlibpath_overrides_runpath
=no
9102 # Some binutils ld are patched to set DT_RUNPATH
9103 save_LDFLAGS
=$LDFLAGS
9105 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9106 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9107 cat >conftest.
$ac_ext <<_ACEOF
9110 cat confdefs.h
>>conftest.
$ac_ext
9111 cat >>conftest.
$ac_ext <<_ACEOF
9112 /* end confdefs.h. */
9122 rm -f conftest.
$ac_objext conftest
$ac_exeext
9123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9124 (eval $ac_link) 2>conftest.er1
9126 grep -v '^ *+' conftest.er1
>conftest.err
9128 cat conftest.err
>&5
9129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9130 (exit $ac_status); } &&
9131 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136 (exit $ac_status); }; } &&
9137 { ac_try
='test -s conftest$ac_exeext'
9138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 (exit $ac_status); }; }; then
9143 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
9144 shlibpath_overrides_runpath
=yes
9148 echo "$as_me: failed program was:" >&5
9149 sed 's/^/| /' conftest.
$ac_ext >&5
9152 rm -f conftest.err conftest.
$ac_objext \
9153 conftest
$ac_exeext conftest.
$ac_ext
9154 LDFLAGS
=$save_LDFLAGS
9157 # This implies no fast_install, which is unacceptable.
9158 # Some rework will be needed to allow for fast_install
9159 # before this can be enabled.
9160 hardcode_into_libs
=yes
9162 # Append ld.so.conf contents to the search path
9163 if test -f /etc
/ld.so.conf
; then
9164 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9165 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9168 # We used to test for /lib/ld.so.1 and disable shared libraries on
9169 # powerpc, because MkLinux only supported shared libraries with the
9170 # GNU dynamic linker. Since this was broken with cross compilers,
9171 # most powerpc-linux boxes support dynamic linking these days and
9172 # people can always --disable-shared, the test was removed, and we
9173 # assume the GNU/Linux dynamic linker is in use.
9174 dynamic_linker
='GNU/Linux ld.so'
9181 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9183 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9184 dynamic_linker
='NetBSD (a.out) ld.so'
9186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9187 soname_spec
='${libname}${release}${shared_ext}$major'
9188 dynamic_linker
='NetBSD ld.elf_so'
9190 shlibpath_var
=LD_LIBRARY_PATH
9191 shlibpath_overrides_runpath
=yes
9192 hardcode_into_libs
=yes
9197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9198 shlibpath_var
=LD_LIBRARY_PATH
9199 shlibpath_overrides_runpath
=yes
9206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9207 soname_spec
='${libname}${release}${shared_ext}$major'
9208 shlibpath_var
=LD_LIBRARY_PATH
9209 shlibpath_overrides_runpath
=no
9210 hardcode_into_libs
=yes
9211 dynamic_linker
='ldqnx.so'
9216 sys_lib_dlsearch_path_spec
="/usr/lib"
9218 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9220 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9221 *) need_version
=no
;;
9223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9224 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9225 shlibpath_var
=LD_LIBRARY_PATH
9226 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9228 openbsd2.
[89] | openbsd2.
[89].
*)
9229 shlibpath_overrides_runpath
=no
9232 shlibpath_overrides_runpath
=yes
9236 shlibpath_overrides_runpath
=yes
9241 libname_spec
='$name'
9244 library_names_spec
='$libname${shared_ext} $libname.a'
9245 dynamic_linker
='OS/2 ld.exe'
9246 shlibpath_var
=LIBPATH
9249 osf3
* | osf4
* | osf5
*)
9253 soname_spec
='${libname}${release}${shared_ext}$major'
9254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9255 shlibpath_var
=LD_LIBRARY_PATH
9256 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9257 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9269 soname_spec
='${libname}${release}${shared_ext}$major'
9270 shlibpath_var
=LD_LIBRARY_PATH
9271 shlibpath_overrides_runpath
=yes
9272 hardcode_into_libs
=yes
9273 # ldd complains unless libraries are executable
9274 postinstall_cmds
='chmod +x $lib'
9279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9280 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9281 shlibpath_var
=LD_LIBRARY_PATH
9282 shlibpath_overrides_runpath
=yes
9283 if test "$with_gnu_ld" = yes; then
9291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9292 soname_spec
='${libname}${release}${shared_ext}$major'
9293 shlibpath_var
=LD_LIBRARY_PATH
9294 case $host_vendor in
9296 shlibpath_overrides_runpath
=no
9298 runpath_var
=LD_RUN_PATH
9306 shlibpath_overrides_runpath
=no
9307 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9313 if test -d /usr
/nec
;then
9315 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9316 soname_spec
='$libname${shared_ext}.$major'
9317 shlibpath_var
=LD_LIBRARY_PATH
9321 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9322 version_type
=freebsd-elf
9325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9326 soname_spec
='${libname}${release}${shared_ext}$major'
9327 shlibpath_var
=LD_LIBRARY_PATH
9328 shlibpath_overrides_runpath
=yes
9329 hardcode_into_libs
=yes
9330 if test "$with_gnu_ld" = yes; then
9331 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9333 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9336 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9340 sys_lib_dlsearch_path_spec
='/usr/lib'
9344 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9348 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9349 shlibpath_var
=LD_LIBRARY_PATH
9350 shlibpath_overrides_runpath
=no
9351 hardcode_into_libs
=yes
9356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9357 soname_spec
='${libname}${release}${shared_ext}$major'
9358 shlibpath_var
=LD_LIBRARY_PATH
9365 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9366 echo "${ECHO_T}$dynamic_linker" >&6
9367 test "$dynamic_linker" = no
&& can_build_shared
=no
9369 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9370 if test "$GCC" = yes; then
9371 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9460 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9461 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9463 if test -n "$hardcode_libdir_flag_spec" ||
9464 test -n "$runpath_var" ||
9465 test "X$hardcode_automatic" = "Xyes" ; then
9467 # We can hardcode non-existent directories.
9468 if test "$hardcode_direct" != no
&&
9469 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9470 # have to relink, otherwise we might link with an installed library
9471 # when we should be linking with a yet-to-be-installed one
9472 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9473 test "$hardcode_minus_L" != no
; then
9474 # Linking always hardcodes the temporary library directory.
9475 hardcode_action
=relink
9477 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9478 hardcode_action
=immediate
9481 # We cannot hardcode anything, or else we can only hardcode existing
9483 hardcode_action
=unsupported
9485 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9486 echo "${ECHO_T}$hardcode_action" >&6
9488 if test "$hardcode_action" = relink ||
9489 test "$inherit_rpath" = yes; then
9490 # Fast installation is not supported
9491 enable_fast_install
=no
9492 elif test "$shlibpath_overrides_runpath" = yes ||
9493 test "$enable_shared" = no
; then
9494 # Fast installation is not necessary
9495 enable_fast_install
=needless
9503 if test "x$enable_dlopen" != xyes
; then
9504 enable_dlopen
=unknown
9505 enable_dlopen_self
=unknown
9506 enable_dlopen_self_static
=unknown
9513 lt_cv_dlopen
="load_add_on"
9515 lt_cv_dlopen_self
=yes
9519 lt_cv_dlopen
="LoadLibrary"
9524 lt_cv_dlopen
="dlopen"
9529 # if libdl is installed we need to link against it
9530 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9531 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9532 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9533 echo $ECHO_N "(cached) $ECHO_C" >&6
9535 ac_check_lib_save_LIBS
=$LIBS
9537 cat >conftest.
$ac_ext <<_ACEOF
9540 cat confdefs.h
>>conftest.
$ac_ext
9541 cat >>conftest.
$ac_ext <<_ACEOF
9542 /* end confdefs.h. */
9544 /* Override any gcc2 internal prototype to avoid an error. */
9548 /* We use char because int might match the return type of a gcc2
9549 builtin and then its argument prototype would still apply. */
9559 rm -f conftest.
$ac_objext conftest
$ac_exeext
9560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9561 (eval $ac_link) 2>conftest.er1
9563 grep -v '^ *+' conftest.er1
>conftest.err
9565 cat conftest.err
>&5
9566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9567 (exit $ac_status); } &&
9568 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9573 (exit $ac_status); }; } &&
9574 { ac_try
='test -s conftest$ac_exeext'
9575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9579 (exit $ac_status); }; }; then
9580 ac_cv_lib_dl_dlopen
=yes
9582 echo "$as_me: failed program was:" >&5
9583 sed 's/^/| /' conftest.
$ac_ext >&5
9585 ac_cv_lib_dl_dlopen
=no
9587 rm -f conftest.err conftest.
$ac_objext \
9588 conftest
$ac_exeext conftest.
$ac_ext
9589 LIBS
=$ac_check_lib_save_LIBS
9591 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9592 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9593 if test $ac_cv_lib_dl_dlopen = yes; then
9594 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9599 lt_cv_dlopen_self
=yes
9606 echo "$as_me:$LINENO: checking for shl_load" >&5
9607 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9608 if test "${ac_cv_func_shl_load+set}" = set; then
9609 echo $ECHO_N "(cached) $ECHO_C" >&6
9611 cat >conftest.
$ac_ext <<_ACEOF
9614 cat confdefs.h
>>conftest.
$ac_ext
9615 cat >>conftest.
$ac_ext <<_ACEOF
9616 /* end confdefs.h. */
9617 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9619 #define shl_load innocuous_shl_load
9621 /* System header to define __stub macros and hopefully few prototypes,
9622 which can conflict with char shl_load (); below.
9623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9624 <limits.h> exists even on freestanding compilers. */
9627 # include <limits.h>
9629 # include <assert.h>
9634 /* Override any gcc2 internal prototype to avoid an error. */
9639 /* We use char because int might match the return type of a gcc2
9640 builtin and then its argument prototype would still apply. */
9642 /* The GNU C library defines this for functions which it implements
9643 to always fail with ENOSYS. Some functions are actually named
9644 something starting with __ and the normal name is an alias. */
9645 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9648 char (*f) () = shl_load;
9657 return f != shl_load;
9662 rm -f conftest.
$ac_objext conftest
$ac_exeext
9663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9664 (eval $ac_link) 2>conftest.er1
9666 grep -v '^ *+' conftest.er1
>conftest.err
9668 cat conftest.err
>&5
9669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9670 (exit $ac_status); } &&
9671 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676 (exit $ac_status); }; } &&
9677 { ac_try
='test -s conftest$ac_exeext'
9678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682 (exit $ac_status); }; }; then
9683 ac_cv_func_shl_load
=yes
9685 echo "$as_me: failed program was:" >&5
9686 sed 's/^/| /' conftest.
$ac_ext >&5
9688 ac_cv_func_shl_load
=no
9690 rm -f conftest.err conftest.
$ac_objext \
9691 conftest
$ac_exeext conftest.
$ac_ext
9693 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9694 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9695 if test $ac_cv_func_shl_load = yes; then
9696 lt_cv_dlopen
="shl_load"
9698 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9699 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9700 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9701 echo $ECHO_N "(cached) $ECHO_C" >&6
9703 ac_check_lib_save_LIBS
=$LIBS
9705 cat >conftest.
$ac_ext <<_ACEOF
9708 cat confdefs.h
>>conftest.
$ac_ext
9709 cat >>conftest.
$ac_ext <<_ACEOF
9710 /* end confdefs.h. */
9712 /* Override any gcc2 internal prototype to avoid an error. */
9716 /* We use char because int might match the return type of a gcc2
9717 builtin and then its argument prototype would still apply. */
9727 rm -f conftest.
$ac_objext conftest
$ac_exeext
9728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9729 (eval $ac_link) 2>conftest.er1
9731 grep -v '^ *+' conftest.er1
>conftest.err
9733 cat conftest.err
>&5
9734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9735 (exit $ac_status); } &&
9736 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9741 (exit $ac_status); }; } &&
9742 { ac_try
='test -s conftest$ac_exeext'
9743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9747 (exit $ac_status); }; }; then
9748 ac_cv_lib_dld_shl_load
=yes
9750 echo "$as_me: failed program was:" >&5
9751 sed 's/^/| /' conftest.
$ac_ext >&5
9753 ac_cv_lib_dld_shl_load
=no
9755 rm -f conftest.err conftest.
$ac_objext \
9756 conftest
$ac_exeext conftest.
$ac_ext
9757 LIBS
=$ac_check_lib_save_LIBS
9759 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9760 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9761 if test $ac_cv_lib_dld_shl_load = yes; then
9762 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
9764 echo "$as_me:$LINENO: checking for dlopen" >&5
9765 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9766 if test "${ac_cv_func_dlopen+set}" = set; then
9767 echo $ECHO_N "(cached) $ECHO_C" >&6
9769 cat >conftest.
$ac_ext <<_ACEOF
9772 cat confdefs.h
>>conftest.
$ac_ext
9773 cat >>conftest.
$ac_ext <<_ACEOF
9774 /* end confdefs.h. */
9775 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9777 #define dlopen innocuous_dlopen
9779 /* System header to define __stub macros and hopefully few prototypes,
9780 which can conflict with char dlopen (); below.
9781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9782 <limits.h> exists even on freestanding compilers. */
9785 # include <limits.h>
9787 # include <assert.h>
9792 /* Override any gcc2 internal prototype to avoid an error. */
9797 /* We use char because int might match the return type of a gcc2
9798 builtin and then its argument prototype would still apply. */
9800 /* The GNU C library defines this for functions which it implements
9801 to always fail with ENOSYS. Some functions are actually named
9802 something starting with __ and the normal name is an alias. */
9803 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9806 char (*f) () = dlopen;
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_func_dlopen
=yes
9843 echo "$as_me: failed program was:" >&5
9844 sed 's/^/| /' conftest.
$ac_ext >&5
9846 ac_cv_func_dlopen
=no
9848 rm -f conftest.err conftest.
$ac_objext \
9849 conftest
$ac_exeext conftest.
$ac_ext
9851 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9852 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9853 if test $ac_cv_func_dlopen = yes; then
9854 lt_cv_dlopen
="dlopen"
9856 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9857 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9858 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9859 echo $ECHO_N "(cached) $ECHO_C" >&6
9861 ac_check_lib_save_LIBS
=$LIBS
9863 cat >conftest.
$ac_ext <<_ACEOF
9866 cat confdefs.h
>>conftest.
$ac_ext
9867 cat >>conftest.
$ac_ext <<_ACEOF
9868 /* end confdefs.h. */
9870 /* Override any gcc2 internal prototype to avoid an error. */
9874 /* We use char because int might match the return type of a gcc2
9875 builtin and then its argument prototype would still apply. */
9885 rm -f conftest.
$ac_objext conftest
$ac_exeext
9886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9887 (eval $ac_link) 2>conftest.er1
9889 grep -v '^ *+' conftest.er1
>conftest.err
9891 cat conftest.err
>&5
9892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9893 (exit $ac_status); } &&
9894 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9899 (exit $ac_status); }; } &&
9900 { ac_try
='test -s conftest$ac_exeext'
9901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 (exit $ac_status); }; }; then
9906 ac_cv_lib_dl_dlopen
=yes
9908 echo "$as_me: failed program was:" >&5
9909 sed 's/^/| /' conftest.
$ac_ext >&5
9911 ac_cv_lib_dl_dlopen
=no
9913 rm -f conftest.err conftest.
$ac_objext \
9914 conftest
$ac_exeext conftest.
$ac_ext
9915 LIBS
=$ac_check_lib_save_LIBS
9917 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9918 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9919 if test $ac_cv_lib_dl_dlopen = yes; then
9920 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9922 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9923 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9924 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9925 echo $ECHO_N "(cached) $ECHO_C" >&6
9927 ac_check_lib_save_LIBS
=$LIBS
9929 cat >conftest.
$ac_ext <<_ACEOF
9932 cat confdefs.h
>>conftest.
$ac_ext
9933 cat >>conftest.
$ac_ext <<_ACEOF
9934 /* end confdefs.h. */
9936 /* Override any gcc2 internal prototype to avoid an error. */
9940 /* We use char because int might match the return type of a gcc2
9941 builtin and then its argument prototype would still apply. */
9951 rm -f conftest.
$ac_objext conftest
$ac_exeext
9952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9953 (eval $ac_link) 2>conftest.er1
9955 grep -v '^ *+' conftest.er1
>conftest.err
9957 cat conftest.err
>&5
9958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9959 (exit $ac_status); } &&
9960 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); }; } &&
9966 { ac_try
='test -s conftest$ac_exeext'
9967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9971 (exit $ac_status); }; }; then
9972 ac_cv_lib_svld_dlopen
=yes
9974 echo "$as_me: failed program was:" >&5
9975 sed 's/^/| /' conftest.
$ac_ext >&5
9977 ac_cv_lib_svld_dlopen
=no
9979 rm -f conftest.err conftest.
$ac_objext \
9980 conftest
$ac_exeext conftest.
$ac_ext
9981 LIBS
=$ac_check_lib_save_LIBS
9983 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9984 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9985 if test $ac_cv_lib_svld_dlopen = yes; then
9986 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9988 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9989 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9990 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9991 echo $ECHO_N "(cached) $ECHO_C" >&6
9993 ac_check_lib_save_LIBS
=$LIBS
9995 cat >conftest.
$ac_ext <<_ACEOF
9998 cat confdefs.h
>>conftest.
$ac_ext
9999 cat >>conftest.
$ac_ext <<_ACEOF
10000 /* end confdefs.h. */
10002 /* Override any gcc2 internal prototype to avoid an error. */
10006 /* We use char because int might match the return type of a gcc2
10007 builtin and then its argument prototype would still apply. */
10017 rm -f conftest.
$ac_objext conftest
$ac_exeext
10018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10019 (eval $ac_link) 2>conftest.er1
10021 grep -v '^ *+' conftest.er1
>conftest.err
10023 cat conftest.err
>&5
10024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10025 (exit $ac_status); } &&
10026 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10028 (eval $ac_try) 2>&5
10030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10031 (exit $ac_status); }; } &&
10032 { ac_try
='test -s conftest$ac_exeext'
10033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10034 (eval $ac_try) 2>&5
10036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 (exit $ac_status); }; }; then
10038 ac_cv_lib_dld_dld_link
=yes
10040 echo "$as_me: failed program was:" >&5
10041 sed 's/^/| /' conftest.
$ac_ext >&5
10043 ac_cv_lib_dld_dld_link
=no
10045 rm -f conftest.err conftest.
$ac_objext \
10046 conftest
$ac_exeext conftest.
$ac_ext
10047 LIBS
=$ac_check_lib_save_LIBS
10049 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10050 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10051 if test $ac_cv_lib_dld_dld_link = yes; then
10052 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
10073 if test "x$lt_cv_dlopen" != xno
; then
10079 case $lt_cv_dlopen in
10081 save_CPPFLAGS
="$CPPFLAGS"
10082 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10084 save_LDFLAGS
="$LDFLAGS"
10085 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10088 LIBS
="$lt_cv_dlopen_libs $LIBS"
10090 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10091 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10092 if test "${lt_cv_dlopen_self+set}" = set; then
10093 echo $ECHO_N "(cached) $ECHO_C" >&6
10095 if test "$cross_compiling" = yes; then :
10096 lt_cv_dlopen_self
=cross
10098 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10099 lt_status
=$lt_dlunknown
10100 cat > conftest.
$ac_ext <<_LT_EOF
10101 #line 10101 "configure"
10102 #include "confdefs.h"
10111 # define LT_DLGLOBAL RTLD_GLOBAL
10114 # define LT_DLGLOBAL DL_GLOBAL
10116 # define LT_DLGLOBAL 0
10120 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10121 find out it does not work in some platform. */
10122 #ifndef LT_DLLAZY_OR_NOW
10124 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10127 # define LT_DLLAZY_OR_NOW DL_LAZY
10130 # define LT_DLLAZY_OR_NOW RTLD_NOW
10133 # define LT_DLLAZY_OR_NOW DL_NOW
10135 # define LT_DLLAZY_OR_NOW 0
10143 extern "C" void exit (int);
10146 void fnord() { int i=42;}
10149 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10150 int status = $lt_dlunknown;
10154 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10155 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10156 /* dlclose (self); */
10164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10165 (eval $ac_link) 2>&5
10167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10168 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10169 (.
/conftest
; exit; ) >&5 2>/dev
/null
10171 case x
$lt_status in
10172 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10173 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10174 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10177 # compilation failed
10178 lt_cv_dlopen_self
=no
10185 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10186 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10188 if test "x$lt_cv_dlopen_self" = xyes
; then
10189 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10190 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10191 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10192 if test "${lt_cv_dlopen_self_static+set}" = set; then
10193 echo $ECHO_N "(cached) $ECHO_C" >&6
10195 if test "$cross_compiling" = yes; then :
10196 lt_cv_dlopen_self_static
=cross
10198 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10199 lt_status
=$lt_dlunknown
10200 cat > conftest.
$ac_ext <<_LT_EOF
10201 #line 10201 "configure"
10202 #include "confdefs.h"
10211 # define LT_DLGLOBAL RTLD_GLOBAL
10214 # define LT_DLGLOBAL DL_GLOBAL
10216 # define LT_DLGLOBAL 0
10220 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10221 find out it does not work in some platform. */
10222 #ifndef LT_DLLAZY_OR_NOW
10224 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10227 # define LT_DLLAZY_OR_NOW DL_LAZY
10230 # define LT_DLLAZY_OR_NOW RTLD_NOW
10233 # define LT_DLLAZY_OR_NOW DL_NOW
10235 # define LT_DLLAZY_OR_NOW 0
10243 extern "C" void exit (int);
10246 void fnord() { int i=42;}
10249 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10250 int status = $lt_dlunknown;
10254 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10255 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10256 /* dlclose (self); */
10264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10265 (eval $ac_link) 2>&5
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10269 (.
/conftest
; exit; ) >&5 2>/dev
/null
10271 case x
$lt_status in
10272 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10273 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10274 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10277 # compilation failed
10278 lt_cv_dlopen_self_static
=no
10285 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10286 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10289 CPPFLAGS
="$save_CPPFLAGS"
10290 LDFLAGS
="$save_LDFLAGS"
10295 case $lt_cv_dlopen_self in
10296 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10297 *) enable_dlopen_self
=unknown
;;
10300 case $lt_cv_dlopen_self_static in
10301 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10302 *) enable_dlopen_self_static
=unknown
;;
10324 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10325 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10326 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10327 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10328 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10329 echo "$as_me:$LINENO: result: yes" >&5
10330 echo "${ECHO_T}yes" >&6
10332 # FIXME - insert some real tests, host_os isn't really good enough
10335 if test -n "$STRIP" ; then
10336 striplib
="$STRIP -x"
10337 old_striplib
="$STRIP -S"
10338 echo "$as_me:$LINENO: result: yes" >&5
10339 echo "${ECHO_T}yes" >&6
10341 echo "$as_me:$LINENO: result: no" >&5
10342 echo "${ECHO_T}no" >&6
10346 echo "$as_me:$LINENO: result: no" >&5
10347 echo "${ECHO_T}no" >&6
10363 # Report which library types will actually be built
10364 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10365 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10366 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10367 echo "${ECHO_T}$can_build_shared" >&6
10369 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10370 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10371 test "$can_build_shared" = "no" && enable_shared
=no
10373 # On AIX, shared libraries and static libraries use the same namespace, and
10374 # are all built from PIC.
10377 test "$enable_shared" = yes && enable_static
=no
10378 if test -n "$RANLIB"; then
10379 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10380 postinstall_cmds
='$RANLIB $lib'
10385 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10386 test "$enable_shared" = yes && enable_static
=no
10390 echo "$as_me:$LINENO: result: $enable_shared" >&5
10391 echo "${ECHO_T}$enable_shared" >&6
10393 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10394 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10395 # Make sure either enable_shared or enable_static is yes.
10396 test "$enable_shared" = yes || enable_static
=yes
10397 echo "$as_me:$LINENO: result: $enable_static" >&5
10398 echo "${ECHO_T}$enable_static" >&6
10405 ac_cpp
='$CPP $CPPFLAGS'
10406 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10407 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10408 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10424 ac_config_commands
="$ac_config_commands libtool"
10429 # Only expand once:
10433 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
10434 if test "${enable_64_bit_bfd+set}" = set; then
10435 enableval
="$enable_64_bit_bfd"
10436 case "${enableval}" in
10437 yes) want64
=true
;;
10438 no
) want64
=false
;;
10439 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
10440 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
10441 { (exit 1); exit 1; }; } ;;
10446 # Check whether --enable-targets or --disable-targets was given.
10447 if test "${enable_targets+set}" = set; then
10448 enableval
="$enable_targets"
10449 case "${enableval}" in
10450 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
10451 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
10452 { (exit 1); exit 1; }; }
10454 no
) enable_targets
= ;;
10455 *) enable_targets
=$enableval ;;
10458 # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
10459 if test "${enable_commonbfdlib+set}" = set; then
10460 enableval
="$enable_commonbfdlib"
10461 case "${enableval}" in
10462 yes) commonbfdlib
=true
;;
10463 no
) commonbfdlib
=false
;;
10464 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
10465 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
10466 { (exit 1); exit 1; }; } ;;
10470 # Check whether --with-mmap or --without-mmap was given.
10471 if test "${with_mmap+set}" = set; then
10472 withval
="$with_mmap"
10473 case "${withval}" in
10474 yes) want_mmap
=true
;;
10475 no
) want_mmap
=false
;;
10476 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
10477 echo "$as_me: error: bad value ${withval} for BFD with-mmap option" >&2;}
10478 { (exit 1); exit 1; }; } ;;
10483 # Check whether --enable-secureplt or --disable-secureplt was given.
10484 if test "${enable_secureplt+set}" = set; then
10485 enableval
="$enable_secureplt"
10486 case "${enableval}" in
10487 yes) use_secureplt
=true
;;
10488 no
) use_secureplt
=false
;;
10489 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for secureplt option" >&5
10490 echo "$as_me: error: bad value ${enableval} for secureplt option" >&2;}
10491 { (exit 1); exit 1; }; } ;;
10494 use_secureplt
=false
10495 fi; if test $use_secureplt = true
; then
10497 cat >>confdefs.h
<<\_ACEOF
10498 #define USE_SECUREPLT 1
10503 DEBUGDIR
=${libdir}/debug
10505 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
10506 if test "${with_separate_debug_dir+set}" = set; then
10507 withval
="$with_separate_debug_dir"
10508 DEBUGDIR
="${withval}"
10512 # Check to see if we should allow the generation of
10513 # symbols with the ELF standard's STT_COMMON type.
10514 # Check whether --enable-elf-stt-common or --disable-elf-stt-common was given.
10515 if test "${enable_elf_stt_common+set}" = set; then
10516 enableval
="$enable_elf_stt_common"
10517 case "${enableval}" in
10518 yes) want_elf_stt_common
=true
;;
10519 no
) want_elf_stt_common
=false
;;
10520 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for ELF STT_COMMON option" >&5
10521 echo "$as_me: error: bad value ${enableval} for ELF STT_COMMON option" >&2;}
10522 { (exit 1); exit 1; }; } ;;
10525 # We have to choose a default behaviour. For native builds we could
10526 # test whether the loader supports the STT_COMMON type, but that would
10527 # mean that built binaries could not be exported to older systems where
10528 # the loader does not support it. So by default we always choose to
10529 # disable this feature.
10530 want_elf_stt_common
=false
10531 fi; if test $want_elf_stt_common = true
; then
10533 cat >>confdefs.h
<<\_ACEOF
10534 #define USE_STT_COMMON 1
10541 # Check whether --with-pkgversion or --without-pkgversion was given.
10542 if test "${with_pkgversion+set}" = set; then
10543 withval
="$with_pkgversion"
10545 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
10546 echo "$as_me: error: package version not specified" >&2;}
10547 { (exit 1); exit 1; }; } ;;
10549 *) PKGVERSION
="($withval) " ;;
10552 PKGVERSION
="(GNU Binutils) "
10559 # Check whether --with-bugurl or --without-bugurl was given.
10560 if test "${with_bugurl+set}" = set; then
10561 withval
="$with_bugurl"
10563 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
10564 echo "$as_me: error: bug URL not specified" >&2;}
10565 { (exit 1); exit 1; }; } ;;
10568 *) BUGURL
="$withval"
10572 BUGURL
="http://www.sourceware.org/bugzilla/"
10581 REPORT_BUGS_TO
="<$BUGURL>"
10582 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
10590 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
10592 # Check whether --enable-werror or --disable-werror was given.
10593 if test "${enable_werror+set}" = set; then
10594 enableval
="$enable_werror"
10595 case "${enableval}" in
10596 yes | y
) ERROR_ON_WARNING
="yes" ;;
10597 no | n
) ERROR_ON_WARNING
="no" ;;
10598 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
10599 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
10600 { (exit 1); exit 1; }; } ;;
10604 # Enable -Wno-format by default when using gcc on mingw
10607 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
10608 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
10614 # Enable -Werror by default when using gcc
10615 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
10616 ERROR_ON_WARNING
=yes
10620 if test "${ERROR_ON_WARNING}" = yes ; then
10621 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
10622 NO_WERROR
="-Wno-error"
10625 if test "${GCC}" = yes ; then
10626 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
10629 # Check whether --enable-build-warnings or --disable-build-warnings was given.
10630 if test "${enable_build_warnings+set}" = set; then
10631 enableval
="$enable_build_warnings"
10632 case "${enableval}" in
10633 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
10634 no
) if test "${GCC}" = yes ; then
10637 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
10638 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
10639 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
10640 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
10641 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
10645 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
10646 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
10653 ac_config_headers
="$ac_config_headers config.h:config.in"
10656 if test -z "$target" ; then
10657 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
10658 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
10659 { (exit 1); exit 1; }; }
10662 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
10663 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
10664 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
10665 if test "${enable_maintainer_mode+set}" = set; then
10666 enableval
="$enable_maintainer_mode"
10667 USE_MAINTAINER_MODE
=$enableval
10669 USE_MAINTAINER_MODE
=no
10671 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
10672 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
10675 if test $USE_MAINTAINER_MODE = yes; then
10676 MAINTAINER_MODE_TRUE
=
10677 MAINTAINER_MODE_FALSE
='#'
10679 MAINTAINER_MODE_TRUE
='#'
10680 MAINTAINER_MODE_FALSE
=
10683 MAINT
=$MAINTAINER_MODE_TRUE
10689 GENINSRC_NEVER_TRUE
=
10690 GENINSRC_NEVER_FALSE
='#'
10692 GENINSRC_NEVER_TRUE
='#'
10693 GENINSRC_NEVER_FALSE
=
10696 case ${build_alias} in
10697 "") build_noncanonical
=${build} ;;
10698 *) build_noncanonical
=${build_alias} ;;
10701 case ${host_alias} in
10702 "") host_noncanonical
=${build_noncanonical} ;;
10703 *) host_noncanonical
=${host_alias} ;;
10706 case ${target_alias} in
10707 "") target_noncanonical
=${host_noncanonical} ;;
10708 *) target_noncanonical
=${target_alias} ;;
10711 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
10712 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
10713 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
10714 if test "${enable_install_libbfd+set}" = set; then
10715 enableval
="$enable_install_libbfd"
10716 install_libbfd_p
=$enableval
10718 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
10719 install_libbfd_p
=yes
10721 install_libbfd_p
=no
10724 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
10725 echo "${ECHO_T}$install_libbfd_p" >&6
10728 if test $install_libbfd_p = yes; then
10729 INSTALL_LIBBFD_TRUE
=
10730 INSTALL_LIBBFD_FALSE
='#'
10732 INSTALL_LIBBFD_TRUE
='#'
10733 INSTALL_LIBBFD_FALSE
=
10736 # Need _noncanonical variables for this.
10741 # libbfd.a is a host library containing target dependent code
10742 bfdlibdir
='$(libdir)'
10743 bfdincludedir
='$(includedir)'
10744 if test "${host}" != "${target}"; then
10745 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
10746 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
10756 bfd_default_target_size
=32
10760 ALL_LINGUAS
="fr tr ja es sv da zh_CN ro rw vi fi"
10761 # If we haven't got the data from the intl directory,
10762 # assume NLS is disabled.
10771 if test -f ..
/intl
/config.intl
; then
10772 . ..
/intl
/config.intl
10774 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10775 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10776 if test x
"$USE_NLS" != xyes
; then
10777 echo "$as_me:$LINENO: result: no" >&5
10778 echo "${ECHO_T}no" >&6
10780 echo "$as_me:$LINENO: result: yes" >&5
10781 echo "${ECHO_T}yes" >&6
10783 cat >>confdefs.h
<<\_ACEOF
10784 #define ENABLE_NLS 1
10788 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
10789 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
10790 # Look for .po and .gmo files in the source directory.
10793 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
10794 # If there aren't any .gmo files the shell will give us the
10795 # literal string "../path/to/srcdir/po/*.gmo" which has to be
10797 case "$cat" in *\
**)
10800 # The quadruple backslash is collapsed to a double backslash
10801 # by the backticks, then collapsed again by the double quotes,
10802 # leaving us with one backslash in the sed expression (right
10803 # before the dot that mustn't act as a wildcard).
10804 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
10805 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
10806 # The user is allowed to set LINGUAS to a list of languages to
10807 # install catalogs for. If it's empty that means "all of them."
10808 if test "x$LINGUAS" = x
; then
10809 CATALOGS
="$CATALOGS $cat"
10810 XLINGUAS
="$XLINGUAS $lang"
10812 case "$LINGUAS" in *$lang*)
10813 CATALOGS
="$CATALOGS $cat"
10814 XLINGUAS
="$XLINGUAS $lang"
10819 LINGUAS
="$XLINGUAS"
10820 echo "$as_me:$LINENO: result: $LINGUAS" >&5
10821 echo "${ECHO_T}$LINGUAS" >&6
10835 if test -n "$ac_aux_dir"; then
10836 case "$ac_aux_dir" in
10837 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
10838 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
10841 if test -z "$MKINSTALLDIRS"; then
10842 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
10847 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10848 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10849 # Check whether --enable-nls or --disable-nls was given.
10850 if test "${enable_nls+set}" = set; then
10851 enableval
="$enable_nls"
10856 echo "$as_me:$LINENO: result: $USE_NLS" >&5
10857 echo "${ECHO_T}$USE_NLS" >&6
10864 # Prepare PATH_SEPARATOR.
10865 # The user is always right.
10866 if test "${PATH_SEPARATOR+set}" != set; then
10867 echo "#! /bin/sh" >conf$$.sh
10868 echo "exit 0" >>conf$$.sh
10870 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10878 # Find out how to test for executable files. Don't use a zero-byte file,
10879 # as systems may use methods other than mode bits to determine executability.
10880 cat >conf$$.
file <<_ASEOF
10884 chmod +x conf$$.
file
10885 if test -x conf$$.
file >/dev
/null
2>&1; then
10886 ac_executable_p
="test -x"
10888 ac_executable_p
="test -f"
10892 # Extract the first word of "msgfmt", so it can be a program name with args.
10893 set dummy msgfmt
; ac_word
=$2
10894 echo "$as_me:$LINENO: checking for $ac_word" >&5
10895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10896 if test "${ac_cv_path_MSGFMT+set}" = set; then
10897 echo $ECHO_N "(cached) $ECHO_C" >&6
10901 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
10904 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
10905 for ac_dir
in $PATH; do
10907 test -z "$ac_dir" && ac_dir
=.
10908 for ac_exec_ext
in '' $ac_executable_extensions; do
10909 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10910 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
10911 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
10912 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
10919 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
10923 MSGFMT
="$ac_cv_path_MSGFMT"
10924 if test "$MSGFMT" != ":"; then
10925 echo "$as_me:$LINENO: result: $MSGFMT" >&5
10926 echo "${ECHO_T}$MSGFMT" >&6
10928 echo "$as_me:$LINENO: result: no" >&5
10929 echo "${ECHO_T}no" >&6
10932 # Extract the first word of "gmsgfmt", so it can be a program name with args.
10933 set dummy gmsgfmt
; ac_word
=$2
10934 echo "$as_me:$LINENO: checking for $ac_word" >&5
10935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10936 if test "${ac_cv_path_GMSGFMT+set}" = set; then
10937 echo $ECHO_N "(cached) $ECHO_C" >&6
10941 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
10944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10945 for as_dir
in $PATH
10948 test -z "$as_dir" && as_dir
=.
10949 for ac_exec_ext
in '' $ac_executable_extensions; do
10950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10951 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
10952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10958 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
10962 GMSGFMT
=$ac_cv_path_GMSGFMT
10964 if test -n "$GMSGFMT"; then
10965 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
10966 echo "${ECHO_T}$GMSGFMT" >&6
10968 echo "$as_me:$LINENO: result: no" >&5
10969 echo "${ECHO_T}no" >&6
10974 # Prepare PATH_SEPARATOR.
10975 # The user is always right.
10976 if test "${PATH_SEPARATOR+set}" != set; then
10977 echo "#! /bin/sh" >conf$$.sh
10978 echo "exit 0" >>conf$$.sh
10980 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10988 # Find out how to test for executable files. Don't use a zero-byte file,
10989 # as systems may use methods other than mode bits to determine executability.
10990 cat >conf$$.
file <<_ASEOF
10994 chmod +x conf$$.
file
10995 if test -x conf$$.
file >/dev
/null
2>&1; then
10996 ac_executable_p
="test -x"
10998 ac_executable_p
="test -f"
11002 # Extract the first word of "xgettext", so it can be a program name with args.
11003 set dummy xgettext
; ac_word
=$2
11004 echo "$as_me:$LINENO: checking for $ac_word" >&5
11005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11006 if test "${ac_cv_path_XGETTEXT+set}" = set; then
11007 echo $ECHO_N "(cached) $ECHO_C" >&6
11009 case "$XGETTEXT" in
11011 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11014 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11015 for ac_dir
in $PATH; do
11017 test -z "$ac_dir" && ac_dir
=.
11018 for ac_exec_ext
in '' $ac_executable_extensions; do
11019 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11020 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11021 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11022 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
11029 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11033 XGETTEXT
="$ac_cv_path_XGETTEXT"
11034 if test "$XGETTEXT" != ":"; then
11035 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
11036 echo "${ECHO_T}$XGETTEXT" >&6
11038 echo "$as_me:$LINENO: result: no" >&5
11039 echo "${ECHO_T}no" >&6
11045 # Prepare PATH_SEPARATOR.
11046 # The user is always right.
11047 if test "${PATH_SEPARATOR+set}" != set; then
11048 echo "#! /bin/sh" >conf$$.sh
11049 echo "exit 0" >>conf$$.sh
11051 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11059 # Find out how to test for executable files. Don't use a zero-byte file,
11060 # as systems may use methods other than mode bits to determine executability.
11061 cat >conf$$.
file <<_ASEOF
11065 chmod +x conf$$.
file
11066 if test -x conf$$.
file >/dev
/null
2>&1; then
11067 ac_executable_p
="test -x"
11069 ac_executable_p
="test -f"
11073 # Extract the first word of "msgmerge", so it can be a program name with args.
11074 set dummy msgmerge
; ac_word
=$2
11075 echo "$as_me:$LINENO: checking for $ac_word" >&5
11076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11077 if test "${ac_cv_path_MSGMERGE+set}" = set; then
11078 echo $ECHO_N "(cached) $ECHO_C" >&6
11080 case "$MSGMERGE" in
11082 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11085 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11086 for ac_dir
in $PATH; do
11088 test -z "$ac_dir" && ac_dir
=.
11089 for ac_exec_ext
in '' $ac_executable_extensions; do
11090 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11091 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11092 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
11099 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
11103 MSGMERGE
="$ac_cv_path_MSGMERGE"
11104 if test "$MSGMERGE" != ":"; then
11105 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
11106 echo "${ECHO_T}$MSGMERGE" >&6
11108 echo "$as_me:$LINENO: result: no" >&5
11109 echo "${ECHO_T}no" >&6
11113 if test "$GMSGFMT" != ":"; then
11114 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
11115 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11118 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11119 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11120 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
11125 if test "$XGETTEXT" != ":"; then
11126 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11127 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11130 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
11131 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
11137 ac_config_commands
="$ac_config_commands default-1"
11141 # Permit host specific settings.
11142 .
${srcdir}/configure.
host
11145 # Find a good install program. We prefer a C program (faster),
11146 # so one script is as good as another. But avoid the broken or
11147 # incompatible versions:
11148 # SysV /etc/install, /usr/sbin/install
11149 # SunOS /usr/etc/install
11150 # IRIX /sbin/install
11152 # AmigaOS /C/install, which installs bootblocks on floppy discs
11153 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11154 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11155 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11156 # OS/2's system install, which has a completely different semantic
11157 # ./install, which can be erroneously created by make from ./install.sh.
11158 # Reject install programs that cannot install multiple files.
11159 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11160 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11161 if test -z "$INSTALL"; then
11162 if test "${ac_cv_path_install+set}" = set; then
11163 echo $ECHO_N "(cached) $ECHO_C" >&6
11165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11166 for as_dir
in $PATH
11169 test -z "$as_dir" && as_dir
=.
11170 # Account for people who put trailing slashes in PATH elements.
11172 .
/ | .
// |
/cC
/* | \
11173 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
11174 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11177 # OSF1 and SCO ODT 3.0 have their own names for install.
11178 # Don't use installbsd from OSF since it installs stuff as root
11180 for ac_prog
in ginstall scoinst
install; do
11181 for ac_exec_ext
in '' $ac_executable_extensions; do
11182 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11183 if test $ac_prog = install &&
11184 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11185 # AIX install. It has an incompatible calling convention.
11187 elif test $ac_prog = install &&
11188 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11189 # program-specific install script used by HP pwplus--don't use.
11192 rm -rf conftest.one conftest.two conftest.dir
11193 echo one
> conftest.one
11194 echo two
> conftest.two
11196 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
11197 test -s conftest.one
&& test -s conftest.two
&&
11198 test -s conftest.dir
/conftest.one
&&
11199 test -s conftest.dir
/conftest.two
11201 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11212 rm -rf conftest.one conftest.two conftest.dir
11215 if test "${ac_cv_path_install+set}" = set; then
11216 INSTALL
=$ac_cv_path_install
11218 # As a last resort, use the slow shell script. Don't cache a
11219 # value for INSTALL within a source directory, because that will
11220 # break other packages using the cache if that directory is
11221 # removed, or if the value is a relative name.
11222 INSTALL
=$ac_install_sh
11225 echo "$as_me:$LINENO: result: $INSTALL" >&5
11226 echo "${ECHO_T}$INSTALL" >&6
11228 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11229 # It thinks the first close brace ends the variable substitution.
11230 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11232 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11234 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11237 BFD_HOST_64BIT_LONG
=0
11238 BFD_HOST_64BIT_LONG_LONG
=0
11239 BFD_HOST_64_BIT_DEFINED
=0
11242 BFD_HOSTPTR_T
="unsigned long"
11244 echo "$as_me:$LINENO: checking for long long" >&5
11245 echo $ECHO_N "checking for long long... $ECHO_C" >&6
11246 if test "${ac_cv_type_long_long+set}" = set; then
11247 echo $ECHO_N "(cached) $ECHO_C" >&6
11249 cat >conftest.
$ac_ext <<_ACEOF
11252 cat confdefs.h
>>conftest.
$ac_ext
11253 cat >>conftest.
$ac_ext <<_ACEOF
11254 /* end confdefs.h. */
11255 $ac_includes_default
11259 if ((long long *) 0)
11261 if (sizeof (long long))
11267 rm -f conftest.
$ac_objext
11268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11269 (eval $ac_compile) 2>conftest.er1
11271 grep -v '^ *+' conftest.er1
>conftest.err
11273 cat conftest.err
>&5
11274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11275 (exit $ac_status); } &&
11276 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11278 (eval $ac_try) 2>&5
11280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281 (exit $ac_status); }; } &&
11282 { ac_try
='test -s conftest.$ac_objext'
11283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11284 (eval $ac_try) 2>&5
11286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 (exit $ac_status); }; }; then
11288 ac_cv_type_long_long
=yes
11290 echo "$as_me: failed program was:" >&5
11291 sed 's/^/| /' conftest.
$ac_ext >&5
11293 ac_cv_type_long_long
=no
11295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11297 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
11298 echo "${ECHO_T}$ac_cv_type_long_long" >&6
11300 echo "$as_me:$LINENO: checking size of long long" >&5
11301 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
11302 if test "${ac_cv_sizeof_long_long+set}" = set; then
11303 echo $ECHO_N "(cached) $ECHO_C" >&6
11305 if test "$ac_cv_type_long_long" = yes; then
11306 # The cast to unsigned long works around a bug in the HP C Compiler
11307 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11308 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11309 # This bug is HP SR number 8606223364.
11310 if test "$cross_compiling" = yes; then
11311 # Depending upon the size, compute the lo and hi bounds.
11312 cat >conftest.
$ac_ext <<_ACEOF
11315 cat confdefs.h
>>conftest.
$ac_ext
11316 cat >>conftest.
$ac_ext <<_ACEOF
11317 /* end confdefs.h. */
11318 $ac_includes_default
11322 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
11329 rm -f conftest.
$ac_objext
11330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11331 (eval $ac_compile) 2>conftest.er1
11333 grep -v '^ *+' conftest.er1
>conftest.err
11335 cat conftest.err
>&5
11336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11337 (exit $ac_status); } &&
11338 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11340 (eval $ac_try) 2>&5
11342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11343 (exit $ac_status); }; } &&
11344 { ac_try
='test -s conftest.$ac_objext'
11345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11346 (eval $ac_try) 2>&5
11348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11349 (exit $ac_status); }; }; then
11352 cat >conftest.
$ac_ext <<_ACEOF
11355 cat confdefs.h
>>conftest.
$ac_ext
11356 cat >>conftest.
$ac_ext <<_ACEOF
11357 /* end confdefs.h. */
11358 $ac_includes_default
11362 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
11369 rm -f conftest.
$ac_objext
11370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11371 (eval $ac_compile) 2>conftest.er1
11373 grep -v '^ *+' conftest.er1
>conftest.err
11375 cat conftest.err
>&5
11376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11377 (exit $ac_status); } &&
11378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11380 (eval $ac_try) 2>&5
11382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11383 (exit $ac_status); }; } &&
11384 { ac_try
='test -s conftest.$ac_objext'
11385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11386 (eval $ac_try) 2>&5
11388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389 (exit $ac_status); }; }; then
11390 ac_hi
=$ac_mid; break
11392 echo "$as_me: failed program was:" >&5
11393 sed 's/^/| /' conftest.
$ac_ext >&5
11395 ac_lo
=`expr $ac_mid + 1`
11396 if test $ac_lo -le $ac_mid; then
11400 ac_mid
=`expr 2 '*' $ac_mid + 1`
11402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11405 echo "$as_me: failed program was:" >&5
11406 sed 's/^/| /' conftest.
$ac_ext >&5
11408 cat >conftest.
$ac_ext <<_ACEOF
11411 cat confdefs.h
>>conftest.
$ac_ext
11412 cat >>conftest.
$ac_ext <<_ACEOF
11413 /* end confdefs.h. */
11414 $ac_includes_default
11418 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
11425 rm -f conftest.
$ac_objext
11426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11427 (eval $ac_compile) 2>conftest.er1
11429 grep -v '^ *+' conftest.er1
>conftest.err
11431 cat conftest.err
>&5
11432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11433 (exit $ac_status); } &&
11434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11436 (eval $ac_try) 2>&5
11438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11439 (exit $ac_status); }; } &&
11440 { ac_try
='test -s conftest.$ac_objext'
11441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11442 (eval $ac_try) 2>&5
11444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445 (exit $ac_status); }; }; then
11448 cat >conftest.
$ac_ext <<_ACEOF
11451 cat confdefs.h
>>conftest.
$ac_ext
11452 cat >>conftest.
$ac_ext <<_ACEOF
11453 /* end confdefs.h. */
11454 $ac_includes_default
11458 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
11465 rm -f conftest.
$ac_objext
11466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11467 (eval $ac_compile) 2>conftest.er1
11469 grep -v '^ *+' conftest.er1
>conftest.err
11471 cat conftest.err
>&5
11472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11473 (exit $ac_status); } &&
11474 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11476 (eval $ac_try) 2>&5
11478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11479 (exit $ac_status); }; } &&
11480 { ac_try
='test -s conftest.$ac_objext'
11481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11482 (eval $ac_try) 2>&5
11484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11485 (exit $ac_status); }; }; then
11486 ac_lo
=$ac_mid; break
11488 echo "$as_me: failed program was:" >&5
11489 sed 's/^/| /' conftest.
$ac_ext >&5
11491 ac_hi
=`expr '(' $ac_mid ')' - 1`
11492 if test $ac_mid -le $ac_hi; then
11496 ac_mid
=`expr 2 '*' $ac_mid`
11498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11501 echo "$as_me: failed program was:" >&5
11502 sed 's/^/| /' conftest.
$ac_ext >&5
11506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11509 # Binary search between lo and hi bounds.
11510 while test "x$ac_lo" != "x$ac_hi"; do
11511 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11512 cat >conftest.
$ac_ext <<_ACEOF
11515 cat confdefs.h
>>conftest.
$ac_ext
11516 cat >>conftest.
$ac_ext <<_ACEOF
11517 /* end confdefs.h. */
11518 $ac_includes_default
11522 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
11529 rm -f conftest.
$ac_objext
11530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11531 (eval $ac_compile) 2>conftest.er1
11533 grep -v '^ *+' conftest.er1
>conftest.err
11535 cat conftest.err
>&5
11536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11537 (exit $ac_status); } &&
11538 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11540 (eval $ac_try) 2>&5
11542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11543 (exit $ac_status); }; } &&
11544 { ac_try
='test -s conftest.$ac_objext'
11545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11546 (eval $ac_try) 2>&5
11548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11549 (exit $ac_status); }; }; then
11552 echo "$as_me: failed program was:" >&5
11553 sed 's/^/| /' conftest.
$ac_ext >&5
11555 ac_lo
=`expr '(' $ac_mid ')' + 1`
11557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11560 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
11561 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
11562 See \`config.log' for more details." >&5
11563 echo "$as_me: error: cannot compute sizeof (long long), 77
11564 See \`config.log' for more details." >&2;}
11565 { (exit 1); exit 1; }; } ;;
11568 if test "$cross_compiling" = yes; then
11569 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
11570 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
11571 { (exit 1); exit 1; }; }
11573 cat >conftest.
$ac_ext <<_ACEOF
11576 cat confdefs.h
>>conftest.
$ac_ext
11577 cat >>conftest.
$ac_ext <<_ACEOF
11578 /* end confdefs.h. */
11579 $ac_includes_default
11580 long longval () { return (long) (sizeof (long long)); }
11581 unsigned long ulongval () { return (long) (sizeof (long long)); }
11583 #include <stdlib.h>
11588 FILE *f = fopen ("conftest.val", "w");
11591 if (((long) (sizeof (long long))) < 0)
11593 long i = longval ();
11594 if (i != ((long) (sizeof (long long))))
11596 fprintf (f, "%ld\n", i);
11600 unsigned long i = ulongval ();
11601 if (i != ((long) (sizeof (long long))))
11603 fprintf (f, "%lu\n", i);
11605 exit (ferror (f) || fclose (f) != 0);
11611 rm -f conftest
$ac_exeext
11612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11613 (eval $ac_link) 2>&5
11615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11616 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11618 (eval $ac_try) 2>&5
11620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621 (exit $ac_status); }; }; then
11622 ac_cv_sizeof_long_long
=`cat conftest.val`
11624 echo "$as_me: program exited with status $ac_status" >&5
11625 echo "$as_me: failed program was:" >&5
11626 sed 's/^/| /' conftest.
$ac_ext >&5
11628 ( exit $ac_status )
11629 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
11630 See \`config.log' for more details." >&5
11631 echo "$as_me: error: cannot compute sizeof (long long), 77
11632 See \`config.log' for more details." >&2;}
11633 { (exit 1); exit 1; }; }
11635 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11640 ac_cv_sizeof_long_long
=0
11643 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
11644 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
11645 cat >>confdefs.h
<<_ACEOF
11646 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
11650 echo "$as_me:$LINENO: checking for void *" >&5
11651 echo $ECHO_N "checking for void *... $ECHO_C" >&6
11652 if test "${ac_cv_type_void_p+set}" = set; then
11653 echo $ECHO_N "(cached) $ECHO_C" >&6
11655 cat >conftest.
$ac_ext <<_ACEOF
11658 cat confdefs.h
>>conftest.
$ac_ext
11659 cat >>conftest.
$ac_ext <<_ACEOF
11660 /* end confdefs.h. */
11661 $ac_includes_default
11667 if (sizeof (void *))
11673 rm -f conftest.
$ac_objext
11674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11675 (eval $ac_compile) 2>conftest.er1
11677 grep -v '^ *+' conftest.er1
>conftest.err
11679 cat conftest.err
>&5
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); } &&
11682 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11684 (eval $ac_try) 2>&5
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); }; } &&
11688 { ac_try
='test -s conftest.$ac_objext'
11689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11690 (eval $ac_try) 2>&5
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); }; }; then
11694 ac_cv_type_void_p
=yes
11696 echo "$as_me: failed program was:" >&5
11697 sed 's/^/| /' conftest.
$ac_ext >&5
11699 ac_cv_type_void_p
=no
11701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11703 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
11704 echo "${ECHO_T}$ac_cv_type_void_p" >&6
11706 echo "$as_me:$LINENO: checking size of void *" >&5
11707 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
11708 if test "${ac_cv_sizeof_void_p+set}" = set; then
11709 echo $ECHO_N "(cached) $ECHO_C" >&6
11711 if test "$ac_cv_type_void_p" = yes; then
11712 # The cast to unsigned long works around a bug in the HP C Compiler
11713 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11714 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11715 # This bug is HP SR number 8606223364.
11716 if test "$cross_compiling" = yes; then
11717 # Depending upon the size, compute the lo and hi bounds.
11718 cat >conftest.
$ac_ext <<_ACEOF
11721 cat confdefs.h
>>conftest.
$ac_ext
11722 cat >>conftest.
$ac_ext <<_ACEOF
11723 /* end confdefs.h. */
11724 $ac_includes_default
11728 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
11735 rm -f conftest.
$ac_objext
11736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11737 (eval $ac_compile) 2>conftest.er1
11739 grep -v '^ *+' conftest.er1
>conftest.err
11741 cat conftest.err
>&5
11742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11743 (exit $ac_status); } &&
11744 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11746 (eval $ac_try) 2>&5
11748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11749 (exit $ac_status); }; } &&
11750 { ac_try
='test -s conftest.$ac_objext'
11751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11752 (eval $ac_try) 2>&5
11754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755 (exit $ac_status); }; }; then
11758 cat >conftest.
$ac_ext <<_ACEOF
11761 cat confdefs.h
>>conftest.
$ac_ext
11762 cat >>conftest.
$ac_ext <<_ACEOF
11763 /* end confdefs.h. */
11764 $ac_includes_default
11768 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
11775 rm -f conftest.
$ac_objext
11776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11777 (eval $ac_compile) 2>conftest.er1
11779 grep -v '^ *+' conftest.er1
>conftest.err
11781 cat conftest.err
>&5
11782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783 (exit $ac_status); } &&
11784 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11786 (eval $ac_try) 2>&5
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); }; } &&
11790 { ac_try
='test -s conftest.$ac_objext'
11791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11792 (eval $ac_try) 2>&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); }; }; then
11796 ac_hi
=$ac_mid; break
11798 echo "$as_me: failed program was:" >&5
11799 sed 's/^/| /' conftest.
$ac_ext >&5
11801 ac_lo
=`expr $ac_mid + 1`
11802 if test $ac_lo -le $ac_mid; then
11806 ac_mid
=`expr 2 '*' $ac_mid + 1`
11808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11811 echo "$as_me: failed program was:" >&5
11812 sed 's/^/| /' conftest.
$ac_ext >&5
11814 cat >conftest.
$ac_ext <<_ACEOF
11817 cat confdefs.h
>>conftest.
$ac_ext
11818 cat >>conftest.
$ac_ext <<_ACEOF
11819 /* end confdefs.h. */
11820 $ac_includes_default
11824 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
11831 rm -f conftest.
$ac_objext
11832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11833 (eval $ac_compile) 2>conftest.er1
11835 grep -v '^ *+' conftest.er1
>conftest.err
11837 cat conftest.err
>&5
11838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11839 (exit $ac_status); } &&
11840 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11842 (eval $ac_try) 2>&5
11844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11845 (exit $ac_status); }; } &&
11846 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
11854 cat >conftest.
$ac_ext <<_ACEOF
11857 cat confdefs.h
>>conftest.
$ac_ext
11858 cat >>conftest.
$ac_ext <<_ACEOF
11859 /* end confdefs.h. */
11860 $ac_includes_default
11864 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
11871 rm -f conftest.
$ac_objext
11872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11873 (eval $ac_compile) 2>conftest.er1
11875 grep -v '^ *+' conftest.er1
>conftest.err
11877 cat conftest.err
>&5
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); } &&
11880 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11882 (eval $ac_try) 2>&5
11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); }; } &&
11886 { ac_try
='test -s conftest.$ac_objext'
11887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11888 (eval $ac_try) 2>&5
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); }; }; then
11892 ac_lo
=$ac_mid; break
11894 echo "$as_me: failed program was:" >&5
11895 sed 's/^/| /' conftest.
$ac_ext >&5
11897 ac_hi
=`expr '(' $ac_mid ')' - 1`
11898 if test $ac_mid -le $ac_hi; then
11902 ac_mid
=`expr 2 '*' $ac_mid`
11904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11907 echo "$as_me: failed program was:" >&5
11908 sed 's/^/| /' conftest.
$ac_ext >&5
11912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11915 # Binary search between lo and hi bounds.
11916 while test "x$ac_lo" != "x$ac_hi"; do
11917 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11918 cat >conftest.
$ac_ext <<_ACEOF
11921 cat confdefs.h
>>conftest.
$ac_ext
11922 cat >>conftest.
$ac_ext <<_ACEOF
11923 /* end confdefs.h. */
11924 $ac_includes_default
11928 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
11935 rm -f conftest.
$ac_objext
11936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11937 (eval $ac_compile) 2>conftest.er1
11939 grep -v '^ *+' conftest.er1
>conftest.err
11941 cat conftest.err
>&5
11942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11943 (exit $ac_status); } &&
11944 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11946 (eval $ac_try) 2>&5
11948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949 (exit $ac_status); }; } &&
11950 { ac_try
='test -s conftest.$ac_objext'
11951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11952 (eval $ac_try) 2>&5
11954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955 (exit $ac_status); }; }; then
11958 echo "$as_me: failed program was:" >&5
11959 sed 's/^/| /' conftest.
$ac_ext >&5
11961 ac_lo
=`expr '(' $ac_mid ')' + 1`
11963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11966 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
11967 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
11968 See \`config.log' for more details." >&5
11969 echo "$as_me: error: cannot compute sizeof (void *), 77
11970 See \`config.log' for more details." >&2;}
11971 { (exit 1); exit 1; }; } ;;
11974 if test "$cross_compiling" = yes; then
11975 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
11976 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
11977 { (exit 1); exit 1; }; }
11979 cat >conftest.
$ac_ext <<_ACEOF
11982 cat confdefs.h
>>conftest.
$ac_ext
11983 cat >>conftest.
$ac_ext <<_ACEOF
11984 /* end confdefs.h. */
11985 $ac_includes_default
11986 long longval () { return (long) (sizeof (void *)); }
11987 unsigned long ulongval () { return (long) (sizeof (void *)); }
11989 #include <stdlib.h>
11994 FILE *f = fopen ("conftest.val", "w");
11997 if (((long) (sizeof (void *))) < 0)
11999 long i = longval ();
12000 if (i != ((long) (sizeof (void *))))
12002 fprintf (f, "%ld\n", i);
12006 unsigned long i = ulongval ();
12007 if (i != ((long) (sizeof (void *))))
12009 fprintf (f, "%lu\n", i);
12011 exit (ferror (f) || fclose (f) != 0);
12017 rm -f conftest
$ac_exeext
12018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12019 (eval $ac_link) 2>&5
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12024 (eval $ac_try) 2>&5
12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); }; }; then
12028 ac_cv_sizeof_void_p
=`cat conftest.val`
12030 echo "$as_me: program exited with status $ac_status" >&5
12031 echo "$as_me: failed program was:" >&5
12032 sed 's/^/| /' conftest.
$ac_ext >&5
12034 ( exit $ac_status )
12035 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
12036 See \`config.log' for more details." >&5
12037 echo "$as_me: error: cannot compute sizeof (void *), 77
12038 See \`config.log' for more details." >&2;}
12039 { (exit 1); exit 1; }; }
12041 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12046 ac_cv_sizeof_void_p
=0
12049 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
12050 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
12051 cat >>confdefs.h
<<_ACEOF
12052 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
12056 echo "$as_me:$LINENO: checking for long" >&5
12057 echo $ECHO_N "checking for long... $ECHO_C" >&6
12058 if test "${ac_cv_type_long+set}" = set; then
12059 echo $ECHO_N "(cached) $ECHO_C" >&6
12061 cat >conftest.
$ac_ext <<_ACEOF
12064 cat confdefs.h
>>conftest.
$ac_ext
12065 cat >>conftest.
$ac_ext <<_ACEOF
12066 /* end confdefs.h. */
12067 $ac_includes_default
12079 rm -f conftest.
$ac_objext
12080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12081 (eval $ac_compile) 2>conftest.er1
12083 grep -v '^ *+' conftest.er1
>conftest.err
12085 cat conftest.err
>&5
12086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087 (exit $ac_status); } &&
12088 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12090 (eval $ac_try) 2>&5
12092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12093 (exit $ac_status); }; } &&
12094 { ac_try
='test -s conftest.$ac_objext'
12095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12096 (eval $ac_try) 2>&5
12098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099 (exit $ac_status); }; }; then
12100 ac_cv_type_long
=yes
12102 echo "$as_me: failed program was:" >&5
12103 sed 's/^/| /' conftest.
$ac_ext >&5
12107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12109 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
12110 echo "${ECHO_T}$ac_cv_type_long" >&6
12112 echo "$as_me:$LINENO: checking size of long" >&5
12113 echo $ECHO_N "checking size of long... $ECHO_C" >&6
12114 if test "${ac_cv_sizeof_long+set}" = set; then
12115 echo $ECHO_N "(cached) $ECHO_C" >&6
12117 if test "$ac_cv_type_long" = yes; then
12118 # The cast to unsigned long works around a bug in the HP C Compiler
12119 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12120 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12121 # This bug is HP SR number 8606223364.
12122 if test "$cross_compiling" = yes; then
12123 # Depending upon the size, compute the lo and hi bounds.
12124 cat >conftest.
$ac_ext <<_ACEOF
12127 cat confdefs.h
>>conftest.
$ac_ext
12128 cat >>conftest.
$ac_ext <<_ACEOF
12129 /* end confdefs.h. */
12130 $ac_includes_default
12134 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
12141 rm -f conftest.
$ac_objext
12142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12143 (eval $ac_compile) 2>conftest.er1
12145 grep -v '^ *+' conftest.er1
>conftest.err
12147 cat conftest.err
>&5
12148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149 (exit $ac_status); } &&
12150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12152 (eval $ac_try) 2>&5
12154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12155 (exit $ac_status); }; } &&
12156 { ac_try
='test -s conftest.$ac_objext'
12157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12158 (eval $ac_try) 2>&5
12160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12161 (exit $ac_status); }; }; then
12164 cat >conftest.
$ac_ext <<_ACEOF
12167 cat confdefs.h
>>conftest.
$ac_ext
12168 cat >>conftest.
$ac_ext <<_ACEOF
12169 /* end confdefs.h. */
12170 $ac_includes_default
12174 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12181 rm -f conftest.
$ac_objext
12182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12183 (eval $ac_compile) 2>conftest.er1
12185 grep -v '^ *+' conftest.er1
>conftest.err
12187 cat conftest.err
>&5
12188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 (exit $ac_status); } &&
12190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12192 (eval $ac_try) 2>&5
12194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12195 (exit $ac_status); }; } &&
12196 { ac_try
='test -s conftest.$ac_objext'
12197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12198 (eval $ac_try) 2>&5
12200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201 (exit $ac_status); }; }; then
12202 ac_hi
=$ac_mid; break
12204 echo "$as_me: failed program was:" >&5
12205 sed 's/^/| /' conftest.
$ac_ext >&5
12207 ac_lo
=`expr $ac_mid + 1`
12208 if test $ac_lo -le $ac_mid; then
12212 ac_mid
=`expr 2 '*' $ac_mid + 1`
12214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12217 echo "$as_me: failed program was:" >&5
12218 sed 's/^/| /' conftest.
$ac_ext >&5
12220 cat >conftest.
$ac_ext <<_ACEOF
12223 cat confdefs.h
>>conftest.
$ac_ext
12224 cat >>conftest.
$ac_ext <<_ACEOF
12225 /* end confdefs.h. */
12226 $ac_includes_default
12230 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
12237 rm -f conftest.
$ac_objext
12238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12239 (eval $ac_compile) 2>conftest.er1
12241 grep -v '^ *+' conftest.er1
>conftest.err
12243 cat conftest.err
>&5
12244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12245 (exit $ac_status); } &&
12246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12248 (eval $ac_try) 2>&5
12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251 (exit $ac_status); }; } &&
12252 { ac_try
='test -s conftest.$ac_objext'
12253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12254 (eval $ac_try) 2>&5
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); }; }; then
12260 cat >conftest.
$ac_ext <<_ACEOF
12263 cat confdefs.h
>>conftest.
$ac_ext
12264 cat >>conftest.
$ac_ext <<_ACEOF
12265 /* end confdefs.h. */
12266 $ac_includes_default
12270 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
12277 rm -f conftest.
$ac_objext
12278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12279 (eval $ac_compile) 2>conftest.er1
12281 grep -v '^ *+' conftest.er1
>conftest.err
12283 cat conftest.err
>&5
12284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12285 (exit $ac_status); } &&
12286 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12288 (eval $ac_try) 2>&5
12290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12291 (exit $ac_status); }; } &&
12292 { ac_try
='test -s conftest.$ac_objext'
12293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12294 (eval $ac_try) 2>&5
12296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12297 (exit $ac_status); }; }; then
12298 ac_lo
=$ac_mid; break
12300 echo "$as_me: failed program was:" >&5
12301 sed 's/^/| /' conftest.
$ac_ext >&5
12303 ac_hi
=`expr '(' $ac_mid ')' - 1`
12304 if test $ac_mid -le $ac_hi; then
12308 ac_mid
=`expr 2 '*' $ac_mid`
12310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12313 echo "$as_me: failed program was:" >&5
12314 sed 's/^/| /' conftest.
$ac_ext >&5
12318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12321 # Binary search between lo and hi bounds.
12322 while test "x$ac_lo" != "x$ac_hi"; do
12323 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12324 cat >conftest.
$ac_ext <<_ACEOF
12327 cat confdefs.h
>>conftest.
$ac_ext
12328 cat >>conftest.
$ac_ext <<_ACEOF
12329 /* end confdefs.h. */
12330 $ac_includes_default
12334 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12341 rm -f conftest.
$ac_objext
12342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12343 (eval $ac_compile) 2>conftest.er1
12345 grep -v '^ *+' conftest.er1
>conftest.err
12347 cat conftest.err
>&5
12348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 (exit $ac_status); } &&
12350 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12352 (eval $ac_try) 2>&5
12354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12355 (exit $ac_status); }; } &&
12356 { ac_try
='test -s conftest.$ac_objext'
12357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12358 (eval $ac_try) 2>&5
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); }; }; then
12364 echo "$as_me: failed program was:" >&5
12365 sed 's/^/| /' conftest.
$ac_ext >&5
12367 ac_lo
=`expr '(' $ac_mid ')' + 1`
12369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12372 ?
*) ac_cv_sizeof_long
=$ac_lo;;
12373 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12374 See \`config.log' for more details." >&5
12375 echo "$as_me: error: cannot compute sizeof (long), 77
12376 See \`config.log' for more details." >&2;}
12377 { (exit 1); exit 1; }; } ;;
12380 if test "$cross_compiling" = yes; then
12381 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
12382 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
12383 { (exit 1); exit 1; }; }
12385 cat >conftest.
$ac_ext <<_ACEOF
12388 cat confdefs.h
>>conftest.
$ac_ext
12389 cat >>conftest.
$ac_ext <<_ACEOF
12390 /* end confdefs.h. */
12391 $ac_includes_default
12392 long longval () { return (long) (sizeof (long)); }
12393 unsigned long ulongval () { return (long) (sizeof (long)); }
12395 #include <stdlib.h>
12400 FILE *f = fopen ("conftest.val", "w");
12403 if (((long) (sizeof (long))) < 0)
12405 long i = longval ();
12406 if (i != ((long) (sizeof (long))))
12408 fprintf (f, "%ld\n", i);
12412 unsigned long i = ulongval ();
12413 if (i != ((long) (sizeof (long))))
12415 fprintf (f, "%lu\n", i);
12417 exit (ferror (f) || fclose (f) != 0);
12423 rm -f conftest
$ac_exeext
12424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12425 (eval $ac_link) 2>&5
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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 ac_cv_sizeof_long
=`cat conftest.val`
12436 echo "$as_me: program exited with status $ac_status" >&5
12437 echo "$as_me: failed program was:" >&5
12438 sed 's/^/| /' conftest.
$ac_ext >&5
12440 ( exit $ac_status )
12441 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12442 See \`config.log' for more details." >&5
12443 echo "$as_me: error: cannot compute sizeof (long), 77
12444 See \`config.log' for more details." >&2;}
12445 { (exit 1); exit 1; }; }
12447 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12452 ac_cv_sizeof_long
=0
12455 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
12456 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
12457 cat >>confdefs.h
<<_ACEOF
12458 #define SIZEOF_LONG $ac_cv_sizeof_long
12463 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
12467 if test "x${ac_cv_sizeof_long}" = "x8"; then
12468 BFD_HOST_64BIT_LONG
=1
12469 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long"
12470 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long"
12471 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
12472 BFD_HOST_64BIT_LONG_LONG
=1
12473 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long long"
12474 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long long"
12475 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
12476 BFD_HOSTPTR_T
="unsigned long long"
12480 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
12481 BFD_HOST_64_BIT_DEFINED
=1
12482 BFD_HOST_64_BIT
="${HOST_64BIT_TYPE}"
12483 BFD_HOST_U_64_BIT
="${HOST_U_64BIT_TYPE}"
12493 # Put a plausible default for CC_FOR_BUILD in Makefile.
12494 if test -z "$CC_FOR_BUILD"; then
12495 if test "x$cross_compiling" = "xno"; then
12496 CC_FOR_BUILD
='$(CC)'
12502 # Also set EXEEXT_FOR_BUILD.
12503 if test "x$cross_compiling" = "xno"; then
12504 EXEEXT_FOR_BUILD
='$(EXEEXT)'
12506 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
12507 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
12508 if test "${bfd_cv_build_exeext+set}" = set; then
12509 echo $ECHO_N "(cached) $ECHO_C" >&6
12512 echo 'int main () { return 0; }' > conftest.c
12513 bfd_cv_build_exeext
=
12514 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
12515 for file in conftest.
*; do
12517 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
12518 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
12522 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
12524 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
12525 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
12526 EXEEXT_FOR_BUILD
=""
12527 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
12538 for ac_header
in alloca.h stddef.h string.h
strings.h stdlib.h
time.h unistd.h
12540 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12542 echo "$as_me:$LINENO: checking for $ac_header" >&5
12543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12545 echo $ECHO_N "(cached) $ECHO_C" >&6
12547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12550 # Is the header compilable?
12551 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12552 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12553 cat >conftest.
$ac_ext <<_ACEOF
12556 cat confdefs.h
>>conftest.
$ac_ext
12557 cat >>conftest.
$ac_ext <<_ACEOF
12558 /* end confdefs.h. */
12559 $ac_includes_default
12560 #include <$ac_header>
12562 rm -f conftest.
$ac_objext
12563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12564 (eval $ac_compile) 2>conftest.er1
12566 grep -v '^ *+' conftest.er1
>conftest.err
12568 cat conftest.err
>&5
12569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12570 (exit $ac_status); } &&
12571 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12573 (eval $ac_try) 2>&5
12575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12576 (exit $ac_status); }; } &&
12577 { ac_try
='test -s conftest.$ac_objext'
12578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12579 (eval $ac_try) 2>&5
12581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12582 (exit $ac_status); }; }; then
12583 ac_header_compiler
=yes
12585 echo "$as_me: failed program was:" >&5
12586 sed 's/^/| /' conftest.
$ac_ext >&5
12588 ac_header_compiler
=no
12590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12591 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12592 echo "${ECHO_T}$ac_header_compiler" >&6
12594 # Is the header present?
12595 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12596 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12597 cat >conftest.
$ac_ext <<_ACEOF
12600 cat confdefs.h
>>conftest.
$ac_ext
12601 cat >>conftest.
$ac_ext <<_ACEOF
12602 /* end confdefs.h. */
12603 #include <$ac_header>
12605 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12606 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12608 grep -v '^ *+' conftest.er1
>conftest.err
12610 cat conftest.err
>&5
12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12612 (exit $ac_status); } >/dev
/null
; then
12613 if test -s conftest.err
; then
12614 ac_cpp_err
=$ac_c_preproc_warn_flag
12615 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12622 if test -z "$ac_cpp_err"; then
12623 ac_header_preproc
=yes
12625 echo "$as_me: failed program was:" >&5
12626 sed 's/^/| /' conftest.
$ac_ext >&5
12628 ac_header_preproc
=no
12630 rm -f conftest.err conftest.
$ac_ext
12631 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12632 echo "${ECHO_T}$ac_header_preproc" >&6
12634 # So? What about this header?
12635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12637 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12638 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12639 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12640 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12641 ac_header_preproc
=yes
12644 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12645 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12646 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12647 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12648 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12649 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12650 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12651 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12652 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12653 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12654 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12655 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12658 ## ------------------------------------------ ##
12659 ## Report this to the AC_PACKAGE_NAME lists. ##
12660 ## ------------------------------------------ ##
12663 sed "s/^/$as_me: WARNING: /" >&2
12666 echo "$as_me:$LINENO: checking for $ac_header" >&5
12667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12669 echo $ECHO_N "(cached) $ECHO_C" >&6
12671 eval "$as_ac_Header=\$ac_header_preproc"
12673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12674 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12677 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12678 cat >>confdefs.h
<<_ACEOF
12679 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12689 for ac_header
in fcntl.h sys
/file.h sys
/time.h
12691 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12693 echo "$as_me:$LINENO: checking for $ac_header" >&5
12694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12696 echo $ECHO_N "(cached) $ECHO_C" >&6
12698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12699 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12701 # Is the header compilable?
12702 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12703 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12704 cat >conftest.
$ac_ext <<_ACEOF
12707 cat confdefs.h
>>conftest.
$ac_ext
12708 cat >>conftest.
$ac_ext <<_ACEOF
12709 /* end confdefs.h. */
12710 $ac_includes_default
12711 #include <$ac_header>
12713 rm -f conftest.
$ac_objext
12714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12715 (eval $ac_compile) 2>conftest.er1
12717 grep -v '^ *+' conftest.er1
>conftest.err
12719 cat conftest.err
>&5
12720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12721 (exit $ac_status); } &&
12722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12724 (eval $ac_try) 2>&5
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); }; } &&
12728 { ac_try
='test -s conftest.$ac_objext'
12729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12730 (eval $ac_try) 2>&5
12732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733 (exit $ac_status); }; }; then
12734 ac_header_compiler
=yes
12736 echo "$as_me: failed program was:" >&5
12737 sed 's/^/| /' conftest.
$ac_ext >&5
12739 ac_header_compiler
=no
12741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12742 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12743 echo "${ECHO_T}$ac_header_compiler" >&6
12745 # Is the header present?
12746 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12747 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12748 cat >conftest.
$ac_ext <<_ACEOF
12751 cat confdefs.h
>>conftest.
$ac_ext
12752 cat >>conftest.
$ac_ext <<_ACEOF
12753 /* end confdefs.h. */
12754 #include <$ac_header>
12756 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12757 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12759 grep -v '^ *+' conftest.er1
>conftest.err
12761 cat conftest.err
>&5
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); } >/dev
/null
; then
12764 if test -s conftest.err
; then
12765 ac_cpp_err
=$ac_c_preproc_warn_flag
12766 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12773 if test -z "$ac_cpp_err"; then
12774 ac_header_preproc
=yes
12776 echo "$as_me: failed program was:" >&5
12777 sed 's/^/| /' conftest.
$ac_ext >&5
12779 ac_header_preproc
=no
12781 rm -f conftest.err conftest.
$ac_ext
12782 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12783 echo "${ECHO_T}$ac_header_preproc" >&6
12785 # So? What about this header?
12786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12788 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12789 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12791 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12792 ac_header_preproc
=yes
12795 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12796 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12797 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12798 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12799 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12800 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12801 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12802 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12803 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12804 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12805 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12806 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12809 ## ------------------------------------------ ##
12810 ## Report this to the AC_PACKAGE_NAME lists. ##
12811 ## ------------------------------------------ ##
12814 sed "s/^/$as_me: WARNING: /" >&2
12817 echo "$as_me:$LINENO: checking for $ac_header" >&5
12818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12820 echo $ECHO_N "(cached) $ECHO_C" >&6
12822 eval "$as_ac_Header=\$ac_header_preproc"
12824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12829 cat >>confdefs.h
<<_ACEOF
12830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12839 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
12841 acx_cv_header_stdint
=stddef.h
12842 acx_cv_header_stdint_kind
="(already complete)"
12843 for i
in stdint.h
$inttype_headers; do
12844 unset ac_cv_type_uintptr_t
12845 unset ac_cv_type_uintmax_t
12846 unset ac_cv_type_int_least32_t
12847 unset ac_cv_type_int_fast32_t
12848 unset ac_cv_type_uint64_t
12849 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
12850 echo "$as_me:$LINENO: checking for uintmax_t" >&5
12851 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
12852 if test "${ac_cv_type_uintmax_t+set}" = set; then
12853 echo $ECHO_N "(cached) $ECHO_C" >&6
12855 cat >conftest.
$ac_ext <<_ACEOF
12858 cat confdefs.h
>>conftest.
$ac_ext
12859 cat >>conftest.
$ac_ext <<_ACEOF
12860 /* end confdefs.h. */
12861 #include <sys/types.h>
12867 if ((uintmax_t *) 0)
12869 if (sizeof (uintmax_t))
12875 rm -f conftest.
$ac_objext
12876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12877 (eval $ac_compile) 2>conftest.er1
12879 grep -v '^ *+' conftest.er1
>conftest.err
12881 cat conftest.err
>&5
12882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12883 (exit $ac_status); } &&
12884 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12886 (eval $ac_try) 2>&5
12888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12889 (exit $ac_status); }; } &&
12890 { ac_try
='test -s conftest.$ac_objext'
12891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12892 (eval $ac_try) 2>&5
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); }; }; then
12896 ac_cv_type_uintmax_t
=yes
12898 echo "$as_me: failed program was:" >&5
12899 sed 's/^/| /' conftest.
$ac_ext >&5
12901 ac_cv_type_uintmax_t
=no
12903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12905 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
12906 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
12907 if test $ac_cv_type_uintmax_t = yes; then
12908 acx_cv_header_stdint
=$i
12913 echo "$as_me:$LINENO: checking for uintptr_t" >&5
12914 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
12915 if test "${ac_cv_type_uintptr_t+set}" = set; then
12916 echo $ECHO_N "(cached) $ECHO_C" >&6
12918 cat >conftest.
$ac_ext <<_ACEOF
12921 cat confdefs.h
>>conftest.
$ac_ext
12922 cat >>conftest.
$ac_ext <<_ACEOF
12923 /* end confdefs.h. */
12924 #include <sys/types.h>
12930 if ((uintptr_t *) 0)
12932 if (sizeof (uintptr_t))
12938 rm -f conftest.
$ac_objext
12939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12940 (eval $ac_compile) 2>conftest.er1
12942 grep -v '^ *+' conftest.er1
>conftest.err
12944 cat conftest.err
>&5
12945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12946 (exit $ac_status); } &&
12947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12949 (eval $ac_try) 2>&5
12951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12952 (exit $ac_status); }; } &&
12953 { ac_try
='test -s conftest.$ac_objext'
12954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12955 (eval $ac_try) 2>&5
12957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12958 (exit $ac_status); }; }; then
12959 ac_cv_type_uintptr_t
=yes
12961 echo "$as_me: failed program was:" >&5
12962 sed 's/^/| /' conftest.
$ac_ext >&5
12964 ac_cv_type_uintptr_t
=no
12966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12968 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
12969 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
12970 if test $ac_cv_type_uintptr_t = yes; then
12973 acx_cv_header_stdint_kind
="(mostly complete)"
12976 echo "$as_me:$LINENO: checking for int_least32_t" >&5
12977 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
12978 if test "${ac_cv_type_int_least32_t+set}" = set; then
12979 echo $ECHO_N "(cached) $ECHO_C" >&6
12981 cat >conftest.
$ac_ext <<_ACEOF
12984 cat confdefs.h
>>conftest.
$ac_ext
12985 cat >>conftest.
$ac_ext <<_ACEOF
12986 /* end confdefs.h. */
12987 #include <sys/types.h>
12993 if ((int_least32_t *) 0)
12995 if (sizeof (int_least32_t))
13001 rm -f conftest.
$ac_objext
13002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13003 (eval $ac_compile) 2>conftest.er1
13005 grep -v '^ *+' conftest.er1
>conftest.err
13007 cat conftest.err
>&5
13008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13009 (exit $ac_status); } &&
13010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13012 (eval $ac_try) 2>&5
13014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13015 (exit $ac_status); }; } &&
13016 { ac_try
='test -s conftest.$ac_objext'
13017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13018 (eval $ac_try) 2>&5
13020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13021 (exit $ac_status); }; }; then
13022 ac_cv_type_int_least32_t
=yes
13024 echo "$as_me: failed program was:" >&5
13025 sed 's/^/| /' conftest.
$ac_ext >&5
13027 ac_cv_type_int_least32_t
=no
13029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13031 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
13032 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
13033 if test $ac_cv_type_int_least32_t = yes; then
13036 acx_cv_header_stdint_kind
="(mostly complete)"
13039 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
13040 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
13041 if test "${ac_cv_type_int_fast32_t+set}" = set; then
13042 echo $ECHO_N "(cached) $ECHO_C" >&6
13044 cat >conftest.
$ac_ext <<_ACEOF
13047 cat confdefs.h
>>conftest.
$ac_ext
13048 cat >>conftest.
$ac_ext <<_ACEOF
13049 /* end confdefs.h. */
13050 #include <sys/types.h>
13056 if ((int_fast32_t *) 0)
13058 if (sizeof (int_fast32_t))
13064 rm -f conftest.
$ac_objext
13065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13066 (eval $ac_compile) 2>conftest.er1
13068 grep -v '^ *+' conftest.er1
>conftest.err
13070 cat conftest.err
>&5
13071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072 (exit $ac_status); } &&
13073 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13075 (eval $ac_try) 2>&5
13077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13078 (exit $ac_status); }; } &&
13079 { ac_try
='test -s conftest.$ac_objext'
13080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13081 (eval $ac_try) 2>&5
13083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084 (exit $ac_status); }; }; then
13085 ac_cv_type_int_fast32_t
=yes
13087 echo "$as_me: failed program was:" >&5
13088 sed 's/^/| /' conftest.
$ac_ext >&5
13090 ac_cv_type_int_fast32_t
=no
13092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13094 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
13095 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
13096 if test $ac_cv_type_int_fast32_t = yes; then
13099 acx_cv_header_stdint_kind
="(mostly complete)"
13102 echo "$as_me:$LINENO: checking for uint64_t" >&5
13103 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
13104 if test "${ac_cv_type_uint64_t+set}" = set; then
13105 echo $ECHO_N "(cached) $ECHO_C" >&6
13107 cat >conftest.
$ac_ext <<_ACEOF
13110 cat confdefs.h
>>conftest.
$ac_ext
13111 cat >>conftest.
$ac_ext <<_ACEOF
13112 /* end confdefs.h. */
13113 #include <sys/types.h>
13119 if ((uint64_t *) 0)
13121 if (sizeof (uint64_t))
13127 rm -f conftest.
$ac_objext
13128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13129 (eval $ac_compile) 2>conftest.er1
13131 grep -v '^ *+' conftest.er1
>conftest.err
13133 cat conftest.err
>&5
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); } &&
13136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13138 (eval $ac_try) 2>&5
13140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13141 (exit $ac_status); }; } &&
13142 { ac_try
='test -s conftest.$ac_objext'
13143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13144 (eval $ac_try) 2>&5
13146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 (exit $ac_status); }; }; then
13148 ac_cv_type_uint64_t
=yes
13150 echo "$as_me: failed program was:" >&5
13151 sed 's/^/| /' conftest.
$ac_ext >&5
13153 ac_cv_type_uint64_t
=no
13155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13157 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
13158 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
13159 if test $ac_cv_type_uint64_t = yes; then
13162 acx_cv_header_stdint_kind
="(lacks uint64_t)"
13167 if test "$acx_cv_header_stdint" = stddef.h
; then
13168 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
13169 for i
in stdint.h
$inttype_headers; do
13170 unset ac_cv_type_uintptr_t
13171 unset ac_cv_type_uint32_t
13172 unset ac_cv_type_uint64_t
13173 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
13174 echo "$as_me:$LINENO: checking for uint32_t" >&5
13175 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
13176 if test "${ac_cv_type_uint32_t+set}" = set; then
13177 echo $ECHO_N "(cached) $ECHO_C" >&6
13179 cat >conftest.
$ac_ext <<_ACEOF
13182 cat confdefs.h
>>conftest.
$ac_ext
13183 cat >>conftest.
$ac_ext <<_ACEOF
13184 /* end confdefs.h. */
13185 #include <sys/types.h>
13191 if ((uint32_t *) 0)
13193 if (sizeof (uint32_t))
13199 rm -f conftest.
$ac_objext
13200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13201 (eval $ac_compile) 2>conftest.er1
13203 grep -v '^ *+' conftest.er1
>conftest.err
13205 cat conftest.err
>&5
13206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13207 (exit $ac_status); } &&
13208 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13210 (eval $ac_try) 2>&5
13212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13213 (exit $ac_status); }; } &&
13214 { ac_try
='test -s conftest.$ac_objext'
13215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13216 (eval $ac_try) 2>&5
13218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 (exit $ac_status); }; }; then
13220 ac_cv_type_uint32_t
=yes
13222 echo "$as_me: failed program was:" >&5
13223 sed 's/^/| /' conftest.
$ac_ext >&5
13225 ac_cv_type_uint32_t
=no
13227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13229 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
13230 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
13231 if test $ac_cv_type_uint32_t = yes; then
13232 acx_cv_header_stdint
=$i
13237 echo "$as_me:$LINENO: checking for uint64_t" >&5
13238 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
13239 if test "${ac_cv_type_uint64_t+set}" = set; then
13240 echo $ECHO_N "(cached) $ECHO_C" >&6
13242 cat >conftest.
$ac_ext <<_ACEOF
13245 cat confdefs.h
>>conftest.
$ac_ext
13246 cat >>conftest.
$ac_ext <<_ACEOF
13247 /* end confdefs.h. */
13248 #include <sys/types.h>
13254 if ((uint64_t *) 0)
13256 if (sizeof (uint64_t))
13262 rm -f conftest.
$ac_objext
13263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13264 (eval $ac_compile) 2>conftest.er1
13266 grep -v '^ *+' conftest.er1
>conftest.err
13268 cat conftest.err
>&5
13269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13270 (exit $ac_status); } &&
13271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13273 (eval $ac_try) 2>&5
13275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13276 (exit $ac_status); }; } &&
13277 { ac_try
='test -s conftest.$ac_objext'
13278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13279 (eval $ac_try) 2>&5
13281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13282 (exit $ac_status); }; }; then
13283 ac_cv_type_uint64_t
=yes
13285 echo "$as_me: failed program was:" >&5
13286 sed 's/^/| /' conftest.
$ac_ext >&5
13288 ac_cv_type_uint64_t
=no
13290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13292 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
13293 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
13295 echo "$as_me:$LINENO: checking for uintptr_t" >&5
13296 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
13297 if test "${ac_cv_type_uintptr_t+set}" = set; then
13298 echo $ECHO_N "(cached) $ECHO_C" >&6
13300 cat >conftest.
$ac_ext <<_ACEOF
13303 cat confdefs.h
>>conftest.
$ac_ext
13304 cat >>conftest.
$ac_ext <<_ACEOF
13305 /* end confdefs.h. */
13306 #include <sys/types.h>
13312 if ((uintptr_t *) 0)
13314 if (sizeof (uintptr_t))
13320 rm -f conftest.
$ac_objext
13321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13322 (eval $ac_compile) 2>conftest.er1
13324 grep -v '^ *+' conftest.er1
>conftest.err
13326 cat conftest.err
>&5
13327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); } &&
13329 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13331 (eval $ac_try) 2>&5
13333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 (exit $ac_status); }; } &&
13335 { ac_try
='test -s conftest.$ac_objext'
13336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13337 (eval $ac_try) 2>&5
13339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13340 (exit $ac_status); }; }; then
13341 ac_cv_type_uintptr_t
=yes
13343 echo "$as_me: failed program was:" >&5
13344 sed 's/^/| /' conftest.
$ac_ext >&5
13346 ac_cv_type_uintptr_t
=no
13348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13350 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
13351 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
13356 if test "$acx_cv_header_stdint" = stddef.h
; then
13357 acx_cv_header_stdint_kind
="(u_intXX_t style)"
13358 for i
in sys
/types.h
$inttype_headers; do
13359 unset ac_cv_type_u_int32_t
13360 unset ac_cv_type_u_int64_t
13361 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
13362 echo "$as_me:$LINENO: checking for u_int32_t" >&5
13363 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
13364 if test "${ac_cv_type_u_int32_t+set}" = set; then
13365 echo $ECHO_N "(cached) $ECHO_C" >&6
13367 cat >conftest.
$ac_ext <<_ACEOF
13370 cat confdefs.h
>>conftest.
$ac_ext
13371 cat >>conftest.
$ac_ext <<_ACEOF
13372 /* end confdefs.h. */
13373 #include <sys/types.h>
13379 if ((u_int32_t *) 0)
13381 if (sizeof (u_int32_t))
13387 rm -f conftest.
$ac_objext
13388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13389 (eval $ac_compile) 2>conftest.er1
13391 grep -v '^ *+' conftest.er1
>conftest.err
13393 cat conftest.err
>&5
13394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13395 (exit $ac_status); } &&
13396 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13398 (eval $ac_try) 2>&5
13400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401 (exit $ac_status); }; } &&
13402 { ac_try
='test -s conftest.$ac_objext'
13403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13404 (eval $ac_try) 2>&5
13406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13407 (exit $ac_status); }; }; then
13408 ac_cv_type_u_int32_t
=yes
13410 echo "$as_me: failed program was:" >&5
13411 sed 's/^/| /' conftest.
$ac_ext >&5
13413 ac_cv_type_u_int32_t
=no
13415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13417 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
13418 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
13419 if test $ac_cv_type_u_int32_t = yes; then
13420 acx_cv_header_stdint
=$i
13425 echo "$as_me:$LINENO: checking for u_int64_t" >&5
13426 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
13427 if test "${ac_cv_type_u_int64_t+set}" = set; then
13428 echo $ECHO_N "(cached) $ECHO_C" >&6
13430 cat >conftest.
$ac_ext <<_ACEOF
13433 cat confdefs.h
>>conftest.
$ac_ext
13434 cat >>conftest.
$ac_ext <<_ACEOF
13435 /* end confdefs.h. */
13436 #include <sys/types.h>
13442 if ((u_int64_t *) 0)
13444 if (sizeof (u_int64_t))
13450 rm -f conftest.
$ac_objext
13451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13452 (eval $ac_compile) 2>conftest.er1
13454 grep -v '^ *+' conftest.er1
>conftest.err
13456 cat conftest.err
>&5
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); } &&
13459 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13461 (eval $ac_try) 2>&5
13463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464 (exit $ac_status); }; } &&
13465 { ac_try
='test -s conftest.$ac_objext'
13466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13467 (eval $ac_try) 2>&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); }; }; then
13471 ac_cv_type_u_int64_t
=yes
13473 echo "$as_me: failed program was:" >&5
13474 sed 's/^/| /' conftest.
$ac_ext >&5
13476 ac_cv_type_u_int64_t
=no
13478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13480 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
13481 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
13486 if test "$acx_cv_header_stdint" = stddef.h
; then
13487 acx_cv_header_stdint_kind
="(using manual detection)"
13490 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
13491 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
13492 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
13493 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
13494 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
13496 # ----------------- Summarize what we found so far
13498 echo "$as_me:$LINENO: checking what to include in bfd_stdint.h" >&5
13499 echo $ECHO_N "checking what to include in bfd_stdint.h... $ECHO_C" >&6
13501 case `$as_basename bfd_stdint.h ||
13502 $as_expr X/bfd_stdint.h : '.*/\([^/][^/]*\)/*$' \| \
13503 Xbfd_stdint.h : 'X\(//\)$' \| \
13504 Xbfd_stdint.h : 'X\(/\)$' \| \
13505 . : '\(.\)' 2>/dev/null ||
13506 echo X/bfd_stdint.h |
13507 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13508 /^X\/\(\/\/\)$/{ s//\1/; q; }
13509 /^X\/\(\/\).*/{ s//\1/; q; }
13511 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
13512 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
13513 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
13514 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
13518 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
13519 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
13521 # ----------------- done included file, check C basic types --------
13523 # Lacking an uintptr_t? Test size of void *
13524 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
13525 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
13526 echo $ECHO_N "checking for void *... $ECHO_C" >&6
13527 if test "${ac_cv_type_void_p+set}" = set; then
13528 echo $ECHO_N "(cached) $ECHO_C" >&6
13530 cat >conftest.
$ac_ext <<_ACEOF
13533 cat confdefs.h
>>conftest.
$ac_ext
13534 cat >>conftest.
$ac_ext <<_ACEOF
13535 /* end confdefs.h. */
13536 $ac_includes_default
13542 if (sizeof (void *))
13548 rm -f conftest.
$ac_objext
13549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13550 (eval $ac_compile) 2>conftest.er1
13552 grep -v '^ *+' conftest.er1
>conftest.err
13554 cat conftest.err
>&5
13555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13556 (exit $ac_status); } &&
13557 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13559 (eval $ac_try) 2>&5
13561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562 (exit $ac_status); }; } &&
13563 { ac_try
='test -s conftest.$ac_objext'
13564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13565 (eval $ac_try) 2>&5
13567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13568 (exit $ac_status); }; }; then
13569 ac_cv_type_void_p
=yes
13571 echo "$as_me: failed program was:" >&5
13572 sed 's/^/| /' conftest.
$ac_ext >&5
13574 ac_cv_type_void_p
=no
13576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13578 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
13579 echo "${ECHO_T}$ac_cv_type_void_p" >&6
13581 echo "$as_me:$LINENO: checking size of void *" >&5
13582 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
13583 if test "${ac_cv_sizeof_void_p+set}" = set; then
13584 echo $ECHO_N "(cached) $ECHO_C" >&6
13586 if test "$ac_cv_type_void_p" = yes; then
13587 # The cast to unsigned long works around a bug in the HP C Compiler
13588 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13589 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13590 # This bug is HP SR number 8606223364.
13591 if test "$cross_compiling" = yes; then
13592 # Depending upon the size, compute the lo and hi bounds.
13593 cat >conftest.
$ac_ext <<_ACEOF
13596 cat confdefs.h
>>conftest.
$ac_ext
13597 cat >>conftest.
$ac_ext <<_ACEOF
13598 /* end confdefs.h. */
13599 $ac_includes_default
13603 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
13610 rm -f conftest.
$ac_objext
13611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13612 (eval $ac_compile) 2>conftest.er1
13614 grep -v '^ *+' conftest.er1
>conftest.err
13616 cat conftest.err
>&5
13617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618 (exit $ac_status); } &&
13619 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13621 (eval $ac_try) 2>&5
13623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13624 (exit $ac_status); }; } &&
13625 { ac_try
='test -s conftest.$ac_objext'
13626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13627 (eval $ac_try) 2>&5
13629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13630 (exit $ac_status); }; }; then
13633 cat >conftest.
$ac_ext <<_ACEOF
13636 cat confdefs.h
>>conftest.
$ac_ext
13637 cat >>conftest.
$ac_ext <<_ACEOF
13638 /* end confdefs.h. */
13639 $ac_includes_default
13643 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
13650 rm -f conftest.
$ac_objext
13651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13652 (eval $ac_compile) 2>conftest.er1
13654 grep -v '^ *+' conftest.er1
>conftest.err
13656 cat conftest.err
>&5
13657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658 (exit $ac_status); } &&
13659 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13661 (eval $ac_try) 2>&5
13663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664 (exit $ac_status); }; } &&
13665 { ac_try
='test -s conftest.$ac_objext'
13666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13667 (eval $ac_try) 2>&5
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); }; }; then
13671 ac_hi
=$ac_mid; break
13673 echo "$as_me: failed program was:" >&5
13674 sed 's/^/| /' conftest.
$ac_ext >&5
13676 ac_lo
=`expr $ac_mid + 1`
13677 if test $ac_lo -le $ac_mid; then
13681 ac_mid
=`expr 2 '*' $ac_mid + 1`
13683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13686 echo "$as_me: failed program was:" >&5
13687 sed 's/^/| /' conftest.
$ac_ext >&5
13689 cat >conftest.
$ac_ext <<_ACEOF
13692 cat confdefs.h
>>conftest.
$ac_ext
13693 cat >>conftest.
$ac_ext <<_ACEOF
13694 /* end confdefs.h. */
13695 $ac_includes_default
13699 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
13706 rm -f conftest.
$ac_objext
13707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13708 (eval $ac_compile) 2>conftest.er1
13710 grep -v '^ *+' conftest.er1
>conftest.err
13712 cat conftest.err
>&5
13713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13714 (exit $ac_status); } &&
13715 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13717 (eval $ac_try) 2>&5
13719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13720 (exit $ac_status); }; } &&
13721 { ac_try
='test -s conftest.$ac_objext'
13722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13723 (eval $ac_try) 2>&5
13725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13726 (exit $ac_status); }; }; then
13729 cat >conftest.
$ac_ext <<_ACEOF
13732 cat confdefs.h
>>conftest.
$ac_ext
13733 cat >>conftest.
$ac_ext <<_ACEOF
13734 /* end confdefs.h. */
13735 $ac_includes_default
13739 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
13746 rm -f conftest.
$ac_objext
13747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13748 (eval $ac_compile) 2>conftest.er1
13750 grep -v '^ *+' conftest.er1
>conftest.err
13752 cat conftest.err
>&5
13753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13754 (exit $ac_status); } &&
13755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13757 (eval $ac_try) 2>&5
13759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13760 (exit $ac_status); }; } &&
13761 { ac_try
='test -s conftest.$ac_objext'
13762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13763 (eval $ac_try) 2>&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); }; }; then
13767 ac_lo
=$ac_mid; break
13769 echo "$as_me: failed program was:" >&5
13770 sed 's/^/| /' conftest.
$ac_ext >&5
13772 ac_hi
=`expr '(' $ac_mid ')' - 1`
13773 if test $ac_mid -le $ac_hi; then
13777 ac_mid
=`expr 2 '*' $ac_mid`
13779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13782 echo "$as_me: failed program was:" >&5
13783 sed 's/^/| /' conftest.
$ac_ext >&5
13787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13790 # Binary search between lo and hi bounds.
13791 while test "x$ac_lo" != "x$ac_hi"; do
13792 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13793 cat >conftest.
$ac_ext <<_ACEOF
13796 cat confdefs.h
>>conftest.
$ac_ext
13797 cat >>conftest.
$ac_ext <<_ACEOF
13798 /* end confdefs.h. */
13799 $ac_includes_default
13803 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
13810 rm -f conftest.
$ac_objext
13811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13812 (eval $ac_compile) 2>conftest.er1
13814 grep -v '^ *+' conftest.er1
>conftest.err
13816 cat conftest.err
>&5
13817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818 (exit $ac_status); } &&
13819 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13821 (eval $ac_try) 2>&5
13823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13824 (exit $ac_status); }; } &&
13825 { ac_try
='test -s conftest.$ac_objext'
13826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13827 (eval $ac_try) 2>&5
13829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830 (exit $ac_status); }; }; then
13833 echo "$as_me: failed program was:" >&5
13834 sed 's/^/| /' conftest.
$ac_ext >&5
13836 ac_lo
=`expr '(' $ac_mid ')' + 1`
13838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13841 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
13842 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
13843 See \`config.log' for more details." >&5
13844 echo "$as_me: error: cannot compute sizeof (void *), 77
13845 See \`config.log' for more details." >&2;}
13846 { (exit 1); exit 1; }; } ;;
13849 if test "$cross_compiling" = yes; then
13850 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
13851 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
13852 { (exit 1); exit 1; }; }
13854 cat >conftest.
$ac_ext <<_ACEOF
13857 cat confdefs.h
>>conftest.
$ac_ext
13858 cat >>conftest.
$ac_ext <<_ACEOF
13859 /* end confdefs.h. */
13860 $ac_includes_default
13861 long longval () { return (long) (sizeof (void *)); }
13862 unsigned long ulongval () { return (long) (sizeof (void *)); }
13864 #include <stdlib.h>
13869 FILE *f = fopen ("conftest.val", "w");
13872 if (((long) (sizeof (void *))) < 0)
13874 long i = longval ();
13875 if (i != ((long) (sizeof (void *))))
13877 fprintf (f, "%ld\n", i);
13881 unsigned long i = ulongval ();
13882 if (i != ((long) (sizeof (void *))))
13884 fprintf (f, "%lu\n", i);
13886 exit (ferror (f) || fclose (f) != 0);
13892 rm -f conftest
$ac_exeext
13893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13894 (eval $ac_link) 2>&5
13896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13897 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13899 (eval $ac_try) 2>&5
13901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902 (exit $ac_status); }; }; then
13903 ac_cv_sizeof_void_p
=`cat conftest.val`
13905 echo "$as_me: program exited with status $ac_status" >&5
13906 echo "$as_me: failed program was:" >&5
13907 sed 's/^/| /' conftest.
$ac_ext >&5
13909 ( exit $ac_status )
13910 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
13911 See \`config.log' for more details." >&5
13912 echo "$as_me: error: cannot compute sizeof (void *), 77
13913 See \`config.log' for more details." >&2;}
13914 { (exit 1); exit 1; }; }
13916 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13921 ac_cv_sizeof_void_p
=0
13924 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
13925 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
13926 cat >>confdefs.h
<<_ACEOF
13927 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13933 # Lacking an uint64_t? Test size of long
13934 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
13935 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
13936 echo $ECHO_N "checking for long... $ECHO_C" >&6
13937 if test "${ac_cv_type_long+set}" = set; then
13938 echo $ECHO_N "(cached) $ECHO_C" >&6
13940 cat >conftest.
$ac_ext <<_ACEOF
13943 cat confdefs.h
>>conftest.
$ac_ext
13944 cat >>conftest.
$ac_ext <<_ACEOF
13945 /* end confdefs.h. */
13946 $ac_includes_default
13958 rm -f conftest.
$ac_objext
13959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13960 (eval $ac_compile) 2>conftest.er1
13962 grep -v '^ *+' conftest.er1
>conftest.err
13964 cat conftest.err
>&5
13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13966 (exit $ac_status); } &&
13967 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13969 (eval $ac_try) 2>&5
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 (exit $ac_status); }; } &&
13973 { ac_try
='test -s conftest.$ac_objext'
13974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13975 (eval $ac_try) 2>&5
13977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13978 (exit $ac_status); }; }; then
13979 ac_cv_type_long
=yes
13981 echo "$as_me: failed program was:" >&5
13982 sed 's/^/| /' conftest.
$ac_ext >&5
13986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13988 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
13989 echo "${ECHO_T}$ac_cv_type_long" >&6
13991 echo "$as_me:$LINENO: checking size of long" >&5
13992 echo $ECHO_N "checking size of long... $ECHO_C" >&6
13993 if test "${ac_cv_sizeof_long+set}" = set; then
13994 echo $ECHO_N "(cached) $ECHO_C" >&6
13996 if test "$ac_cv_type_long" = yes; then
13997 # The cast to unsigned long works around a bug in the HP C Compiler
13998 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13999 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14000 # This bug is HP SR number 8606223364.
14001 if test "$cross_compiling" = yes; then
14002 # Depending upon the size, compute the lo and hi bounds.
14003 cat >conftest.
$ac_ext <<_ACEOF
14006 cat confdefs.h
>>conftest.
$ac_ext
14007 cat >>conftest.
$ac_ext <<_ACEOF
14008 /* end confdefs.h. */
14009 $ac_includes_default
14013 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
14020 rm -f conftest.
$ac_objext
14021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14022 (eval $ac_compile) 2>conftest.er1
14024 grep -v '^ *+' conftest.er1
>conftest.err
14026 cat conftest.err
>&5
14027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14028 (exit $ac_status); } &&
14029 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14031 (eval $ac_try) 2>&5
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); }; } &&
14035 { ac_try
='test -s conftest.$ac_objext'
14036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14037 (eval $ac_try) 2>&5
14039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 (exit $ac_status); }; }; then
14043 cat >conftest.
$ac_ext <<_ACEOF
14046 cat confdefs.h
>>conftest.
$ac_ext
14047 cat >>conftest.
$ac_ext <<_ACEOF
14048 /* end confdefs.h. */
14049 $ac_includes_default
14053 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
14060 rm -f conftest.
$ac_objext
14061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14062 (eval $ac_compile) 2>conftest.er1
14064 grep -v '^ *+' conftest.er1
>conftest.err
14066 cat conftest.err
>&5
14067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14068 (exit $ac_status); } &&
14069 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14071 (eval $ac_try) 2>&5
14073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14074 (exit $ac_status); }; } &&
14075 { ac_try
='test -s conftest.$ac_objext'
14076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14077 (eval $ac_try) 2>&5
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); }; }; then
14081 ac_hi
=$ac_mid; break
14083 echo "$as_me: failed program was:" >&5
14084 sed 's/^/| /' conftest.
$ac_ext >&5
14086 ac_lo
=`expr $ac_mid + 1`
14087 if test $ac_lo -le $ac_mid; then
14091 ac_mid
=`expr 2 '*' $ac_mid + 1`
14093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14096 echo "$as_me: failed program was:" >&5
14097 sed 's/^/| /' conftest.
$ac_ext >&5
14099 cat >conftest.
$ac_ext <<_ACEOF
14102 cat confdefs.h
>>conftest.
$ac_ext
14103 cat >>conftest.
$ac_ext <<_ACEOF
14104 /* end confdefs.h. */
14105 $ac_includes_default
14109 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
14116 rm -f conftest.
$ac_objext
14117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14118 (eval $ac_compile) 2>conftest.er1
14120 grep -v '^ *+' conftest.er1
>conftest.err
14122 cat conftest.err
>&5
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 (exit $ac_status); } &&
14125 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14127 (eval $ac_try) 2>&5
14129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14130 (exit $ac_status); }; } &&
14131 { ac_try
='test -s conftest.$ac_objext'
14132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14133 (eval $ac_try) 2>&5
14135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14136 (exit $ac_status); }; }; then
14139 cat >conftest.
$ac_ext <<_ACEOF
14142 cat confdefs.h
>>conftest.
$ac_ext
14143 cat >>conftest.
$ac_ext <<_ACEOF
14144 /* end confdefs.h. */
14145 $ac_includes_default
14149 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
14156 rm -f conftest.
$ac_objext
14157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14158 (eval $ac_compile) 2>conftest.er1
14160 grep -v '^ *+' conftest.er1
>conftest.err
14162 cat conftest.err
>&5
14163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14164 (exit $ac_status); } &&
14165 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14167 (eval $ac_try) 2>&5
14169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170 (exit $ac_status); }; } &&
14171 { ac_try
='test -s conftest.$ac_objext'
14172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14173 (eval $ac_try) 2>&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); }; }; then
14177 ac_lo
=$ac_mid; break
14179 echo "$as_me: failed program was:" >&5
14180 sed 's/^/| /' conftest.
$ac_ext >&5
14182 ac_hi
=`expr '(' $ac_mid ')' - 1`
14183 if test $ac_mid -le $ac_hi; then
14187 ac_mid
=`expr 2 '*' $ac_mid`
14189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14192 echo "$as_me: failed program was:" >&5
14193 sed 's/^/| /' conftest.
$ac_ext >&5
14197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14200 # Binary search between lo and hi bounds.
14201 while test "x$ac_lo" != "x$ac_hi"; do
14202 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14203 cat >conftest.
$ac_ext <<_ACEOF
14206 cat confdefs.h
>>conftest.
$ac_ext
14207 cat >>conftest.
$ac_ext <<_ACEOF
14208 /* end confdefs.h. */
14209 $ac_includes_default
14213 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
14220 rm -f conftest.
$ac_objext
14221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14222 (eval $ac_compile) 2>conftest.er1
14224 grep -v '^ *+' conftest.er1
>conftest.err
14226 cat conftest.err
>&5
14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); } &&
14229 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14231 (eval $ac_try) 2>&5
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); }; } &&
14235 { ac_try
='test -s conftest.$ac_objext'
14236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14237 (eval $ac_try) 2>&5
14239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240 (exit $ac_status); }; }; then
14243 echo "$as_me: failed program was:" >&5
14244 sed 's/^/| /' conftest.
$ac_ext >&5
14246 ac_lo
=`expr '(' $ac_mid ')' + 1`
14248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14251 ?
*) ac_cv_sizeof_long
=$ac_lo;;
14252 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
14253 See \`config.log' for more details." >&5
14254 echo "$as_me: error: cannot compute sizeof (long), 77
14255 See \`config.log' for more details." >&2;}
14256 { (exit 1); exit 1; }; } ;;
14259 if test "$cross_compiling" = yes; then
14260 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14261 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14262 { (exit 1); exit 1; }; }
14264 cat >conftest.
$ac_ext <<_ACEOF
14267 cat confdefs.h
>>conftest.
$ac_ext
14268 cat >>conftest.
$ac_ext <<_ACEOF
14269 /* end confdefs.h. */
14270 $ac_includes_default
14271 long longval () { return (long) (sizeof (long)); }
14272 unsigned long ulongval () { return (long) (sizeof (long)); }
14274 #include <stdlib.h>
14279 FILE *f = fopen ("conftest.val", "w");
14282 if (((long) (sizeof (long))) < 0)
14284 long i = longval ();
14285 if (i != ((long) (sizeof (long))))
14287 fprintf (f, "%ld\n", i);
14291 unsigned long i = ulongval ();
14292 if (i != ((long) (sizeof (long))))
14294 fprintf (f, "%lu\n", i);
14296 exit (ferror (f) || fclose (f) != 0);
14302 rm -f conftest
$ac_exeext
14303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14304 (eval $ac_link) 2>&5
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14309 (eval $ac_try) 2>&5
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); }; }; then
14313 ac_cv_sizeof_long
=`cat conftest.val`
14315 echo "$as_me: program exited with status $ac_status" >&5
14316 echo "$as_me: failed program was:" >&5
14317 sed 's/^/| /' conftest.
$ac_ext >&5
14319 ( exit $ac_status )
14320 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
14321 See \`config.log' for more details." >&5
14322 echo "$as_me: error: cannot compute sizeof (long), 77
14323 See \`config.log' for more details." >&2;}
14324 { (exit 1); exit 1; }; }
14326 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14331 ac_cv_sizeof_long
=0
14334 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
14335 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
14336 cat >>confdefs.h
<<_ACEOF
14337 #define SIZEOF_LONG $ac_cv_sizeof_long
14343 if test $acx_cv_header_stdint = stddef.h
; then
14344 # Lacking a good header? Test size of everything and deduce all types.
14345 echo "$as_me:$LINENO: checking for int" >&5
14346 echo $ECHO_N "checking for int... $ECHO_C" >&6
14347 if test "${ac_cv_type_int+set}" = set; then
14348 echo $ECHO_N "(cached) $ECHO_C" >&6
14350 cat >conftest.
$ac_ext <<_ACEOF
14353 cat confdefs.h
>>conftest.
$ac_ext
14354 cat >>conftest.
$ac_ext <<_ACEOF
14355 /* end confdefs.h. */
14356 $ac_includes_default
14368 rm -f conftest.
$ac_objext
14369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14370 (eval $ac_compile) 2>conftest.er1
14372 grep -v '^ *+' conftest.er1
>conftest.err
14374 cat conftest.err
>&5
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); } &&
14377 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14379 (eval $ac_try) 2>&5
14381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14382 (exit $ac_status); }; } &&
14383 { ac_try
='test -s conftest.$ac_objext'
14384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14385 (eval $ac_try) 2>&5
14387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14388 (exit $ac_status); }; }; then
14391 echo "$as_me: failed program was:" >&5
14392 sed 's/^/| /' conftest.
$ac_ext >&5
14396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14398 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14399 echo "${ECHO_T}$ac_cv_type_int" >&6
14401 echo "$as_me:$LINENO: checking size of int" >&5
14402 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14403 if test "${ac_cv_sizeof_int+set}" = set; then
14404 echo $ECHO_N "(cached) $ECHO_C" >&6
14406 if test "$ac_cv_type_int" = yes; then
14407 # The cast to unsigned long works around a bug in the HP C Compiler
14408 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14409 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14410 # This bug is HP SR number 8606223364.
14411 if test "$cross_compiling" = yes; then
14412 # Depending upon the size, compute the lo and hi bounds.
14413 cat >conftest.
$ac_ext <<_ACEOF
14416 cat confdefs.h
>>conftest.
$ac_ext
14417 cat >>conftest.
$ac_ext <<_ACEOF
14418 /* end confdefs.h. */
14419 $ac_includes_default
14423 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14430 rm -f conftest.
$ac_objext
14431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14432 (eval $ac_compile) 2>conftest.er1
14434 grep -v '^ *+' conftest.er1
>conftest.err
14436 cat conftest.err
>&5
14437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14438 (exit $ac_status); } &&
14439 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14441 (eval $ac_try) 2>&5
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); }; } &&
14445 { ac_try
='test -s conftest.$ac_objext'
14446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14447 (eval $ac_try) 2>&5
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); }; }; then
14453 cat >conftest.
$ac_ext <<_ACEOF
14456 cat confdefs.h
>>conftest.
$ac_ext
14457 cat >>conftest.
$ac_ext <<_ACEOF
14458 /* end confdefs.h. */
14459 $ac_includes_default
14463 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14470 rm -f conftest.
$ac_objext
14471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14472 (eval $ac_compile) 2>conftest.er1
14474 grep -v '^ *+' conftest.er1
>conftest.err
14476 cat conftest.err
>&5
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); } &&
14479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14481 (eval $ac_try) 2>&5
14483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14484 (exit $ac_status); }; } &&
14485 { ac_try
='test -s conftest.$ac_objext'
14486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14487 (eval $ac_try) 2>&5
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); }; }; then
14491 ac_hi
=$ac_mid; break
14493 echo "$as_me: failed program was:" >&5
14494 sed 's/^/| /' conftest.
$ac_ext >&5
14496 ac_lo
=`expr $ac_mid + 1`
14497 if test $ac_lo -le $ac_mid; then
14501 ac_mid
=`expr 2 '*' $ac_mid + 1`
14503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14506 echo "$as_me: failed program was:" >&5
14507 sed 's/^/| /' conftest.
$ac_ext >&5
14509 cat >conftest.
$ac_ext <<_ACEOF
14512 cat confdefs.h
>>conftest.
$ac_ext
14513 cat >>conftest.
$ac_ext <<_ACEOF
14514 /* end confdefs.h. */
14515 $ac_includes_default
14519 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14526 rm -f conftest.
$ac_objext
14527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14528 (eval $ac_compile) 2>conftest.er1
14530 grep -v '^ *+' conftest.er1
>conftest.err
14532 cat conftest.err
>&5
14533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534 (exit $ac_status); } &&
14535 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14537 (eval $ac_try) 2>&5
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); }; } &&
14541 { ac_try
='test -s conftest.$ac_objext'
14542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14543 (eval $ac_try) 2>&5
14545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546 (exit $ac_status); }; }; then
14549 cat >conftest.
$ac_ext <<_ACEOF
14552 cat confdefs.h
>>conftest.
$ac_ext
14553 cat >>conftest.
$ac_ext <<_ACEOF
14554 /* end confdefs.h. */
14555 $ac_includes_default
14559 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14566 rm -f conftest.
$ac_objext
14567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14568 (eval $ac_compile) 2>conftest.er1
14570 grep -v '^ *+' conftest.er1
>conftest.err
14572 cat conftest.err
>&5
14573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14574 (exit $ac_status); } &&
14575 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14577 (eval $ac_try) 2>&5
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 (exit $ac_status); }; } &&
14581 { ac_try
='test -s conftest.$ac_objext'
14582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14583 (eval $ac_try) 2>&5
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); }; }; then
14587 ac_lo
=$ac_mid; break
14589 echo "$as_me: failed program was:" >&5
14590 sed 's/^/| /' conftest.
$ac_ext >&5
14592 ac_hi
=`expr '(' $ac_mid ')' - 1`
14593 if test $ac_mid -le $ac_hi; then
14597 ac_mid
=`expr 2 '*' $ac_mid`
14599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14602 echo "$as_me: failed program was:" >&5
14603 sed 's/^/| /' conftest.
$ac_ext >&5
14607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14610 # Binary search between lo and hi bounds.
14611 while test "x$ac_lo" != "x$ac_hi"; do
14612 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14613 cat >conftest.
$ac_ext <<_ACEOF
14616 cat confdefs.h
>>conftest.
$ac_ext
14617 cat >>conftest.
$ac_ext <<_ACEOF
14618 /* end confdefs.h. */
14619 $ac_includes_default
14623 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14630 rm -f conftest.
$ac_objext
14631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14632 (eval $ac_compile) 2>conftest.er1
14634 grep -v '^ *+' conftest.er1
>conftest.err
14636 cat conftest.err
>&5
14637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638 (exit $ac_status); } &&
14639 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14641 (eval $ac_try) 2>&5
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); }; } &&
14645 { ac_try
='test -s conftest.$ac_objext'
14646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14647 (eval $ac_try) 2>&5
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); }; }; then
14653 echo "$as_me: failed program was:" >&5
14654 sed 's/^/| /' conftest.
$ac_ext >&5
14656 ac_lo
=`expr '(' $ac_mid ')' + 1`
14658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14661 ?
*) ac_cv_sizeof_int
=$ac_lo;;
14662 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14663 See \`config.log' for more details." >&5
14664 echo "$as_me: error: cannot compute sizeof (int), 77
14665 See \`config.log' for more details." >&2;}
14666 { (exit 1); exit 1; }; } ;;
14669 if test "$cross_compiling" = yes; then
14670 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14671 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14672 { (exit 1); exit 1; }; }
14674 cat >conftest.
$ac_ext <<_ACEOF
14677 cat confdefs.h
>>conftest.
$ac_ext
14678 cat >>conftest.
$ac_ext <<_ACEOF
14679 /* end confdefs.h. */
14680 $ac_includes_default
14681 long longval () { return (long) (sizeof (int)); }
14682 unsigned long ulongval () { return (long) (sizeof (int)); }
14684 #include <stdlib.h>
14689 FILE *f = fopen ("conftest.val", "w");
14692 if (((long) (sizeof (int))) < 0)
14694 long i = longval ();
14695 if (i != ((long) (sizeof (int))))
14697 fprintf (f, "%ld\n", i);
14701 unsigned long i = ulongval ();
14702 if (i != ((long) (sizeof (int))))
14704 fprintf (f, "%lu\n", i);
14706 exit (ferror (f) || fclose (f) != 0);
14712 rm -f conftest
$ac_exeext
14713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14714 (eval $ac_link) 2>&5
14716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14717 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14719 (eval $ac_try) 2>&5
14721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14722 (exit $ac_status); }; }; then
14723 ac_cv_sizeof_int
=`cat conftest.val`
14725 echo "$as_me: program exited with status $ac_status" >&5
14726 echo "$as_me: failed program was:" >&5
14727 sed 's/^/| /' conftest.
$ac_ext >&5
14729 ( exit $ac_status )
14730 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14731 See \`config.log' for more details." >&5
14732 echo "$as_me: error: cannot compute sizeof (int), 77
14733 See \`config.log' for more details." >&2;}
14734 { (exit 1); exit 1; }; }
14736 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14744 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14745 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
14746 cat >>confdefs.h
<<_ACEOF
14747 #define SIZEOF_INT $ac_cv_sizeof_int
14751 echo "$as_me:$LINENO: checking for short" >&5
14752 echo $ECHO_N "checking for short... $ECHO_C" >&6
14753 if test "${ac_cv_type_short+set}" = set; then
14754 echo $ECHO_N "(cached) $ECHO_C" >&6
14756 cat >conftest.
$ac_ext <<_ACEOF
14759 cat confdefs.h
>>conftest.
$ac_ext
14760 cat >>conftest.
$ac_ext <<_ACEOF
14761 /* end confdefs.h. */
14762 $ac_includes_default
14768 if (sizeof (short))
14774 rm -f conftest.
$ac_objext
14775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14776 (eval $ac_compile) 2>conftest.er1
14778 grep -v '^ *+' conftest.er1
>conftest.err
14780 cat conftest.err
>&5
14781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14782 (exit $ac_status); } &&
14783 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14785 (eval $ac_try) 2>&5
14787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788 (exit $ac_status); }; } &&
14789 { ac_try
='test -s conftest.$ac_objext'
14790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14791 (eval $ac_try) 2>&5
14793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14794 (exit $ac_status); }; }; then
14795 ac_cv_type_short
=yes
14797 echo "$as_me: failed program was:" >&5
14798 sed 's/^/| /' conftest.
$ac_ext >&5
14800 ac_cv_type_short
=no
14802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14804 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14805 echo "${ECHO_T}$ac_cv_type_short" >&6
14807 echo "$as_me:$LINENO: checking size of short" >&5
14808 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14809 if test "${ac_cv_sizeof_short+set}" = set; then
14810 echo $ECHO_N "(cached) $ECHO_C" >&6
14812 if test "$ac_cv_type_short" = yes; then
14813 # The cast to unsigned long works around a bug in the HP C Compiler
14814 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14815 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14816 # This bug is HP SR number 8606223364.
14817 if test "$cross_compiling" = yes; then
14818 # Depending upon the size, compute the lo and hi bounds.
14819 cat >conftest.
$ac_ext <<_ACEOF
14822 cat confdefs.h
>>conftest.
$ac_ext
14823 cat >>conftest.
$ac_ext <<_ACEOF
14824 /* end confdefs.h. */
14825 $ac_includes_default
14829 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14836 rm -f conftest.
$ac_objext
14837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14838 (eval $ac_compile) 2>conftest.er1
14840 grep -v '^ *+' conftest.er1
>conftest.err
14842 cat conftest.err
>&5
14843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14844 (exit $ac_status); } &&
14845 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14847 (eval $ac_try) 2>&5
14849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14850 (exit $ac_status); }; } &&
14851 { ac_try
='test -s conftest.$ac_objext'
14852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14853 (eval $ac_try) 2>&5
14855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14856 (exit $ac_status); }; }; then
14859 cat >conftest.
$ac_ext <<_ACEOF
14862 cat confdefs.h
>>conftest.
$ac_ext
14863 cat >>conftest.
$ac_ext <<_ACEOF
14864 /* end confdefs.h. */
14865 $ac_includes_default
14869 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14876 rm -f conftest.
$ac_objext
14877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14878 (eval $ac_compile) 2>conftest.er1
14880 grep -v '^ *+' conftest.er1
>conftest.err
14882 cat conftest.err
>&5
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); } &&
14885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14887 (eval $ac_try) 2>&5
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); }; } &&
14891 { ac_try
='test -s conftest.$ac_objext'
14892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14893 (eval $ac_try) 2>&5
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); }; }; then
14897 ac_hi
=$ac_mid; break
14899 echo "$as_me: failed program was:" >&5
14900 sed 's/^/| /' conftest.
$ac_ext >&5
14902 ac_lo
=`expr $ac_mid + 1`
14903 if test $ac_lo -le $ac_mid; then
14907 ac_mid
=`expr 2 '*' $ac_mid + 1`
14909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14912 echo "$as_me: failed program was:" >&5
14913 sed 's/^/| /' conftest.
$ac_ext >&5
14915 cat >conftest.
$ac_ext <<_ACEOF
14918 cat confdefs.h
>>conftest.
$ac_ext
14919 cat >>conftest.
$ac_ext <<_ACEOF
14920 /* end confdefs.h. */
14921 $ac_includes_default
14925 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14932 rm -f conftest.
$ac_objext
14933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14934 (eval $ac_compile) 2>conftest.er1
14936 grep -v '^ *+' conftest.er1
>conftest.err
14938 cat conftest.err
>&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); } &&
14941 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14943 (eval $ac_try) 2>&5
14945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946 (exit $ac_status); }; } &&
14947 { ac_try
='test -s conftest.$ac_objext'
14948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14949 (eval $ac_try) 2>&5
14951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14952 (exit $ac_status); }; }; then
14955 cat >conftest.
$ac_ext <<_ACEOF
14958 cat confdefs.h
>>conftest.
$ac_ext
14959 cat >>conftest.
$ac_ext <<_ACEOF
14960 /* end confdefs.h. */
14961 $ac_includes_default
14965 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14972 rm -f conftest.
$ac_objext
14973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14974 (eval $ac_compile) 2>conftest.er1
14976 grep -v '^ *+' conftest.er1
>conftest.err
14978 cat conftest.err
>&5
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); } &&
14981 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14983 (eval $ac_try) 2>&5
14985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14986 (exit $ac_status); }; } &&
14987 { ac_try
='test -s conftest.$ac_objext'
14988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14989 (eval $ac_try) 2>&5
14991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 (exit $ac_status); }; }; then
14993 ac_lo
=$ac_mid; break
14995 echo "$as_me: failed program was:" >&5
14996 sed 's/^/| /' conftest.
$ac_ext >&5
14998 ac_hi
=`expr '(' $ac_mid ')' - 1`
14999 if test $ac_mid -le $ac_hi; then
15003 ac_mid
=`expr 2 '*' $ac_mid`
15005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.
$ac_ext >&5
15013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15016 # Binary search between lo and hi bounds.
15017 while test "x$ac_lo" != "x$ac_hi"; do
15018 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15019 cat >conftest.
$ac_ext <<_ACEOF
15022 cat confdefs.h
>>conftest.
$ac_ext
15023 cat >>conftest.
$ac_ext <<_ACEOF
15024 /* end confdefs.h. */
15025 $ac_includes_default
15029 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15036 rm -f conftest.
$ac_objext
15037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15038 (eval $ac_compile) 2>conftest.er1
15040 grep -v '^ *+' conftest.er1
>conftest.err
15042 cat conftest.err
>&5
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); } &&
15045 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047 (eval $ac_try) 2>&5
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); }; } &&
15051 { ac_try
='test -s conftest.$ac_objext'
15052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15053 (eval $ac_try) 2>&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); }; }; then
15059 echo "$as_me: failed program was:" >&5
15060 sed 's/^/| /' conftest.
$ac_ext >&5
15062 ac_lo
=`expr '(' $ac_mid ')' + 1`
15064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15067 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15068 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15069 See \`config.log' for more details." >&5
15070 echo "$as_me: error: cannot compute sizeof (short), 77
15071 See \`config.log' for more details." >&2;}
15072 { (exit 1); exit 1; }; } ;;
15075 if test "$cross_compiling" = yes; then
15076 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15077 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15078 { (exit 1); exit 1; }; }
15080 cat >conftest.
$ac_ext <<_ACEOF
15083 cat confdefs.h
>>conftest.
$ac_ext
15084 cat >>conftest.
$ac_ext <<_ACEOF
15085 /* end confdefs.h. */
15086 $ac_includes_default
15087 long longval () { return (long) (sizeof (short)); }
15088 unsigned long ulongval () { return (long) (sizeof (short)); }
15090 #include <stdlib.h>
15095 FILE *f = fopen ("conftest.val", "w");
15098 if (((long) (sizeof (short))) < 0)
15100 long i = longval ();
15101 if (i != ((long) (sizeof (short))))
15103 fprintf (f, "%ld\n", i);
15107 unsigned long i = ulongval ();
15108 if (i != ((long) (sizeof (short))))
15110 fprintf (f, "%lu\n", i);
15112 exit (ferror (f) || fclose (f) != 0);
15118 rm -f conftest
$ac_exeext
15119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15120 (eval $ac_link) 2>&5
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15125 (eval $ac_try) 2>&5
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); }; }; then
15129 ac_cv_sizeof_short
=`cat conftest.val`
15131 echo "$as_me: program exited with status $ac_status" >&5
15132 echo "$as_me: failed program was:" >&5
15133 sed 's/^/| /' conftest.
$ac_ext >&5
15135 ( exit $ac_status )
15136 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15137 See \`config.log' for more details." >&5
15138 echo "$as_me: error: cannot compute sizeof (short), 77
15139 See \`config.log' for more details." >&2;}
15140 { (exit 1); exit 1; }; }
15142 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15147 ac_cv_sizeof_short
=0
15150 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15151 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15152 cat >>confdefs.h
<<_ACEOF
15153 #define SIZEOF_SHORT $ac_cv_sizeof_short
15157 echo "$as_me:$LINENO: checking for char" >&5
15158 echo $ECHO_N "checking for char... $ECHO_C" >&6
15159 if test "${ac_cv_type_char+set}" = set; then
15160 echo $ECHO_N "(cached) $ECHO_C" >&6
15162 cat >conftest.
$ac_ext <<_ACEOF
15165 cat confdefs.h
>>conftest.
$ac_ext
15166 cat >>conftest.
$ac_ext <<_ACEOF
15167 /* end confdefs.h. */
15168 $ac_includes_default
15180 rm -f conftest.
$ac_objext
15181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15182 (eval $ac_compile) 2>conftest.er1
15184 grep -v '^ *+' conftest.er1
>conftest.err
15186 cat conftest.err
>&5
15187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); } &&
15189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15191 (eval $ac_try) 2>&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); }; } &&
15195 { ac_try
='test -s conftest.$ac_objext'
15196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15197 (eval $ac_try) 2>&5
15199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15200 (exit $ac_status); }; }; then
15201 ac_cv_type_char
=yes
15203 echo "$as_me: failed program was:" >&5
15204 sed 's/^/| /' conftest.
$ac_ext >&5
15208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15210 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15211 echo "${ECHO_T}$ac_cv_type_char" >&6
15213 echo "$as_me:$LINENO: checking size of char" >&5
15214 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15215 if test "${ac_cv_sizeof_char+set}" = set; then
15216 echo $ECHO_N "(cached) $ECHO_C" >&6
15218 if test "$ac_cv_type_char" = yes; then
15219 # The cast to unsigned long works around a bug in the HP C Compiler
15220 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15221 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15222 # This bug is HP SR number 8606223364.
15223 if test "$cross_compiling" = yes; then
15224 # Depending upon the size, compute the lo and hi bounds.
15225 cat >conftest.
$ac_ext <<_ACEOF
15228 cat confdefs.h
>>conftest.
$ac_ext
15229 cat >>conftest.
$ac_ext <<_ACEOF
15230 /* end confdefs.h. */
15231 $ac_includes_default
15235 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15242 rm -f conftest.
$ac_objext
15243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15244 (eval $ac_compile) 2>conftest.er1
15246 grep -v '^ *+' conftest.er1
>conftest.err
15248 cat conftest.err
>&5
15249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15250 (exit $ac_status); } &&
15251 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15253 (eval $ac_try) 2>&5
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); }; } &&
15257 { ac_try
='test -s conftest.$ac_objext'
15258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15259 (eval $ac_try) 2>&5
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); }; }; then
15265 cat >conftest.
$ac_ext <<_ACEOF
15268 cat confdefs.h
>>conftest.
$ac_ext
15269 cat >>conftest.
$ac_ext <<_ACEOF
15270 /* end confdefs.h. */
15271 $ac_includes_default
15275 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15282 rm -f conftest.
$ac_objext
15283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15284 (eval $ac_compile) 2>conftest.er1
15286 grep -v '^ *+' conftest.er1
>conftest.err
15288 cat conftest.err
>&5
15289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15290 (exit $ac_status); } &&
15291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15293 (eval $ac_try) 2>&5
15295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15296 (exit $ac_status); }; } &&
15297 { ac_try
='test -s conftest.$ac_objext'
15298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15299 (eval $ac_try) 2>&5
15301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15302 (exit $ac_status); }; }; then
15303 ac_hi
=$ac_mid; break
15305 echo "$as_me: failed program was:" >&5
15306 sed 's/^/| /' conftest.
$ac_ext >&5
15308 ac_lo
=`expr $ac_mid + 1`
15309 if test $ac_lo -le $ac_mid; then
15313 ac_mid
=`expr 2 '*' $ac_mid + 1`
15315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15318 echo "$as_me: failed program was:" >&5
15319 sed 's/^/| /' conftest.
$ac_ext >&5
15321 cat >conftest.
$ac_ext <<_ACEOF
15324 cat confdefs.h
>>conftest.
$ac_ext
15325 cat >>conftest.
$ac_ext <<_ACEOF
15326 /* end confdefs.h. */
15327 $ac_includes_default
15331 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15338 rm -f conftest.
$ac_objext
15339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15340 (eval $ac_compile) 2>conftest.er1
15342 grep -v '^ *+' conftest.er1
>conftest.err
15344 cat conftest.err
>&5
15345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15346 (exit $ac_status); } &&
15347 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15349 (eval $ac_try) 2>&5
15351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15352 (exit $ac_status); }; } &&
15353 { ac_try
='test -s conftest.$ac_objext'
15354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15355 (eval $ac_try) 2>&5
15357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15358 (exit $ac_status); }; }; then
15361 cat >conftest.
$ac_ext <<_ACEOF
15364 cat confdefs.h
>>conftest.
$ac_ext
15365 cat >>conftest.
$ac_ext <<_ACEOF
15366 /* end confdefs.h. */
15367 $ac_includes_default
15371 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15378 rm -f conftest.
$ac_objext
15379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15380 (eval $ac_compile) 2>conftest.er1
15382 grep -v '^ *+' conftest.er1
>conftest.err
15384 cat conftest.err
>&5
15385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15386 (exit $ac_status); } &&
15387 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15389 (eval $ac_try) 2>&5
15391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15392 (exit $ac_status); }; } &&
15393 { ac_try
='test -s conftest.$ac_objext'
15394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15395 (eval $ac_try) 2>&5
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); }; }; then
15399 ac_lo
=$ac_mid; break
15401 echo "$as_me: failed program was:" >&5
15402 sed 's/^/| /' conftest.
$ac_ext >&5
15404 ac_hi
=`expr '(' $ac_mid ')' - 1`
15405 if test $ac_mid -le $ac_hi; then
15409 ac_mid
=`expr 2 '*' $ac_mid`
15411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15414 echo "$as_me: failed program was:" >&5
15415 sed 's/^/| /' conftest.
$ac_ext >&5
15419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15422 # Binary search between lo and hi bounds.
15423 while test "x$ac_lo" != "x$ac_hi"; do
15424 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15425 cat >conftest.
$ac_ext <<_ACEOF
15428 cat confdefs.h
>>conftest.
$ac_ext
15429 cat >>conftest.
$ac_ext <<_ACEOF
15430 /* end confdefs.h. */
15431 $ac_includes_default
15435 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15442 rm -f conftest.
$ac_objext
15443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15444 (eval $ac_compile) 2>conftest.er1
15446 grep -v '^ *+' conftest.er1
>conftest.err
15448 cat conftest.err
>&5
15449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15450 (exit $ac_status); } &&
15451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15453 (eval $ac_try) 2>&5
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); }; } &&
15457 { ac_try
='test -s conftest.$ac_objext'
15458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15459 (eval $ac_try) 2>&5
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); }; }; then
15465 echo "$as_me: failed program was:" >&5
15466 sed 's/^/| /' conftest.
$ac_ext >&5
15468 ac_lo
=`expr '(' $ac_mid ')' + 1`
15470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15473 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15474 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15475 See \`config.log' for more details." >&5
15476 echo "$as_me: error: cannot compute sizeof (char), 77
15477 See \`config.log' for more details." >&2;}
15478 { (exit 1); exit 1; }; } ;;
15481 if test "$cross_compiling" = yes; then
15482 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15483 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15484 { (exit 1); exit 1; }; }
15486 cat >conftest.
$ac_ext <<_ACEOF
15489 cat confdefs.h
>>conftest.
$ac_ext
15490 cat >>conftest.
$ac_ext <<_ACEOF
15491 /* end confdefs.h. */
15492 $ac_includes_default
15493 long longval () { return (long) (sizeof (char)); }
15494 unsigned long ulongval () { return (long) (sizeof (char)); }
15496 #include <stdlib.h>
15501 FILE *f = fopen ("conftest.val", "w");
15504 if (((long) (sizeof (char))) < 0)
15506 long i = longval ();
15507 if (i != ((long) (sizeof (char))))
15509 fprintf (f, "%ld\n", i);
15513 unsigned long i = ulongval ();
15514 if (i != ((long) (sizeof (char))))
15516 fprintf (f, "%lu\n", i);
15518 exit (ferror (f) || fclose (f) != 0);
15524 rm -f conftest
$ac_exeext
15525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15526 (eval $ac_link) 2>&5
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15531 (eval $ac_try) 2>&5
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); }; }; then
15535 ac_cv_sizeof_char
=`cat conftest.val`
15537 echo "$as_me: program exited with status $ac_status" >&5
15538 echo "$as_me: failed program was:" >&5
15539 sed 's/^/| /' conftest.
$ac_ext >&5
15541 ( exit $ac_status )
15542 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15543 See \`config.log' for more details." >&5
15544 echo "$as_me: error: cannot compute sizeof (char), 77
15545 See \`config.log' for more details." >&2;}
15546 { (exit 1); exit 1; }; }
15548 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15553 ac_cv_sizeof_char
=0
15556 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15557 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15558 cat >>confdefs.h
<<_ACEOF
15559 #define SIZEOF_CHAR $ac_cv_sizeof_char
15564 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
15565 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
15566 case "$ac_cv_sizeof_char" in
15567 1) acx_cv_type_int8_t
=char
;;
15568 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
15569 echo "$as_me: error: no 8-bit type" >&2;}
15570 { (exit please report a bug
); exit please report a bug
; }; }
15572 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
15573 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
15575 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
15576 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
15577 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15578 2:*) acx_cv_type_int16_t
=int
;;
15579 *:2) acx_cv_type_int16_t
=short
;;
15580 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
15581 echo "$as_me: error: no 16-bit type" >&2;}
15582 { (exit please report a bug
); exit please report a bug
; }; }
15584 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
15585 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
15587 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
15588 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
15589 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15590 4:*) acx_cv_type_int32_t
=int
;;
15591 *:4) acx_cv_type_int32_t
=long
;;
15592 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
15593 echo "$as_me: error: no 32-bit type" >&2;}
15594 { (exit please report a bug
); exit please report a bug
; }; }
15596 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
15597 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
15600 # These tests are here to make the output prettier
15602 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15603 case "$ac_cv_sizeof_long" in
15604 8) acx_cv_type_int64_t
=long
;;
15606 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
15607 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
15608 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15609 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
15612 # Now we can use the above types
15614 if test "$ac_cv_type_uintptr_t" != yes; then
15615 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
15616 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
15617 case $ac_cv_sizeof_void_p in
15618 2) acx_cv_type_intptr_t
=int16_t
;;
15619 4) acx_cv_type_intptr_t
=int32_t
;;
15620 8) acx_cv_type_intptr_t
=int64_t
;;
15621 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
15622 echo "$as_me: error: no equivalent for intptr_t" >&2;}
15623 { (exit please report a bug
); exit please report a bug
; }; }
15625 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
15626 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
15629 # ----------------- done all checks, emit header -------------
15630 ac_config_commands
="$ac_config_commands bfd_stdint.h"
15634 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
15635 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
15636 if test "${ac_cv_header_time+set}" = set; then
15637 echo $ECHO_N "(cached) $ECHO_C" >&6
15639 cat >conftest.
$ac_ext <<_ACEOF
15642 cat confdefs.h
>>conftest.
$ac_ext
15643 cat >>conftest.
$ac_ext <<_ACEOF
15644 /* end confdefs.h. */
15645 #include <sys/types.h>
15646 #include <sys/time.h>
15652 if ((struct tm *) 0)
15658 rm -f conftest.
$ac_objext
15659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15660 (eval $ac_compile) 2>conftest.er1
15662 grep -v '^ *+' conftest.er1
>conftest.err
15664 cat conftest.err
>&5
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); } &&
15667 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15669 (eval $ac_try) 2>&5
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); }; } &&
15673 { ac_try
='test -s conftest.$ac_objext'
15674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15675 (eval $ac_try) 2>&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); }; }; then
15679 ac_cv_header_time
=yes
15681 echo "$as_me: failed program was:" >&5
15682 sed 's/^/| /' conftest.
$ac_ext >&5
15684 ac_cv_header_time
=no
15686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15688 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
15689 echo "${ECHO_T}$ac_cv_header_time" >&6
15690 if test $ac_cv_header_time = yes; then
15692 cat >>confdefs.h
<<\_ACEOF
15693 #define TIME_WITH_SYS_TIME 1
15703 ac_header_dirent
=no
15704 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
15705 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
15706 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
15707 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
15708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15709 echo $ECHO_N "(cached) $ECHO_C" >&6
15711 cat >conftest.
$ac_ext <<_ACEOF
15714 cat confdefs.h
>>conftest.
$ac_ext
15715 cat >>conftest.
$ac_ext <<_ACEOF
15716 /* end confdefs.h. */
15717 #include <sys/types.h>
15729 rm -f conftest.
$ac_objext
15730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15731 (eval $ac_compile) 2>conftest.er1
15733 grep -v '^ *+' conftest.er1
>conftest.err
15735 cat conftest.err
>&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); } &&
15738 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15740 (eval $ac_try) 2>&5
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); }; } &&
15744 { ac_try
='test -s conftest.$ac_objext'
15745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15746 (eval $ac_try) 2>&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); }; }; then
15750 eval "$as_ac_Header=yes"
15752 echo "$as_me: failed program was:" >&5
15753 sed 's/^/| /' conftest.
$ac_ext >&5
15755 eval "$as_ac_Header=no"
15757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15760 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15762 cat >>confdefs.h
<<_ACEOF
15763 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
15766 ac_header_dirent
=$ac_hdr; break
15770 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
15771 if test $ac_header_dirent = dirent.h
; then
15772 echo "$as_me:$LINENO: checking for library containing opendir" >&5
15773 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
15774 if test "${ac_cv_search_opendir+set}" = set; then
15775 echo $ECHO_N "(cached) $ECHO_C" >&6
15777 ac_func_search_save_LIBS
=$LIBS
15778 ac_cv_search_opendir
=no
15779 cat >conftest.
$ac_ext <<_ACEOF
15782 cat confdefs.h
>>conftest.
$ac_ext
15783 cat >>conftest.
$ac_ext <<_ACEOF
15784 /* end confdefs.h. */
15786 /* Override any gcc2 internal prototype to avoid an error. */
15790 /* We use char because int might match the return type of a gcc2
15791 builtin and then its argument prototype would still apply. */
15801 rm -f conftest.
$ac_objext conftest
$ac_exeext
15802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15803 (eval $ac_link) 2>conftest.er1
15805 grep -v '^ *+' conftest.er1
>conftest.err
15807 cat conftest.err
>&5
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); } &&
15810 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15812 (eval $ac_try) 2>&5
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); }; } &&
15816 { ac_try
='test -s conftest$ac_exeext'
15817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15818 (eval $ac_try) 2>&5
15820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 (exit $ac_status); }; }; then
15822 ac_cv_search_opendir
="none required"
15824 echo "$as_me: failed program was:" >&5
15825 sed 's/^/| /' conftest.
$ac_ext >&5
15828 rm -f conftest.err conftest.
$ac_objext \
15829 conftest
$ac_exeext conftest.
$ac_ext
15830 if test "$ac_cv_search_opendir" = no
; then
15831 for ac_lib
in dir
; do
15832 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15833 cat >conftest.
$ac_ext <<_ACEOF
15836 cat confdefs.h
>>conftest.
$ac_ext
15837 cat >>conftest.
$ac_ext <<_ACEOF
15838 /* end confdefs.h. */
15840 /* Override any gcc2 internal prototype to avoid an error. */
15844 /* We use char because int might match the return type of a gcc2
15845 builtin and then its argument prototype would still apply. */
15855 rm -f conftest.
$ac_objext conftest
$ac_exeext
15856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15857 (eval $ac_link) 2>conftest.er1
15859 grep -v '^ *+' conftest.er1
>conftest.err
15861 cat conftest.err
>&5
15862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15863 (exit $ac_status); } &&
15864 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15866 (eval $ac_try) 2>&5
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); }; } &&
15870 { ac_try
='test -s conftest$ac_exeext'
15871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15872 (eval $ac_try) 2>&5
15874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15875 (exit $ac_status); }; }; then
15876 ac_cv_search_opendir
="-l$ac_lib"
15879 echo "$as_me: failed program was:" >&5
15880 sed 's/^/| /' conftest.
$ac_ext >&5
15883 rm -f conftest.err conftest.
$ac_objext \
15884 conftest
$ac_exeext conftest.
$ac_ext
15887 LIBS
=$ac_func_search_save_LIBS
15889 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
15890 echo "${ECHO_T}$ac_cv_search_opendir" >&6
15891 if test "$ac_cv_search_opendir" != no
; then
15892 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
15897 echo "$as_me:$LINENO: checking for library containing opendir" >&5
15898 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
15899 if test "${ac_cv_search_opendir+set}" = set; then
15900 echo $ECHO_N "(cached) $ECHO_C" >&6
15902 ac_func_search_save_LIBS
=$LIBS
15903 ac_cv_search_opendir
=no
15904 cat >conftest.
$ac_ext <<_ACEOF
15907 cat confdefs.h
>>conftest.
$ac_ext
15908 cat >>conftest.
$ac_ext <<_ACEOF
15909 /* end confdefs.h. */
15911 /* Override any gcc2 internal prototype to avoid an error. */
15915 /* We use char because int might match the return type of a gcc2
15916 builtin and then its argument prototype would still apply. */
15926 rm -f conftest.
$ac_objext conftest
$ac_exeext
15927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15928 (eval $ac_link) 2>conftest.er1
15930 grep -v '^ *+' conftest.er1
>conftest.err
15932 cat conftest.err
>&5
15933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15934 (exit $ac_status); } &&
15935 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15937 (eval $ac_try) 2>&5
15939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15940 (exit $ac_status); }; } &&
15941 { ac_try
='test -s conftest$ac_exeext'
15942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15943 (eval $ac_try) 2>&5
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); }; }; then
15947 ac_cv_search_opendir
="none required"
15949 echo "$as_me: failed program was:" >&5
15950 sed 's/^/| /' conftest.
$ac_ext >&5
15953 rm -f conftest.err conftest.
$ac_objext \
15954 conftest
$ac_exeext conftest.
$ac_ext
15955 if test "$ac_cv_search_opendir" = no
; then
15956 for ac_lib
in x
; do
15957 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15958 cat >conftest.
$ac_ext <<_ACEOF
15961 cat confdefs.h
>>conftest.
$ac_ext
15962 cat >>conftest.
$ac_ext <<_ACEOF
15963 /* end confdefs.h. */
15965 /* Override any gcc2 internal prototype to avoid an error. */
15969 /* We use char because int might match the return type of a gcc2
15970 builtin and then its argument prototype would still apply. */
15980 rm -f conftest.
$ac_objext conftest
$ac_exeext
15981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15982 (eval $ac_link) 2>conftest.er1
15984 grep -v '^ *+' conftest.er1
>conftest.err
15986 cat conftest.err
>&5
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); } &&
15989 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15991 (eval $ac_try) 2>&5
15993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15994 (exit $ac_status); }; } &&
15995 { ac_try
='test -s conftest$ac_exeext'
15996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15997 (eval $ac_try) 2>&5
15999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 (exit $ac_status); }; }; then
16001 ac_cv_search_opendir
="-l$ac_lib"
16004 echo "$as_me: failed program was:" >&5
16005 sed 's/^/| /' conftest.
$ac_ext >&5
16008 rm -f conftest.err conftest.
$ac_objext \
16009 conftest
$ac_exeext conftest.
$ac_ext
16012 LIBS
=$ac_func_search_save_LIBS
16014 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
16015 echo "${ECHO_T}$ac_cv_search_opendir" >&6
16016 if test "$ac_cv_search_opendir" != no
; then
16017 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
16023 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
16024 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
16025 if test "${gcc_cv_header_string+set}" = set; then
16026 echo $ECHO_N "(cached) $ECHO_C" >&6
16028 cat >conftest.
$ac_ext <<_ACEOF
16031 cat confdefs.h
>>conftest.
$ac_ext
16032 cat >>conftest.
$ac_ext <<_ACEOF
16033 /* end confdefs.h. */
16034 #include <string.h>
16035 #include <strings.h>
16044 rm -f conftest.
$ac_objext
16045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16046 (eval $ac_compile) 2>conftest.er1
16048 grep -v '^ *+' conftest.er1
>conftest.err
16050 cat conftest.err
>&5
16051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16052 (exit $ac_status); } &&
16053 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16055 (eval $ac_try) 2>&5
16057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16058 (exit $ac_status); }; } &&
16059 { ac_try
='test -s conftest.$ac_objext'
16060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16061 (eval $ac_try) 2>&5
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); }; }; then
16065 gcc_cv_header_string
=yes
16067 echo "$as_me: failed program was:" >&5
16068 sed 's/^/| /' conftest.
$ac_ext >&5
16070 gcc_cv_header_string
=no
16072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16074 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
16075 echo "${ECHO_T}$gcc_cv_header_string" >&6
16076 if test $gcc_cv_header_string = yes; then
16078 cat >>confdefs.h
<<\_ACEOF
16079 #define STRING_WITH_STRINGS 1
16091 for ac_func
in fcntl getpagesize setitimer sysconf fdopen getuid getgid
16093 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16094 echo "$as_me:$LINENO: checking for $ac_func" >&5
16095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16096 if eval "test \"\${$as_ac_var+set}\" = set"; then
16097 echo $ECHO_N "(cached) $ECHO_C" >&6
16099 cat >conftest.
$ac_ext <<_ACEOF
16102 cat confdefs.h
>>conftest.
$ac_ext
16103 cat >>conftest.
$ac_ext <<_ACEOF
16104 /* end confdefs.h. */
16105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16107 #define $ac_func innocuous_$ac_func
16109 /* System header to define __stub macros and hopefully few prototypes,
16110 which can conflict with char $ac_func (); below.
16111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16112 <limits.h> exists even on freestanding compilers. */
16115 # include <limits.h>
16117 # include <assert.h>
16122 /* Override any gcc2 internal prototype to avoid an error. */
16127 /* We use char because int might match the return type of a gcc2
16128 builtin and then its argument prototype would still apply. */
16130 /* The GNU C library defines this for functions which it implements
16131 to always fail with ENOSYS. Some functions are actually named
16132 something starting with __ and the normal name is an alias. */
16133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16136 char (*f) () = $ac_func;
16145 return f != $ac_func;
16150 rm -f conftest.
$ac_objext conftest
$ac_exeext
16151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16152 (eval $ac_link) 2>conftest.er1
16154 grep -v '^ *+' conftest.er1
>conftest.err
16156 cat conftest.err
>&5
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); } &&
16159 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16161 (eval $ac_try) 2>&5
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); }; } &&
16165 { ac_try
='test -s conftest$ac_exeext'
16166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16167 (eval $ac_try) 2>&5
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); }; }; then
16171 eval "$as_ac_var=yes"
16173 echo "$as_me: failed program was:" >&5
16174 sed 's/^/| /' conftest.
$ac_ext >&5
16176 eval "$as_ac_var=no"
16178 rm -f conftest.err conftest.
$ac_objext \
16179 conftest
$ac_exeext conftest.
$ac_ext
16181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16183 if test `eval echo '${'$as_ac_var'}'` = yes; then
16184 cat >>confdefs.h
<<_ACEOF
16185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16192 for ac_func
in strtoull
16194 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16195 echo "$as_me:$LINENO: checking for $ac_func" >&5
16196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16197 if eval "test \"\${$as_ac_var+set}\" = set"; then
16198 echo $ECHO_N "(cached) $ECHO_C" >&6
16200 cat >conftest.
$ac_ext <<_ACEOF
16203 cat confdefs.h
>>conftest.
$ac_ext
16204 cat >>conftest.
$ac_ext <<_ACEOF
16205 /* end confdefs.h. */
16206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16208 #define $ac_func innocuous_$ac_func
16210 /* System header to define __stub macros and hopefully few prototypes,
16211 which can conflict with char $ac_func (); below.
16212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16213 <limits.h> exists even on freestanding compilers. */
16216 # include <limits.h>
16218 # include <assert.h>
16223 /* Override any gcc2 internal prototype to avoid an error. */
16228 /* We use char because int might match the return type of a gcc2
16229 builtin and then its argument prototype would still apply. */
16231 /* The GNU C library defines this for functions which it implements
16232 to always fail with ENOSYS. Some functions are actually named
16233 something starting with __ and the normal name is an alias. */
16234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16237 char (*f) () = $ac_func;
16246 return f != $ac_func;
16251 rm -f conftest.
$ac_objext conftest
$ac_exeext
16252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16253 (eval $ac_link) 2>conftest.er1
16255 grep -v '^ *+' conftest.er1
>conftest.err
16257 cat conftest.err
>&5
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); } &&
16260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16262 (eval $ac_try) 2>&5
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); }; } &&
16266 { ac_try
='test -s conftest$ac_exeext'
16267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16268 (eval $ac_try) 2>&5
16270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16271 (exit $ac_status); }; }; then
16272 eval "$as_ac_var=yes"
16274 echo "$as_me: failed program was:" >&5
16275 sed 's/^/| /' conftest.
$ac_ext >&5
16277 eval "$as_ac_var=no"
16279 rm -f conftest.err conftest.
$ac_objext \
16280 conftest
$ac_exeext conftest.
$ac_ext
16282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16284 if test `eval echo '${'$as_ac_var'}'` = yes; then
16285 cat >>confdefs.h
<<_ACEOF
16286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16293 echo "$as_me:$LINENO: checking whether basename is declared" >&5
16294 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
16295 if test "${ac_cv_have_decl_basename+set}" = set; then
16296 echo $ECHO_N "(cached) $ECHO_C" >&6
16298 cat >conftest.
$ac_ext <<_ACEOF
16301 cat confdefs.h
>>conftest.
$ac_ext
16302 cat >>conftest.
$ac_ext <<_ACEOF
16303 /* end confdefs.h. */
16304 $ac_includes_default
16309 char *p = (char *) basename;
16316 rm -f conftest.
$ac_objext
16317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16318 (eval $ac_compile) 2>conftest.er1
16320 grep -v '^ *+' conftest.er1
>conftest.err
16322 cat conftest.err
>&5
16323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16324 (exit $ac_status); } &&
16325 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16327 (eval $ac_try) 2>&5
16329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16330 (exit $ac_status); }; } &&
16331 { ac_try
='test -s conftest.$ac_objext'
16332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16333 (eval $ac_try) 2>&5
16335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16336 (exit $ac_status); }; }; then
16337 ac_cv_have_decl_basename
=yes
16339 echo "$as_me: failed program was:" >&5
16340 sed 's/^/| /' conftest.
$ac_ext >&5
16342 ac_cv_have_decl_basename
=no
16344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16346 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
16347 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
16348 if test $ac_cv_have_decl_basename = yes; then
16350 cat >>confdefs.h
<<_ACEOF
16351 #define HAVE_DECL_BASENAME 1
16356 cat >>confdefs.h
<<_ACEOF
16357 #define HAVE_DECL_BASENAME 0
16364 echo "$as_me:$LINENO: checking whether ftello is declared" >&5
16365 echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6
16366 if test "${ac_cv_have_decl_ftello+set}" = set; then
16367 echo $ECHO_N "(cached) $ECHO_C" >&6
16369 cat >conftest.
$ac_ext <<_ACEOF
16372 cat confdefs.h
>>conftest.
$ac_ext
16373 cat >>conftest.
$ac_ext <<_ACEOF
16374 /* end confdefs.h. */
16375 $ac_includes_default
16380 char *p = (char *) ftello;
16387 rm -f conftest.
$ac_objext
16388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16389 (eval $ac_compile) 2>conftest.er1
16391 grep -v '^ *+' conftest.er1
>conftest.err
16393 cat conftest.err
>&5
16394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16395 (exit $ac_status); } &&
16396 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16398 (eval $ac_try) 2>&5
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); }; } &&
16402 { ac_try
='test -s conftest.$ac_objext'
16403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16404 (eval $ac_try) 2>&5
16406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407 (exit $ac_status); }; }; then
16408 ac_cv_have_decl_ftello
=yes
16410 echo "$as_me: failed program was:" >&5
16411 sed 's/^/| /' conftest.
$ac_ext >&5
16413 ac_cv_have_decl_ftello
=no
16415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16417 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
16418 echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6
16419 if test $ac_cv_have_decl_ftello = yes; then
16421 cat >>confdefs.h
<<_ACEOF
16422 #define HAVE_DECL_FTELLO 1
16427 cat >>confdefs.h
<<_ACEOF
16428 #define HAVE_DECL_FTELLO 0
16435 echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
16436 echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6
16437 if test "${ac_cv_have_decl_ftello64+set}" = set; then
16438 echo $ECHO_N "(cached) $ECHO_C" >&6
16440 cat >conftest.
$ac_ext <<_ACEOF
16443 cat confdefs.h
>>conftest.
$ac_ext
16444 cat >>conftest.
$ac_ext <<_ACEOF
16445 /* end confdefs.h. */
16446 $ac_includes_default
16451 char *p = (char *) ftello64;
16458 rm -f conftest.
$ac_objext
16459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16460 (eval $ac_compile) 2>conftest.er1
16462 grep -v '^ *+' conftest.er1
>conftest.err
16464 cat conftest.err
>&5
16465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466 (exit $ac_status); } &&
16467 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16469 (eval $ac_try) 2>&5
16471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16472 (exit $ac_status); }; } &&
16473 { ac_try
='test -s conftest.$ac_objext'
16474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16475 (eval $ac_try) 2>&5
16477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16478 (exit $ac_status); }; }; then
16479 ac_cv_have_decl_ftello64
=yes
16481 echo "$as_me: failed program was:" >&5
16482 sed 's/^/| /' conftest.
$ac_ext >&5
16484 ac_cv_have_decl_ftello64
=no
16486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16488 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
16489 echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6
16490 if test $ac_cv_have_decl_ftello64 = yes; then
16492 cat >>confdefs.h
<<_ACEOF
16493 #define HAVE_DECL_FTELLO64 1
16498 cat >>confdefs.h
<<_ACEOF
16499 #define HAVE_DECL_FTELLO64 0
16506 echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
16507 echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6
16508 if test "${ac_cv_have_decl_fseeko+set}" = set; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16511 cat >conftest.
$ac_ext <<_ACEOF
16514 cat confdefs.h
>>conftest.
$ac_ext
16515 cat >>conftest.
$ac_ext <<_ACEOF
16516 /* end confdefs.h. */
16517 $ac_includes_default
16522 char *p = (char *) fseeko;
16529 rm -f conftest.
$ac_objext
16530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16531 (eval $ac_compile) 2>conftest.er1
16533 grep -v '^ *+' conftest.er1
>conftest.err
16535 cat conftest.err
>&5
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); } &&
16538 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16540 (eval $ac_try) 2>&5
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); }; } &&
16544 { ac_try
='test -s conftest.$ac_objext'
16545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16546 (eval $ac_try) 2>&5
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); }; }; then
16550 ac_cv_have_decl_fseeko
=yes
16552 echo "$as_me: failed program was:" >&5
16553 sed 's/^/| /' conftest.
$ac_ext >&5
16555 ac_cv_have_decl_fseeko
=no
16557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16559 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
16560 echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6
16561 if test $ac_cv_have_decl_fseeko = yes; then
16563 cat >>confdefs.h
<<_ACEOF
16564 #define HAVE_DECL_FSEEKO 1
16569 cat >>confdefs.h
<<_ACEOF
16570 #define HAVE_DECL_FSEEKO 0
16577 echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
16578 echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6
16579 if test "${ac_cv_have_decl_fseeko64+set}" = set; then
16580 echo $ECHO_N "(cached) $ECHO_C" >&6
16582 cat >conftest.
$ac_ext <<_ACEOF
16585 cat confdefs.h
>>conftest.
$ac_ext
16586 cat >>conftest.
$ac_ext <<_ACEOF
16587 /* end confdefs.h. */
16588 $ac_includes_default
16593 char *p = (char *) fseeko64;
16600 rm -f conftest.
$ac_objext
16601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16602 (eval $ac_compile) 2>conftest.er1
16604 grep -v '^ *+' conftest.er1
>conftest.err
16606 cat conftest.err
>&5
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); } &&
16609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16611 (eval $ac_try) 2>&5
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); }; } &&
16615 { ac_try
='test -s conftest.$ac_objext'
16616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16617 (eval $ac_try) 2>&5
16619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620 (exit $ac_status); }; }; then
16621 ac_cv_have_decl_fseeko64
=yes
16623 echo "$as_me: failed program was:" >&5
16624 sed 's/^/| /' conftest.
$ac_ext >&5
16626 ac_cv_have_decl_fseeko64
=no
16628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16630 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
16631 echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6
16632 if test $ac_cv_have_decl_fseeko64 = yes; then
16634 cat >>confdefs.h
<<_ACEOF
16635 #define HAVE_DECL_FSEEKO64 1
16640 cat >>confdefs.h
<<_ACEOF
16641 #define HAVE_DECL_FSEEKO64 0
16651 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
16653 cat >>confdefs.h
<<\_ACEOF
16654 #define USE_BINARY_FOPEN 1
16659 echo "$as_me:$LINENO: checking whether ffs is declared" >&5
16660 echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
16661 if test "${ac_cv_have_decl_ffs+set}" = set; then
16662 echo $ECHO_N "(cached) $ECHO_C" >&6
16664 cat >conftest.
$ac_ext <<_ACEOF
16667 cat confdefs.h
>>conftest.
$ac_ext
16668 cat >>conftest.
$ac_ext <<_ACEOF
16669 /* end confdefs.h. */
16670 $ac_includes_default
16675 char *p = (char *) ffs;
16682 rm -f conftest.
$ac_objext
16683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16684 (eval $ac_compile) 2>conftest.er1
16686 grep -v '^ *+' conftest.er1
>conftest.err
16688 cat conftest.err
>&5
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); } &&
16691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16693 (eval $ac_try) 2>&5
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); }; } &&
16697 { ac_try
='test -s conftest.$ac_objext'
16698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16699 (eval $ac_try) 2>&5
16701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702 (exit $ac_status); }; }; then
16703 ac_cv_have_decl_ffs
=yes
16705 echo "$as_me: failed program was:" >&5
16706 sed 's/^/| /' conftest.
$ac_ext >&5
16708 ac_cv_have_decl_ffs
=no
16710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16712 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
16713 echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
16714 if test $ac_cv_have_decl_ffs = yes; then
16716 cat >>confdefs.h
<<_ACEOF
16717 #define HAVE_DECL_FFS 1
16722 cat >>confdefs.h
<<_ACEOF
16723 #define HAVE_DECL_FFS 0
16730 echo "$as_me:$LINENO: checking whether free is declared" >&5
16731 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
16732 if test "${ac_cv_have_decl_free+set}" = set; then
16733 echo $ECHO_N "(cached) $ECHO_C" >&6
16735 cat >conftest.
$ac_ext <<_ACEOF
16738 cat confdefs.h
>>conftest.
$ac_ext
16739 cat >>conftest.
$ac_ext <<_ACEOF
16740 /* end confdefs.h. */
16741 $ac_includes_default
16746 char *p = (char *) free;
16753 rm -f conftest.
$ac_objext
16754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16755 (eval $ac_compile) 2>conftest.er1
16757 grep -v '^ *+' conftest.er1
>conftest.err
16759 cat conftest.err
>&5
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); } &&
16762 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16764 (eval $ac_try) 2>&5
16766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16767 (exit $ac_status); }; } &&
16768 { ac_try
='test -s conftest.$ac_objext'
16769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16770 (eval $ac_try) 2>&5
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); }; }; then
16774 ac_cv_have_decl_free
=yes
16776 echo "$as_me: failed program was:" >&5
16777 sed 's/^/| /' conftest.
$ac_ext >&5
16779 ac_cv_have_decl_free
=no
16781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16783 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
16784 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
16785 if test $ac_cv_have_decl_free = yes; then
16787 cat >>confdefs.h
<<_ACEOF
16788 #define HAVE_DECL_FREE 1
16793 cat >>confdefs.h
<<_ACEOF
16794 #define HAVE_DECL_FREE 0
16801 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
16802 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
16803 if test "${ac_cv_have_decl_getenv+set}" = set; then
16804 echo $ECHO_N "(cached) $ECHO_C" >&6
16806 cat >conftest.
$ac_ext <<_ACEOF
16809 cat confdefs.h
>>conftest.
$ac_ext
16810 cat >>conftest.
$ac_ext <<_ACEOF
16811 /* end confdefs.h. */
16812 $ac_includes_default
16817 char *p = (char *) getenv;
16824 rm -f conftest.
$ac_objext
16825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16826 (eval $ac_compile) 2>conftest.er1
16828 grep -v '^ *+' conftest.er1
>conftest.err
16830 cat conftest.err
>&5
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); } &&
16833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16835 (eval $ac_try) 2>&5
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); }; } &&
16839 { ac_try
='test -s conftest.$ac_objext'
16840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16841 (eval $ac_try) 2>&5
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); }; }; then
16845 ac_cv_have_decl_getenv
=yes
16847 echo "$as_me: failed program was:" >&5
16848 sed 's/^/| /' conftest.
$ac_ext >&5
16850 ac_cv_have_decl_getenv
=no
16852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16854 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
16855 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
16856 if test $ac_cv_have_decl_getenv = yes; then
16858 cat >>confdefs.h
<<_ACEOF
16859 #define HAVE_DECL_GETENV 1
16864 cat >>confdefs.h
<<_ACEOF
16865 #define HAVE_DECL_GETENV 0
16872 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
16873 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
16874 if test "${ac_cv_have_decl_malloc+set}" = set; then
16875 echo $ECHO_N "(cached) $ECHO_C" >&6
16877 cat >conftest.
$ac_ext <<_ACEOF
16880 cat confdefs.h
>>conftest.
$ac_ext
16881 cat >>conftest.
$ac_ext <<_ACEOF
16882 /* end confdefs.h. */
16883 $ac_includes_default
16888 char *p = (char *) malloc;
16895 rm -f conftest.
$ac_objext
16896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16897 (eval $ac_compile) 2>conftest.er1
16899 grep -v '^ *+' conftest.er1
>conftest.err
16901 cat conftest.err
>&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); } &&
16904 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16906 (eval $ac_try) 2>&5
16908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16909 (exit $ac_status); }; } &&
16910 { ac_try
='test -s conftest.$ac_objext'
16911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16912 (eval $ac_try) 2>&5
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); }; }; then
16916 ac_cv_have_decl_malloc
=yes
16918 echo "$as_me: failed program was:" >&5
16919 sed 's/^/| /' conftest.
$ac_ext >&5
16921 ac_cv_have_decl_malloc
=no
16923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16925 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
16926 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
16927 if test $ac_cv_have_decl_malloc = yes; then
16929 cat >>confdefs.h
<<_ACEOF
16930 #define HAVE_DECL_MALLOC 1
16935 cat >>confdefs.h
<<_ACEOF
16936 #define HAVE_DECL_MALLOC 0
16943 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
16944 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
16945 if test "${ac_cv_have_decl_realloc+set}" = set; then
16946 echo $ECHO_N "(cached) $ECHO_C" >&6
16948 cat >conftest.
$ac_ext <<_ACEOF
16951 cat confdefs.h
>>conftest.
$ac_ext
16952 cat >>conftest.
$ac_ext <<_ACEOF
16953 /* end confdefs.h. */
16954 $ac_includes_default
16959 char *p = (char *) realloc;
16966 rm -f conftest.
$ac_objext
16967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16968 (eval $ac_compile) 2>conftest.er1
16970 grep -v '^ *+' conftest.er1
>conftest.err
16972 cat conftest.err
>&5
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); } &&
16975 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16977 (eval $ac_try) 2>&5
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); }; } &&
16981 { ac_try
='test -s conftest.$ac_objext'
16982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16983 (eval $ac_try) 2>&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); }; }; then
16987 ac_cv_have_decl_realloc
=yes
16989 echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.
$ac_ext >&5
16992 ac_cv_have_decl_realloc
=no
16994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16996 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
16997 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
16998 if test $ac_cv_have_decl_realloc = yes; then
17000 cat >>confdefs.h
<<_ACEOF
17001 #define HAVE_DECL_REALLOC 1
17006 cat >>confdefs.h
<<_ACEOF
17007 #define HAVE_DECL_REALLOC 0
17014 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
17015 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
17016 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
17017 echo $ECHO_N "(cached) $ECHO_C" >&6
17019 cat >conftest.
$ac_ext <<_ACEOF
17022 cat confdefs.h
>>conftest.
$ac_ext
17023 cat >>conftest.
$ac_ext <<_ACEOF
17024 /* end confdefs.h. */
17025 $ac_includes_default
17030 char *p = (char *) stpcpy;
17037 rm -f conftest.
$ac_objext
17038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17039 (eval $ac_compile) 2>conftest.er1
17041 grep -v '^ *+' conftest.er1
>conftest.err
17043 cat conftest.err
>&5
17044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17045 (exit $ac_status); } &&
17046 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17048 (eval $ac_try) 2>&5
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); }; } &&
17052 { ac_try
='test -s conftest.$ac_objext'
17053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17054 (eval $ac_try) 2>&5
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); }; }; then
17058 ac_cv_have_decl_stpcpy
=yes
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.
$ac_ext >&5
17063 ac_cv_have_decl_stpcpy
=no
17065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17067 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
17068 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
17069 if test $ac_cv_have_decl_stpcpy = yes; then
17071 cat >>confdefs.h
<<_ACEOF
17072 #define HAVE_DECL_STPCPY 1
17077 cat >>confdefs.h
<<_ACEOF
17078 #define HAVE_DECL_STPCPY 0
17085 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
17086 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
17087 if test "${ac_cv_have_decl_strstr+set}" = set; then
17088 echo $ECHO_N "(cached) $ECHO_C" >&6
17090 cat >conftest.
$ac_ext <<_ACEOF
17093 cat confdefs.h
>>conftest.
$ac_ext
17094 cat >>conftest.
$ac_ext <<_ACEOF
17095 /* end confdefs.h. */
17096 $ac_includes_default
17101 char *p = (char *) strstr;
17108 rm -f conftest.
$ac_objext
17109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17110 (eval $ac_compile) 2>conftest.er1
17112 grep -v '^ *+' conftest.er1
>conftest.err
17114 cat conftest.err
>&5
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); } &&
17117 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17119 (eval $ac_try) 2>&5
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); }; } &&
17123 { ac_try
='test -s conftest.$ac_objext'
17124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17125 (eval $ac_try) 2>&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); }; }; then
17129 ac_cv_have_decl_strstr
=yes
17131 echo "$as_me: failed program was:" >&5
17132 sed 's/^/| /' conftest.
$ac_ext >&5
17134 ac_cv_have_decl_strstr
=no
17136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17138 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
17139 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
17140 if test $ac_cv_have_decl_strstr = yes; then
17142 cat >>confdefs.h
<<_ACEOF
17143 #define HAVE_DECL_STRSTR 1
17148 cat >>confdefs.h
<<_ACEOF
17149 #define HAVE_DECL_STRSTR 0
17156 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
17157 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
17158 if test "${ac_cv_have_decl_snprintf+set}" = set; then
17159 echo $ECHO_N "(cached) $ECHO_C" >&6
17161 cat >conftest.
$ac_ext <<_ACEOF
17164 cat confdefs.h
>>conftest.
$ac_ext
17165 cat >>conftest.
$ac_ext <<_ACEOF
17166 /* end confdefs.h. */
17167 $ac_includes_default
17172 char *p = (char *) snprintf;
17179 rm -f conftest.
$ac_objext
17180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17181 (eval $ac_compile) 2>conftest.er1
17183 grep -v '^ *+' conftest.er1
>conftest.err
17185 cat conftest.err
>&5
17186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187 (exit $ac_status); } &&
17188 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17190 (eval $ac_try) 2>&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); }; } &&
17194 { ac_try
='test -s conftest.$ac_objext'
17195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196 (eval $ac_try) 2>&5
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; }; then
17200 ac_cv_have_decl_snprintf
=yes
17202 echo "$as_me: failed program was:" >&5
17203 sed 's/^/| /' conftest.
$ac_ext >&5
17205 ac_cv_have_decl_snprintf
=no
17207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17209 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
17210 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
17211 if test $ac_cv_have_decl_snprintf = yes; then
17213 cat >>confdefs.h
<<_ACEOF
17214 #define HAVE_DECL_SNPRINTF 1
17219 cat >>confdefs.h
<<_ACEOF
17220 #define HAVE_DECL_SNPRINTF 0
17227 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
17228 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
17229 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
17230 echo $ECHO_N "(cached) $ECHO_C" >&6
17232 cat >conftest.
$ac_ext <<_ACEOF
17235 cat confdefs.h
>>conftest.
$ac_ext
17236 cat >>conftest.
$ac_ext <<_ACEOF
17237 /* end confdefs.h. */
17238 $ac_includes_default
17243 char *p = (char *) vsnprintf;
17250 rm -f conftest.
$ac_objext
17251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17252 (eval $ac_compile) 2>conftest.er1
17254 grep -v '^ *+' conftest.er1
>conftest.err
17256 cat conftest.err
>&5
17257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17258 (exit $ac_status); } &&
17259 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17261 (eval $ac_try) 2>&5
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); }; } &&
17265 { ac_try
='test -s conftest.$ac_objext'
17266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17267 (eval $ac_try) 2>&5
17269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270 (exit $ac_status); }; }; then
17271 ac_cv_have_decl_vsnprintf
=yes
17273 echo "$as_me: failed program was:" >&5
17274 sed 's/^/| /' conftest.
$ac_ext >&5
17276 ac_cv_have_decl_vsnprintf
=no
17278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17280 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
17281 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
17282 if test $ac_cv_have_decl_vsnprintf = yes; then
17284 cat >>confdefs.h
<<_ACEOF
17285 #define HAVE_DECL_VSNPRINTF 1
17290 cat >>confdefs.h
<<_ACEOF
17291 #define HAVE_DECL_VSNPRINTF 0
17299 # Link in zlib if we can. This allows us to read compressed debug sections.
17300 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
17301 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
17302 if test "${ac_cv_search_zlibVersion+set}" = set; then
17303 echo $ECHO_N "(cached) $ECHO_C" >&6
17305 ac_func_search_save_LIBS
=$LIBS
17306 ac_cv_search_zlibVersion
=no
17307 cat >conftest.
$ac_ext <<_ACEOF
17310 cat confdefs.h
>>conftest.
$ac_ext
17311 cat >>conftest.
$ac_ext <<_ACEOF
17312 /* end confdefs.h. */
17314 /* Override any gcc2 internal prototype to avoid an error. */
17318 /* We use char because int might match the return type of a gcc2
17319 builtin and then its argument prototype would still apply. */
17320 char zlibVersion ();
17329 rm -f conftest.
$ac_objext conftest
$ac_exeext
17330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17331 (eval $ac_link) 2>conftest.er1
17333 grep -v '^ *+' conftest.er1
>conftest.err
17335 cat conftest.err
>&5
17336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17337 (exit $ac_status); } &&
17338 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17340 (eval $ac_try) 2>&5
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); }; } &&
17344 { ac_try
='test -s conftest$ac_exeext'
17345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17346 (eval $ac_try) 2>&5
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); }; }; then
17350 ac_cv_search_zlibVersion
="none required"
17352 echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.
$ac_ext >&5
17356 rm -f conftest.err conftest.
$ac_objext \
17357 conftest
$ac_exeext conftest.
$ac_ext
17358 if test "$ac_cv_search_zlibVersion" = no
; then
17359 for ac_lib
in z
; do
17360 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17361 cat >conftest.
$ac_ext <<_ACEOF
17364 cat confdefs.h
>>conftest.
$ac_ext
17365 cat >>conftest.
$ac_ext <<_ACEOF
17366 /* end confdefs.h. */
17368 /* Override any gcc2 internal prototype to avoid an error. */
17372 /* We use char because int might match the return type of a gcc2
17373 builtin and then its argument prototype would still apply. */
17374 char zlibVersion ();
17383 rm -f conftest.
$ac_objext conftest
$ac_exeext
17384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17385 (eval $ac_link) 2>conftest.er1
17387 grep -v '^ *+' conftest.er1
>conftest.err
17389 cat conftest.err
>&5
17390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17391 (exit $ac_status); } &&
17392 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17394 (eval $ac_try) 2>&5
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); }; } &&
17398 { ac_try
='test -s conftest$ac_exeext'
17399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400 (eval $ac_try) 2>&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); }; }; then
17404 ac_cv_search_zlibVersion
="-l$ac_lib"
17407 echo "$as_me: failed program was:" >&5
17408 sed 's/^/| /' conftest.
$ac_ext >&5
17411 rm -f conftest.err conftest.
$ac_objext \
17412 conftest
$ac_exeext conftest.
$ac_ext
17415 LIBS
=$ac_func_search_save_LIBS
17417 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
17418 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
17419 if test "$ac_cv_search_zlibVersion" != no
; then
17420 test "$ac_cv_search_zlibVersion" = "none required" || LIBS
="$ac_cv_search_zlibVersion $LIBS"
17422 for ac_header
in zlib.h
17424 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17426 echo "$as_me:$LINENO: checking for $ac_header" >&5
17427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17429 echo $ECHO_N "(cached) $ECHO_C" >&6
17431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17432 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17434 # Is the header compilable?
17435 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17436 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17437 cat >conftest.
$ac_ext <<_ACEOF
17440 cat confdefs.h
>>conftest.
$ac_ext
17441 cat >>conftest.
$ac_ext <<_ACEOF
17442 /* end confdefs.h. */
17443 $ac_includes_default
17444 #include <$ac_header>
17446 rm -f conftest.
$ac_objext
17447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17448 (eval $ac_compile) 2>conftest.er1
17450 grep -v '^ *+' conftest.er1
>conftest.err
17452 cat conftest.err
>&5
17453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454 (exit $ac_status); } &&
17455 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17457 (eval $ac_try) 2>&5
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); }; } &&
17461 { ac_try
='test -s conftest.$ac_objext'
17462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17463 (eval $ac_try) 2>&5
17465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466 (exit $ac_status); }; }; then
17467 ac_header_compiler
=yes
17469 echo "$as_me: failed program was:" >&5
17470 sed 's/^/| /' conftest.
$ac_ext >&5
17472 ac_header_compiler
=no
17474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17475 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17476 echo "${ECHO_T}$ac_header_compiler" >&6
17478 # Is the header present?
17479 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17480 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17481 cat >conftest.
$ac_ext <<_ACEOF
17484 cat confdefs.h
>>conftest.
$ac_ext
17485 cat >>conftest.
$ac_ext <<_ACEOF
17486 /* end confdefs.h. */
17487 #include <$ac_header>
17489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17490 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17492 grep -v '^ *+' conftest.er1
>conftest.err
17494 cat conftest.err
>&5
17495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17496 (exit $ac_status); } >/dev
/null
; then
17497 if test -s conftest.err
; then
17498 ac_cpp_err
=$ac_c_preproc_warn_flag
17499 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17506 if test -z "$ac_cpp_err"; then
17507 ac_header_preproc
=yes
17509 echo "$as_me: failed program was:" >&5
17510 sed 's/^/| /' conftest.
$ac_ext >&5
17512 ac_header_preproc
=no
17514 rm -f conftest.err conftest.
$ac_ext
17515 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17516 echo "${ECHO_T}$ac_header_preproc" >&6
17518 # So? What about this header?
17519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17521 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17522 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17524 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17525 ac_header_preproc
=yes
17528 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17529 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17530 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17531 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17532 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17533 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17534 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17535 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17537 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17538 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17539 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17542 ## ------------------------------------------ ##
17543 ## Report this to the AC_PACKAGE_NAME lists. ##
17544 ## ------------------------------------------ ##
17547 sed "s/^/$as_me: WARNING: /" >&2
17550 echo "$as_me:$LINENO: checking for $ac_header" >&5
17551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17553 echo $ECHO_N "(cached) $ECHO_C" >&6
17555 eval "$as_ac_Header=\$ac_header_preproc"
17557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17561 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17562 cat >>confdefs.h
<<_ACEOF
17563 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17573 # If we are configured native, pick a core file support file.
17577 if test "${target}" = "${host}"; then
17579 alpha
*-*-freebsd* | alpha
*-*-kfreebsd*-gnu)
17583 COREFILE
=trad-core.lo
17584 TRAD_HEADER
='"hosts/alphalinux.h"'
17586 alpha
*-*-netbsd* | alpha
*-*-openbsd*)
17587 COREFILE
=netbsd-core.lo
17589 alpha
*-*-*) COREFILE
=osf-core.lo
;;
17590 arm-
*-freebsd* | arm-
*-kfreebsd*-gnu)
17592 arm-
*-netbsd* | arm-
*-openbsd*)
17593 COREFILE
=netbsd-core.lo
17595 arm-
*-riscix) COREFILE
=trad-core.lo
;;
17596 hppa
*-*-hpux*) COREFILE
=hpux-core.lo
;;
17597 hppa
*-*-hiux*) COREFILE
=hpux-core.lo
;;
17598 hppa
*-*-mpeix*) COREFILE
=hpux-core.lo
;;
17599 hppa
*-*-bsd*) COREFILE
="hpux-core.lo hppabsd-core.lo"
17600 COREFLAG
="-DHPUX_CORE -DHPPABSD_CORE" ;;
17601 hppa
*-*-netbsd* | hppa
*-*-openbsd*)
17602 COREFILE
=netbsd-core.lo
17606 COREFILE
=trad-core.lo
17607 TRAD_HEADER
='"hosts/i370linux.h"'
17610 i
[3-7]86-sequent-bsd*)
17611 COREFILE
=trad-core.lo
17612 TRAD_HEADER
='"hosts/symmetry.h"'
17614 i
[3-7]86-sequent-sysv4*) ;;
17615 i
[3-7]86-sequent-sysv*)
17616 COREFILE
=trad-core.lo
17617 TRAD_HEADER
='"hosts/symmetry.h"'
17622 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
*)
17623 COREFILE
=trad-core.lo
17624 TRAD_HEADER
='"hosts/i386bsd.h"'
17626 i
[3-7]86-*-freebsd* | i
[3-7]86-*-kfreebsd*-gnu | i
[3-7]86-*-dragonfly*)
17628 TRAD_HEADER
='"hosts/i386bsd.h"'
17630 i
[3-7]86-*-netbsd* | i
[3-7]86-*-knetbsd*-gnu | i
[3-7]86-*-openbsd*)
17631 COREFILE
=netbsd-core.lo
17633 i
[3-7]86-esix-sysv3*)
17634 COREFILE
=trad-core.lo
17635 TRAD_HEADER
='"hosts/esix.h"'
17637 i
[3-7]86-*-sco3.2v5
*)
17638 COREFILE
=sco5-core.lo
17640 i
[3-7]86-*-sco* | i
[3-7]86-*-isc*)
17641 COREFILE
=trad-core.lo
17642 TRAD_HEADER
='"hosts/i386sco.h"'
17645 COREFILE
=trad-core.lo
17646 TRAD_HEADER
='"hosts/i386mach3.h"'
17648 i
[3-7]86-*-linux-*)
17649 COREFILE
=trad-core.lo
17650 TRAD_HEADER
='"hosts/i386linux.h"'
17652 i
[3-7]86-*-isc*) COREFILE
=trad-core.lo
;;
17653 i
[3-7]86-*-aix*) COREFILE
=aix386-core.lo
;;
17654 i860-
*-mach3* | i860-
*-osf1*)
17655 COREFILE
=trad-core.lo
17656 TRAD_HEADER
='"hosts/i860mach3.h"'
17658 mips-
*-netbsd* | mips
*-*-openbsd*)
17659 COREFILE
=netbsd-core.lo
17662 COREFILE
=trad-core.lo
17663 TRAD_HEADER
='"hosts/decstation.h"'
17665 mips-sgi-irix4
*) COREFILE
=irix-core.lo
;;
17666 mips-sgi-irix5
*) COREFILE
=irix-core.lo
;;
17667 mips-sgi-irix6
*) COREFILE
=irix-core.lo
;;
17669 mips-
*-sysv* | mips-
*-riscos*)
17670 COREFILE
=trad-core.lo
17671 TRAD_HEADER
='"hosts/riscos.h"'
17674 COREFILE
=trad-core.lo
17675 TRAD_HEADER
='"hosts/news-mips.h"'
17678 COREFILE
=trad-core.lo
17679 TRAD_HEADER
='"hosts/dpx2.h"'
17681 m68
*-hp-hpux*) COREFILE
=hpux-core.lo
;;
17683 COREFILE
=trad-core.lo
17684 TRAD_HEADER
='"hosts/hp300bsd.h"'
17687 COREFILE
=trad-core.lo
17688 TRAD_HEADER
='"hosts/m68klinux.h"'
17690 m68
*-motorola-sysv*)
17691 COREFILE
=trad-core.lo
17692 TRAD_HEADER
='"hosts/delta68.h"'
17695 COREFILE
=trad-core.lo
17696 TRAD_HEADER
='"hosts/news.h"'
17698 m68
*-*-netbsd* | m68
*-*-openbsd*)
17699 COREFILE
=netbsd-core.lo
17702 COREFILE
=trad-core.lo
17703 TRAD_HEADER
='"hosts/m68kaux.h"'
17707 m88
*-motorola-sysv*)
17708 COREFILE
=ptrace-core.lo
17711 COREFILE
=trad-core.lo
17712 TRAD_HEADER
='"hosts/m88kmach3.h"'
17715 COREFILE
=netbsd-core.lo
17718 COREFILE
=trad-core.lo
17719 TRAD_HEADER
='"hosts/pc532mach.h"'
17721 ns32k-
*-netbsd* | ns32k-
*-openbsd*)
17722 COREFILE
=netbsd-core.lo
17725 COREFILE
=lynx-core.lo
17727 rs6000-
*-aix5.
* | powerpc-
*-aix5.
*)
17728 COREFILE
=rs6000-core.lo
17729 COREFLAG
="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
17731 rs6000-
*-aix4.
[3-9]* | powerpc-
*-aix4.
[3-9]*)
17732 COREFILE
=rs6000-core.lo
17733 COREFLAG
="$COREFLAG -DAIX_CORE_DUMPX_CORE"
17734 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
17735 # have c_impl as a member of struct core_dumpx
17736 echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
17737 echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
17738 cat >conftest.
$ac_ext <<_ACEOF
17741 cat confdefs.h
>>conftest.
$ac_ext
17742 cat >>conftest.
$ac_ext <<_ACEOF
17743 /* end confdefs.h. */
17748 struct core_dumpx c; c.c_impl = 0;
17753 rm -f conftest.
$ac_objext
17754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17755 (eval $ac_compile) 2>conftest.er1
17757 grep -v '^ *+' conftest.er1
>conftest.err
17759 cat conftest.err
>&5
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); } &&
17762 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17764 (eval $ac_try) 2>&5
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); }; } &&
17768 { ac_try
='test -s conftest.$ac_objext'
17769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17770 (eval $ac_try) 2>&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); }; }; then
17775 cat >>confdefs.h
<<\_ACEOF
17776 #define HAVE_ST_C_IMPL 1
17779 echo "$as_me:$LINENO: result: yes" >&5
17780 echo "${ECHO_T}yes" >&6
17782 echo "$as_me: failed program was:" >&5
17783 sed 's/^/| /' conftest.
$ac_ext >&5
17785 echo "$as_me:$LINENO: result: no" >&5
17786 echo "${ECHO_T}no" >&6
17788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17790 rs6000-
*-aix4*) COREFILE
=rs6000-core.lo
;;
17791 rs6000-
*-*) COREFILE
=rs6000-core.lo
;;
17792 powerpc-
*-aix4*) COREFILE
=rs6000-core.lo
;;
17793 powerpc-
*-aix*) COREFILE
=rs6000-core.lo
;;
17794 powerpc-
*-beos*) ;;
17795 powerpc-
*-freebsd* | powerpc-
*-kfreebsd*-gnu)
17797 powerpc-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
17798 powerpc-
*-*bsd
*) COREFILE
=netbsd-core.lo
;;
17799 s390
*-*-*) COREFILE
=trad-core.lo
;;
17800 sh
*-*-netbsd* | sh
*-*-openbsd*)
17801 COREFILE
=netbsd-core.lo
17803 sparc-
*-netbsd* | sparc
*-*-openbsd*)
17804 COREFILE
=netbsd-core.lo
17807 COREFILE
=trad-core.lo
17808 TRAD_HEADER
='"hosts/tahoe.h"'
17810 vax-
*-netbsd* | vax-
*-openbsd*)
17811 COREFILE
=netbsd-core.lo
17814 COREFILE
=trad-core.lo
17815 TRAD_HEADER
='"hosts/vaxult2.h"'
17818 COREFILE
=trad-core.lo
17819 TRAD_HEADER
='"hosts/vaxult2.h"'
17822 COREFILE
=trad-core.lo
17823 TRAD_HEADER
='"hosts/vaxlinux.h"'
17826 COREFILE
=trad-core.lo
17827 TRAD_HEADER
='"hosts/vaxbsd.h"'
17829 x86_64-
*-netbsd* | x86_64-
*-openbsd*)
17830 COREFILE
=netbsd-core.lo
17834 case "$COREFILE" in
17835 aix386-core.lo
) COREFLAG
=-DAIX386_CORE ;;
17836 hppabsd-core.lo
) COREFLAG
=-DHPPABSD_CORE ;;
17837 hpux-core.lo
) COREFLAG
=-DHPUX_CORE ;;
17838 irix-core.lo
) COREFLAG
=-DIRIX_CORE ;;
17839 lynx-core.lo
) COREFLAG
=-DLYNX_CORE ;;
17840 netbsd-core.lo
) COREFLAG
=-DNETBSD_CORE ;;
17841 osf-core.lo
) COREFLAG
=-DOSF_CORE ;;
17842 ptrace-core.lo
) COREFLAG
=-DPTRACE_CORE ;;
17843 rs6000-core.lo
) COREFLAG
="$COREFLAG -DAIX_CORE" ;;
17844 sco5-core.lo
) COREFLAG
="$COREFLAG -DSCO5_CORE" ;;
17845 trad-core.lo
) COREFLAG
="$COREFLAG -DTRAD_CORE" ;;
17848 # ELF corefile support has several flavors, but all of
17849 # them use something called <sys/procfs.h>
17851 for ac_header
in sys
/procfs.h
17853 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17855 echo "$as_me:$LINENO: checking for $ac_header" >&5
17856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17858 echo $ECHO_N "(cached) $ECHO_C" >&6
17860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17863 # Is the header compilable?
17864 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17865 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17866 cat >conftest.
$ac_ext <<_ACEOF
17869 cat confdefs.h
>>conftest.
$ac_ext
17870 cat >>conftest.
$ac_ext <<_ACEOF
17871 /* end confdefs.h. */
17872 $ac_includes_default
17873 #include <$ac_header>
17875 rm -f conftest.
$ac_objext
17876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17877 (eval $ac_compile) 2>conftest.er1
17879 grep -v '^ *+' conftest.er1
>conftest.err
17881 cat conftest.err
>&5
17882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17883 (exit $ac_status); } &&
17884 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17886 (eval $ac_try) 2>&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); }; } &&
17890 { ac_try
='test -s conftest.$ac_objext'
17891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17892 (eval $ac_try) 2>&5
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); }; }; then
17896 ac_header_compiler
=yes
17898 echo "$as_me: failed program was:" >&5
17899 sed 's/^/| /' conftest.
$ac_ext >&5
17901 ac_header_compiler
=no
17903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17904 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17905 echo "${ECHO_T}$ac_header_compiler" >&6
17907 # Is the header present?
17908 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17909 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17910 cat >conftest.
$ac_ext <<_ACEOF
17913 cat confdefs.h
>>conftest.
$ac_ext
17914 cat >>conftest.
$ac_ext <<_ACEOF
17915 /* end confdefs.h. */
17916 #include <$ac_header>
17918 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17919 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17921 grep -v '^ *+' conftest.er1
>conftest.err
17923 cat conftest.err
>&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); } >/dev
/null
; then
17926 if test -s conftest.err
; then
17927 ac_cpp_err
=$ac_c_preproc_warn_flag
17928 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17935 if test -z "$ac_cpp_err"; then
17936 ac_header_preproc
=yes
17938 echo "$as_me: failed program was:" >&5
17939 sed 's/^/| /' conftest.
$ac_ext >&5
17941 ac_header_preproc
=no
17943 rm -f conftest.err conftest.
$ac_ext
17944 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17945 echo "${ECHO_T}$ac_header_preproc" >&6
17947 # So? What about this header?
17948 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17950 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17951 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17952 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17953 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17954 ac_header_preproc
=yes
17957 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17958 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17959 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17960 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17961 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17962 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17963 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17964 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17965 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17966 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17967 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17968 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17971 ## ------------------------------------------ ##
17972 ## Report this to the AC_PACKAGE_NAME lists. ##
17973 ## ------------------------------------------ ##
17976 sed "s/^/$as_me: WARNING: /" >&2
17979 echo "$as_me:$LINENO: checking for $ac_header" >&5
17980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17982 echo $ECHO_N "(cached) $ECHO_C" >&6
17984 eval "$as_ac_Header=\$ac_header_preproc"
17986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17990 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17991 cat >>confdefs.h
<<_ACEOF
17992 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17999 if test "$ac_cv_header_sys_procfs_h" = yes; then
18000 echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
18001 echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
18002 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
18003 echo $ECHO_N "(cached) $ECHO_C" >&6
18005 cat >conftest.
$ac_ext <<_ACEOF
18008 cat confdefs.h
>>conftest.
$ac_ext
18009 cat >>conftest.
$ac_ext <<_ACEOF
18010 /* end confdefs.h. */
18013 #include <sys/procfs.h>
18022 rm -f conftest.
$ac_objext
18023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18024 (eval $ac_compile) 2>conftest.er1
18026 grep -v '^ *+' conftest.er1
>conftest.err
18028 cat conftest.err
>&5
18029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18030 (exit $ac_status); } &&
18031 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18033 (eval $ac_try) 2>&5
18035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18036 (exit $ac_status); }; } &&
18037 { ac_try
='test -s conftest.$ac_objext'
18038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18039 (eval $ac_try) 2>&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); }; }; then
18043 bfd_cv_have_sys_procfs_type_prstatus_t
=yes
18045 echo "$as_me: failed program was:" >&5
18046 sed 's/^/| /' conftest.
$ac_ext >&5
18048 bfd_cv_have_sys_procfs_type_prstatus_t
=no
18051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18054 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
18056 cat >>confdefs.h
<<\_ACEOF
18057 #define HAVE_PRSTATUS_T 1
18061 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
18062 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
18064 echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
18065 echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
18066 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
18067 echo $ECHO_N "(cached) $ECHO_C" >&6
18069 cat >conftest.
$ac_ext <<_ACEOF
18072 cat confdefs.h
>>conftest.
$ac_ext
18073 cat >>conftest.
$ac_ext <<_ACEOF
18074 /* end confdefs.h. */
18077 #include <sys/procfs.h>
18086 rm -f conftest.
$ac_objext
18087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18088 (eval $ac_compile) 2>conftest.er1
18090 grep -v '^ *+' conftest.er1
>conftest.err
18092 cat conftest.err
>&5
18093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 (exit $ac_status); } &&
18095 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18097 (eval $ac_try) 2>&5
18099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18100 (exit $ac_status); }; } &&
18101 { ac_try
='test -s conftest.$ac_objext'
18102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18103 (eval $ac_try) 2>&5
18105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18106 (exit $ac_status); }; }; then
18107 bfd_cv_have_sys_procfs_type_prstatus32_t
=yes
18109 echo "$as_me: failed program was:" >&5
18110 sed 's/^/| /' conftest.
$ac_ext >&5
18112 bfd_cv_have_sys_procfs_type_prstatus32_t
=no
18115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18118 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
18120 cat >>confdefs.h
<<\_ACEOF
18121 #define HAVE_PRSTATUS32_T 1
18125 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
18126 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
18128 echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
18129 echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
18130 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
18131 echo $ECHO_N "(cached) $ECHO_C" >&6
18133 cat >conftest.
$ac_ext <<_ACEOF
18136 cat confdefs.h
>>conftest.
$ac_ext
18137 cat >>conftest.
$ac_ext <<_ACEOF
18138 /* end confdefs.h. */
18141 #include <sys/procfs.h>
18145 prstatus_t avar; void* aref = (void*) &avar.pr_who
18150 rm -f conftest.
$ac_objext
18151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18152 (eval $ac_compile) 2>conftest.er1
18154 grep -v '^ *+' conftest.er1
>conftest.err
18156 cat conftest.err
>&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } &&
18159 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18161 (eval $ac_try) 2>&5
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); }; } &&
18165 { ac_try
='test -s conftest.$ac_objext'
18166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18167 (eval $ac_try) 2>&5
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); }; }; then
18171 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=yes
18173 echo "$as_me: failed program was:" >&5
18174 sed 's/^/| /' conftest.
$ac_ext >&5
18176 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=no
18179 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18182 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
18184 cat >>confdefs.h
<<\_ACEOF
18185 #define HAVE_PRSTATUS_T_PR_WHO 1
18189 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
18190 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
18192 echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
18193 echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
18194 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
18195 echo $ECHO_N "(cached) $ECHO_C" >&6
18197 cat >conftest.
$ac_ext <<_ACEOF
18200 cat confdefs.h
>>conftest.
$ac_ext
18201 cat >>conftest.
$ac_ext <<_ACEOF
18202 /* end confdefs.h. */
18205 #include <sys/procfs.h>
18209 prstatus32_t avar; void* aref = (void*) &avar.pr_who
18214 rm -f conftest.
$ac_objext
18215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18216 (eval $ac_compile) 2>conftest.er1
18218 grep -v '^ *+' conftest.er1
>conftest.err
18220 cat conftest.err
>&5
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); } &&
18223 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225 (eval $ac_try) 2>&5
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); }; } &&
18229 { ac_try
='test -s conftest.$ac_objext'
18230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18231 (eval $ac_try) 2>&5
18233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18234 (exit $ac_status); }; }; then
18235 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=yes
18237 echo "$as_me: failed program was:" >&5
18238 sed 's/^/| /' conftest.
$ac_ext >&5
18240 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=no
18243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18246 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
18248 cat >>confdefs.h
<<\_ACEOF
18249 #define HAVE_PRSTATUS32_T_PR_WHO 1
18253 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
18254 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
18256 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
18257 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
18258 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
18259 echo $ECHO_N "(cached) $ECHO_C" >&6
18261 cat >conftest.
$ac_ext <<_ACEOF
18264 cat confdefs.h
>>conftest.
$ac_ext
18265 cat >>conftest.
$ac_ext <<_ACEOF
18266 /* end confdefs.h. */
18269 #include <sys/procfs.h>
18278 rm -f conftest.
$ac_objext
18279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18280 (eval $ac_compile) 2>conftest.er1
18282 grep -v '^ *+' conftest.er1
>conftest.err
18284 cat conftest.err
>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); } &&
18287 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; } &&
18293 { ac_try
='test -s conftest.$ac_objext'
18294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18295 (eval $ac_try) 2>&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); }; }; then
18299 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
18301 echo "$as_me: failed program was:" >&5
18302 sed 's/^/| /' conftest.
$ac_ext >&5
18304 bfd_cv_have_sys_procfs_type_pstatus_t
=no
18307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18310 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
18312 cat >>confdefs.h
<<\_ACEOF
18313 #define HAVE_PSTATUS_T 1
18317 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
18318 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
18320 echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
18321 echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
18322 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
18323 echo $ECHO_N "(cached) $ECHO_C" >&6
18325 cat >conftest.
$ac_ext <<_ACEOF
18328 cat confdefs.h
>>conftest.
$ac_ext
18329 cat >>conftest.
$ac_ext <<_ACEOF
18330 /* end confdefs.h. */
18333 #include <sys/procfs.h>
18342 rm -f conftest.
$ac_objext
18343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18344 (eval $ac_compile) 2>conftest.er1
18346 grep -v '^ *+' conftest.er1
>conftest.err
18348 cat conftest.err
>&5
18349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); } &&
18351 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18353 (eval $ac_try) 2>&5
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); }; } &&
18357 { ac_try
='test -s conftest.$ac_objext'
18358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18359 (eval $ac_try) 2>&5
18361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18362 (exit $ac_status); }; }; then
18363 bfd_cv_have_sys_procfs_type_pxstatus_t
=yes
18365 echo "$as_me: failed program was:" >&5
18366 sed 's/^/| /' conftest.
$ac_ext >&5
18368 bfd_cv_have_sys_procfs_type_pxstatus_t
=no
18371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18374 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
18376 cat >>confdefs.h
<<\_ACEOF
18377 #define HAVE_PXSTATUS_T 1
18381 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
18382 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
18384 echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
18385 echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
18386 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
18387 echo $ECHO_N "(cached) $ECHO_C" >&6
18389 cat >conftest.
$ac_ext <<_ACEOF
18392 cat confdefs.h
>>conftest.
$ac_ext
18393 cat >>conftest.
$ac_ext <<_ACEOF
18394 /* end confdefs.h. */
18397 #include <sys/procfs.h>
18406 rm -f conftest.
$ac_objext
18407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18408 (eval $ac_compile) 2>conftest.er1
18410 grep -v '^ *+' conftest.er1
>conftest.err
18412 cat conftest.err
>&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); } &&
18415 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18417 (eval $ac_try) 2>&5
18419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420 (exit $ac_status); }; } &&
18421 { ac_try
='test -s conftest.$ac_objext'
18422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18423 (eval $ac_try) 2>&5
18425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18426 (exit $ac_status); }; }; then
18427 bfd_cv_have_sys_procfs_type_pstatus32_t
=yes
18429 echo "$as_me: failed program was:" >&5
18430 sed 's/^/| /' conftest.
$ac_ext >&5
18432 bfd_cv_have_sys_procfs_type_pstatus32_t
=no
18435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18438 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
18440 cat >>confdefs.h
<<\_ACEOF
18441 #define HAVE_PSTATUS32_T 1
18445 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
18446 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
18448 echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
18449 echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
18450 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
18451 echo $ECHO_N "(cached) $ECHO_C" >&6
18453 cat >conftest.
$ac_ext <<_ACEOF
18456 cat confdefs.h
>>conftest.
$ac_ext
18457 cat >>conftest.
$ac_ext <<_ACEOF
18458 /* end confdefs.h. */
18461 #include <sys/procfs.h>
18470 rm -f conftest.
$ac_objext
18471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18472 (eval $ac_compile) 2>conftest.er1
18474 grep -v '^ *+' conftest.er1
>conftest.err
18476 cat conftest.err
>&5
18477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18478 (exit $ac_status); } &&
18479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18481 (eval $ac_try) 2>&5
18483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18484 (exit $ac_status); }; } &&
18485 { ac_try
='test -s conftest.$ac_objext'
18486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18487 (eval $ac_try) 2>&5
18489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18490 (exit $ac_status); }; }; then
18491 bfd_cv_have_sys_procfs_type_prpsinfo_t
=yes
18493 echo "$as_me: failed program was:" >&5
18494 sed 's/^/| /' conftest.
$ac_ext >&5
18496 bfd_cv_have_sys_procfs_type_prpsinfo_t
=no
18499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18502 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
18504 cat >>confdefs.h
<<\_ACEOF
18505 #define HAVE_PRPSINFO_T 1
18509 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
18510 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
18512 echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
18513 echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
18514 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
18515 echo $ECHO_N "(cached) $ECHO_C" >&6
18517 cat >conftest.
$ac_ext <<_ACEOF
18520 cat confdefs.h
>>conftest.
$ac_ext
18521 cat >>conftest.
$ac_ext <<_ACEOF
18522 /* end confdefs.h. */
18525 #include <sys/procfs.h>
18534 rm -f conftest.
$ac_objext
18535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18536 (eval $ac_compile) 2>conftest.er1
18538 grep -v '^ *+' conftest.er1
>conftest.err
18540 cat conftest.err
>&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); } &&
18543 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18545 (eval $ac_try) 2>&5
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); }; } &&
18549 { ac_try
='test -s conftest.$ac_objext'
18550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18551 (eval $ac_try) 2>&5
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); }; }; then
18555 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=yes
18557 echo "$as_me: failed program was:" >&5
18558 sed 's/^/| /' conftest.
$ac_ext >&5
18560 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=no
18563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18566 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
18568 cat >>confdefs.h
<<\_ACEOF
18569 #define HAVE_PRPSINFO32_T 1
18573 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
18574 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
18576 echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
18577 echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
18578 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
18579 echo $ECHO_N "(cached) $ECHO_C" >&6
18581 cat >conftest.
$ac_ext <<_ACEOF
18584 cat confdefs.h
>>conftest.
$ac_ext
18585 cat >>conftest.
$ac_ext <<_ACEOF
18586 /* end confdefs.h. */
18589 #include <sys/procfs.h>
18598 rm -f conftest.
$ac_objext
18599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18600 (eval $ac_compile) 2>conftest.er1
18602 grep -v '^ *+' conftest.er1
>conftest.err
18604 cat conftest.err
>&5
18605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18606 (exit $ac_status); } &&
18607 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18609 (eval $ac_try) 2>&5
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); }; } &&
18613 { ac_try
='test -s conftest.$ac_objext'
18614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18615 (eval $ac_try) 2>&5
18617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); }; }; then
18619 bfd_cv_have_sys_procfs_type_psinfo_t
=yes
18621 echo "$as_me: failed program was:" >&5
18622 sed 's/^/| /' conftest.
$ac_ext >&5
18624 bfd_cv_have_sys_procfs_type_psinfo_t
=no
18627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18630 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
18632 cat >>confdefs.h
<<\_ACEOF
18633 #define HAVE_PSINFO_T 1
18637 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
18638 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
18640 echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
18641 echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
18642 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
18643 echo $ECHO_N "(cached) $ECHO_C" >&6
18645 cat >conftest.
$ac_ext <<_ACEOF
18648 cat confdefs.h
>>conftest.
$ac_ext
18649 cat >>conftest.
$ac_ext <<_ACEOF
18650 /* end confdefs.h. */
18653 #include <sys/procfs.h>
18662 rm -f conftest.
$ac_objext
18663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18664 (eval $ac_compile) 2>conftest.er1
18666 grep -v '^ *+' conftest.er1
>conftest.err
18668 cat conftest.err
>&5
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); } &&
18671 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18673 (eval $ac_try) 2>&5
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); }; } &&
18677 { ac_try
='test -s conftest.$ac_objext'
18678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18679 (eval $ac_try) 2>&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); }; }; then
18683 bfd_cv_have_sys_procfs_type_psinfo32_t
=yes
18685 echo "$as_me: failed program was:" >&5
18686 sed 's/^/| /' conftest.
$ac_ext >&5
18688 bfd_cv_have_sys_procfs_type_psinfo32_t
=no
18691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18694 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
18696 cat >>confdefs.h
<<\_ACEOF
18697 #define HAVE_PSINFO32_T 1
18701 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
18702 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
18704 echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
18705 echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
18706 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
18707 echo $ECHO_N "(cached) $ECHO_C" >&6
18709 cat >conftest.
$ac_ext <<_ACEOF
18712 cat confdefs.h
>>conftest.
$ac_ext
18713 cat >>conftest.
$ac_ext <<_ACEOF
18714 /* end confdefs.h. */
18717 #include <sys/procfs.h>
18726 rm -f conftest.
$ac_objext
18727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18728 (eval $ac_compile) 2>conftest.er1
18730 grep -v '^ *+' conftest.er1
>conftest.err
18732 cat conftest.err
>&5
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); } &&
18735 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18737 (eval $ac_try) 2>&5
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); }; } &&
18741 { ac_try
='test -s conftest.$ac_objext'
18742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18743 (eval $ac_try) 2>&5
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); }; }; then
18747 bfd_cv_have_sys_procfs_type_lwpstatus_t
=yes
18749 echo "$as_me: failed program was:" >&5
18750 sed 's/^/| /' conftest.
$ac_ext >&5
18752 bfd_cv_have_sys_procfs_type_lwpstatus_t
=no
18755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18758 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
18760 cat >>confdefs.h
<<\_ACEOF
18761 #define HAVE_LWPSTATUS_T 1
18765 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
18766 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
18768 echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
18769 echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
18770 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
18771 echo $ECHO_N "(cached) $ECHO_C" >&6
18773 cat >conftest.
$ac_ext <<_ACEOF
18776 cat confdefs.h
>>conftest.
$ac_ext
18777 cat >>conftest.
$ac_ext <<_ACEOF
18778 /* end confdefs.h. */
18781 #include <sys/procfs.h>
18790 rm -f conftest.
$ac_objext
18791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18792 (eval $ac_compile) 2>conftest.er1
18794 grep -v '^ *+' conftest.er1
>conftest.err
18796 cat conftest.err
>&5
18797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18798 (exit $ac_status); } &&
18799 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18801 (eval $ac_try) 2>&5
18803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804 (exit $ac_status); }; } &&
18805 { ac_try
='test -s conftest.$ac_objext'
18806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18807 (eval $ac_try) 2>&5
18809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18810 (exit $ac_status); }; }; then
18811 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=yes
18813 echo "$as_me: failed program was:" >&5
18814 sed 's/^/| /' conftest.
$ac_ext >&5
18816 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=no
18819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18822 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
18824 cat >>confdefs.h
<<\_ACEOF
18825 #define HAVE_LWPXSTATUS_T 1
18829 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
18830 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
18832 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
18833 echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
18834 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
18835 echo $ECHO_N "(cached) $ECHO_C" >&6
18837 cat >conftest.
$ac_ext <<_ACEOF
18840 cat confdefs.h
>>conftest.
$ac_ext
18841 cat >>conftest.
$ac_ext <<_ACEOF
18842 /* end confdefs.h. */
18845 #include <sys/procfs.h>
18849 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
18854 rm -f conftest.
$ac_objext
18855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18856 (eval $ac_compile) 2>conftest.er1
18858 grep -v '^ *+' conftest.er1
>conftest.err
18860 cat conftest.err
>&5
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); } &&
18863 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18865 (eval $ac_try) 2>&5
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); }; } &&
18869 { ac_try
='test -s conftest.$ac_objext'
18870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18871 (eval $ac_try) 2>&5
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); }; }; then
18875 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=yes
18877 echo "$as_me: failed program was:" >&5
18878 sed 's/^/| /' conftest.
$ac_ext >&5
18880 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=no
18883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18886 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
18888 cat >>confdefs.h
<<\_ACEOF
18889 #define HAVE_LWPSTATUS_T_PR_CONTEXT 1
18893 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
18894 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
18896 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
18897 echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
18898 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18901 cat >conftest.
$ac_ext <<_ACEOF
18904 cat confdefs.h
>>conftest.
$ac_ext
18905 cat >>conftest.
$ac_ext <<_ACEOF
18906 /* end confdefs.h. */
18909 #include <sys/procfs.h>
18913 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
18918 rm -f conftest.
$ac_objext
18919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18920 (eval $ac_compile) 2>conftest.er1
18922 grep -v '^ *+' conftest.er1
>conftest.err
18924 cat conftest.err
>&5
18925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926 (exit $ac_status); } &&
18927 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18929 (eval $ac_try) 2>&5
18931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18932 (exit $ac_status); }; } &&
18933 { ac_try
='test -s conftest.$ac_objext'
18934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18935 (eval $ac_try) 2>&5
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); }; }; then
18939 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=yes
18941 echo "$as_me: failed program was:" >&5
18942 sed 's/^/| /' conftest.
$ac_ext >&5
18944 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=no
18947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18950 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
18952 cat >>confdefs.h
<<\_ACEOF
18953 #define HAVE_LWPSTATUS_T_PR_REG 1
18957 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
18958 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
18960 echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
18961 echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
18962 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
18963 echo $ECHO_N "(cached) $ECHO_C" >&6
18965 cat >conftest.
$ac_ext <<_ACEOF
18968 cat confdefs.h
>>conftest.
$ac_ext
18969 cat >>conftest.
$ac_ext <<_ACEOF
18970 /* end confdefs.h. */
18973 #include <sys/procfs.h>
18977 win32_pstatus_t avar
18982 rm -f conftest.
$ac_objext
18983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18984 (eval $ac_compile) 2>conftest.er1
18986 grep -v '^ *+' conftest.er1
>conftest.err
18988 cat conftest.err
>&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); } &&
18991 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18993 (eval $ac_try) 2>&5
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); }; } &&
18997 { ac_try
='test -s conftest.$ac_objext'
18998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999 (eval $ac_try) 2>&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); }; }; then
19003 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=yes
19005 echo "$as_me: failed program was:" >&5
19006 sed 's/^/| /' conftest.
$ac_ext >&5
19008 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=no
19011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19014 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
19016 cat >>confdefs.h
<<\_ACEOF
19017 #define HAVE_WIN32_PSTATUS_T 1
19021 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
19022 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
19028 if test -n "$TRAD_HEADER"; then
19030 cat >>confdefs.h
<<_ACEOF
19031 #define TRAD_HEADER $TRAD_HEADER
19036 # Horrible hacks to build DLLs on Windows.
19041 if test "$enable_shared" = "yes"; then
19042 WIN32LDFLAGS
="-no-undefined"
19043 WIN32LIBADD
="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
19047 # We borrow WIN32LIBADD so that the shared libbfd won't depend on
19049 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
19050 if test -n "$x"; then
19051 WIN32LIBADD
="-L../libiberty/pic -liberty"
19060 # Canonicalize the secondary target names.
19061 if test -n "$enable_targets" ; then
19062 for targ
in `echo $enable_targets | sed 's/,/ /g'`
19064 result
=`$ac_config_sub $targ 2>/dev/null`
19065 if test -n "$result" ; then
19066 canon_targets
="$canon_targets $result"
19068 # Allow targets that config.sub doesn't recognize, like "all".
19069 canon_targets
="$canon_targets $targ"
19080 for targ
in $target $canon_targets
19082 if test "x$targ" = "xall"; then
19084 assocvecs
="$assocvecs $targ_defvec $targ_selvecs"
19086 .
$srcdir/config.bfd
19087 if test "x$targ" = "x$target"; then
19088 defvec
=$targ_defvec
19090 selvecs
="$selvecs $targ_defvec $targ_selvecs"
19091 selarchs
="$selarchs $targ_archs"
19092 TDEFINES
="$TDEFINES $targ_cflags"
19097 # This processing still needs to be done if we're to decide properly whether
19098 # 64-bit support needs to be compiled in. Currently, it will be included if
19099 # the default or any other explicitly requested target requires it; it
19100 # will not be included on a 32-bit host if no 64-bit target is requested, and
19101 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
19104 # uniq the default and selected vectors in all the configured targets.
19106 for i
in $selvecs ; do
19115 # uniq the associated vectors in all the configured targets.
19117 for i
in $assocvecs ; do
19126 # uniq the architectures in all the configured targets.
19128 for i
in $selarchs ; do
19136 # Target backend .o files.
19139 elf
="elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
19141 for vec
in $selvecs
19145 # This list is alphabetized to make it easy to compare
19146 # with the two vector lists in targets.c. For the same reason,
19147 # use one entry per line, even though this leads to long lines.
19148 a_out_adobe_vec
) tb
="$tb aout-adobe.lo aout32.lo" ;;
19149 aix5coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
19150 aout0_big_vec
) tb
="$tb aout0.lo aout32.lo" ;;
19151 aout_arm_big_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
19152 aout_arm_little_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
19153 apollocoff_vec
) tb
="$tb coff-apollo.lo" ;;
19154 arm_epoc_pe_big_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
19155 arm_epoc_pe_little_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
19156 arm_epoc_pei_big_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
19157 arm_epoc_pei_little_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
19158 arm_wince_pe_big_vec
) tb
="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
19159 arm_wince_pe_little_vec
) tb
="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
19160 arm_wince_pei_big_vec
) tb
="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
19161 arm_wince_pei_little_vec
) tb
="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
19162 armcoff_big_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
19163 armcoff_little_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
19164 armnetbsd_vec
) tb
="$tb armnetbsd.lo aout32.lo" ;;
19165 armpe_big_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
19166 armpe_little_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
19167 armpei_big_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
19168 armpei_little_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
19169 b_out_vec_big_host
) tb
="$tb bout.lo aout32.lo" ;;
19170 b_out_vec_little_host
) tb
="$tb bout.lo aout32.lo" ;;
19171 bfd_efi_app_ia32_vec
) tb
="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;;
19172 bfd_efi_bsdrv_ia32_vec
) tb
="$tb efi-bsdrv-ia32.lo peigen.lo cofflink.lo" ;;
19173 bfd_efi_rtdrv_ia32_vec
) tb
="$tb efi-rtdrv-ia32.lo peigen.lo cofflink.lo" ;;
19174 bfd_efi_app_x86_64_vec
) tb
="$tb efi-app-x86_64.lo pex64igen.lo cofflink.lo" ;target_size
=64;;
19175 bfd_efi_bsdrv_x86_64_vec
) tb
="$tb efi-bsdrv-x86_64.lo pex64igen.lo cofflink.lo" ;target_size
=64;;
19176 bfd_efi_rtdrv_x86_64_vec
) tb
="$tb efi-rtdrv-x86_64.lo pex64igen.lo cofflink.lo" ;target_size
=64;;
19177 bfd_efi_app_ia64_vec
) tb
="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
19178 bfd_efi_bsdrv_ia64_vec
) tb
="$tb efi-bsdrv-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
19179 bfd_efi_rtdrv_ia64_vec
) tb
="$tb efi-rtdrv-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
19180 bfd_elf32_am33lin_vec
) tb
="$tb elf32-am33lin.lo elf32.lo $elf" ;;
19181 bfd_elf32_avr_vec
) tb
="$tb elf32-avr.lo elf32.lo $elf" ;;
19182 bfd_elf32_bfin_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
19183 bfd_elf32_bfinfdpic_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
19184 bfd_elf32_big_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
19185 bfd_elf32_bigarc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
19186 bfd_elf32_bigarm_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
19187 bfd_elf32_bigarm_symbian_vec
)
19188 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
19189 bfd_elf32_bigarm_vxworks_vec
)
19190 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
19191 bfd_elf32_bigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
19192 bfd_elf32_bigmips_vxworks_vec
)
19193 tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
19194 bfd_elf32_cr16_vec
) tb
="$tb elf32-cr16.lo elf32.lo $elf" ;;
19195 bfd_elf32_cr16c_vec
) tb
="$tb elf32-cr16c.lo elf32.lo $elf" ;;
19196 bfd_elf32_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
19197 bfd_elf32_crx_vec
) tb
="$tb elf32-crx.lo elf32.lo $elf" ;;
19198 bfd_elf32_d10v_vec
) tb
="$tb elf32-d10v.lo elf32.lo $elf" ;;
19199 bfd_elf32_d30v_vec
) tb
="$tb elf32-d30v.lo elf32.lo $elf" ;;
19200 bfd_elf32_dlx_big_vec
) tb
="$tb elf32-dlx.lo elf32.lo $elf" ;;
19201 bfd_elf32_fr30_vec
) tb
="$tb elf32-fr30.lo elf32.lo $elf" ;;
19202 bfd_elf32_frv_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
19203 bfd_elf32_frvfdpic_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
19204 bfd_elf32_h8300_vec
) tb
="$tb elf32-h8300.lo elf32.lo $elf" ;;
19205 bfd_elf32_hppa_linux_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
19206 bfd_elf32_hppa_nbsd_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
19207 bfd_elf32_hppa_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
19208 bfd_elf32_i370_vec
) tb
="$tb elf32-i370.lo elf32.lo $elf" ;;
19209 bfd_elf32_i386_dragonfly_vec
)
19210 tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
19211 bfd_elf32_i386_freebsd_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
19212 bfd_elf32_i386_vxworks_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
19213 bfd_elf32_i386_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
19214 bfd_elf32_i860_little_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
19215 bfd_elf32_i860_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
19216 bfd_elf32_i960_vec
) tb
="$tb elf32-i960.lo elf32.lo $elf" ;;
19217 bfd_elf32_ia64_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf" ;;
19218 bfd_elf32_ia64_hpux_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf";;
19219 bfd_elf32_ip2k_vec
) tb
="$tb elf32-ip2k.lo elf32.lo $elf" ;;
19220 bfd_elf32_iq2000_vec
) tb
="$tb elf32-iq2000.lo elf32.lo $elf" ;;
19221 bfd_elf32_little_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
19222 bfd_elf32_littlearc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
19223 bfd_elf32_littlearm_symbian_vec
)
19224 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
19225 bfd_elf32_littlearm_vxworks_vec
)
19226 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
19227 bfd_elf32_littlearm_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
19228 bfd_elf32_littlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
19229 bfd_elf32_littlemips_vxworks_vec
)
19230 tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
19231 bfd_elf32_m32c_vec
) tb
="$tb elf32-m32c.lo elf32.lo $elf" ;;
19232 bfd_elf32_m32r_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
19233 bfd_elf32_m32rle_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
19234 bfd_elf32_m32rlin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
19235 bfd_elf32_m32rlelin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
19236 bfd_elf32_m68hc11_vec
) tb
="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
19237 bfd_elf32_m68hc12_vec
) tb
="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
19238 bfd_elf32_m68k_vec
) tb
="$tb elf32-m68k.lo elf32.lo $elf" ;;
19239 bfd_elf32_m88k_vec
) tb
="$tb elf32-m88k.lo elf32.lo $elf" ;;
19240 bfd_elf32_mcore_big_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
19241 bfd_elf32_mcore_little_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
19242 bfd_elf32_mep_vec
) tb
="$tb elf32-mep.lo elf32.lo $elf" ;;
19243 bfd_elf32_mep_little_vec
) tb
="$tb elf32-mep.lo elf32.lo $elf" ;;
19244 bfd_elf32_mn10200_vec
) tb
="$tb elf-m10200.lo elf32.lo $elf" ;;
19245 bfd_elf32_mn10300_vec
) tb
="$tb elf-m10300.lo elf32.lo $elf" ;;
19246 bfd_elf32_mt_vec
) tb
="$tb elf32-mt.lo elf32.lo $elf" ;;
19247 bfd_elf32_msp430_vec
) tb
="$tb elf32-msp430.lo elf32.lo $elf" ;;
19248 bfd_elf32_nbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
19249 bfd_elf32_nlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
19250 bfd_elf32_ntradbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
19251 bfd_elf32_ntradlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
19252 bfd_elf32_openrisc_vec
) tb
="$tb elf32-openrisc.lo elf32.lo $elf" ;;
19253 bfd_elf32_or32_big_vec
) tb
="$tb elf32-or32.lo elf32.lo $elf" ;;
19254 bfd_elf32_pj_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
19255 bfd_elf32_pjl_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
19256 bfd_elf32_powerpc_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
19257 bfd_elf32_powerpcle_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
19258 bfd_elf32_powerpc_vxworks_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
19259 bfd_elf32_s390_vec
) tb
="$tb elf32-s390.lo elf32.lo $elf" ;;
19260 bfd_elf32_bigscore_vec
) tb
="$tb elf32-score.lo elf32.lo $elf" ;;
19261 bfd_elf32_littlescore_vec
) tb
="$tb elf32-score.lo elf32.lo $elf" ;;
19262 # FIXME: We include cofflink.lo not because it's needed for
19263 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
19264 # which needs it but does not list it. Should be fixed in right place.
19265 bfd_elf32_sh64_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
19266 bfd_elf32_sh64l_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
19267 bfd_elf32_sh64lin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
19268 bfd_elf32_sh64blin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
19269 bfd_elf32_sh64lnbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
19270 bfd_elf32_sh64nbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
19271 bfd_elf32_sh_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
19272 bfd_elf32_shblin_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
19273 bfd_elf32_shl_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
19274 bfd_elf32_shl_symbian_vec
) tb
="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
19275 bfd_elf32_shlin_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
19276 bfd_elf32_shlnbsd_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
19277 bfd_elf32_shlvxworks_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
19278 bfd_elf32_shnbsd_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
19279 bfd_elf32_shvxworks_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
19280 bfd_elf32_sparc_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
19281 bfd_elf32_sparc_vxworks_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
19282 bfd_elf32_spu_vec
) tb
="$tb elf32-spu.lo elf32.lo $elf" ;;
19283 bfd_elf32_tradbigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
19284 bfd_elf32_tradlittlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
19285 bfd_elf32_us_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
19286 bfd_elf32_v850_vec
) tb
="$tb elf32-v850.lo elf32.lo $elf" ;;
19287 bfd_elf32_vax_vec
) tb
="$tb elf32-vax.lo elf32.lo $elf" ;;
19288 bfd_elf32_xstormy16_vec
) tb
="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
19289 bfd_elf32_xc16x_vec
) tb
="$tb elf32-xc16x.lo elf32.lo $elf" ;;
19290 bfd_elf32_xtensa_le_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
19291 bfd_elf32_xtensa_be_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
19292 bfd_elf64_alpha_freebsd_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
19293 bfd_elf64_alpha_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
19294 bfd_elf64_big_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
19295 bfd_elf64_bigmips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
19296 bfd_elf64_hppa_linux_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
19297 bfd_elf64_hppa_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
19298 bfd_elf64_ia64_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
19299 bfd_elf64_ia64_hpux_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
19300 bfd_elf64_ia64_little_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
19301 bfd_elf64_little_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
19302 bfd_elf64_littlemips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
19303 bfd_elf64_mmix_vec
) tb
="$tb elf64-mmix.lo elf64.lo $elf" target_size
=64 ;;
19304 bfd_elf64_powerpc_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
19305 bfd_elf64_powerpcle_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size
=64 ;;
19306 bfd_elf64_s390_vec
) tb
="$tb elf64-s390.lo elf64.lo $elf"; target_size
=64 ;;
19307 bfd_elf64_sh64_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
19308 bfd_elf64_sh64l_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
19309 bfd_elf64_sh64lin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
19310 bfd_elf64_sh64blin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
19311 bfd_elf64_sh64lnbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
19312 bfd_elf64_sh64nbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
19313 bfd_elf64_sparc_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size
=64 ;;
19314 bfd_elf64_sparc_freebsd_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size
=64 ;;
19315 bfd_elf64_tradbigmips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
19316 bfd_elf64_tradlittlemips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
19317 bfd_elf64_x86_64_freebsd_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
19318 bfd_elf64_x86_64_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
19319 bfd_mmo_vec
) tb
="$tb mmo.lo" target_size
=64 ;;
19320 bfd_powerpc_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
19321 bfd_powerpc_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
19322 bfd_powerpcle_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
19323 bfd_powerpcle_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
19324 cris_aout_vec
) tb
="$tb aout-cris.lo" ;;
19325 demo_64_vec
) tb
="$tb demo64.lo aout64.lo"; target_size
=64 ;;
19326 ecoff_big_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
19327 ecoff_biglittle_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
19328 ecoff_little_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
19329 ecoffalpha_little_vec
) tb
="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size
=64 ;;
19330 go32coff_vec
) tb
="$tb coff-go32.lo cofflink.lo" ;;
19331 go32stubbedcoff_vec
) tb
="$tb coff-stgo32.lo cofflink.lo" ;;
19332 h8300coff_vec
) tb
="$tb coff-h8300.lo reloc16.lo" ;;
19333 h8500coff_vec
) tb
="$tb coff-h8500.lo reloc16.lo" ;;
19334 host_aout_vec
) tb
="$tb host-aout.lo aout32.lo" ;;
19335 hp300bsd_vec
) tb
="$tb hp300bsd.lo aout32.lo" ;;
19336 hp300hpux_vec
) tb
="$tb hp300hpux.lo aout32.lo" ;;
19337 i386aout_vec
) tb
="$tb i386aout.lo aout32.lo" ;;
19338 i386bsd_vec
) tb
="$tb i386bsd.lo aout32.lo" ;;
19339 i386coff_vec
) tb
="$tb coff-i386.lo cofflink.lo" ;;
19340 x86_64coff_vec
) tb
="$tb coff-x86_64.lo cofflink.lo"; target_size
=64 ;;
19341 i386dynix_vec
) tb
="$tb i386dynix.lo aout32.lo" ;;
19342 i386freebsd_vec
) tb
="$tb i386freebsd.lo aout32.lo" ;;
19343 i386linux_vec
) tb
="$tb i386linux.lo aout32.lo" ;;
19344 i386lynx_aout_vec
) tb
="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
19345 i386lynx_coff_vec
) tb
="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
19346 i386mach3_vec
) tb
="$tb i386mach3.lo aout32.lo" ;;
19347 i386msdos_vec
) tb
="$tb i386msdos.lo" ;;
19348 i386netbsd_vec
) tb
="$tb i386netbsd.lo aout32.lo" ;;
19349 i386os9k_vec
) tb
="$tb i386os9k.lo aout32.lo" ;;
19350 i386pe_vec
) tb
="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
19351 i386pei_vec
) tb
="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
19352 x86_64pe_vec
) tb
="$tb pe-x86_64.lo pex64igen.lo cofflink.lo"; target_size
=64 ;;
19353 x86_64pei_vec
) tb
="$tb pei-x86_64.lo pex64igen.lo cofflink.lo"; target_size
=64 ;;
19354 i860coff_vec
) tb
="$tb coff-i860.lo cofflink.lo" ;;
19355 icoff_big_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
19356 icoff_little_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
19357 ieee_vec
) tb
="$tb ieee.lo" ;;
19358 m68k4knetbsd_vec
) tb
="$tb m68k4knetbsd.lo aout32.lo" ;;
19359 m68kaux_coff_vec
) tb
="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
19360 m68kcoff_vec
) tb
="$tb coff-m68k.lo cofflink.lo" ;;
19361 m68kcoffun_vec
) tb
="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
19362 m68klinux_vec
) tb
="$tb m68klinux.lo aout32.lo" ;;
19363 m68knetbsd_vec
) tb
="$tb m68knetbsd.lo aout32.lo" ;;
19364 m68ksysvcoff_vec
) tb
="$tb coff-svm68k.lo cofflink.lo" ;;
19365 m88kbcs_vec
) tb
="$tb coff-m88k.lo" ;;
19366 m88kmach3_vec
) tb
="$tb m88kmach3.lo aout32.lo" ;;
19367 m88kopenbsd_vec
) tb
="$tb m88kopenbsd.lo aout32.lo" ;;
19368 maxqcoff_vec
) tb
="$tb coff-maxq.lo" ;;
19369 mach_o_be_vec
) tb
="$tb mach-o.lo" ;;
19370 mach_o_le_vec
) tb
="$tb mach-o.lo" ;;
19371 mach_o_fat_vec
) tb
="$tb mach-o.lo" ;;
19372 mcore_pe_big_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
19373 mcore_pe_little_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
19374 mcore_pei_big_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
19375 mcore_pei_little_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
19376 mipslpe_vec
) tb
="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
19377 mipslpei_vec
) tb
="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
19378 newsos3_vec
) tb
="$tb newsos3.lo aout32.lo" ;;
19379 nlm32_alpha_vec
) tb
="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size
=64 ;;
19380 nlm32_i386_vec
) tb
="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
19381 nlm32_powerpc_vec
) tb
="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
19382 nlm32_sparc_vec
) tb
="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
19383 or32coff_big_vec
) tb
="$tb coff-or32.lo cofflink.lo" ;;
19384 pc532machaout_vec
) tb
="$tb pc532-mach.lo aout-ns32k.lo" ;;
19385 pc532netbsd_vec
) tb
="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
19386 pef_vec
) tb
="$tb pef.lo" ;;
19387 pef_xlib_vec
) tb
="$tb pef.lo" ;;
19388 pdp11_aout_vec
) tb
="$tb pdp11.lo" ;;
19389 pmac_xcoff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
19390 ppcboot_vec
) tb
="$tb ppcboot.lo" ;;
19391 riscix_vec
) tb
="$tb aout32.lo riscix.lo" ;;
19392 rs6000coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
19393 rs6000coff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
19394 shcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
19395 shcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
19396 shlcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
19397 shlcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
19398 shlpe_vec
) tb
="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
19399 shlpei_vec
) tb
="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
19400 som_vec
) tb
="$tb som.lo" ;;
19401 sparccoff_vec
) tb
="$tb coff-sparc.lo" ;;
19402 sparcle_aout_vec
) tb
="$tb aout-sparcle.lo aout32.lo" ;;
19403 sparclinux_vec
) tb
="$tb sparclinux.lo aout32.lo" ;;
19404 sparclynx_aout_vec
) tb
="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
19405 sparclynx_coff_vec
) tb
="$tb cf-sparclynx.lo lynx-core.lo" ;;
19406 sparcnetbsd_vec
) tb
="$tb sparcnetbsd.lo aout32.lo" ;;
19407 sunos_big_vec
) tb
="$tb sunos.lo aout32.lo" ;;
19408 sym_vec
) tb
="$tb xsym.lo" ;;
19409 tic30_aout_vec
) tb
="$tb aout-tic30.lo" ;;
19410 tic30_coff_vec
) tb
="$tb coff-tic30.lo" ;;
19411 tic4x_coff0_vec
) tb
="$tb coff-tic4x.lo" ;;
19412 tic4x_coff0_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
19413 tic4x_coff1_vec
) tb
="$tb coff-tic4x.lo" ;;
19414 tic4x_coff1_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
19415 tic4x_coff2_vec
) tb
="$tb coff-tic4x.lo" ;;
19416 tic4x_coff2_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
19417 tic54x_coff0_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
19418 tic54x_coff0_vec
) tb
="$tb coff-tic54x.lo" ;;
19419 tic54x_coff1_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
19420 tic54x_coff1_vec
) tb
="$tb coff-tic54x.lo" ;;
19421 tic54x_coff2_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
19422 tic54x_coff2_vec
) tb
="$tb coff-tic54x.lo" ;;
19423 tic80coff_vec
) tb
="$tb coff-tic80.lo cofflink.lo" ;;
19424 vaxnetbsd_vec
) tb
="$tb vaxnetbsd.lo aout32.lo" ;;
19425 vax1knetbsd_vec
) tb
="$tb vax1knetbsd.lo aout32.lo" ;;
19426 vaxbsd_vec
) tb
="$tb vaxbsd.lo aout32.lo" ;;
19427 versados_vec
) tb
="$tb versados.lo" ;;
19428 vms_alpha_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size
=64 ;;
19429 vms_vax_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
19430 w65_vec
) tb
="$tb coff-w65.lo reloc16.lo" ;;
19431 we32kcoff_vec
) tb
="$tb coff-we32k.lo" ;;
19432 z80coff_vec
) tb
="$tb coff-z80.lo reloc16.lo" ;;
19433 z8kcoff_vec
) tb
="$tb coff-z8k.lo reloc16.lo cofflink.lo" ;;
19435 # These appear out of order in targets.c
19436 srec_vec
) tb
="$tb srec.lo" ;;
19437 symbolsrec_vec
) tb
="$tb srec.lo" ;;
19438 tekhex_vec
) tb
="$tb tekhex.lo" ;;
19439 cisco_core_big_vec
) tb
="$tb cisco-core.lo" ;;
19440 cisco_core_little_vec
) tb
="$tb cisco-core.lo" ;;
19443 *) { { echo "$as_me:$LINENO: error: *** unknown target vector $vec" >&5
19444 echo "$as_me: error: *** unknown target vector $vec" >&2;}
19445 { (exit 1); exit 1; }; } ;;
19448 if test ${target_size} = 64; then
19451 if test x
"${vec}" = x
"${defvec}"; then
19452 bfd_default_target_size
=${target_size}
19456 # Target architecture .o files.
19457 # A couple of CPUs use shorter file names to avoid problems on DOS
19459 ta
=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
19461 # Weed out duplicate .o files.
19483 if test x
${all_targets} = xtrue
; then
19484 bfd_backends
="${bfd_backends}"' $(ALL_BACKENDS)'
19485 bfd_machines
="${bfd_machines}"' $(ALL_MACHINES)'
19489 test -n "$assocvecs" &&
19490 assocvecs
=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
19491 else # all_targets is true
19492 # Only set these if they will be nonempty, for the clever echo.
19495 test -n "$selvecs" &&
19496 havevecs
=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
19497 test -n "$selvecs" &&
19498 selvecs
=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
19499 test -n "$selarchs" &&
19500 selarchs
=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
19501 fi # all_targets is true
19503 case ${host64}-${target64}-${want64} in
19506 bfd64_libs
='$(BFD64_LIBS)'
19507 all_backends
='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
19508 if test $BFD_HOST_64_BIT_DEFINED = 0; then
19509 { echo "$as_me:$LINENO: WARNING: You have requested a 64 bit BFD configuration, but" >&5
19510 echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
19511 { echo "$as_me:$LINENO: WARNING: your compiler may not have a 64 bit integral type" >&5
19512 echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
19514 if test -n "$GCC" ; then
19516 echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
19517 echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
19518 # Add more tests for gcc versions with non-working 64-bit support here.
19519 cat >conftest.
$ac_ext <<_ACEOF
19522 cat confdefs.h
>>conftest.
$ac_ext
19523 cat >>conftest.
$ac_ext <<_ACEOF
19524 /* end confdefs.h. */
19525 :__GNUC__:__GNUC_MINOR__:__i386__:
19527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19528 $EGREP ": 2 : 91 : 1 :" >/dev
/null
2>&1; then
19530 echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
19531 echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
19533 echo "$as_me:$LINENO: result: no" >&5
19534 echo "${ECHO_T}no" >&6
19538 if test $bad_64bit_gcc = yes ; then
19539 { { echo "$as_me:$LINENO: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&5
19540 echo "$as_me: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&2;}
19541 { (exit 1); exit 1; }; }
19547 all_backends
='$(BFD32_BACKENDS)'
19558 # Determine the host dependant file_ptr a.k.a. off_t type. In order
19559 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
19560 # fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
19561 # Hopefully a reasonable assumption since fseeko et.al. should be
19562 # upward compatible.
19568 for ac_func
in ftello ftello64 fseeko fseeko64 fopen64
19570 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19571 echo "$as_me:$LINENO: checking for $ac_func" >&5
19572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19573 if eval "test \"\${$as_ac_var+set}\" = set"; then
19574 echo $ECHO_N "(cached) $ECHO_C" >&6
19576 cat >conftest.
$ac_ext <<_ACEOF
19579 cat confdefs.h
>>conftest.
$ac_ext
19580 cat >>conftest.
$ac_ext <<_ACEOF
19581 /* end confdefs.h. */
19582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19584 #define $ac_func innocuous_$ac_func
19586 /* System header to define __stub macros and hopefully few prototypes,
19587 which can conflict with char $ac_func (); below.
19588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19589 <limits.h> exists even on freestanding compilers. */
19592 # include <limits.h>
19594 # include <assert.h>
19599 /* Override any gcc2 internal prototype to avoid an error. */
19604 /* We use char because int might match the return type of a gcc2
19605 builtin and then its argument prototype would still apply. */
19607 /* The GNU C library defines this for functions which it implements
19608 to always fail with ENOSYS. Some functions are actually named
19609 something starting with __ and the normal name is an alias. */
19610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19613 char (*f) () = $ac_func;
19622 return f != $ac_func;
19627 rm -f conftest.
$ac_objext conftest
$ac_exeext
19628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19629 (eval $ac_link) 2>conftest.er1
19631 grep -v '^ *+' conftest.er1
>conftest.err
19633 cat conftest.err
>&5
19634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19635 (exit $ac_status); } &&
19636 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19638 (eval $ac_try) 2>&5
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); }; } &&
19642 { ac_try
='test -s conftest$ac_exeext'
19643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19644 (eval $ac_try) 2>&5
19646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19647 (exit $ac_status); }; }; then
19648 eval "$as_ac_var=yes"
19650 echo "$as_me: failed program was:" >&5
19651 sed 's/^/| /' conftest.
$ac_ext >&5
19653 eval "$as_ac_var=no"
19655 rm -f conftest.err conftest.
$ac_objext \
19656 conftest
$ac_exeext conftest.
$ac_ext
19658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19660 if test `eval echo '${'$as_ac_var'}'` = yes; then
19661 cat >>confdefs.h
<<_ACEOF
19662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19668 if test x
"$ac_cv_func_ftello" = xyes
-a x
"$ac_cv_func_fseeko" = xyes
; then
19669 echo "$as_me:$LINENO: checking for off_t" >&5
19670 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
19671 if test "${ac_cv_type_off_t+set}" = set; then
19672 echo $ECHO_N "(cached) $ECHO_C" >&6
19674 cat >conftest.
$ac_ext <<_ACEOF
19677 cat confdefs.h
>>conftest.
$ac_ext
19678 cat >>conftest.
$ac_ext <<_ACEOF
19679 /* end confdefs.h. */
19680 $ac_includes_default
19686 if (sizeof (off_t))
19692 rm -f conftest.
$ac_objext
19693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19694 (eval $ac_compile) 2>conftest.er1
19696 grep -v '^ *+' conftest.er1
>conftest.err
19698 cat conftest.err
>&5
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); } &&
19701 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19703 (eval $ac_try) 2>&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); }; } &&
19707 { ac_try
='test -s conftest.$ac_objext'
19708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19709 (eval $ac_try) 2>&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); }; }; then
19713 ac_cv_type_off_t
=yes
19715 echo "$as_me: failed program was:" >&5
19716 sed 's/^/| /' conftest.
$ac_ext >&5
19718 ac_cv_type_off_t
=no
19720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19722 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19723 echo "${ECHO_T}$ac_cv_type_off_t" >&6
19725 echo "$as_me:$LINENO: checking size of off_t" >&5
19726 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
19727 if test "${ac_cv_sizeof_off_t+set}" = set; then
19728 echo $ECHO_N "(cached) $ECHO_C" >&6
19730 if test "$ac_cv_type_off_t" = yes; then
19731 # The cast to unsigned long works around a bug in the HP C Compiler
19732 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19733 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19734 # This bug is HP SR number 8606223364.
19735 if test "$cross_compiling" = yes; then
19736 # Depending upon the size, compute the lo and hi bounds.
19737 cat >conftest.
$ac_ext <<_ACEOF
19740 cat confdefs.h
>>conftest.
$ac_ext
19741 cat >>conftest.
$ac_ext <<_ACEOF
19742 /* end confdefs.h. */
19743 $ac_includes_default
19747 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)];
19754 rm -f conftest.
$ac_objext
19755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19756 (eval $ac_compile) 2>conftest.er1
19758 grep -v '^ *+' conftest.er1
>conftest.err
19760 cat conftest.err
>&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } &&
19763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765 (eval $ac_try) 2>&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); }; } &&
19769 { ac_try
='test -s conftest.$ac_objext'
19770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771 (eval $ac_try) 2>&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); }; }; then
19777 cat >conftest.
$ac_ext <<_ACEOF
19780 cat confdefs.h
>>conftest.
$ac_ext
19781 cat >>conftest.
$ac_ext <<_ACEOF
19782 /* end confdefs.h. */
19783 $ac_includes_default
19787 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
19794 rm -f conftest.
$ac_objext
19795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19796 (eval $ac_compile) 2>conftest.er1
19798 grep -v '^ *+' conftest.er1
>conftest.err
19800 cat conftest.err
>&5
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); } &&
19803 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19805 (eval $ac_try) 2>&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); }; } &&
19809 { ac_try
='test -s conftest.$ac_objext'
19810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19811 (eval $ac_try) 2>&5
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); }; }; then
19815 ac_hi
=$ac_mid; break
19817 echo "$as_me: failed program was:" >&5
19818 sed 's/^/| /' conftest.
$ac_ext >&5
19820 ac_lo
=`expr $ac_mid + 1`
19821 if test $ac_lo -le $ac_mid; then
19825 ac_mid
=`expr 2 '*' $ac_mid + 1`
19827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19830 echo "$as_me: failed program was:" >&5
19831 sed 's/^/| /' conftest.
$ac_ext >&5
19833 cat >conftest.
$ac_ext <<_ACEOF
19836 cat confdefs.h
>>conftest.
$ac_ext
19837 cat >>conftest.
$ac_ext <<_ACEOF
19838 /* end confdefs.h. */
19839 $ac_includes_default
19843 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)];
19850 rm -f conftest.
$ac_objext
19851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19852 (eval $ac_compile) 2>conftest.er1
19854 grep -v '^ *+' conftest.er1
>conftest.err
19856 cat conftest.err
>&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); } &&
19859 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19861 (eval $ac_try) 2>&5
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); }; } &&
19865 { ac_try
='test -s conftest.$ac_objext'
19866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19867 (eval $ac_try) 2>&5
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); }; }; then
19873 cat >conftest.
$ac_ext <<_ACEOF
19876 cat confdefs.h
>>conftest.
$ac_ext
19877 cat >>conftest.
$ac_ext <<_ACEOF
19878 /* end confdefs.h. */
19879 $ac_includes_default
19883 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)];
19890 rm -f conftest.
$ac_objext
19891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19892 (eval $ac_compile) 2>conftest.er1
19894 grep -v '^ *+' conftest.er1
>conftest.err
19896 cat conftest.err
>&5
19897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898 (exit $ac_status); } &&
19899 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19901 (eval $ac_try) 2>&5
19903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19904 (exit $ac_status); }; } &&
19905 { ac_try
='test -s conftest.$ac_objext'
19906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19907 (eval $ac_try) 2>&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); }; }; then
19911 ac_lo
=$ac_mid; break
19913 echo "$as_me: failed program was:" >&5
19914 sed 's/^/| /' conftest.
$ac_ext >&5
19916 ac_hi
=`expr '(' $ac_mid ')' - 1`
19917 if test $ac_mid -le $ac_hi; then
19921 ac_mid
=`expr 2 '*' $ac_mid`
19923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19926 echo "$as_me: failed program was:" >&5
19927 sed 's/^/| /' conftest.
$ac_ext >&5
19931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19934 # Binary search between lo and hi bounds.
19935 while test "x$ac_lo" != "x$ac_hi"; do
19936 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19937 cat >conftest.
$ac_ext <<_ACEOF
19940 cat confdefs.h
>>conftest.
$ac_ext
19941 cat >>conftest.
$ac_ext <<_ACEOF
19942 /* end confdefs.h. */
19943 $ac_includes_default
19947 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
19954 rm -f conftest.
$ac_objext
19955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19956 (eval $ac_compile) 2>conftest.er1
19958 grep -v '^ *+' conftest.er1
>conftest.err
19960 cat conftest.err
>&5
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); } &&
19963 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19965 (eval $ac_try) 2>&5
19967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968 (exit $ac_status); }; } &&
19969 { ac_try
='test -s conftest.$ac_objext'
19970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19971 (eval $ac_try) 2>&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); }; }; then
19977 echo "$as_me: failed program was:" >&5
19978 sed 's/^/| /' conftest.
$ac_ext >&5
19980 ac_lo
=`expr '(' $ac_mid ')' + 1`
19982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19985 ?
*) ac_cv_sizeof_off_t
=$ac_lo;;
19986 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
19987 See \`config.log' for more details." >&5
19988 echo "$as_me: error: cannot compute sizeof (off_t), 77
19989 See \`config.log' for more details." >&2;}
19990 { (exit 1); exit 1; }; } ;;
19993 if test "$cross_compiling" = yes; then
19994 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19995 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19996 { (exit 1); exit 1; }; }
19998 cat >conftest.
$ac_ext <<_ACEOF
20001 cat confdefs.h
>>conftest.
$ac_ext
20002 cat >>conftest.
$ac_ext <<_ACEOF
20003 /* end confdefs.h. */
20004 $ac_includes_default
20005 long longval () { return (long) (sizeof (off_t)); }
20006 unsigned long ulongval () { return (long) (sizeof (off_t)); }
20008 #include <stdlib.h>
20013 FILE *f = fopen ("conftest.val", "w");
20016 if (((long) (sizeof (off_t))) < 0)
20018 long i = longval ();
20019 if (i != ((long) (sizeof (off_t))))
20021 fprintf (f, "%ld\n", i);
20025 unsigned long i = ulongval ();
20026 if (i != ((long) (sizeof (off_t))))
20028 fprintf (f, "%lu\n", i);
20030 exit (ferror (f) || fclose (f) != 0);
20036 rm -f conftest
$ac_exeext
20037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20038 (eval $ac_link) 2>&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20043 (eval $ac_try) 2>&5
20045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046 (exit $ac_status); }; }; then
20047 ac_cv_sizeof_off_t
=`cat conftest.val`
20049 echo "$as_me: program exited with status $ac_status" >&5
20050 echo "$as_me: failed program was:" >&5
20051 sed 's/^/| /' conftest.
$ac_ext >&5
20053 ( exit $ac_status )
20054 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
20055 See \`config.log' for more details." >&5
20056 echo "$as_me: error: cannot compute sizeof (off_t), 77
20057 See \`config.log' for more details." >&2;}
20058 { (exit 1); exit 1; }; }
20060 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20065 ac_cv_sizeof_off_t
=0
20068 echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
20069 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
20070 cat >>confdefs.h
<<_ACEOF
20071 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
20076 echo "$as_me:$LINENO: checking file_ptr type" >&5
20077 echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
20078 bfd_file_ptr
="long"
20079 bfd_ufile_ptr
="unsigned long"
20080 if test x
"$ac_cv_func_ftello64" = xyes
-a x
"$ac_cv_func_fseeko64" = xyes \
20081 -o x
"${ac_cv_sizeof_off_t}" = x8
; then
20082 bfd_file_ptr
=BFD_HOST_64_BIT
20083 bfd_ufile_ptr
=BFD_HOST_U_64_BIT
20085 echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
20086 echo "${ECHO_T}$bfd_file_ptr" >&6
20092 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
20093 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
20094 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
20095 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
20096 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
20101 for ac_header
in stdlib.h unistd.h
20103 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20105 echo "$as_me:$LINENO: checking for $ac_header" >&5
20106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20108 echo $ECHO_N "(cached) $ECHO_C" >&6
20110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20113 # Is the header compilable?
20114 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20115 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20116 cat >conftest.
$ac_ext <<_ACEOF
20119 cat confdefs.h
>>conftest.
$ac_ext
20120 cat >>conftest.
$ac_ext <<_ACEOF
20121 /* end confdefs.h. */
20122 $ac_includes_default
20123 #include <$ac_header>
20125 rm -f conftest.
$ac_objext
20126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20127 (eval $ac_compile) 2>conftest.er1
20129 grep -v '^ *+' conftest.er1
>conftest.err
20131 cat conftest.err
>&5
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); } &&
20134 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20136 (eval $ac_try) 2>&5
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); }; } &&
20140 { ac_try
='test -s conftest.$ac_objext'
20141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20142 (eval $ac_try) 2>&5
20144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); }; }; then
20146 ac_header_compiler
=yes
20148 echo "$as_me: failed program was:" >&5
20149 sed 's/^/| /' conftest.
$ac_ext >&5
20151 ac_header_compiler
=no
20153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20154 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20155 echo "${ECHO_T}$ac_header_compiler" >&6
20157 # Is the header present?
20158 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20159 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20160 cat >conftest.
$ac_ext <<_ACEOF
20163 cat confdefs.h
>>conftest.
$ac_ext
20164 cat >>conftest.
$ac_ext <<_ACEOF
20165 /* end confdefs.h. */
20166 #include <$ac_header>
20168 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20169 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20171 grep -v '^ *+' conftest.er1
>conftest.err
20173 cat conftest.err
>&5
20174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175 (exit $ac_status); } >/dev
/null
; then
20176 if test -s conftest.err
; then
20177 ac_cpp_err
=$ac_c_preproc_warn_flag
20178 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20185 if test -z "$ac_cpp_err"; then
20186 ac_header_preproc
=yes
20188 echo "$as_me: failed program was:" >&5
20189 sed 's/^/| /' conftest.
$ac_ext >&5
20191 ac_header_preproc
=no
20193 rm -f conftest.err conftest.
$ac_ext
20194 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20195 echo "${ECHO_T}$ac_header_preproc" >&6
20197 # So? What about this header?
20198 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20200 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20201 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20203 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20204 ac_header_preproc
=yes
20207 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20208 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20209 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20210 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20211 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20212 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20213 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20214 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20216 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20217 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20218 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20221 ## ------------------------------------------ ##
20222 ## Report this to the AC_PACKAGE_NAME lists. ##
20223 ## ------------------------------------------ ##
20226 sed "s/^/$as_me: WARNING: /" >&2
20229 echo "$as_me:$LINENO: checking for $ac_header" >&5
20230 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20232 echo $ECHO_N "(cached) $ECHO_C" >&6
20234 eval "$as_ac_Header=\$ac_header_preproc"
20236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20237 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20240 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20241 cat >>confdefs.h
<<_ACEOF
20242 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20250 for ac_func
in getpagesize
20252 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20253 echo "$as_me:$LINENO: checking for $ac_func" >&5
20254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20255 if eval "test \"\${$as_ac_var+set}\" = set"; then
20256 echo $ECHO_N "(cached) $ECHO_C" >&6
20258 cat >conftest.
$ac_ext <<_ACEOF
20261 cat confdefs.h
>>conftest.
$ac_ext
20262 cat >>conftest.
$ac_ext <<_ACEOF
20263 /* end confdefs.h. */
20264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20266 #define $ac_func innocuous_$ac_func
20268 /* System header to define __stub macros and hopefully few prototypes,
20269 which can conflict with char $ac_func (); below.
20270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20271 <limits.h> exists even on freestanding compilers. */
20274 # include <limits.h>
20276 # include <assert.h>
20281 /* Override any gcc2 internal prototype to avoid an error. */
20286 /* We use char because int might match the return type of a gcc2
20287 builtin and then its argument prototype would still apply. */
20289 /* The GNU C library defines this for functions which it implements
20290 to always fail with ENOSYS. Some functions are actually named
20291 something starting with __ and the normal name is an alias. */
20292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20295 char (*f) () = $ac_func;
20304 return f != $ac_func;
20309 rm -f conftest.
$ac_objext conftest
$ac_exeext
20310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20311 (eval $ac_link) 2>conftest.er1
20313 grep -v '^ *+' conftest.er1
>conftest.err
20315 cat conftest.err
>&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); } &&
20318 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20320 (eval $ac_try) 2>&5
20322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323 (exit $ac_status); }; } &&
20324 { ac_try
='test -s conftest$ac_exeext'
20325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20326 (eval $ac_try) 2>&5
20328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329 (exit $ac_status); }; }; then
20330 eval "$as_ac_var=yes"
20332 echo "$as_me: failed program was:" >&5
20333 sed 's/^/| /' conftest.
$ac_ext >&5
20335 eval "$as_ac_var=no"
20337 rm -f conftest.err conftest.
$ac_objext \
20338 conftest
$ac_exeext conftest.
$ac_ext
20340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20342 if test `eval echo '${'$as_ac_var'}'` = yes; then
20343 cat >>confdefs.h
<<_ACEOF
20344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20350 echo "$as_me:$LINENO: checking for working mmap" >&5
20351 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
20352 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
20353 echo $ECHO_N "(cached) $ECHO_C" >&6
20355 if test "$cross_compiling" = yes; then
20356 ac_cv_func_mmap_fixed_mapped
=no
20358 cat >conftest.
$ac_ext <<_ACEOF
20361 cat confdefs.h
>>conftest.
$ac_ext
20362 cat >>conftest.
$ac_ext <<_ACEOF
20363 /* end confdefs.h. */
20364 $ac_includes_default
20365 /* malloc might have been renamed as rpl_malloc. */
20368 /* Thanks to Mike Haertel and Jim Avera for this test.
20369 Here is a matrix of mmap possibilities:
20370 mmap private not fixed
20371 mmap private fixed at somewhere currently unmapped
20372 mmap private fixed at somewhere already mapped
20373 mmap shared not fixed
20374 mmap shared fixed at somewhere currently unmapped
20375 mmap shared fixed at somewhere already mapped
20376 For private mappings, we should verify that changes cannot be read()
20377 back from the file, nor mmap's back from the file at a different
20378 address. (There have been systems where private was not correctly
20379 implemented like the infamous i386 svr4.0, and systems where the
20380 VM page cache was not coherent with the file system buffer cache
20381 like early versions of FreeBSD and possibly contemporary NetBSD.)
20382 For shared mappings, we should conversely verify that changes get
20383 propagated back to all the places they're supposed to be.
20385 Grep wants private fixed already mapped.
20386 The main things grep needs to know about mmap are:
20387 * does it exist and is it safe to write into the mmap'd area
20388 * how to use it (BSD variants) */
20391 #include <sys/mman.h>
20393 #if !STDC_HEADERS && !HAVE_STDLIB_H
20397 /* This mess was copied from the GNU getpagesize.h. */
20398 #if !HAVE_GETPAGESIZE
20399 /* Assume that all systems that can run configure have sys/param.h. */
20400 # if !HAVE_SYS_PARAM_H
20401 # define HAVE_SYS_PARAM_H 1
20404 # ifdef _SC_PAGESIZE
20405 # define getpagesize() sysconf(_SC_PAGESIZE)
20406 # else /* no _SC_PAGESIZE */
20407 # if HAVE_SYS_PARAM_H
20408 # include <sys/param.h>
20409 # ifdef EXEC_PAGESIZE
20410 # define getpagesize() EXEC_PAGESIZE
20411 # else /* no EXEC_PAGESIZE */
20413 # define getpagesize() NBPG * CLSIZE
20416 # endif /* no CLSIZE */
20417 # else /* no NBPG */
20419 # define getpagesize() NBPC
20420 # else /* no NBPC */
20422 # define getpagesize() PAGESIZE
20423 # endif /* PAGESIZE */
20424 # endif /* no NBPC */
20425 # endif /* no NBPG */
20426 # endif /* no EXEC_PAGESIZE */
20427 # else /* no HAVE_SYS_PARAM_H */
20428 # define getpagesize() 8192 /* punt totally */
20429 # endif /* no HAVE_SYS_PARAM_H */
20430 # endif /* no _SC_PAGESIZE */
20432 #endif /* no HAVE_GETPAGESIZE */
20437 char *data, *data2, *data3;
20441 pagesize = getpagesize ();
20443 /* First, make a file with some known garbage in it. */
20444 data = (char *) malloc (pagesize);
20447 for (i = 0; i < pagesize; ++i)
20448 *(data + i) = rand ();
20450 fd = creat ("conftest.mmap", 0600);
20453 if (write (fd, data, pagesize) != pagesize)
20457 /* Next, try to mmap the file at a fixed address which already has
20458 something else allocated at it. If we can, also make sure that
20459 we see the same garbage. */
20460 fd = open ("conftest.mmap", O_RDWR);
20463 data2 = (char *) malloc (2 * pagesize);
20466 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
20467 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
20468 MAP_PRIVATE | MAP_FIXED, fd, 0L))
20470 for (i = 0; i < pagesize; ++i)
20471 if (*(data + i) != *(data2 + i))
20474 /* Finally, make sure that changes to the mapped area do not
20475 percolate back to the file as seen by read(). (This is a bug on
20476 some variants of i386 svr4.0.) */
20477 for (i = 0; i < pagesize; ++i)
20478 *(data2 + i) = *(data2 + i) + 1;
20479 data3 = (char *) malloc (pagesize);
20482 if (read (fd, data3, pagesize) != pagesize)
20484 for (i = 0; i < pagesize; ++i)
20485 if (*(data + i) != *(data3 + i))
20491 rm -f conftest
$ac_exeext
20492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20493 (eval $ac_link) 2>&5
20495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20498 (eval $ac_try) 2>&5
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); }; }; then
20502 ac_cv_func_mmap_fixed_mapped
=yes
20504 echo "$as_me: program exited with status $ac_status" >&5
20505 echo "$as_me: failed program was:" >&5
20506 sed 's/^/| /' conftest.
$ac_ext >&5
20508 ( exit $ac_status )
20509 ac_cv_func_mmap_fixed_mapped
=no
20511 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20514 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
20515 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
20516 if test $ac_cv_func_mmap_fixed_mapped = yes; then
20518 cat >>confdefs.h
<<\_ACEOF
20519 #define HAVE_MMAP 1
20523 rm -f conftest.mmap
20527 for ac_func
in madvise mprotect
20529 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20530 echo "$as_me:$LINENO: checking for $ac_func" >&5
20531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20532 if eval "test \"\${$as_ac_var+set}\" = set"; then
20533 echo $ECHO_N "(cached) $ECHO_C" >&6
20535 cat >conftest.
$ac_ext <<_ACEOF
20538 cat confdefs.h
>>conftest.
$ac_ext
20539 cat >>conftest.
$ac_ext <<_ACEOF
20540 /* end confdefs.h. */
20541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20543 #define $ac_func innocuous_$ac_func
20545 /* System header to define __stub macros and hopefully few prototypes,
20546 which can conflict with char $ac_func (); below.
20547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20548 <limits.h> exists even on freestanding compilers. */
20551 # include <limits.h>
20553 # include <assert.h>
20558 /* Override any gcc2 internal prototype to avoid an error. */
20563 /* We use char because int might match the return type of a gcc2
20564 builtin and then its argument prototype would still apply. */
20566 /* The GNU C library defines this for functions which it implements
20567 to always fail with ENOSYS. Some functions are actually named
20568 something starting with __ and the normal name is an alias. */
20569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20572 char (*f) () = $ac_func;
20581 return f != $ac_func;
20586 rm -f conftest.
$ac_objext conftest
$ac_exeext
20587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20588 (eval $ac_link) 2>conftest.er1
20590 grep -v '^ *+' conftest.er1
>conftest.err
20592 cat conftest.err
>&5
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); } &&
20595 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20597 (eval $ac_try) 2>&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); }; } &&
20601 { ac_try
='test -s conftest$ac_exeext'
20602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20603 (eval $ac_try) 2>&5
20605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20606 (exit $ac_status); }; }; then
20607 eval "$as_ac_var=yes"
20609 echo "$as_me: failed program was:" >&5
20610 sed 's/^/| /' conftest.
$ac_ext >&5
20612 eval "$as_ac_var=no"
20614 rm -f conftest.err conftest.
$ac_objext \
20615 conftest
$ac_exeext conftest.
$ac_ext
20617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20619 if test `eval echo '${'$as_ac_var'}'` = yes; then
20620 cat >>confdefs.h
<<_ACEOF
20621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20627 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
20629 cat >>confdefs.h
<<\_ACEOF
20635 rm -f doc
/config.status
20636 ac_config_files
="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
20639 ac_config_commands
="$ac_config_commands default"
20646 cat >confcache
<<\_ACEOF
20647 # This file is a shell script that caches the results of configure
20648 # tests run on this system so they can be shared between configure
20649 # scripts and configure runs, see configure's option --config-cache.
20650 # It is not useful on other systems. If it contains results you don't
20651 # want to keep, you may remove or edit it.
20653 # config.status only pays attention to the cache file if you give it
20654 # the --recheck option to rerun configure.
20656 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20657 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20658 # following values.
20662 # The following way of writing the cache mishandles newlines in values,
20663 # but we know of no workaround that is simple, portable, and efficient.
20664 # So, don't put newlines in cache variables' values.
20665 # Ultrix sh set writes to stderr and can't be redirected directly,
20666 # and sets the high bit in the cache file unless we assign to the vars.
20669 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20671 # `set' does not quote correctly, so add quotes (double-quote
20672 # substitution turns \\\\ into \\, and sed turns \\ into \).
20675 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20678 # `set' quotes correctly as required by POSIX, so do not add quotes.
20680 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20687 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20689 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20691 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20692 if test -w $cache_file; then
20693 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20694 cat confcache
>$cache_file
20696 echo "not updating unwritable cache $cache_file"
20701 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20702 # Let make expand exec_prefix.
20703 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20705 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20706 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20707 # trailing colons and then remove the whole line if VPATH becomes empty
20708 # (actually we leave an empty line to preserve line numbers).
20709 if test "x$srcdir" = x.
; then
20710 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20711 s/:*\$(srcdir):*/:/;
20712 s/:*\${srcdir}:*/:/;
20714 s/^\([^=]*=[ ]*\):*/\1/;
20720 DEFS
=-DHAVE_CONFIG_H
20724 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20725 # 1. Remove the extension, and $U if already installed.
20726 ac_i
=`echo "$ac_i" |
20727 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20729 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
20730 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
20732 LIBOBJS
=$ac_libobjs
20734 LTLIBOBJS
=$ac_ltlibobjs
20737 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20738 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20739 Usually this means the macro was only invoked conditionally." >&5
20740 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20741 Usually this means the macro was only invoked conditionally." >&2;}
20742 { (exit 1); exit 1; }; }
20744 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20745 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20746 Usually this means the macro was only invoked conditionally." >&5
20747 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20748 Usually this means the macro was only invoked conditionally." >&2;}
20749 { (exit 1); exit 1; }; }
20751 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20752 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
20753 Usually this means the macro was only invoked conditionally." >&5
20754 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
20755 Usually this means the macro was only invoked conditionally." >&2;}
20756 { (exit 1); exit 1; }; }
20758 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
20759 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
20760 Usually this means the macro was only invoked conditionally." >&5
20761 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
20762 Usually this means the macro was only invoked conditionally." >&2;}
20763 { (exit 1); exit 1; }; }
20765 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
20766 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
20767 Usually this means the macro was only invoked conditionally." >&5
20768 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
20769 Usually this means the macro was only invoked conditionally." >&2;}
20770 { (exit 1); exit 1; }; }
20773 : ${CONFIG_STATUS=./config.status}
20774 ac_clean_files_save
=$ac_clean_files
20775 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20776 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20777 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20778 cat >$CONFIG_STATUS <<_ACEOF
20780 # Generated by $as_me.
20781 # Run this file to recreate the current configuration.
20782 # Compiler output produced by configure, useful for debugging
20783 # configure, is in config.log if it exists.
20786 ac_cs_recheck=false
20788 SHELL=\${CONFIG_SHELL-$SHELL}
20791 cat >>$CONFIG_STATUS <<\_ACEOF
20792 ## --------------------- ##
20793 ## M4sh Initialization. ##
20794 ## --------------------- ##
20796 # Be Bourne compatible
20797 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20800 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20801 # is contrary to our usage. Disable this feature.
20802 alias -g '${1+"$@"}'='"$@"'
20803 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20806 DUALCASE
=1; export DUALCASE
# for MKS sh
20808 # Support unset when possible.
20809 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20816 # Work around bugs in pre-3.0 UWIN ksh.
20817 $as_unset ENV MAIL MAILPATH
20824 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20825 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20826 LC_TELEPHONE LC_TIME
20828 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20829 eval $as_var=C
; export $as_var
20835 # Required to use basename.
20836 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20842 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20843 as_basename
=basename
20849 # Name of the executable.
20850 as_me
=`$as_basename "$0" ||
20851 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20852 X"$0" : 'X\(//\)$' \| \
20853 X"$0" : 'X\(/\)$' \| \
20854 . : '\(.\)' 2>/dev/null ||
20856 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20857 /^X\/\(\/\/\)$/{ s//\1/; q; }
20858 /^X\/\(\/\).*/{ s//\1/; q; }
20862 # PATH needs CR, and LINENO needs CR and PATH.
20863 # Avoid depending upon Character Ranges.
20864 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20865 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20866 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20867 as_cr_digits
='0123456789'
20868 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20870 # The user is always right.
20871 if test "${PATH_SEPARATOR+set}" != set; then
20872 echo "#! /bin/sh" >conf$$.sh
20873 echo "exit 0" >>conf$$.sh
20875 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20884 as_lineno_1
=$LINENO
20885 as_lineno_2
=$LINENO
20886 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20887 test "x$as_lineno_1" != "x$as_lineno_2" &&
20888 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20889 # Find who we are. Look in the path if we contain no path at all
20892 *[\\/]* ) as_myself
=$0 ;;
20893 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20894 for as_dir
in $PATH
20897 test -z "$as_dir" && as_dir
=.
20898 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20903 # We did not find ourselves, most probably we were run as `sh COMMAND'
20904 # in which case we are not to be found in the path.
20905 if test "x$as_myself" = x
; then
20908 if test ! -f "$as_myself"; then
20909 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20910 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20911 { (exit 1); exit 1; }; }
20913 case $CONFIG_SHELL in
20915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20916 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20919 test -z "$as_dir" && as_dir
=.
20920 for as_base
in sh bash ksh sh5
; do
20923 if ("$as_dir/$as_base" -c '
20924 as_lineno_1=$LINENO
20925 as_lineno_2=$LINENO
20926 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20927 test "x$as_lineno_1" != "x$as_lineno_2" &&
20928 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20929 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20930 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20931 CONFIG_SHELL
=$as_dir/$as_base
20932 export CONFIG_SHELL
20933 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20941 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20942 # uniformly replaced by the line number. The first 'sed' inserts a
20943 # line-number line before each line; the second 'sed' does the real
20944 # work. The second script uses 'N' to pair each line-number line
20945 # with the numbered line, and appends trailing '-' during
20946 # substitution so that $LINENO is not a special case at line end.
20947 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20948 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20949 sed '=' <$as_myself |
20954 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20957 s,^['$as_cr_digits']*\n,,
20958 ' >$as_me.lineno
&&
20959 chmod +x
$as_me.lineno ||
20960 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20961 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20962 { (exit 1); exit 1; }; }
20964 # Don't try to exec as it changes $[0], causing all sort of problems
20965 # (the dirname of $[0] is not the place where we might find the
20966 # original and so on. Autoconf is especially sensible to this).
20968 # Exit status is that of the last command.
20973 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20974 *c
*,-n*) ECHO_N
= ECHO_C
='
20976 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20977 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20980 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20986 rm -f conf$$ conf$$.exe conf$$.
file
20988 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20989 # We could just check for DJGPP; but this test a) works b) is more generic
20990 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20991 if test -f conf$$.exe
; then
20992 # Don't use ln at all; we don't have any links
20997 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21002 rm -f conf$$ conf$$.exe conf$$.
file
21004 if mkdir
-p .
2>/dev
/null
; then
21007 test -d .
/-p && rmdir .
/-p
21011 as_executable_p
="test -f"
21013 # Sed expression to map a string onto a valid CPP name.
21014 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21016 # Sed expression to map a string onto a valid variable name.
21017 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21021 # We need space, tab and new line, in precisely that order.
21031 # Open the log real soon, to keep \$[0] and so on meaningful, and to
21032 # report actual input values of CONFIG_FILES etc. instead of their
21033 # values after options handling. Logging --version etc. is OK.
21037 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21038 ## Running $as_me. ##
21043 This file was extended by $as_me, which was
21044 generated by GNU Autoconf 2.59. Invocation command line was
21046 CONFIG_FILES = $CONFIG_FILES
21047 CONFIG_HEADERS = $CONFIG_HEADERS
21048 CONFIG_LINKS = $CONFIG_LINKS
21049 CONFIG_COMMANDS = $CONFIG_COMMANDS
21053 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21057 # Files that config.status was made for.
21058 if test -n "$ac_config_files"; then
21059 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21062 if test -n "$ac_config_headers"; then
21063 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21066 if test -n "$ac_config_links"; then
21067 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21070 if test -n "$ac_config_commands"; then
21071 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21074 cat >>$CONFIG_STATUS <<\_ACEOF
21077 \`$as_me' instantiates files from templates according to the
21078 current configuration.
21080 Usage: $0 [OPTIONS] [FILE]...
21082 -h, --help print this help, then exit
21083 -V, --version print version number, then exit
21084 -q, --quiet do not print progress messages
21085 -d, --debug don't remove temporary files
21086 --recheck update $as_me by reconfiguring in the same conditions
21087 --file=FILE[:TEMPLATE]
21088 instantiate the configuration file FILE
21089 --header=FILE[:TEMPLATE]
21090 instantiate the configuration header FILE
21092 Configuration files:
21095 Configuration headers:
21098 Configuration commands:
21101 Report bugs to <bug-autoconf@gnu.org>."
21104 cat >>$CONFIG_STATUS <<_ACEOF
21107 configured by $0, generated by GNU Autoconf 2.59,
21108 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21110 Copyright (C) 2003 Free Software Foundation, Inc.
21111 This config.status script is free software; the Free Software Foundation
21112 gives unlimited permission to copy, distribute and modify it."
21117 cat >>$CONFIG_STATUS <<\_ACEOF
21118 # If no file are specified by the user, then we need to provide default
21119 # value. By we need to know if files were specified by the user.
21125 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
21126 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
21134 *) # This is not an option, so the user has probably given explicit
21137 ac_need_defaults
=false
;;
21141 # Handling of the options.
21143 cat >>$CONFIG_STATUS <<\_ACEOF
21144 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21146 --version |
--vers* |
-V )
21147 echo "$ac_cs_version"; exit 0 ;;
21149 # Conflict between --help and --header
21150 { { echo "$as_me:$LINENO: error: ambiguous option: $1
21151 Try \`$0 --help' for more information." >&5
21152 echo "$as_me: error: ambiguous option: $1
21153 Try \`$0 --help' for more information." >&2;}
21154 { (exit 1); exit 1; }; };;
21155 --help |
--hel |
-h )
21156 echo "$ac_cs_usage"; exit 0 ;;
21157 --debug |
--d* |
-d )
21159 --file |
--fil |
--fi |
--f )
21161 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21162 ac_need_defaults
=false
;;
21163 --header |
--heade |
--head |
--hea )
21165 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21166 ac_need_defaults
=false
;;
21167 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21168 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21171 # This is an error.
21172 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21173 Try \`$0 --help' for more information." >&5
21174 echo "$as_me: error: unrecognized option: $1
21175 Try \`$0 --help' for more information." >&2;}
21176 { (exit 1); exit 1; }; } ;;
21178 *) ac_config_targets
="$ac_config_targets $1" ;;
21184 ac_configure_extra_args
=
21186 if $ac_cs_silent; then
21188 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21192 cat >>$CONFIG_STATUS <<_ACEOF
21193 if \$ac_cs_recheck; then
21194 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21195 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21200 cat >>$CONFIG_STATUS <<_ACEOF
21202 # INIT-COMMANDS section.
21205 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21208 # The HP-UX ksh and POSIX shell print the target directory to stdout
21209 # if CDPATH is set.
21210 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21212 sed_quote_subst='$sed_quote_subst'
21213 double_quote_subst='$double_quote_subst'
21214 delay_variable_subst='$delay_variable_subst'
21215 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
21216 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
21217 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
21218 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
21219 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
21220 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
21221 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
21222 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
21223 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
21224 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
21225 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
21226 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
21227 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
21228 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
21229 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
21230 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
21231 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
21232 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
21233 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
21234 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
21235 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
21236 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
21237 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
21238 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
21239 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
21240 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
21241 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
21242 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21243 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
21244 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
21245 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
21246 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
21247 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
21248 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
21249 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21250 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21251 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21252 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
21253 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
21254 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
21255 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
21256 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
21257 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
21258 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
21259 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
21260 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
21261 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
21262 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
21263 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
21264 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
21265 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
21266 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
21267 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
21268 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
21269 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
21270 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21271 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21272 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
21273 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
21274 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21275 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21276 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
21277 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21278 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21279 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21280 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21281 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21282 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21283 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
21284 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
21285 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
21286 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21287 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
21288 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
21289 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
21290 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
21291 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
21292 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21293 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
21294 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
21295 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
21296 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
21297 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
21298 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21299 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
21300 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
21301 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21302 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
21303 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
21304 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
21305 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
21306 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
21307 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21308 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21309 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
21310 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
21311 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
21312 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
21313 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21314 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21315 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21316 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
21317 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
21318 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
21319 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
21320 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
21321 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
21322 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
21323 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
21324 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
21325 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
21328 LTCFLAGS='$LTCFLAGS'
21329 compiler='$compiler_DEFAULT'
21331 # Quote evaled strings.
21342 deplibs_check_method \
21351 lt_cv_sys_global_symbol_pipe \
21352 lt_cv_sys_global_symbol_to_cdecl \
21353 lt_cv_sys_global_symbol_to_c_name_address \
21356 lt_prog_compiler_no_builtin_flag \
21357 lt_prog_compiler_wl \
21358 lt_prog_compiler_pic \
21359 lt_prog_compiler_static \
21360 lt_cv_prog_compiler_c_o \
21363 export_dynamic_flag_spec \
21364 whole_archive_flag_spec \
21365 compiler_needs_object \
21367 allow_undefined_flag \
21368 no_undefined_flag \
21369 hardcode_libdir_flag_spec \
21370 hardcode_libdir_flag_spec_ld \
21371 hardcode_libdir_separator \
21376 variables_saved_for_relink \
21378 library_names_spec \
21383 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
21384 *[\\\\\\\`\\"\\\$]*)
21385 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21388 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21393 # Double-quote double-evaled strings.
21394 for var in reload_cmds \
21395 old_postinstall_cmds \
21396 old_postuninstall_cmds \
21398 extract_expsyms_cmds \
21399 old_archive_from_new_cmds \
21400 old_archive_from_expsyms_cmds \
21402 archive_expsym_cmds \
21404 module_expsym_cmds \
21405 export_symbols_cmds \
21408 postuninstall_cmds \
21410 sys_lib_search_path_spec \
21411 sys_lib_dlsearch_path_spec; do
21412 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
21413 *[\\\\\\\`\\"\\\$]*)
21414 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21417 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21422 # Fix-up fallback echo if it was mangled by the above quoting rules.
21424 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
21428 ac_aux_dir='$ac_aux_dir'
21429 xsi_shell='$xsi_shell'
21430 lt_shell_append='$lt_shell_append'
21432 # See if we are running on zsh, and set the options which allow our
21433 # commands through without removal of \ escapes INIT.
21434 if test -n "\${ZSH_VERSION+set}" ; then
21435 setopt NO_GLOB_SUBST
21441 TIMESTAMP='$TIMESTAMP'
21447 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
21448 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
21450 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
21451 # Capture the value of LINGUAS because we need it to compute CATALOGS.
21452 LINGUAS="${LINGUAS-%UNSET%}"
21457 acx_cv_header_stdint="$acx_cv_header_stdint"
21458 acx_cv_type_int8_t="$acx_cv_type_int8_t"
21459 acx_cv_type_int16_t="$acx_cv_type_int16_t"
21460 acx_cv_type_int32_t="$acx_cv_type_int32_t"
21461 acx_cv_type_int64_t="$acx_cv_type_int64_t"
21462 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
21463 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
21464 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
21465 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
21466 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
21467 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
21468 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
21469 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
21470 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
21478 cat >>$CONFIG_STATUS <<\_ACEOF
21479 for ac_config_target
in $ac_config_targets
21481 case "$ac_config_target" in
21482 # Handling of arguments.
21483 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21484 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
21485 "bfd-in3.h" ) CONFIG_FILES
="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
21486 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
21487 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21488 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21489 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
21490 "bfd_stdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS bfd_stdint.h" ;;
21491 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
21492 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
21493 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21494 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21495 { (exit 1); exit 1; }; };;
21499 # If the user did not use the arguments to specify the items to instantiate,
21500 # then the envvar interface is used. Set only those that are not.
21501 # We use the long form for the default assignment because of an extremely
21502 # bizarre bug on SunOS 4.1.3.
21503 if $ac_need_defaults; then
21504 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21505 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21506 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21509 # Have a temporary directory for convenience. Make it in the build tree
21510 # simply because there is no reason to put it here, and in addition,
21511 # creating and moving files from /tmp can sometimes cause problems.
21512 # Create a temporary directory, and hook for its removal unless debugging.
21515 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21516 trap '{ (exit 1); exit 1; }' 1 2 13 15
21519 # Create a (secure) tmp directory for tmp files.
21522 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21523 test -n "$tmp" && test -d "$tmp"
21526 tmp
=.
/confstat$$
-$RANDOM
21527 (umask 077 && mkdir
$tmp)
21530 echo "$me: cannot create a temporary directory in ." >&2
21531 { (exit 1); exit 1; }
21536 cat >>$CONFIG_STATUS <<_ACEOF
21539 # CONFIG_FILES section.
21542 # No need to generate the scripts if there are no CONFIG_FILES.
21543 # This happens for instance when ./config.status config.h
21544 if test -n "\$CONFIG_FILES"; then
21545 # Protect against being on the right side of a sed subst in config.status.
21546 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21547 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21548 s,@SHELL@,$SHELL,;t t
21549 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21550 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21551 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21552 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21553 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21554 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21555 s,@exec_prefix@,$exec_prefix,;t t
21556 s,@prefix@,$prefix,;t t
21557 s,@program_transform_name@,$program_transform_name,;t t
21558 s,@bindir@,$bindir,;t t
21559 s,@sbindir@,$sbindir,;t t
21560 s,@libexecdir@,$libexecdir,;t t
21561 s,@datadir@,$datadir,;t t
21562 s,@sysconfdir@,$sysconfdir,;t t
21563 s,@sharedstatedir@,$sharedstatedir,;t t
21564 s,@localstatedir@,$localstatedir,;t t
21565 s,@libdir@,$libdir,;t t
21566 s,@includedir@,$includedir,;t t
21567 s,@oldincludedir@,$oldincludedir,;t t
21568 s,@infodir@,$infodir,;t t
21569 s,@mandir@,$mandir,;t t
21570 s,@build_alias@,$build_alias,;t t
21571 s,@host_alias@,$host_alias,;t t
21572 s,@target_alias@,$target_alias,;t t
21573 s,@DEFS@,$DEFS,;t t
21574 s,@ECHO_C@,$ECHO_C,;t t
21575 s,@ECHO_N@,$ECHO_N,;t t
21576 s,@ECHO_T@,$ECHO_T,;t t
21577 s,@LIBS@,$LIBS,;t t
21578 s,@build@,$build,;t t
21579 s,@build_cpu@,$build_cpu,;t t
21580 s,@build_vendor@,$build_vendor,;t t
21581 s,@build_os@,$build_os,;t t
21582 s,@host@,$host,;t t
21583 s,@host_cpu@,$host_cpu,;t t
21584 s,@host_vendor@,$host_vendor,;t t
21585 s,@host_os@,$host_os,;t t
21586 s,@target@,$target,;t t
21587 s,@target_cpu@,$target_cpu,;t t
21588 s,@target_vendor@,$target_vendor,;t t
21589 s,@target_os@,$target_os,;t t
21591 s,@CFLAGS@,$CFLAGS,;t t
21592 s,@LDFLAGS@,$LDFLAGS,;t t
21593 s,@CPPFLAGS@,$CPPFLAGS,;t t
21594 s,@ac_ct_CC@,$ac_ct_CC,;t t
21595 s,@EXEEXT@,$EXEEXT,;t t
21596 s,@OBJEXT@,$OBJEXT,;t t
21597 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21598 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21599 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21600 s,@CYGPATH_W@,$CYGPATH_W,;t t
21601 s,@PACKAGE@,$PACKAGE,;t t
21602 s,@VERSION@,$VERSION,;t t
21603 s,@ACLOCAL@,$ACLOCAL,;t t
21604 s,@AUTOCONF@,$AUTOCONF,;t t
21605 s,@AUTOMAKE@,$AUTOMAKE,;t t
21606 s,@AUTOHEADER@,$AUTOHEADER,;t t
21607 s,@MAKEINFO@,$MAKEINFO,;t t
21608 s,@install_sh@,$install_sh,;t t
21609 s,@STRIP@,$STRIP,;t t
21610 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21611 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21612 s,@mkdir_p@,$mkdir_p,;t t
21614 s,@SET_MAKE@,$SET_MAKE,;t t
21615 s,@am__leading_dot@,$am__leading_dot,;t t
21616 s,@AMTAR@,$AMTAR,;t t
21617 s,@am__tar@,$am__tar,;t t
21618 s,@am__untar@,$am__untar,;t t
21619 s,@DEPDIR@,$DEPDIR,;t t
21620 s,@am__include@,$am__include,;t t
21621 s,@am__quote@,$am__quote,;t t
21622 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21623 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21624 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21625 s,@CCDEPMODE@,$CCDEPMODE,;t t
21626 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21627 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21629 s,@ac_ct_AR@,$ac_ct_AR,;t t
21630 s,@RANLIB@,$RANLIB,;t t
21631 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21632 s,@LIBTOOL@,$LIBTOOL,;t t
21634 s,@EGREP@,$EGREP,;t t
21635 s,@FGREP@,$FGREP,;t t
21636 s,@GREP@,$GREP,;t t
21638 s,@DUMPBIN@,$DUMPBIN,;t t
21639 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
21641 s,@LN_S@,$LN_S,;t t
21642 s,@lt_ECHO@,$lt_ECHO,;t t
21644 s,@DEBUGDIR@,$DEBUGDIR,;t t
21645 s,@PKGVERSION@,$PKGVERSION,;t t
21646 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
21647 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t
21648 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
21649 s,@NO_WERROR@,$NO_WERROR,;t t
21650 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21651 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21652 s,@MAINT@,$MAINT,;t t
21653 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
21654 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
21655 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
21656 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
21657 s,@host_noncanonical@,$host_noncanonical,;t t
21658 s,@target_noncanonical@,$target_noncanonical,;t t
21659 s,@bfdlibdir@,$bfdlibdir,;t t
21660 s,@bfdincludedir@,$bfdincludedir,;t t
21661 s,@USE_NLS@,$USE_NLS,;t t
21662 s,@LIBINTL@,$LIBINTL,;t t
21663 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
21664 s,@INCINTL@,$INCINTL,;t t
21665 s,@XGETTEXT@,$XGETTEXT,;t t
21666 s,@GMSGFMT@,$GMSGFMT,;t t
21667 s,@POSUB@,$POSUB,;t t
21668 s,@CATALOGS@,$CATALOGS,;t t
21669 s,@DATADIRNAME@,$DATADIRNAME,;t t
21670 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
21671 s,@GENCAT@,$GENCAT,;t t
21672 s,@CATOBJEXT@,$CATOBJEXT,;t t
21673 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
21674 s,@MSGFMT@,$MSGFMT,;t t
21675 s,@MSGMERGE@,$MSGMERGE,;t t
21676 s,@HDEFINES@,$HDEFINES,;t t
21677 s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
21678 s,@BFD_HOST_64BIT_LONG_LONG@,$BFD_HOST_64BIT_LONG_LONG,;t t
21679 s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
21680 s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
21681 s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
21682 s,@BFD_HOSTPTR_T@,$BFD_HOSTPTR_T,;t t
21683 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
21684 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
21685 s,@COREFILE@,$COREFILE,;t t
21686 s,@COREFLAG@,$COREFLAG,;t t
21687 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
21688 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
21689 s,@TDEFINES@,$TDEFINES,;t t
21690 s,@wordsize@,$wordsize,;t t
21691 s,@bfd64_libs@,$bfd64_libs,;t t
21692 s,@all_backends@,$all_backends,;t t
21693 s,@bfd_backends@,$bfd_backends,;t t
21694 s,@bfd_machines@,$bfd_machines,;t t
21695 s,@bfd_default_target_size@,$bfd_default_target_size,;t t
21696 s,@bfd_file_ptr@,$bfd_file_ptr,;t t
21697 s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
21698 s,@tdefaults@,$tdefaults,;t t
21699 s,@datarootdir@,$datarootdir,;t t
21700 s,@docdir@,$docdir,;t t
21701 s,@htmldir@,$htmldir,;t t
21702 s,@LIBOBJS@,$LIBOBJS,;t t
21703 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21708 cat >>$CONFIG_STATUS <<\_ACEOF
21709 # Split the substitutions into bite-sized pieces for seds with
21710 # small command number limits, like on Digital OSF/1 and HP-UX.
21711 ac_max_sed_lines
=48
21712 ac_sed_frag
=1 # Number of current file.
21713 ac_beg
=1 # First line for current file.
21714 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21717 while $ac_more_lines; do
21718 if test $ac_beg -gt 1; then
21719 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21721 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21723 if test ! -s $tmp/subs.frag
; then
21724 ac_more_lines
=false
21726 # The purpose of the label and of the branching condition is to
21727 # speed up the sed processing (if there are no `@' at all, there
21728 # is no need to browse any of the substitutions).
21729 # These are the two extra sed commands mentioned above.
21731 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
21732 if test -z "$ac_sed_cmds"; then
21733 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21735 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21737 ac_sed_frag
=`expr $ac_sed_frag + 1`
21739 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21742 if test -z "$ac_sed_cmds"; then
21745 fi # test -n "$CONFIG_FILES"
21748 cat >>$CONFIG_STATUS <<\_ACEOF
21749 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21750 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21752 - |
*:- |
*:-:* ) # input from stdin
21754 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21755 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21756 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21757 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21758 * ) ac_file_in
=$ac_file.
in ;;
21761 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21762 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21763 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21764 X"$ac_file" : 'X\(//\)[^/]' \| \
21765 X"$ac_file" : 'X\(//\)$' \| \
21766 X"$ac_file" : 'X\(/\)' \| \
21767 . : '\(.\)' 2>/dev/null ||
21769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21770 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21771 /^X\(\/\/\)$/{ s//\1/; q; }
21772 /^X\(\/\).*/{ s//\1/; q; }
21774 { if $as_mkdir_p; then
21779 while test ! -d "$as_dir"; do
21780 as_dirs
="$as_dir $as_dirs"
21781 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21782 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21783 X"$as_dir" : 'X\(//\)[^/]' \| \
21784 X"$as_dir" : 'X\(//\)$' \| \
21785 X"$as_dir" : 'X\(/\)' \| \
21786 . : '\(.\)' 2>/dev/null ||
21788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21789 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21790 /^X\(\/\/\)$/{ s//\1/; q; }
21791 /^X\(\/\).*/{ s//\1/; q; }
21794 test ! -n "$as_dirs" || mkdir
$as_dirs
21795 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21796 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21797 { (exit 1); exit 1; }; }; }
21801 if test "$ac_dir" != .
; then
21802 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21803 # A "../" for each directory in $ac_dir_suffix.
21804 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21806 ac_dir_suffix
= ac_top_builddir
=
21810 .
) # No --srcdir option. We are building in place.
21812 if test -z "$ac_top_builddir"; then
21815 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21817 [\\/]* | ?
:[\\/]* ) # Absolute path.
21818 ac_srcdir
=$srcdir$ac_dir_suffix;
21819 ac_top_srcdir
=$srcdir ;;
21820 *) # Relative path.
21821 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21822 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21825 # Do not use `cd foo && pwd` to compute absolute paths, because
21826 # the directories may not exist.
21828 .
) ac_abs_builddir
="$ac_dir";;
21831 .
) ac_abs_builddir
=`pwd`;;
21832 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21833 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21836 case $ac_abs_builddir in
21837 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21839 case ${ac_top_builddir}.
in
21840 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21841 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21842 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21845 case $ac_abs_builddir in
21846 .
) ac_abs_srcdir
=$ac_srcdir;;
21849 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21850 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21851 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21854 case $ac_abs_builddir in
21855 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21857 case $ac_top_srcdir in
21858 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21859 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21860 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21866 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21867 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21870 # Let's still pretend it is `configure' which instantiates (i.e., don't
21871 # use $as_me), people would be surprised to read:
21872 # /* config.h. Generated by config.status. */
21873 if test x
"$ac_file" = x-
; then
21876 configure_input
="$ac_file. "
21878 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21879 sed 's,.*/,,'` by configure."
21881 # First look for the input files in the build tree, otherwise in the
21883 ac_file_inputs
=`IFS=:
21884 for f in $ac_file_in; do
21886 -) echo $tmp/stdin ;;
21888 # Absolute (can't be DOS-style, as IFS=:)
21889 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21890 echo "$as_me: error: cannot find input file: $f" >&2;}
21891 { (exit 1); exit 1; }; }
21894 if test -f "$f"; then
21897 elif test -f "$srcdir/$f"; then
21902 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21903 echo "$as_me: error: cannot find input file: $f" >&2;}
21904 { (exit 1); exit 1; }; }
21907 done` ||
{ (exit 1); exit 1; }
21909 if test x
"$ac_file" != x-
; then
21910 { echo "$as_me:$LINENO: creating $ac_file" >&5
21911 echo "$as_me: creating $ac_file" >&6;}
21915 cat >>$CONFIG_STATUS <<_ACEOF
21919 cat >>$CONFIG_STATUS <<\_ACEOF
21921 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21922 s
,@configure_input@
,$configure_input,;t t
21923 s
,@srcdir@
,$ac_srcdir,;t t
21924 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21925 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21926 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21927 s
,@builddir@
,$ac_builddir,;t t
21928 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21929 s
,@top_builddir@
,$ac_top_builddir,;t t
21930 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21931 s
,@INSTALL@
,$ac_INSTALL,;t t
21932 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21934 if test x"$ac_file" != x-; then
21935 mv $tmp/out $ac_file
21943 cat >>$CONFIG_STATUS <<\_ACEOF
21946 # CONFIG_HEADER section.
21949 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21950 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21952 # ac_d sets the value in "#define NAME VALUE" lines.
21953 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21954 ac_dB
='[ ].*$,\1#\2'
21957 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21958 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21959 ac_uB
='$,\1#\2define\3'
21963 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21964 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21966 - |
*:- |
*:-:* ) # input from stdin
21968 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21969 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21970 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21971 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21972 * ) ac_file_in
=$ac_file.
in ;;
21975 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21976 echo "$as_me: creating $ac_file" >&6;}
21978 # First look for the input files in the build tree, otherwise in the
21980 ac_file_inputs
=`IFS=:
21981 for f in $ac_file_in; do
21983 -) echo $tmp/stdin ;;
21985 # Absolute (can't be DOS-style, as IFS=:)
21986 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21987 echo "$as_me: error: cannot find input file: $f" >&2;}
21988 { (exit 1); exit 1; }; }
21989 # Do quote $f, to prevent DOS paths from being IFS'd.
21992 if test -f "$f"; then
21995 elif test -f "$srcdir/$f"; then
22000 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22001 echo "$as_me: error: cannot find input file: $f" >&2;}
22002 { (exit 1); exit 1; }; }
22005 done` ||
{ (exit 1); exit 1; }
22006 # Remove the trailing spaces.
22007 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
22011 # Transform confdefs.h into two sed scripts, `conftest.defines' and
22012 # `conftest.undefs', that substitutes the proper values into
22013 # config.h.in to produce config.h. The first handles `#define'
22014 # templates, and the second `#undef' templates.
22015 # And first: Protect against being on the right side of a sed subst in
22016 # config.status. Protect against being in an unquoted here document
22017 # in config.status.
22018 rm -f conftest.defines conftest.undefs
22019 # Using a here document instead of a string reduces the quoting nightmare.
22020 # Putting comments in sed scripts is not portable.
22022 # `end' is used to avoid that the second main sed command (meant for
22023 # 0-ary CPP macros) applies to n-ary macro definitions.
22024 # See the Autoconf documentation for `clear'.
22025 cat >confdef2sed.
sed <<\_ACEOF
22030 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
22032 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
22035 # If some macros were called several times there might be several times
22036 # the same #defines, which is useless. Nevertheless, we may not want to
22037 # sort them, since we want the *last* AC-DEFINE to be honored.
22038 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
22039 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
22040 rm -f confdef2sed.sed
22042 # This sed command replaces #undef with comments. This is necessary, for
22043 # example, in the case of _POSIX_SOURCE, which is predefined and required
22044 # on some systems where configure will not decide to define it.
22045 cat >>conftest.undefs <<\_ACEOF
22046 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
22049 # Break up conftest.defines because some shells have a limit on the size
22050 # of here documents, and old seds have small limits too (100 cmds).
22051 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
22052 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22053 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
22054 echo ' :' >>$CONFIG_STATUS
22055 rm -f conftest.tail
22056 while grep . conftest.defines >/dev/null
22058 # Write a limited-size here document to $tmp/defines.sed.
22059 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
22060 # Speed up: don't consider the non `#define' lines.
22061 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
22062 # Work around the forget-to-reset-the-flag bug.
22063 echo 't clr' >>$CONFIG_STATUS
22064 echo ': clr' >>$CONFIG_STATUS
22065 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
22067 sed -f $tmp/defines.sed $tmp/in >$tmp/out
22069 mv $tmp/out $tmp/in
22071 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
22072 rm -f conftest.defines
22073 mv conftest.
tail conftest.defines
22075 rm -f conftest.defines
22076 echo ' fi # grep' >>$CONFIG_STATUS
22077 echo >>$CONFIG_STATUS
22079 # Break up conftest.undefs because some shells have a limit on the size
22080 # of here documents, and old seds have small limits too (100 cmds).
22081 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
22082 rm -f conftest.
tail
22083 while grep . conftest.undefs
>/dev
/null
22085 # Write a limited-size here document to $tmp/undefs.sed.
22086 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22087 # Speed up: don't consider the non
`#undef'
22088 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
22089 # Work around the forget-to-reset-the-flag bug.
22090 echo 't clr' >>$CONFIG_STATUS
22091 echo ': clr' >>$CONFIG_STATUS
22092 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22094 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22096 mv $tmp/out $tmp/in
22098 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22099 rm -f conftest.undefs
22100 mv conftest.tail conftest.undefs
22102 rm -f conftest.undefs
22104 cat >>$CONFIG_STATUS <<\_ACEOF
22105 # Let's still pretend it is `configure
' which instantiates (i.e., don't
22106 # use $as_me), people would be surprised to read:
22107 # /* config.h. Generated by config.status. */
22108 if test x
"$ac_file" = x-
; then
22109 echo "/* Generated by configure. */" >$tmp/config.h
22111 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
22113 cat $tmp/in >>$tmp/config.h
22115 if test x
"$ac_file" != x-
; then
22116 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
22117 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22118 echo "$as_me: $ac_file is unchanged" >&6;}
22120 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22121 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22122 X"$ac_file" : 'X\(//\)[^/]' \| \
22123 X"$ac_file" : 'X\(//\)$' \| \
22124 X"$ac_file" : 'X\(/\)' \| \
22125 . : '\(.\)' 2>/dev/null ||
22127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22128 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22129 /^X\(\/\/\)$/{ s//\1/; q; }
22130 /^X\(\/\).*/{ s//\1/; q; }
22132 { if $as_mkdir_p; then
22137 while test ! -d "$as_dir"; do
22138 as_dirs
="$as_dir $as_dirs"
22139 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22140 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22141 X"$as_dir" : 'X\(//\)[^/]' \| \
22142 X"$as_dir" : 'X\(//\)$' \| \
22143 X"$as_dir" : 'X\(/\)' \| \
22144 . : '\(.\)' 2>/dev/null ||
22146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22147 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22148 /^X\(\/\/\)$/{ s//\1/; q; }
22149 /^X\(\/\).*/{ s//\1/; q; }
22152 test ! -n "$as_dirs" || mkdir
$as_dirs
22153 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22154 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22155 { (exit 1); exit 1; }; }; }
22158 mv $tmp/config.h
$ac_file
22162 rm -f $tmp/config.h
22164 # Compute $ac_file's index in $config_headers.
22166 for _am_header
in $config_headers :; do
22167 case $_am_header in
22168 $ac_file |
$ac_file:* )
22171 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22174 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
22175 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22176 X$ac_file : 'X\(//\)[^/]' \| \
22177 X$ac_file : 'X\(//\)$' \| \
22178 X$ac_file : 'X\(/\)' \| \
22179 . : '\(.\)' 2>/dev/null ||
22181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22182 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22183 /^X\(\/\/\)$/{ s//\1/; q; }
22184 /^X\(\/\).*/{ s//\1/; q; }
22185 s/.*/./; q'`/stamp-h
$_am_stamp_count
22188 cat >>$CONFIG_STATUS <<\_ACEOF
22191 # CONFIG_COMMANDS section.
22193 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
22194 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
22195 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22196 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
22197 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22198 X"$ac_dest" : 'X\(//\)[^/]' \| \
22199 X"$ac_dest" : 'X\(//\)$' \| \
22200 X"$ac_dest" : 'X\(/\)' \| \
22201 . : '\(.\)' 2>/dev/null ||
22203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22204 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22205 /^X\(\/\/\)$/{ s//\1/; q; }
22206 /^X\(\/\).*/{ s//\1/; q; }
22208 { if $as_mkdir_p; then
22213 while test ! -d "$as_dir"; do
22214 as_dirs
="$as_dir $as_dirs"
22215 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22216 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22217 X"$as_dir" : 'X\(//\)[^/]' \| \
22218 X"$as_dir" : 'X\(//\)$' \| \
22219 X"$as_dir" : 'X\(/\)' \| \
22220 . : '\(.\)' 2>/dev/null ||
22222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22223 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22224 /^X\(\/\/\)$/{ s//\1/; q; }
22225 /^X\(\/\).*/{ s//\1/; q; }
22228 test ! -n "$as_dirs" || mkdir
$as_dirs
22229 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22230 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22231 { (exit 1); exit 1; }; }; }
22235 if test "$ac_dir" != .
; then
22236 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22237 # A "../" for each directory in $ac_dir_suffix.
22238 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22240 ac_dir_suffix
= ac_top_builddir
=
22244 .
) # No --srcdir option. We are building in place.
22246 if test -z "$ac_top_builddir"; then
22249 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22251 [\\/]* | ?
:[\\/]* ) # Absolute path.
22252 ac_srcdir
=$srcdir$ac_dir_suffix;
22253 ac_top_srcdir
=$srcdir ;;
22254 *) # Relative path.
22255 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
22256 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
22259 # Do not use `cd foo && pwd` to compute absolute paths, because
22260 # the directories may not exist.
22262 .
) ac_abs_builddir
="$ac_dir";;
22265 .
) ac_abs_builddir
=`pwd`;;
22266 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
22267 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
22270 case $ac_abs_builddir in
22271 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22273 case ${ac_top_builddir}.
in
22274 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
22275 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22276 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
22279 case $ac_abs_builddir in
22280 .
) ac_abs_srcdir
=$ac_srcdir;;
22283 .
) ac_abs_srcdir
=$ac_abs_builddir;;
22284 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
22285 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
22288 case $ac_abs_builddir in
22289 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
22291 case $ac_top_srcdir in
22292 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
22293 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
22294 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
22299 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22300 echo "$as_me: executing $ac_dest commands" >&6;}
22302 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
22303 # Strip MF so we end up with the name of the file.
22304 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22305 # Check whether this is an Automake generated Makefile or not.
22306 # We used to match only the files named `Makefile.in', but
22307 # some people rename them; so instead we look at the file content.
22308 # Grep'ing the first line is not enough: some people post-process
22309 # each Makefile.in and add a new line on top of each file to say so.
22310 # So let's grep whole file.
22311 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
22312 dirpart
=`(dirname "$mf") 2>/dev/null ||
22313 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22314 X"$mf" : 'X\(//\)[^/]' \| \
22315 X"$mf" : 'X\(//\)$' \| \
22316 X"$mf" : 'X\(/\)' \| \
22317 . : '\(.\)' 2>/dev/null ||
22319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22320 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22321 /^X\(\/\/\)$/{ s//\1/; q; }
22322 /^X\(\/\).*/{ s//\1/; q; }
22327 # Extract the definition of DEPDIR, am__include, and am__quote
22328 # from the Makefile without running `make'.
22329 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22330 test -z "$DEPDIR" && continue
22331 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22332 test -z "am__include" && continue
22333 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22334 # When using ansi2knr, U may be empty or an underscore; expand it
22335 U
=`sed -n 's/^U = //p' < "$mf"`
22336 # Find all dependency output files, they are included files with
22337 # $(DEPDIR) in their names. We invoke sed twice because it is the
22338 # simplest approach to changing $(DEPDIR) to its actual value in the
22340 for file in `sed -n "
22341 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22342 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22343 # Make sure the directory exists.
22344 test -f "$dirpart/$file" && continue
22345 fdir
=`(dirname "$file") 2>/dev/null ||
22346 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22347 X"$file" : 'X\(//\)[^/]' \| \
22348 X"$file" : 'X\(//\)$' \| \
22349 X"$file" : 'X\(/\)' \| \
22350 . : '\(.\)' 2>/dev/null ||
22352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22353 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22354 /^X\(\/\/\)$/{ s//\1/; q; }
22355 /^X\(\/\).*/{ s//\1/; q; }
22357 { if $as_mkdir_p; then
22358 mkdir
-p $dirpart/$fdir
22360 as_dir
=$dirpart/$fdir
22362 while test ! -d "$as_dir"; do
22363 as_dirs
="$as_dir $as_dirs"
22364 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22365 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22366 X"$as_dir" : 'X\(//\)[^/]' \| \
22367 X"$as_dir" : 'X\(//\)$' \| \
22368 X"$as_dir" : 'X\(/\)' \| \
22369 . : '\(.\)' 2>/dev/null ||
22371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22372 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22373 /^X\(\/\/\)$/{ s//\1/; q; }
22374 /^X\(\/\).*/{ s//\1/; q; }
22377 test ! -n "$as_dirs" || mkdir
$as_dirs
22378 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
22379 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
22380 { (exit 1); exit 1; }; }; }
22382 # echo "creating $dirpart/$file"
22383 echo '# dummy' > "$dirpart/$file"
22389 # See if we are running on zsh, and set the options which allow our
22390 # commands through without removal of \ escapes.
22391 if test -n "${ZSH_VERSION+set}" ; then
22392 setopt NO_GLOB_SUBST
22395 cfgfile
="${ofile}T"
22396 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22399 cat <<_LT_EOF >> "$cfgfile"
22402 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22403 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
22404 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22405 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22407 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22408 # 2006, 2007 Free Software Foundation, Inc.
22410 # This file is part of GNU Libtool:
22411 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
22413 # This program is free software; you can redistribute it and/or modify
22414 # it under the terms of the GNU General Public License as published by
22415 # the Free Software Foundation; either version 2 of the License, or
22416 # (at your option) any later version.
22418 # This program is distributed in the hope that it will be useful, but
22419 # WITHOUT ANY WARRANTY; without even the implied warranty of
22420 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22421 # General Public License for more details.
22423 # You should have received a copy of the GNU General Public License
22424 # along with this program; if not, a copy can be downloaded from
22425 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
22426 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
22427 # MA 02110-1301, USA.
22429 # As a special exception to the GNU General Public License, if you
22430 # distribute this file as part of a program that contains a
22431 # configuration script generated by Autoconf, you may include it under
22432 # the same distribution terms that you use for the rest of that program.
22435 # The names of the tagged configurations supported by this script.
22438 # ### BEGIN LIBTOOL CONFIG
22440 # Whether or not to build shared libraries.
22441 build_libtool_libs=$enable_shared
22443 # Which release of libtool.m4 was used?
22444 macro_version=$macro_version
22445 macro_revision=$macro_revision
22447 # Whether or not to build static libraries.
22448 build_old_libs=$enable_static
22450 # What type of objects to build.
22453 # Whether or not to optimize for fast installation.
22454 fast_install=$enable_fast_install
22457 host_alias=$host_alias
22461 # The build system.
22462 build_alias=$build_alias
22466 # A sed program that does not truncate output.
22469 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22470 Xsed="\$SED -e 1s/^X//"
22472 # A grep program that handles long lines.
22478 # A literal string matcher.
22481 # A BSD- or MS-compatible name lister.
22484 # Whether we need soft or hard links.
22487 # What is the maximum length of a command?
22488 max_cmd_len=$max_cmd_len
22490 # Object file suffix (normally "o").
22493 # Executable file suffix (normally "").
22496 # whether the shell understands "unset".
22499 # turn spaces into newlines.
22502 # turn newlines into spaces.
22505 # How to create reloadable object files.
22506 reload_flag=$lt_reload_flag
22507 reload_cmds=$lt_reload_cmds
22509 # Method to check whether dependent libraries are shared objects.
22510 deplibs_check_method=$lt_deplibs_check_method
22512 # Command to use when deplibs_check_method == "file_magic".
22513 file_magic_cmd=$lt_file_magic_cmd
22517 AR_FLAGS=$lt_AR_FLAGS
22519 # A symbol stripping program.
22522 # Commands used to install an old-style archive.
22524 old_postinstall_cmds=$lt_old_postinstall_cmds
22525 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22530 # LTCC compiler flags.
22531 LTCFLAGS=$lt_CFLAGS
22533 # Take the output of nm and produce a listing of raw symbols and C names.
22534 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22536 # Transform the output of nm in a proper C declaration.
22537 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22539 # Transform the output of nm in a C name address pair.
22540 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22542 # The name of the directory that contains temporary libtool files.
22545 # Shell to use when invoking shell scripts.
22548 # An echo program that does not interpret backslashes.
22551 # Used to examine libraries when file_magic_cmd begins with "file".
22552 MAGIC_CMD=$MAGIC_CMD
22554 # Must we lock files when doing compilation?
22555 need_locks=$lt_need_locks
22557 # Old archive suffix (normally "a").
22560 # Shared library suffix (normally ".so").
22561 shrext_cmds=$lt_shrext_cmds
22563 # The commands to extract the exported symbol list from a shared archive.
22564 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22566 # Variables whose values should be saved in libtool wrapper scripts and
22567 # restored at link time.
22568 variables_saved_for_relink=$lt_variables_saved_for_relink
22570 # Do we need the "lib" prefix for modules?
22571 need_lib_prefix=$need_lib_prefix
22573 # Do we need a version for libraries?
22574 need_version=$need_version
22576 # Library versioning type.
22577 version_type=$version_type
22579 # Shared library runtime path variable.
22580 runpath_var=$runpath_var
22582 # Shared library path variable.
22583 shlibpath_var=$shlibpath_var
22585 # Is shlibpath searched before the hard-coded library search path?
22586 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22588 # Format of library name prefix.
22589 libname_spec=$lt_libname_spec
22591 # List of archive names. First name is the real one, the rest are links.
22592 # The last name is the one that the linker finds with -lNAME
22593 library_names_spec=$lt_library_names_spec
22595 # The coded name of the library, if different from the real name.
22596 soname_spec=$lt_soname_spec
22598 # Command to use after installation of a shared archive.
22599 postinstall_cmds=$lt_postinstall_cmds
22601 # Command to use after uninstallation of a shared archive.
22602 postuninstall_cmds=$lt_postuninstall_cmds
22604 # Commands used to finish a libtool library installation in a directory.
22605 finish_cmds=$lt_finish_cmds
22607 # As "finish_cmds", except a single script fragment to be evaled but
22609 finish_eval=$lt_finish_eval
22611 # Whether we should hardcode library paths into libraries.
22612 hardcode_into_libs=$hardcode_into_libs
22614 # Compile-time system search path for libraries.
22615 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22617 # Run-time system search path for libraries.
22618 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22620 # Whether dlopen is supported.
22621 dlopen_support=$enable_dlopen
22623 # Whether dlopen of programs is supported.
22624 dlopen_self=$enable_dlopen_self
22626 # Whether dlopen of statically linked programs is supported.
22627 dlopen_self_static=$enable_dlopen_self_static
22629 # Commands to strip libraries.
22630 old_striplib=$lt_old_striplib
22631 striplib=$lt_striplib
22634 # The linker used to build libraries.
22637 # Commands used to build an old-style archive.
22638 old_archive_cmds=$lt_old_archive_cmds
22640 # A language specific compiler.
22643 # Is the compiler the GNU compiler?
22646 # Compiler flag to turn off builtin functions.
22647 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22649 # How to pass a linker flag through the compiler.
22650 wl=$lt_lt_prog_compiler_wl
22652 # Additional compiler flags for building library objects.
22653 pic_flag=$lt_lt_prog_compiler_pic
22655 # Compiler flag to prevent dynamic linking.
22656 link_static_flag=$lt_lt_prog_compiler_static
22658 # Does compiler simultaneously support -c and -o options?
22659 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22661 # Whether or not to add -lc for building shared libraries.
22662 build_libtool_need_lc=$archive_cmds_need_lc
22664 # Whether or not to disallow shared libs when runtime libs are static.
22665 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22667 # Compiler flag to allow reflexive dlopens.
22668 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22670 # Compiler flag to generate shared objects directly from archives.
22671 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22673 # Whether the compiler copes with passing no objects directly.
22674 compiler_needs_object=$lt_compiler_needs_object
22676 # Create an old-style archive from a shared archive.
22677 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22679 # Create a temporary old-style archive to link instead of a shared archive.
22680 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22682 # Commands used to build a shared archive.
22683 archive_cmds=$lt_archive_cmds
22684 archive_expsym_cmds=$lt_archive_expsym_cmds
22686 # Commands used to build a loadable module if different from building
22687 # a shared archive.
22688 module_cmds=$lt_module_cmds
22689 module_expsym_cmds=$lt_module_expsym_cmds
22691 # Whether we are building with GNU ld or not.
22692 with_gnu_ld=$lt_with_gnu_ld
22694 # Flag that allows shared libraries with undefined symbols to be built.
22695 allow_undefined_flag=$lt_allow_undefined_flag
22697 # Flag that enforces no undefined symbols.
22698 no_undefined_flag=$lt_no_undefined_flag
22700 # Flag to hardcode \$libdir into a binary during linking.
22701 # This must work even if \$libdir does not exist
22702 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22704 # If ld is used when linking, flag to hardcode \$libdir into a binary
22705 # during linking. This must work even if \$libdir does not exist.
22706 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
22708 # Whether we need a single "-rpath" flag with a separated argument.
22709 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22711 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22712 # DIR into the resulting binary.
22713 hardcode_direct=$hardcode_direct
22715 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22716 # DIR into the resulting binary and the resulting library dependency is
22717 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22718 # library is relocated.
22719 hardcode_direct_absolute=$hardcode_direct_absolute
22721 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22722 # into the resulting binary.
22723 hardcode_minus_L=$hardcode_minus_L
22725 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22726 # into the resulting binary.
22727 hardcode_shlibpath_var=$hardcode_shlibpath_var
22729 # Set to "yes" if building a shared library automatically hardcodes DIR
22730 # into the library and all subsequent libraries and executables linked
22732 hardcode_automatic=$hardcode_automatic
22734 # Set to yes if linker adds runtime paths of dependent libraries
22735 # to runtime path list.
22736 inherit_rpath=$inherit_rpath
22738 # Whether libtool must link a program against all its dependency libraries.
22739 link_all_deplibs=$link_all_deplibs
22741 # Fix the shell variable \$srcfile for the compiler.
22742 fix_srcfile_path=$lt_fix_srcfile_path
22744 # Set to "yes" if exported symbols are required.
22745 always_export_symbols=$always_export_symbols
22747 # The commands to list exported symbols.
22748 export_symbols_cmds=$lt_export_symbols_cmds
22750 # Symbols that should not be listed in the preloaded symbols.
22751 exclude_expsyms=$lt_exclude_expsyms
22753 # Symbols that must always be exported.
22754 include_expsyms=$lt_include_expsyms
22756 # Commands necessary for linking programs (against libraries) with templates.
22757 prelink_cmds=$lt_prelink_cmds
22759 # Specify filename containing input files.
22760 file_list_spec=$lt_file_list_spec
22762 # How to hardcode a shared library path into an executable.
22763 hardcode_action=$hardcode_action
22765 # ### END LIBTOOL CONFIG
22771 cat <<\_LT_EOF
>> "$cfgfile"
22772 # AIX sometimes has problems with the GCC collect2 program. For some
22773 # reason, if we set the COLLECT_NAMES environment variable, the problems
22774 # vanish in a puff of smoke.
22775 if test "X${COLLECT_NAMES+set}" != Xset
; then
22777 export COLLECT_NAMES
22784 ltmain
="$ac_aux_dir/ltmain.sh"
22787 # We use sed instead of cat because bash on DJGPP gets confused if
22788 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22789 # text mode, it properly converts lines to CR/LF. This bash problem
22790 # is reportedly fixed, but why not run on old versions too?
22791 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
22792 ||
(rm -f "$cfgfile"; exit 1)
22796 cat << \_LT_EOF
>> "$cfgfile"
22797 # func_dirname file append nondir_replacement
22798 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22799 # otherwise set result to NONDIR_REPLACEMENT.
22803 */*) func_dirname_result
="${1%/*}${2}" ;;
22804 * ) func_dirname_result
="${3}" ;;
22808 # func_basename file
22811 func_basename_result
="${1##*/}"
22814 # func_stripname prefix suffix name
22815 # strip PREFIX and SUFFIX off of NAME.
22816 # PREFIX and SUFFIX must not contain globbing or regex special
22817 # characters, hashes, percent signs, but SUFFIX may contain a leading
22818 # dot (in which case that matches only a dot).
22821 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
22822 # positional parameters, so assign one to ordinary parameter first.
22823 func_stripname_result
=${3}
22824 func_stripname_result
=${func_stripname_result#"${1}"}
22825 func_stripname_result
=${func_stripname_result%"${2}"}
22831 func_opt_split_opt
=${1%%=*}
22832 func_opt_split_arg
=${1#*=}
22839 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
22840 *) func_lo2o_result
=${1} ;;
22845 *) # Bourne compatible functions.
22846 cat << \_LT_EOF
>> "$cfgfile"
22847 # func_dirname file append nondir_replacement
22848 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22849 # otherwise set result to NONDIR_REPLACEMENT.
22852 # Extract subdirectory from the argument.
22853 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
22854 if test "X$func_dirname_result" = "X${1}"; then
22855 func_dirname_result
="${3}"
22857 func_dirname_result
="$func_dirname_result${2}"
22861 # func_basename file
22864 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
22867 # func_stripname prefix suffix name
22868 # strip PREFIX and SUFFIX off of NAME.
22869 # PREFIX and SUFFIX must not contain globbing or regex special
22870 # characters, hashes, percent signs, but SUFFIX may contain a leading
22871 # dot (in which case that matches only a dot).
22872 # func_strip_suffix prefix name
22876 .
*) func_stripname_result
=`$ECHO "X${3}" \
22877 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
22878 *) func_stripname_result
=`$ECHO "X${3}" \
22879 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
22884 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
22885 my_sed_long_arg
='1s/^-[^=]*=//'
22890 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
22891 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
22897 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
22902 case $lt_shell_append in
22904 cat << \_LT_EOF
>> "$cfgfile"
22906 # func_append var value
22907 # Append VALUE to the end of shell variable VAR.
22915 cat << \_LT_EOF
>> "$cfgfile"
22917 # func_append var value
22918 # Append VALUE to the end of shell variable VAR.
22928 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
22929 ||
(rm -f "$cfgfile"; exit 1)
22931 mv -f "$cfgfile" "$ofile" ||
22932 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22937 for ac_file
in $CONFIG_FILES; do
22938 # Support "outfile[:infile[:infile...]]"
22940 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22942 # PO directories have a Makefile.in generated from Makefile.in.in.
22943 case "$ac_file" in */Makefile.
in)
22944 # Adjust a relative srcdir.
22945 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
22946 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
22947 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
22948 # In autoconf-2.13 it is called $ac_given_srcdir.
22949 # In autoconf-2.50 it is called $srcdir.
22950 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
22951 case "$ac_given_srcdir" in
22952 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
22953 /*) top_srcdir
="$ac_given_srcdir" ;;
22954 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
22956 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
22957 rm -f "$ac_dir/POTFILES"
22958 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
22959 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
22960 POMAKEFILEDEPS
="POTFILES.in"
22961 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
22962 # on $ac_dir but don't depend on user-specified configuration
22964 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
22965 # The LINGUAS file contains the set of available languages.
22966 if test -n "$OBSOLETE_ALL_LINGUAS"; then
22967 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
22969 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
22970 # Hide the ALL_LINGUAS assigment from automake.
22971 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
22972 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
22974 # The set of available languages was given in configure.in.
22975 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
22977 case "$ac_given_srcdir" in
22979 *) srcdirpre
='$(srcdir)/' ;;
22985 for lang
in $ALL_LINGUAS; do
22986 POFILES
="$POFILES $srcdirpre$lang.po"
22987 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
22988 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
22989 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
22991 # CATALOGS depends on both $ac_dir and the user's LINGUAS
22992 # environment variable.
22994 if test -n "$ALL_LINGUAS"; then
22995 for presentlang
in $ALL_LINGUAS; do
22997 if test "%UNSET%" != "$LINGUAS"; then
22998 desiredlanguages
="$LINGUAS"
23000 desiredlanguages
="$ALL_LINGUAS"
23002 for desiredlang
in $desiredlanguages; do
23003 # Use the presentlang catalog if desiredlang is
23004 # a. equal to presentlang, or
23005 # b. a variant of presentlang (because in this case,
23006 # presentlang can be used as a fallback for messages
23007 # which are not translated in the desiredlang catalog).
23008 case "$desiredlang" in
23009 "$presentlang"*) useit
=yes;;
23012 if test $useit = yes; then
23013 INST_LINGUAS
="$INST_LINGUAS $presentlang"
23018 if test -n "$INST_LINGUAS"; then
23019 for lang
in $INST_LINGUAS; do
23020 CATALOGS
="$CATALOGS $lang.gmo"
23023 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
23024 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
23025 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
23026 if test -f "$f"; then
23028 *.orig |
*.bak |
*~
) ;;
23029 *) cat "$f" >> "$ac_dir/Makefile" ;;
23038 if test "$GCC" = yes; then
23039 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
23041 echo "/* generated for $CC */" > tmp-stdint.h
23044 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23046 #ifndef GCC_GENERATED_STDINT_H
23047 #define GCC_GENERATED_STDINT_H 1
23049 #include <sys/types.h>
23052 if test "$acx_cv_header_stdint" != stdint.h
; then
23053 echo "#include <stddef.h>" >> tmp-stdint.h
23055 if test "$acx_cv_header_stdint" != stddef.h
; then
23056 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
23059 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23060 /* glibc uses these symbols as guards to prevent redefinitions. */
23061 #ifdef __int8_t_defined
23066 #ifdef __uint32_t_defined
23072 # ----------------- done header, emit basic int types -------------
23073 if test "$acx_cv_header_stdint" = stddef.h
; then
23074 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23078 #ifndef __uint8_t_defined
23079 #define __uint8_t_defined
23080 typedef unsigned $acx_cv_type_int8_t uint8_t;
23086 #ifndef __uint16_t_defined
23087 #define __uint16_t_defined
23088 typedef unsigned $acx_cv_type_int16_t uint16_t;
23094 #ifndef __uint32_t_defined
23095 #define __uint32_t_defined
23096 typedef unsigned $acx_cv_type_int32_t uint32_t;
23102 #ifndef __int8_t_defined
23103 #define __int8_t_defined
23104 typedef $acx_cv_type_int8_t int8_t;
23110 #ifndef __int16_t_defined
23111 #define __int16_t_defined
23112 typedef $acx_cv_type_int16_t int16_t;
23118 #ifndef __int32_t_defined
23119 #define __int32_t_defined
23120 typedef $acx_cv_type_int32_t int32_t;
23124 elif test "$ac_cv_type_u_int32_t" = yes; then
23125 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23127 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
23140 #ifndef __uint8_t_defined
23141 #define __uint8_t_defined
23142 typedef u_int8_t uint8_t;
23148 #ifndef __uint16_t_defined
23149 #define __uint16_t_defined
23150 typedef u_int16_t uint16_t;
23156 #ifndef __uint32_t_defined
23157 #define __uint32_t_defined
23158 typedef u_int32_t uint32_t;
23163 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23165 /* Some systems have guard macros to prevent redefinitions, define them. */
23187 # ------------- done basic int types, emit int64_t types ------------
23188 if test "$ac_cv_type_uint64_t" = yes; then
23189 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23191 /* system headers have good uint64_t and int64_t */
23199 elif test "$ac_cv_type_u_int64_t" = yes; then
23200 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23202 /* system headers have an u_int64_t (and int64_t) */
23208 #ifndef __uint64_t_defined
23209 #define __uint64_t_defined
23210 typedef u_int64_t uint64_t;
23214 elif test -n "$acx_cv_type_int64_t"; then
23215 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23217 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
23220 typedef $acx_cv_type_int64_t int64_t;
23224 #ifndef __uint64_t_defined
23225 #define __uint64_t_defined
23226 typedef unsigned $acx_cv_type_int64_t uint64_t;
23231 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23233 /* some common heuristics for int64_t, using compiler-specific tests */
23234 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
23237 #ifndef __int64_t_defined
23238 typedef long long int64_t;
23243 typedef unsigned long long uint64_t;
23246 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
23247 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
23248 does not implement __extension__. But that compiler doesn't define
23250 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
23251 # define __extension__
23256 __extension__ typedef long long int64_t;
23260 __extension__ typedef unsigned long long uint64_t;
23263 #elif !defined __STRICT_ANSI__
23264 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
23268 typedef __int64 int64_t;
23272 typedef unsigned __int64 uint64_t;
23274 # endif /* compiler */
23276 #endif /* ANSI version */
23280 # ------------- done int64_t types, emit intptr types ------------
23281 if test "$ac_cv_type_uintptr_t" != yes; then
23282 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23284 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
23285 #ifndef __uintptr_t_defined
23286 typedef u$acx_cv_type_intptr_t uintptr_t;
23288 #ifndef __intptr_t_defined
23289 typedef $acx_cv_type_intptr_t intptr_t;
23294 # ------------- done intptr types, emit int_least types ------------
23295 if test "$ac_cv_type_int_least32_t" != yes; then
23296 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23298 /* Define int_least types */
23299 typedef int8_t int_least8_t;
23300 typedef int16_t int_least16_t;
23301 typedef int32_t int_least32_t;
23303 typedef int64_t int_least64_t;
23306 typedef uint8_t uint_least8_t;
23307 typedef uint16_t uint_least16_t;
23308 typedef uint32_t uint_least32_t;
23310 typedef uint64_t uint_least64_t;
23315 # ------------- done intptr types, emit int_fast types ------------
23316 if test "$ac_cv_type_int_fast32_t" != yes; then
23317 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23319 /* Define int_fast types. short is often slow */
23320 typedef int8_t int_fast8_t;
23321 typedef int int_fast16_t;
23322 typedef int32_t int_fast32_t;
23324 typedef int64_t int_fast64_t;
23327 typedef uint8_t uint_fast8_t;
23328 typedef unsigned int uint_fast16_t;
23329 typedef uint32_t uint_fast32_t;
23331 typedef uint64_t uint_fast64_t;
23336 if test "$ac_cv_type_uintmax_t" != yes; then
23337 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23339 /* Define intmax based on what we found */
23341 typedef int64_t intmax_t;
23343 typedef long intmax_t;
23346 typedef uint64_t uintmax_t;
23348 typedef unsigned long uintmax_t;
23353 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23355 #endif /* GCC_GENERATED_STDINT_H */
23358 if test -r bfd_stdint.h
&& cmp -s tmp-stdint.h bfd_stdint.h
; then
23361 mv -f tmp-stdint.h bfd_stdint.h
23368 *) srcdirpre
='$(srcdir)/' ;;
23372 for lang
in dummy
$OBSOLETE_ALL_LINGUAS; do
23373 if test $lang != dummy
; then
23374 POFILES
="$POFILES $srcdirpre$lang.po"
23375 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
23378 sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' \
23379 -e '/BLD-POTFILES =/r po/BLD-POTFILES' \
23380 -e "s,@POFILES@,$POFILES," \
23381 -e "s,@GMOFILES@,$GMOFILES," \
23382 po
/Makefile.
in > po
/Makefile
;;
23387 cat >>$CONFIG_STATUS <<\_ACEOF
23389 { (exit 0); exit 0; }
23391 chmod +x
$CONFIG_STATUS
23392 ac_clean_files
=$ac_clean_files_save
23395 # configure is writing to config.log, and then calls config.status.
23396 # config.status does its own redirection, appending to config.log.
23397 # Unfortunately, on DOS this fails, as config.log is still kept open
23398 # by configure, so config.status won't be able to write to it; its
23399 # output is simply discarded. So we exec the FD to /dev/null,
23400 # effectively closing config.log, so it can be properly (re)opened and
23401 # appended to by config.status. When coming back to configure, we
23402 # need to make the FD available again.
23403 if test "$no_create" != yes; then
23405 ac_config_status_args
=
23406 test "$silent" = yes &&
23407 ac_config_status_args
="$ac_config_status_args --quiet"
23409 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23411 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23412 # would make configure fail if this is the last instruction.
23413 $ac_cs_success ||
{ (exit 1); exit 1; }