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 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1431 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1432 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1433 echo "$as_me: former value: $ac_old_val" >&2;}
1434 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1435 echo "$as_me: current value: $ac_new_val" >&2;}
1436 ac_cache_corrupted=:
1439 # Pass precious variables to config.status.
1440 if test "$ac_new_set" = set; then
1442 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1443 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1444 *) ac_arg=$ac_var=$ac_new_val ;;
1446 case " $ac_configure_args " in
1447 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1448 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1452 if $ac_cache_corrupted; then
1453 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1454 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1455 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1456 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1457 { (exit 1); exit 1; }; }
1461 ac_cpp='$CPP $CPPFLAGS'
1462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1463 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1487 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1488 if test -f $ac_dir/install-sh; then
1490 ac_install_sh="$ac_aux_dir/install-sh -c"
1492 elif test -f $ac_dir/install.sh; then
1494 ac_install_sh="$ac_aux_dir/install.sh -c"
1496 elif test -f $ac_dir/shtool; then
1498 ac_install_sh="$ac_aux_dir/shtool install -c"
1502 if test -z "$ac_aux_dir"; then
1503 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1504 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1505 { (exit 1); exit 1; }; }
1507 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1508 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1509 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1511 # Make sure we can run config.sub.
1512 $ac_config_sub sun4 >/dev/null 2>&1 ||
1513 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1514 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1515 { (exit 1); exit 1; }; }
1517 echo "$as_me:$LINENO: checking build system type" >&5
1518 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1519 if test "${ac_cv_build+set}" = set; then
1520 echo $ECHO_N "(cached) $ECHO_C" >&6
1522 ac_cv_build_alias=$build_alias
1523 test -z "$ac_cv_build_alias" &&
1524 ac_cv_build_alias=`$ac_config_guess`
1525 test -z "$ac_cv_build_alias" &&
1526 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1527 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1528 { (exit 1); exit 1; }; }
1529 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1530 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1531 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1532 { (exit 1); exit 1; }; }
1535 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1536 echo "${ECHO_T}$ac_cv_build" >&6
1538 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1539 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1540 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1543 echo "$as_me:$LINENO: checking host system type" >&5
1544 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1545 if test "${ac_cv_host+set}" = set; then
1546 echo $ECHO_N "(cached) $ECHO_C" >&6
1548 ac_cv_host_alias=$host_alias
1549 test -z "$ac_cv_host_alias" &&
1550 ac_cv_host_alias=$ac_cv_build_alias
1551 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1552 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1553 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1554 { (exit 1); exit 1; }; }
1557 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1558 echo "${ECHO_T}$ac_cv_host" >&6
1560 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1561 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1562 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1565 echo "$as_me:$LINENO: checking target system type" >&5
1566 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1567 if test "${ac_cv_target+set}" = set; then
1568 echo $ECHO_N "(cached) $ECHO_C" >&6
1570 ac_cv_target_alias=$target_alias
1571 test "x$ac_cv_target_alias" = "x" &&
1572 ac_cv_target_alias=$ac_cv_host_alias
1573 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1574 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1575 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1576 { (exit 1); exit 1; }; }
1579 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1580 echo "${ECHO_T}$ac_cv_target" >&6
1581 target=$ac_cv_target
1582 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1583 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1584 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1587 # The aliases save the names the user supplied, while $host etc.
1588 # will get canonicalized.
1589 test -n "$target_alias" &&
1590 test "$program_prefix$program_suffix$program_transform_name" = \
1592 program_prefix=${target_alias}-
1594 ac_cpp='$CPP $CPPFLAGS'
1595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1596 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1598 if test -n "$ac_tool_prefix"; then
1599 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1600 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1601 echo "$as_me:$LINENO: checking for $ac_word" >&5
1602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1603 if test "${ac_cv_prog_CC+set}" = set; then
1604 echo $ECHO_N "(cached) $ECHO_C" >&6
1606 if test -n "$CC"; then
1607 ac_cv_prog_CC="$CC" # Let the user override the test.
1609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1613 test -z "$as_dir" && as_dir=.
1614 for ac_exec_ext in '' $ac_executable_extensions; do
1615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1616 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1626 if test -n "$CC"; then
1627 echo "$as_me:$LINENO: result: $CC" >&5
1628 echo "${ECHO_T}$CC" >&6
1630 echo "$as_me:$LINENO: result: no" >&5
1631 echo "${ECHO_T}no" >&6
1635 if test -z "$ac_cv_prog_CC"; then
1637 # Extract the first word of "gcc", so it can be a program name with args.
1638 set dummy gcc; ac_word=$2
1639 echo "$as_me:$LINENO: checking for $ac_word" >&5
1640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1641 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1642 echo $ECHO_N "(cached) $ECHO_C" >&6
1644 if test -n "$ac_ct_CC"; then
1645 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1651 test -z "$as_dir" && as_dir=.
1652 for ac_exec_ext in '' $ac_executable_extensions; do
1653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1654 ac_cv_prog_ac_ct_CC="gcc"
1655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1663 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1664 if test -n "$ac_ct_CC"; then
1665 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1666 echo "${ECHO_T}$ac_ct_CC" >&6
1668 echo "$as_me:$LINENO: result: no" >&5
1669 echo "${ECHO_T}no" >&6
1677 if test -z "$CC"; then
1678 if test -n "$ac_tool_prefix"; then
1679 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1680 set dummy ${ac_tool_prefix}cc; ac_word=$2
1681 echo "$as_me:$LINENO: checking for $ac_word" >&5
1682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1683 if test "${ac_cv_prog_CC+set}" = set; then
1684 echo $ECHO_N "(cached) $ECHO_C" >&6
1686 if test -n "$CC"; then
1687 ac_cv_prog_CC="$CC" # Let the user override the test.
1689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1693 test -z "$as_dir" && as_dir=.
1694 for ac_exec_ext in '' $ac_executable_extensions; do
1695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1696 ac_cv_prog_CC="${ac_tool_prefix}cc"
1697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1706 if test -n "$CC"; then
1707 echo "$as_me:$LINENO: result: $CC" >&5
1708 echo "${ECHO_T}$CC" >&6
1710 echo "$as_me:$LINENO: result: no" >&5
1711 echo "${ECHO_T}no" >&6
1715 if test -z "$ac_cv_prog_CC"; then
1717 # Extract the first word of "cc", so it can be a program name with args.
1718 set dummy cc; ac_word=$2
1719 echo "$as_me:$LINENO: checking for $ac_word" >&5
1720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1721 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1722 echo $ECHO_N "(cached) $ECHO_C" >&6
1724 if test -n "$ac_ct_CC"; then
1725 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1731 test -z "$as_dir" && as_dir=.
1732 for ac_exec_ext in '' $ac_executable_extensions; do
1733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1734 ac_cv_prog_ac_ct_CC="cc"
1735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1743 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1744 if test -n "$ac_ct_CC"; then
1745 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1746 echo "${ECHO_T}$ac_ct_CC" >&6
1748 echo "$as_me:$LINENO: result: no" >&5
1749 echo "${ECHO_T}no" >&6
1758 if test -z "$CC"; then
1759 # Extract the first word of "cc", so it can be a program name with args.
1760 set dummy cc; ac_word=$2
1761 echo "$as_me:$LINENO: checking for $ac_word" >&5
1762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1763 if test "${ac_cv_prog_CC+set}" = set; then
1764 echo $ECHO_N "(cached) $ECHO_C" >&6
1766 if test -n "$CC"; then
1767 ac_cv_prog_CC="$CC" # Let the user override the test.
1770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1774 test -z "$as_dir" && as_dir=.
1775 for ac_exec_ext in '' $ac_executable_extensions; do
1776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1777 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1778 ac_prog_rejected=yes
1782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1788 if test $ac_prog_rejected = yes; then
1789 # We found a bogon in the path, so make sure we never use it.
1790 set dummy $ac_cv_prog_CC
1792 if test $# != 0; then
1793 # We chose a different compiler from the bogus one.
1794 # However, it has the same basename, so the bogon will be chosen
1795 # first if we set CC to just the basename; use the full file name.
1797 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1803 if test -n "$CC"; then
1804 echo "$as_me:$LINENO: result: $CC" >&5
1805 echo "${ECHO_T}$CC" >&6
1807 echo "$as_me:$LINENO: result: no" >&5
1808 echo "${ECHO_T}no" >&6
1812 if test -z "$CC"; then
1813 if test -n "$ac_tool_prefix"; then
1816 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1817 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1818 echo "$as_me:$LINENO: checking for $ac_word" >&5
1819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1820 if test "${ac_cv_prog_CC+set}" = set; then
1821 echo $ECHO_N "(cached) $ECHO_C" >&6
1823 if test -n "$CC"; then
1824 ac_cv_prog_CC="$CC" # Let the user override the test.
1826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1830 test -z "$as_dir" && as_dir=.
1831 for ac_exec_ext in '' $ac_executable_extensions; do
1832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1833 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1843 if test -n "$CC"; then
1844 echo "$as_me:$LINENO: result: $CC" >&5
1845 echo "${ECHO_T}$CC" >&6
1847 echo "$as_me:$LINENO: result: no" >&5
1848 echo "${ECHO_T}no" >&6
1851 test -n "$CC" && break
1854 if test -z "$CC"; then
1858 # Extract the first word of "$ac_prog", so it can be a program name with args.
1859 set dummy $ac_prog; ac_word=$2
1860 echo "$as_me:$LINENO: checking for $ac_word" >&5
1861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1862 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1863 echo $ECHO_N "(cached) $ECHO_C" >&6
1865 if test -n "$ac_ct_CC"; then
1866 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1872 test -z "$as_dir" && as_dir=.
1873 for ac_exec_ext in '' $ac_executable_extensions; do
1874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1875 ac_cv_prog_ac_ct_CC="$ac_prog"
1876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1884 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1885 if test -n "$ac_ct_CC"; then
1886 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1887 echo "${ECHO_T}$ac_ct_CC" >&6
1889 echo "$as_me:$LINENO: result: no" >&5
1890 echo "${ECHO_T}no" >&6
1893 test -n "$ac_ct_CC" && break
1902 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1903 See \`config.log' for more details.
" >&5
1904 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1905 See \
`config.log' for more details." >&2;}
1906 { (exit 1); exit 1; }; }
1908 # Provide some information about the compiler.
1909 echo "$as_me:$LINENO:" \
1910 "checking for C compiler version" >&5
1911 ac_compiler=`set X
$ac_compile; echo $2`
1912 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1913 (eval $ac_compiler --version </dev/null >&5) 2>&5
1915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1916 (exit $ac_status); }
1917 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1918 (eval $ac_compiler -v </dev/null >&5) 2>&5
1920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1921 (exit $ac_status); }
1922 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1923 (eval $ac_compiler -V </dev/null >&5) 2>&5
1925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1926 (exit $ac_status); }
1928 cat >conftest.$ac_ext <<_ACEOF
1931 cat confdefs.h >>conftest.$ac_ext
1932 cat >>conftest.$ac_ext <<_ACEOF
1933 /* end confdefs.h. */
1943 ac_clean_files_save=$ac_clean_files
1944 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1945 # Try to create an executable without -o first, disregard a.out.
1946 # It will help us diagnose broken compilers, and finding out an intuition
1948 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1949 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1950 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1951 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1952 (eval $ac_link_default) 2>&5
1954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1955 (exit $ac_status); }; then
1956 # Find the output, starting from the most likely. This scheme is
1957 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1960 # Be careful to initialize this variable, since it used to be cached.
1961 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1963 # b.out is created by i960 compilers.
1964 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1966 test -f "$ac_file" || continue
1968 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1971 # This is the source file.
1974 # We found the default executable, but exeext='' is most
1978 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1979 # FIXME: I believe we export ac_cv_exeext for Libtool,
1980 # but it would be cool to find out if it's true. Does anybody
1981 # maintain Libtool? --akim.
1989 echo "$as_me: failed program was:" >&5
1990 sed 's/^/| /' conftest.$ac_ext >&5
1992 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1993 See \`config.log
' for more details." >&5
1994 echo "$as_me: error: C compiler cannot create executables
1995 See \`config.log' for more details.
" >&2;}
1996 { (exit 77); exit 77; }; }
1999 ac_exeext=$ac_cv_exeext
2000 echo "$as_me:$LINENO: result
: $ac_file" >&5
2001 echo "${ECHO_T}$ac_file" >&6
2003 # Check the compiler produces executables we can run. If not, either
2004 # the compiler is broken, or we cross compile.
2005 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2006 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
2007 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2008 # If not cross compiling, check that we can run a simple program.
2009 if test "$cross_compiling" != yes; then
2010 if { ac_try='./$ac_file'
2011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2014 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2015 (exit $ac_status); }; }; then
2018 if test "$cross_compiling" = maybe; then
2021 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2022 If you meant to cross compile
, use \
`--host'.
2023 See \`config.log
' for more details." >&5
2024 echo "$as_me: error: cannot run C compiled programs.
2025 If you meant to cross compile, use \`--host'.
2026 See \
`config.log' for more details." >&2;}
2027 { (exit 1); exit 1; }; }
2031 echo "$as_me:$LINENO: result: yes" >&5
2032 echo "${ECHO_T}yes" >&6
2034 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2035 ac_clean_files=$ac_clean_files_save
2036 # Check the compiler produces executables we can run. If not, either
2037 # the compiler is broken, or we cross compile.
2038 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2039 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2040 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2041 echo "${ECHO_T}$cross_compiling" >&6
2043 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2044 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2046 (eval $ac_link) 2>&5
2048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2049 (exit $ac_status); }; then
2050 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2051 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2052 # work properly (i.e., refer to `conftest.exe'), while it won't with
2054 for ac_file
in conftest.exe conftest conftest.
*; do
2055 test -f "$ac_file" ||
continue
2057 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2058 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2065 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2066 See \`config.log' for more details." >&5
2067 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2068 See \`config.log' for more details." >&2;}
2069 { (exit 1); exit 1; }; }
2072 rm -f conftest
$ac_cv_exeext
2073 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2074 echo "${ECHO_T}$ac_cv_exeext" >&6
2076 rm -f conftest.
$ac_ext
2077 EXEEXT
=$ac_cv_exeext
2079 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2080 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2081 if test "${ac_cv_objext+set}" = set; then
2082 echo $ECHO_N "(cached) $ECHO_C" >&6
2084 cat >conftest.
$ac_ext <<_ACEOF
2087 cat confdefs.h
>>conftest.
$ac_ext
2088 cat >>conftest.
$ac_ext <<_ACEOF
2089 /* end confdefs.h. */
2099 rm -f conftest.o conftest.obj
2100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2101 (eval $ac_compile) 2>&5
2103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2104 (exit $ac_status); }; then
2105 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2107 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2108 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2113 echo "$as_me: failed program was:" >&5
2114 sed 's/^/| /' conftest.
$ac_ext >&5
2116 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2117 See \`config.log' for more details." >&5
2118 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2119 See \`config.log' for more details." >&2;}
2120 { (exit 1); exit 1; }; }
2123 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2125 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2126 echo "${ECHO_T}$ac_cv_objext" >&6
2127 OBJEXT
=$ac_cv_objext
2129 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2130 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2131 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 cat >conftest.
$ac_ext <<_ACEOF
2137 cat confdefs.h
>>conftest.
$ac_ext
2138 cat >>conftest.
$ac_ext <<_ACEOF
2139 /* end confdefs.h. */
2152 rm -f conftest.
$ac_objext
2153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2154 (eval $ac_compile) 2>conftest.er1
2156 grep -v '^ *+' conftest.er1
>conftest.err
2158 cat conftest.err
>&5
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); } &&
2161 { ac_try
='test -z "$ac_c_werror_flag"
2162 || test ! -s conftest.err'
2163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); }; } &&
2168 { ac_try
='test -s conftest.$ac_objext'
2169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2173 (exit $ac_status); }; }; then
2176 echo "$as_me: failed program was:" >&5
2177 sed 's/^/| /' conftest.
$ac_ext >&5
2181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2182 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2185 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2186 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2187 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2188 ac_test_CFLAGS
=${CFLAGS+set}
2189 ac_save_CFLAGS
=$CFLAGS
2191 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2192 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2193 if test "${ac_cv_prog_cc_g+set}" = set; then
2194 echo $ECHO_N "(cached) $ECHO_C" >&6
2196 cat >conftest.
$ac_ext <<_ACEOF
2199 cat confdefs.h
>>conftest.
$ac_ext
2200 cat >>conftest.
$ac_ext <<_ACEOF
2201 /* end confdefs.h. */
2211 rm -f conftest.
$ac_objext
2212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2213 (eval $ac_compile) 2>conftest.er1
2215 grep -v '^ *+' conftest.er1
>conftest.err
2217 cat conftest.err
>&5
2218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2219 (exit $ac_status); } &&
2220 { ac_try
='test -z "$ac_c_werror_flag"
2221 || test ! -s conftest.err'
2222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2226 (exit $ac_status); }; } &&
2227 { ac_try
='test -s conftest.$ac_objext'
2228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2232 (exit $ac_status); }; }; then
2235 echo "$as_me: failed program was:" >&5
2236 sed 's/^/| /' conftest.
$ac_ext >&5
2240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2242 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2243 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2244 if test "$ac_test_CFLAGS" = set; then
2245 CFLAGS
=$ac_save_CFLAGS
2246 elif test $ac_cv_prog_cc_g = yes; then
2247 if test "$GCC" = yes; then
2253 if test "$GCC" = yes; then
2259 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2260 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2261 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2262 echo $ECHO_N "(cached) $ECHO_C" >&6
2264 ac_cv_prog_cc_stdc
=no
2266 cat >conftest.
$ac_ext <<_ACEOF
2269 cat confdefs.h
>>conftest.
$ac_ext
2270 cat >>conftest.
$ac_ext <<_ACEOF
2271 /* end confdefs.h. */
2274 #include <sys/types.h>
2275 #include <sys/stat.h>
2276 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2277 struct buf { int x; };
2278 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2279 static char *e (p, i)
2285 static char *f (char * (*g) (char **, int), char **p, ...)
2290 s = g (p, va_arg (v,int));
2295 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2296 function prototypes and stuff, but not '\xHH' hex character constants.
2297 These don't provoke an error unfortunately, instead are silently treated
2298 as 'x'. The following induces an error, until -std1 is added to get
2299 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2300 array size at least. It's necessary to write '\x00'==0 to get something
2301 that's true only with -std1. */
2302 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2304 int test (int i, double x);
2305 struct s1 {int (*f) (int a);};
2306 struct s2 {int (*f) (double a);};
2307 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2313 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2318 # Don't try gcc -ansi; that turns off useful extensions and
2319 # breaks some systems' header files.
2320 # AIX -qlanglvl=ansi
2321 # Ultrix and OSF/1 -std1
2322 # HP-UX 10.20 and later -Ae
2323 # HP-UX older versions -Aa -D_HPUX_SOURCE
2324 # SVR4 -Xc -D__EXTENSIONS__
2325 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2327 CC
="$ac_save_CC $ac_arg"
2328 rm -f conftest.
$ac_objext
2329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2330 (eval $ac_compile) 2>conftest.er1
2332 grep -v '^ *+' conftest.er1
>conftest.err
2334 cat conftest.err
>&5
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); } &&
2337 { ac_try
='test -z "$ac_c_werror_flag"
2338 || test ! -s conftest.err'
2339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343 (exit $ac_status); }; } &&
2344 { ac_try
='test -s conftest.$ac_objext'
2345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349 (exit $ac_status); }; }; then
2350 ac_cv_prog_cc_stdc
=$ac_arg
2353 echo "$as_me: failed program was:" >&5
2354 sed 's/^/| /' conftest.
$ac_ext >&5
2357 rm -f conftest.err conftest.
$ac_objext
2359 rm -f conftest.
$ac_ext conftest.
$ac_objext
2364 case "x$ac_cv_prog_cc_stdc" in
2366 echo "$as_me:$LINENO: result: none needed" >&5
2367 echo "${ECHO_T}none needed" >&6 ;;
2369 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2370 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2371 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2374 # Some people use a C++ compiler to compile C. Since we use `exit',
2375 # in C++ we need to declare it. In case someone uses the same compiler
2376 # for both compiling C and C++ we need to have the C++ compiler decide
2377 # the declaration of exit, since it's the most demanding environment.
2378 cat >conftest.
$ac_ext <<_ACEOF
2383 rm -f conftest.
$ac_objext
2384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2385 (eval $ac_compile) 2>conftest.er1
2387 grep -v '^ *+' conftest.er1
>conftest.err
2389 cat conftest.err
>&5
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); } &&
2392 { ac_try
='test -z "$ac_c_werror_flag"
2393 || test ! -s conftest.err'
2394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); }; } &&
2399 { ac_try
='test -s conftest.$ac_objext'
2400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }; }; then
2405 for ac_declaration
in \
2407 'extern "C" void std::exit (int) throw (); using std::exit;' \
2408 'extern "C" void std::exit (int); using std::exit;' \
2409 'extern "C" void exit (int) throw ();' \
2410 'extern "C" void exit (int);' \
2413 cat >conftest.
$ac_ext <<_ACEOF
2416 cat confdefs.h
>>conftest.
$ac_ext
2417 cat >>conftest.
$ac_ext <<_ACEOF
2418 /* end confdefs.h. */
2429 rm -f conftest.
$ac_objext
2430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2431 (eval $ac_compile) 2>conftest.er1
2433 grep -v '^ *+' conftest.er1
>conftest.err
2435 cat conftest.err
>&5
2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); } &&
2438 { ac_try
='test -z "$ac_c_werror_flag"
2439 || test ! -s conftest.err'
2440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444 (exit $ac_status); }; } &&
2445 { ac_try
='test -s conftest.$ac_objext'
2446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); }; }; then
2453 echo "$as_me: failed program was:" >&5
2454 sed 's/^/| /' conftest.
$ac_ext >&5
2458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2459 cat >conftest.
$ac_ext <<_ACEOF
2462 cat confdefs.h
>>conftest.
$ac_ext
2463 cat >>conftest.
$ac_ext <<_ACEOF
2464 /* end confdefs.h. */
2474 rm -f conftest.
$ac_objext
2475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2476 (eval $ac_compile) 2>conftest.er1
2478 grep -v '^ *+' conftest.er1
>conftest.err
2480 cat conftest.err
>&5
2481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482 (exit $ac_status); } &&
2483 { ac_try
='test -z "$ac_c_werror_flag"
2484 || test ! -s conftest.err'
2485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489 (exit $ac_status); }; } &&
2490 { ac_try
='test -s conftest.$ac_objext'
2491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495 (exit $ac_status); }; }; then
2498 echo "$as_me: failed program was:" >&5
2499 sed 's/^/| /' conftest.
$ac_ext >&5
2502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2505 if test -n "$ac_declaration"; then
2506 echo '#ifdef __cplusplus' >>confdefs.h
2507 echo $ac_declaration >>confdefs.h
2508 echo '#endif' >>confdefs.h
2512 echo "$as_me: failed program was:" >&5
2513 sed 's/^/| /' conftest.
$ac_ext >&5
2516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2518 ac_cpp
='$CPP $CPPFLAGS'
2519 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2520 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2521 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2524 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2525 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2526 if test "${ac_cv_search_strerror+set}" = set; then
2527 echo $ECHO_N "(cached) $ECHO_C" >&6
2529 ac_func_search_save_LIBS
=$LIBS
2530 ac_cv_search_strerror
=no
2531 cat >conftest.
$ac_ext <<_ACEOF
2534 cat confdefs.h
>>conftest.
$ac_ext
2535 cat >>conftest.
$ac_ext <<_ACEOF
2536 /* end confdefs.h. */
2538 /* Override any gcc2 internal prototype to avoid an error. */
2542 /* We use char because int might match the return type of a gcc2
2543 builtin and then its argument prototype would still apply. */
2553 rm -f conftest.
$ac_objext conftest
$ac_exeext
2554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2555 (eval $ac_link) 2>conftest.er1
2557 grep -v '^ *+' conftest.er1
>conftest.err
2559 cat conftest.err
>&5
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); } &&
2562 { ac_try
='test -z "$ac_c_werror_flag"
2563 || test ! -s conftest.err'
2564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); }; } &&
2569 { ac_try
='test -s conftest$ac_exeext'
2570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574 (exit $ac_status); }; }; then
2575 ac_cv_search_strerror
="none required"
2577 echo "$as_me: failed program was:" >&5
2578 sed 's/^/| /' conftest.
$ac_ext >&5
2581 rm -f conftest.err conftest.
$ac_objext \
2582 conftest
$ac_exeext conftest.
$ac_ext
2583 if test "$ac_cv_search_strerror" = no
; then
2584 for ac_lib
in cposix
; do
2585 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2586 cat >conftest.
$ac_ext <<_ACEOF
2589 cat confdefs.h
>>conftest.
$ac_ext
2590 cat >>conftest.
$ac_ext <<_ACEOF
2591 /* end confdefs.h. */
2593 /* Override any gcc2 internal prototype to avoid an error. */
2597 /* We use char because int might match the return type of a gcc2
2598 builtin and then its argument prototype would still apply. */
2608 rm -f conftest.
$ac_objext conftest
$ac_exeext
2609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2610 (eval $ac_link) 2>conftest.er1
2612 grep -v '^ *+' conftest.er1
>conftest.err
2614 cat conftest.err
>&5
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); } &&
2617 { ac_try
='test -z "$ac_c_werror_flag"
2618 || test ! -s conftest.err'
2619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }; } &&
2624 { ac_try
='test -s conftest$ac_exeext'
2625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); }; }; then
2630 ac_cv_search_strerror
="-l$ac_lib"
2633 echo "$as_me: failed program was:" >&5
2634 sed 's/^/| /' conftest.
$ac_ext >&5
2637 rm -f conftest.err conftest.
$ac_objext \
2638 conftest
$ac_exeext conftest.
$ac_ext
2641 LIBS
=$ac_func_search_save_LIBS
2643 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2644 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2645 if test "$ac_cv_search_strerror" != no
; then
2646 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2651 am__api_version
="1.9"
2652 # Find a good install program. We prefer a C program (faster),
2653 # so one script is as good as another. But avoid the broken or
2654 # incompatible versions:
2655 # SysV /etc/install, /usr/sbin/install
2656 # SunOS /usr/etc/install
2657 # IRIX /sbin/install
2659 # AmigaOS /C/install, which installs bootblocks on floppy discs
2660 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2661 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2662 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2663 # OS/2's system install, which has a completely different semantic
2664 # ./install, which can be erroneously created by make from ./install.sh.
2665 # Reject install programs that cannot install multiple files.
2666 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2667 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2668 if test -z "$INSTALL"; then
2669 if test "${ac_cv_path_install+set}" = set; then
2670 echo $ECHO_N "(cached) $ECHO_C" >&6
2672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2676 test -z "$as_dir" && as_dir
=.
2677 # Account for people who put trailing slashes in PATH elements.
2679 .
/ | .
// |
/cC
/* | \
2680 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2681 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2684 # OSF1 and SCO ODT 3.0 have their own names for install.
2685 # Don't use installbsd from OSF since it installs stuff as root
2687 for ac_prog
in ginstall scoinst
install; do
2688 for ac_exec_ext
in '' $ac_executable_extensions; do
2689 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2690 if test $ac_prog = install &&
2691 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2692 # AIX install. It has an incompatible calling convention.
2694 elif test $ac_prog = install &&
2695 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2696 # program-specific install script used by HP pwplus--don't use.
2699 rm -rf conftest.one conftest.two conftest.dir
2700 echo one
> conftest.one
2701 echo two
> conftest.two
2703 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2704 test -s conftest.one
&& test -s conftest.two
&&
2705 test -s conftest.dir
/conftest.one
&&
2706 test -s conftest.dir
/conftest.two
2708 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2719 rm -rf conftest.one conftest.two conftest.dir
2722 if test "${ac_cv_path_install+set}" = set; then
2723 INSTALL
=$ac_cv_path_install
2725 # As a last resort, use the slow shell script. Don't cache a
2726 # value for INSTALL within a source directory, because that will
2727 # break other packages using the cache if that directory is
2728 # removed, or if the value is a relative name.
2729 INSTALL
=$ac_install_sh
2732 echo "$as_me:$LINENO: result: $INSTALL" >&5
2733 echo "${ECHO_T}$INSTALL" >&6
2735 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2736 # It thinks the first close brace ends the variable substitution.
2737 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2739 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2741 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2743 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2744 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2747 echo timestamp
> conftest.
file
2748 # Do `set' in a subshell so we don't clobber the current shell's
2749 # arguments. Must try -L first in case configure is actually a
2750 # symlink; some systems play weird games with the mod time of symlinks
2751 # (eg FreeBSD returns the mod time of the symlink's containing
2754 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2755 if test "$*" = "X"; then
2757 set X
`ls -t $srcdir/configure conftest.file`
2760 if test "$*" != "X $srcdir/configure conftest.file" \
2761 && test "$*" != "X conftest.file $srcdir/configure"; then
2763 # If neither matched, then we have a broken ls. This can happen
2764 # if, for instance, CONFIG_SHELL is bash and it inherits a
2765 # broken ls alias from the environment. This has actually
2766 # happened. Such a system could not be considered "sane".
2767 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2768 alias in your environment" >&5
2769 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2770 alias in your environment" >&2;}
2771 { (exit 1); exit 1; }; }
2774 test "$2" = conftest.
file
2780 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2781 Check your system clock" >&5
2782 echo "$as_me: error: newly created file is older than distributed files!
2783 Check your system clock" >&2;}
2784 { (exit 1); exit 1; }; }
2786 echo "$as_me:$LINENO: result: yes" >&5
2787 echo "${ECHO_T}yes" >&6
2788 test "$program_prefix" != NONE
&&
2789 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2790 # Use a double $ so make ignores it.
2791 test "$program_suffix" != NONE
&&
2792 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2793 # Double any \ or $. echo might interpret backslashes.
2794 # By default was `s,x,x', remove it if useless.
2795 cat <<\_ACEOF
>conftest.
sed
2796 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2798 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2801 # expand $ac_aux_dir to an absolute path
2802 am_aux_dir
=`cd $ac_aux_dir && pwd`
2804 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2805 # Use eval to expand $SHELL
2806 if eval "$MISSING --run true"; then
2807 am_missing_run
="$MISSING --run "
2810 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2811 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2814 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2815 # We used to keeping the `.' as first argument, in order to
2816 # allow $(mkdir_p) to be used without argument. As in
2817 # $(mkdir_p) $(somedir)
2818 # where $(somedir) is conditionally defined. However this is wrong
2820 # 1. if the package is installed by a user who cannot write `.'
2821 # make install will fail,
2822 # 2. the above comment should most certainly read
2823 # $(mkdir_p) $(DESTDIR)$(somedir)
2824 # so it does not work when $(somedir) is undefined and
2825 # $(DESTDIR) is not.
2826 # To support the latter case, we have to write
2827 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2828 # so the `.' trick is pointless.
2829 mkdir_p
='mkdir -p --'
2831 # On NextStep and OpenStep, the `mkdir' command does not
2832 # recognize any option. It will interpret all options as
2833 # directories to create, and then abort because `.' already
2835 for d
in .
/-p .
/--version;
2837 test -d $d && rmdir $d
2839 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2840 if test -f "$ac_aux_dir/mkinstalldirs"; then
2841 mkdir_p
='$(mkinstalldirs)'
2843 mkdir_p
='$(install_sh) -d'
2847 for ac_prog
in gawk mawk nawk
awk
2849 # Extract the first word of "$ac_prog", so it can be a program name with args.
2850 set dummy
$ac_prog; ac_word
=$2
2851 echo "$as_me:$LINENO: checking for $ac_word" >&5
2852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2853 if test "${ac_cv_prog_AWK+set}" = set; then
2854 echo $ECHO_N "(cached) $ECHO_C" >&6
2856 if test -n "$AWK"; then
2857 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2863 test -z "$as_dir" && as_dir
=.
2864 for ac_exec_ext
in '' $ac_executable_extensions; do
2865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2866 ac_cv_prog_AWK
="$ac_prog"
2867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 if test -n "$AWK"; then
2877 echo "$as_me:$LINENO: result: $AWK" >&5
2878 echo "${ECHO_T}$AWK" >&6
2880 echo "$as_me:$LINENO: result: no" >&5
2881 echo "${ECHO_T}no" >&6
2884 test -n "$AWK" && break
2887 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2888 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2889 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2890 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2891 echo $ECHO_N "(cached) $ECHO_C" >&6
2893 cat >conftest.
make <<\_ACEOF
2895 @
echo 'ac_maketemp="$(MAKE)"'
2897 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2898 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2899 if test -n "$ac_maketemp"; then
2900 eval ac_cv_prog_make_
${ac_make}_set
=yes
2902 eval ac_cv_prog_make_
${ac_make}_set
=no
2906 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2907 echo "$as_me:$LINENO: result: yes" >&5
2908 echo "${ECHO_T}yes" >&6
2911 echo "$as_me:$LINENO: result: no" >&5
2912 echo "${ECHO_T}no" >&6
2913 SET_MAKE
="MAKE=${MAKE-make}"
2916 rm -rf .tst
2>/dev
/null
2917 mkdir .tst
2>/dev
/null
2918 if test -d .tst
; then
2923 rmdir .tst
2>/dev
/null
2925 DEPDIR
="${am__leading_dot}deps"
2927 ac_config_commands
="$ac_config_commands depfiles"
2930 am_make
=${MAKE-make}
2931 cat > confinc
<< 'END'
2936 # If we don't find an include directive, just comment out the code.
2937 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2938 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2942 # First try GNU make style include.
2943 echo "include confinc" > confmf
2944 # We grep out `Entering directory' and `Leaving directory'
2945 # messages which can occur if `w' ends up in MAKEFLAGS.
2946 # In particular we don't look at `^make:' because GNU make might
2947 # be invoked under some other name (usually "gmake"), in which
2948 # case it prints its new name instead of `make'.
2949 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2954 # Now try BSD make style include.
2955 if test "$am__include" = "#"; then
2956 echo '.include "confinc"' > confmf
2957 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2958 am__include
=.include
2965 echo "$as_me:$LINENO: result: $_am_result" >&5
2966 echo "${ECHO_T}$_am_result" >&6
2967 rm -f confinc confmf
2969 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2970 if test "${enable_dependency_tracking+set}" = set; then
2971 enableval
="$enable_dependency_tracking"
2974 if test "x$enable_dependency_tracking" != xno
; then
2975 am_depcomp
="$ac_aux_dir/depcomp"
2980 if test "x$enable_dependency_tracking" != xno; then
2990 # test to see if srcdir already configured
2991 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2992 test -f $srcdir/config.status
; then
2993 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2994 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2995 { (exit 1); exit 1; }; }
2998 # test whether we have cygpath
2999 if test -z "$CYGPATH_W"; then
3000 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3001 CYGPATH_W
='cygpath -w'
3008 # Define the identity of the package.
3013 cat >>confdefs.h
<<_ACEOF
3014 #define PACKAGE "$PACKAGE"
3018 cat >>confdefs.h
<<_ACEOF
3019 #define VERSION "$VERSION"
3022 # Some tools Automake needs.
3024 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3027 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3030 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3033 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3036 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3038 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3040 # Installed binaries are usually stripped using `strip' when the user
3041 # run `make install-strip'. However `strip' might not be the right
3042 # tool to use in cross-compilation environments, therefore Automake
3043 # will honor the `STRIP' environment variable to overrule this program.
3044 if test "$cross_compiling" != no
; then
3045 if test -n "$ac_tool_prefix"; then
3046 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3047 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3048 echo "$as_me:$LINENO: checking for $ac_word" >&5
3049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3050 if test "${ac_cv_prog_STRIP+set}" = set; then
3051 echo $ECHO_N "(cached) $ECHO_C" >&6
3053 if test -n "$STRIP"; then
3054 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3060 test -z "$as_dir" && as_dir
=.
3061 for ac_exec_ext
in '' $ac_executable_extensions; do
3062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3063 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3072 STRIP
=$ac_cv_prog_STRIP
3073 if test -n "$STRIP"; then
3074 echo "$as_me:$LINENO: result: $STRIP" >&5
3075 echo "${ECHO_T}$STRIP" >&6
3077 echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6
3082 if test -z "$ac_cv_prog_STRIP"; then
3084 # Extract the first word of "strip", so it can be a program name with args.
3085 set dummy strip
; ac_word
=$2
3086 echo "$as_me:$LINENO: checking for $ac_word" >&5
3087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3088 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3089 echo $ECHO_N "(cached) $ECHO_C" >&6
3091 if test -n "$ac_ct_STRIP"; then
3092 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3098 test -z "$as_dir" && as_dir
=.
3099 for ac_exec_ext
in '' $ac_executable_extensions; do
3100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3101 ac_cv_prog_ac_ct_STRIP
="strip"
3102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3108 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3111 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3112 if test -n "$ac_ct_STRIP"; then
3113 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3114 echo "${ECHO_T}$ac_ct_STRIP" >&6
3116 echo "$as_me:$LINENO: result: no" >&5
3117 echo "${ECHO_T}no" >&6
3122 STRIP
="$ac_cv_prog_STRIP"
3126 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3128 # We need awk for the "check" target. The system "awk" is bad on
3130 # Always define AMTAR for backward compatibility.
3132 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3134 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3139 depcc
="$CC" am_compiler_list
=
3141 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3142 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3143 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3144 echo $ECHO_N "(cached) $ECHO_C" >&6
3146 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3147 # We make a subdir and do the tests there. Otherwise we can end up
3148 # making bogus files that we don't know about and never remove. For
3149 # instance it was reported that on HP-UX the gcc test will end up
3150 # making a dummy file named `D' -- because `-MD' means `put the output
3153 # Copy depcomp to subdir because otherwise we won't find it if we're
3154 # using a relative directory.
3155 cp "$am_depcomp" conftest.dir
3157 # We will build objects and dependencies in a subdirectory because
3158 # it helps to detect inapplicable dependency modes. For instance
3159 # both Tru64's cc and ICC support -MD to output dependencies as a
3160 # side effect of compilation, but ICC will put the dependencies in
3161 # the current directory while Tru64 will put them in the object
3165 am_cv_CC_dependencies_compiler_type
=none
3166 if test "$am_compiler_list" = ""; then
3167 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3169 for depmode
in $am_compiler_list; do
3170 # Setup a source with many dependencies, because some compilers
3171 # like to wrap large dependency lists on column 80 (with \), and
3172 # we should not choose a depcomp mode which is confused by this.
3174 # We need to recreate these files for each test, as the compiler may
3175 # overwrite some of them when testing with obscure command lines.
3176 # This happens at least with the AIX C compiler.
3178 for i
in 1 2 3 4 5 6; do
3179 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3180 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3181 # Solaris 8's {/usr,}/bin/sh.
3182 touch sub
/conftst
$i.h
3184 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3188 # after this tag, mechanisms are not by side-effect, so they'll
3189 # only be used when explicitly requested
3190 if test "x$enable_dependency_tracking" = xyes
; then
3198 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3199 # mode. It turns out that the SunPro C++ compiler does not properly
3200 # handle `-M -o', and we need to detect this.
3201 if depmode
=$depmode \
3202 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3203 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3204 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3205 >/dev
/null
2>conftest.err
&&
3206 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3207 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3208 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3209 # icc doesn't choke on unknown options, it will just issue warnings
3210 # or remarks (even with -Werror). So we grep stderr for any message
3211 # that says an option was ignored or not supported.
3212 # When given -MP, icc 7.0 and 7.1 complain thusly:
3213 # icc: Command line warning: ignoring option '-M'; no argument required
3214 # The diagnosis changed in icc 8.0:
3215 # icc: Command line remark: option '-MP' not supported
3216 if (grep 'ignoring option' conftest.err ||
3217 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3218 am_cv_CC_dependencies_compiler_type
=$depmode
3227 am_cv_CC_dependencies_compiler_type
=none
3231 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3232 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3233 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3238 test "x$enable_dependency_tracking" != xno \
3239 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3241 am__fastdepCC_FALSE
='#'
3243 am__fastdepCC_TRUE
='#'
3244 am__fastdepCC_FALSE
=
3250 if test -n "$ac_tool_prefix"; then
3251 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3252 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3253 echo "$as_me:$LINENO: checking for $ac_word" >&5
3254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3255 if test "${ac_cv_prog_AR+set}" = set; then
3256 echo $ECHO_N "(cached) $ECHO_C" >&6
3258 if test -n "$AR"; then
3259 ac_cv_prog_AR
="$AR" # Let the user override the test.
3261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3265 test -z "$as_dir" && as_dir
=.
3266 for ac_exec_ext
in '' $ac_executable_extensions; do
3267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3268 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3278 if test -n "$AR"; then
3279 echo "$as_me:$LINENO: result: $AR" >&5
3280 echo "${ECHO_T}$AR" >&6
3282 echo "$as_me:$LINENO: result: no" >&5
3283 echo "${ECHO_T}no" >&6
3287 if test -z "$ac_cv_prog_AR"; then
3289 # Extract the first word of "ar", so it can be a program name with args.
3290 set dummy
ar; ac_word
=$2
3291 echo "$as_me:$LINENO: checking for $ac_word" >&5
3292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3293 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3294 echo $ECHO_N "(cached) $ECHO_C" >&6
3296 if test -n "$ac_ct_AR"; then
3297 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3303 test -z "$as_dir" && as_dir
=.
3304 for ac_exec_ext
in '' $ac_executable_extensions; do
3305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3306 ac_cv_prog_ac_ct_AR
="ar"
3307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3315 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3316 if test -n "$ac_ct_AR"; then
3317 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3318 echo "${ECHO_T}$ac_ct_AR" >&6
3320 echo "$as_me:$LINENO: result: no" >&5
3321 echo "${ECHO_T}no" >&6
3329 if test -n "$ac_tool_prefix"; then
3330 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3331 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3332 echo "$as_me:$LINENO: checking for $ac_word" >&5
3333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3334 if test "${ac_cv_prog_RANLIB+set}" = set; then
3335 echo $ECHO_N "(cached) $ECHO_C" >&6
3337 if test -n "$RANLIB"; then
3338 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3344 test -z "$as_dir" && as_dir
=.
3345 for ac_exec_ext
in '' $ac_executable_extensions; do
3346 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3347 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3356 RANLIB
=$ac_cv_prog_RANLIB
3357 if test -n "$RANLIB"; then
3358 echo "$as_me:$LINENO: result: $RANLIB" >&5
3359 echo "${ECHO_T}$RANLIB" >&6
3361 echo "$as_me:$LINENO: result: no" >&5
3362 echo "${ECHO_T}no" >&6
3366 if test -z "$ac_cv_prog_RANLIB"; then
3367 ac_ct_RANLIB
=$RANLIB
3368 # Extract the first word of "ranlib", so it can be a program name with args.
3369 set dummy ranlib
; ac_word
=$2
3370 echo "$as_me:$LINENO: checking for $ac_word" >&5
3371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3372 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3373 echo $ECHO_N "(cached) $ECHO_C" >&6
3375 if test -n "$ac_ct_RANLIB"; then
3376 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3382 test -z "$as_dir" && as_dir
=.
3383 for ac_exec_ext
in '' $ac_executable_extensions; do
3384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3385 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3392 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3395 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3396 if test -n "$ac_ct_RANLIB"; then
3397 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3398 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3400 echo "$as_me:$LINENO: result: no" >&5
3401 echo "${ECHO_T}no" >&6
3404 RANLIB
=$ac_ct_RANLIB
3406 RANLIB
="$ac_cv_prog_RANLIB"
3410 # Check whether --enable-shared or --disable-shared was given.
3411 if test "${enable_shared+set}" = set; then
3412 enableval
="$enable_shared"
3413 p
=${PACKAGE-default}
3415 yes) enable_shared
=yes ;;
3416 no
) enable_shared
=no
;;
3419 # Look at the argument we got. We use all the common list separators.
3420 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3421 for pkg
in $enableval; do
3423 if test "X$pkg" = "X$p"; then
3443 ac_cpp
='$CPP $CPPFLAGS'
3444 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3445 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3446 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3447 if test -n "$ac_tool_prefix"; then
3448 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3449 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3450 echo "$as_me:$LINENO: checking for $ac_word" >&5
3451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3452 if test "${ac_cv_prog_CC+set}" = set; then
3453 echo $ECHO_N "(cached) $ECHO_C" >&6
3455 if test -n "$CC"; then
3456 ac_cv_prog_CC
="$CC" # Let the user override the test.
3458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3462 test -z "$as_dir" && as_dir
=.
3463 for ac_exec_ext
in '' $ac_executable_extensions; do
3464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3465 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3475 if test -n "$CC"; then
3476 echo "$as_me:$LINENO: result: $CC" >&5
3477 echo "${ECHO_T}$CC" >&6
3479 echo "$as_me:$LINENO: result: no" >&5
3480 echo "${ECHO_T}no" >&6
3484 if test -z "$ac_cv_prog_CC"; then
3486 # Extract the first word of "gcc", so it can be a program name with args.
3487 set dummy gcc
; ac_word
=$2
3488 echo "$as_me:$LINENO: checking for $ac_word" >&5
3489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3490 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3491 echo $ECHO_N "(cached) $ECHO_C" >&6
3493 if test -n "$ac_ct_CC"; then
3494 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3500 test -z "$as_dir" && as_dir
=.
3501 for ac_exec_ext
in '' $ac_executable_extensions; do
3502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3503 ac_cv_prog_ac_ct_CC
="gcc"
3504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3512 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3513 if test -n "$ac_ct_CC"; then
3514 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3515 echo "${ECHO_T}$ac_ct_CC" >&6
3517 echo "$as_me:$LINENO: result: no" >&5
3518 echo "${ECHO_T}no" >&6
3526 if test -z "$CC"; then
3527 if test -n "$ac_tool_prefix"; then
3528 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3529 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3530 echo "$as_me:$LINENO: checking for $ac_word" >&5
3531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3532 if test "${ac_cv_prog_CC+set}" = set; then
3533 echo $ECHO_N "(cached) $ECHO_C" >&6
3535 if test -n "$CC"; then
3536 ac_cv_prog_CC
="$CC" # Let the user override the test.
3538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3542 test -z "$as_dir" && as_dir
=.
3543 for ac_exec_ext
in '' $ac_executable_extensions; do
3544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3545 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3555 if test -n "$CC"; then
3556 echo "$as_me:$LINENO: result: $CC" >&5
3557 echo "${ECHO_T}$CC" >&6
3559 echo "$as_me:$LINENO: result: no" >&5
3560 echo "${ECHO_T}no" >&6
3564 if test -z "$ac_cv_prog_CC"; then
3566 # Extract the first word of "cc", so it can be a program name with args.
3567 set dummy cc
; ac_word
=$2
3568 echo "$as_me:$LINENO: checking for $ac_word" >&5
3569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3570 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3571 echo $ECHO_N "(cached) $ECHO_C" >&6
3573 if test -n "$ac_ct_CC"; then
3574 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3580 test -z "$as_dir" && as_dir
=.
3581 for ac_exec_ext
in '' $ac_executable_extensions; do
3582 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3583 ac_cv_prog_ac_ct_CC
="cc"
3584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3592 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3593 if test -n "$ac_ct_CC"; then
3594 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3595 echo "${ECHO_T}$ac_ct_CC" >&6
3597 echo "$as_me:$LINENO: result: no" >&5
3598 echo "${ECHO_T}no" >&6
3607 if test -z "$CC"; then
3608 # Extract the first word of "cc", so it can be a program name with args.
3609 set dummy cc
; ac_word
=$2
3610 echo "$as_me:$LINENO: checking for $ac_word" >&5
3611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3612 if test "${ac_cv_prog_CC+set}" = set; then
3613 echo $ECHO_N "(cached) $ECHO_C" >&6
3615 if test -n "$CC"; then
3616 ac_cv_prog_CC
="$CC" # Let the user override the test.
3619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3623 test -z "$as_dir" && as_dir
=.
3624 for ac_exec_ext
in '' $ac_executable_extensions; do
3625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3626 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3627 ac_prog_rejected
=yes
3631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3637 if test $ac_prog_rejected = yes; then
3638 # We found a bogon in the path, so make sure we never use it.
3639 set dummy
$ac_cv_prog_CC
3641 if test $# != 0; then
3642 # We chose a different compiler from the bogus one.
3643 # However, it has the same basename, so the bogon will be chosen
3644 # first if we set CC to just the basename; use the full file name.
3646 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3652 if test -n "$CC"; then
3653 echo "$as_me:$LINENO: result: $CC" >&5
3654 echo "${ECHO_T}$CC" >&6
3656 echo "$as_me:$LINENO: result: no" >&5
3657 echo "${ECHO_T}no" >&6
3661 if test -z "$CC"; then
3662 if test -n "$ac_tool_prefix"; then
3665 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3666 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3667 echo "$as_me:$LINENO: checking for $ac_word" >&5
3668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3669 if test "${ac_cv_prog_CC+set}" = set; then
3670 echo $ECHO_N "(cached) $ECHO_C" >&6
3672 if test -n "$CC"; then
3673 ac_cv_prog_CC
="$CC" # Let the user override the test.
3675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3679 test -z "$as_dir" && as_dir
=.
3680 for ac_exec_ext
in '' $ac_executable_extensions; do
3681 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3682 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3692 if test -n "$CC"; then
3693 echo "$as_me:$LINENO: result: $CC" >&5
3694 echo "${ECHO_T}$CC" >&6
3696 echo "$as_me:$LINENO: result: no" >&5
3697 echo "${ECHO_T}no" >&6
3700 test -n "$CC" && break
3703 if test -z "$CC"; then
3707 # Extract the first word of "$ac_prog", so it can be a program name with args.
3708 set dummy
$ac_prog; ac_word
=$2
3709 echo "$as_me:$LINENO: checking for $ac_word" >&5
3710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3711 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3712 echo $ECHO_N "(cached) $ECHO_C" >&6
3714 if test -n "$ac_ct_CC"; then
3715 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3721 test -z "$as_dir" && as_dir
=.
3722 for ac_exec_ext
in '' $ac_executable_extensions; do
3723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3724 ac_cv_prog_ac_ct_CC
="$ac_prog"
3725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3733 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3734 if test -n "$ac_ct_CC"; then
3735 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3736 echo "${ECHO_T}$ac_ct_CC" >&6
3738 echo "$as_me:$LINENO: result: no" >&5
3739 echo "${ECHO_T}no" >&6
3742 test -n "$ac_ct_CC" && break
3751 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3752 See \`config.log' for more details." >&5
3753 echo "$as_me: error: no acceptable C compiler found in \$PATH
3754 See \`config.log' for more details." >&2;}
3755 { (exit 1); exit 1; }; }
3757 # Provide some information about the compiler.
3758 echo "$as_me:$LINENO:" \
3759 "checking for C compiler version" >&5
3760 ac_compiler
=`set X $ac_compile; echo $2`
3761 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3762 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765 (exit $ac_status); }
3766 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3767 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770 (exit $ac_status); }
3771 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3772 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775 (exit $ac_status); }
3777 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3778 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3779 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3780 echo $ECHO_N "(cached) $ECHO_C" >&6
3782 cat >conftest.
$ac_ext <<_ACEOF
3785 cat confdefs.h
>>conftest.
$ac_ext
3786 cat >>conftest.
$ac_ext <<_ACEOF
3787 /* end confdefs.h. */
3800 rm -f conftest.
$ac_objext
3801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3802 (eval $ac_compile) 2>conftest.er1
3804 grep -v '^ *+' conftest.er1
>conftest.err
3806 cat conftest.err
>&5
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); } &&
3809 { ac_try
='test -z "$ac_c_werror_flag"
3810 || 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"
3869 || test ! -s conftest.err'
3870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3874 (exit $ac_status); }; } &&
3875 { ac_try
='test -s conftest.$ac_objext'
3876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3880 (exit $ac_status); }; }; then
3883 echo "$as_me: failed program was:" >&5
3884 sed 's/^/| /' conftest.
$ac_ext >&5
3888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3890 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3891 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3892 if test "$ac_test_CFLAGS" = set; then
3893 CFLAGS
=$ac_save_CFLAGS
3894 elif test $ac_cv_prog_cc_g = yes; then
3895 if test "$GCC" = yes; then
3901 if test "$GCC" = yes; then
3907 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3908 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3909 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3910 echo $ECHO_N "(cached) $ECHO_C" >&6
3912 ac_cv_prog_cc_stdc
=no
3914 cat >conftest.
$ac_ext <<_ACEOF
3917 cat confdefs.h
>>conftest.
$ac_ext
3918 cat >>conftest.
$ac_ext <<_ACEOF
3919 /* end confdefs.h. */
3922 #include <sys/types.h>
3923 #include <sys/stat.h>
3924 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3925 struct buf { int x; };
3926 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3927 static char *e (p, i)
3933 static char *f (char * (*g) (char **, int), char **p, ...)
3938 s = g (p, va_arg (v,int));
3943 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3944 function prototypes and stuff, but not '\xHH' hex character constants.
3945 These don't provoke an error unfortunately, instead are silently treated
3946 as 'x'. The following induces an error, until -std1 is added to get
3947 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3948 array size at least. It's necessary to write '\x00'==0 to get something
3949 that's true only with -std1. */
3950 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3952 int test (int i, double x);
3953 struct s1 {int (*f) (int a);};
3954 struct s2 {int (*f) (double a);};
3955 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3961 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3966 # Don't try gcc -ansi; that turns off useful extensions and
3967 # breaks some systems' header files.
3968 # AIX -qlanglvl=ansi
3969 # Ultrix and OSF/1 -std1
3970 # HP-UX 10.20 and later -Ae
3971 # HP-UX older versions -Aa -D_HPUX_SOURCE
3972 # SVR4 -Xc -D__EXTENSIONS__
3973 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3975 CC
="$ac_save_CC $ac_arg"
3976 rm -f conftest.
$ac_objext
3977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3978 (eval $ac_compile) 2>conftest.er1
3980 grep -v '^ *+' conftest.er1
>conftest.err
3982 cat conftest.err
>&5
3983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3984 (exit $ac_status); } &&
3985 { ac_try
='test -z "$ac_c_werror_flag"
3986 || test ! -s conftest.err'
3987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); }; } &&
3992 { ac_try
='test -s conftest.$ac_objext'
3993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3997 (exit $ac_status); }; }; then
3998 ac_cv_prog_cc_stdc
=$ac_arg
4001 echo "$as_me: failed program was:" >&5
4002 sed 's/^/| /' conftest.
$ac_ext >&5
4005 rm -f conftest.err conftest.
$ac_objext
4007 rm -f conftest.
$ac_ext conftest.
$ac_objext
4012 case "x$ac_cv_prog_cc_stdc" in
4014 echo "$as_me:$LINENO: result: none needed" >&5
4015 echo "${ECHO_T}none needed" >&6 ;;
4017 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4018 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4019 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4022 # Some people use a C++ compiler to compile C. Since we use `exit',
4023 # in C++ we need to declare it. In case someone uses the same compiler
4024 # for both compiling C and C++ we need to have the C++ compiler decide
4025 # the declaration of exit, since it's the most demanding environment.
4026 cat >conftest.
$ac_ext <<_ACEOF
4031 rm -f conftest.
$ac_objext
4032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4033 (eval $ac_compile) 2>conftest.er1
4035 grep -v '^ *+' conftest.er1
>conftest.err
4037 cat conftest.err
>&5
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); } &&
4040 { ac_try
='test -z "$ac_c_werror_flag"
4041 || test ! -s conftest.err'
4042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046 (exit $ac_status); }; } &&
4047 { ac_try
='test -s conftest.$ac_objext'
4048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052 (exit $ac_status); }; }; then
4053 for ac_declaration
in \
4055 'extern "C" void std::exit (int) throw (); using std::exit;' \
4056 'extern "C" void std::exit (int); using std::exit;' \
4057 'extern "C" void exit (int) throw ();' \
4058 'extern "C" void exit (int);' \
4061 cat >conftest.
$ac_ext <<_ACEOF
4064 cat confdefs.h
>>conftest.
$ac_ext
4065 cat >>conftest.
$ac_ext <<_ACEOF
4066 /* end confdefs.h. */
4077 rm -f conftest.
$ac_objext
4078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4079 (eval $ac_compile) 2>conftest.er1
4081 grep -v '^ *+' conftest.er1
>conftest.err
4083 cat conftest.err
>&5
4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); } &&
4086 { ac_try
='test -z "$ac_c_werror_flag"
4087 || test ! -s conftest.err'
4088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4092 (exit $ac_status); }; } &&
4093 { ac_try
='test -s conftest.$ac_objext'
4094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098 (exit $ac_status); }; }; then
4101 echo "$as_me: failed program was:" >&5
4102 sed 's/^/| /' conftest.
$ac_ext >&5
4106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4107 cat >conftest.
$ac_ext <<_ACEOF
4110 cat confdefs.h
>>conftest.
$ac_ext
4111 cat >>conftest.
$ac_ext <<_ACEOF
4112 /* end confdefs.h. */
4122 rm -f conftest.
$ac_objext
4123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4124 (eval $ac_compile) 2>conftest.er1
4126 grep -v '^ *+' conftest.er1
>conftest.err
4128 cat conftest.err
>&5
4129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130 (exit $ac_status); } &&
4131 { ac_try
='test -z "$ac_c_werror_flag"
4132 || test ! -s conftest.err'
4133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137 (exit $ac_status); }; } &&
4138 { ac_try
='test -s conftest.$ac_objext'
4139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4143 (exit $ac_status); }; }; then
4146 echo "$as_me: failed program was:" >&5
4147 sed 's/^/| /' conftest.
$ac_ext >&5
4150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4153 if test -n "$ac_declaration"; then
4154 echo '#ifdef __cplusplus' >>confdefs.h
4155 echo $ac_declaration >>confdefs.h
4156 echo '#endif' >>confdefs.h
4160 echo "$as_me: failed program was:" >&5
4161 sed 's/^/| /' conftest.
$ac_ext >&5
4164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4166 ac_cpp
='$CPP $CPPFLAGS'
4167 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4168 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4169 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4172 cat >>confdefs.h
<<\_ACEOF
4173 #define _GNU_SOURCE 1
4180 macro_version
='2.1a'
4181 macro_revision
='1.2435'
4194 ltmain
="$ac_aux_dir/ltmain.sh"
4205 # Check whether --enable-static or --disable-static was given.
4206 if test "${enable_static+set}" = set; then
4207 enableval
="$enable_static"
4208 p
=${PACKAGE-default}
4210 yes) enable_static
=yes ;;
4211 no
) enable_static
=no
;;
4214 # Look at the argument we got. We use all the common list separators.
4215 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4216 for pkg
in $enableval; do
4218 if test "X$pkg" = "X$p"; then
4237 # Check whether --with-pic or --without-pic was given.
4238 if test "${with_pic+set}" = set; then
4245 test -z "$pic_mode" && pic_mode
=default
4253 # Check whether --enable-fast-install or --disable-fast-install was given.
4254 if test "${enable_fast_install+set}" = set; then
4255 enableval
="$enable_fast_install"
4256 p
=${PACKAGE-default}
4258 yes) enable_fast_install
=yes ;;
4259 no
) enable_fast_install
=no
;;
4261 enable_fast_install
=no
4262 # Look at the argument we got. We use all the common list separators.
4263 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4264 for pkg
in $enableval; do
4266 if test "X$pkg" = "X$p"; then
4267 enable_fast_install
=yes
4274 enable_fast_install
=yes
4284 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4285 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4286 if test "${lt_cv_path_SED+set}" = set; then
4287 echo $ECHO_N "(cached) $ECHO_C" >&6
4289 # Loop through the user's path and test for sed and gsed.
4290 # Then use that list of sed's as ones to test for truncation.
4291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4295 test -z "$as_dir" && as_dir
=.
4296 for lt_ac_prog
in sed gsed
; do
4297 for ac_exec_ext
in '' $ac_executable_extensions; do
4298 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4299 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4307 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4308 # along with /bin/sed that truncates output.
4309 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4310 test ! -f $lt_ac_sed && continue
4311 cat /dev
/null
> conftest.
in
4313 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4314 # Check for GNU sed and select it if it is found.
4315 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4316 lt_cv_path_SED
=$lt_ac_sed
4320 cat conftest.
in conftest.
in >conftest.tmp
4321 mv conftest.tmp conftest.
in
4322 cp conftest.
in conftest.
nl
4324 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4325 cmp -s conftest.out conftest.
nl ||
break
4326 # 10000 chars as input seems more than enough
4327 test $lt_ac_count -gt 10 && break
4328 lt_ac_count
=`expr $lt_ac_count + 1`
4329 if test $lt_ac_count -gt $lt_ac_max; then
4330 lt_ac_max
=$lt_ac_count
4331 lt_cv_path_SED
=$lt_ac_sed
4340 echo "$as_me:$LINENO: result: $SED" >&5
4341 echo "${ECHO_T}$SED" >&6
4343 test -z "$SED" && SED
=sed
4344 Xsed
="$SED -e 1s/^X//"
4356 echo "$as_me:$LINENO: checking for egrep" >&5
4357 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4358 if test "${ac_cv_prog_egrep+set}" = set; then
4359 echo $ECHO_N "(cached) $ECHO_C" >&6
4361 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4362 then ac_cv_prog_egrep
='grep -E'
4363 else ac_cv_prog_egrep
='egrep'
4366 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4367 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4368 EGREP
=$ac_cv_prog_egrep
4371 echo "$as_me:$LINENO: checking for fgrep" >&5
4372 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4373 if test "${ac_cv_prog_fgrep+set}" = set; then
4374 echo $ECHO_N "(cached) $ECHO_C" >&6
4376 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
4377 then ac_cv_prog_fgrep
='grep -F'
4378 else ac_cv_prog_fgrep
='fgrep'
4381 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4382 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4383 FGREP
=$ac_cv_prog_fgrep
4386 test -z "$GREP" && GREP
=grep
4406 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4407 if test "${with_gnu_ld+set}" = set; then
4408 withval
="$with_gnu_ld"
4409 test "$withval" = no || with_gnu_ld
=yes
4414 if test "$GCC" = yes; then
4415 # Check if gcc -print-prog-name=ld gives a path.
4416 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4417 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4420 # gcc leaves a trailing carriage return which upsets mingw
4421 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4423 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4426 # Accept absolute paths.
4428 re_direlt
='/[^/][^/]*/\.\./'
4429 # Canonicalize the pathname of ld
4430 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4431 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4432 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4434 test -z "$LD" && LD
="$ac_prog"
4437 # If it fails, then pretend we aren't using GCC.
4441 # If it is relative, then search for the first ld in PATH.
4445 elif test "$with_gnu_ld" = yes; then
4446 echo "$as_me:$LINENO: checking for GNU ld" >&5
4447 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4449 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4450 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4452 if test "${lt_cv_path_LD+set}" = set; then
4453 echo $ECHO_N "(cached) $ECHO_C" >&6
4455 if test -z "$LD"; then
4456 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4457 for ac_dir
in $PATH; do
4459 test -z "$ac_dir" && ac_dir
=.
4460 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4461 lt_cv_path_LD
="$ac_dir/$ac_prog"
4462 # Check to see if the program is GNU ld. I'd rather use --version,
4463 # but apparently some variants of GNU ld only accept -v.
4464 # Break only if it was the GNU/non-GNU ld that we prefer.
4465 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4466 *GNU
* |
*'with BFD'*)
4467 test "$with_gnu_ld" != no
&& break
4470 test "$with_gnu_ld" != yes && break
4477 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4482 if test -n "$LD"; then
4483 echo "$as_me:$LINENO: result: $LD" >&5
4484 echo "${ECHO_T}$LD" >&6
4486 echo "$as_me:$LINENO: result: no" >&5
4487 echo "${ECHO_T}no" >&6
4489 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4490 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4491 { (exit 1); exit 1; }; }
4492 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4493 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4494 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4495 echo $ECHO_N "(cached) $ECHO_C" >&6
4497 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4498 case `$LD -v 2>&1 </dev/null` in
4499 *GNU
* |
*'with BFD'*)
4500 lt_cv_prog_gnu_ld
=yes
4503 lt_cv_prog_gnu_ld
=no
4507 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4508 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4509 with_gnu_ld
=$lt_cv_prog_gnu_ld
4520 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4521 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4522 if test "${lt_cv_path_NM+set}" = set; then
4523 echo $ECHO_N "(cached) $ECHO_C" >&6
4525 if test -n "$NM"; then
4526 # Let the user override the test.
4529 lt_nm_to_check
="${ac_tool_prefix}nm"
4530 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4531 lt_nm_to_check
="$lt_nm_to_check nm"
4533 for lt_tmp_nm
in $lt_nm_to_check; do
4534 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4535 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4537 test -z "$ac_dir" && ac_dir
=.
4538 tmp_nm
="$ac_dir/$lt_tmp_nm"
4539 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4540 # Check to see if the nm accepts a BSD-compat flag.
4541 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4542 # nm: unknown option "B" ignored
4543 # Tru64's nm complains that /dev/null is an invalid object file
4544 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4545 */dev
/null
* |
*'Invalid file or object type'*)
4546 lt_cv_path_NM
="$tmp_nm -B"
4550 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4552 lt_cv_path_NM
="$tmp_nm -p"
4556 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4557 continue # so that we can try to find one that supports BSD flags
4566 : ${lt_cv_path_NM=no}
4569 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4570 echo "${ECHO_T}$lt_cv_path_NM" >&6
4571 if test "$lt_cv_path_NM" != "no"; then
4574 # Didn't find any BSD compatible name lister, look for dumpbin.
4575 if test -n "$ac_tool_prefix"; then
4576 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4578 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4579 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4580 echo "$as_me:$LINENO: checking for $ac_word" >&5
4581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4582 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4583 echo $ECHO_N "(cached) $ECHO_C" >&6
4585 if test -n "$DUMPBIN"; then
4586 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4592 test -z "$as_dir" && as_dir
=.
4593 for ac_exec_ext
in '' $ac_executable_extensions; do
4594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4595 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 DUMPBIN
=$ac_cv_prog_DUMPBIN
4605 if test -n "$DUMPBIN"; then
4606 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4607 echo "${ECHO_T}$DUMPBIN" >&6
4609 echo "$as_me:$LINENO: result: no" >&5
4610 echo "${ECHO_T}no" >&6
4613 test -n "$DUMPBIN" && break
4616 if test -z "$DUMPBIN"; then
4617 ac_ct_DUMPBIN
=$DUMPBIN
4618 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4620 # Extract the first word of "$ac_prog", so it can be a program name with args.
4621 set dummy
$ac_prog; ac_word
=$2
4622 echo "$as_me:$LINENO: checking for $ac_word" >&5
4623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4624 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4625 echo $ECHO_N "(cached) $ECHO_C" >&6
4627 if test -n "$ac_ct_DUMPBIN"; then
4628 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4634 test -z "$as_dir" && as_dir
=.
4635 for ac_exec_ext
in '' $ac_executable_extensions; do
4636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4637 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4646 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4647 if test -n "$ac_ct_DUMPBIN"; then
4648 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4649 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4651 echo "$as_me:$LINENO: result: no" >&5
4652 echo "${ECHO_T}no" >&6
4655 test -n "$ac_ct_DUMPBIN" && break
4657 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
4659 DUMPBIN
=$ac_ct_DUMPBIN
4663 if test "$DUMPBIN" != ":"; then
4667 test -z "$NM" && NM
=nm
4674 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4675 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4676 if test "${lt_cv_nm_interface+set}" = set; then
4677 echo $ECHO_N "(cached) $ECHO_C" >&6
4679 lt_cv_nm_interface
="BSD nm"
4680 echo "int some_variable = 0;" > conftest.
$ac_ext
4681 (eval echo "\"\$as_me:4681: $ac_compile\"" >&5)
4682 (eval "$ac_compile" 2>conftest.err
)
4683 cat conftest.err
>&5
4684 (eval echo "\"\$as_me:4684: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4685 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4686 cat conftest.err
>&5
4687 (eval echo "\"\$as_me:4687: output\"" >&5)
4688 cat conftest.out
>&5
4689 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4690 lt_cv_nm_interface
="MS dumpbin"
4694 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4695 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4697 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4698 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4700 if test "$LN_S" = "ln -s"; then
4701 echo "$as_me:$LINENO: result: yes" >&5
4702 echo "${ECHO_T}yes" >&6
4704 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4705 echo "${ECHO_T}no, using $LN_S" >&6
4708 # find the maximum length of command line arguments
4709 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4710 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4711 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4712 echo $ECHO_N "(cached) $ECHO_C" >&6
4719 # On DJGPP, this test can blow up pretty badly due to problems in libc
4720 # (any single argument exceeding 2000 bytes causes a buffer overrun
4721 # during glob expansion). Even if it were fixed, the result of this
4722 # check would be larger than it should be.
4723 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4727 # Under GNU Hurd, this test is not required because there is
4728 # no limit to the length of command line arguments.
4729 # Libtool will interpret -1 as no limit whatsoever
4730 lt_cv_sys_max_cmd_len
=-1;
4734 # On Win9x/ME, this test blows up -- it succeeds, but takes
4735 # about 5 minutes as the teststring grows exponentially.
4736 # Worse, since 9x/ME are not pre-emptively multitasking,
4737 # you end up with a "frozen" computer, even though with patience
4738 # the test eventually succeeds (with a max line length of 256k).
4739 # Instead, let's just punt: use the minimum linelength reported by
4740 # all of the supported platforms: 8192 (on NT/2K/XP).
4741 lt_cv_sys_max_cmd_len
=8192;
4745 # On AmigaOS with pdksh, this test takes hours, literally.
4746 # So we just punt and use a minimum line length of 8192.
4747 lt_cv_sys_max_cmd_len
=8192;
4750 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4751 # This has been around since 386BSD, at least. Likely further.
4752 if test -x /sbin
/sysctl
; then
4753 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4754 elif test -x /usr
/sbin
/sysctl
; then
4755 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4757 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4759 # And add a safety zone
4760 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4761 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4765 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4766 lt_cv_sys_max_cmd_len
=196608
4770 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4771 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4772 # nice to cause kernel panics so lets avoid the loop below.
4773 # First set a reasonable default.
4774 lt_cv_sys_max_cmd_len
=16384
4776 if test -x /sbin
/sysconfig
; then
4777 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4778 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4783 lt_cv_sys_max_cmd_len
=102400
4785 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4786 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4787 if test -n "$kargmax"; then
4788 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4790 lt_cv_sys_max_cmd_len
=32768
4794 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
4795 if test -n $lt_cv_sys_max_cmd_len; then
4796 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4797 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4799 # Make teststring a little bigger before we do anything with it.
4800 # a 1K string should be a reasonable start.
4801 for i
in 1 2 3 4 5 6 7 8 ; do
4802 teststring
=$teststring$teststring
4804 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4805 # If test is not a shell built-in, we'll probably end up computing a
4806 # maximum length that is only half of the actual maximum length, but
4808 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4809 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4810 test $i != 17 # 1/2 MB should be enough
4813 teststring
=$teststring$teststring
4815 # Only check the string length outside the loop.
4816 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4818 # Add a significant safety factor because C++ compilers can tack on
4819 # massive amounts of additional arguments before passing them to the
4820 # linker. It appears as though 1/2 is a usable value.
4821 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4828 if test -n $lt_cv_sys_max_cmd_len ; then
4829 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4830 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4832 echo "$as_me:$LINENO: result: none" >&5
4833 echo "${ECHO_T}none" >&6
4835 max_cmd_len
=$lt_cv_sys_max_cmd_len
4847 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4848 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4849 # Try some XSI features
4852 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4853 = c,a/b,, ) >/dev/null 2>&1 \
4855 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4856 echo "${ECHO_T}$xsi_shell" >&6
4859 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4860 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
4862 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4864 && lt_shell_append=yes
4865 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4866 echo "${ECHO_T}$lt_shell_append" >&6
4869 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4879 # test EBCDIC or ASCII
4880 case `echo X|tr X '\101'` in
4881 A) # ASCII based system
4882 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4883 lt_SP2NL='tr \040 \012'
4884 lt_NL2SP='tr \015\012 \040\040'
4886 *) # EBCDIC based system
4887 lt_SP2NL='tr \100 \n'
4888 lt_NL2SP='tr \r\n \100\100'
4900 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4901 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
4902 if test "${lt_cv_ld_reload_flag+set}" = set; then
4903 echo $ECHO_N "(cached
) $ECHO_C" >&6
4905 lt_cv_ld_reload_flag='-r'
4907 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4908 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4909 reload_flag=$lt_cv_ld_reload_flag
4910 case $reload_flag in
4912 *) reload_flag=" $reload_flag" ;;
4914 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4917 if test "$GCC" = yes; then
4918 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4920 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4934 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4935 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4936 if test "${lt_cv_deplibs_check_method+set}" = set; then
4937 echo $ECHO_N "(cached
) $ECHO_C" >&6
4939 lt_cv_file_magic_cmd='$MAGIC_CMD'
4940 lt_cv_file_magic_test_file=
4941 lt_cv_deplibs_check_method='unknown'
4942 # Need to set the preceding variable on all platforms that support
4943 # interlibrary dependencies.
4944 # 'none' -- dependencies not supported.
4945 # `unknown' -- same as none, but documents that we really don't know.
4946 # 'pass_all' -- all dependencies passed with no checks.
4947 # 'test_compile' -- check by making test program.
4948 # 'file_magic [[regex]]' -- check by looking for files in library path
4949 # which responds to the $file_magic_cmd with a given extended regex.
4950 # If you have `file' or equivalent on your system and you're not sure
4951 # whether `pass_all' will *always* work, you probably want this one.
4955 lt_cv_deplibs_check_method=pass_all
4959 lt_cv_deplibs_check_method=pass_all
4963 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4964 lt_cv_file_magic_cmd='/usr/bin/file -L'
4965 lt_cv_file_magic_test_file=/shlib/libc.so
4969 # func_win32_libid is a shell function defined in ltmain.sh
4970 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4971 lt_cv_file_magic_cmd='func_win32_libid'
4975 # Base MSYS/MinGW do not provide the 'file' command needed by
4976 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4977 # unless we find 'file', for example because we are cross-compiling.
4978 if ( file / ) >/dev/null 2>&1; then
4979 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4980 lt_cv_file_magic_cmd='func_win32_libid'
4982 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4983 lt_cv_file_magic_cmd='$OBJDUMP -f'
4987 darwin* | rhapsody*)
4988 lt_cv_deplibs_check_method=pass_all
4991 freebsd* | dragonfly*)
4992 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4995 # Not sure whether the presence of OpenBSD here was a mistake.
4996 # Let's accept both of them until this is cleared up.
4997 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4998 lt_cv_file_magic_cmd=/usr/bin/file
4999 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5003 lt_cv_deplibs_check_method=pass_all
5008 lt_cv_deplibs_check_method=pass_all
5011 hpux10.20* | hpux11*)
5012 lt_cv_file_magic_cmd=/usr/bin/file
5015 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5016 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5019 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]'
5020 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5023 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5024 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5030 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5031 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5034 irix5* | irix6* | nonstopux*)
5036 *-32|*"-32 ") libmagic=32-bit;;
5037 *-n32|*"-n32 ") libmagic=N32;;
5038 *-64|*"-64 ") libmagic=64-bit;;
5039 *) libmagic=never-match;;
5041 lt_cv_deplibs_check_method=pass_all
5044 # This must be Linux ELF.
5045 linux* | k*bsd*-gnu)
5046 lt_cv_deplibs_check_method=pass_all
5050 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5051 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5053 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5058 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5059 lt_cv_file_magic_cmd=/usr/bin/file
5060 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5064 lt_cv_deplibs_check_method=pass_all
5068 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5069 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5071 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5075 osf3* | osf4* | osf5*)
5076 lt_cv_deplibs_check_method=pass_all
5080 lt_cv_deplibs_check_method=pass_all
5084 lt_cv_deplibs_check_method=pass_all
5087 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5088 lt_cv_deplibs_check_method=pass_all
5092 case $host_vendor in
5094 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]'
5095 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5098 lt_cv_deplibs_check_method=pass_all
5101 lt_cv_file_magic_cmd='/bin/file'
5102 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5105 lt_cv_file_magic_cmd='/bin/file'
5106 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5107 lt_cv_file_magic_test_file=/lib/libc.so
5110 lt_cv_deplibs_check_method=pass_all
5113 lt_cv_deplibs_check_method=pass_all
5119 lt_cv_deplibs_check_method=pass_all
5124 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5125 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5126 file_magic_cmd=$lt_cv_file_magic_cmd
5127 deplibs_check_method=$lt_cv_deplibs_check_method
5128 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5141 if test -n "$ac_tool_prefix"; then
5142 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5143 set dummy ${ac_tool_prefix}ar; ac_word=$2
5144 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5145 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5146 if test "${ac_cv_prog_AR+set}" = set; then
5147 echo $ECHO_N "(cached
) $ECHO_C" >&6
5149 if test -n "$AR"; then
5150 ac_cv_prog_AR="$AR" # Let the user override the test.
5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 test -z "$as_dir" && as_dir=.
5157 for ac_exec_ext in '' $ac_executable_extensions; do
5158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5159 ac_cv_prog_AR="${ac_tool_prefix}ar"
5160 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5169 if test -n "$AR"; then
5170 echo "$as_me:$LINENO: result
: $AR" >&5
5171 echo "${ECHO_T}$AR" >&6
5173 echo "$as_me:$LINENO: result
: no
" >&5
5174 echo "${ECHO_T}no
" >&6
5178 if test -z "$ac_cv_prog_AR"; then
5180 # Extract the first word of "ar", so it can be a program name with args.
5181 set dummy ar; ac_word=$2
5182 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5183 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5184 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5185 echo $ECHO_N "(cached
) $ECHO_C" >&6
5187 if test -n "$ac_ct_AR"; then
5188 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5194 test -z "$as_dir" && as_dir=.
5195 for ac_exec_ext in '' $ac_executable_extensions; do
5196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5197 ac_cv_prog_ac_ct_AR="ar"
5198 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5204 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
5207 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5208 if test -n "$ac_ct_AR"; then
5209 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5210 echo "${ECHO_T}$ac_ct_AR" >&6
5212 echo "$as_me:$LINENO: result
: no
" >&5
5213 echo "${ECHO_T}no
" >&6
5221 test -z "$AR" && AR=ar
5222 test -z "$AR_FLAGS" && AR_FLAGS=cru
5234 if test -n "$ac_tool_prefix"; then
5235 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5236 set dummy ${ac_tool_prefix}strip; ac_word=$2
5237 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5238 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5239 if test "${ac_cv_prog_STRIP+set}" = set; then
5240 echo $ECHO_N "(cached
) $ECHO_C" >&6
5242 if test -n "$STRIP"; then
5243 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5249 test -z "$as_dir" && as_dir=.
5250 for ac_exec_ext in '' $ac_executable_extensions; do
5251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5252 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5253 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5261 STRIP=$ac_cv_prog_STRIP
5262 if test -n "$STRIP"; then
5263 echo "$as_me:$LINENO: result
: $STRIP" >&5
5264 echo "${ECHO_T}$STRIP" >&6
5266 echo "$as_me:$LINENO: result
: no
" >&5
5267 echo "${ECHO_T}no
" >&6
5271 if test -z "$ac_cv_prog_STRIP"; then
5273 # Extract the first word of "strip
", so it can be a program name with args.
5274 set dummy strip; ac_word=$2
5275 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5276 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5277 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5278 echo $ECHO_N "(cached
) $ECHO_C" >&6
5280 if test -n "$ac_ct_STRIP"; then
5281 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5287 test -z "$as_dir" && as_dir=.
5288 for ac_exec_ext in '' $ac_executable_extensions; do
5289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5290 ac_cv_prog_ac_ct_STRIP="strip
"
5291 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5297 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5300 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5301 if test -n "$ac_ct_STRIP"; then
5302 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5303 echo "${ECHO_T}$ac_ct_STRIP" >&6
5305 echo "$as_me:$LINENO: result
: no
" >&5
5306 echo "${ECHO_T}no
" >&6
5311 STRIP="$ac_cv_prog_STRIP"
5314 test -z "$STRIP" && STRIP=:
5321 if test -n "$ac_tool_prefix"; then
5322 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5323 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5324 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5325 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5326 if test "${ac_cv_prog_RANLIB+set}" = set; then
5327 echo $ECHO_N "(cached
) $ECHO_C" >&6
5329 if test -n "$RANLIB"; then
5330 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5336 test -z "$as_dir" && as_dir=.
5337 for ac_exec_ext in '' $ac_executable_extensions; do
5338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5339 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5340 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5348 RANLIB=$ac_cv_prog_RANLIB
5349 if test -n "$RANLIB"; then
5350 echo "$as_me:$LINENO: result
: $RANLIB" >&5
5351 echo "${ECHO_T}$RANLIB" >&6
5353 echo "$as_me:$LINENO: result
: no
" >&5
5354 echo "${ECHO_T}no
" >&6
5358 if test -z "$ac_cv_prog_RANLIB"; then
5359 ac_ct_RANLIB=$RANLIB
5360 # Extract the first word of "ranlib
", so it can be a program name with args.
5361 set dummy ranlib; ac_word=$2
5362 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5363 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5364 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5365 echo $ECHO_N "(cached
) $ECHO_C" >&6
5367 if test -n "$ac_ct_RANLIB"; then
5368 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5374 test -z "$as_dir" && as_dir=.
5375 for ac_exec_ext in '' $ac_executable_extensions; do
5376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5377 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5378 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5384 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5387 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5388 if test -n "$ac_ct_RANLIB"; then
5389 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5390 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5392 echo "$as_me:$LINENO: result
: no
" >&5
5393 echo "${ECHO_T}no
" >&6
5396 RANLIB=$ac_ct_RANLIB
5398 RANLIB="$ac_cv_prog_RANLIB"
5401 test -z "$RANLIB" && RANLIB=:
5408 # Determine commands to create old-style static archives.
5409 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5410 old_postinstall_cmds='chmod 644 $oldlib'
5411 old_postuninstall_cmds=
5413 if test -n "$RANLIB"; then
5416 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5419 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5422 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5458 # If no C compiler was specified, use CC.
5461 # If no C compiler flags were specified, use CFLAGS.
5462 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5464 # Allow CC to be a program name with arguments.
5468 # Check for command to grab the raw symbol name followed by C symbol from nm.
5469 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5470 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
5471 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5472 echo $ECHO_N "(cached
) $ECHO_C" >&6
5475 # These are sane defaults that work on at least a few old systems.
5476 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5478 # Character class describing NM global symbol codes.
5479 symcode='[BCDEGRST]'
5481 # Regexp to match symbols that can be accessed directly from C.
5482 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5484 # Define system-specific variables.
5489 cygwin* | mingw* | pw32*)
5490 symcode='[ABCDGISTW]'
5493 if test "$host_cpu" = ia64; then
5494 symcode='[ABCDEGRST]'
5498 symcode='[BCDEGRST]'
5501 symcode='[BCDEGQRST]'
5512 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5520 # If we're using GNU nm, then use its standard symbol codes.
5521 case `$NM -V 2>&1` in
5522 *GNU* | *'with BFD'*)
5523 symcode='[ABCDGIRSTW]' ;;
5526 # Transform an extracted symbol line into a proper C declaration.
5527 # Some systems (esp. on ia64) link data and code symbols differently,
5528 # so use this general approach.
5529 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5531 # Transform an extracted symbol line into symbol name and symbol address
5532 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5534 # Handle CRLF in mingw tool chain
5538 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5542 # Try without a prefix underscore, then with it.
5543 for ac_symprfx in "" "_
"; do
5545 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5546 symxfrm="\\1 $ac_symprfx\\2 \\2"
5548 # Write the raw and C identifiers.
5549 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5550 # Fake it for dumpbin and say T for any non-static function
5551 # and D for any global variable.
5552 # Also find C++ and __fastcall symbols from MSVC++,
5553 # which start with @ or ?.
5554 lt_cv_sys_global_symbol_pipe="$AWK '"\
5555 " {last_section=section; section=\$ 3};"\
5556 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5557 " \$ 0!~/External *\|/{next};"\
5558 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5559 " {if(hide[section]) next};"\
5560 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5561 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5562 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5563 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5564 " ' prfx
=^
$ac_symprfx"
5566 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5569 # Check to see that the pipe works correctly.
5573 cat > conftest.$ac_ext <<_LT_EOF
5578 void nm_test_func(void);
5579 void nm_test_func(void){}
5583 int main(){nm_test_var='a';nm_test_func();return(0);}
5586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5587 (eval $ac_compile) 2>&5
5589 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5590 (exit $ac_status); }; then
5591 # Now try to grab the symbols.
5593 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5594 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5596 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5597 (exit $ac_status); } && test -s "$nlist"; then
5598 # Try sorting and uniquifying the output.
5599 if sort "$nlist" | uniq > "$nlist"T; then
5600 mv -f "$nlist"T "$nlist"
5605 # Make sure that we snagged all the symbols we need.
5606 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5607 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5608 cat <<_LT_EOF > conftest.$ac_ext
5614 # Now generate the symbol file.
5615 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5617 cat <<_LT_EOF >> conftest.$ac_ext
5619 /* The mapping between symbol names and symbols. */
5624 lt__PROGRAM__LTX_preloaded_symbols[] =
5626 { "@PROGRAM@
", (void *) 0 },
5628 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5629 cat <<\_LT_EOF >> conftest.$ac_ext
5633 /* This works around a problem in FreeBSD linker */
5634 #ifdef FREEBSD_WORKAROUND
5635 static const void *lt_preloaded_setup() {
5636 return lt__PROGRAM__LTX_preloaded_symbols;
5644 # Now try linking the two files.
5645 mv conftest.$ac_objext conftstm.$ac_objext
5646 lt_save_LIBS="$LIBS"
5647 lt_save_CFLAGS="$CFLAGS"
5648 LIBS="conftstm.
$ac_objext"
5649 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5651 (eval $ac_link) 2>&5
5653 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5654 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5657 LIBS="$lt_save_LIBS"
5658 CFLAGS="$lt_save_CFLAGS"
5660 echo "cannot
find nm_test_func
in $nlist" >&5
5663 echo "cannot
find nm_test_var
in $nlist" >&5
5666 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5669 echo "$progname: failed program was
:" >&5
5670 cat conftest.$ac_ext >&5
5672 rm -f conftest* conftst*
5674 # Do not use the global_symbol_pipe unless it works.
5675 if test "$pipe_works" = yes; then
5678 lt_cv_sys_global_symbol_pipe=
5684 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5685 lt_cv_sys_global_symbol_to_cdecl=
5687 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5688 echo "$as_me:$LINENO: result
: failed
" >&5
5689 echo "${ECHO_T}failed
" >&6
5691 echo "$as_me:$LINENO: result
: ok
" >&5
5692 echo "${ECHO_T}ok
" >&6
5711 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5712 if test "${enable_libtool_lock+set}" = set; then
5713 enableval="$enable_libtool_lock"
5716 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5718 # Some flags need to be propagated to the compiler or linker for good
5722 # Find out which ABI we are using.
5723 echo 'int i;' > conftest.$ac_ext
5724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5725 (eval $ac_compile) 2>&5
5727 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5728 (exit $ac_status); }; then
5729 case `/usr/bin/file conftest.$ac_objext` in
5741 # Find out which ABI we are using.
5742 echo '#line 5742 "configure
"' > conftest.$ac_ext
5743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5744 (eval $ac_compile) 2>&5
5746 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5747 (exit $ac_status); }; then
5748 if test "$lt_cv_prog_gnu_ld" = yes; then
5749 case `/usr/bin/file conftest.$ac_objext` in
5751 LD="${LD-ld} -melf32bsmip"
5754 LD="${LD-ld} -melf32bmipn32"
5757 LD="${LD-ld} -melf64bmip"
5761 case `/usr/bin/file conftest.$ac_objext` in
5777 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5778 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5779 # Find out which ABI we are using.
5780 echo 'int i;' > conftest.$ac_ext
5781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5782 (eval $ac_compile) 2>&5
5784 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5785 (exit $ac_status); }; then
5786 case `/usr/bin/file conftest.o` in
5789 x86_64-*kfreebsd*-gnu)
5790 LD="${LD-ld} -m elf_i386_fbsd
"
5793 LD="${LD-ld} -m elf_i386
"
5795 ppc64-*linux*|powerpc64-*linux*)
5796 LD="${LD-ld} -m elf32ppclinux
"
5799 LD="${LD-ld} -m elf_s390
"
5802 LD="${LD-ld} -m elf32_sparc
"
5808 x86_64-*kfreebsd*-gnu)
5809 LD="${LD-ld} -m elf_x86_64_fbsd
"
5812 LD="${LD-ld} -m elf_x86_64
"
5814 ppc*-*linux*|powerpc*-*linux*)
5815 LD="${LD-ld} -m elf64ppc
"
5817 s390*-*linux*|s390*-*tpf*)
5818 LD="${LD-ld} -m elf64_s390
"
5821 LD="${LD-ld} -m elf64_sparc
"
5831 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5832 SAVE_CFLAGS="$CFLAGS"
5833 CFLAGS="$CFLAGS -belf"
5834 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5835 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
5836 if test "${lt_cv_cc_needs_belf+set}" = set; then
5837 echo $ECHO_N "(cached
) $ECHO_C" >&6
5840 ac_cpp='$CPP $CPPFLAGS'
5841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5845 cat >conftest.$ac_ext <<_ACEOF
5848 cat confdefs.h >>conftest.$ac_ext
5849 cat >>conftest.$ac_ext <<_ACEOF
5850 /* end confdefs.h. */
5860 rm -f conftest.$ac_objext conftest$ac_exeext
5861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5862 (eval $ac_link) 2>conftest.er1
5864 grep -v '^ *+' conftest.er1 >conftest.err
5866 cat conftest.err >&5
5867 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5868 (exit $ac_status); } &&
5869 { ac_try='test -z "$ac_c_werror_flag"
5870 || test ! -s conftest.err'
5871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5874 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5875 (exit $ac_status); }; } &&
5876 { ac_try='test -s conftest$ac_exeext'
5877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5880 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5881 (exit $ac_status); }; }; then
5882 lt_cv_cc_needs_belf=yes
5884 echo "$as_me: failed program was
:" >&5
5885 sed 's/^/| /' conftest.$ac_ext >&5
5887 lt_cv_cc_needs_belf=no
5889 rm -f conftest.err conftest.$ac_objext \
5890 conftest$ac_exeext conftest.$ac_ext
5892 ac_cpp='$CPP $CPPFLAGS'
5893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5898 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5899 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5900 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5901 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5902 CFLAGS="$SAVE_CFLAGS"
5906 # Find out which ABI we are using.
5907 echo 'int i;' > conftest.$ac_ext
5908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5909 (eval $ac_compile) 2>&5
5911 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5912 (exit $ac_status); }; then
5913 case `/usr/bin/file conftest.o` in
5915 case $lt_cv_prog_gnu_ld in
5916 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5917 *) LD="${LD-ld} -64" ;;
5926 need_locks="$enable_libtool_lock"
5929 ac_cpp='$CPP $CPPFLAGS'
5930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5933 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5934 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
5935 # On Suns, sometimes $CPP names a directory.
5936 if test -n "$CPP" && test -d "$CPP"; then
5939 if test -z "$CPP"; then
5940 if test "${ac_cv_prog_CPP+set}" = set; then
5941 echo $ECHO_N "(cached
) $ECHO_C" >&6
5943 # Double quotes because CPP needs to be expanded
5944 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5947 for ac_c_preproc_warn_flag in '' yes
5949 # Use a header file that comes with gcc, so configuring glibc
5950 # with a fresh cross-compiler works.
5951 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5952 # <limits.h> exists even on freestanding compilers.
5953 # On the NeXT, cc -E runs the code through the compiler's parser,
5954 # not just through cpp. "Syntax error
" is here to catch this case.
5955 cat >conftest.$ac_ext <<_ACEOF
5958 cat confdefs.h >>conftest.$ac_ext
5959 cat >>conftest.$ac_ext <<_ACEOF
5960 /* end confdefs.h. */
5962 # include <limits.h>
5964 # include <assert.h>
5968 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5969 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5971 grep -v '^ *+' conftest.er1 >conftest.err
5973 cat conftest.err >&5
5974 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5975 (exit $ac_status); } >/dev/null; then
5976 if test -s conftest.err; then
5977 ac_cpp_err=$ac_c_preproc_warn_flag
5978 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5985 if test -z "$ac_cpp_err"; then
5988 echo "$as_me: failed program was
:" >&5
5989 sed 's/^/| /' conftest.$ac_ext >&5
5991 # Broken: fails on valid input.
5994 rm -f conftest.err conftest.$ac_ext
5996 # OK, works on sane cases. Now check whether non-existent headers
5997 # can be detected and how.
5998 cat >conftest.$ac_ext <<_ACEOF
6001 cat confdefs.h >>conftest.$ac_ext
6002 cat >>conftest.$ac_ext <<_ACEOF
6003 /* end confdefs.h. */
6004 #include <ac_nonexistent.h>
6006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6007 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6009 grep -v '^ *+' conftest.er1 >conftest.err
6011 cat conftest.err >&5
6012 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6013 (exit $ac_status); } >/dev/null; then
6014 if test -s conftest.err; then
6015 ac_cpp_err=$ac_c_preproc_warn_flag
6016 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6023 if test -z "$ac_cpp_err"; then
6024 # Broken: success on invalid input.
6027 echo "$as_me: failed program was
:" >&5
6028 sed 's/^/| /' conftest.$ac_ext >&5
6030 # Passes both tests.
6034 rm -f conftest.err conftest.$ac_ext
6037 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6038 rm -f conftest.err conftest.$ac_ext
6039 if $ac_preproc_ok; then
6051 echo "$as_me:$LINENO: result
: $CPP" >&5
6052 echo "${ECHO_T}$CPP" >&6
6054 for ac_c_preproc_warn_flag in '' yes
6056 # Use a header file that comes with gcc, so configuring glibc
6057 # with a fresh cross-compiler works.
6058 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6059 # <limits.h> exists even on freestanding compilers.
6060 # On the NeXT, cc -E runs the code through the compiler's parser,
6061 # not just through cpp. "Syntax error
" is here to catch this case.
6062 cat >conftest.$ac_ext <<_ACEOF
6065 cat confdefs.h >>conftest.$ac_ext
6066 cat >>conftest.$ac_ext <<_ACEOF
6067 /* end confdefs.h. */
6069 # include <limits.h>
6071 # include <assert.h>
6075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6076 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6078 grep -v '^ *+' conftest.er1 >conftest.err
6080 cat conftest.err >&5
6081 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6082 (exit $ac_status); } >/dev/null; then
6083 if test -s conftest.err; then
6084 ac_cpp_err=$ac_c_preproc_warn_flag
6085 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6092 if test -z "$ac_cpp_err"; then
6095 echo "$as_me: failed program was
:" >&5
6096 sed 's/^/| /' conftest.$ac_ext >&5
6098 # Broken: fails on valid input.
6101 rm -f conftest.err conftest.$ac_ext
6103 # OK, works on sane cases. Now check whether non-existent headers
6104 # can be detected and how.
6105 cat >conftest.$ac_ext <<_ACEOF
6108 cat confdefs.h >>conftest.$ac_ext
6109 cat >>conftest.$ac_ext <<_ACEOF
6110 /* end confdefs.h. */
6111 #include <ac_nonexistent.h>
6113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6114 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6116 grep -v '^ *+' conftest.er1 >conftest.err
6118 cat conftest.err >&5
6119 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6120 (exit $ac_status); } >/dev/null; then
6121 if test -s conftest.err; then
6122 ac_cpp_err=$ac_c_preproc_warn_flag
6123 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6130 if test -z "$ac_cpp_err"; then
6131 # Broken: success on invalid input.
6134 echo "$as_me: failed program was
:" >&5
6135 sed 's/^/| /' conftest.$ac_ext >&5
6137 # Passes both tests.
6141 rm -f conftest.err conftest.$ac_ext
6144 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6145 rm -f conftest.err conftest.$ac_ext
6146 if $ac_preproc_ok; then
6149 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
6150 See \
`config.log' for more details." >&5
6151 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6152 See \`config.log
' for more details." >&2;}
6153 { (exit 1); exit 1; }; }
6157 ac_cpp='$CPP $CPPFLAGS'
6158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6159 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6163 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6164 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6165 if test "${ac_cv_header_stdc+set}" = set; then
6166 echo $ECHO_N "(cached) $ECHO_C" >&6
6168 cat >conftest.$ac_ext <<_ACEOF
6171 cat confdefs.h >>conftest.$ac_ext
6172 cat >>conftest.$ac_ext <<_ACEOF
6173 /* end confdefs.h. */
6187 rm -f conftest.$ac_objext
6188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6189 (eval $ac_compile) 2>conftest.er1
6191 grep -v '^
*+' conftest.er1 >conftest.err
6193 cat conftest.err >&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); } &&
6196 { ac_try='test -z "$ac_c_werror_flag"
6197 ||
test ! -s conftest.err
'
6198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6202 (exit $ac_status); }; } &&
6203 { ac_try='test -s conftest.
$ac_objext'
6204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208 (exit $ac_status); }; }; then
6209 ac_cv_header_stdc=yes
6211 echo "$as_me: failed program was:" >&5
6212 sed 's
/^
/|
/' conftest.$ac_ext >&5
6214 ac_cv_header_stdc=no
6216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6218 if test $ac_cv_header_stdc = yes; then
6219 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6220 cat >conftest.$ac_ext <<_ACEOF
6223 cat confdefs.h >>conftest.$ac_ext
6224 cat >>conftest.$ac_ext <<_ACEOF
6225 /* end confdefs.h. */
6229 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6230 $EGREP "memchr" >/dev/null 2>&1; then
6233 ac_cv_header_stdc=no
6239 if test $ac_cv_header_stdc = yes; then
6240 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6241 cat >conftest.$ac_ext <<_ACEOF
6244 cat confdefs.h >>conftest.$ac_ext
6245 cat >>conftest.$ac_ext <<_ACEOF
6246 /* end confdefs.h. */
6250 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6251 $EGREP "free" >/dev/null 2>&1; then
6254 ac_cv_header_stdc=no
6260 if test $ac_cv_header_stdc = yes; then
6261 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6262 if test "$cross_compiling" = yes; then
6265 cat >conftest.$ac_ext <<_ACEOF
6268 cat confdefs.h >>conftest.$ac_ext
6269 cat >>conftest.$ac_ext <<_ACEOF
6270 /* end confdefs.h. */
6272 #if ((' ' & 0x0FF) == 0x020)
6273 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
6274 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
6276 # define ISLOWER(c) \
6277 (('a
' <= (c) && (c) <= 'i
') \
6278 || ('j
' <= (c) && (c) <= 'r
') \
6279 || ('s
' <= (c) && (c) <= 'z
'))
6280 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6283 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6288 for (i = 0; i < 256; i++)
6289 if (XOR (islower (i), ISLOWER (i))
6290 || toupper (i) != TOUPPER (i))
6295 rm -f conftest$ac_exeext
6296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6297 (eval $ac_link) 2>&5
6299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6300 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
6301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6305 (exit $ac_status); }; }; then
6308 echo "$as_me: program exited with status $ac_status" >&5
6309 echo "$as_me: failed program was:" >&5
6310 sed 's
/^
/|
/' conftest.$ac_ext >&5
6313 ac_cv_header_stdc=no
6315 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6319 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6320 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6321 if test $ac_cv_header_stdc = yes; then
6323 cat >>confdefs.h <<\_ACEOF
6324 #define STDC_HEADERS 1
6329 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6339 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6340 inttypes.h stdint.h unistd.h
6342 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6343 echo "$as_me:$LINENO: checking for $ac_header" >&5
6344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6346 echo $ECHO_N "(cached) $ECHO_C" >&6
6348 cat >conftest.$ac_ext <<_ACEOF
6351 cat confdefs.h >>conftest.$ac_ext
6352 cat >>conftest.$ac_ext <<_ACEOF
6353 /* end confdefs.h. */
6354 $ac_includes_default
6356 #include <$ac_header>
6358 rm -f conftest.$ac_objext
6359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6360 (eval $ac_compile) 2>conftest.er1
6362 grep -v '^
*+' conftest.er1 >conftest.err
6364 cat conftest.err >&5
6365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6366 (exit $ac_status); } &&
6367 { ac_try='test -z "$ac_c_werror_flag"
6368 ||
test ! -s conftest.err
'
6369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6373 (exit $ac_status); }; } &&
6374 { ac_try='test -s conftest.
$ac_objext'
6375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6379 (exit $ac_status); }; }; then
6380 eval "$as_ac_Header=yes"
6382 echo "$as_me: failed program was:" >&5
6383 sed 's
/^
/|
/' conftest.$ac_ext >&5
6385 eval "$as_ac_Header=no"
6387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6391 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6392 cat >>confdefs.h <<_ACEOF
6393 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6402 for ac_header in dlfcn.h
6404 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6405 echo "$as_me:$LINENO: checking for $ac_header" >&5
6406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6408 echo $ECHO_N "(cached) $ECHO_C" >&6
6410 cat >conftest.$ac_ext <<_ACEOF
6413 cat confdefs.h >>conftest.$ac_ext
6414 cat >>conftest.$ac_ext <<_ACEOF
6415 /* end confdefs.h. */
6416 $ac_includes_default
6418 #include <$ac_header>
6420 rm -f conftest.$ac_objext
6421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6422 (eval $ac_compile) 2>conftest.er1
6424 grep -v '^
*+' conftest.er1 >conftest.err
6426 cat conftest.err >&5
6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 (exit $ac_status); } &&
6429 { ac_try='test -z "$ac_c_werror_flag"
6430 ||
test ! -s conftest.err
'
6431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 (exit $ac_status); }; } &&
6436 { ac_try='test -s conftest.
$ac_objext'
6437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441 (exit $ac_status); }; }; then
6442 eval "$as_ac_Header=yes"
6444 echo "$as_me: failed program was:" >&5
6445 sed 's
/^
/|
/' conftest.$ac_ext >&5
6447 eval "$as_ac_Header=no"
6449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6454 cat >>confdefs.h <<_ACEOF
6455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6464 # This can be used to rebuild libtool when needed
6465 LIBTOOL_DEPS="$ltmain"
6467 # Always use our own libtool.
6468 LIBTOOL='$
(SHELL
) $
(top_builddir
)/libtool
'
6494 test -z "$LN_S" && LN_S="ln -s"
6509 if test -n "${ZSH_VERSION+set}" ; then
6510 setopt NO_GLOB_SUBST
6513 echo "$as_me:$LINENO: checking for objdir" >&5
6514 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6515 if test "${lt_cv_objdir+set}" = set; then
6516 echo $ECHO_N "(cached) $ECHO_C" >&6
6518 rm -f .libs 2>/dev/null
6519 mkdir .libs 2>/dev/null
6520 if test -d .libs; then
6523 # MS-DOS does not allow filenames that begin with a dot.
6526 rmdir .libs 2>/dev/null
6528 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6529 echo "${ECHO_T}$lt_cv_objdir" >&6
6530 objdir=$lt_cv_objdir
6536 cat >>confdefs.h <<_ACEOF
6537 #define LT_OBJDIR "$lt_cv_objdir/"
6558 # AIX sometimes has problems with the GCC collect2 program. For some
6559 # reason, if we set the COLLECT_NAMES environment variable, the problems
6560 # vanish in a puff of smoke.
6561 if test "X${COLLECT_NAMES+set}" != Xset; then
6563 export COLLECT_NAMES
6568 # Sed substitution that helps us do robust quoting. It backslashifies
6569 # metacharacters that are still active within double-quoted strings.
6570 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
6572 # Same as above, but do not quote variable references.
6573 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6575 # Sed substitution to delay expansion of an escaped shell variable in a
6576 # double_quote_subst'ed string.
6577 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6579 # Sed substitution to delay expansion of an escaped single quote.
6580 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6582 # Sed substitution to avoid accidental globbing in evaled expressions
6583 no_glob_subst='s/\*/\\\*/g'
6587 can_build_shared=yes
6589 # All known linkers require a `.a
' archive for static linking (except MSVC,
6590 # which needs '.lib
').
6593 with_gnu_ld="$lt_cv_prog_gnu_ld"
6596 old_CFLAGS="$CFLAGS"
6598 # Set sane defaults for various variables
6599 test -z "$CC" && CC=cc
6600 test -z "$LTCC" && LTCC=$CC
6601 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6602 test -z "$LD" && LD=ld
6603 test -z "$ac_objext" && ac_objext=o
6605 for cc_temp in $compiler""; do
6607 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6608 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6613 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
6616 # Only perform the check for file, if the check method requires it
6617 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6618 case $deplibs_check_method in
6620 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6621 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6622 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6623 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6624 echo $ECHO_N "(cached) $ECHO_C" >&6
6628 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6631 lt_save_MAGIC_CMD="$MAGIC_CMD"
6632 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6633 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6634 for ac_dir in $ac_dummy; do
6636 test -z "$ac_dir" && ac_dir=.
6637 if test -f $ac_dir/${ac_tool_prefix}file; then
6638 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6639 if test -n "$file_magic_test_file"; then
6640 case $deplibs_check_method in
6642 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6643 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6644 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6645 $EGREP "$file_magic_regex" > /dev/null; then
6650 *** Warning: the command libtool uses to detect shared libraries,
6651 *** $file_magic_cmd, produces output that libtool cannot recognize.
6652 *** The result is that libtool may fail to recognize shared libraries
6653 *** as such. This will affect the creation of libtool libraries that
6654 *** depend on shared libraries, but programs linked with such libtool
6655 *** libraries will work regardless of this problem. Nevertheless, you
6656 *** may want to report the problem to your system manager and/or to
6657 *** bug-libtool@gnu.org
6667 MAGIC_CMD="$lt_save_MAGIC_CMD"
6672 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6673 if test -n "$MAGIC_CMD"; then
6674 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6675 echo "${ECHO_T}$MAGIC_CMD" >&6
6677 echo "$as_me:$LINENO: result: no" >&5
6678 echo "${ECHO_T}no" >&6
6685 if test -z "$lt_cv_path_MAGIC_CMD"; then
6686 if test -n "$ac_tool_prefix"; then
6687 echo "$as_me:$LINENO: checking for file" >&5
6688 echo $ECHO_N "checking for file... $ECHO_C" >&6
6689 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6690 echo $ECHO_N "(cached) $ECHO_C" >&6
6694 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6697 lt_save_MAGIC_CMD="$MAGIC_CMD"
6698 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6699 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6700 for ac_dir in $ac_dummy; do
6702 test -z "$ac_dir" && ac_dir=.
6703 if test -f $ac_dir/file; then
6704 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6705 if test -n "$file_magic_test_file"; then
6706 case $deplibs_check_method in
6708 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6709 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6710 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6711 $EGREP "$file_magic_regex" > /dev/null; then
6716 *** Warning: the command libtool uses to detect shared libraries,
6717 *** $file_magic_cmd, produces output that libtool cannot recognize.
6718 *** The result is that libtool may fail to recognize shared libraries
6719 *** as such. This will affect the creation of libtool libraries that
6720 *** depend on shared libraries, but programs linked with such libtool
6721 *** libraries will work regardless of this problem. Nevertheless, you
6722 *** may want to report the problem to your system manager and/or to
6723 *** bug-libtool@gnu.org
6733 MAGIC_CMD="$lt_save_MAGIC_CMD"
6738 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6739 if test -n "$MAGIC_CMD"; then
6740 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6741 echo "${ECHO_T}$MAGIC_CMD" >&6
6743 echo "$as_me:$LINENO: result: no" >&5
6744 echo "${ECHO_T}no" >&6
6757 # Use C for the default configuration in the libtool script
6761 ac_cpp='$CPP $CPPFLAGS'
6762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6763 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6767 # Source file extension for C test sources.
6770 # Object file extension for compiled C test sources.
6774 # Code to be used in simple compile tests
6775 lt_simple_compile_test_code="int some_variable = 0;"
6777 # Code to be used in simple link tests
6778 lt_simple_link_test_code='int main
(){return(0);}'
6786 # If no C compiler was specified, use CC.
6789 # If no C compiler flags were specified, use CFLAGS.
6790 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6792 # Allow CC to be a program name with arguments.
6795 # Save the default compiler, since it gets overwritten when the other
6796 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6797 compiler_DEFAULT=$CC
6799 # save warnings/boilerplate of simple test code
6800 ac_outfile=conftest.$ac_objext
6801 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6802 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6803 _lt_compiler_boilerplate=`cat conftest.err`
6806 ac_outfile=conftest.$ac_objext
6807 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6808 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6809 _lt_linker_boilerplate=`cat conftest.err`
6814 ## There is no encapsulation within the following macros, do not change
6815 ## the running order or otherwise move them around unless you know exactly
6816 ## what you are doing...
6817 if test -n "$compiler"; then
6819 lt_prog_compiler_no_builtin_flag=
6821 if test "$GCC" = yes; then
6822 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6824 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6825 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6826 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6827 echo $ECHO_N "(cached) $ECHO_C" >&6
6829 lt_cv_prog_compiler_rtti_exceptions=no
6830 ac_outfile=conftest.$ac_objext
6831 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6832 lt_compiler_flag="-fno-rtti -fno-exceptions"
6833 # Insert the option either (1) after the last *FLAGS variable, or
6834 # (2) before a word containing "conftest.", or (3) at the end.
6835 # Note that $ac_compile itself does not contain backslashes and begins
6836 # with a dollar sign (not a hyphen), so the echo should work correctly.
6837 # The option is referenced via a variable to avoid confusing sed.
6838 lt_compile=`echo "$ac_compile" | $SED \
6839 -e 's
:.
*FLAGS
}\
{0,1\
} :&$lt_compiler_flag :; t
' \
6840 -e 's
: [^
]*conftest\.
: $lt_compiler_flag&:; t
' \
6841 -e 's
:$
: $lt_compiler_flag:'`
6842 (eval echo "\"\$as_me:6842: $lt_compile\"" >&5)
6843 (eval "$lt_compile" 2>conftest.err)
6845 cat conftest.err >&5
6846 echo "$as_me:6846: \$? = $ac_status" >&5
6847 if (exit $ac_status) && test -s "$ac_outfile"; then
6848 # The compiler can only warn and ignore the option if not recognized
6849 # So say no if there are warnings other than the usual output.
6850 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$
/d
' >conftest.exp
6851 $SED '/^$
/d
; /^
*+/d
' conftest.err >conftest.er2
6852 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6853 lt_cv_prog_compiler_rtti_exceptions=yes
6859 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6860 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6862 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6863 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6875 lt_prog_compiler_wl=
6876 lt_prog_compiler_pic=
6877 lt_prog_compiler_static=
6879 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6880 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6882 if test "$GCC" = yes; then
6883 lt_prog_compiler_wl='-Wl,'
6884 lt_prog_compiler_static='-static'
6888 # All AIX code is PIC.
6889 if test "$host_cpu" = ia64; then
6890 # AIX 5 now supports IA64 processor
6891 lt_prog_compiler_static='-Bstatic'
6896 if test "$host_cpu" = m68k; then
6897 # FIXME: we need at least 68020 code to build shared libraries, but
6898 # adding the `-m68020' flag to GCC prevents building anything better
,
6900 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6904 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6905 # PIC is the default for these OSes.
6908 mingw
* | cygwin
* | pw32
* | os2
*)
6909 # This hack is so that the source file can tell whether it is being
6910 # built for inclusion in a dll (and should export symbols for example).
6911 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6912 # (--disable-auto-import) libraries
6913 lt_prog_compiler_pic
='-DDLL_EXPORT'
6916 darwin
* | rhapsody
*)
6917 # PIC is the default on this platform
6918 # Common symbols not allowed in MH_DYLIB files
6919 lt_prog_compiler_pic
='-fno-common'
6923 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6930 lt_prog_compiler_pic
='-fPIC'
6936 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6937 # Instead, we relocate shared libraries at runtime.
6941 # Just because we use GCC doesn't mean we suddenly get shared libraries
6942 # on systems that don't support them.
6943 lt_prog_compiler_can_build_shared
=no
6948 # QNX uses GNU C++, but need to define -shared option too, otherwise
6950 lt_prog_compiler_pic
='-fPIC -shared'
6954 if test -d /usr
/nec
; then
6955 lt_prog_compiler_pic
=-Kconform_pic
6960 lt_prog_compiler_pic
='-fPIC'
6964 # PORTME Check for flag to pass linker flags through the system compiler.
6967 lt_prog_compiler_wl
='-Wl,'
6968 if test "$host_cpu" = ia64
; then
6969 # AIX 5 now supports IA64 processor
6970 lt_prog_compiler_static
='-Bstatic'
6972 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6976 # PIC is the default on this platform
6977 # Common symbols not allowed in MH_DYLIB files
6978 case $cc_basename in
6980 lt_prog_compiler_pic
='-qnocommon'
6981 lt_prog_compiler_wl
='-Wl,'
6986 mingw
* | cygwin
* | pw32
* | os2
*)
6987 # This hack is so that the source file can tell whether it is being
6988 # built for inclusion in a dll (and should export symbols for example).
6989 lt_prog_compiler_pic
='-DDLL_EXPORT'
6992 hpux9
* | hpux10
* | hpux11
*)
6993 lt_prog_compiler_wl
='-Wl,'
6994 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7001 lt_prog_compiler_pic
='+Z'
7004 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7005 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7008 irix5
* | irix6
* | nonstopux
*)
7009 lt_prog_compiler_wl
='-Wl,'
7010 # PIC (with -KPIC) is the default.
7011 lt_prog_compiler_static
='-non_shared'
7014 linux
* | k
*bsd
*-gnu)
7015 case $cc_basename in
7017 lt_prog_compiler_wl
='-Wl,'
7018 lt_prog_compiler_pic
='-KPIC'
7019 lt_prog_compiler_static
='-static'
7021 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7022 # Portland Group compilers (*not* the Pentium gcc compiler,
7023 # which looks to be a dead project)
7024 lt_prog_compiler_wl
='-Wl,'
7025 lt_prog_compiler_pic
='-fpic'
7026 lt_prog_compiler_static
='-Bstatic'
7029 lt_prog_compiler_wl
='-Wl,'
7030 # All Alpha code is PIC.
7031 lt_prog_compiler_static
='-non_shared'
7034 case `$CC -V 2>&1 | sed 5q` in
7037 lt_prog_compiler_pic
='-KPIC'
7038 lt_prog_compiler_static
='-Bstatic'
7039 lt_prog_compiler_wl
='-Wl,'
7042 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7043 lt_prog_compiler_pic
='-KPIC'
7044 lt_prog_compiler_static
='-Bstatic'
7045 lt_prog_compiler_wl
=''
7053 lt_prog_compiler_pic
='-KPIC'
7054 lt_prog_compiler_static
='-Bstatic'
7058 # QNX uses GNU C++, but need to define -shared option too, otherwise
7060 lt_prog_compiler_pic
='-fPIC -shared'
7063 osf3
* | osf4
* | osf5
*)
7064 lt_prog_compiler_wl
='-Wl,'
7065 # All OSF/1 code is PIC.
7066 lt_prog_compiler_static
='-non_shared'
7070 lt_prog_compiler_static
='-non_shared'
7074 lt_prog_compiler_pic
='-KPIC'
7075 lt_prog_compiler_static
='-Bstatic'
7076 case $cc_basename in
7078 lt_prog_compiler_wl
='-Qoption ld ';;
7080 lt_prog_compiler_wl
='-Wl,';;
7085 lt_prog_compiler_wl
='-Qoption ld '
7086 lt_prog_compiler_pic
='-PIC'
7087 lt_prog_compiler_static
='-Bstatic'
7090 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7091 lt_prog_compiler_wl
='-Wl,'
7092 lt_prog_compiler_pic
='-KPIC'
7093 lt_prog_compiler_static
='-Bstatic'
7097 if test -d /usr
/nec
;then
7098 lt_prog_compiler_pic
='-Kconform_pic'
7099 lt_prog_compiler_static
='-Bstatic'
7103 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7104 lt_prog_compiler_wl
='-Wl,'
7105 lt_prog_compiler_pic
='-KPIC'
7106 lt_prog_compiler_static
='-Bstatic'
7110 lt_prog_compiler_wl
='-Wl,'
7111 lt_prog_compiler_can_build_shared
=no
7115 lt_prog_compiler_pic
='-pic'
7116 lt_prog_compiler_static
='-Bstatic'
7120 lt_prog_compiler_can_build_shared
=no
7126 # For platforms which do not support PIC, -DPIC is meaningless:
7128 lt_prog_compiler_pic
=
7131 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7134 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7135 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7143 # Check to make sure the PIC flag actually works.
7145 if test -n "$lt_prog_compiler_pic"; then
7146 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7147 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7148 if test "${lt_prog_compiler_pic_works+set}" = set; then
7149 echo $ECHO_N "(cached) $ECHO_C" >&6
7151 lt_prog_compiler_pic_works
=no
7152 ac_outfile
=conftest.
$ac_objext
7153 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7154 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7155 # Insert the option either (1) after the last *FLAGS variable, or
7156 # (2) before a word containing "conftest.", or (3) at the end.
7157 # Note that $ac_compile itself does not contain backslashes and begins
7158 # with a dollar sign (not a hyphen), so the echo should work correctly.
7159 # The option is referenced via a variable to avoid confusing sed.
7160 lt_compile
=`echo "$ac_compile" | $SED \
7161 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7162 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7163 -e 's:$: $lt_compiler_flag:'`
7164 (eval echo "\"\$as_me:7164: $lt_compile\"" >&5)
7165 (eval "$lt_compile" 2>conftest.err
)
7167 cat conftest.err
>&5
7168 echo "$as_me:7168: \$? = $ac_status" >&5
7169 if (exit $ac_status) && test -s "$ac_outfile"; then
7170 # The compiler can only warn and ignore the option if not recognized
7171 # So say no if there are warnings other than the usual output.
7172 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7173 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7174 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7175 lt_prog_compiler_pic_works
=yes
7181 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7182 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7184 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7185 case $lt_prog_compiler_pic in
7187 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7190 lt_prog_compiler_pic
=
7191 lt_prog_compiler_can_build_shared
=no
7202 # Check to make sure the static flag actually works.
7204 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7205 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7206 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7207 if test "${lt_prog_compiler_static_works+set}" = set; then
7208 echo $ECHO_N "(cached) $ECHO_C" >&6
7210 lt_prog_compiler_static_works
=no
7211 save_LDFLAGS
="$LDFLAGS"
7212 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7213 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7214 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7215 # The linker can only warn and ignore the option if not recognized
7216 # So say no if there are warnings
7217 if test -s conftest.err
; then
7218 # Append any errors to the config.log.
7219 cat conftest.err
1>&5
7220 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7221 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7222 if diff conftest.exp conftest.er2
>/dev
/null
; then
7223 lt_prog_compiler_static_works
=yes
7226 lt_prog_compiler_static_works
=yes
7230 LDFLAGS
="$save_LDFLAGS"
7233 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7234 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7236 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7239 lt_prog_compiler_static
=
7248 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7249 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7250 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7251 echo $ECHO_N "(cached) $ECHO_C" >&6
7253 lt_cv_prog_compiler_c_o
=no
7254 $RM -r conftest
2>/dev
/null
7258 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7260 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7261 # Insert the option either (1) after the last *FLAGS variable, or
7262 # (2) before a word containing "conftest.", or (3) at the end.
7263 # Note that $ac_compile itself does not contain backslashes and begins
7264 # with a dollar sign (not a hyphen), so the echo should work correctly.
7265 lt_compile
=`echo "$ac_compile" | $SED \
7266 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7267 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7268 -e 's:$: $lt_compiler_flag:'`
7269 (eval echo "\"\$as_me:7269: $lt_compile\"" >&5)
7270 (eval "$lt_compile" 2>out
/conftest.err
)
7272 cat out
/conftest.err
>&5
7273 echo "$as_me:7273: \$? = $ac_status" >&5
7274 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7276 # The compiler can only warn and ignore the option if not recognized
7277 # So say no if there are warnings
7278 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7279 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7280 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7281 lt_cv_prog_compiler_c_o
=yes
7286 # SGI C++ compiler will create directory out/ii_files/ for
7287 # template instantiation
7288 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7289 $RM out
/* && rmdir out
7295 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7296 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7303 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7304 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7305 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7306 echo $ECHO_N "(cached) $ECHO_C" >&6
7308 lt_cv_prog_compiler_c_o
=no
7309 $RM -r conftest
2>/dev
/null
7313 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7315 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7316 # Insert the option either (1) after the last *FLAGS variable, or
7317 # (2) before a word containing "conftest.", or (3) at the end.
7318 # Note that $ac_compile itself does not contain backslashes and begins
7319 # with a dollar sign (not a hyphen), so the echo should work correctly.
7320 lt_compile
=`echo "$ac_compile" | $SED \
7321 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7322 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7323 -e 's:$: $lt_compiler_flag:'`
7324 (eval echo "\"\$as_me:7324: $lt_compile\"" >&5)
7325 (eval "$lt_compile" 2>out
/conftest.err
)
7327 cat out
/conftest.err
>&5
7328 echo "$as_me:7328: \$? = $ac_status" >&5
7329 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7331 # The compiler can only warn and ignore the option if not recognized
7332 # So say no if there are warnings
7333 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7334 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7335 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7336 lt_cv_prog_compiler_c_o
=yes
7341 # SGI C++ compiler will create directory out/ii_files/ for
7342 # template instantiation
7343 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7344 $RM out
/* && rmdir out
7350 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7351 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7356 hard_links
="nottested"
7357 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7358 # do not overwrite the value of need_locks provided by the user
7359 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7360 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7363 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7365 ln conftest.a conftest.b
2>&5 || hard_links
=no
7366 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7367 echo "$as_me:$LINENO: result: $hard_links" >&5
7368 echo "${ECHO_T}$hard_links" >&6
7369 if test "$hard_links" = no
; then
7370 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7371 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7383 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7384 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7387 allow_undefined_flag
=
7388 always_export_symbols
=no
7390 archive_expsym_cmds
=
7391 compiler_needs_object
=no
7392 enable_shared_with_static_runtimes
=no
7393 export_dynamic_flag_spec
=
7394 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7395 hardcode_automatic
=no
7397 hardcode_direct_absolute
=no
7398 hardcode_libdir_flag_spec
=
7399 hardcode_libdir_flag_spec_ld
=
7400 hardcode_libdir_separator
=
7402 hardcode_shlibpath_var
=unsupported
7404 link_all_deplibs
=unknown
7407 old_archive_from_new_cmds
=
7408 old_archive_from_expsyms_cmds
=
7409 thread_safe_flag_spec
=
7410 whole_archive_flag_spec
=
7411 # include_expsyms should be a list of space-separated symbols to be *always*
7412 # included in the symbol list
7414 # exclude_expsyms can be an extended regexp of symbols to exclude
7415 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7416 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7417 # as well as any symbol that contains `d'.
7418 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7419 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7420 # platforms (ab)use it in PIC code, but their linkers get confused if
7421 # the symbol is explicitly referenced. Since portable code cannot
7422 # rely on this symbol name, it's probably fine to never include it in
7423 # preloaded symbol tables.
7424 extract_expsyms_cmds
=
7427 cygwin
* | mingw
* | pw32
*)
7428 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7429 # When not using gcc, we currently assume that we are using
7430 # Microsoft Visual C++.
7431 if test "$GCC" != yes; then
7436 # we just hope/assume this is gcc and not c89 (= MSVC++)
7445 if test "$with_gnu_ld" = yes; then
7446 # If archive_cmds runs LD, not CC, wlarc should be empty
7449 # Set some defaults for GNU ld with shared library support. These
7450 # are reset later if shared libraries are not supported. Putting them
7451 # here allows them to be overridden if necessary.
7452 runpath_var
=LD_RUN_PATH
7453 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7454 export_dynamic_flag_spec
='${wl}--export-dynamic'
7455 # ancient GNU ld didn't support --whole-archive et. al.
7456 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7457 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7459 whole_archive_flag_spec
=
7461 supports_anon_versioning
=no
7462 case `$LD -v 2>&1` in
7463 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7464 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7465 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7466 *\
2.11.
*) ;; # other 2.11 versions
7467 *) supports_anon_versioning
=yes ;;
7470 # See if GNU ld supports shared libraries.
7473 # On AIX/PPC, the GNU linker is very broken
7474 if test "$host_cpu" != ia64
; then
7478 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7479 *** to be unable to reliably create shared libraries on AIX.
7480 *** Therefore, libtool is disabling shared libraries support. If you
7481 *** really care for shared libraries, you may want to modify your PATH
7482 *** so that a non-GNU linker is found, and then restart.
7489 if test "$host_cpu" = m68k
; then
7490 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)'
7491 hardcode_libdir_flag_spec
='-L$libdir'
7492 hardcode_minus_L
=yes
7495 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7496 # that the semantics of dynamic libraries on AmigaOS, at least up
7497 # to version 4, is to share data among multiple programs linked
7498 # with the same dynamic library. Since this doesn't match the
7499 # behavior of shared libraries on other platforms, we can't use
7505 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7506 allow_undefined_flag
=unsupported
7507 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7508 # support --undefined. This deserves some investigation. FIXME
7509 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7515 cygwin
* | mingw
* | pw32
*)
7516 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7517 # as there is no search path for DLLs.
7518 hardcode_libdir_flag_spec
='-L$libdir'
7519 allow_undefined_flag
=unsupported
7520 always_export_symbols
=no
7521 enable_shared_with_static_runtimes
=yes
7522 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7524 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7525 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7526 # If the export-symbols file already is a .def file (1st line
7527 # is EXPORTS), use it as is; otherwise, prepend...
7528 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7529 cp $export_symbols $output_objdir/$soname.def;
7531 echo EXPORTS > $output_objdir/$soname.def;
7532 cat $export_symbols >> $output_objdir/$soname.def;
7534 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7542 hardcode_shlibpath_var
=no
7543 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7544 export_dynamic_flag_spec
='${wl}-E'
7545 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7546 # Instead, shared libraries are loaded at an image base (0x10000000 by
7547 # default) and relocated if they conflict, which is a slow very memory
7548 # consuming and fragmenting process. To avoid this, we pick a random,
7549 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7550 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7551 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7552 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'
7555 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7557 if test "$host_os" = linux-dietlibc
; then
7558 case $cc_basename in
7559 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7562 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7563 && test "$tmp_diet" = no
7566 case $cc_basename,$host_cpu in
7567 pgcc
*) # Portland Group C compiler
7568 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'
7569 tmp_addflag
=' $pic_flag'
7571 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7572 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'
7573 tmp_addflag
=' $pic_flag -Mnomain' ;;
7574 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7575 tmp_addflag
=' -i_dynamic' ;;
7576 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7577 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7578 ifc
* | ifort
*) # Intel Fortran compiler
7579 tmp_addflag
=' -nofor_main' ;;
7581 case `$CC -V 2>&1 | sed 5q` in
7582 *Sun\ C
*) # Sun C 5.9
7583 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'
7584 compiler_needs_object
=yes
7585 tmp_sharedflag
='-G' ;;
7586 *Sun\ F
*) # Sun Fortran 8.3
7587 tmp_sharedflag
='-G' ;;
7589 tmp_sharedflag
='-shared' ;;
7591 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7593 if test "x$supports_anon_versioning" = xyes
; then
7594 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7595 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7596 echo "local: *; };" >> $output_objdir/$libname.ver~
7597 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7605 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7606 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7609 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7610 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7615 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7619 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7620 *** create shared libraries on Solaris systems. Therefore, libtool
7621 *** is disabling shared libraries support. We urge you to upgrade GNU
7622 *** binutils to release 2.9.1 or newer. Another option is to modify
7623 *** your PATH or compiler configuration so that the native linker is
7624 *** used, and then restart.
7627 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7628 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7629 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7635 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7636 case `$LD -v 2>&1` in
7637 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7641 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7642 *** reliably create shared libraries on SCO systems. Therefore, libtool
7643 *** is disabling shared libraries support. We urge you to upgrade GNU
7644 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7645 *** your PATH or compiler configuration so that the native linker is
7646 *** used, and then restart.
7651 # For security reasons, it is highly recommended that you always
7652 # use absolute paths for naming shared libraries, and exclude the
7653 # DT_RUNPATH tag from executables and libraries. But doing so
7654 # requires that you compile everything twice, which is a pain.
7655 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7656 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7657 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7658 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7667 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7670 hardcode_shlibpath_var
=no
7674 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7675 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7676 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7683 if test "$ld_shlibs" = no
; then
7685 hardcode_libdir_flag_spec
=
7686 export_dynamic_flag_spec
=
7687 whole_archive_flag_spec
=
7690 # PORTME fill in a description of your system's linker (not GNU ld)
7693 allow_undefined_flag
=unsupported
7694 always_export_symbols
=yes
7695 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'
7696 # Note: this linker hardcodes the directories in LIBPATH if there
7697 # are no directories specified by -L.
7698 hardcode_minus_L
=yes
7699 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7700 # Neither direct hardcoding nor static linking is supported with a
7702 hardcode_direct
=unsupported
7707 if test "$host_cpu" = ia64
; then
7708 # On IA64, the linker does run time linking by default, so we don't
7709 # have to do anything special.
7710 aix_use_runtimelinking
=no
7711 exp_sym_flag
='-Bexport'
7714 # If we're using GNU nm, then we don't want the "-C" option.
7715 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7716 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7717 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'
7719 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'
7721 aix_use_runtimelinking
=no
7723 # Test if we are trying to use run time linking or normal
7724 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7725 # need to do runtime linking.
7726 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7727 for ld_flag
in $LDFLAGS; do
7728 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7729 aix_use_runtimelinking
=yes
7736 exp_sym_flag
='-bexport'
7737 no_entry_flag
='-bnoentry'
7740 # When large executables or shared objects are built, AIX ld can
7741 # have problems creating the table of contents. If linking a library
7742 # or program results in "error TOC overflow" add -mminimal-toc to
7743 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7744 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7748 hardcode_direct_absolute
=yes
7749 hardcode_libdir_separator
=':'
7750 link_all_deplibs
=yes
7751 file_list_spec
='${wl}-f,'
7753 if test "$GCC" = yes; then
7754 case $host_os in aix4.
[012]|aix4.
[012].
*)
7755 # We only want to do this on AIX 4.2 and lower, the check
7756 # below for broken collect2 doesn't work under 4.3+
7757 collect2name
=`${CC} -print-prog-name=collect2`
7758 if test -f "$collect2name" &&
7759 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7761 # We have reworked collect2
7764 # We have old collect2
7765 hardcode_direct
=unsupported
7766 # It fails to find uninstalled libraries when the uninstalled
7767 # path is not listed in the libpath. Setting hardcode_minus_L
7768 # to unsupported forces relinking
7769 hardcode_minus_L
=yes
7770 hardcode_libdir_flag_spec
='-L$libdir'
7771 hardcode_libdir_separator
=
7775 shared_flag
='-shared'
7776 if test "$aix_use_runtimelinking" = yes; then
7777 shared_flag
="$shared_flag "'${wl}-G'
7781 if test "$host_cpu" = ia64
; then
7782 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7783 # chokes on -Wl,-G. The following line is correct:
7786 if test "$aix_use_runtimelinking" = yes; then
7787 shared_flag
='${wl}-G'
7789 shared_flag
='${wl}-bM:SRE'
7794 # It seems that -bexpall does not export symbols beginning with
7795 # underscore (_), so it is better to generate a list of symbols to export.
7796 always_export_symbols
=yes
7797 if test "$aix_use_runtimelinking" = yes; then
7798 # Warning - without using the other runtime loading flags (-brtl),
7799 # -berok will link without error, but may produce a broken library.
7800 allow_undefined_flag
='-berok'
7801 # Determine the default libpath from the value encoded in an
7803 cat >conftest.
$ac_ext <<_ACEOF
7806 cat confdefs.h
>>conftest.
$ac_ext
7807 cat >>conftest.
$ac_ext <<_ACEOF
7808 /* end confdefs.h. */
7818 rm -f conftest.
$ac_objext conftest
$ac_exeext
7819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7820 (eval $ac_link) 2>conftest.er1
7822 grep -v '^ *+' conftest.er1
>conftest.err
7824 cat conftest.err
>&5
7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); } &&
7827 { ac_try
='test -z "$ac_c_werror_flag"
7828 || test ! -s conftest.err'
7829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7833 (exit $ac_status); }; } &&
7834 { ac_try
='test -s conftest$ac_exeext'
7835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7839 (exit $ac_status); }; }; then
7841 lt_aix_libpath_sed
='
7842 /Import File Strings/,/^$/ {
7848 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7849 # Check for a 64-bit object if we didn't find anything.
7850 if test -z "$aix_libpath"; then
7851 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7854 echo "$as_me: failed program was:" >&5
7855 sed 's/^/| /' conftest.
$ac_ext >&5
7858 rm -f conftest.err conftest.
$ac_objext \
7859 conftest
$ac_exeext conftest.
$ac_ext
7860 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7862 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7863 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"
7865 if test "$host_cpu" = ia64
; then
7866 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7867 allow_undefined_flag
="-z nodefs"
7868 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"
7870 # Determine the default libpath from the value encoded in an
7872 cat >conftest.
$ac_ext <<_ACEOF
7875 cat confdefs.h
>>conftest.
$ac_ext
7876 cat >>conftest.
$ac_ext <<_ACEOF
7877 /* end confdefs.h. */
7887 rm -f conftest.
$ac_objext conftest
$ac_exeext
7888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7889 (eval $ac_link) 2>conftest.er1
7891 grep -v '^ *+' conftest.er1
>conftest.err
7893 cat conftest.err
>&5
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); } &&
7896 { ac_try
='test -z "$ac_c_werror_flag"
7897 || test ! -s conftest.err'
7898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7902 (exit $ac_status); }; } &&
7903 { ac_try
='test -s conftest$ac_exeext'
7904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7908 (exit $ac_status); }; }; then
7910 lt_aix_libpath_sed
='
7911 /Import File Strings/,/^$/ {
7917 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7918 # Check for a 64-bit object if we didn't find anything.
7919 if test -z "$aix_libpath"; then
7920 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7923 echo "$as_me: failed program was:" >&5
7924 sed 's/^/| /' conftest.
$ac_ext >&5
7927 rm -f conftest.err conftest.
$ac_objext \
7928 conftest
$ac_exeext conftest.
$ac_ext
7929 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7931 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7932 # Warning - without using the other run time loading flags,
7933 # -berok will link without error, but may produce a broken library.
7934 no_undefined_flag
=' ${wl}-bernotok'
7935 allow_undefined_flag
=' ${wl}-berok'
7936 # Exported symbols can be pulled into shared objects from archives
7937 whole_archive_flag_spec
='$convenience'
7938 archive_cmds_need_lc
=yes
7939 # This is similar to how AIX traditionally builds its shared libraries.
7940 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'
7946 if test "$host_cpu" = m68k
; then
7947 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)'
7948 hardcode_libdir_flag_spec
='-L$libdir'
7949 hardcode_minus_L
=yes
7951 # see comment about different semantics on the GNU ld section
7956 export_dynamic_flag_spec
=-rdynamic
7959 cygwin
* | mingw
* | pw32
*)
7960 # When not using gcc, we currently assume that we are using
7961 # Microsoft Visual C++.
7962 # hardcode_libdir_flag_spec is actually meaningless, as there is
7963 # no search path for DLLs.
7964 hardcode_libdir_flag_spec
=' '
7965 allow_undefined_flag
=unsupported
7966 # Tell ltmain to make .lib files, not .a files.
7968 # Tell ltmain to make .dll files, not .so files.
7970 # FIXME: Setting linknames here is a bad hack.
7971 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7972 # The linker will automatically build a .lib file if we build a DLL.
7973 old_archive_from_new_cmds
='true'
7974 # FIXME: Should let the user specify the lib program.
7975 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7976 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7977 enable_shared_with_static_runtimes
=yes
7980 darwin
* | rhapsody
*)
7982 rhapsody
* | darwin1.
[012])
7983 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7986 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7988 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7991 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7996 archive_cmds_need_lc
=no
7998 hardcode_automatic
=yes
7999 hardcode_shlibpath_var
=unsupported
8000 whole_archive_flag_spec
=''
8001 link_all_deplibs
=yes
8002 if test "$GCC" = yes ; then
8003 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8004 echo $ECHO_N "(cached) $ECHO_C" >&6
8006 lt_cv_apple_cc_single_mod
=no
8007 if test -z "${LT_MULTI_MODULE}"; then
8008 # By default we will add the -single_module flag. You can override
8009 # by either setting the environment variable LT_MULTI_MODULE
8010 # non-empty at configure time, or by adding -multi-module to the
8012 echo "int foo(void){return 1;}" > conftest.c
8013 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8014 -dynamiclib ${wl}-single_module conftest.c
8015 if test -f libconftest.dylib
; then
8016 lt_cv_apple_cc_single_mod
=yes
8017 rm libconftest.dylib
8023 output_verbose_link_cmd
=echo
8024 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
8025 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8026 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}'
8028 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8029 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}'
8031 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8032 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}'
8034 case $cc_basename in
8036 output_verbose_link_cmd
=echo
8037 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8038 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8039 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8040 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}'
8041 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}'
8051 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8052 hardcode_libdir_flag_spec
='-L$libdir'
8053 hardcode_shlibpath_var
=no
8060 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8061 # support. Future versions do this automatically, but an explicit c++rt0.o
8062 # does not break anything, and helps significantly (at the cost of a little
8065 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8066 hardcode_libdir_flag_spec
='-R$libdir'
8068 hardcode_shlibpath_var
=no
8071 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8073 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8075 hardcode_minus_L
=yes
8076 hardcode_shlibpath_var
=no
8079 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8080 freebsd
* | dragonfly
*)
8081 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8082 hardcode_libdir_flag_spec
='-R$libdir'
8084 hardcode_shlibpath_var
=no
8088 if test "$GCC" = yes; then
8089 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'
8091 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'
8093 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8094 hardcode_libdir_separator
=:
8097 # hardcode_minus_L: Not really in the search PATH,
8098 # but as the default location of the library.
8099 hardcode_minus_L
=yes
8100 export_dynamic_flag_spec
='${wl}-E'
8104 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8105 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8107 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8109 if test "$with_gnu_ld" = no
; then
8110 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8111 hardcode_libdir_flag_spec_ld
='+b $libdir'
8112 hardcode_libdir_separator
=:
8114 hardcode_direct_absolute
=yes
8115 export_dynamic_flag_spec
='${wl}-E'
8116 # hardcode_minus_L: Not really in the search PATH,
8117 # but as the default location of the library.
8118 hardcode_minus_L
=yes
8123 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8126 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8129 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8132 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8138 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8141 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8144 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8148 if test "$with_gnu_ld" = no
; then
8149 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8150 hardcode_libdir_separator
=:
8155 hardcode_shlibpath_var
=no
8159 hardcode_direct_absolute
=yes
8160 export_dynamic_flag_spec
='${wl}-E'
8162 # hardcode_minus_L: Not really in the search PATH,
8163 # but as the default location of the library.
8164 hardcode_minus_L
=yes
8170 irix5
* | irix6
* | nonstopux
*)
8171 if test "$GCC" = yes; then
8172 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'
8173 # Try to use the -exported_symbol ld option, if it does not
8174 # work, assume that -exports_file does not work either and
8175 # implicitly export all symbols.
8176 save_LDFLAGS
="$LDFLAGS"
8177 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8178 cat >conftest.
$ac_ext <<_ACEOF
8181 rm -f conftest.
$ac_objext conftest
$ac_exeext
8182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8183 (eval $ac_link) 2>conftest.er1
8185 grep -v '^ *+' conftest.er1
>conftest.err
8187 cat conftest.err
>&5
8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189 (exit $ac_status); } &&
8190 { ac_try
='test -z "$ac_c_werror_flag"
8191 || test ! -s conftest.err'
8192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8196 (exit $ac_status); }; } &&
8197 { ac_try
='test -s conftest$ac_exeext'
8198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8202 (exit $ac_status); }; }; then
8203 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'
8206 echo "$as_me: failed program was:" >&5
8207 sed 's/^/| /' conftest.
$ac_ext >&5
8210 rm -f conftest.err conftest.
$ac_objext \
8211 conftest
$ac_exeext conftest.
$ac_ext
8212 LDFLAGS
="$save_LDFLAGS"
8214 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'
8215 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'
8217 archive_cmds_need_lc
='no'
8218 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8219 hardcode_libdir_separator
=:
8221 link_all_deplibs
=yes
8225 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8226 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8228 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8230 hardcode_libdir_flag_spec
='-R$libdir'
8232 hardcode_shlibpath_var
=no
8236 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8238 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8239 hardcode_libdir_separator
=:
8240 hardcode_shlibpath_var
=no
8248 hardcode_shlibpath_var
=no
8249 hardcode_direct_absolute
=yes
8250 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8251 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8252 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8253 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8254 export_dynamic_flag_spec
='${wl}-E'
8257 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8258 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8259 hardcode_libdir_flag_spec
='-R$libdir'
8262 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8263 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8270 hardcode_libdir_flag_spec
='-L$libdir'
8271 hardcode_minus_L
=yes
8272 allow_undefined_flag
=unsupported
8273 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'
8274 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8278 if test "$GCC" = yes; then
8279 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8280 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'
8282 allow_undefined_flag
=' -expect_unresolved \*'
8283 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'
8285 archive_cmds_need_lc
='no'
8286 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8287 hardcode_libdir_separator
=:
8290 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8291 if test "$GCC" = yes; then
8292 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8293 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'
8294 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8296 allow_undefined_flag
=' -expect_unresolved \*'
8297 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'
8298 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~
8299 $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'
8301 # Both c and cxx compiler support -rpath directly
8302 hardcode_libdir_flag_spec
='-rpath $libdir'
8304 archive_cmds_need_lc
='no'
8305 hardcode_libdir_separator
=:
8309 no_undefined_flag
=' -z defs'
8310 if test "$GCC" = yes; then
8312 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8313 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8314 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8316 case `$CC -V 2>&1` in
8319 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8320 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8321 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8325 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8326 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8327 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8331 hardcode_libdir_flag_spec
='-R$libdir'
8332 hardcode_shlibpath_var
=no
8334 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8336 # The compiler driver will combine and reorder linker options,
8337 # but understands `-z linker_flag'. GCC discards it without `$wl',
8338 # but is careful enough not to reorder.
8339 # Supported since Solaris 2.6 (maybe 2.5.1?)
8340 if test "$GCC" = yes; then
8341 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8343 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8347 link_all_deplibs
=yes
8351 if test "x$host_vendor" = xsequent
; then
8352 # Use $CC to link under sequent, because it throws in some extra .o
8353 # files that make .init and .fini sections work.
8354 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8356 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8358 hardcode_libdir_flag_spec
='-L$libdir'
8360 hardcode_minus_L
=yes
8361 hardcode_shlibpath_var
=no
8365 case $host_vendor in
8367 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8368 hardcode_direct
=yes # is this really true???
8371 ## LD is ld it makes a PLAMLIB
8372 ## CC just makes a GrossModule.
8373 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8374 reload_cmds
='$CC -r -o $output$reload_objs'
8378 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8379 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8382 runpath_var
='LD_RUN_PATH'
8383 hardcode_shlibpath_var
=no
8387 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8388 hardcode_shlibpath_var
=no
8389 export_dynamic_flag_spec
='-Bexport'
8393 if test -d /usr
/nec
; then
8394 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8395 hardcode_shlibpath_var
=no
8396 runpath_var
=LD_RUN_PATH
8397 hardcode_runpath_var
=yes
8402 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8403 no_undefined_flag
='${wl}-z,text'
8404 archive_cmds_need_lc
=no
8405 hardcode_shlibpath_var
=no
8406 runpath_var
='LD_RUN_PATH'
8408 if test "$GCC" = yes; then
8409 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8410 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8412 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8413 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8417 sysv5
* | sco3.2v5
* | sco5v6
*)
8418 # Note: We can NOT use -z defs as we might desire, because we do not
8419 # link with -lc, and that would cause any symbols used from libc to
8420 # always be unresolved, which means just about no library would
8421 # ever link correctly. If we're not using GNU ld we use -z text
8422 # though, which does catch some bad symbols but isn't as heavy-handed
8424 no_undefined_flag
='${wl}-z,text'
8425 allow_undefined_flag
='${wl}-z,nodefs'
8426 archive_cmds_need_lc
=no
8427 hardcode_shlibpath_var
=no
8428 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8429 hardcode_libdir_separator
=':'
8430 link_all_deplibs
=yes
8431 export_dynamic_flag_spec
='${wl}-Bexport'
8432 runpath_var
='LD_RUN_PATH'
8434 if test "$GCC" = yes; then
8435 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8436 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8438 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8439 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8444 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8445 hardcode_libdir_flag_spec
='-L$libdir'
8446 hardcode_shlibpath_var
=no
8454 if test x
$host_vendor = xsni
; then
8456 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8457 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8463 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8464 echo "${ECHO_T}$ld_shlibs" >&6
8465 test "$ld_shlibs" = no
&& can_build_shared
=no
8467 with_gnu_ld
=$with_gnu_ld
8484 # Do we need to explicitly link libc?
8486 case "x$archive_cmds_need_lc" in
8488 # Assume -lc should be added
8489 archive_cmds_need_lc
=yes
8491 if test "$enable_shared" = yes && test "$GCC" = yes; then
8492 case $archive_cmds in
8494 # FIXME: we may have to deal with multi-command sequences.
8497 # Test whether the compiler implicitly links with -lc since on some
8498 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8499 # to ld, don't add -lc before -lgcc.
8500 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8501 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8503 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8506 (eval $ac_compile) 2>&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 (exit $ac_status); } 2>conftest.err
; then
8512 libobjs
=conftest.
$ac_objext
8514 wl
=$lt_prog_compiler_wl
8515 pic_flag
=$lt_prog_compiler_pic
8521 lt_save_allow_undefined_flag
=$allow_undefined_flag
8522 allow_undefined_flag
=
8523 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8524 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); }
8529 archive_cmds_need_lc
=no
8531 archive_cmds_need_lc
=yes
8533 allow_undefined_flag
=$lt_save_allow_undefined_flag
8535 cat conftest.err
1>&5
8538 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8539 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8702 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8703 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8705 if test "$withGCC" = yes; then
8707 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8708 *) lt_awk_arg
="/^libraries:/" ;;
8710 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8711 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8712 # if the path contains ";" then we assume it to be the separator
8713 # otherwise default to the standard path separator (i.e. ":") - it is
8714 # assumed that no part of a normal pathname contains ";" but that should
8715 # okay in the real world where ";" in dirpaths is itself problematic.
8716 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8718 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8720 # Ok, now we have the path, separated by spaces, we can step through it
8721 # and add multilib dir if necessary.
8722 lt_tmp_lt_search_path_spec
=
8723 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8724 for lt_sys_path
in $lt_search_path_spec; do
8725 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8726 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8728 test -d "$lt_sys_path" && \
8729 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8732 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8733 BEGIN {RS=" "; FS="/|\n";} {
8736 for (lt_i = NF; lt_i > 0; lt_i--) {
8737 if ($lt_i != "" && $lt_i != ".") {
8738 if ($lt_i == "..") {
8741 if (lt_count == 0) {
8742 lt_foo="/" $lt_i lt_foo;
8749 if (lt_foo != "") { lt_freq[lt_foo]++; }
8750 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8752 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8754 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8757 libname_spec
='lib$name'
8765 shlibpath_overrides_runpath
=unknown
8767 dynamic_linker
="$host_os ld.so"
8768 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8769 need_lib_prefix
=unknown
8770 hardcode_into_libs
=no
8772 # when you set need_version to no, make sure it does not cause -set_version
8773 # flags to be left without arguments
8774 need_version
=unknown
8779 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8780 shlibpath_var
=LIBPATH
8782 # AIX 3 has no versioning support, so we append a major version to the name.
8783 soname_spec
='${libname}${release}${shared_ext}$major'
8790 hardcode_into_libs
=yes
8791 if test "$host_cpu" = ia64
; then
8792 # AIX 5 supports IA64
8793 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8794 shlibpath_var
=LD_LIBRARY_PATH
8796 # With GCC up to 2.95.x, collect2 would create an import file
8797 # for dependence libraries. The import file would start with
8798 # the line `#! .'. This would cause the generated library to
8799 # depend on `.', always an invalid library. This was fixed in
8800 # development snapshots of GCC prior to 3.0.
8802 aix4 | aix4.
[01] | aix4.
[01].
*)
8803 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8805 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8812 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8813 # soname into executable. Probably we can add versioning support to
8814 # collect2, so additional links can be useful in future.
8815 if test "$aix_use_runtimelinking" = yes; then
8816 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8817 # instead of lib<name>.a to let people know that these are not
8818 # typical AIX shared libraries.
8819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8821 # We preserve .a as extension for shared libraries through AIX4.2
8822 # and later when we are not doing run time linking.
8823 library_names_spec
='${libname}${release}.a $libname.a'
8824 soname_spec
='${libname}${release}${shared_ext}$major'
8826 shlibpath_var
=LIBPATH
8831 if test "$host_cpu" = m68k
; then
8832 library_names_spec
='$libname.ixlibrary $libname.a'
8833 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8834 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'
8841 library_names_spec
='${libname}${shared_ext}'
8842 dynamic_linker
="$host_os ld.so"
8843 shlibpath_var
=LIBRARY_PATH
8849 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8850 soname_spec
='${libname}${release}${shared_ext}$major'
8851 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8852 shlibpath_var
=LD_LIBRARY_PATH
8853 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8854 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8855 # the default ld.so.conf also contains /usr/contrib/lib and
8856 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8857 # libtool to hard-code these into programs
8860 cygwin
* | mingw
* | pw32
*)
8861 version_type
=windows
8866 case $withGCC,$host_os in
8867 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8868 library_names_spec
='$libname.dll.a'
8869 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8870 postinstall_cmds
='base_file=`basename \${file}`~
8871 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8872 dldir=$destdir/`dirname \$dlpath`~
8873 test -d \$dldir || mkdir -p \$dldir~
8874 $install_prog $dir/$dlname \$dldir/$dlname~
8875 chmod a+x \$dldir/$dlname~
8876 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8877 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8879 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8880 dlpath=$dir/\$dldll~
8882 shlibpath_overrides_runpath
=yes
8886 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8887 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8888 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8891 # MinGW DLLs use traditional 'lib' prefix
8892 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8893 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8894 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8895 # It is most probably a Windows format PATH printed by
8896 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8897 # path with ; separators, and with drive letters. We can handle the
8898 # drive letters (cygwin fileutils understands them), so leave them,
8899 # especially as we might pass files found there to a mingw objdump,
8900 # which wouldn't understand a cygwinified path. Ahh.
8901 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8903 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8907 # pw32 DLLs use 'pw' prefix rather than 'lib'
8908 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8914 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8917 dynamic_linker
='Win32 ld.exe'
8918 # FIXME: first we should search . and the directory the executable is in
8922 darwin
* | rhapsody
*)
8923 dynamic_linker
="$host_os dyld"
8927 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8928 soname_spec
='${libname}${release}${major}$shared_ext'
8929 shlibpath_overrides_runpath
=yes
8930 shlibpath_var
=DYLD_LIBRARY_PATH
8931 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8933 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8934 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8942 soname_spec
='${libname}${release}${shared_ext}$major'
8943 shlibpath_var
=LD_LIBRARY_PATH
8950 freebsd
* | dragonfly
*)
8951 # DragonFly does not have aout. When/if they implement a new
8952 # versioning mechanism, adjust this.
8953 if test -x /usr
/bin
/objformat
; then
8954 objformat
=`/usr/bin/objformat`
8957 freebsd
[123]*) objformat
=aout
;;
8961 version_type
=freebsd-
$objformat
8962 case $version_type in
8964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8969 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8973 shlibpath_var
=LD_LIBRARY_PATH
8976 shlibpath_overrides_runpath
=yes
8978 freebsd3.
[01]* | freebsdelf3.
[01]*)
8979 shlibpath_overrides_runpath
=yes
8980 hardcode_into_libs
=yes
8982 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8983 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8984 shlibpath_overrides_runpath
=no
8985 hardcode_into_libs
=yes
8987 *) # from 4.6 on, and DragonFly
8988 shlibpath_overrides_runpath
=yes
8989 hardcode_into_libs
=yes
8998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8999 soname_spec
='${libname}${release}${shared_ext}$major'
9000 shlibpath_var
=LD_LIBRARY_PATH
9001 hardcode_into_libs
=yes
9004 hpux9
* | hpux10
* | hpux11
*)
9005 # Give a soname corresponding to the major version so that dld.sl refuses to
9006 # link against other versions.
9013 hardcode_into_libs
=yes
9014 dynamic_linker
="$host_os dld.so"
9015 shlibpath_var
=LD_LIBRARY_PATH
9016 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9018 soname_spec
='${libname}${release}${shared_ext}$major'
9019 if test "X$HPUX_IA64_MODE" = X32
; then
9020 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9022 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9024 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9028 hardcode_into_libs
=yes
9029 dynamic_linker
="$host_os dld.sl"
9030 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9031 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9033 soname_spec
='${libname}${release}${shared_ext}$major'
9034 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9035 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9039 dynamic_linker
="$host_os dld.sl"
9040 shlibpath_var
=SHLIB_PATH
9041 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
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'
9046 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9047 postinstall_cmds
='chmod 555 $lib'
9054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9055 soname_spec
='${libname}${release}${shared_ext}$major'
9056 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9057 shlibpath_var
=LD_LIBRARY_PATH
9058 shlibpath_overrides_runpath
=no
9059 hardcode_into_libs
=yes
9062 irix5
* | irix6
* | nonstopux
*)
9064 nonstopux
*) version_type
=nonstopux
;;
9066 if test "$lt_cv_prog_gnu_ld" = yes; then
9074 soname_spec
='${libname}${release}${shared_ext}$major'
9075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9077 irix5
* | nonstopux
*)
9081 case $LD in # libtool.m4 will add one of these switches to LD
9082 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9083 libsuff
= shlibsuff
= libmagic
=32-bit;;
9084 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9085 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9086 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9087 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9088 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9092 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9093 shlibpath_overrides_runpath
=no
9094 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9095 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9096 hardcode_into_libs
=yes
9099 # No shared lib support for Linux oldld, aout, or coff.
9100 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9104 # This must be Linux ELF.
9105 linux
* | k
*bsd
*-gnu)
9109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9110 soname_spec
='${libname}${release}${shared_ext}$major'
9111 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9112 shlibpath_var
=LD_LIBRARY_PATH
9113 shlibpath_overrides_runpath
=no
9114 # Some binutils ld are patched to set DT_RUNPATH
9115 save_LDFLAGS
=$LDFLAGS
9117 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9118 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9119 cat >conftest.
$ac_ext <<_ACEOF
9122 cat confdefs.h
>>conftest.
$ac_ext
9123 cat >>conftest.
$ac_ext <<_ACEOF
9124 /* end confdefs.h. */
9134 rm -f conftest.
$ac_objext conftest
$ac_exeext
9135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9136 (eval $ac_link) 2>conftest.er1
9138 grep -v '^ *+' conftest.er1
>conftest.err
9140 cat conftest.err
>&5
9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 (exit $ac_status); } &&
9143 { ac_try
='test -z "$ac_c_werror_flag"
9144 || test ! -s conftest.err'
9145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9149 (exit $ac_status); }; } &&
9150 { ac_try
='test -s conftest$ac_exeext'
9151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155 (exit $ac_status); }; }; then
9156 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
9157 shlibpath_overrides_runpath
=yes
9161 echo "$as_me: failed program was:" >&5
9162 sed 's/^/| /' conftest.
$ac_ext >&5
9165 rm -f conftest.err conftest.
$ac_objext \
9166 conftest
$ac_exeext conftest.
$ac_ext
9167 LDFLAGS
=$save_LDFLAGS
9170 # This implies no fast_install, which is unacceptable.
9171 # Some rework will be needed to allow for fast_install
9172 # before this can be enabled.
9173 hardcode_into_libs
=yes
9175 # Append ld.so.conf contents to the search path
9176 if test -f /etc
/ld.so.conf
; then
9177 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' ' '`
9178 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9181 # We used to test for /lib/ld.so.1 and disable shared libraries on
9182 # powerpc, because MkLinux only supported shared libraries with the
9183 # GNU dynamic linker. Since this was broken with cross compilers,
9184 # most powerpc-linux boxes support dynamic linking these days and
9185 # people can always --disable-shared, the test was removed, and we
9186 # assume the GNU/Linux dynamic linker is in use.
9187 dynamic_linker
='GNU/Linux ld.so'
9194 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9196 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9197 dynamic_linker
='NetBSD (a.out) ld.so'
9199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9200 soname_spec
='${libname}${release}${shared_ext}$major'
9201 dynamic_linker
='NetBSD ld.elf_so'
9203 shlibpath_var
=LD_LIBRARY_PATH
9204 shlibpath_overrides_runpath
=yes
9205 hardcode_into_libs
=yes
9210 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9211 shlibpath_var
=LD_LIBRARY_PATH
9212 shlibpath_overrides_runpath
=yes
9219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9220 soname_spec
='${libname}${release}${shared_ext}$major'
9221 shlibpath_var
=LD_LIBRARY_PATH
9222 shlibpath_overrides_runpath
=no
9223 hardcode_into_libs
=yes
9224 dynamic_linker
='ldqnx.so'
9229 sys_lib_dlsearch_path_spec
="/usr/lib"
9231 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9233 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9234 *) need_version
=no
;;
9236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9237 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9238 shlibpath_var
=LD_LIBRARY_PATH
9239 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9241 openbsd2.
[89] | openbsd2.
[89].
*)
9242 shlibpath_overrides_runpath
=no
9245 shlibpath_overrides_runpath
=yes
9249 shlibpath_overrides_runpath
=yes
9254 libname_spec
='$name'
9257 library_names_spec
='$libname${shared_ext} $libname.a'
9258 dynamic_linker
='OS/2 ld.exe'
9259 shlibpath_var
=LIBPATH
9262 osf3
* | osf4
* | osf5
*)
9266 soname_spec
='${libname}${release}${shared_ext}$major'
9267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9268 shlibpath_var
=LD_LIBRARY_PATH
9269 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9270 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9281 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9282 soname_spec
='${libname}${release}${shared_ext}$major'
9283 shlibpath_var
=LD_LIBRARY_PATH
9284 shlibpath_overrides_runpath
=yes
9285 hardcode_into_libs
=yes
9286 # ldd complains unless libraries are executable
9287 postinstall_cmds
='chmod +x $lib'
9292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9293 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9294 shlibpath_var
=LD_LIBRARY_PATH
9295 shlibpath_overrides_runpath
=yes
9296 if test "$with_gnu_ld" = yes; then
9304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9305 soname_spec
='${libname}${release}${shared_ext}$major'
9306 shlibpath_var
=LD_LIBRARY_PATH
9307 case $host_vendor in
9309 shlibpath_overrides_runpath
=no
9311 runpath_var
=LD_RUN_PATH
9319 shlibpath_overrides_runpath
=no
9320 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9326 if test -d /usr
/nec
;then
9328 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9329 soname_spec
='$libname${shared_ext}.$major'
9330 shlibpath_var
=LD_LIBRARY_PATH
9334 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9335 version_type
=freebsd-elf
9338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9339 soname_spec
='${libname}${release}${shared_ext}$major'
9340 shlibpath_var
=LD_LIBRARY_PATH
9341 shlibpath_overrides_runpath
=yes
9342 hardcode_into_libs
=yes
9343 if test "$with_gnu_ld" = yes; then
9344 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9346 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9349 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9353 sys_lib_dlsearch_path_spec
='/usr/lib'
9357 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9361 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9362 shlibpath_var
=LD_LIBRARY_PATH
9363 shlibpath_overrides_runpath
=no
9364 hardcode_into_libs
=yes
9369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9370 soname_spec
='${libname}${release}${shared_ext}$major'
9371 shlibpath_var
=LD_LIBRARY_PATH
9378 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9379 echo "${ECHO_T}$dynamic_linker" >&6
9380 test "$dynamic_linker" = no
&& can_build_shared
=no
9382 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9383 if test "$GCC" = yes; then
9384 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9473 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9474 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9476 if test -n "$hardcode_libdir_flag_spec" ||
9477 test -n "$runpath_var" ||
9478 test "X$hardcode_automatic" = "Xyes" ; then
9480 # We can hardcode non-existent directories.
9481 if test "$hardcode_direct" != no
&&
9482 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9483 # have to relink, otherwise we might link with an installed library
9484 # when we should be linking with a yet-to-be-installed one
9485 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9486 test "$hardcode_minus_L" != no
; then
9487 # Linking always hardcodes the temporary library directory.
9488 hardcode_action
=relink
9490 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9491 hardcode_action
=immediate
9494 # We cannot hardcode anything, or else we can only hardcode existing
9496 hardcode_action
=unsupported
9498 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9499 echo "${ECHO_T}$hardcode_action" >&6
9501 if test "$hardcode_action" = relink ||
9502 test "$inherit_rpath" = yes; then
9503 # Fast installation is not supported
9504 enable_fast_install
=no
9505 elif test "$shlibpath_overrides_runpath" = yes ||
9506 test "$enable_shared" = no
; then
9507 # Fast installation is not necessary
9508 enable_fast_install
=needless
9516 if test "x$enable_dlopen" != xyes
; then
9517 enable_dlopen
=unknown
9518 enable_dlopen_self
=unknown
9519 enable_dlopen_self_static
=unknown
9526 lt_cv_dlopen
="load_add_on"
9528 lt_cv_dlopen_self
=yes
9532 lt_cv_dlopen
="LoadLibrary"
9537 lt_cv_dlopen
="dlopen"
9542 # if libdl is installed we need to link against it
9543 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9544 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9545 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9546 echo $ECHO_N "(cached) $ECHO_C" >&6
9548 ac_check_lib_save_LIBS
=$LIBS
9550 cat >conftest.
$ac_ext <<_ACEOF
9553 cat confdefs.h
>>conftest.
$ac_ext
9554 cat >>conftest.
$ac_ext <<_ACEOF
9555 /* end confdefs.h. */
9557 /* Override any gcc2 internal prototype to avoid an error. */
9561 /* We use char because int might match the return type of a gcc2
9562 builtin and then its argument prototype would still apply. */
9572 rm -f conftest.
$ac_objext conftest
$ac_exeext
9573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9574 (eval $ac_link) 2>conftest.er1
9576 grep -v '^ *+' conftest.er1
>conftest.err
9578 cat conftest.err
>&5
9579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580 (exit $ac_status); } &&
9581 { ac_try
='test -z "$ac_c_werror_flag"
9582 || test ! -s conftest.err'
9583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9587 (exit $ac_status); }; } &&
9588 { ac_try
='test -s conftest$ac_exeext'
9589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9593 (exit $ac_status); }; }; then
9594 ac_cv_lib_dl_dlopen
=yes
9596 echo "$as_me: failed program was:" >&5
9597 sed 's/^/| /' conftest.
$ac_ext >&5
9599 ac_cv_lib_dl_dlopen
=no
9601 rm -f conftest.err conftest.
$ac_objext \
9602 conftest
$ac_exeext conftest.
$ac_ext
9603 LIBS
=$ac_check_lib_save_LIBS
9605 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9606 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9607 if test $ac_cv_lib_dl_dlopen = yes; then
9608 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9613 lt_cv_dlopen_self
=yes
9620 echo "$as_me:$LINENO: checking for shl_load" >&5
9621 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9622 if test "${ac_cv_func_shl_load+set}" = set; then
9623 echo $ECHO_N "(cached) $ECHO_C" >&6
9625 cat >conftest.
$ac_ext <<_ACEOF
9628 cat confdefs.h
>>conftest.
$ac_ext
9629 cat >>conftest.
$ac_ext <<_ACEOF
9630 /* end confdefs.h. */
9631 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9633 #define shl_load innocuous_shl_load
9635 /* System header to define __stub macros and hopefully few prototypes,
9636 which can conflict with char shl_load (); below.
9637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9638 <limits.h> exists even on freestanding compilers. */
9641 # include <limits.h>
9643 # include <assert.h>
9648 /* Override any gcc2 internal prototype to avoid an error. */
9653 /* We use char because int might match the return type of a gcc2
9654 builtin and then its argument prototype would still apply. */
9656 /* The GNU C library defines this for functions which it implements
9657 to always fail with ENOSYS. Some functions are actually named
9658 something starting with __ and the normal name is an alias. */
9659 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9662 char (*f) () = shl_load;
9671 return f != shl_load;
9676 rm -f conftest.
$ac_objext conftest
$ac_exeext
9677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9678 (eval $ac_link) 2>conftest.er1
9680 grep -v '^ *+' conftest.er1
>conftest.err
9682 cat conftest.err
>&5
9683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9684 (exit $ac_status); } &&
9685 { ac_try
='test -z "$ac_c_werror_flag"
9686 || test ! -s conftest.err'
9687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9691 (exit $ac_status); }; } &&
9692 { ac_try
='test -s conftest$ac_exeext'
9693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9697 (exit $ac_status); }; }; then
9698 ac_cv_func_shl_load
=yes
9700 echo "$as_me: failed program was:" >&5
9701 sed 's/^/| /' conftest.
$ac_ext >&5
9703 ac_cv_func_shl_load
=no
9705 rm -f conftest.err conftest.
$ac_objext \
9706 conftest
$ac_exeext conftest.
$ac_ext
9708 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9709 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9710 if test $ac_cv_func_shl_load = yes; then
9711 lt_cv_dlopen
="shl_load"
9713 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9714 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9715 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9716 echo $ECHO_N "(cached) $ECHO_C" >&6
9718 ac_check_lib_save_LIBS
=$LIBS
9720 cat >conftest.
$ac_ext <<_ACEOF
9723 cat confdefs.h
>>conftest.
$ac_ext
9724 cat >>conftest.
$ac_ext <<_ACEOF
9725 /* end confdefs.h. */
9727 /* Override any gcc2 internal prototype to avoid an error. */
9731 /* We use char because int might match the return type of a gcc2
9732 builtin and then its argument prototype would still apply. */
9742 rm -f conftest.
$ac_objext conftest
$ac_exeext
9743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9744 (eval $ac_link) 2>conftest.er1
9746 grep -v '^ *+' conftest.er1
>conftest.err
9748 cat conftest.err
>&5
9749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9750 (exit $ac_status); } &&
9751 { ac_try
='test -z "$ac_c_werror_flag"
9752 || test ! -s conftest.err'
9753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9757 (exit $ac_status); }; } &&
9758 { ac_try
='test -s conftest$ac_exeext'
9759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9763 (exit $ac_status); }; }; then
9764 ac_cv_lib_dld_shl_load
=yes
9766 echo "$as_me: failed program was:" >&5
9767 sed 's/^/| /' conftest.
$ac_ext >&5
9769 ac_cv_lib_dld_shl_load
=no
9771 rm -f conftest.err conftest.
$ac_objext \
9772 conftest
$ac_exeext conftest.
$ac_ext
9773 LIBS
=$ac_check_lib_save_LIBS
9775 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9776 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9777 if test $ac_cv_lib_dld_shl_load = yes; then
9778 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
9780 echo "$as_me:$LINENO: checking for dlopen" >&5
9781 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9782 if test "${ac_cv_func_dlopen+set}" = set; then
9783 echo $ECHO_N "(cached) $ECHO_C" >&6
9785 cat >conftest.
$ac_ext <<_ACEOF
9788 cat confdefs.h
>>conftest.
$ac_ext
9789 cat >>conftest.
$ac_ext <<_ACEOF
9790 /* end confdefs.h. */
9791 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9793 #define dlopen innocuous_dlopen
9795 /* System header to define __stub macros and hopefully few prototypes,
9796 which can conflict with char dlopen (); below.
9797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9798 <limits.h> exists even on freestanding compilers. */
9801 # include <limits.h>
9803 # include <assert.h>
9808 /* Override any gcc2 internal prototype to avoid an error. */
9813 /* We use char because int might match the return type of a gcc2
9814 builtin and then its argument prototype would still apply. */
9816 /* The GNU C library defines this for functions which it implements
9817 to always fail with ENOSYS. Some functions are actually named
9818 something starting with __ and the normal name is an alias. */
9819 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9822 char (*f) () = dlopen;
9836 rm -f conftest.
$ac_objext conftest
$ac_exeext
9837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9838 (eval $ac_link) 2>conftest.er1
9840 grep -v '^ *+' conftest.er1
>conftest.err
9842 cat conftest.err
>&5
9843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9844 (exit $ac_status); } &&
9845 { ac_try
='test -z "$ac_c_werror_flag"
9846 || test ! -s conftest.err'
9847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851 (exit $ac_status); }; } &&
9852 { ac_try
='test -s conftest$ac_exeext'
9853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9857 (exit $ac_status); }; }; then
9858 ac_cv_func_dlopen
=yes
9860 echo "$as_me: failed program was:" >&5
9861 sed 's/^/| /' conftest.
$ac_ext >&5
9863 ac_cv_func_dlopen
=no
9865 rm -f conftest.err conftest.
$ac_objext \
9866 conftest
$ac_exeext conftest.
$ac_ext
9868 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9869 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9870 if test $ac_cv_func_dlopen = yes; then
9871 lt_cv_dlopen
="dlopen"
9873 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9874 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9875 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9876 echo $ECHO_N "(cached) $ECHO_C" >&6
9878 ac_check_lib_save_LIBS
=$LIBS
9880 cat >conftest.
$ac_ext <<_ACEOF
9883 cat confdefs.h
>>conftest.
$ac_ext
9884 cat >>conftest.
$ac_ext <<_ACEOF
9885 /* end confdefs.h. */
9887 /* Override any gcc2 internal prototype to avoid an error. */
9891 /* We use char because int might match the return type of a gcc2
9892 builtin and then its argument prototype would still apply. */
9902 rm -f conftest.
$ac_objext conftest
$ac_exeext
9903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9904 (eval $ac_link) 2>conftest.er1
9906 grep -v '^ *+' conftest.er1
>conftest.err
9908 cat conftest.err
>&5
9909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9910 (exit $ac_status); } &&
9911 { ac_try
='test -z "$ac_c_werror_flag"
9912 || test ! -s conftest.err'
9913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9917 (exit $ac_status); }; } &&
9918 { ac_try
='test -s conftest$ac_exeext'
9919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9923 (exit $ac_status); }; }; then
9924 ac_cv_lib_dl_dlopen
=yes
9926 echo "$as_me: failed program was:" >&5
9927 sed 's/^/| /' conftest.
$ac_ext >&5
9929 ac_cv_lib_dl_dlopen
=no
9931 rm -f conftest.err conftest.
$ac_objext \
9932 conftest
$ac_exeext conftest.
$ac_ext
9933 LIBS
=$ac_check_lib_save_LIBS
9935 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9936 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9937 if test $ac_cv_lib_dl_dlopen = yes; then
9938 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9940 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9941 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9942 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9943 echo $ECHO_N "(cached) $ECHO_C" >&6
9945 ac_check_lib_save_LIBS
=$LIBS
9947 cat >conftest.
$ac_ext <<_ACEOF
9950 cat confdefs.h
>>conftest.
$ac_ext
9951 cat >>conftest.
$ac_ext <<_ACEOF
9952 /* end confdefs.h. */
9954 /* Override any gcc2 internal prototype to avoid an error. */
9958 /* We use char because int might match the return type of a gcc2
9959 builtin and then its argument prototype would still apply. */
9969 rm -f conftest.
$ac_objext conftest
$ac_exeext
9970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9971 (eval $ac_link) 2>conftest.er1
9973 grep -v '^ *+' conftest.er1
>conftest.err
9975 cat conftest.err
>&5
9976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9977 (exit $ac_status); } &&
9978 { ac_try
='test -z "$ac_c_werror_flag"
9979 || test ! -s conftest.err'
9980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984 (exit $ac_status); }; } &&
9985 { ac_try
='test -s conftest$ac_exeext'
9986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9990 (exit $ac_status); }; }; then
9991 ac_cv_lib_svld_dlopen
=yes
9993 echo "$as_me: failed program was:" >&5
9994 sed 's/^/| /' conftest.
$ac_ext >&5
9996 ac_cv_lib_svld_dlopen
=no
9998 rm -f conftest.err conftest.
$ac_objext \
9999 conftest
$ac_exeext conftest.
$ac_ext
10000 LIBS
=$ac_check_lib_save_LIBS
10002 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10003 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10004 if test $ac_cv_lib_svld_dlopen = yes; then
10005 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10007 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10008 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10009 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10010 echo $ECHO_N "(cached) $ECHO_C" >&6
10012 ac_check_lib_save_LIBS
=$LIBS
10014 cat >conftest.
$ac_ext <<_ACEOF
10017 cat confdefs.h
>>conftest.
$ac_ext
10018 cat >>conftest.
$ac_ext <<_ACEOF
10019 /* end confdefs.h. */
10021 /* Override any gcc2 internal prototype to avoid an error. */
10025 /* We use char because int might match the return type of a gcc2
10026 builtin and then its argument prototype would still apply. */
10036 rm -f conftest.
$ac_objext conftest
$ac_exeext
10037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10038 (eval $ac_link) 2>conftest.er1
10040 grep -v '^ *+' conftest.er1
>conftest.err
10042 cat conftest.err
>&5
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); } &&
10045 { ac_try
='test -z "$ac_c_werror_flag"
10046 || test ! -s conftest.err'
10047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10048 (eval $ac_try) 2>&5
10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 (exit $ac_status); }; } &&
10052 { ac_try
='test -s conftest$ac_exeext'
10053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10054 (eval $ac_try) 2>&5
10056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10057 (exit $ac_status); }; }; then
10058 ac_cv_lib_dld_dld_link
=yes
10060 echo "$as_me: failed program was:" >&5
10061 sed 's/^/| /' conftest.
$ac_ext >&5
10063 ac_cv_lib_dld_dld_link
=no
10065 rm -f conftest.err conftest.
$ac_objext \
10066 conftest
$ac_exeext conftest.
$ac_ext
10067 LIBS
=$ac_check_lib_save_LIBS
10069 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10070 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10071 if test $ac_cv_lib_dld_dld_link = yes; then
10072 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
10093 if test "x$lt_cv_dlopen" != xno
; then
10099 case $lt_cv_dlopen in
10101 save_CPPFLAGS
="$CPPFLAGS"
10102 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10104 save_LDFLAGS
="$LDFLAGS"
10105 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10108 LIBS
="$lt_cv_dlopen_libs $LIBS"
10110 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10111 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10112 if test "${lt_cv_dlopen_self+set}" = set; then
10113 echo $ECHO_N "(cached) $ECHO_C" >&6
10115 if test "$cross_compiling" = yes; then :
10116 lt_cv_dlopen_self
=cross
10118 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10119 lt_status
=$lt_dlunknown
10120 cat > conftest.
$ac_ext <<_LT_EOF
10121 #line 10121 "configure"
10122 #include "confdefs.h"
10131 # define LT_DLGLOBAL RTLD_GLOBAL
10134 # define LT_DLGLOBAL DL_GLOBAL
10136 # define LT_DLGLOBAL 0
10140 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10141 find out it does not work in some platform. */
10142 #ifndef LT_DLLAZY_OR_NOW
10144 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10147 # define LT_DLLAZY_OR_NOW DL_LAZY
10150 # define LT_DLLAZY_OR_NOW RTLD_NOW
10153 # define LT_DLLAZY_OR_NOW DL_NOW
10155 # define LT_DLLAZY_OR_NOW 0
10163 extern "C" void exit (int);
10166 void fnord() { int i=42;}
10169 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10170 int status = $lt_dlunknown;
10174 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10175 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10176 /* dlclose (self); */
10184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10185 (eval $ac_link) 2>&5
10187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10189 (.
/conftest
; exit; ) >&5 2>/dev
/null
10191 case x
$lt_status in
10192 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10193 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10194 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10197 # compilation failed
10198 lt_cv_dlopen_self
=no
10205 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10206 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10208 if test "x$lt_cv_dlopen_self" = xyes
; then
10209 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10210 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10211 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10212 if test "${lt_cv_dlopen_self_static+set}" = set; then
10213 echo $ECHO_N "(cached) $ECHO_C" >&6
10215 if test "$cross_compiling" = yes; then :
10216 lt_cv_dlopen_self_static
=cross
10218 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10219 lt_status
=$lt_dlunknown
10220 cat > conftest.
$ac_ext <<_LT_EOF
10221 #line 10221 "configure"
10222 #include "confdefs.h"
10231 # define LT_DLGLOBAL RTLD_GLOBAL
10234 # define LT_DLGLOBAL DL_GLOBAL
10236 # define LT_DLGLOBAL 0
10240 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10241 find out it does not work in some platform. */
10242 #ifndef LT_DLLAZY_OR_NOW
10244 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10247 # define LT_DLLAZY_OR_NOW DL_LAZY
10250 # define LT_DLLAZY_OR_NOW RTLD_NOW
10253 # define LT_DLLAZY_OR_NOW DL_NOW
10255 # define LT_DLLAZY_OR_NOW 0
10263 extern "C" void exit (int);
10266 void fnord() { int i=42;}
10269 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10270 int status = $lt_dlunknown;
10274 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10275 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10276 /* dlclose (self); */
10284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10285 (eval $ac_link) 2>&5
10287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10289 (.
/conftest
; exit; ) >&5 2>/dev
/null
10291 case x
$lt_status in
10292 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10293 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10294 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10297 # compilation failed
10298 lt_cv_dlopen_self_static
=no
10305 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10306 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10309 CPPFLAGS
="$save_CPPFLAGS"
10310 LDFLAGS
="$save_LDFLAGS"
10315 case $lt_cv_dlopen_self in
10316 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10317 *) enable_dlopen_self
=unknown
;;
10320 case $lt_cv_dlopen_self_static in
10321 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10322 *) enable_dlopen_self_static
=unknown
;;
10344 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10345 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10346 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10347 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10348 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10349 echo "$as_me:$LINENO: result: yes" >&5
10350 echo "${ECHO_T}yes" >&6
10352 # FIXME - insert some real tests, host_os isn't really good enough
10355 if test -n "$STRIP" ; then
10356 striplib
="$STRIP -x"
10357 old_striplib
="$STRIP -S"
10358 echo "$as_me:$LINENO: result: yes" >&5
10359 echo "${ECHO_T}yes" >&6
10361 echo "$as_me:$LINENO: result: no" >&5
10362 echo "${ECHO_T}no" >&6
10366 echo "$as_me:$LINENO: result: no" >&5
10367 echo "${ECHO_T}no" >&6
10383 # Report which library types will actually be built
10384 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10385 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10386 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10387 echo "${ECHO_T}$can_build_shared" >&6
10389 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10390 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10391 test "$can_build_shared" = "no" && enable_shared
=no
10393 # On AIX, shared libraries and static libraries use the same namespace, and
10394 # are all built from PIC.
10397 test "$enable_shared" = yes && enable_static
=no
10398 if test -n "$RANLIB"; then
10399 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10400 postinstall_cmds
='$RANLIB $lib'
10405 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10406 test "$enable_shared" = yes && enable_static
=no
10410 echo "$as_me:$LINENO: result: $enable_shared" >&5
10411 echo "${ECHO_T}$enable_shared" >&6
10413 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10414 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10415 # Make sure either enable_shared or enable_static is yes.
10416 test "$enable_shared" = yes || enable_static
=yes
10417 echo "$as_me:$LINENO: result: $enable_static" >&5
10418 echo "${ECHO_T}$enable_static" >&6
10425 ac_cpp
='$CPP $CPPFLAGS'
10426 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10427 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10428 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10444 ac_config_commands
="$ac_config_commands libtool"
10449 # Only expand once:
10453 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
10454 if test "${enable_64_bit_bfd+set}" = set; then
10455 enableval
="$enable_64_bit_bfd"
10456 case "${enableval}" in
10457 yes) want64
=true
;;
10458 no
) want64
=false
;;
10459 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
10460 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
10461 { (exit 1); exit 1; }; } ;;
10466 # Check whether --enable-targets or --disable-targets was given.
10467 if test "${enable_targets+set}" = set; then
10468 enableval
="$enable_targets"
10469 case "${enableval}" in
10470 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
10471 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
10472 { (exit 1); exit 1; }; }
10474 no
) enable_targets
= ;;
10475 *) enable_targets
=$enableval ;;
10478 # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
10479 if test "${enable_commonbfdlib+set}" = set; then
10480 enableval
="$enable_commonbfdlib"
10481 case "${enableval}" in
10482 yes) commonbfdlib
=true
;;
10483 no
) commonbfdlib
=false
;;
10484 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
10485 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
10486 { (exit 1); exit 1; }; } ;;
10490 # Check whether --with-mmap or --without-mmap was given.
10491 if test "${with_mmap+set}" = set; then
10492 withval
="$with_mmap"
10493 case "${withval}" in
10494 yes) want_mmap
=true
;;
10495 no
) want_mmap
=false
;;
10496 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
10497 echo "$as_me: error: bad value ${withval} for BFD with-mmap option" >&2;}
10498 { (exit 1); exit 1; }; } ;;
10503 # Check whether --enable-secureplt or --disable-secureplt was given.
10504 if test "${enable_secureplt+set}" = set; then
10505 enableval
="$enable_secureplt"
10506 case "${enableval}" in
10507 yes) use_secureplt
=true
;;
10508 no
) use_secureplt
=false
;;
10509 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for secureplt option" >&5
10510 echo "$as_me: error: bad value ${enableval} for secureplt option" >&2;}
10511 { (exit 1); exit 1; }; } ;;
10514 use_secureplt
=false
10515 fi; if test $use_secureplt = true
; then
10517 cat >>confdefs.h
<<\_ACEOF
10518 #define USE_SECUREPLT 1
10523 DEBUGDIR
=${libdir}/debug
10525 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
10526 if test "${with_separate_debug_dir+set}" = set; then
10527 withval
="$with_separate_debug_dir"
10528 DEBUGDIR
="${withval}"
10532 # Check to see if we should allow the generation of
10533 # symbols with the ELF standard's STT_COMMON type.
10534 # Check whether --enable-elf-stt-common or --disable-elf-stt-common was given.
10535 if test "${enable_elf_stt_common+set}" = set; then
10536 enableval
="$enable_elf_stt_common"
10537 case "${enableval}" in
10538 yes) want_elf_stt_common
=true
;;
10539 no
) want_elf_stt_common
=false
;;
10540 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for ELF STT_COMMON option" >&5
10541 echo "$as_me: error: bad value ${enableval} for ELF STT_COMMON option" >&2;}
10542 { (exit 1); exit 1; }; } ;;
10545 # We have to choose a default behaviour. For native builds we could
10546 # test whether the loader supports the STT_COMMON type, but that would
10547 # mean that built binaries could not be exported to older systems where
10548 # the loader does not support it. So by default we always choose to
10549 # disable this feature.
10550 want_elf_stt_common
=false
10551 fi; if test $want_elf_stt_common = true
; then
10553 cat >>confdefs.h
<<\_ACEOF
10554 #define USE_STT_COMMON 1
10561 # Check whether --with-pkgversion or --without-pkgversion was given.
10562 if test "${with_pkgversion+set}" = set; then
10563 withval
="$with_pkgversion"
10565 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
10566 echo "$as_me: error: package version not specified" >&2;}
10567 { (exit 1); exit 1; }; } ;;
10569 *) PKGVERSION
="($withval) " ;;
10572 PKGVERSION
="(GNU Binutils) "
10579 # Check whether --with-bugurl or --without-bugurl was given.
10580 if test "${with_bugurl+set}" = set; then
10581 withval
="$with_bugurl"
10583 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
10584 echo "$as_me: error: bug URL not specified" >&2;}
10585 { (exit 1); exit 1; }; } ;;
10588 *) BUGURL
="$withval"
10592 BUGURL
="http://www.sourceware.org/bugzilla/"
10601 REPORT_BUGS_TO
="<$BUGURL>"
10602 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
10610 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
10612 # Check whether --enable-werror or --disable-werror was given.
10613 if test "${enable_werror+set}" = set; then
10614 enableval
="$enable_werror"
10615 case "${enableval}" in
10616 yes | y
) ERROR_ON_WARNING
="yes" ;;
10617 no | n
) ERROR_ON_WARNING
="no" ;;
10618 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
10619 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
10620 { (exit 1); exit 1; }; } ;;
10624 # Enable -Wno-format by default when using gcc on mingw
10627 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
10628 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
10634 # Enable -Werror by default when using gcc
10635 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
10636 ERROR_ON_WARNING
=yes
10640 if test "${ERROR_ON_WARNING}" = yes ; then
10641 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
10642 NO_WERROR
="-Wno-error"
10645 if test "${GCC}" = yes ; then
10646 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
10649 # Check whether --enable-build-warnings or --disable-build-warnings was given.
10650 if test "${enable_build_warnings+set}" = set; then
10651 enableval
="$enable_build_warnings"
10652 case "${enableval}" in
10653 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
10654 no
) if test "${GCC}" = yes ; then
10657 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
10658 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
10659 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
10660 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
10661 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
10665 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
10666 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
10673 ac_config_headers
="$ac_config_headers config.h:config.in"
10676 if test -z "$target" ; then
10677 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
10678 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
10679 { (exit 1); exit 1; }; }
10682 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
10683 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
10684 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
10685 if test "${enable_maintainer_mode+set}" = set; then
10686 enableval
="$enable_maintainer_mode"
10687 USE_MAINTAINER_MODE
=$enableval
10689 USE_MAINTAINER_MODE
=no
10691 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
10692 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
10695 if test $USE_MAINTAINER_MODE = yes; then
10696 MAINTAINER_MODE_TRUE
=
10697 MAINTAINER_MODE_FALSE
='#'
10699 MAINTAINER_MODE_TRUE
='#'
10700 MAINTAINER_MODE_FALSE
=
10703 MAINT
=$MAINTAINER_MODE_TRUE
10709 GENINSRC_NEVER_TRUE
=
10710 GENINSRC_NEVER_FALSE
='#'
10712 GENINSRC_NEVER_TRUE
='#'
10713 GENINSRC_NEVER_FALSE
=
10716 case ${build_alias} in
10717 "") build_noncanonical
=${build} ;;
10718 *) build_noncanonical
=${build_alias} ;;
10721 case ${host_alias} in
10722 "") host_noncanonical
=${build_noncanonical} ;;
10723 *) host_noncanonical
=${host_alias} ;;
10726 case ${target_alias} in
10727 "") target_noncanonical
=${host_noncanonical} ;;
10728 *) target_noncanonical
=${target_alias} ;;
10731 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
10732 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
10733 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
10734 if test "${enable_install_libbfd+set}" = set; then
10735 enableval
="$enable_install_libbfd"
10736 install_libbfd_p
=$enableval
10738 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
10739 install_libbfd_p
=yes
10741 install_libbfd_p
=no
10744 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
10745 echo "${ECHO_T}$install_libbfd_p" >&6
10748 if test $install_libbfd_p = yes; then
10749 INSTALL_LIBBFD_TRUE
=
10750 INSTALL_LIBBFD_FALSE
='#'
10752 INSTALL_LIBBFD_TRUE
='#'
10753 INSTALL_LIBBFD_FALSE
=
10756 # Need _noncanonical variables for this.
10761 # libbfd.a is a host library containing target dependent code
10762 bfdlibdir
='$(libdir)'
10763 bfdincludedir
='$(includedir)'
10764 if test "${host}" != "${target}"; then
10765 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
10766 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
10776 bfd_default_target_size
=32
10780 ALL_LINGUAS
="fr tr ja es sv da zh_CN ro rw vi fi"
10781 # If we haven't got the data from the intl directory,
10782 # assume NLS is disabled.
10791 if test -f ..
/intl
/config.intl
; then
10792 . ..
/intl
/config.intl
10794 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10795 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10796 if test x
"$USE_NLS" != xyes
; then
10797 echo "$as_me:$LINENO: result: no" >&5
10798 echo "${ECHO_T}no" >&6
10800 echo "$as_me:$LINENO: result: yes" >&5
10801 echo "${ECHO_T}yes" >&6
10803 cat >>confdefs.h
<<\_ACEOF
10804 #define ENABLE_NLS 1
10808 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
10809 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
10810 # Look for .po and .gmo files in the source directory.
10813 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
10814 # If there aren't any .gmo files the shell will give us the
10815 # literal string "../path/to/srcdir/po/*.gmo" which has to be
10817 case "$cat" in *\
**)
10820 # The quadruple backslash is collapsed to a double backslash
10821 # by the backticks, then collapsed again by the double quotes,
10822 # leaving us with one backslash in the sed expression (right
10823 # before the dot that mustn't act as a wildcard).
10824 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
10825 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
10826 # The user is allowed to set LINGUAS to a list of languages to
10827 # install catalogs for. If it's empty that means "all of them."
10828 if test "x$LINGUAS" = x
; then
10829 CATALOGS
="$CATALOGS $cat"
10830 XLINGUAS
="$XLINGUAS $lang"
10832 case "$LINGUAS" in *$lang*)
10833 CATALOGS
="$CATALOGS $cat"
10834 XLINGUAS
="$XLINGUAS $lang"
10839 LINGUAS
="$XLINGUAS"
10840 echo "$as_me:$LINENO: result: $LINGUAS" >&5
10841 echo "${ECHO_T}$LINGUAS" >&6
10855 if test -n "$ac_aux_dir"; then
10856 case "$ac_aux_dir" in
10857 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
10858 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
10861 if test -z "$MKINSTALLDIRS"; then
10862 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
10867 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10868 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10869 # Check whether --enable-nls or --disable-nls was given.
10870 if test "${enable_nls+set}" = set; then
10871 enableval
="$enable_nls"
10876 echo "$as_me:$LINENO: result: $USE_NLS" >&5
10877 echo "${ECHO_T}$USE_NLS" >&6
10884 # Prepare PATH_SEPARATOR.
10885 # The user is always right.
10886 if test "${PATH_SEPARATOR+set}" != set; then
10887 echo "#! /bin/sh" >conf$$.sh
10888 echo "exit 0" >>conf$$.sh
10890 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10898 # Find out how to test for executable files. Don't use a zero-byte file,
10899 # as systems may use methods other than mode bits to determine executability.
10900 cat >conf$$.
file <<_ASEOF
10904 chmod +x conf$$.
file
10905 if test -x conf$$.
file >/dev
/null
2>&1; then
10906 ac_executable_p
="test -x"
10908 ac_executable_p
="test -f"
10912 # Extract the first word of "msgfmt", so it can be a program name with args.
10913 set dummy msgfmt
; ac_word
=$2
10914 echo "$as_me:$LINENO: checking for $ac_word" >&5
10915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10916 if test "${ac_cv_path_MSGFMT+set}" = set; then
10917 echo $ECHO_N "(cached) $ECHO_C" >&6
10921 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
10924 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
10925 for ac_dir
in $PATH; do
10927 test -z "$ac_dir" && ac_dir
=.
10928 for ac_exec_ext
in '' $ac_executable_extensions; do
10929 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10930 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
10931 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
10932 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
10939 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
10943 MSGFMT
="$ac_cv_path_MSGFMT"
10944 if test "$MSGFMT" != ":"; then
10945 echo "$as_me:$LINENO: result: $MSGFMT" >&5
10946 echo "${ECHO_T}$MSGFMT" >&6
10948 echo "$as_me:$LINENO: result: no" >&5
10949 echo "${ECHO_T}no" >&6
10952 # Extract the first word of "gmsgfmt", so it can be a program name with args.
10953 set dummy gmsgfmt
; ac_word
=$2
10954 echo "$as_me:$LINENO: checking for $ac_word" >&5
10955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10956 if test "${ac_cv_path_GMSGFMT+set}" = set; then
10957 echo $ECHO_N "(cached) $ECHO_C" >&6
10961 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
10964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10965 for as_dir
in $PATH
10968 test -z "$as_dir" && as_dir
=.
10969 for ac_exec_ext
in '' $ac_executable_extensions; do
10970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10971 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
10972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10978 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
10982 GMSGFMT
=$ac_cv_path_GMSGFMT
10984 if test -n "$GMSGFMT"; then
10985 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
10986 echo "${ECHO_T}$GMSGFMT" >&6
10988 echo "$as_me:$LINENO: result: no" >&5
10989 echo "${ECHO_T}no" >&6
10994 # Prepare PATH_SEPARATOR.
10995 # The user is always right.
10996 if test "${PATH_SEPARATOR+set}" != set; then
10997 echo "#! /bin/sh" >conf$$.sh
10998 echo "exit 0" >>conf$$.sh
11000 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11008 # Find out how to test for executable files. Don't use a zero-byte file,
11009 # as systems may use methods other than mode bits to determine executability.
11010 cat >conf$$.
file <<_ASEOF
11014 chmod +x conf$$.
file
11015 if test -x conf$$.
file >/dev
/null
2>&1; then
11016 ac_executable_p
="test -x"
11018 ac_executable_p
="test -f"
11022 # Extract the first word of "xgettext", so it can be a program name with args.
11023 set dummy xgettext
; ac_word
=$2
11024 echo "$as_me:$LINENO: checking for $ac_word" >&5
11025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11026 if test "${ac_cv_path_XGETTEXT+set}" = set; then
11027 echo $ECHO_N "(cached) $ECHO_C" >&6
11029 case "$XGETTEXT" in
11031 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11034 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11035 for ac_dir
in $PATH; do
11037 test -z "$ac_dir" && ac_dir
=.
11038 for ac_exec_ext
in '' $ac_executable_extensions; do
11039 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11040 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11041 (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
11042 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
11049 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11053 XGETTEXT
="$ac_cv_path_XGETTEXT"
11054 if test "$XGETTEXT" != ":"; then
11055 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
11056 echo "${ECHO_T}$XGETTEXT" >&6
11058 echo "$as_me:$LINENO: result: no" >&5
11059 echo "${ECHO_T}no" >&6
11065 # Prepare PATH_SEPARATOR.
11066 # The user is always right.
11067 if test "${PATH_SEPARATOR+set}" != set; then
11068 echo "#! /bin/sh" >conf$$.sh
11069 echo "exit 0" >>conf$$.sh
11071 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11079 # Find out how to test for executable files. Don't use a zero-byte file,
11080 # as systems may use methods other than mode bits to determine executability.
11081 cat >conf$$.
file <<_ASEOF
11085 chmod +x conf$$.
file
11086 if test -x conf$$.
file >/dev
/null
2>&1; then
11087 ac_executable_p
="test -x"
11089 ac_executable_p
="test -f"
11093 # Extract the first word of "msgmerge", so it can be a program name with args.
11094 set dummy msgmerge
; ac_word
=$2
11095 echo "$as_me:$LINENO: checking for $ac_word" >&5
11096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11097 if test "${ac_cv_path_MSGMERGE+set}" = set; then
11098 echo $ECHO_N "(cached) $ECHO_C" >&6
11100 case "$MSGMERGE" in
11102 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11105 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11106 for ac_dir
in $PATH; do
11108 test -z "$ac_dir" && ac_dir
=.
11109 for ac_exec_ext
in '' $ac_executable_extensions; do
11110 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11111 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11112 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
11119 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
11123 MSGMERGE
="$ac_cv_path_MSGMERGE"
11124 if test "$MSGMERGE" != ":"; then
11125 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
11126 echo "${ECHO_T}$MSGMERGE" >&6
11128 echo "$as_me:$LINENO: result: no" >&5
11129 echo "${ECHO_T}no" >&6
11133 if test "$GMSGFMT" != ":"; then
11134 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
11135 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11138 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11139 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11140 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
11145 if test "$XGETTEXT" != ":"; then
11146 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11147 (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
11150 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
11151 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
11157 ac_config_commands
="$ac_config_commands default-1"
11161 # Permit host specific settings.
11162 .
${srcdir}/configure.
host
11165 # Find a good install program. We prefer a C program (faster),
11166 # so one script is as good as another. But avoid the broken or
11167 # incompatible versions:
11168 # SysV /etc/install, /usr/sbin/install
11169 # SunOS /usr/etc/install
11170 # IRIX /sbin/install
11172 # AmigaOS /C/install, which installs bootblocks on floppy discs
11173 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11174 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11175 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11176 # OS/2's system install, which has a completely different semantic
11177 # ./install, which can be erroneously created by make from ./install.sh.
11178 # Reject install programs that cannot install multiple files.
11179 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11180 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11181 if test -z "$INSTALL"; then
11182 if test "${ac_cv_path_install+set}" = set; then
11183 echo $ECHO_N "(cached) $ECHO_C" >&6
11185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11186 for as_dir
in $PATH
11189 test -z "$as_dir" && as_dir
=.
11190 # Account for people who put trailing slashes in PATH elements.
11192 .
/ | .
// |
/cC
/* | \
11193 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
11194 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11197 # OSF1 and SCO ODT 3.0 have their own names for install.
11198 # Don't use installbsd from OSF since it installs stuff as root
11200 for ac_prog
in ginstall scoinst
install; do
11201 for ac_exec_ext
in '' $ac_executable_extensions; do
11202 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11203 if test $ac_prog = install &&
11204 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11205 # AIX install. It has an incompatible calling convention.
11207 elif test $ac_prog = install &&
11208 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11209 # program-specific install script used by HP pwplus--don't use.
11212 rm -rf conftest.one conftest.two conftest.dir
11213 echo one
> conftest.one
11214 echo two
> conftest.two
11216 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
11217 test -s conftest.one
&& test -s conftest.two
&&
11218 test -s conftest.dir
/conftest.one
&&
11219 test -s conftest.dir
/conftest.two
11221 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11232 rm -rf conftest.one conftest.two conftest.dir
11235 if test "${ac_cv_path_install+set}" = set; then
11236 INSTALL
=$ac_cv_path_install
11238 # As a last resort, use the slow shell script. Don't cache a
11239 # value for INSTALL within a source directory, because that will
11240 # break other packages using the cache if that directory is
11241 # removed, or if the value is a relative name.
11242 INSTALL
=$ac_install_sh
11245 echo "$as_me:$LINENO: result: $INSTALL" >&5
11246 echo "${ECHO_T}$INSTALL" >&6
11248 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11249 # It thinks the first close brace ends the variable substitution.
11250 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11252 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11254 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11257 BFD_HOST_64BIT_LONG
=0
11258 BFD_HOST_64BIT_LONG_LONG
=0
11259 BFD_HOST_64_BIT_DEFINED
=0
11262 BFD_HOSTPTR_T
="unsigned long"
11264 echo "$as_me:$LINENO: checking for long long" >&5
11265 echo $ECHO_N "checking for long long... $ECHO_C" >&6
11266 if test "${ac_cv_type_long_long+set}" = set; then
11267 echo $ECHO_N "(cached) $ECHO_C" >&6
11269 cat >conftest.
$ac_ext <<_ACEOF
11272 cat confdefs.h
>>conftest.
$ac_ext
11273 cat >>conftest.
$ac_ext <<_ACEOF
11274 /* end confdefs.h. */
11275 $ac_includes_default
11279 if ((long long *) 0)
11281 if (sizeof (long long))
11287 rm -f conftest.
$ac_objext
11288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11289 (eval $ac_compile) 2>conftest.er1
11291 grep -v '^ *+' conftest.er1
>conftest.err
11293 cat conftest.err
>&5
11294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11295 (exit $ac_status); } &&
11296 { ac_try
='test -z "$ac_c_werror_flag"
11297 || test ! -s conftest.err'
11298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11299 (eval $ac_try) 2>&5
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); }; } &&
11303 { ac_try
='test -s conftest.$ac_objext'
11304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11305 (eval $ac_try) 2>&5
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); }; }; then
11309 ac_cv_type_long_long
=yes
11311 echo "$as_me: failed program was:" >&5
11312 sed 's/^/| /' conftest.
$ac_ext >&5
11314 ac_cv_type_long_long
=no
11316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11318 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
11319 echo "${ECHO_T}$ac_cv_type_long_long" >&6
11321 echo "$as_me:$LINENO: checking size of long long" >&5
11322 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
11323 if test "${ac_cv_sizeof_long_long+set}" = set; then
11324 echo $ECHO_N "(cached) $ECHO_C" >&6
11326 if test "$ac_cv_type_long_long" = yes; then
11327 # The cast to unsigned long works around a bug in the HP C Compiler
11328 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11329 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11330 # This bug is HP SR number 8606223364.
11331 if test "$cross_compiling" = yes; then
11332 # Depending upon the size, compute the lo and hi bounds.
11333 cat >conftest.
$ac_ext <<_ACEOF
11336 cat confdefs.h
>>conftest.
$ac_ext
11337 cat >>conftest.
$ac_ext <<_ACEOF
11338 /* end confdefs.h. */
11339 $ac_includes_default
11343 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
11350 rm -f conftest.
$ac_objext
11351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11352 (eval $ac_compile) 2>conftest.er1
11354 grep -v '^ *+' conftest.er1
>conftest.err
11356 cat conftest.err
>&5
11357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11358 (exit $ac_status); } &&
11359 { ac_try
='test -z "$ac_c_werror_flag"
11360 || test ! -s conftest.err'
11361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11362 (eval $ac_try) 2>&5
11364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11365 (exit $ac_status); }; } &&
11366 { ac_try
='test -s conftest.$ac_objext'
11367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11368 (eval $ac_try) 2>&5
11370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11371 (exit $ac_status); }; }; then
11374 cat >conftest.
$ac_ext <<_ACEOF
11377 cat confdefs.h
>>conftest.
$ac_ext
11378 cat >>conftest.
$ac_ext <<_ACEOF
11379 /* end confdefs.h. */
11380 $ac_includes_default
11384 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
11391 rm -f conftest.
$ac_objext
11392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11393 (eval $ac_compile) 2>conftest.er1
11395 grep -v '^ *+' conftest.er1
>conftest.err
11397 cat conftest.err
>&5
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); } &&
11400 { ac_try
='test -z "$ac_c_werror_flag"
11401 || test ! -s conftest.err'
11402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11403 (eval $ac_try) 2>&5
11405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11406 (exit $ac_status); }; } &&
11407 { ac_try
='test -s conftest.$ac_objext'
11408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11409 (eval $ac_try) 2>&5
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); }; }; then
11413 ac_hi
=$ac_mid; break
11415 echo "$as_me: failed program was:" >&5
11416 sed 's/^/| /' conftest.
$ac_ext >&5
11418 ac_lo
=`expr $ac_mid + 1`
11419 if test $ac_lo -le $ac_mid; then
11423 ac_mid
=`expr 2 '*' $ac_mid + 1`
11425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11428 echo "$as_me: failed program was:" >&5
11429 sed 's/^/| /' conftest.
$ac_ext >&5
11431 cat >conftest.
$ac_ext <<_ACEOF
11434 cat confdefs.h
>>conftest.
$ac_ext
11435 cat >>conftest.
$ac_ext <<_ACEOF
11436 /* end confdefs.h. */
11437 $ac_includes_default
11441 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
11448 rm -f conftest.
$ac_objext
11449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11450 (eval $ac_compile) 2>conftest.er1
11452 grep -v '^ *+' conftest.er1
>conftest.err
11454 cat conftest.err
>&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); } &&
11457 { ac_try
='test -z "$ac_c_werror_flag"
11458 || test ! -s conftest.err'
11459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11460 (eval $ac_try) 2>&5
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }; } &&
11464 { ac_try
='test -s conftest.$ac_objext'
11465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11466 (eval $ac_try) 2>&5
11468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11469 (exit $ac_status); }; }; then
11472 cat >conftest.
$ac_ext <<_ACEOF
11475 cat confdefs.h
>>conftest.
$ac_ext
11476 cat >>conftest.
$ac_ext <<_ACEOF
11477 /* end confdefs.h. */
11478 $ac_includes_default
11482 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
11489 rm -f conftest.
$ac_objext
11490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11491 (eval $ac_compile) 2>conftest.er1
11493 grep -v '^ *+' conftest.er1
>conftest.err
11495 cat conftest.err
>&5
11496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11497 (exit $ac_status); } &&
11498 { ac_try
='test -z "$ac_c_werror_flag"
11499 || test ! -s conftest.err'
11500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11501 (eval $ac_try) 2>&5
11503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11504 (exit $ac_status); }; } &&
11505 { ac_try
='test -s conftest.$ac_objext'
11506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11507 (eval $ac_try) 2>&5
11509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11510 (exit $ac_status); }; }; then
11511 ac_lo
=$ac_mid; break
11513 echo "$as_me: failed program was:" >&5
11514 sed 's/^/| /' conftest.
$ac_ext >&5
11516 ac_hi
=`expr '(' $ac_mid ')' - 1`
11517 if test $ac_mid -le $ac_hi; then
11521 ac_mid
=`expr 2 '*' $ac_mid`
11523 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11526 echo "$as_me: failed program was:" >&5
11527 sed 's/^/| /' conftest.
$ac_ext >&5
11531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11534 # Binary search between lo and hi bounds.
11535 while test "x$ac_lo" != "x$ac_hi"; do
11536 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11537 cat >conftest.
$ac_ext <<_ACEOF
11540 cat confdefs.h
>>conftest.
$ac_ext
11541 cat >>conftest.
$ac_ext <<_ACEOF
11542 /* end confdefs.h. */
11543 $ac_includes_default
11547 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
11554 rm -f conftest.
$ac_objext
11555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11556 (eval $ac_compile) 2>conftest.er1
11558 grep -v '^ *+' conftest.er1
>conftest.err
11560 cat conftest.err
>&5
11561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11562 (exit $ac_status); } &&
11563 { ac_try
='test -z "$ac_c_werror_flag"
11564 || test ! -s conftest.err'
11565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11566 (eval $ac_try) 2>&5
11568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569 (exit $ac_status); }; } &&
11570 { ac_try
='test -s conftest.$ac_objext'
11571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11572 (eval $ac_try) 2>&5
11574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 (exit $ac_status); }; }; then
11578 echo "$as_me: failed program was:" >&5
11579 sed 's/^/| /' conftest.
$ac_ext >&5
11581 ac_lo
=`expr '(' $ac_mid ')' + 1`
11583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11586 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
11587 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
11588 See \`config.log' for more details." >&5
11589 echo "$as_me: error: cannot compute sizeof (long long), 77
11590 See \`config.log' for more details." >&2;}
11591 { (exit 1); exit 1; }; } ;;
11594 if test "$cross_compiling" = yes; then
11595 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11596 See \`config.log' for more details." >&5
11597 echo "$as_me: error: cannot run test program while cross compiling
11598 See \`config.log' for more details." >&2;}
11599 { (exit 1); exit 1; }; }
11601 cat >conftest.
$ac_ext <<_ACEOF
11604 cat confdefs.h
>>conftest.
$ac_ext
11605 cat >>conftest.
$ac_ext <<_ACEOF
11606 /* end confdefs.h. */
11607 $ac_includes_default
11608 long longval () { return (long) (sizeof (long long)); }
11609 unsigned long ulongval () { return (long) (sizeof (long long)); }
11611 #include <stdlib.h>
11616 FILE *f = fopen ("conftest.val", "w");
11619 if (((long) (sizeof (long long))) < 0)
11621 long i = longval ();
11622 if (i != ((long) (sizeof (long long))))
11624 fprintf (f, "%ld\n", i);
11628 unsigned long i = ulongval ();
11629 if (i != ((long) (sizeof (long long))))
11631 fprintf (f, "%lu\n", i);
11633 exit (ferror (f) || fclose (f) != 0);
11639 rm -f conftest
$ac_exeext
11640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11641 (eval $ac_link) 2>&5
11643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11644 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11646 (eval $ac_try) 2>&5
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); }; }; then
11650 ac_cv_sizeof_long_long
=`cat conftest.val`
11652 echo "$as_me: program exited with status $ac_status" >&5
11653 echo "$as_me: failed program was:" >&5
11654 sed 's/^/| /' conftest.
$ac_ext >&5
11656 ( exit $ac_status )
11657 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
11658 See \`config.log' for more details." >&5
11659 echo "$as_me: error: cannot compute sizeof (long long), 77
11660 See \`config.log' for more details." >&2;}
11661 { (exit 1); exit 1; }; }
11663 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11668 ac_cv_sizeof_long_long
=0
11671 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
11672 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
11673 cat >>confdefs.h
<<_ACEOF
11674 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
11678 echo "$as_me:$LINENO: checking for void *" >&5
11679 echo $ECHO_N "checking for void *... $ECHO_C" >&6
11680 if test "${ac_cv_type_void_p+set}" = set; then
11681 echo $ECHO_N "(cached) $ECHO_C" >&6
11683 cat >conftest.
$ac_ext <<_ACEOF
11686 cat confdefs.h
>>conftest.
$ac_ext
11687 cat >>conftest.
$ac_ext <<_ACEOF
11688 /* end confdefs.h. */
11689 $ac_includes_default
11695 if (sizeof (void *))
11701 rm -f conftest.
$ac_objext
11702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11703 (eval $ac_compile) 2>conftest.er1
11705 grep -v '^ *+' conftest.er1
>conftest.err
11707 cat conftest.err
>&5
11708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11709 (exit $ac_status); } &&
11710 { ac_try
='test -z "$ac_c_werror_flag"
11711 || test ! -s conftest.err'
11712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11713 (eval $ac_try) 2>&5
11715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11716 (exit $ac_status); }; } &&
11717 { ac_try
='test -s conftest.$ac_objext'
11718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11719 (eval $ac_try) 2>&5
11721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11722 (exit $ac_status); }; }; then
11723 ac_cv_type_void_p
=yes
11725 echo "$as_me: failed program was:" >&5
11726 sed 's/^/| /' conftest.
$ac_ext >&5
11728 ac_cv_type_void_p
=no
11730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11732 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
11733 echo "${ECHO_T}$ac_cv_type_void_p" >&6
11735 echo "$as_me:$LINENO: checking size of void *" >&5
11736 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
11737 if test "${ac_cv_sizeof_void_p+set}" = set; then
11738 echo $ECHO_N "(cached) $ECHO_C" >&6
11740 if test "$ac_cv_type_void_p" = yes; then
11741 # The cast to unsigned long works around a bug in the HP C Compiler
11742 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11743 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11744 # This bug is HP SR number 8606223364.
11745 if test "$cross_compiling" = yes; then
11746 # Depending upon the size, compute the lo and hi bounds.
11747 cat >conftest.
$ac_ext <<_ACEOF
11750 cat confdefs.h
>>conftest.
$ac_ext
11751 cat >>conftest.
$ac_ext <<_ACEOF
11752 /* end confdefs.h. */
11753 $ac_includes_default
11757 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
11764 rm -f conftest.
$ac_objext
11765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11766 (eval $ac_compile) 2>conftest.er1
11768 grep -v '^ *+' conftest.er1
>conftest.err
11770 cat conftest.err
>&5
11771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772 (exit $ac_status); } &&
11773 { ac_try
='test -z "$ac_c_werror_flag"
11774 || test ! -s conftest.err'
11775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11776 (eval $ac_try) 2>&5
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); }; } &&
11780 { ac_try
='test -s conftest.$ac_objext'
11781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11782 (eval $ac_try) 2>&5
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); }; }; then
11788 cat >conftest.
$ac_ext <<_ACEOF
11791 cat confdefs.h
>>conftest.
$ac_ext
11792 cat >>conftest.
$ac_ext <<_ACEOF
11793 /* end confdefs.h. */
11794 $ac_includes_default
11798 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
11805 rm -f conftest.
$ac_objext
11806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11807 (eval $ac_compile) 2>conftest.er1
11809 grep -v '^ *+' conftest.er1
>conftest.err
11811 cat conftest.err
>&5
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); } &&
11814 { ac_try
='test -z "$ac_c_werror_flag"
11815 || test ! -s conftest.err'
11816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11817 (eval $ac_try) 2>&5
11819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11820 (exit $ac_status); }; } &&
11821 { ac_try
='test -s conftest.$ac_objext'
11822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11823 (eval $ac_try) 2>&5
11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 (exit $ac_status); }; }; then
11827 ac_hi
=$ac_mid; break
11829 echo "$as_me: failed program was:" >&5
11830 sed 's/^/| /' conftest.
$ac_ext >&5
11832 ac_lo
=`expr $ac_mid + 1`
11833 if test $ac_lo -le $ac_mid; then
11837 ac_mid
=`expr 2 '*' $ac_mid + 1`
11839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11842 echo "$as_me: failed program was:" >&5
11843 sed 's/^/| /' conftest.
$ac_ext >&5
11845 cat >conftest.
$ac_ext <<_ACEOF
11848 cat confdefs.h
>>conftest.
$ac_ext
11849 cat >>conftest.
$ac_ext <<_ACEOF
11850 /* end confdefs.h. */
11851 $ac_includes_default
11855 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
11862 rm -f conftest.
$ac_objext
11863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11864 (eval $ac_compile) 2>conftest.er1
11866 grep -v '^ *+' conftest.er1
>conftest.err
11868 cat conftest.err
>&5
11869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870 (exit $ac_status); } &&
11871 { ac_try
='test -z "$ac_c_werror_flag"
11872 || test ! -s conftest.err'
11873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11874 (eval $ac_try) 2>&5
11876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11877 (exit $ac_status); }; } &&
11878 { ac_try
='test -s conftest.$ac_objext'
11879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11880 (eval $ac_try) 2>&5
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); }; }; then
11886 cat >conftest.
$ac_ext <<_ACEOF
11889 cat confdefs.h
>>conftest.
$ac_ext
11890 cat >>conftest.
$ac_ext <<_ACEOF
11891 /* end confdefs.h. */
11892 $ac_includes_default
11896 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
11903 rm -f conftest.
$ac_objext
11904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11905 (eval $ac_compile) 2>conftest.er1
11907 grep -v '^ *+' conftest.er1
>conftest.err
11909 cat conftest.err
>&5
11910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 (exit $ac_status); } &&
11912 { ac_try
='test -z "$ac_c_werror_flag"
11913 || test ! -s conftest.err'
11914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11915 (eval $ac_try) 2>&5
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); }; } &&
11919 { ac_try
='test -s conftest.$ac_objext'
11920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11921 (eval $ac_try) 2>&5
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); }; }; then
11925 ac_lo
=$ac_mid; break
11927 echo "$as_me: failed program was:" >&5
11928 sed 's/^/| /' conftest.
$ac_ext >&5
11930 ac_hi
=`expr '(' $ac_mid ')' - 1`
11931 if test $ac_mid -le $ac_hi; then
11935 ac_mid
=`expr 2 '*' $ac_mid`
11937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11940 echo "$as_me: failed program was:" >&5
11941 sed 's/^/| /' conftest.
$ac_ext >&5
11945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11948 # Binary search between lo and hi bounds.
11949 while test "x$ac_lo" != "x$ac_hi"; do
11950 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11951 cat >conftest.
$ac_ext <<_ACEOF
11954 cat confdefs.h
>>conftest.
$ac_ext
11955 cat >>conftest.
$ac_ext <<_ACEOF
11956 /* end confdefs.h. */
11957 $ac_includes_default
11961 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
11968 rm -f conftest.
$ac_objext
11969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11970 (eval $ac_compile) 2>conftest.er1
11972 grep -v '^ *+' conftest.er1
>conftest.err
11974 cat conftest.err
>&5
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); } &&
11977 { ac_try
='test -z "$ac_c_werror_flag"
11978 || test ! -s conftest.err'
11979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11980 (eval $ac_try) 2>&5
11982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983 (exit $ac_status); }; } &&
11984 { ac_try
='test -s conftest.$ac_objext'
11985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11986 (eval $ac_try) 2>&5
11988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 (exit $ac_status); }; }; then
11992 echo "$as_me: failed program was:" >&5
11993 sed 's/^/| /' conftest.
$ac_ext >&5
11995 ac_lo
=`expr '(' $ac_mid ')' + 1`
11997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12000 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
12001 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
12002 See \`config.log' for more details." >&5
12003 echo "$as_me: error: cannot compute sizeof (void *), 77
12004 See \`config.log' for more details." >&2;}
12005 { (exit 1); exit 1; }; } ;;
12008 if test "$cross_compiling" = yes; then
12009 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12010 See \`config.log' for more details." >&5
12011 echo "$as_me: error: cannot run test program while cross compiling
12012 See \`config.log' for more details." >&2;}
12013 { (exit 1); exit 1; }; }
12015 cat >conftest.
$ac_ext <<_ACEOF
12018 cat confdefs.h
>>conftest.
$ac_ext
12019 cat >>conftest.
$ac_ext <<_ACEOF
12020 /* end confdefs.h. */
12021 $ac_includes_default
12022 long longval () { return (long) (sizeof (void *)); }
12023 unsigned long ulongval () { return (long) (sizeof (void *)); }
12025 #include <stdlib.h>
12030 FILE *f = fopen ("conftest.val", "w");
12033 if (((long) (sizeof (void *))) < 0)
12035 long i = longval ();
12036 if (i != ((long) (sizeof (void *))))
12038 fprintf (f, "%ld\n", i);
12042 unsigned long i = ulongval ();
12043 if (i != ((long) (sizeof (void *))))
12045 fprintf (f, "%lu\n", i);
12047 exit (ferror (f) || fclose (f) != 0);
12053 rm -f conftest
$ac_exeext
12054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12055 (eval $ac_link) 2>&5
12057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12058 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12060 (eval $ac_try) 2>&5
12062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12063 (exit $ac_status); }; }; then
12064 ac_cv_sizeof_void_p
=`cat conftest.val`
12066 echo "$as_me: program exited with status $ac_status" >&5
12067 echo "$as_me: failed program was:" >&5
12068 sed 's/^/| /' conftest.
$ac_ext >&5
12070 ( exit $ac_status )
12071 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
12072 See \`config.log' for more details." >&5
12073 echo "$as_me: error: cannot compute sizeof (void *), 77
12074 See \`config.log' for more details." >&2;}
12075 { (exit 1); exit 1; }; }
12077 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12082 ac_cv_sizeof_void_p
=0
12085 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
12086 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
12087 cat >>confdefs.h
<<_ACEOF
12088 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
12092 echo "$as_me:$LINENO: checking for long" >&5
12093 echo $ECHO_N "checking for long... $ECHO_C" >&6
12094 if test "${ac_cv_type_long+set}" = set; then
12095 echo $ECHO_N "(cached) $ECHO_C" >&6
12097 cat >conftest.
$ac_ext <<_ACEOF
12100 cat confdefs.h
>>conftest.
$ac_ext
12101 cat >>conftest.
$ac_ext <<_ACEOF
12102 /* end confdefs.h. */
12103 $ac_includes_default
12115 rm -f conftest.
$ac_objext
12116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12117 (eval $ac_compile) 2>conftest.er1
12119 grep -v '^ *+' conftest.er1
>conftest.err
12121 cat conftest.err
>&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); } &&
12124 { ac_try
='test -z "$ac_c_werror_flag"
12125 || test ! -s conftest.err'
12126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12127 (eval $ac_try) 2>&5
12129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130 (exit $ac_status); }; } &&
12131 { ac_try
='test -s conftest.$ac_objext'
12132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12133 (eval $ac_try) 2>&5
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); }; }; then
12137 ac_cv_type_long
=yes
12139 echo "$as_me: failed program was:" >&5
12140 sed 's/^/| /' conftest.
$ac_ext >&5
12144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12146 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
12147 echo "${ECHO_T}$ac_cv_type_long" >&6
12149 echo "$as_me:$LINENO: checking size of long" >&5
12150 echo $ECHO_N "checking size of long... $ECHO_C" >&6
12151 if test "${ac_cv_sizeof_long+set}" = set; then
12152 echo $ECHO_N "(cached) $ECHO_C" >&6
12154 if test "$ac_cv_type_long" = yes; then
12155 # The cast to unsigned long works around a bug in the HP C Compiler
12156 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12157 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12158 # This bug is HP SR number 8606223364.
12159 if test "$cross_compiling" = yes; then
12160 # Depending upon the size, compute the lo and hi bounds.
12161 cat >conftest.
$ac_ext <<_ACEOF
12164 cat confdefs.h
>>conftest.
$ac_ext
12165 cat >>conftest.
$ac_ext <<_ACEOF
12166 /* end confdefs.h. */
12167 $ac_includes_default
12171 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
12178 rm -f conftest.
$ac_objext
12179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12180 (eval $ac_compile) 2>conftest.er1
12182 grep -v '^ *+' conftest.er1
>conftest.err
12184 cat conftest.err
>&5
12185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12186 (exit $ac_status); } &&
12187 { ac_try
='test -z "$ac_c_werror_flag"
12188 || test ! -s conftest.err'
12189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12190 (eval $ac_try) 2>&5
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); }; } &&
12194 { ac_try
='test -s conftest.$ac_objext'
12195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12196 (eval $ac_try) 2>&5
12198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12199 (exit $ac_status); }; }; then
12202 cat >conftest.
$ac_ext <<_ACEOF
12205 cat confdefs.h
>>conftest.
$ac_ext
12206 cat >>conftest.
$ac_ext <<_ACEOF
12207 /* end confdefs.h. */
12208 $ac_includes_default
12212 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12219 rm -f conftest.
$ac_objext
12220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12221 (eval $ac_compile) 2>conftest.er1
12223 grep -v '^ *+' conftest.er1
>conftest.err
12225 cat conftest.err
>&5
12226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227 (exit $ac_status); } &&
12228 { ac_try
='test -z "$ac_c_werror_flag"
12229 || test ! -s conftest.err'
12230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12231 (eval $ac_try) 2>&5
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); }; } &&
12235 { ac_try
='test -s conftest.$ac_objext'
12236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12237 (eval $ac_try) 2>&5
12239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); }; }; then
12241 ac_hi
=$ac_mid; break
12243 echo "$as_me: failed program was:" >&5
12244 sed 's/^/| /' conftest.
$ac_ext >&5
12246 ac_lo
=`expr $ac_mid + 1`
12247 if test $ac_lo -le $ac_mid; then
12251 ac_mid
=`expr 2 '*' $ac_mid + 1`
12253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12256 echo "$as_me: failed program was:" >&5
12257 sed 's/^/| /' conftest.
$ac_ext >&5
12259 cat >conftest.
$ac_ext <<_ACEOF
12262 cat confdefs.h
>>conftest.
$ac_ext
12263 cat >>conftest.
$ac_ext <<_ACEOF
12264 /* end confdefs.h. */
12265 $ac_includes_default
12269 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
12276 rm -f conftest.
$ac_objext
12277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12278 (eval $ac_compile) 2>conftest.er1
12280 grep -v '^ *+' conftest.er1
>conftest.err
12282 cat conftest.err
>&5
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); } &&
12285 { ac_try
='test -z "$ac_c_werror_flag"
12286 || 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
12300 cat >conftest.
$ac_ext <<_ACEOF
12303 cat confdefs.h
>>conftest.
$ac_ext
12304 cat >>conftest.
$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12306 $ac_includes_default
12310 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
12317 rm -f conftest.
$ac_objext
12318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12319 (eval $ac_compile) 2>conftest.er1
12321 grep -v '^ *+' conftest.er1
>conftest.err
12323 cat conftest.err
>&5
12324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12325 (exit $ac_status); } &&
12326 { ac_try
='test -z "$ac_c_werror_flag"
12327 || test ! -s conftest.err'
12328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12329 (eval $ac_try) 2>&5
12331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12332 (exit $ac_status); }; } &&
12333 { ac_try
='test -s conftest.$ac_objext'
12334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12335 (eval $ac_try) 2>&5
12337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338 (exit $ac_status); }; }; then
12339 ac_lo
=$ac_mid; break
12341 echo "$as_me: failed program was:" >&5
12342 sed 's/^/| /' conftest.
$ac_ext >&5
12344 ac_hi
=`expr '(' $ac_mid ')' - 1`
12345 if test $ac_mid -le $ac_hi; then
12349 ac_mid
=`expr 2 '*' $ac_mid`
12351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12354 echo "$as_me: failed program was:" >&5
12355 sed 's/^/| /' conftest.
$ac_ext >&5
12359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12362 # Binary search between lo and hi bounds.
12363 while test "x$ac_lo" != "x$ac_hi"; do
12364 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12365 cat >conftest.
$ac_ext <<_ACEOF
12368 cat confdefs.h
>>conftest.
$ac_ext
12369 cat >>conftest.
$ac_ext <<_ACEOF
12370 /* end confdefs.h. */
12371 $ac_includes_default
12375 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12382 rm -f conftest.
$ac_objext
12383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12384 (eval $ac_compile) 2>conftest.er1
12386 grep -v '^ *+' conftest.er1
>conftest.err
12388 cat conftest.err
>&5
12389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390 (exit $ac_status); } &&
12391 { ac_try
='test -z "$ac_c_werror_flag"
12392 || test ! -s conftest.err'
12393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12394 (eval $ac_try) 2>&5
12396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12397 (exit $ac_status); }; } &&
12398 { ac_try
='test -s conftest.$ac_objext'
12399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12400 (eval $ac_try) 2>&5
12402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); }; }; then
12406 echo "$as_me: failed program was:" >&5
12407 sed 's/^/| /' conftest.
$ac_ext >&5
12409 ac_lo
=`expr '(' $ac_mid ')' + 1`
12411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12414 ?
*) ac_cv_sizeof_long
=$ac_lo;;
12415 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12416 See \`config.log' for more details." >&5
12417 echo "$as_me: error: cannot compute sizeof (long), 77
12418 See \`config.log' for more details." >&2;}
12419 { (exit 1); exit 1; }; } ;;
12422 if test "$cross_compiling" = yes; then
12423 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12424 See \`config.log' for more details." >&5
12425 echo "$as_me: error: cannot run test program while cross compiling
12426 See \`config.log' for more details." >&2;}
12427 { (exit 1); exit 1; }; }
12429 cat >conftest.
$ac_ext <<_ACEOF
12432 cat confdefs.h
>>conftest.
$ac_ext
12433 cat >>conftest.
$ac_ext <<_ACEOF
12434 /* end confdefs.h. */
12435 $ac_includes_default
12436 long longval () { return (long) (sizeof (long)); }
12437 unsigned long ulongval () { return (long) (sizeof (long)); }
12439 #include <stdlib.h>
12444 FILE *f = fopen ("conftest.val", "w");
12447 if (((long) (sizeof (long))) < 0)
12449 long i = longval ();
12450 if (i != ((long) (sizeof (long))))
12452 fprintf (f, "%ld\n", i);
12456 unsigned long i = ulongval ();
12457 if (i != ((long) (sizeof (long))))
12459 fprintf (f, "%lu\n", i);
12461 exit (ferror (f) || fclose (f) != 0);
12467 rm -f conftest
$ac_exeext
12468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12469 (eval $ac_link) 2>&5
12471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12474 (eval $ac_try) 2>&5
12476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 (exit $ac_status); }; }; then
12478 ac_cv_sizeof_long
=`cat conftest.val`
12480 echo "$as_me: program exited with status $ac_status" >&5
12481 echo "$as_me: failed program was:" >&5
12482 sed 's/^/| /' conftest.
$ac_ext >&5
12484 ( exit $ac_status )
12485 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12486 See \`config.log' for more details." >&5
12487 echo "$as_me: error: cannot compute sizeof (long), 77
12488 See \`config.log' for more details." >&2;}
12489 { (exit 1); exit 1; }; }
12491 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12496 ac_cv_sizeof_long
=0
12499 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
12500 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
12501 cat >>confdefs.h
<<_ACEOF
12502 #define SIZEOF_LONG $ac_cv_sizeof_long
12507 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
12511 if test "x${ac_cv_sizeof_long}" = "x8"; then
12512 BFD_HOST_64BIT_LONG
=1
12513 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long"
12514 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long"
12515 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
12516 BFD_HOST_64BIT_LONG_LONG
=1
12517 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long long"
12518 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long long"
12519 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
12520 BFD_HOSTPTR_T
="unsigned long long"
12524 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
12525 BFD_HOST_64_BIT_DEFINED
=1
12526 BFD_HOST_64_BIT
="${HOST_64BIT_TYPE}"
12527 BFD_HOST_U_64_BIT
="${HOST_U_64BIT_TYPE}"
12537 # Put a plausible default for CC_FOR_BUILD in Makefile.
12538 if test -z "$CC_FOR_BUILD"; then
12539 if test "x$cross_compiling" = "xno"; then
12540 CC_FOR_BUILD
='$(CC)'
12546 # Also set EXEEXT_FOR_BUILD.
12547 if test "x$cross_compiling" = "xno"; then
12548 EXEEXT_FOR_BUILD
='$(EXEEXT)'
12550 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
12551 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
12552 if test "${bfd_cv_build_exeext+set}" = set; then
12553 echo $ECHO_N "(cached) $ECHO_C" >&6
12556 echo 'int main () { return 0; }' > conftest.c
12557 bfd_cv_build_exeext
=
12558 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
12559 for file in conftest.
*; do
12561 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
12562 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
12566 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
12568 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
12569 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
12570 EXEEXT_FOR_BUILD
=""
12571 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
12582 for ac_header
in alloca.h stddef.h string.h
strings.h stdlib.h
time.h unistd.h
12584 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12586 echo "$as_me:$LINENO: checking for $ac_header" >&5
12587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12589 echo $ECHO_N "(cached) $ECHO_C" >&6
12591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12594 # Is the header compilable?
12595 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12596 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
12604 #include <$ac_header>
12606 rm -f conftest.
$ac_objext
12607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12608 (eval $ac_compile) 2>conftest.er1
12610 grep -v '^ *+' conftest.er1
>conftest.err
12612 cat conftest.err
>&5
12613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12614 (exit $ac_status); } &&
12615 { ac_try
='test -z "$ac_c_werror_flag"
12616 || test ! -s conftest.err'
12617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12618 (eval $ac_try) 2>&5
12620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); }; } &&
12622 { ac_try
='test -s conftest.$ac_objext'
12623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12624 (eval $ac_try) 2>&5
12626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); }; }; then
12628 ac_header_compiler
=yes
12630 echo "$as_me: failed program was:" >&5
12631 sed 's/^/| /' conftest.
$ac_ext >&5
12633 ac_header_compiler
=no
12635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12636 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12637 echo "${ECHO_T}$ac_header_compiler" >&6
12639 # Is the header present?
12640 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12641 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12642 cat >conftest.
$ac_ext <<_ACEOF
12645 cat confdefs.h
>>conftest.
$ac_ext
12646 cat >>conftest.
$ac_ext <<_ACEOF
12647 /* end confdefs.h. */
12648 #include <$ac_header>
12650 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12651 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12653 grep -v '^ *+' conftest.er1
>conftest.err
12655 cat conftest.err
>&5
12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); } >/dev
/null
; then
12658 if test -s conftest.err
; then
12659 ac_cpp_err
=$ac_c_preproc_warn_flag
12660 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12667 if test -z "$ac_cpp_err"; then
12668 ac_header_preproc
=yes
12670 echo "$as_me: failed program was:" >&5
12671 sed 's/^/| /' conftest.
$ac_ext >&5
12673 ac_header_preproc
=no
12675 rm -f conftest.err conftest.
$ac_ext
12676 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12677 echo "${ECHO_T}$ac_header_preproc" >&6
12679 # So? What about this header?
12680 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12682 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12683 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12684 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12685 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12686 ac_header_preproc
=yes
12689 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12690 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12691 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12692 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12693 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12694 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12695 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12696 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12697 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12698 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12699 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12700 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12703 ## ------------------------------------------ ##
12704 ## Report this to the AC_PACKAGE_NAME lists. ##
12705 ## ------------------------------------------ ##
12708 sed "s/^/$as_me: WARNING: /" >&2
12711 echo "$as_me:$LINENO: checking for $ac_header" >&5
12712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12714 echo $ECHO_N "(cached) $ECHO_C" >&6
12716 eval "$as_ac_Header=\$ac_header_preproc"
12718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12722 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12723 cat >>confdefs.h
<<_ACEOF
12724 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12734 for ac_header
in fcntl.h sys
/file.h sys
/time.h
12736 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12738 echo "$as_me:$LINENO: checking for $ac_header" >&5
12739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12741 echo $ECHO_N "(cached) $ECHO_C" >&6
12743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12746 # Is the header compilable?
12747 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12748 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12749 cat >conftest.
$ac_ext <<_ACEOF
12752 cat confdefs.h
>>conftest.
$ac_ext
12753 cat >>conftest.
$ac_ext <<_ACEOF
12754 /* end confdefs.h. */
12755 $ac_includes_default
12756 #include <$ac_header>
12758 rm -f conftest.
$ac_objext
12759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12760 (eval $ac_compile) 2>conftest.er1
12762 grep -v '^ *+' conftest.er1
>conftest.err
12764 cat conftest.err
>&5
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); } &&
12767 { ac_try
='test -z "$ac_c_werror_flag"
12768 || test ! -s conftest.err'
12769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12770 (eval $ac_try) 2>&5
12772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12773 (exit $ac_status); }; } &&
12774 { ac_try
='test -s conftest.$ac_objext'
12775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12776 (eval $ac_try) 2>&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); }; }; then
12780 ac_header_compiler
=yes
12782 echo "$as_me: failed program was:" >&5
12783 sed 's/^/| /' conftest.
$ac_ext >&5
12785 ac_header_compiler
=no
12787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12788 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12789 echo "${ECHO_T}$ac_header_compiler" >&6
12791 # Is the header present?
12792 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12793 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12794 cat >conftest.
$ac_ext <<_ACEOF
12797 cat confdefs.h
>>conftest.
$ac_ext
12798 cat >>conftest.
$ac_ext <<_ACEOF
12799 /* end confdefs.h. */
12800 #include <$ac_header>
12802 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12803 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12805 grep -v '^ *+' conftest.er1
>conftest.err
12807 cat conftest.err
>&5
12808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12809 (exit $ac_status); } >/dev
/null
; then
12810 if test -s conftest.err
; then
12811 ac_cpp_err
=$ac_c_preproc_warn_flag
12812 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12819 if test -z "$ac_cpp_err"; then
12820 ac_header_preproc
=yes
12822 echo "$as_me: failed program was:" >&5
12823 sed 's/^/| /' conftest.
$ac_ext >&5
12825 ac_header_preproc
=no
12827 rm -f conftest.err conftest.
$ac_ext
12828 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12829 echo "${ECHO_T}$ac_header_preproc" >&6
12831 # So? What about this header?
12832 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12834 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12835 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12837 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12838 ac_header_preproc
=yes
12841 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12842 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12843 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12844 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12845 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12846 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12847 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12848 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12850 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12851 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12852 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12855 ## ------------------------------------------ ##
12856 ## Report this to the AC_PACKAGE_NAME lists. ##
12857 ## ------------------------------------------ ##
12860 sed "s/^/$as_me: WARNING: /" >&2
12863 echo "$as_me:$LINENO: checking for $ac_header" >&5
12864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12866 echo $ECHO_N "(cached) $ECHO_C" >&6
12868 eval "$as_ac_Header=\$ac_header_preproc"
12870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12871 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12874 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12875 cat >>confdefs.h
<<_ACEOF
12876 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12885 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
12887 acx_cv_header_stdint
=stddef.h
12888 acx_cv_header_stdint_kind
="(already complete)"
12889 for i
in stdint.h
$inttype_headers; do
12890 unset ac_cv_type_uintptr_t
12891 unset ac_cv_type_uintmax_t
12892 unset ac_cv_type_int_least32_t
12893 unset ac_cv_type_int_fast32_t
12894 unset ac_cv_type_uint64_t
12895 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
12896 echo "$as_me:$LINENO: checking for uintmax_t" >&5
12897 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
12898 if test "${ac_cv_type_uintmax_t+set}" = set; then
12899 echo $ECHO_N "(cached) $ECHO_C" >&6
12901 cat >conftest.
$ac_ext <<_ACEOF
12904 cat confdefs.h
>>conftest.
$ac_ext
12905 cat >>conftest.
$ac_ext <<_ACEOF
12906 /* end confdefs.h. */
12907 #include <sys/types.h>
12913 if ((uintmax_t *) 0)
12915 if (sizeof (uintmax_t))
12921 rm -f conftest.
$ac_objext
12922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12923 (eval $ac_compile) 2>conftest.er1
12925 grep -v '^ *+' conftest.er1
>conftest.err
12927 cat conftest.err
>&5
12928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12929 (exit $ac_status); } &&
12930 { ac_try
='test -z "$ac_c_werror_flag"
12931 || test ! -s conftest.err'
12932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12933 (eval $ac_try) 2>&5
12935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936 (exit $ac_status); }; } &&
12937 { ac_try
='test -s conftest.$ac_objext'
12938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12939 (eval $ac_try) 2>&5
12941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12942 (exit $ac_status); }; }; then
12943 ac_cv_type_uintmax_t
=yes
12945 echo "$as_me: failed program was:" >&5
12946 sed 's/^/| /' conftest.
$ac_ext >&5
12948 ac_cv_type_uintmax_t
=no
12950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12952 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
12953 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
12954 if test $ac_cv_type_uintmax_t = yes; then
12955 acx_cv_header_stdint
=$i
12960 echo "$as_me:$LINENO: checking for uintptr_t" >&5
12961 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
12962 if test "${ac_cv_type_uintptr_t+set}" = set; then
12963 echo $ECHO_N "(cached) $ECHO_C" >&6
12965 cat >conftest.
$ac_ext <<_ACEOF
12968 cat confdefs.h
>>conftest.
$ac_ext
12969 cat >>conftest.
$ac_ext <<_ACEOF
12970 /* end confdefs.h. */
12971 #include <sys/types.h>
12977 if ((uintptr_t *) 0)
12979 if (sizeof (uintptr_t))
12985 rm -f conftest.
$ac_objext
12986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12987 (eval $ac_compile) 2>conftest.er1
12989 grep -v '^ *+' conftest.er1
>conftest.err
12991 cat conftest.err
>&5
12992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 (exit $ac_status); } &&
12994 { ac_try
='test -z "$ac_c_werror_flag"
12995 || test ! -s conftest.err'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; } &&
13001 { ac_try
='test -s conftest.$ac_objext'
13002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13003 (eval $ac_try) 2>&5
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); }; }; then
13007 ac_cv_type_uintptr_t
=yes
13009 echo "$as_me: failed program was:" >&5
13010 sed 's/^/| /' conftest.
$ac_ext >&5
13012 ac_cv_type_uintptr_t
=no
13014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13016 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
13017 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
13018 if test $ac_cv_type_uintptr_t = yes; then
13021 acx_cv_header_stdint_kind
="(mostly complete)"
13024 echo "$as_me:$LINENO: checking for int_least32_t" >&5
13025 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
13026 if test "${ac_cv_type_int_least32_t+set}" = set; then
13027 echo $ECHO_N "(cached) $ECHO_C" >&6
13029 cat >conftest.
$ac_ext <<_ACEOF
13032 cat confdefs.h
>>conftest.
$ac_ext
13033 cat >>conftest.
$ac_ext <<_ACEOF
13034 /* end confdefs.h. */
13035 #include <sys/types.h>
13041 if ((int_least32_t *) 0)
13043 if (sizeof (int_least32_t))
13049 rm -f conftest.
$ac_objext
13050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13051 (eval $ac_compile) 2>conftest.er1
13053 grep -v '^ *+' conftest.er1
>conftest.err
13055 cat conftest.err
>&5
13056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057 (exit $ac_status); } &&
13058 { ac_try
='test -z "$ac_c_werror_flag"
13059 || test ! -s conftest.err'
13060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13061 (eval $ac_try) 2>&5
13063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 (exit $ac_status); }; } &&
13065 { ac_try
='test -s conftest.$ac_objext'
13066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13067 (eval $ac_try) 2>&5
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); }; }; then
13071 ac_cv_type_int_least32_t
=yes
13073 echo "$as_me: failed program was:" >&5
13074 sed 's/^/| /' conftest.
$ac_ext >&5
13076 ac_cv_type_int_least32_t
=no
13078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13080 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
13081 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
13082 if test $ac_cv_type_int_least32_t = yes; then
13085 acx_cv_header_stdint_kind
="(mostly complete)"
13088 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
13089 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
13090 if test "${ac_cv_type_int_fast32_t+set}" = set; then
13091 echo $ECHO_N "(cached) $ECHO_C" >&6
13093 cat >conftest.
$ac_ext <<_ACEOF
13096 cat confdefs.h
>>conftest.
$ac_ext
13097 cat >>conftest.
$ac_ext <<_ACEOF
13098 /* end confdefs.h. */
13099 #include <sys/types.h>
13105 if ((int_fast32_t *) 0)
13107 if (sizeof (int_fast32_t))
13113 rm -f conftest.
$ac_objext
13114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13115 (eval $ac_compile) 2>conftest.er1
13117 grep -v '^ *+' conftest.er1
>conftest.err
13119 cat conftest.err
>&5
13120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13121 (exit $ac_status); } &&
13122 { ac_try
='test -z "$ac_c_werror_flag"
13123 || test ! -s conftest.err'
13124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13125 (eval $ac_try) 2>&5
13127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13128 (exit $ac_status); }; } &&
13129 { ac_try
='test -s conftest.$ac_objext'
13130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13131 (eval $ac_try) 2>&5
13133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13134 (exit $ac_status); }; }; then
13135 ac_cv_type_int_fast32_t
=yes
13137 echo "$as_me: failed program was:" >&5
13138 sed 's/^/| /' conftest.
$ac_ext >&5
13140 ac_cv_type_int_fast32_t
=no
13142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13144 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
13145 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
13146 if test $ac_cv_type_int_fast32_t = yes; then
13149 acx_cv_header_stdint_kind
="(mostly complete)"
13152 echo "$as_me:$LINENO: checking for uint64_t" >&5
13153 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
13154 if test "${ac_cv_type_uint64_t+set}" = set; then
13155 echo $ECHO_N "(cached) $ECHO_C" >&6
13157 cat >conftest.
$ac_ext <<_ACEOF
13160 cat confdefs.h
>>conftest.
$ac_ext
13161 cat >>conftest.
$ac_ext <<_ACEOF
13162 /* end confdefs.h. */
13163 #include <sys/types.h>
13169 if ((uint64_t *) 0)
13171 if (sizeof (uint64_t))
13177 rm -f conftest.
$ac_objext
13178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13179 (eval $ac_compile) 2>conftest.er1
13181 grep -v '^ *+' conftest.er1
>conftest.err
13183 cat conftest.err
>&5
13184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13185 (exit $ac_status); } &&
13186 { ac_try
='test -z "$ac_c_werror_flag"
13187 || test ! -s conftest.err'
13188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13189 (eval $ac_try) 2>&5
13191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13192 (exit $ac_status); }; } &&
13193 { ac_try
='test -s conftest.$ac_objext'
13194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13195 (eval $ac_try) 2>&5
13197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13198 (exit $ac_status); }; }; then
13199 ac_cv_type_uint64_t
=yes
13201 echo "$as_me: failed program was:" >&5
13202 sed 's/^/| /' conftest.
$ac_ext >&5
13204 ac_cv_type_uint64_t
=no
13206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13208 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
13209 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
13210 if test $ac_cv_type_uint64_t = yes; then
13213 acx_cv_header_stdint_kind
="(lacks uint64_t)"
13218 if test "$acx_cv_header_stdint" = stddef.h
; then
13219 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
13220 for i
in stdint.h
$inttype_headers; do
13221 unset ac_cv_type_uintptr_t
13222 unset ac_cv_type_uint32_t
13223 unset ac_cv_type_uint64_t
13224 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
13225 echo "$as_me:$LINENO: checking for uint32_t" >&5
13226 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
13227 if test "${ac_cv_type_uint32_t+set}" = set; then
13228 echo $ECHO_N "(cached) $ECHO_C" >&6
13230 cat >conftest.
$ac_ext <<_ACEOF
13233 cat confdefs.h
>>conftest.
$ac_ext
13234 cat >>conftest.
$ac_ext <<_ACEOF
13235 /* end confdefs.h. */
13236 #include <sys/types.h>
13242 if ((uint32_t *) 0)
13244 if (sizeof (uint32_t))
13250 rm -f conftest.
$ac_objext
13251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13252 (eval $ac_compile) 2>conftest.er1
13254 grep -v '^ *+' conftest.er1
>conftest.err
13256 cat conftest.err
>&5
13257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13258 (exit $ac_status); } &&
13259 { ac_try
='test -z "$ac_c_werror_flag"
13260 || test ! -s conftest.err'
13261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13262 (eval $ac_try) 2>&5
13264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13265 (exit $ac_status); }; } &&
13266 { ac_try
='test -s conftest.$ac_objext'
13267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13268 (eval $ac_try) 2>&5
13270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13271 (exit $ac_status); }; }; then
13272 ac_cv_type_uint32_t
=yes
13274 echo "$as_me: failed program was:" >&5
13275 sed 's/^/| /' conftest.
$ac_ext >&5
13277 ac_cv_type_uint32_t
=no
13279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13281 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
13282 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
13283 if test $ac_cv_type_uint32_t = yes; then
13284 acx_cv_header_stdint
=$i
13289 echo "$as_me:$LINENO: checking for uint64_t" >&5
13290 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
13291 if test "${ac_cv_type_uint64_t+set}" = set; then
13292 echo $ECHO_N "(cached) $ECHO_C" >&6
13294 cat >conftest.
$ac_ext <<_ACEOF
13297 cat confdefs.h
>>conftest.
$ac_ext
13298 cat >>conftest.
$ac_ext <<_ACEOF
13299 /* end confdefs.h. */
13300 #include <sys/types.h>
13306 if ((uint64_t *) 0)
13308 if (sizeof (uint64_t))
13314 rm -f conftest.
$ac_objext
13315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13316 (eval $ac_compile) 2>conftest.er1
13318 grep -v '^ *+' conftest.er1
>conftest.err
13320 cat conftest.err
>&5
13321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13322 (exit $ac_status); } &&
13323 { ac_try
='test -z "$ac_c_werror_flag"
13324 || test ! -s conftest.err'
13325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13326 (eval $ac_try) 2>&5
13328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13329 (exit $ac_status); }; } &&
13330 { ac_try
='test -s conftest.$ac_objext'
13331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13332 (eval $ac_try) 2>&5
13334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13335 (exit $ac_status); }; }; then
13336 ac_cv_type_uint64_t
=yes
13338 echo "$as_me: failed program was:" >&5
13339 sed 's/^/| /' conftest.
$ac_ext >&5
13341 ac_cv_type_uint64_t
=no
13343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13345 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
13346 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
13348 echo "$as_me:$LINENO: checking for uintptr_t" >&5
13349 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
13350 if test "${ac_cv_type_uintptr_t+set}" = set; then
13351 echo $ECHO_N "(cached) $ECHO_C" >&6
13353 cat >conftest.
$ac_ext <<_ACEOF
13356 cat confdefs.h
>>conftest.
$ac_ext
13357 cat >>conftest.
$ac_ext <<_ACEOF
13358 /* end confdefs.h. */
13359 #include <sys/types.h>
13365 if ((uintptr_t *) 0)
13367 if (sizeof (uintptr_t))
13373 rm -f conftest.
$ac_objext
13374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13375 (eval $ac_compile) 2>conftest.er1
13377 grep -v '^ *+' conftest.er1
>conftest.err
13379 cat conftest.err
>&5
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); } &&
13382 { ac_try
='test -z "$ac_c_werror_flag"
13383 || test ! -s conftest.err'
13384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13385 (eval $ac_try) 2>&5
13387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13388 (exit $ac_status); }; } &&
13389 { ac_try
='test -s conftest.$ac_objext'
13390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13391 (eval $ac_try) 2>&5
13393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13394 (exit $ac_status); }; }; then
13395 ac_cv_type_uintptr_t
=yes
13397 echo "$as_me: failed program was:" >&5
13398 sed 's/^/| /' conftest.
$ac_ext >&5
13400 ac_cv_type_uintptr_t
=no
13402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13404 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
13405 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
13410 if test "$acx_cv_header_stdint" = stddef.h
; then
13411 acx_cv_header_stdint_kind
="(u_intXX_t style)"
13412 for i
in sys
/types.h
$inttype_headers; do
13413 unset ac_cv_type_u_int32_t
13414 unset ac_cv_type_u_int64_t
13415 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
13416 echo "$as_me:$LINENO: checking for u_int32_t" >&5
13417 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
13418 if test "${ac_cv_type_u_int32_t+set}" = set; then
13419 echo $ECHO_N "(cached) $ECHO_C" >&6
13421 cat >conftest.
$ac_ext <<_ACEOF
13424 cat confdefs.h
>>conftest.
$ac_ext
13425 cat >>conftest.
$ac_ext <<_ACEOF
13426 /* end confdefs.h. */
13427 #include <sys/types.h>
13433 if ((u_int32_t *) 0)
13435 if (sizeof (u_int32_t))
13441 rm -f conftest.
$ac_objext
13442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13443 (eval $ac_compile) 2>conftest.er1
13445 grep -v '^ *+' conftest.er1
>conftest.err
13447 cat conftest.err
>&5
13448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); } &&
13450 { ac_try
='test -z "$ac_c_werror_flag"
13451 || test ! -s conftest.err'
13452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13453 (eval $ac_try) 2>&5
13455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13456 (exit $ac_status); }; } &&
13457 { ac_try
='test -s conftest.$ac_objext'
13458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13459 (eval $ac_try) 2>&5
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); }; }; then
13463 ac_cv_type_u_int32_t
=yes
13465 echo "$as_me: failed program was:" >&5
13466 sed 's/^/| /' conftest.
$ac_ext >&5
13468 ac_cv_type_u_int32_t
=no
13470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13472 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
13473 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
13474 if test $ac_cv_type_u_int32_t = yes; then
13475 acx_cv_header_stdint
=$i
13480 echo "$as_me:$LINENO: checking for u_int64_t" >&5
13481 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
13482 if test "${ac_cv_type_u_int64_t+set}" = set; then
13483 echo $ECHO_N "(cached) $ECHO_C" >&6
13485 cat >conftest.
$ac_ext <<_ACEOF
13488 cat confdefs.h
>>conftest.
$ac_ext
13489 cat >>conftest.
$ac_ext <<_ACEOF
13490 /* end confdefs.h. */
13491 #include <sys/types.h>
13497 if ((u_int64_t *) 0)
13499 if (sizeof (u_int64_t))
13505 rm -f conftest.
$ac_objext
13506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13507 (eval $ac_compile) 2>conftest.er1
13509 grep -v '^ *+' conftest.er1
>conftest.err
13511 cat conftest.err
>&5
13512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13513 (exit $ac_status); } &&
13514 { ac_try
='test -z "$ac_c_werror_flag"
13515 || test ! -s conftest.err'
13516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13517 (eval $ac_try) 2>&5
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); }; } &&
13521 { ac_try
='test -s conftest.$ac_objext'
13522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13523 (eval $ac_try) 2>&5
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); }; }; then
13527 ac_cv_type_u_int64_t
=yes
13529 echo "$as_me: failed program was:" >&5
13530 sed 's/^/| /' conftest.
$ac_ext >&5
13532 ac_cv_type_u_int64_t
=no
13534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13536 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
13537 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
13542 if test "$acx_cv_header_stdint" = stddef.h
; then
13543 acx_cv_header_stdint_kind
="(using manual detection)"
13546 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
13547 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
13548 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
13549 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
13550 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
13552 # ----------------- Summarize what we found so far
13554 echo "$as_me:$LINENO: checking what to include in bfd_stdint.h" >&5
13555 echo $ECHO_N "checking what to include in bfd_stdint.h... $ECHO_C" >&6
13557 case `$as_basename bfd_stdint.h ||
13558 $as_expr X/bfd_stdint.h : '.*/\([^/][^/]*\)/*$' \| \
13559 Xbfd_stdint.h : 'X\(//\)$' \| \
13560 Xbfd_stdint.h : 'X\(/\)$' \| \
13561 . : '\(.\)' 2>/dev/null ||
13562 echo X/bfd_stdint.h |
13563 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13564 /^X\/\(\/\/\)$/{ s//\1/; q; }
13565 /^X\/\(\/\).*/{ s//\1/; q; }
13567 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
13568 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
13569 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
13570 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
13574 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
13575 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
13577 # ----------------- done included file, check C basic types --------
13579 # Lacking an uintptr_t? Test size of void *
13580 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
13581 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
13582 echo $ECHO_N "checking for void *... $ECHO_C" >&6
13583 if test "${ac_cv_type_void_p+set}" = set; then
13584 echo $ECHO_N "(cached) $ECHO_C" >&6
13586 cat >conftest.
$ac_ext <<_ACEOF
13589 cat confdefs.h
>>conftest.
$ac_ext
13590 cat >>conftest.
$ac_ext <<_ACEOF
13591 /* end confdefs.h. */
13592 $ac_includes_default
13598 if (sizeof (void *))
13604 rm -f conftest.
$ac_objext
13605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13606 (eval $ac_compile) 2>conftest.er1
13608 grep -v '^ *+' conftest.er1
>conftest.err
13610 cat conftest.err
>&5
13611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612 (exit $ac_status); } &&
13613 { ac_try
='test -z "$ac_c_werror_flag"
13614 || test ! -s conftest.err'
13615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13616 (eval $ac_try) 2>&5
13618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13619 (exit $ac_status); }; } &&
13620 { ac_try
='test -s conftest.$ac_objext'
13621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13622 (eval $ac_try) 2>&5
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); }; }; then
13626 ac_cv_type_void_p
=yes
13628 echo "$as_me: failed program was:" >&5
13629 sed 's/^/| /' conftest.
$ac_ext >&5
13631 ac_cv_type_void_p
=no
13633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13635 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
13636 echo "${ECHO_T}$ac_cv_type_void_p" >&6
13638 echo "$as_me:$LINENO: checking size of void *" >&5
13639 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
13640 if test "${ac_cv_sizeof_void_p+set}" = set; then
13641 echo $ECHO_N "(cached) $ECHO_C" >&6
13643 if test "$ac_cv_type_void_p" = yes; then
13644 # The cast to unsigned long works around a bug in the HP C Compiler
13645 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13646 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13647 # This bug is HP SR number 8606223364.
13648 if test "$cross_compiling" = yes; then
13649 # Depending upon the size, compute the lo and hi bounds.
13650 cat >conftest.
$ac_ext <<_ACEOF
13653 cat confdefs.h
>>conftest.
$ac_ext
13654 cat >>conftest.
$ac_ext <<_ACEOF
13655 /* end confdefs.h. */
13656 $ac_includes_default
13660 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
13667 rm -f conftest.
$ac_objext
13668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13669 (eval $ac_compile) 2>conftest.er1
13671 grep -v '^ *+' conftest.er1
>conftest.err
13673 cat conftest.err
>&5
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); } &&
13676 { ac_try
='test -z "$ac_c_werror_flag"
13677 || test ! -s conftest.err'
13678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13679 (eval $ac_try) 2>&5
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); }; } &&
13683 { ac_try
='test -s conftest.$ac_objext'
13684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13685 (eval $ac_try) 2>&5
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 (exit $ac_status); }; }; then
13691 cat >conftest.
$ac_ext <<_ACEOF
13694 cat confdefs.h
>>conftest.
$ac_ext
13695 cat >>conftest.
$ac_ext <<_ACEOF
13696 /* end confdefs.h. */
13697 $ac_includes_default
13701 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
13708 rm -f conftest.
$ac_objext
13709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13710 (eval $ac_compile) 2>conftest.er1
13712 grep -v '^ *+' conftest.er1
>conftest.err
13714 cat conftest.err
>&5
13715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13716 (exit $ac_status); } &&
13717 { ac_try
='test -z "$ac_c_werror_flag"
13718 || test ! -s conftest.err'
13719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13720 (eval $ac_try) 2>&5
13722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 (exit $ac_status); }; } &&
13724 { ac_try
='test -s conftest.$ac_objext'
13725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13726 (eval $ac_try) 2>&5
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); }; }; then
13730 ac_hi
=$ac_mid; break
13732 echo "$as_me: failed program was:" >&5
13733 sed 's/^/| /' conftest.
$ac_ext >&5
13735 ac_lo
=`expr $ac_mid + 1`
13736 if test $ac_lo -le $ac_mid; then
13740 ac_mid
=`expr 2 '*' $ac_mid + 1`
13742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13745 echo "$as_me: failed program was:" >&5
13746 sed 's/^/| /' conftest.
$ac_ext >&5
13748 cat >conftest.
$ac_ext <<_ACEOF
13751 cat confdefs.h
>>conftest.
$ac_ext
13752 cat >>conftest.
$ac_ext <<_ACEOF
13753 /* end confdefs.h. */
13754 $ac_includes_default
13758 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
13765 rm -f conftest.
$ac_objext
13766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13767 (eval $ac_compile) 2>conftest.er1
13769 grep -v '^ *+' conftest.er1
>conftest.err
13771 cat conftest.err
>&5
13772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13773 (exit $ac_status); } &&
13774 { ac_try
='test -z "$ac_c_werror_flag"
13775 || test ! -s conftest.err'
13776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13777 (eval $ac_try) 2>&5
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); }; } &&
13781 { ac_try
='test -s conftest.$ac_objext'
13782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13783 (eval $ac_try) 2>&5
13785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786 (exit $ac_status); }; }; then
13789 cat >conftest.
$ac_ext <<_ACEOF
13792 cat confdefs.h
>>conftest.
$ac_ext
13793 cat >>conftest.
$ac_ext <<_ACEOF
13794 /* end confdefs.h. */
13795 $ac_includes_default
13799 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
13806 rm -f conftest.
$ac_objext
13807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13808 (eval $ac_compile) 2>conftest.er1
13810 grep -v '^ *+' conftest.er1
>conftest.err
13812 cat conftest.err
>&5
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); } &&
13815 { ac_try
='test -z "$ac_c_werror_flag"
13816 || test ! -s conftest.err'
13817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13818 (eval $ac_try) 2>&5
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); }; } &&
13822 { ac_try
='test -s conftest.$ac_objext'
13823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13824 (eval $ac_try) 2>&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); }; }; then
13828 ac_lo
=$ac_mid; break
13830 echo "$as_me: failed program was:" >&5
13831 sed 's/^/| /' conftest.
$ac_ext >&5
13833 ac_hi
=`expr '(' $ac_mid ')' - 1`
13834 if test $ac_mid -le $ac_hi; then
13838 ac_mid
=`expr 2 '*' $ac_mid`
13840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13843 echo "$as_me: failed program was:" >&5
13844 sed 's/^/| /' conftest.
$ac_ext >&5
13848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13851 # Binary search between lo and hi bounds.
13852 while test "x$ac_lo" != "x$ac_hi"; do
13853 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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
13864 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
13871 rm -f conftest.
$ac_objext
13872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13873 (eval $ac_compile) 2>conftest.er1
13875 grep -v '^ *+' conftest.er1
>conftest.err
13877 cat conftest.err
>&5
13878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879 (exit $ac_status); } &&
13880 { ac_try
='test -z "$ac_c_werror_flag"
13881 || test ! -s conftest.err'
13882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13883 (eval $ac_try) 2>&5
13885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886 (exit $ac_status); }; } &&
13887 { ac_try
='test -s conftest.$ac_objext'
13888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13889 (eval $ac_try) 2>&5
13891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13892 (exit $ac_status); }; }; then
13895 echo "$as_me: failed program was:" >&5
13896 sed 's/^/| /' conftest.
$ac_ext >&5
13898 ac_lo
=`expr '(' $ac_mid ')' + 1`
13900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13903 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
13904 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
13905 See \`config.log' for more details." >&5
13906 echo "$as_me: error: cannot compute sizeof (void *), 77
13907 See \`config.log' for more details." >&2;}
13908 { (exit 1); exit 1; }; } ;;
13911 if test "$cross_compiling" = yes; then
13912 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13913 See \`config.log' for more details." >&5
13914 echo "$as_me: error: cannot run test program while cross compiling
13915 See \`config.log' for more details." >&2;}
13916 { (exit 1); exit 1; }; }
13918 cat >conftest.
$ac_ext <<_ACEOF
13921 cat confdefs.h
>>conftest.
$ac_ext
13922 cat >>conftest.
$ac_ext <<_ACEOF
13923 /* end confdefs.h. */
13924 $ac_includes_default
13925 long longval () { return (long) (sizeof (void *)); }
13926 unsigned long ulongval () { return (long) (sizeof (void *)); }
13928 #include <stdlib.h>
13933 FILE *f = fopen ("conftest.val", "w");
13936 if (((long) (sizeof (void *))) < 0)
13938 long i = longval ();
13939 if (i != ((long) (sizeof (void *))))
13941 fprintf (f, "%ld\n", i);
13945 unsigned long i = ulongval ();
13946 if (i != ((long) (sizeof (void *))))
13948 fprintf (f, "%lu\n", i);
13950 exit (ferror (f) || fclose (f) != 0);
13956 rm -f conftest
$ac_exeext
13957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13958 (eval $ac_link) 2>&5
13960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13961 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13963 (eval $ac_try) 2>&5
13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13966 (exit $ac_status); }; }; then
13967 ac_cv_sizeof_void_p
=`cat conftest.val`
13969 echo "$as_me: program exited with status $ac_status" >&5
13970 echo "$as_me: failed program was:" >&5
13971 sed 's/^/| /' conftest.
$ac_ext >&5
13973 ( exit $ac_status )
13974 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
13975 See \`config.log' for more details." >&5
13976 echo "$as_me: error: cannot compute sizeof (void *), 77
13977 See \`config.log' for more details." >&2;}
13978 { (exit 1); exit 1; }; }
13980 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13985 ac_cv_sizeof_void_p
=0
13988 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
13989 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
13990 cat >>confdefs.h
<<_ACEOF
13991 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13997 # Lacking an uint64_t? Test size of long
13998 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
13999 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
14000 echo $ECHO_N "checking for long... $ECHO_C" >&6
14001 if test "${ac_cv_type_long+set}" = set; then
14002 echo $ECHO_N "(cached) $ECHO_C" >&6
14004 cat >conftest.
$ac_ext <<_ACEOF
14007 cat confdefs.h
>>conftest.
$ac_ext
14008 cat >>conftest.
$ac_ext <<_ACEOF
14009 /* end confdefs.h. */
14010 $ac_includes_default
14022 rm -f conftest.
$ac_objext
14023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14024 (eval $ac_compile) 2>conftest.er1
14026 grep -v '^ *+' conftest.er1
>conftest.err
14028 cat conftest.err
>&5
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); } &&
14031 { ac_try
='test -z "$ac_c_werror_flag"
14032 || test ! -s conftest.err'
14033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14034 (eval $ac_try) 2>&5
14036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037 (exit $ac_status); }; } &&
14038 { ac_try
='test -s conftest.$ac_objext'
14039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14040 (eval $ac_try) 2>&5
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); }; }; then
14044 ac_cv_type_long
=yes
14046 echo "$as_me: failed program was:" >&5
14047 sed 's/^/| /' conftest.
$ac_ext >&5
14051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14053 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
14054 echo "${ECHO_T}$ac_cv_type_long" >&6
14056 echo "$as_me:$LINENO: checking size of long" >&5
14057 echo $ECHO_N "checking size of long... $ECHO_C" >&6
14058 if test "${ac_cv_sizeof_long+set}" = set; then
14059 echo $ECHO_N "(cached) $ECHO_C" >&6
14061 if test "$ac_cv_type_long" = yes; then
14062 # The cast to unsigned long works around a bug in the HP C Compiler
14063 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14064 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14065 # This bug is HP SR number 8606223364.
14066 if test "$cross_compiling" = yes; then
14067 # Depending upon the size, compute the lo and hi bounds.
14068 cat >conftest.
$ac_ext <<_ACEOF
14071 cat confdefs.h
>>conftest.
$ac_ext
14072 cat >>conftest.
$ac_ext <<_ACEOF
14073 /* end confdefs.h. */
14074 $ac_includes_default
14078 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
14085 rm -f conftest.
$ac_objext
14086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14087 (eval $ac_compile) 2>conftest.er1
14089 grep -v '^ *+' conftest.er1
>conftest.err
14091 cat conftest.err
>&5
14092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14093 (exit $ac_status); } &&
14094 { ac_try
='test -z "$ac_c_werror_flag"
14095 || test ! -s conftest.err'
14096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14097 (eval $ac_try) 2>&5
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); }; } &&
14101 { ac_try
='test -s conftest.$ac_objext'
14102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14103 (eval $ac_try) 2>&5
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); }; }; then
14109 cat >conftest.
$ac_ext <<_ACEOF
14112 cat confdefs.h
>>conftest.
$ac_ext
14113 cat >>conftest.
$ac_ext <<_ACEOF
14114 /* end confdefs.h. */
14115 $ac_includes_default
14119 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
14126 rm -f conftest.
$ac_objext
14127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14128 (eval $ac_compile) 2>conftest.er1
14130 grep -v '^ *+' conftest.er1
>conftest.err
14132 cat conftest.err
>&5
14133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14134 (exit $ac_status); } &&
14135 { ac_try
='test -z "$ac_c_werror_flag"
14136 || test ! -s conftest.err'
14137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14138 (eval $ac_try) 2>&5
14140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14141 (exit $ac_status); }; } &&
14142 { ac_try
='test -s conftest.$ac_objext'
14143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14144 (eval $ac_try) 2>&5
14146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); }; }; then
14148 ac_hi
=$ac_mid; break
14150 echo "$as_me: failed program was:" >&5
14151 sed 's/^/| /' conftest.
$ac_ext >&5
14153 ac_lo
=`expr $ac_mid + 1`
14154 if test $ac_lo -le $ac_mid; then
14158 ac_mid
=`expr 2 '*' $ac_mid + 1`
14160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14163 echo "$as_me: failed program was:" >&5
14164 sed 's/^/| /' conftest.
$ac_ext >&5
14166 cat >conftest.
$ac_ext <<_ACEOF
14169 cat confdefs.h
>>conftest.
$ac_ext
14170 cat >>conftest.
$ac_ext <<_ACEOF
14171 /* end confdefs.h. */
14172 $ac_includes_default
14176 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
14183 rm -f conftest.
$ac_objext
14184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14185 (eval $ac_compile) 2>conftest.er1
14187 grep -v '^ *+' conftest.er1
>conftest.err
14189 cat conftest.err
>&5
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); } &&
14192 { ac_try
='test -z "$ac_c_werror_flag"
14193 || test ! -s conftest.err'
14194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14195 (eval $ac_try) 2>&5
14197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14198 (exit $ac_status); }; } &&
14199 { ac_try
='test -s conftest.$ac_objext'
14200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14201 (eval $ac_try) 2>&5
14203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204 (exit $ac_status); }; }; then
14207 cat >conftest.
$ac_ext <<_ACEOF
14210 cat confdefs.h
>>conftest.
$ac_ext
14211 cat >>conftest.
$ac_ext <<_ACEOF
14212 /* end confdefs.h. */
14213 $ac_includes_default
14217 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
14224 rm -f conftest.
$ac_objext
14225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14226 (eval $ac_compile) 2>conftest.er1
14228 grep -v '^ *+' conftest.er1
>conftest.err
14230 cat conftest.err
>&5
14231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14232 (exit $ac_status); } &&
14233 { ac_try
='test -z "$ac_c_werror_flag"
14234 || test ! -s conftest.err'
14235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14236 (eval $ac_try) 2>&5
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); }; } &&
14240 { ac_try
='test -s conftest.$ac_objext'
14241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14242 (eval $ac_try) 2>&5
14244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14245 (exit $ac_status); }; }; then
14246 ac_lo
=$ac_mid; break
14248 echo "$as_me: failed program was:" >&5
14249 sed 's/^/| /' conftest.
$ac_ext >&5
14251 ac_hi
=`expr '(' $ac_mid ')' - 1`
14252 if test $ac_mid -le $ac_hi; then
14256 ac_mid
=`expr 2 '*' $ac_mid`
14258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14261 echo "$as_me: failed program was:" >&5
14262 sed 's/^/| /' conftest.
$ac_ext >&5
14266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14269 # Binary search between lo and hi bounds.
14270 while test "x$ac_lo" != "x$ac_hi"; do
14271 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14272 cat >conftest.
$ac_ext <<_ACEOF
14275 cat confdefs.h
>>conftest.
$ac_ext
14276 cat >>conftest.
$ac_ext <<_ACEOF
14277 /* end confdefs.h. */
14278 $ac_includes_default
14282 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
14289 rm -f conftest.
$ac_objext
14290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14291 (eval $ac_compile) 2>conftest.er1
14293 grep -v '^ *+' conftest.er1
>conftest.err
14295 cat conftest.err
>&5
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); } &&
14298 { ac_try
='test -z "$ac_c_werror_flag"
14299 || test ! -s conftest.err'
14300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14301 (eval $ac_try) 2>&5
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); }; } &&
14305 { ac_try
='test -s conftest.$ac_objext'
14306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14307 (eval $ac_try) 2>&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); }; }; then
14313 echo "$as_me: failed program was:" >&5
14314 sed 's/^/| /' conftest.
$ac_ext >&5
14316 ac_lo
=`expr '(' $ac_mid ')' + 1`
14318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14321 ?
*) ac_cv_sizeof_long
=$ac_lo;;
14322 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
14323 See \`config.log' for more details." >&5
14324 echo "$as_me: error: cannot compute sizeof (long), 77
14325 See \`config.log' for more details." >&2;}
14326 { (exit 1); exit 1; }; } ;;
14329 if test "$cross_compiling" = yes; then
14330 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14331 See \`config.log' for more details." >&5
14332 echo "$as_me: error: cannot run test program while cross compiling
14333 See \`config.log' for more details." >&2;}
14334 { (exit 1); exit 1; }; }
14336 cat >conftest.
$ac_ext <<_ACEOF
14339 cat confdefs.h
>>conftest.
$ac_ext
14340 cat >>conftest.
$ac_ext <<_ACEOF
14341 /* end confdefs.h. */
14342 $ac_includes_default
14343 long longval () { return (long) (sizeof (long)); }
14344 unsigned long ulongval () { return (long) (sizeof (long)); }
14346 #include <stdlib.h>
14351 FILE *f = fopen ("conftest.val", "w");
14354 if (((long) (sizeof (long))) < 0)
14356 long i = longval ();
14357 if (i != ((long) (sizeof (long))))
14359 fprintf (f, "%ld\n", i);
14363 unsigned long i = ulongval ();
14364 if (i != ((long) (sizeof (long))))
14366 fprintf (f, "%lu\n", i);
14368 exit (ferror (f) || fclose (f) != 0);
14374 rm -f conftest
$ac_exeext
14375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14376 (eval $ac_link) 2>&5
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14381 (eval $ac_try) 2>&5
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); }; }; then
14385 ac_cv_sizeof_long
=`cat conftest.val`
14387 echo "$as_me: program exited with status $ac_status" >&5
14388 echo "$as_me: failed program was:" >&5
14389 sed 's/^/| /' conftest.
$ac_ext >&5
14391 ( exit $ac_status )
14392 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
14393 See \`config.log' for more details." >&5
14394 echo "$as_me: error: cannot compute sizeof (long), 77
14395 See \`config.log' for more details." >&2;}
14396 { (exit 1); exit 1; }; }
14398 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14403 ac_cv_sizeof_long
=0
14406 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
14407 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
14408 cat >>confdefs.h
<<_ACEOF
14409 #define SIZEOF_LONG $ac_cv_sizeof_long
14415 if test $acx_cv_header_stdint = stddef.h
; then
14416 # Lacking a good header? Test size of everything and deduce all types.
14417 echo "$as_me:$LINENO: checking for int" >&5
14418 echo $ECHO_N "checking for int... $ECHO_C" >&6
14419 if test "${ac_cv_type_int+set}" = set; then
14420 echo $ECHO_N "(cached) $ECHO_C" >&6
14422 cat >conftest.
$ac_ext <<_ACEOF
14425 cat confdefs.h
>>conftest.
$ac_ext
14426 cat >>conftest.
$ac_ext <<_ACEOF
14427 /* end confdefs.h. */
14428 $ac_includes_default
14440 rm -f conftest.
$ac_objext
14441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14442 (eval $ac_compile) 2>conftest.er1
14444 grep -v '^ *+' conftest.er1
>conftest.err
14446 cat conftest.err
>&5
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); } &&
14449 { ac_try
='test -z "$ac_c_werror_flag"
14450 || test ! -s conftest.err'
14451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14452 (eval $ac_try) 2>&5
14454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14455 (exit $ac_status); }; } &&
14456 { ac_try
='test -s conftest.$ac_objext'
14457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14458 (eval $ac_try) 2>&5
14460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14461 (exit $ac_status); }; }; then
14464 echo "$as_me: failed program was:" >&5
14465 sed 's/^/| /' conftest.
$ac_ext >&5
14469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14471 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14472 echo "${ECHO_T}$ac_cv_type_int" >&6
14474 echo "$as_me:$LINENO: checking size of int" >&5
14475 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14476 if test "${ac_cv_sizeof_int+set}" = set; then
14477 echo $ECHO_N "(cached) $ECHO_C" >&6
14479 if test "$ac_cv_type_int" = yes; then
14480 # The cast to unsigned long works around a bug in the HP C Compiler
14481 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14482 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14483 # This bug is HP SR number 8606223364.
14484 if test "$cross_compiling" = yes; then
14485 # Depending upon the size, compute the lo and hi bounds.
14486 cat >conftest.
$ac_ext <<_ACEOF
14489 cat confdefs.h
>>conftest.
$ac_ext
14490 cat >>conftest.
$ac_ext <<_ACEOF
14491 /* end confdefs.h. */
14492 $ac_includes_default
14496 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14503 rm -f conftest.
$ac_objext
14504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14505 (eval $ac_compile) 2>conftest.er1
14507 grep -v '^ *+' conftest.er1
>conftest.err
14509 cat conftest.err
>&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); } &&
14512 { ac_try
='test -z "$ac_c_werror_flag"
14513 || test ! -s conftest.err'
14514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14515 (eval $ac_try) 2>&5
14517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518 (exit $ac_status); }; } &&
14519 { ac_try
='test -s conftest.$ac_objext'
14520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14521 (eval $ac_try) 2>&5
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); }; }; then
14527 cat >conftest.
$ac_ext <<_ACEOF
14530 cat confdefs.h
>>conftest.
$ac_ext
14531 cat >>conftest.
$ac_ext <<_ACEOF
14532 /* end confdefs.h. */
14533 $ac_includes_default
14537 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14544 rm -f conftest.
$ac_objext
14545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14546 (eval $ac_compile) 2>conftest.er1
14548 grep -v '^ *+' conftest.er1
>conftest.err
14550 cat conftest.err
>&5
14551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14552 (exit $ac_status); } &&
14553 { ac_try
='test -z "$ac_c_werror_flag"
14554 || test ! -s conftest.err'
14555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14556 (eval $ac_try) 2>&5
14558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559 (exit $ac_status); }; } &&
14560 { ac_try
='test -s conftest.$ac_objext'
14561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14562 (eval $ac_try) 2>&5
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); }; }; then
14566 ac_hi
=$ac_mid; break
14568 echo "$as_me: failed program was:" >&5
14569 sed 's/^/| /' conftest.
$ac_ext >&5
14571 ac_lo
=`expr $ac_mid + 1`
14572 if test $ac_lo -le $ac_mid; then
14576 ac_mid
=`expr 2 '*' $ac_mid + 1`
14578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14581 echo "$as_me: failed program was:" >&5
14582 sed 's/^/| /' conftest.
$ac_ext >&5
14584 cat >conftest.
$ac_ext <<_ACEOF
14587 cat confdefs.h
>>conftest.
$ac_ext
14588 cat >>conftest.
$ac_ext <<_ACEOF
14589 /* end confdefs.h. */
14590 $ac_includes_default
14594 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14601 rm -f conftest.
$ac_objext
14602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14603 (eval $ac_compile) 2>conftest.er1
14605 grep -v '^ *+' conftest.er1
>conftest.err
14607 cat conftest.err
>&5
14608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14609 (exit $ac_status); } &&
14610 { ac_try
='test -z "$ac_c_werror_flag"
14611 || test ! -s conftest.err'
14612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14613 (eval $ac_try) 2>&5
14615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616 (exit $ac_status); }; } &&
14617 { ac_try
='test -s conftest.$ac_objext'
14618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14619 (eval $ac_try) 2>&5
14621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 (exit $ac_status); }; }; then
14625 cat >conftest.
$ac_ext <<_ACEOF
14628 cat confdefs.h
>>conftest.
$ac_ext
14629 cat >>conftest.
$ac_ext <<_ACEOF
14630 /* end confdefs.h. */
14631 $ac_includes_default
14635 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14642 rm -f conftest.
$ac_objext
14643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14644 (eval $ac_compile) 2>conftest.er1
14646 grep -v '^ *+' conftest.er1
>conftest.err
14648 cat conftest.err
>&5
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); } &&
14651 { ac_try
='test -z "$ac_c_werror_flag"
14652 || test ! -s conftest.err'
14653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14654 (eval $ac_try) 2>&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); }; } &&
14658 { ac_try
='test -s conftest.$ac_objext'
14659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14660 (eval $ac_try) 2>&5
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; }; then
14664 ac_lo
=$ac_mid; break
14666 echo "$as_me: failed program was:" >&5
14667 sed 's/^/| /' conftest.
$ac_ext >&5
14669 ac_hi
=`expr '(' $ac_mid ')' - 1`
14670 if test $ac_mid -le $ac_hi; then
14674 ac_mid
=`expr 2 '*' $ac_mid`
14676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14679 echo "$as_me: failed program was:" >&5
14680 sed 's/^/| /' conftest.
$ac_ext >&5
14684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14687 # Binary search between lo and hi bounds.
14688 while test "x$ac_lo" != "x$ac_hi"; do
14689 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14690 cat >conftest.
$ac_ext <<_ACEOF
14693 cat confdefs.h
>>conftest.
$ac_ext
14694 cat >>conftest.
$ac_ext <<_ACEOF
14695 /* end confdefs.h. */
14696 $ac_includes_default
14700 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14707 rm -f conftest.
$ac_objext
14708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14709 (eval $ac_compile) 2>conftest.er1
14711 grep -v '^ *+' conftest.er1
>conftest.err
14713 cat conftest.err
>&5
14714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715 (exit $ac_status); } &&
14716 { ac_try
='test -z "$ac_c_werror_flag"
14717 || test ! -s conftest.err'
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); }; } &&
14723 { ac_try
='test -s conftest.$ac_objext'
14724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14725 (eval $ac_try) 2>&5
14727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728 (exit $ac_status); }; }; then
14731 echo "$as_me: failed program was:" >&5
14732 sed 's/^/| /' conftest.
$ac_ext >&5
14734 ac_lo
=`expr '(' $ac_mid ')' + 1`
14736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14739 ?
*) ac_cv_sizeof_int
=$ac_lo;;
14740 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14741 See \`config.log' for more details." >&5
14742 echo "$as_me: error: cannot compute sizeof (int), 77
14743 See \`config.log' for more details." >&2;}
14744 { (exit 1); exit 1; }; } ;;
14747 if test "$cross_compiling" = yes; then
14748 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14749 See \`config.log' for more details." >&5
14750 echo "$as_me: error: cannot run test program while cross compiling
14751 See \`config.log' for more details." >&2;}
14752 { (exit 1); exit 1; }; }
14754 cat >conftest.
$ac_ext <<_ACEOF
14757 cat confdefs.h
>>conftest.
$ac_ext
14758 cat >>conftest.
$ac_ext <<_ACEOF
14759 /* end confdefs.h. */
14760 $ac_includes_default
14761 long longval () { return (long) (sizeof (int)); }
14762 unsigned long ulongval () { return (long) (sizeof (int)); }
14764 #include <stdlib.h>
14769 FILE *f = fopen ("conftest.val", "w");
14772 if (((long) (sizeof (int))) < 0)
14774 long i = longval ();
14775 if (i != ((long) (sizeof (int))))
14777 fprintf (f, "%ld\n", i);
14781 unsigned long i = ulongval ();
14782 if (i != ((long) (sizeof (int))))
14784 fprintf (f, "%lu\n", i);
14786 exit (ferror (f) || fclose (f) != 0);
14792 rm -f conftest
$ac_exeext
14793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14794 (eval $ac_link) 2>&5
14796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14797 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14799 (eval $ac_try) 2>&5
14801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14802 (exit $ac_status); }; }; then
14803 ac_cv_sizeof_int
=`cat conftest.val`
14805 echo "$as_me: program exited with status $ac_status" >&5
14806 echo "$as_me: failed program was:" >&5
14807 sed 's/^/| /' conftest.
$ac_ext >&5
14809 ( exit $ac_status )
14810 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14811 See \`config.log' for more details." >&5
14812 echo "$as_me: error: cannot compute sizeof (int), 77
14813 See \`config.log' for more details." >&2;}
14814 { (exit 1); exit 1; }; }
14816 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14824 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14825 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
14826 cat >>confdefs.h
<<_ACEOF
14827 #define SIZEOF_INT $ac_cv_sizeof_int
14831 echo "$as_me:$LINENO: checking for short" >&5
14832 echo $ECHO_N "checking for short... $ECHO_C" >&6
14833 if test "${ac_cv_type_short+set}" = set; then
14834 echo $ECHO_N "(cached) $ECHO_C" >&6
14836 cat >conftest.
$ac_ext <<_ACEOF
14839 cat confdefs.h
>>conftest.
$ac_ext
14840 cat >>conftest.
$ac_ext <<_ACEOF
14841 /* end confdefs.h. */
14842 $ac_includes_default
14848 if (sizeof (short))
14854 rm -f conftest.
$ac_objext
14855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14856 (eval $ac_compile) 2>conftest.er1
14858 grep -v '^ *+' conftest.er1
>conftest.err
14860 cat conftest.err
>&5
14861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14862 (exit $ac_status); } &&
14863 { ac_try
='test -z "$ac_c_werror_flag"
14864 || test ! -s conftest.err'
14865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14866 (eval $ac_try) 2>&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); }; } &&
14870 { ac_try
='test -s conftest.$ac_objext'
14871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14872 (eval $ac_try) 2>&5
14874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 (exit $ac_status); }; }; then
14876 ac_cv_type_short
=yes
14878 echo "$as_me: failed program was:" >&5
14879 sed 's/^/| /' conftest.
$ac_ext >&5
14881 ac_cv_type_short
=no
14883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14885 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14886 echo "${ECHO_T}$ac_cv_type_short" >&6
14888 echo "$as_me:$LINENO: checking size of short" >&5
14889 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14890 if test "${ac_cv_sizeof_short+set}" = set; then
14891 echo $ECHO_N "(cached) $ECHO_C" >&6
14893 if test "$ac_cv_type_short" = yes; then
14894 # The cast to unsigned long works around a bug in the HP C Compiler
14895 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14896 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14897 # This bug is HP SR number 8606223364.
14898 if test "$cross_compiling" = yes; then
14899 # Depending upon the size, compute the lo and hi bounds.
14900 cat >conftest.
$ac_ext <<_ACEOF
14903 cat confdefs.h
>>conftest.
$ac_ext
14904 cat >>conftest.
$ac_ext <<_ACEOF
14905 /* end confdefs.h. */
14906 $ac_includes_default
14910 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14917 rm -f conftest.
$ac_objext
14918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14919 (eval $ac_compile) 2>conftest.er1
14921 grep -v '^ *+' conftest.er1
>conftest.err
14923 cat conftest.err
>&5
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); } &&
14926 { ac_try
='test -z "$ac_c_werror_flag"
14927 || test ! -s conftest.err'
14928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14929 (eval $ac_try) 2>&5
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 (exit $ac_status); }; } &&
14933 { ac_try
='test -s conftest.$ac_objext'
14934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14935 (eval $ac_try) 2>&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); }; }; then
14941 cat >conftest.
$ac_ext <<_ACEOF
14944 cat confdefs.h
>>conftest.
$ac_ext
14945 cat >>conftest.
$ac_ext <<_ACEOF
14946 /* end confdefs.h. */
14947 $ac_includes_default
14951 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14958 rm -f conftest.
$ac_objext
14959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14960 (eval $ac_compile) 2>conftest.er1
14962 grep -v '^ *+' conftest.er1
>conftest.err
14964 cat conftest.err
>&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); } &&
14967 { ac_try
='test -z "$ac_c_werror_flag"
14968 || test ! -s conftest.err'
14969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14970 (eval $ac_try) 2>&5
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); }; } &&
14974 { ac_try
='test -s conftest.$ac_objext'
14975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14976 (eval $ac_try) 2>&5
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); }; }; then
14980 ac_hi
=$ac_mid; break
14982 echo "$as_me: failed program was:" >&5
14983 sed 's/^/| /' conftest.
$ac_ext >&5
14985 ac_lo
=`expr $ac_mid + 1`
14986 if test $ac_lo -le $ac_mid; then
14990 ac_mid
=`expr 2 '*' $ac_mid + 1`
14992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14995 echo "$as_me: failed program was:" >&5
14996 sed 's/^/| /' conftest.
$ac_ext >&5
14998 cat >conftest.
$ac_ext <<_ACEOF
15001 cat confdefs.h
>>conftest.
$ac_ext
15002 cat >>conftest.
$ac_ext <<_ACEOF
15003 /* end confdefs.h. */
15004 $ac_includes_default
15008 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15015 rm -f conftest.
$ac_objext
15016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15017 (eval $ac_compile) 2>conftest.er1
15019 grep -v '^ *+' conftest.er1
>conftest.err
15021 cat conftest.err
>&5
15022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15023 (exit $ac_status); } &&
15024 { ac_try
='test -z "$ac_c_werror_flag"
15025 || test ! -s conftest.err'
15026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15027 (eval $ac_try) 2>&5
15029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15030 (exit $ac_status); }; } &&
15031 { ac_try
='test -s conftest.$ac_objext'
15032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15033 (eval $ac_try) 2>&5
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); }; }; then
15039 cat >conftest.
$ac_ext <<_ACEOF
15042 cat confdefs.h
>>conftest.
$ac_ext
15043 cat >>conftest.
$ac_ext <<_ACEOF
15044 /* end confdefs.h. */
15045 $ac_includes_default
15049 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15056 rm -f conftest.
$ac_objext
15057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15058 (eval $ac_compile) 2>conftest.er1
15060 grep -v '^ *+' conftest.er1
>conftest.err
15062 cat conftest.err
>&5
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); } &&
15065 { ac_try
='test -z "$ac_c_werror_flag"
15066 || test ! -s conftest.err'
15067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15068 (eval $ac_try) 2>&5
15070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071 (exit $ac_status); }; } &&
15072 { ac_try
='test -s conftest.$ac_objext'
15073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15074 (eval $ac_try) 2>&5
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); }; }; then
15078 ac_lo
=$ac_mid; break
15080 echo "$as_me: failed program was:" >&5
15081 sed 's/^/| /' conftest.
$ac_ext >&5
15083 ac_hi
=`expr '(' $ac_mid ')' - 1`
15084 if test $ac_mid -le $ac_hi; then
15088 ac_mid
=`expr 2 '*' $ac_mid`
15090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15093 echo "$as_me: failed program was:" >&5
15094 sed 's/^/| /' conftest.
$ac_ext >&5
15098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15101 # Binary search between lo and hi bounds.
15102 while test "x$ac_lo" != "x$ac_hi"; do
15103 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15104 cat >conftest.
$ac_ext <<_ACEOF
15107 cat confdefs.h
>>conftest.
$ac_ext
15108 cat >>conftest.
$ac_ext <<_ACEOF
15109 /* end confdefs.h. */
15110 $ac_includes_default
15114 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15121 rm -f conftest.
$ac_objext
15122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15123 (eval $ac_compile) 2>conftest.er1
15125 grep -v '^ *+' conftest.er1
>conftest.err
15127 cat conftest.err
>&5
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); } &&
15130 { ac_try
='test -z "$ac_c_werror_flag"
15131 || test ! -s conftest.err'
15132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15133 (eval $ac_try) 2>&5
15135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136 (exit $ac_status); }; } &&
15137 { ac_try
='test -s conftest.$ac_objext'
15138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15139 (eval $ac_try) 2>&5
15141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15142 (exit $ac_status); }; }; then
15145 echo "$as_me: failed program was:" >&5
15146 sed 's/^/| /' conftest.
$ac_ext >&5
15148 ac_lo
=`expr '(' $ac_mid ')' + 1`
15150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15153 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15154 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15155 See \`config.log' for more details." >&5
15156 echo "$as_me: error: cannot compute sizeof (short), 77
15157 See \`config.log' for more details." >&2;}
15158 { (exit 1); exit 1; }; } ;;
15161 if test "$cross_compiling" = yes; then
15162 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15163 See \`config.log' for more details." >&5
15164 echo "$as_me: error: cannot run test program while cross compiling
15165 See \`config.log' for more details." >&2;}
15166 { (exit 1); exit 1; }; }
15168 cat >conftest.
$ac_ext <<_ACEOF
15171 cat confdefs.h
>>conftest.
$ac_ext
15172 cat >>conftest.
$ac_ext <<_ACEOF
15173 /* end confdefs.h. */
15174 $ac_includes_default
15175 long longval () { return (long) (sizeof (short)); }
15176 unsigned long ulongval () { return (long) (sizeof (short)); }
15178 #include <stdlib.h>
15183 FILE *f = fopen ("conftest.val", "w");
15186 if (((long) (sizeof (short))) < 0)
15188 long i = longval ();
15189 if (i != ((long) (sizeof (short))))
15191 fprintf (f, "%ld\n", i);
15195 unsigned long i = ulongval ();
15196 if (i != ((long) (sizeof (short))))
15198 fprintf (f, "%lu\n", i);
15200 exit (ferror (f) || fclose (f) != 0);
15206 rm -f conftest
$ac_exeext
15207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15208 (eval $ac_link) 2>&5
15210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15213 (eval $ac_try) 2>&5
15215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15216 (exit $ac_status); }; }; then
15217 ac_cv_sizeof_short
=`cat conftest.val`
15219 echo "$as_me: program exited with status $ac_status" >&5
15220 echo "$as_me: failed program was:" >&5
15221 sed 's/^/| /' conftest.
$ac_ext >&5
15223 ( exit $ac_status )
15224 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15225 See \`config.log' for more details." >&5
15226 echo "$as_me: error: cannot compute sizeof (short), 77
15227 See \`config.log' for more details." >&2;}
15228 { (exit 1); exit 1; }; }
15230 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15235 ac_cv_sizeof_short
=0
15238 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15239 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15240 cat >>confdefs.h
<<_ACEOF
15241 #define SIZEOF_SHORT $ac_cv_sizeof_short
15245 echo "$as_me:$LINENO: checking for char" >&5
15246 echo $ECHO_N "checking for char... $ECHO_C" >&6
15247 if test "${ac_cv_type_char+set}" = set; then
15248 echo $ECHO_N "(cached) $ECHO_C" >&6
15250 cat >conftest.
$ac_ext <<_ACEOF
15253 cat confdefs.h
>>conftest.
$ac_ext
15254 cat >>conftest.
$ac_ext <<_ACEOF
15255 /* end confdefs.h. */
15256 $ac_includes_default
15268 rm -f conftest.
$ac_objext
15269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15270 (eval $ac_compile) 2>conftest.er1
15272 grep -v '^ *+' conftest.er1
>conftest.err
15274 cat conftest.err
>&5
15275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15276 (exit $ac_status); } &&
15277 { ac_try
='test -z "$ac_c_werror_flag"
15278 || test ! -s conftest.err'
15279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15280 (eval $ac_try) 2>&5
15282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15283 (exit $ac_status); }; } &&
15284 { ac_try
='test -s conftest.$ac_objext'
15285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15286 (eval $ac_try) 2>&5
15288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15289 (exit $ac_status); }; }; then
15290 ac_cv_type_char
=yes
15292 echo "$as_me: failed program was:" >&5
15293 sed 's/^/| /' conftest.
$ac_ext >&5
15297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15299 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15300 echo "${ECHO_T}$ac_cv_type_char" >&6
15302 echo "$as_me:$LINENO: checking size of char" >&5
15303 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15304 if test "${ac_cv_sizeof_char+set}" = set; then
15305 echo $ECHO_N "(cached) $ECHO_C" >&6
15307 if test "$ac_cv_type_char" = yes; then
15308 # The cast to unsigned long works around a bug in the HP C Compiler
15309 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15310 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15311 # This bug is HP SR number 8606223364.
15312 if test "$cross_compiling" = yes; then
15313 # Depending upon the size, compute the lo and hi bounds.
15314 cat >conftest.
$ac_ext <<_ACEOF
15317 cat confdefs.h
>>conftest.
$ac_ext
15318 cat >>conftest.
$ac_ext <<_ACEOF
15319 /* end confdefs.h. */
15320 $ac_includes_default
15324 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15331 rm -f conftest.
$ac_objext
15332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15333 (eval $ac_compile) 2>conftest.er1
15335 grep -v '^ *+' conftest.er1
>conftest.err
15337 cat conftest.err
>&5
15338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15339 (exit $ac_status); } &&
15340 { ac_try
='test -z "$ac_c_werror_flag"
15341 || test ! -s conftest.err'
15342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15343 (eval $ac_try) 2>&5
15345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15346 (exit $ac_status); }; } &&
15347 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15355 cat >conftest.
$ac_ext <<_ACEOF
15358 cat confdefs.h
>>conftest.
$ac_ext
15359 cat >>conftest.
$ac_ext <<_ACEOF
15360 /* end confdefs.h. */
15361 $ac_includes_default
15365 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15372 rm -f conftest.
$ac_objext
15373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15374 (eval $ac_compile) 2>conftest.er1
15376 grep -v '^ *+' conftest.er1
>conftest.err
15378 cat conftest.err
>&5
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); } &&
15381 { ac_try
='test -z "$ac_c_werror_flag"
15382 || test ! -s conftest.err'
15383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15384 (eval $ac_try) 2>&5
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); }; } &&
15388 { ac_try
='test -s conftest.$ac_objext'
15389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15390 (eval $ac_try) 2>&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); }; }; then
15394 ac_hi
=$ac_mid; break
15396 echo "$as_me: failed program was:" >&5
15397 sed 's/^/| /' conftest.
$ac_ext >&5
15399 ac_lo
=`expr $ac_mid + 1`
15400 if test $ac_lo -le $ac_mid; then
15404 ac_mid
=`expr 2 '*' $ac_mid + 1`
15406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15409 echo "$as_me: failed program was:" >&5
15410 sed 's/^/| /' conftest.
$ac_ext >&5
15412 cat >conftest.
$ac_ext <<_ACEOF
15415 cat confdefs.h
>>conftest.
$ac_ext
15416 cat >>conftest.
$ac_ext <<_ACEOF
15417 /* end confdefs.h. */
15418 $ac_includes_default
15422 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15429 rm -f conftest.
$ac_objext
15430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15431 (eval $ac_compile) 2>conftest.er1
15433 grep -v '^ *+' conftest.er1
>conftest.err
15435 cat conftest.err
>&5
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); } &&
15438 { ac_try
='test -z "$ac_c_werror_flag"
15439 || test ! -s conftest.err'
15440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15441 (eval $ac_try) 2>&5
15443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444 (exit $ac_status); }; } &&
15445 { ac_try
='test -s conftest.$ac_objext'
15446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15447 (eval $ac_try) 2>&5
15449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15450 (exit $ac_status); }; }; then
15453 cat >conftest.
$ac_ext <<_ACEOF
15456 cat confdefs.h
>>conftest.
$ac_ext
15457 cat >>conftest.
$ac_ext <<_ACEOF
15458 /* end confdefs.h. */
15459 $ac_includes_default
15463 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15470 rm -f conftest.
$ac_objext
15471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15472 (eval $ac_compile) 2>conftest.er1
15474 grep -v '^ *+' conftest.er1
>conftest.err
15476 cat conftest.err
>&5
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); } &&
15479 { ac_try
='test -z "$ac_c_werror_flag"
15480 || test ! -s conftest.err'
15481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15482 (eval $ac_try) 2>&5
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); }; } &&
15486 { ac_try
='test -s conftest.$ac_objext'
15487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15488 (eval $ac_try) 2>&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); }; }; then
15492 ac_lo
=$ac_mid; break
15494 echo "$as_me: failed program was:" >&5
15495 sed 's/^/| /' conftest.
$ac_ext >&5
15497 ac_hi
=`expr '(' $ac_mid ')' - 1`
15498 if test $ac_mid -le $ac_hi; then
15502 ac_mid
=`expr 2 '*' $ac_mid`
15504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15507 echo "$as_me: failed program was:" >&5
15508 sed 's/^/| /' conftest.
$ac_ext >&5
15512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15515 # Binary search between lo and hi bounds.
15516 while test "x$ac_lo" != "x$ac_hi"; do
15517 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15518 cat >conftest.
$ac_ext <<_ACEOF
15521 cat confdefs.h
>>conftest.
$ac_ext
15522 cat >>conftest.
$ac_ext <<_ACEOF
15523 /* end confdefs.h. */
15524 $ac_includes_default
15528 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15535 rm -f conftest.
$ac_objext
15536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15537 (eval $ac_compile) 2>conftest.er1
15539 grep -v '^ *+' conftest.er1
>conftest.err
15541 cat conftest.err
>&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); } &&
15544 { ac_try
='test -z "$ac_c_werror_flag"
15545 || test ! -s conftest.err'
15546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15547 (eval $ac_try) 2>&5
15549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15550 (exit $ac_status); }; } &&
15551 { ac_try
='test -s conftest.$ac_objext'
15552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15553 (eval $ac_try) 2>&5
15555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556 (exit $ac_status); }; }; then
15559 echo "$as_me: failed program was:" >&5
15560 sed 's/^/| /' conftest.
$ac_ext >&5
15562 ac_lo
=`expr '(' $ac_mid ')' + 1`
15564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15567 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15568 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15569 See \`config.log' for more details." >&5
15570 echo "$as_me: error: cannot compute sizeof (char), 77
15571 See \`config.log' for more details." >&2;}
15572 { (exit 1); exit 1; }; } ;;
15575 if test "$cross_compiling" = yes; then
15576 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15577 See \`config.log' for more details." >&5
15578 echo "$as_me: error: cannot run test program while cross compiling
15579 See \`config.log' for more details." >&2;}
15580 { (exit 1); exit 1; }; }
15582 cat >conftest.
$ac_ext <<_ACEOF
15585 cat confdefs.h
>>conftest.
$ac_ext
15586 cat >>conftest.
$ac_ext <<_ACEOF
15587 /* end confdefs.h. */
15588 $ac_includes_default
15589 long longval () { return (long) (sizeof (char)); }
15590 unsigned long ulongval () { return (long) (sizeof (char)); }
15592 #include <stdlib.h>
15597 FILE *f = fopen ("conftest.val", "w");
15600 if (((long) (sizeof (char))) < 0)
15602 long i = longval ();
15603 if (i != ((long) (sizeof (char))))
15605 fprintf (f, "%ld\n", i);
15609 unsigned long i = ulongval ();
15610 if (i != ((long) (sizeof (char))))
15612 fprintf (f, "%lu\n", i);
15614 exit (ferror (f) || fclose (f) != 0);
15620 rm -f conftest
$ac_exeext
15621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15622 (eval $ac_link) 2>&5
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15627 (eval $ac_try) 2>&5
15629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); }; }; then
15631 ac_cv_sizeof_char
=`cat conftest.val`
15633 echo "$as_me: program exited with status $ac_status" >&5
15634 echo "$as_me: failed program was:" >&5
15635 sed 's/^/| /' conftest.
$ac_ext >&5
15637 ( exit $ac_status )
15638 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15639 See \`config.log' for more details." >&5
15640 echo "$as_me: error: cannot compute sizeof (char), 77
15641 See \`config.log' for more details." >&2;}
15642 { (exit 1); exit 1; }; }
15644 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15649 ac_cv_sizeof_char
=0
15652 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15653 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15654 cat >>confdefs.h
<<_ACEOF
15655 #define SIZEOF_CHAR $ac_cv_sizeof_char
15660 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
15661 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
15662 case "$ac_cv_sizeof_char" in
15663 1) acx_cv_type_int8_t
=char
;;
15664 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
15665 echo "$as_me: error: no 8-bit type" >&2;}
15666 { (exit please report a bug
); exit please report a bug
; }; }
15668 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
15669 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
15671 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
15672 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
15673 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15674 2:*) acx_cv_type_int16_t
=int
;;
15675 *:2) acx_cv_type_int16_t
=short
;;
15676 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
15677 echo "$as_me: error: no 16-bit type" >&2;}
15678 { (exit please report a bug
); exit please report a bug
; }; }
15680 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
15681 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
15683 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
15684 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
15685 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15686 4:*) acx_cv_type_int32_t
=int
;;
15687 *:4) acx_cv_type_int32_t
=long
;;
15688 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
15689 echo "$as_me: error: no 32-bit type" >&2;}
15690 { (exit please report a bug
); exit please report a bug
; }; }
15692 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
15693 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
15696 # These tests are here to make the output prettier
15698 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15699 case "$ac_cv_sizeof_long" in
15700 8) acx_cv_type_int64_t
=long
;;
15702 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
15703 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
15704 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15705 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
15708 # Now we can use the above types
15710 if test "$ac_cv_type_uintptr_t" != yes; then
15711 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
15712 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
15713 case $ac_cv_sizeof_void_p in
15714 2) acx_cv_type_intptr_t
=int16_t
;;
15715 4) acx_cv_type_intptr_t
=int32_t
;;
15716 8) acx_cv_type_intptr_t
=int64_t
;;
15717 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
15718 echo "$as_me: error: no equivalent for intptr_t" >&2;}
15719 { (exit please report a bug
); exit please report a bug
; }; }
15721 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
15722 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
15725 # ----------------- done all checks, emit header -------------
15726 ac_config_commands
="$ac_config_commands bfd_stdint.h"
15730 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
15731 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
15732 if test "${ac_cv_header_time+set}" = set; then
15733 echo $ECHO_N "(cached) $ECHO_C" >&6
15735 cat >conftest.
$ac_ext <<_ACEOF
15738 cat confdefs.h
>>conftest.
$ac_ext
15739 cat >>conftest.
$ac_ext <<_ACEOF
15740 /* end confdefs.h. */
15741 #include <sys/types.h>
15742 #include <sys/time.h>
15748 if ((struct tm *) 0)
15754 rm -f conftest.
$ac_objext
15755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15756 (eval $ac_compile) 2>conftest.er1
15758 grep -v '^ *+' conftest.er1
>conftest.err
15760 cat conftest.err
>&5
15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 (exit $ac_status); } &&
15763 { ac_try
='test -z "$ac_c_werror_flag"
15764 || test ! -s conftest.err'
15765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15766 (eval $ac_try) 2>&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); }; } &&
15770 { ac_try
='test -s conftest.$ac_objext'
15771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15772 (eval $ac_try) 2>&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); }; }; then
15776 ac_cv_header_time
=yes
15778 echo "$as_me: failed program was:" >&5
15779 sed 's/^/| /' conftest.
$ac_ext >&5
15781 ac_cv_header_time
=no
15783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15785 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
15786 echo "${ECHO_T}$ac_cv_header_time" >&6
15787 if test $ac_cv_header_time = yes; then
15789 cat >>confdefs.h
<<\_ACEOF
15790 #define TIME_WITH_SYS_TIME 1
15800 ac_header_dirent
=no
15801 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
15802 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
15803 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
15804 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
15805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15806 echo $ECHO_N "(cached) $ECHO_C" >&6
15808 cat >conftest.
$ac_ext <<_ACEOF
15811 cat confdefs.h
>>conftest.
$ac_ext
15812 cat >>conftest.
$ac_ext <<_ACEOF
15813 /* end confdefs.h. */
15814 #include <sys/types.h>
15826 rm -f conftest.
$ac_objext
15827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15828 (eval $ac_compile) 2>conftest.er1
15830 grep -v '^ *+' conftest.er1
>conftest.err
15832 cat conftest.err
>&5
15833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834 (exit $ac_status); } &&
15835 { ac_try
='test -z "$ac_c_werror_flag"
15836 || test ! -s conftest.err'
15837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15838 (eval $ac_try) 2>&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); }; } &&
15842 { ac_try
='test -s conftest.$ac_objext'
15843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15844 (eval $ac_try) 2>&5
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); }; }; then
15848 eval "$as_ac_Header=yes"
15850 echo "$as_me: failed program was:" >&5
15851 sed 's/^/| /' conftest.
$ac_ext >&5
15853 eval "$as_ac_Header=no"
15855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15859 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15860 cat >>confdefs.h
<<_ACEOF
15861 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
15864 ac_header_dirent
=$ac_hdr; break
15868 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
15869 if test $ac_header_dirent = dirent.h
; then
15870 echo "$as_me:$LINENO: checking for library containing opendir" >&5
15871 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
15872 if test "${ac_cv_search_opendir+set}" = set; then
15873 echo $ECHO_N "(cached) $ECHO_C" >&6
15875 ac_func_search_save_LIBS
=$LIBS
15876 ac_cv_search_opendir
=no
15877 cat >conftest.
$ac_ext <<_ACEOF
15880 cat confdefs.h
>>conftest.
$ac_ext
15881 cat >>conftest.
$ac_ext <<_ACEOF
15882 /* end confdefs.h. */
15884 /* Override any gcc2 internal prototype to avoid an error. */
15888 /* We use char because int might match the return type of a gcc2
15889 builtin and then its argument prototype would still apply. */
15899 rm -f conftest.
$ac_objext conftest
$ac_exeext
15900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15901 (eval $ac_link) 2>conftest.er1
15903 grep -v '^ *+' conftest.er1
>conftest.err
15905 cat conftest.err
>&5
15906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15907 (exit $ac_status); } &&
15908 { ac_try
='test -z "$ac_c_werror_flag"
15909 || test ! -s conftest.err'
15910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15911 (eval $ac_try) 2>&5
15913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15914 (exit $ac_status); }; } &&
15915 { ac_try
='test -s conftest$ac_exeext'
15916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15917 (eval $ac_try) 2>&5
15919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15920 (exit $ac_status); }; }; then
15921 ac_cv_search_opendir
="none required"
15923 echo "$as_me: failed program was:" >&5
15924 sed 's/^/| /' conftest.
$ac_ext >&5
15927 rm -f conftest.err conftest.
$ac_objext \
15928 conftest
$ac_exeext conftest.
$ac_ext
15929 if test "$ac_cv_search_opendir" = no
; then
15930 for ac_lib
in dir
; do
15931 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15932 cat >conftest.
$ac_ext <<_ACEOF
15935 cat confdefs.h
>>conftest.
$ac_ext
15936 cat >>conftest.
$ac_ext <<_ACEOF
15937 /* end confdefs.h. */
15939 /* Override any gcc2 internal prototype to avoid an error. */
15943 /* We use char because int might match the return type of a gcc2
15944 builtin and then its argument prototype would still apply. */
15954 rm -f conftest.
$ac_objext conftest
$ac_exeext
15955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15956 (eval $ac_link) 2>conftest.er1
15958 grep -v '^ *+' conftest.er1
>conftest.err
15960 cat conftest.err
>&5
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); } &&
15963 { ac_try
='test -z "$ac_c_werror_flag"
15964 || test ! -s conftest.err'
15965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15966 (eval $ac_try) 2>&5
15968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15969 (exit $ac_status); }; } &&
15970 { ac_try
='test -s conftest$ac_exeext'
15971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15972 (eval $ac_try) 2>&5
15974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15975 (exit $ac_status); }; }; then
15976 ac_cv_search_opendir
="-l$ac_lib"
15979 echo "$as_me: failed program was:" >&5
15980 sed 's/^/| /' conftest.
$ac_ext >&5
15983 rm -f conftest.err conftest.
$ac_objext \
15984 conftest
$ac_exeext conftest.
$ac_ext
15987 LIBS
=$ac_func_search_save_LIBS
15989 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
15990 echo "${ECHO_T}$ac_cv_search_opendir" >&6
15991 if test "$ac_cv_search_opendir" != no
; then
15992 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
15997 echo "$as_me:$LINENO: checking for library containing opendir" >&5
15998 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
15999 if test "${ac_cv_search_opendir+set}" = set; then
16000 echo $ECHO_N "(cached) $ECHO_C" >&6
16002 ac_func_search_save_LIBS
=$LIBS
16003 ac_cv_search_opendir
=no
16004 cat >conftest.
$ac_ext <<_ACEOF
16007 cat confdefs.h
>>conftest.
$ac_ext
16008 cat >>conftest.
$ac_ext <<_ACEOF
16009 /* end confdefs.h. */
16011 /* Override any gcc2 internal prototype to avoid an error. */
16015 /* We use char because int might match the return type of a gcc2
16016 builtin and then its argument prototype would still apply. */
16026 rm -f conftest.
$ac_objext conftest
$ac_exeext
16027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16028 (eval $ac_link) 2>conftest.er1
16030 grep -v '^ *+' conftest.er1
>conftest.err
16032 cat conftest.err
>&5
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); } &&
16035 { ac_try
='test -z "$ac_c_werror_flag"
16036 || test ! -s conftest.err'
16037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16038 (eval $ac_try) 2>&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); }; } &&
16042 { ac_try
='test -s conftest$ac_exeext'
16043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16044 (eval $ac_try) 2>&5
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); }; }; then
16048 ac_cv_search_opendir
="none required"
16050 echo "$as_me: failed program was:" >&5
16051 sed 's/^/| /' conftest.
$ac_ext >&5
16054 rm -f conftest.err conftest.
$ac_objext \
16055 conftest
$ac_exeext conftest.
$ac_ext
16056 if test "$ac_cv_search_opendir" = no
; then
16057 for ac_lib
in x
; do
16058 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16059 cat >conftest.
$ac_ext <<_ACEOF
16062 cat confdefs.h
>>conftest.
$ac_ext
16063 cat >>conftest.
$ac_ext <<_ACEOF
16064 /* end confdefs.h. */
16066 /* Override any gcc2 internal prototype to avoid an error. */
16070 /* We use char because int might match the return type of a gcc2
16071 builtin and then its argument prototype would still apply. */
16081 rm -f conftest.
$ac_objext conftest
$ac_exeext
16082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16083 (eval $ac_link) 2>conftest.er1
16085 grep -v '^ *+' conftest.er1
>conftest.err
16087 cat conftest.err
>&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); } &&
16090 { ac_try
='test -z "$ac_c_werror_flag"
16091 || test ! -s conftest.err'
16092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16093 (eval $ac_try) 2>&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); }; } &&
16097 { ac_try
='test -s conftest$ac_exeext'
16098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16099 (eval $ac_try) 2>&5
16101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16102 (exit $ac_status); }; }; then
16103 ac_cv_search_opendir
="-l$ac_lib"
16106 echo "$as_me: failed program was:" >&5
16107 sed 's/^/| /' conftest.
$ac_ext >&5
16110 rm -f conftest.err conftest.
$ac_objext \
16111 conftest
$ac_exeext conftest.
$ac_ext
16114 LIBS
=$ac_func_search_save_LIBS
16116 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
16117 echo "${ECHO_T}$ac_cv_search_opendir" >&6
16118 if test "$ac_cv_search_opendir" != no
; then
16119 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
16125 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
16126 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
16127 if test "${gcc_cv_header_string+set}" = set; then
16128 echo $ECHO_N "(cached) $ECHO_C" >&6
16130 cat >conftest.
$ac_ext <<_ACEOF
16133 cat confdefs.h
>>conftest.
$ac_ext
16134 cat >>conftest.
$ac_ext <<_ACEOF
16135 /* end confdefs.h. */
16136 #include <string.h>
16137 #include <strings.h>
16146 rm -f conftest.
$ac_objext
16147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16148 (eval $ac_compile) 2>conftest.er1
16150 grep -v '^ *+' conftest.er1
>conftest.err
16152 cat conftest.err
>&5
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); } &&
16155 { ac_try
='test -z "$ac_c_werror_flag"
16156 || test ! -s conftest.err'
16157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16158 (eval $ac_try) 2>&5
16160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 (exit $ac_status); }; } &&
16162 { ac_try
='test -s conftest.$ac_objext'
16163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16164 (eval $ac_try) 2>&5
16166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16167 (exit $ac_status); }; }; then
16168 gcc_cv_header_string
=yes
16170 echo "$as_me: failed program was:" >&5
16171 sed 's/^/| /' conftest.
$ac_ext >&5
16173 gcc_cv_header_string
=no
16175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16177 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
16178 echo "${ECHO_T}$gcc_cv_header_string" >&6
16179 if test $gcc_cv_header_string = yes; then
16181 cat >>confdefs.h
<<\_ACEOF
16182 #define STRING_WITH_STRINGS 1
16194 for ac_func
in fcntl getpagesize setitimer sysconf fdopen getuid getgid
16196 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16197 echo "$as_me:$LINENO: checking for $ac_func" >&5
16198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16199 if eval "test \"\${$as_ac_var+set}\" = set"; then
16200 echo $ECHO_N "(cached) $ECHO_C" >&6
16202 cat >conftest.
$ac_ext <<_ACEOF
16205 cat confdefs.h
>>conftest.
$ac_ext
16206 cat >>conftest.
$ac_ext <<_ACEOF
16207 /* end confdefs.h. */
16208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16210 #define $ac_func innocuous_$ac_func
16212 /* System header to define __stub macros and hopefully few prototypes,
16213 which can conflict with char $ac_func (); below.
16214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16215 <limits.h> exists even on freestanding compilers. */
16218 # include <limits.h>
16220 # include <assert.h>
16225 /* Override any gcc2 internal prototype to avoid an error. */
16230 /* We use char because int might match the return type of a gcc2
16231 builtin and then its argument prototype would still apply. */
16233 /* The GNU C library defines this for functions which it implements
16234 to always fail with ENOSYS. Some functions are actually named
16235 something starting with __ and the normal name is an alias. */
16236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16239 char (*f) () = $ac_func;
16248 return f != $ac_func;
16253 rm -f conftest.
$ac_objext conftest
$ac_exeext
16254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16255 (eval $ac_link) 2>conftest.er1
16257 grep -v '^ *+' conftest.er1
>conftest.err
16259 cat conftest.err
>&5
16260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16261 (exit $ac_status); } &&
16262 { ac_try
='test -z "$ac_c_werror_flag"
16263 || test ! -s conftest.err'
16264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16265 (eval $ac_try) 2>&5
16267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268 (exit $ac_status); }; } &&
16269 { ac_try
='test -s conftest$ac_exeext'
16270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16271 (eval $ac_try) 2>&5
16273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16274 (exit $ac_status); }; }; then
16275 eval "$as_ac_var=yes"
16277 echo "$as_me: failed program was:" >&5
16278 sed 's/^/| /' conftest.
$ac_ext >&5
16280 eval "$as_ac_var=no"
16282 rm -f conftest.err conftest.
$ac_objext \
16283 conftest
$ac_exeext conftest.
$ac_ext
16285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16287 if test `eval echo '${'$as_ac_var'}'` = yes; then
16288 cat >>confdefs.h
<<_ACEOF
16289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16296 for ac_func
in strtoull
16298 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16299 echo "$as_me:$LINENO: checking for $ac_func" >&5
16300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16301 if eval "test \"\${$as_ac_var+set}\" = set"; then
16302 echo $ECHO_N "(cached) $ECHO_C" >&6
16304 cat >conftest.
$ac_ext <<_ACEOF
16307 cat confdefs.h
>>conftest.
$ac_ext
16308 cat >>conftest.
$ac_ext <<_ACEOF
16309 /* end confdefs.h. */
16310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16312 #define $ac_func innocuous_$ac_func
16314 /* System header to define __stub macros and hopefully few prototypes,
16315 which can conflict with char $ac_func (); below.
16316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16317 <limits.h> exists even on freestanding compilers. */
16320 # include <limits.h>
16322 # include <assert.h>
16327 /* Override any gcc2 internal prototype to avoid an error. */
16332 /* We use char because int might match the return type of a gcc2
16333 builtin and then its argument prototype would still apply. */
16335 /* The GNU C library defines this for functions which it implements
16336 to always fail with ENOSYS. Some functions are actually named
16337 something starting with __ and the normal name is an alias. */
16338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16341 char (*f) () = $ac_func;
16350 return f != $ac_func;
16355 rm -f conftest.
$ac_objext conftest
$ac_exeext
16356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16357 (eval $ac_link) 2>conftest.er1
16359 grep -v '^ *+' conftest.er1
>conftest.err
16361 cat conftest.err
>&5
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); } &&
16364 { ac_try
='test -z "$ac_c_werror_flag"
16365 || test ! -s conftest.err'
16366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16367 (eval $ac_try) 2>&5
16369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16370 (exit $ac_status); }; } &&
16371 { ac_try
='test -s conftest$ac_exeext'
16372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16373 (eval $ac_try) 2>&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); }; }; then
16377 eval "$as_ac_var=yes"
16379 echo "$as_me: failed program was:" >&5
16380 sed 's/^/| /' conftest.
$ac_ext >&5
16382 eval "$as_ac_var=no"
16384 rm -f conftest.err conftest.
$ac_objext \
16385 conftest
$ac_exeext conftest.
$ac_ext
16387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16389 if test `eval echo '${'$as_ac_var'}'` = yes; then
16390 cat >>confdefs.h
<<_ACEOF
16391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16398 echo "$as_me:$LINENO: checking whether basename is declared" >&5
16399 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
16400 if test "${ac_cv_have_decl_basename+set}" = set; then
16401 echo $ECHO_N "(cached) $ECHO_C" >&6
16403 cat >conftest.
$ac_ext <<_ACEOF
16406 cat confdefs.h
>>conftest.
$ac_ext
16407 cat >>conftest.
$ac_ext <<_ACEOF
16408 /* end confdefs.h. */
16409 $ac_includes_default
16414 char *p = (char *) basename;
16421 rm -f conftest.
$ac_objext
16422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16423 (eval $ac_compile) 2>conftest.er1
16425 grep -v '^ *+' conftest.er1
>conftest.err
16427 cat conftest.err
>&5
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); } &&
16430 { ac_try
='test -z "$ac_c_werror_flag"
16431 || test ! -s conftest.err'
16432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16433 (eval $ac_try) 2>&5
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); }; } &&
16437 { ac_try
='test -s conftest.$ac_objext'
16438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16439 (eval $ac_try) 2>&5
16441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442 (exit $ac_status); }; }; then
16443 ac_cv_have_decl_basename
=yes
16445 echo "$as_me: failed program was:" >&5
16446 sed 's/^/| /' conftest.
$ac_ext >&5
16448 ac_cv_have_decl_basename
=no
16450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16452 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
16453 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
16454 if test $ac_cv_have_decl_basename = yes; then
16456 cat >>confdefs.h
<<_ACEOF
16457 #define HAVE_DECL_BASENAME 1
16462 cat >>confdefs.h
<<_ACEOF
16463 #define HAVE_DECL_BASENAME 0
16470 echo "$as_me:$LINENO: checking whether ftello is declared" >&5
16471 echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6
16472 if test "${ac_cv_have_decl_ftello+set}" = set; then
16473 echo $ECHO_N "(cached) $ECHO_C" >&6
16475 cat >conftest.
$ac_ext <<_ACEOF
16478 cat confdefs.h
>>conftest.
$ac_ext
16479 cat >>conftest.
$ac_ext <<_ACEOF
16480 /* end confdefs.h. */
16481 $ac_includes_default
16486 char *p = (char *) ftello;
16493 rm -f conftest.
$ac_objext
16494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16495 (eval $ac_compile) 2>conftest.er1
16497 grep -v '^ *+' conftest.er1
>conftest.err
16499 cat conftest.err
>&5
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); } &&
16502 { ac_try
='test -z "$ac_c_werror_flag"
16503 || test ! -s conftest.err'
16504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16505 (eval $ac_try) 2>&5
16507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16508 (exit $ac_status); }; } &&
16509 { ac_try
='test -s conftest.$ac_objext'
16510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16511 (eval $ac_try) 2>&5
16513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16514 (exit $ac_status); }; }; then
16515 ac_cv_have_decl_ftello
=yes
16517 echo "$as_me: failed program was:" >&5
16518 sed 's/^/| /' conftest.
$ac_ext >&5
16520 ac_cv_have_decl_ftello
=no
16522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16524 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
16525 echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6
16526 if test $ac_cv_have_decl_ftello = yes; then
16528 cat >>confdefs.h
<<_ACEOF
16529 #define HAVE_DECL_FTELLO 1
16534 cat >>confdefs.h
<<_ACEOF
16535 #define HAVE_DECL_FTELLO 0
16542 echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
16543 echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6
16544 if test "${ac_cv_have_decl_ftello64+set}" = set; then
16545 echo $ECHO_N "(cached) $ECHO_C" >&6
16547 cat >conftest.
$ac_ext <<_ACEOF
16550 cat confdefs.h
>>conftest.
$ac_ext
16551 cat >>conftest.
$ac_ext <<_ACEOF
16552 /* end confdefs.h. */
16553 $ac_includes_default
16558 char *p = (char *) ftello64;
16565 rm -f conftest.
$ac_objext
16566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16567 (eval $ac_compile) 2>conftest.er1
16569 grep -v '^ *+' conftest.er1
>conftest.err
16571 cat conftest.err
>&5
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); } &&
16574 { ac_try
='test -z "$ac_c_werror_flag"
16575 || test ! -s conftest.err'
16576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16577 (eval $ac_try) 2>&5
16579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580 (exit $ac_status); }; } &&
16581 { ac_try
='test -s conftest.$ac_objext'
16582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16583 (eval $ac_try) 2>&5
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); }; }; then
16587 ac_cv_have_decl_ftello64
=yes
16589 echo "$as_me: failed program was:" >&5
16590 sed 's/^/| /' conftest.
$ac_ext >&5
16592 ac_cv_have_decl_ftello64
=no
16594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16596 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
16597 echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6
16598 if test $ac_cv_have_decl_ftello64 = yes; then
16600 cat >>confdefs.h
<<_ACEOF
16601 #define HAVE_DECL_FTELLO64 1
16606 cat >>confdefs.h
<<_ACEOF
16607 #define HAVE_DECL_FTELLO64 0
16614 echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
16615 echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6
16616 if test "${ac_cv_have_decl_fseeko+set}" = set; then
16617 echo $ECHO_N "(cached) $ECHO_C" >&6
16619 cat >conftest.
$ac_ext <<_ACEOF
16622 cat confdefs.h
>>conftest.
$ac_ext
16623 cat >>conftest.
$ac_ext <<_ACEOF
16624 /* end confdefs.h. */
16625 $ac_includes_default
16630 char *p = (char *) fseeko;
16637 rm -f conftest.
$ac_objext
16638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16639 (eval $ac_compile) 2>conftest.er1
16641 grep -v '^ *+' conftest.er1
>conftest.err
16643 cat conftest.err
>&5
16644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16645 (exit $ac_status); } &&
16646 { ac_try
='test -z "$ac_c_werror_flag"
16647 || test ! -s conftest.err'
16648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16649 (eval $ac_try) 2>&5
16651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16652 (exit $ac_status); }; } &&
16653 { ac_try
='test -s conftest.$ac_objext'
16654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16655 (eval $ac_try) 2>&5
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); }; }; then
16659 ac_cv_have_decl_fseeko
=yes
16661 echo "$as_me: failed program was:" >&5
16662 sed 's/^/| /' conftest.
$ac_ext >&5
16664 ac_cv_have_decl_fseeko
=no
16666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16668 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
16669 echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6
16670 if test $ac_cv_have_decl_fseeko = yes; then
16672 cat >>confdefs.h
<<_ACEOF
16673 #define HAVE_DECL_FSEEKO 1
16678 cat >>confdefs.h
<<_ACEOF
16679 #define HAVE_DECL_FSEEKO 0
16686 echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
16687 echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6
16688 if test "${ac_cv_have_decl_fseeko64+set}" = set; then
16689 echo $ECHO_N "(cached) $ECHO_C" >&6
16691 cat >conftest.
$ac_ext <<_ACEOF
16694 cat confdefs.h
>>conftest.
$ac_ext
16695 cat >>conftest.
$ac_ext <<_ACEOF
16696 /* end confdefs.h. */
16697 $ac_includes_default
16702 char *p = (char *) fseeko64;
16709 rm -f conftest.
$ac_objext
16710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16711 (eval $ac_compile) 2>conftest.er1
16713 grep -v '^ *+' conftest.er1
>conftest.err
16715 cat conftest.err
>&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); } &&
16718 { ac_try
='test -z "$ac_c_werror_flag"
16719 || test ! -s conftest.err'
16720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16721 (eval $ac_try) 2>&5
16723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724 (exit $ac_status); }; } &&
16725 { ac_try
='test -s conftest.$ac_objext'
16726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16727 (eval $ac_try) 2>&5
16729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16730 (exit $ac_status); }; }; then
16731 ac_cv_have_decl_fseeko64
=yes
16733 echo "$as_me: failed program was:" >&5
16734 sed 's/^/| /' conftest.
$ac_ext >&5
16736 ac_cv_have_decl_fseeko64
=no
16738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16740 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
16741 echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6
16742 if test $ac_cv_have_decl_fseeko64 = yes; then
16744 cat >>confdefs.h
<<_ACEOF
16745 #define HAVE_DECL_FSEEKO64 1
16750 cat >>confdefs.h
<<_ACEOF
16751 #define HAVE_DECL_FSEEKO64 0
16761 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
16763 cat >>confdefs.h
<<\_ACEOF
16764 #define USE_BINARY_FOPEN 1
16769 echo "$as_me:$LINENO: checking whether ffs is declared" >&5
16770 echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
16771 if test "${ac_cv_have_decl_ffs+set}" = set; then
16772 echo $ECHO_N "(cached) $ECHO_C" >&6
16774 cat >conftest.
$ac_ext <<_ACEOF
16777 cat confdefs.h
>>conftest.
$ac_ext
16778 cat >>conftest.
$ac_ext <<_ACEOF
16779 /* end confdefs.h. */
16780 $ac_includes_default
16785 char *p = (char *) ffs;
16792 rm -f conftest.
$ac_objext
16793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16794 (eval $ac_compile) 2>conftest.er1
16796 grep -v '^ *+' conftest.er1
>conftest.err
16798 cat conftest.err
>&5
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); } &&
16801 { ac_try
='test -z "$ac_c_werror_flag"
16802 || test ! -s conftest.err'
16803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16804 (eval $ac_try) 2>&5
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); }; } &&
16808 { ac_try
='test -s conftest.$ac_objext'
16809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16810 (eval $ac_try) 2>&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); }; }; then
16814 ac_cv_have_decl_ffs
=yes
16816 echo "$as_me: failed program was:" >&5
16817 sed 's/^/| /' conftest.
$ac_ext >&5
16819 ac_cv_have_decl_ffs
=no
16821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16823 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
16824 echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
16825 if test $ac_cv_have_decl_ffs = yes; then
16827 cat >>confdefs.h
<<_ACEOF
16828 #define HAVE_DECL_FFS 1
16833 cat >>confdefs.h
<<_ACEOF
16834 #define HAVE_DECL_FFS 0
16841 echo "$as_me:$LINENO: checking whether free is declared" >&5
16842 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
16843 if test "${ac_cv_have_decl_free+set}" = set; then
16844 echo $ECHO_N "(cached) $ECHO_C" >&6
16846 cat >conftest.
$ac_ext <<_ACEOF
16849 cat confdefs.h
>>conftest.
$ac_ext
16850 cat >>conftest.
$ac_ext <<_ACEOF
16851 /* end confdefs.h. */
16852 $ac_includes_default
16857 char *p = (char *) free;
16864 rm -f conftest.
$ac_objext
16865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16866 (eval $ac_compile) 2>conftest.er1
16868 grep -v '^ *+' conftest.er1
>conftest.err
16870 cat conftest.err
>&5
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); } &&
16873 { ac_try
='test -z "$ac_c_werror_flag"
16874 || test ! -s conftest.err'
16875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16876 (eval $ac_try) 2>&5
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); }; } &&
16880 { ac_try
='test -s conftest.$ac_objext'
16881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16882 (eval $ac_try) 2>&5
16884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885 (exit $ac_status); }; }; then
16886 ac_cv_have_decl_free
=yes
16888 echo "$as_me: failed program was:" >&5
16889 sed 's/^/| /' conftest.
$ac_ext >&5
16891 ac_cv_have_decl_free
=no
16893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16895 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
16896 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
16897 if test $ac_cv_have_decl_free = yes; then
16899 cat >>confdefs.h
<<_ACEOF
16900 #define HAVE_DECL_FREE 1
16905 cat >>confdefs.h
<<_ACEOF
16906 #define HAVE_DECL_FREE 0
16913 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
16914 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
16915 if test "${ac_cv_have_decl_getenv+set}" = set; then
16916 echo $ECHO_N "(cached) $ECHO_C" >&6
16918 cat >conftest.
$ac_ext <<_ACEOF
16921 cat confdefs.h
>>conftest.
$ac_ext
16922 cat >>conftest.
$ac_ext <<_ACEOF
16923 /* end confdefs.h. */
16924 $ac_includes_default
16929 char *p = (char *) getenv;
16936 rm -f conftest.
$ac_objext
16937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16938 (eval $ac_compile) 2>conftest.er1
16940 grep -v '^ *+' conftest.er1
>conftest.err
16942 cat conftest.err
>&5
16943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16944 (exit $ac_status); } &&
16945 { ac_try
='test -z "$ac_c_werror_flag"
16946 || test ! -s conftest.err'
16947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16948 (eval $ac_try) 2>&5
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }; } &&
16952 { ac_try
='test -s conftest.$ac_objext'
16953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16954 (eval $ac_try) 2>&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); }; }; then
16958 ac_cv_have_decl_getenv
=yes
16960 echo "$as_me: failed program was:" >&5
16961 sed 's/^/| /' conftest.
$ac_ext >&5
16963 ac_cv_have_decl_getenv
=no
16965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16967 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
16968 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
16969 if test $ac_cv_have_decl_getenv = yes; then
16971 cat >>confdefs.h
<<_ACEOF
16972 #define HAVE_DECL_GETENV 1
16977 cat >>confdefs.h
<<_ACEOF
16978 #define HAVE_DECL_GETENV 0
16985 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
16986 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
16987 if test "${ac_cv_have_decl_malloc+set}" = set; then
16988 echo $ECHO_N "(cached) $ECHO_C" >&6
16990 cat >conftest.
$ac_ext <<_ACEOF
16993 cat confdefs.h
>>conftest.
$ac_ext
16994 cat >>conftest.
$ac_ext <<_ACEOF
16995 /* end confdefs.h. */
16996 $ac_includes_default
17001 char *p = (char *) malloc;
17008 rm -f conftest.
$ac_objext
17009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17010 (eval $ac_compile) 2>conftest.er1
17012 grep -v '^ *+' conftest.er1
>conftest.err
17014 cat conftest.err
>&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); } &&
17017 { ac_try
='test -z "$ac_c_werror_flag"
17018 || test ! -s conftest.err'
17019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17020 (eval $ac_try) 2>&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); }; } &&
17024 { ac_try
='test -s conftest.$ac_objext'
17025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17026 (eval $ac_try) 2>&5
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); }; }; then
17030 ac_cv_have_decl_malloc
=yes
17032 echo "$as_me: failed program was:" >&5
17033 sed 's/^/| /' conftest.
$ac_ext >&5
17035 ac_cv_have_decl_malloc
=no
17037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17039 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
17040 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
17041 if test $ac_cv_have_decl_malloc = yes; then
17043 cat >>confdefs.h
<<_ACEOF
17044 #define HAVE_DECL_MALLOC 1
17049 cat >>confdefs.h
<<_ACEOF
17050 #define HAVE_DECL_MALLOC 0
17057 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
17058 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
17059 if test "${ac_cv_have_decl_realloc+set}" = set; then
17060 echo $ECHO_N "(cached) $ECHO_C" >&6
17062 cat >conftest.
$ac_ext <<_ACEOF
17065 cat confdefs.h
>>conftest.
$ac_ext
17066 cat >>conftest.
$ac_ext <<_ACEOF
17067 /* end confdefs.h. */
17068 $ac_includes_default
17073 char *p = (char *) realloc;
17080 rm -f conftest.
$ac_objext
17081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17082 (eval $ac_compile) 2>conftest.er1
17084 grep -v '^ *+' conftest.er1
>conftest.err
17086 cat conftest.err
>&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); } &&
17089 { ac_try
='test -z "$ac_c_werror_flag"
17090 || test ! -s conftest.err'
17091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17092 (eval $ac_try) 2>&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); }; } &&
17096 { ac_try
='test -s conftest.$ac_objext'
17097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17098 (eval $ac_try) 2>&5
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); }; }; then
17102 ac_cv_have_decl_realloc
=yes
17104 echo "$as_me: failed program was:" >&5
17105 sed 's/^/| /' conftest.
$ac_ext >&5
17107 ac_cv_have_decl_realloc
=no
17109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17111 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
17112 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
17113 if test $ac_cv_have_decl_realloc = yes; then
17115 cat >>confdefs.h
<<_ACEOF
17116 #define HAVE_DECL_REALLOC 1
17121 cat >>confdefs.h
<<_ACEOF
17122 #define HAVE_DECL_REALLOC 0
17129 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
17130 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
17131 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
17132 echo $ECHO_N "(cached) $ECHO_C" >&6
17134 cat >conftest.
$ac_ext <<_ACEOF
17137 cat confdefs.h
>>conftest.
$ac_ext
17138 cat >>conftest.
$ac_ext <<_ACEOF
17139 /* end confdefs.h. */
17140 $ac_includes_default
17145 char *p = (char *) stpcpy;
17152 rm -f conftest.
$ac_objext
17153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17154 (eval $ac_compile) 2>conftest.er1
17156 grep -v '^ *+' conftest.er1
>conftest.err
17158 cat conftest.err
>&5
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); } &&
17161 { ac_try
='test -z "$ac_c_werror_flag"
17162 || test ! -s conftest.err'
17163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17164 (eval $ac_try) 2>&5
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; } &&
17168 { ac_try
='test -s conftest.$ac_objext'
17169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17170 (eval $ac_try) 2>&5
17172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17173 (exit $ac_status); }; }; then
17174 ac_cv_have_decl_stpcpy
=yes
17176 echo "$as_me: failed program was:" >&5
17177 sed 's/^/| /' conftest.
$ac_ext >&5
17179 ac_cv_have_decl_stpcpy
=no
17181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17183 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
17184 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
17185 if test $ac_cv_have_decl_stpcpy = yes; then
17187 cat >>confdefs.h
<<_ACEOF
17188 #define HAVE_DECL_STPCPY 1
17193 cat >>confdefs.h
<<_ACEOF
17194 #define HAVE_DECL_STPCPY 0
17201 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
17202 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
17203 if test "${ac_cv_have_decl_strstr+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17206 cat >conftest.
$ac_ext <<_ACEOF
17209 cat confdefs.h
>>conftest.
$ac_ext
17210 cat >>conftest.
$ac_ext <<_ACEOF
17211 /* end confdefs.h. */
17212 $ac_includes_default
17217 char *p = (char *) strstr;
17224 rm -f conftest.
$ac_objext
17225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17226 (eval $ac_compile) 2>conftest.er1
17228 grep -v '^ *+' conftest.er1
>conftest.err
17230 cat conftest.err
>&5
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); } &&
17233 { ac_try
='test -z "$ac_c_werror_flag"
17234 || test ! -s conftest.err'
17235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17236 (eval $ac_try) 2>&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); }; } &&
17240 { ac_try
='test -s conftest.$ac_objext'
17241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17242 (eval $ac_try) 2>&5
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); }; }; then
17246 ac_cv_have_decl_strstr
=yes
17248 echo "$as_me: failed program was:" >&5
17249 sed 's/^/| /' conftest.
$ac_ext >&5
17251 ac_cv_have_decl_strstr
=no
17253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17255 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
17256 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
17257 if test $ac_cv_have_decl_strstr = yes; then
17259 cat >>confdefs.h
<<_ACEOF
17260 #define HAVE_DECL_STRSTR 1
17265 cat >>confdefs.h
<<_ACEOF
17266 #define HAVE_DECL_STRSTR 0
17273 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
17274 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
17275 if test "${ac_cv_have_decl_snprintf+set}" = set; then
17276 echo $ECHO_N "(cached) $ECHO_C" >&6
17278 cat >conftest.
$ac_ext <<_ACEOF
17281 cat confdefs.h
>>conftest.
$ac_ext
17282 cat >>conftest.
$ac_ext <<_ACEOF
17283 /* end confdefs.h. */
17284 $ac_includes_default
17289 char *p = (char *) snprintf;
17296 rm -f conftest.
$ac_objext
17297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17298 (eval $ac_compile) 2>conftest.er1
17300 grep -v '^ *+' conftest.er1
>conftest.err
17302 cat conftest.err
>&5
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); } &&
17305 { ac_try
='test -z "$ac_c_werror_flag"
17306 || test ! -s conftest.err'
17307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17308 (eval $ac_try) 2>&5
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); }; } &&
17312 { ac_try
='test -s conftest.$ac_objext'
17313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17314 (eval $ac_try) 2>&5
17316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17317 (exit $ac_status); }; }; then
17318 ac_cv_have_decl_snprintf
=yes
17320 echo "$as_me: failed program was:" >&5
17321 sed 's/^/| /' conftest.
$ac_ext >&5
17323 ac_cv_have_decl_snprintf
=no
17325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17327 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
17328 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
17329 if test $ac_cv_have_decl_snprintf = yes; then
17331 cat >>confdefs.h
<<_ACEOF
17332 #define HAVE_DECL_SNPRINTF 1
17337 cat >>confdefs.h
<<_ACEOF
17338 #define HAVE_DECL_SNPRINTF 0
17345 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
17346 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
17347 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
17348 echo $ECHO_N "(cached) $ECHO_C" >&6
17350 cat >conftest.
$ac_ext <<_ACEOF
17353 cat confdefs.h
>>conftest.
$ac_ext
17354 cat >>conftest.
$ac_ext <<_ACEOF
17355 /* end confdefs.h. */
17356 $ac_includes_default
17361 char *p = (char *) vsnprintf;
17368 rm -f conftest.
$ac_objext
17369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17370 (eval $ac_compile) 2>conftest.er1
17372 grep -v '^ *+' conftest.er1
>conftest.err
17374 cat conftest.err
>&5
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); } &&
17377 { ac_try
='test -z "$ac_c_werror_flag"
17378 || test ! -s conftest.err'
17379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17380 (eval $ac_try) 2>&5
17382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383 (exit $ac_status); }; } &&
17384 { ac_try
='test -s conftest.$ac_objext'
17385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17386 (eval $ac_try) 2>&5
17388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17389 (exit $ac_status); }; }; then
17390 ac_cv_have_decl_vsnprintf
=yes
17392 echo "$as_me: failed program was:" >&5
17393 sed 's/^/| /' conftest.
$ac_ext >&5
17395 ac_cv_have_decl_vsnprintf
=no
17397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17399 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
17400 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
17401 if test $ac_cv_have_decl_vsnprintf = yes; then
17403 cat >>confdefs.h
<<_ACEOF
17404 #define HAVE_DECL_VSNPRINTF 1
17409 cat >>confdefs.h
<<_ACEOF
17410 #define HAVE_DECL_VSNPRINTF 0
17418 # If we are configured native, pick a core file support file.
17422 if test "${target}" = "${host}"; then
17424 alpha
*-*-freebsd* | alpha
*-*-kfreebsd*-gnu)
17428 COREFILE
=trad-core.lo
17429 TRAD_HEADER
='"hosts/alphalinux.h"'
17431 alpha
*-*-netbsd* | alpha
*-*-openbsd*)
17432 COREFILE
=netbsd-core.lo
17434 alpha
*-*-*) COREFILE
=osf-core.lo
;;
17435 arm-
*-freebsd* | arm-
*-kfreebsd*-gnu)
17437 arm-
*-netbsd* | arm-
*-openbsd*)
17438 COREFILE
=netbsd-core.lo
17440 arm-
*-riscix) COREFILE
=trad-core.lo
;;
17441 hppa
*-*-hpux*) COREFILE
=hpux-core.lo
;;
17442 hppa
*-*-hiux*) COREFILE
=hpux-core.lo
;;
17443 hppa
*-*-mpeix*) COREFILE
=hpux-core.lo
;;
17444 hppa
*-*-bsd*) COREFILE
="hpux-core.lo hppabsd-core.lo"
17445 COREFLAG
="-DHPUX_CORE -DHPPABSD_CORE" ;;
17446 hppa
*-*-netbsd* | hppa
*-*-openbsd*)
17447 COREFILE
=netbsd-core.lo
17451 COREFILE
=trad-core.lo
17452 TRAD_HEADER
='"hosts/i370linux.h"'
17455 i
[3-7]86-sequent-bsd*)
17456 COREFILE
=trad-core.lo
17457 TRAD_HEADER
='"hosts/symmetry.h"'
17459 i
[3-7]86-sequent-sysv4*) ;;
17460 i
[3-7]86-sequent-sysv*)
17461 COREFILE
=trad-core.lo
17462 TRAD_HEADER
='"hosts/symmetry.h"'
17467 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
*)
17468 COREFILE
=trad-core.lo
17469 TRAD_HEADER
='"hosts/i386bsd.h"'
17471 i
[3-7]86-*-freebsd* | i
[3-7]86-*-kfreebsd*-gnu | i
[3-7]86-*-dragonfly*)
17473 TRAD_HEADER
='"hosts/i386bsd.h"'
17475 i
[3-7]86-*-netbsd* | i
[3-7]86-*-knetbsd*-gnu | i
[3-7]86-*-openbsd*)
17476 COREFILE
=netbsd-core.lo
17478 i
[3-7]86-esix-sysv3*)
17479 COREFILE
=trad-core.lo
17480 TRAD_HEADER
='"hosts/esix.h"'
17482 i
[3-7]86-*-sco3.2v5
*)
17483 COREFILE
=sco5-core.lo
17485 i
[3-7]86-*-sco* | i
[3-7]86-*-isc*)
17486 COREFILE
=trad-core.lo
17487 TRAD_HEADER
='"hosts/i386sco.h"'
17490 COREFILE
=trad-core.lo
17491 TRAD_HEADER
='"hosts/i386mach3.h"'
17493 i
[3-7]86-*-linux-*)
17494 COREFILE
=trad-core.lo
17495 TRAD_HEADER
='"hosts/i386linux.h"'
17497 i
[3-7]86-*-isc*) COREFILE
=trad-core.lo
;;
17498 i
[3-7]86-*-aix*) COREFILE
=aix386-core.lo
;;
17499 i860-
*-mach3* | i860-
*-osf1*)
17500 COREFILE
=trad-core.lo
17501 TRAD_HEADER
='"hosts/i860mach3.h"'
17503 mips-
*-netbsd* | mips
*-*-openbsd*)
17504 COREFILE
=netbsd-core.lo
17507 COREFILE
=trad-core.lo
17508 TRAD_HEADER
='"hosts/decstation.h"'
17510 mips-sgi-irix4
*) COREFILE
=irix-core.lo
;;
17511 mips-sgi-irix5
*) COREFILE
=irix-core.lo
;;
17512 mips-sgi-irix6
*) COREFILE
=irix-core.lo
;;
17514 mips-
*-sysv* | mips-
*-riscos*)
17515 COREFILE
=trad-core.lo
17516 TRAD_HEADER
='"hosts/riscos.h"'
17519 COREFILE
=trad-core.lo
17520 TRAD_HEADER
='"hosts/news-mips.h"'
17523 COREFILE
=trad-core.lo
17524 TRAD_HEADER
='"hosts/dpx2.h"'
17526 m68
*-hp-hpux*) COREFILE
=hpux-core.lo
;;
17528 COREFILE
=trad-core.lo
17529 TRAD_HEADER
='"hosts/hp300bsd.h"'
17532 COREFILE
=trad-core.lo
17533 TRAD_HEADER
='"hosts/m68klinux.h"'
17535 m68
*-motorola-sysv*)
17536 COREFILE
=trad-core.lo
17537 TRAD_HEADER
='"hosts/delta68.h"'
17540 COREFILE
=trad-core.lo
17541 TRAD_HEADER
='"hosts/news.h"'
17543 m68
*-*-netbsd* | m68
*-*-openbsd*)
17544 COREFILE
=netbsd-core.lo
17547 COREFILE
=trad-core.lo
17548 TRAD_HEADER
='"hosts/m68kaux.h"'
17552 m88
*-motorola-sysv*)
17553 COREFILE
=ptrace-core.lo
17556 COREFILE
=trad-core.lo
17557 TRAD_HEADER
='"hosts/m88kmach3.h"'
17560 COREFILE
=netbsd-core.lo
17563 COREFILE
=trad-core.lo
17564 TRAD_HEADER
='"hosts/pc532mach.h"'
17566 ns32k-
*-netbsd* | ns32k-
*-openbsd*)
17567 COREFILE
=netbsd-core.lo
17570 COREFILE
=lynx-core.lo
17572 rs6000-
*-aix5.
* | powerpc-
*-aix5.
*)
17573 COREFILE
=rs6000-core.lo
17574 COREFLAG
="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
17576 rs6000-
*-aix4.
[3-9]* | powerpc-
*-aix4.
[3-9]*)
17577 COREFILE
=rs6000-core.lo
17578 COREFLAG
="$COREFLAG -DAIX_CORE_DUMPX_CORE"
17579 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
17580 # have c_impl as a member of struct core_dumpx
17581 echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
17582 echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
17583 cat >conftest.
$ac_ext <<_ACEOF
17586 cat confdefs.h
>>conftest.
$ac_ext
17587 cat >>conftest.
$ac_ext <<_ACEOF
17588 /* end confdefs.h. */
17593 struct core_dumpx c; c.c_impl = 0;
17598 rm -f conftest.
$ac_objext
17599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17600 (eval $ac_compile) 2>conftest.er1
17602 grep -v '^ *+' conftest.er1
>conftest.err
17604 cat conftest.err
>&5
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); } &&
17607 { ac_try
='test -z "$ac_c_werror_flag"
17608 || test ! -s conftest.err'
17609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17610 (eval $ac_try) 2>&5
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); }; } &&
17614 { ac_try
='test -s conftest.$ac_objext'
17615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17616 (eval $ac_try) 2>&5
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); }; }; then
17621 cat >>confdefs.h
<<\_ACEOF
17622 #define HAVE_ST_C_IMPL 1
17625 echo "$as_me:$LINENO: result: yes" >&5
17626 echo "${ECHO_T}yes" >&6
17628 echo "$as_me: failed program was:" >&5
17629 sed 's/^/| /' conftest.
$ac_ext >&5
17631 echo "$as_me:$LINENO: result: no" >&5
17632 echo "${ECHO_T}no" >&6
17634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17636 rs6000-
*-aix4*) COREFILE
=rs6000-core.lo
;;
17637 rs6000-
*-*) COREFILE
=rs6000-core.lo
;;
17638 powerpc-
*-aix4*) COREFILE
=rs6000-core.lo
;;
17639 powerpc-
*-aix*) COREFILE
=rs6000-core.lo
;;
17640 powerpc-
*-beos*) ;;
17641 powerpc-
*-freebsd* | powerpc-
*-kfreebsd*-gnu)
17643 powerpc-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
17644 powerpc-
*-*bsd
*) COREFILE
=netbsd-core.lo
;;
17645 s390
*-*-*) COREFILE
=trad-core.lo
;;
17646 sh
*-*-netbsd* | sh
*-*-openbsd*)
17647 COREFILE
=netbsd-core.lo
17649 sparc-
*-netbsd* | sparc
*-*-openbsd*)
17650 COREFILE
=netbsd-core.lo
17653 COREFILE
=trad-core.lo
17654 TRAD_HEADER
='"hosts/tahoe.h"'
17656 vax-
*-netbsd* | vax-
*-openbsd*)
17657 COREFILE
=netbsd-core.lo
17660 COREFILE
=trad-core.lo
17661 TRAD_HEADER
='"hosts/vaxult2.h"'
17664 COREFILE
=trad-core.lo
17665 TRAD_HEADER
='"hosts/vaxult2.h"'
17668 COREFILE
=trad-core.lo
17669 TRAD_HEADER
='"hosts/vaxlinux.h"'
17672 COREFILE
=trad-core.lo
17673 TRAD_HEADER
='"hosts/vaxbsd.h"'
17675 x86_64-
*-netbsd* | x86_64-
*-openbsd*)
17676 COREFILE
=netbsd-core.lo
17680 case "$COREFILE" in
17681 aix386-core.lo
) COREFLAG
=-DAIX386_CORE ;;
17682 hppabsd-core.lo
) COREFLAG
=-DHPPABSD_CORE ;;
17683 hpux-core.lo
) COREFLAG
=-DHPUX_CORE ;;
17684 irix-core.lo
) COREFLAG
=-DIRIX_CORE ;;
17685 lynx-core.lo
) COREFLAG
=-DLYNX_CORE ;;
17686 netbsd-core.lo
) COREFLAG
=-DNETBSD_CORE ;;
17687 osf-core.lo
) COREFLAG
=-DOSF_CORE ;;
17688 ptrace-core.lo
) COREFLAG
=-DPTRACE_CORE ;;
17689 rs6000-core.lo
) COREFLAG
="$COREFLAG -DAIX_CORE" ;;
17690 sco5-core.lo
) COREFLAG
="$COREFLAG -DSCO5_CORE" ;;
17691 trad-core.lo
) COREFLAG
="$COREFLAG -DTRAD_CORE" ;;
17694 # ELF corefile support has several flavors, but all of
17695 # them use something called <sys/procfs.h>
17697 for ac_header
in sys
/procfs.h
17699 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17701 echo "$as_me:$LINENO: checking for $ac_header" >&5
17702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17704 echo $ECHO_N "(cached) $ECHO_C" >&6
17706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17707 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17709 # Is the header compilable?
17710 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17711 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17712 cat >conftest.
$ac_ext <<_ACEOF
17715 cat confdefs.h
>>conftest.
$ac_ext
17716 cat >>conftest.
$ac_ext <<_ACEOF
17717 /* end confdefs.h. */
17718 $ac_includes_default
17719 #include <$ac_header>
17721 rm -f conftest.
$ac_objext
17722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17723 (eval $ac_compile) 2>conftest.er1
17725 grep -v '^ *+' conftest.er1
>conftest.err
17727 cat conftest.err
>&5
17728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17729 (exit $ac_status); } &&
17730 { ac_try
='test -z "$ac_c_werror_flag"
17731 || test ! -s conftest.err'
17732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17733 (eval $ac_try) 2>&5
17735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17736 (exit $ac_status); }; } &&
17737 { ac_try
='test -s conftest.$ac_objext'
17738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17739 (eval $ac_try) 2>&5
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); }; }; then
17743 ac_header_compiler
=yes
17745 echo "$as_me: failed program was:" >&5
17746 sed 's/^/| /' conftest.
$ac_ext >&5
17748 ac_header_compiler
=no
17750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17751 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17752 echo "${ECHO_T}$ac_header_compiler" >&6
17754 # Is the header present?
17755 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17756 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17757 cat >conftest.
$ac_ext <<_ACEOF
17760 cat confdefs.h
>>conftest.
$ac_ext
17761 cat >>conftest.
$ac_ext <<_ACEOF
17762 /* end confdefs.h. */
17763 #include <$ac_header>
17765 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17766 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17768 grep -v '^ *+' conftest.er1
>conftest.err
17770 cat conftest.err
>&5
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); } >/dev
/null
; then
17773 if test -s conftest.err
; then
17774 ac_cpp_err
=$ac_c_preproc_warn_flag
17775 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17782 if test -z "$ac_cpp_err"; then
17783 ac_header_preproc
=yes
17785 echo "$as_me: failed program was:" >&5
17786 sed 's/^/| /' conftest.
$ac_ext >&5
17788 ac_header_preproc
=no
17790 rm -f conftest.err conftest.
$ac_ext
17791 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17792 echo "${ECHO_T}$ac_header_preproc" >&6
17794 # So? What about this header?
17795 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17797 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17798 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17800 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17801 ac_header_preproc
=yes
17804 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17805 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17806 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17807 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17808 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17809 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17810 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17811 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17812 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17813 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17814 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17815 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17818 ## ------------------------------------------ ##
17819 ## Report this to the AC_PACKAGE_NAME lists. ##
17820 ## ------------------------------------------ ##
17823 sed "s/^/$as_me: WARNING: /" >&2
17826 echo "$as_me:$LINENO: checking for $ac_header" >&5
17827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17829 echo $ECHO_N "(cached) $ECHO_C" >&6
17831 eval "$as_ac_Header=\$ac_header_preproc"
17833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17834 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17837 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17838 cat >>confdefs.h
<<_ACEOF
17839 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17846 if test "$ac_cv_header_sys_procfs_h" = yes; then
17847 echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
17848 echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
17849 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
17850 echo $ECHO_N "(cached) $ECHO_C" >&6
17852 cat >conftest.
$ac_ext <<_ACEOF
17855 cat confdefs.h
>>conftest.
$ac_ext
17856 cat >>conftest.
$ac_ext <<_ACEOF
17857 /* end confdefs.h. */
17860 #include <sys/procfs.h>
17869 rm -f conftest.
$ac_objext
17870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17871 (eval $ac_compile) 2>conftest.er1
17873 grep -v '^ *+' conftest.er1
>conftest.err
17875 cat conftest.err
>&5
17876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17877 (exit $ac_status); } &&
17878 { ac_try
='test -z "$ac_c_werror_flag"
17879 || test ! -s conftest.err'
17880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17881 (eval $ac_try) 2>&5
17883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884 (exit $ac_status); }; } &&
17885 { ac_try
='test -s conftest.$ac_objext'
17886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17887 (eval $ac_try) 2>&5
17889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17890 (exit $ac_status); }; }; then
17891 bfd_cv_have_sys_procfs_type_prstatus_t
=yes
17893 echo "$as_me: failed program was:" >&5
17894 sed 's/^/| /' conftest.
$ac_ext >&5
17896 bfd_cv_have_sys_procfs_type_prstatus_t
=no
17899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17902 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
17904 cat >>confdefs.h
<<\_ACEOF
17905 #define HAVE_PRSTATUS_T 1
17909 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
17910 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
17912 echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
17913 echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
17914 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
17915 echo $ECHO_N "(cached) $ECHO_C" >&6
17917 cat >conftest.
$ac_ext <<_ACEOF
17920 cat confdefs.h
>>conftest.
$ac_ext
17921 cat >>conftest.
$ac_ext <<_ACEOF
17922 /* end confdefs.h. */
17925 #include <sys/procfs.h>
17934 rm -f conftest.
$ac_objext
17935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17936 (eval $ac_compile) 2>conftest.er1
17938 grep -v '^ *+' conftest.er1
>conftest.err
17940 cat conftest.err
>&5
17941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942 (exit $ac_status); } &&
17943 { ac_try
='test -z "$ac_c_werror_flag"
17944 || test ! -s conftest.err'
17945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17946 (eval $ac_try) 2>&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); }; } &&
17950 { ac_try
='test -s conftest.$ac_objext'
17951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17952 (eval $ac_try) 2>&5
17954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17955 (exit $ac_status); }; }; then
17956 bfd_cv_have_sys_procfs_type_prstatus32_t
=yes
17958 echo "$as_me: failed program was:" >&5
17959 sed 's/^/| /' conftest.
$ac_ext >&5
17961 bfd_cv_have_sys_procfs_type_prstatus32_t
=no
17964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17967 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
17969 cat >>confdefs.h
<<\_ACEOF
17970 #define HAVE_PRSTATUS32_T 1
17974 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
17975 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
17977 echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
17978 echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
17979 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
17980 echo $ECHO_N "(cached) $ECHO_C" >&6
17982 cat >conftest.
$ac_ext <<_ACEOF
17985 cat confdefs.h
>>conftest.
$ac_ext
17986 cat >>conftest.
$ac_ext <<_ACEOF
17987 /* end confdefs.h. */
17990 #include <sys/procfs.h>
17994 prstatus_t avar; void* aref = (void*) &avar.pr_who
17999 rm -f conftest.
$ac_objext
18000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18001 (eval $ac_compile) 2>conftest.er1
18003 grep -v '^ *+' conftest.er1
>conftest.err
18005 cat conftest.err
>&5
18006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007 (exit $ac_status); } &&
18008 { ac_try
='test -z "$ac_c_werror_flag"
18009 || test ! -s conftest.err'
18010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18011 (eval $ac_try) 2>&5
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); }; } &&
18015 { ac_try
='test -s conftest.$ac_objext'
18016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18017 (eval $ac_try) 2>&5
18019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18020 (exit $ac_status); }; }; then
18021 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=yes
18023 echo "$as_me: failed program was:" >&5
18024 sed 's/^/| /' conftest.
$ac_ext >&5
18026 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=no
18029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18032 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
18034 cat >>confdefs.h
<<\_ACEOF
18035 #define HAVE_PRSTATUS_T_PR_WHO 1
18039 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
18040 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
18042 echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
18043 echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
18044 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
18045 echo $ECHO_N "(cached) $ECHO_C" >&6
18047 cat >conftest.
$ac_ext <<_ACEOF
18050 cat confdefs.h
>>conftest.
$ac_ext
18051 cat >>conftest.
$ac_ext <<_ACEOF
18052 /* end confdefs.h. */
18055 #include <sys/procfs.h>
18059 prstatus32_t avar; void* aref = (void*) &avar.pr_who
18064 rm -f conftest.
$ac_objext
18065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18066 (eval $ac_compile) 2>conftest.er1
18068 grep -v '^ *+' conftest.er1
>conftest.err
18070 cat conftest.err
>&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); } &&
18073 { ac_try
='test -z "$ac_c_werror_flag"
18074 || test ! -s conftest.err'
18075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18076 (eval $ac_try) 2>&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); }; } &&
18080 { ac_try
='test -s conftest.$ac_objext'
18081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18082 (eval $ac_try) 2>&5
18084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18085 (exit $ac_status); }; }; then
18086 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=yes
18088 echo "$as_me: failed program was:" >&5
18089 sed 's/^/| /' conftest.
$ac_ext >&5
18091 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=no
18094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18097 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
18099 cat >>confdefs.h
<<\_ACEOF
18100 #define HAVE_PRSTATUS32_T_PR_WHO 1
18104 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
18105 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
18107 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
18108 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
18109 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
18110 echo $ECHO_N "(cached) $ECHO_C" >&6
18112 cat >conftest.
$ac_ext <<_ACEOF
18115 cat confdefs.h
>>conftest.
$ac_ext
18116 cat >>conftest.
$ac_ext <<_ACEOF
18117 /* end confdefs.h. */
18120 #include <sys/procfs.h>
18129 rm -f conftest.
$ac_objext
18130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18131 (eval $ac_compile) 2>conftest.er1
18133 grep -v '^ *+' conftest.er1
>conftest.err
18135 cat conftest.err
>&5
18136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18137 (exit $ac_status); } &&
18138 { ac_try
='test -z "$ac_c_werror_flag"
18139 || test ! -s conftest.err'
18140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18141 (eval $ac_try) 2>&5
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); }; } &&
18145 { ac_try
='test -s conftest.$ac_objext'
18146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18147 (eval $ac_try) 2>&5
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); }; }; then
18151 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
18153 echo "$as_me: failed program was:" >&5
18154 sed 's/^/| /' conftest.
$ac_ext >&5
18156 bfd_cv_have_sys_procfs_type_pstatus_t
=no
18159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18162 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
18164 cat >>confdefs.h
<<\_ACEOF
18165 #define HAVE_PSTATUS_T 1
18169 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
18170 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
18172 echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
18173 echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
18174 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
18175 echo $ECHO_N "(cached) $ECHO_C" >&6
18177 cat >conftest.
$ac_ext <<_ACEOF
18180 cat confdefs.h
>>conftest.
$ac_ext
18181 cat >>conftest.
$ac_ext <<_ACEOF
18182 /* end confdefs.h. */
18185 #include <sys/procfs.h>
18194 rm -f conftest.
$ac_objext
18195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18196 (eval $ac_compile) 2>conftest.er1
18198 grep -v '^ *+' conftest.er1
>conftest.err
18200 cat conftest.err
>&5
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); } &&
18203 { ac_try
='test -z "$ac_c_werror_flag"
18204 || test ! -s conftest.err'
18205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18206 (eval $ac_try) 2>&5
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); }; } &&
18210 { ac_try
='test -s conftest.$ac_objext'
18211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18212 (eval $ac_try) 2>&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); }; }; then
18216 bfd_cv_have_sys_procfs_type_pxstatus_t
=yes
18218 echo "$as_me: failed program was:" >&5
18219 sed 's/^/| /' conftest.
$ac_ext >&5
18221 bfd_cv_have_sys_procfs_type_pxstatus_t
=no
18224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18227 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
18229 cat >>confdefs.h
<<\_ACEOF
18230 #define HAVE_PXSTATUS_T 1
18234 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
18235 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
18237 echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
18238 echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
18239 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
18240 echo $ECHO_N "(cached) $ECHO_C" >&6
18242 cat >conftest.
$ac_ext <<_ACEOF
18245 cat confdefs.h
>>conftest.
$ac_ext
18246 cat >>conftest.
$ac_ext <<_ACEOF
18247 /* end confdefs.h. */
18250 #include <sys/procfs.h>
18259 rm -f conftest.
$ac_objext
18260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18261 (eval $ac_compile) 2>conftest.er1
18263 grep -v '^ *+' conftest.er1
>conftest.err
18265 cat conftest.err
>&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); } &&
18268 { ac_try
='test -z "$ac_c_werror_flag"
18269 || test ! -s conftest.err'
18270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18271 (eval $ac_try) 2>&5
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); }; } &&
18275 { ac_try
='test -s conftest.$ac_objext'
18276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18277 (eval $ac_try) 2>&5
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); }; }; then
18281 bfd_cv_have_sys_procfs_type_pstatus32_t
=yes
18283 echo "$as_me: failed program was:" >&5
18284 sed 's/^/| /' conftest.
$ac_ext >&5
18286 bfd_cv_have_sys_procfs_type_pstatus32_t
=no
18289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18292 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
18294 cat >>confdefs.h
<<\_ACEOF
18295 #define HAVE_PSTATUS32_T 1
18299 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
18300 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
18302 echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
18303 echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
18304 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
18305 echo $ECHO_N "(cached) $ECHO_C" >&6
18307 cat >conftest.
$ac_ext <<_ACEOF
18310 cat confdefs.h
>>conftest.
$ac_ext
18311 cat >>conftest.
$ac_ext <<_ACEOF
18312 /* end confdefs.h. */
18315 #include <sys/procfs.h>
18324 rm -f conftest.
$ac_objext
18325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18326 (eval $ac_compile) 2>conftest.er1
18328 grep -v '^ *+' conftest.er1
>conftest.err
18330 cat conftest.err
>&5
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); } &&
18333 { ac_try
='test -z "$ac_c_werror_flag"
18334 || test ! -s conftest.err'
18335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18336 (eval $ac_try) 2>&5
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); }; } &&
18340 { ac_try
='test -s conftest.$ac_objext'
18341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18342 (eval $ac_try) 2>&5
18344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18345 (exit $ac_status); }; }; then
18346 bfd_cv_have_sys_procfs_type_prpsinfo_t
=yes
18348 echo "$as_me: failed program was:" >&5
18349 sed 's/^/| /' conftest.
$ac_ext >&5
18351 bfd_cv_have_sys_procfs_type_prpsinfo_t
=no
18354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18357 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
18359 cat >>confdefs.h
<<\_ACEOF
18360 #define HAVE_PRPSINFO_T 1
18364 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
18365 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
18367 echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
18368 echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
18369 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
18370 echo $ECHO_N "(cached) $ECHO_C" >&6
18372 cat >conftest.
$ac_ext <<_ACEOF
18375 cat confdefs.h
>>conftest.
$ac_ext
18376 cat >>conftest.
$ac_ext <<_ACEOF
18377 /* end confdefs.h. */
18380 #include <sys/procfs.h>
18389 rm -f conftest.
$ac_objext
18390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18391 (eval $ac_compile) 2>conftest.er1
18393 grep -v '^ *+' conftest.er1
>conftest.err
18395 cat conftest.err
>&5
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); } &&
18398 { ac_try
='test -z "$ac_c_werror_flag"
18399 || test ! -s conftest.err'
18400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18401 (eval $ac_try) 2>&5
18403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404 (exit $ac_status); }; } &&
18405 { ac_try
='test -s conftest.$ac_objext'
18406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18407 (eval $ac_try) 2>&5
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); }; }; then
18411 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=yes
18413 echo "$as_me: failed program was:" >&5
18414 sed 's/^/| /' conftest.
$ac_ext >&5
18416 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=no
18419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18422 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
18424 cat >>confdefs.h
<<\_ACEOF
18425 #define HAVE_PRPSINFO32_T 1
18429 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
18430 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
18432 echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
18433 echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
18434 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
18435 echo $ECHO_N "(cached) $ECHO_C" >&6
18437 cat >conftest.
$ac_ext <<_ACEOF
18440 cat confdefs.h
>>conftest.
$ac_ext
18441 cat >>conftest.
$ac_ext <<_ACEOF
18442 /* end confdefs.h. */
18445 #include <sys/procfs.h>
18454 rm -f conftest.
$ac_objext
18455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18456 (eval $ac_compile) 2>conftest.er1
18458 grep -v '^ *+' conftest.er1
>conftest.err
18460 cat conftest.err
>&5
18461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18462 (exit $ac_status); } &&
18463 { ac_try
='test -z "$ac_c_werror_flag"
18464 || test ! -s conftest.err'
18465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18466 (eval $ac_try) 2>&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); }; } &&
18470 { ac_try
='test -s conftest.$ac_objext'
18471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18472 (eval $ac_try) 2>&5
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); }; }; then
18476 bfd_cv_have_sys_procfs_type_psinfo_t
=yes
18478 echo "$as_me: failed program was:" >&5
18479 sed 's/^/| /' conftest.
$ac_ext >&5
18481 bfd_cv_have_sys_procfs_type_psinfo_t
=no
18484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18487 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
18489 cat >>confdefs.h
<<\_ACEOF
18490 #define HAVE_PSINFO_T 1
18494 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
18495 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
18497 echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
18498 echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
18499 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
18500 echo $ECHO_N "(cached) $ECHO_C" >&6
18502 cat >conftest.
$ac_ext <<_ACEOF
18505 cat confdefs.h
>>conftest.
$ac_ext
18506 cat >>conftest.
$ac_ext <<_ACEOF
18507 /* end confdefs.h. */
18510 #include <sys/procfs.h>
18519 rm -f conftest.
$ac_objext
18520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18521 (eval $ac_compile) 2>conftest.er1
18523 grep -v '^ *+' conftest.er1
>conftest.err
18525 cat conftest.err
>&5
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); } &&
18528 { ac_try
='test -z "$ac_c_werror_flag"
18529 || test ! -s conftest.err'
18530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18531 (eval $ac_try) 2>&5
18533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534 (exit $ac_status); }; } &&
18535 { ac_try
='test -s conftest.$ac_objext'
18536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18537 (eval $ac_try) 2>&5
18539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540 (exit $ac_status); }; }; then
18541 bfd_cv_have_sys_procfs_type_psinfo32_t
=yes
18543 echo "$as_me: failed program was:" >&5
18544 sed 's/^/| /' conftest.
$ac_ext >&5
18546 bfd_cv_have_sys_procfs_type_psinfo32_t
=no
18549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18552 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
18554 cat >>confdefs.h
<<\_ACEOF
18555 #define HAVE_PSINFO32_T 1
18559 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
18560 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
18562 echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
18563 echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
18564 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
18565 echo $ECHO_N "(cached) $ECHO_C" >&6
18567 cat >conftest.
$ac_ext <<_ACEOF
18570 cat confdefs.h
>>conftest.
$ac_ext
18571 cat >>conftest.
$ac_ext <<_ACEOF
18572 /* end confdefs.h. */
18575 #include <sys/procfs.h>
18584 rm -f conftest.
$ac_objext
18585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18586 (eval $ac_compile) 2>conftest.er1
18588 grep -v '^ *+' conftest.er1
>conftest.err
18590 cat conftest.err
>&5
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); } &&
18593 { ac_try
='test -z "$ac_c_werror_flag"
18594 || test ! -s conftest.err'
18595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18596 (eval $ac_try) 2>&5
18598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599 (exit $ac_status); }; } &&
18600 { ac_try
='test -s conftest.$ac_objext'
18601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18602 (eval $ac_try) 2>&5
18604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18605 (exit $ac_status); }; }; then
18606 bfd_cv_have_sys_procfs_type_lwpstatus_t
=yes
18608 echo "$as_me: failed program was:" >&5
18609 sed 's/^/| /' conftest.
$ac_ext >&5
18611 bfd_cv_have_sys_procfs_type_lwpstatus_t
=no
18614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18617 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
18619 cat >>confdefs.h
<<\_ACEOF
18620 #define HAVE_LWPSTATUS_T 1
18624 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
18625 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
18627 echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
18628 echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
18629 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
18630 echo $ECHO_N "(cached) $ECHO_C" >&6
18632 cat >conftest.
$ac_ext <<_ACEOF
18635 cat confdefs.h
>>conftest.
$ac_ext
18636 cat >>conftest.
$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18640 #include <sys/procfs.h>
18649 rm -f conftest.
$ac_objext
18650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18651 (eval $ac_compile) 2>conftest.er1
18653 grep -v '^ *+' conftest.er1
>conftest.err
18655 cat conftest.err
>&5
18656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18657 (exit $ac_status); } &&
18658 { ac_try
='test -z "$ac_c_werror_flag"
18659 || test ! -s conftest.err'
18660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18661 (eval $ac_try) 2>&5
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); }; } &&
18665 { ac_try
='test -s conftest.$ac_objext'
18666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18667 (eval $ac_try) 2>&5
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); }; }; then
18671 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=yes
18673 echo "$as_me: failed program was:" >&5
18674 sed 's/^/| /' conftest.
$ac_ext >&5
18676 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=no
18679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18682 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
18684 cat >>confdefs.h
<<\_ACEOF
18685 #define HAVE_LWPXSTATUS_T 1
18689 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
18690 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
18692 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
18693 echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
18694 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
18695 echo $ECHO_N "(cached) $ECHO_C" >&6
18697 cat >conftest.
$ac_ext <<_ACEOF
18700 cat confdefs.h
>>conftest.
$ac_ext
18701 cat >>conftest.
$ac_ext <<_ACEOF
18702 /* end confdefs.h. */
18705 #include <sys/procfs.h>
18709 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
18714 rm -f conftest.
$ac_objext
18715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18716 (eval $ac_compile) 2>conftest.er1
18718 grep -v '^ *+' conftest.er1
>conftest.err
18720 cat conftest.err
>&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); } &&
18723 { ac_try
='test -z "$ac_c_werror_flag"
18724 || test ! -s conftest.err'
18725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18726 (eval $ac_try) 2>&5
18728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18729 (exit $ac_status); }; } &&
18730 { ac_try
='test -s conftest.$ac_objext'
18731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18732 (eval $ac_try) 2>&5
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); }; }; then
18736 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=yes
18738 echo "$as_me: failed program was:" >&5
18739 sed 's/^/| /' conftest.
$ac_ext >&5
18741 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=no
18744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18747 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
18749 cat >>confdefs.h
<<\_ACEOF
18750 #define HAVE_LWPSTATUS_T_PR_CONTEXT 1
18754 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
18755 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
18757 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
18758 echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
18759 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
18760 echo $ECHO_N "(cached) $ECHO_C" >&6
18762 cat >conftest.
$ac_ext <<_ACEOF
18765 cat confdefs.h
>>conftest.
$ac_ext
18766 cat >>conftest.
$ac_ext <<_ACEOF
18767 /* end confdefs.h. */
18770 #include <sys/procfs.h>
18774 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
18779 rm -f conftest.
$ac_objext
18780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18781 (eval $ac_compile) 2>conftest.er1
18783 grep -v '^ *+' conftest.er1
>conftest.err
18785 cat conftest.err
>&5
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); } &&
18788 { ac_try
='test -z "$ac_c_werror_flag"
18789 || test ! -s conftest.err'
18790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18791 (eval $ac_try) 2>&5
18793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794 (exit $ac_status); }; } &&
18795 { ac_try
='test -s conftest.$ac_objext'
18796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18797 (eval $ac_try) 2>&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); }; }; then
18801 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=yes
18803 echo "$as_me: failed program was:" >&5
18804 sed 's/^/| /' conftest.
$ac_ext >&5
18806 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=no
18809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18812 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
18814 cat >>confdefs.h
<<\_ACEOF
18815 #define HAVE_LWPSTATUS_T_PR_REG 1
18819 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
18820 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
18822 echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
18823 echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
18824 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
18825 echo $ECHO_N "(cached) $ECHO_C" >&6
18827 cat >conftest.
$ac_ext <<_ACEOF
18830 cat confdefs.h
>>conftest.
$ac_ext
18831 cat >>conftest.
$ac_ext <<_ACEOF
18832 /* end confdefs.h. */
18835 #include <sys/procfs.h>
18839 win32_pstatus_t avar
18844 rm -f conftest.
$ac_objext
18845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18846 (eval $ac_compile) 2>conftest.er1
18848 grep -v '^ *+' conftest.er1
>conftest.err
18850 cat conftest.err
>&5
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); } &&
18853 { ac_try
='test -z "$ac_c_werror_flag"
18854 || test ! -s conftest.err'
18855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18856 (eval $ac_try) 2>&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); }; } &&
18860 { ac_try
='test -s conftest.$ac_objext'
18861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18862 (eval $ac_try) 2>&5
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); }; }; then
18866 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=yes
18868 echo "$as_me: failed program was:" >&5
18869 sed 's/^/| /' conftest.
$ac_ext >&5
18871 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=no
18874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18877 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
18879 cat >>confdefs.h
<<\_ACEOF
18880 #define HAVE_WIN32_PSTATUS_T 1
18884 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
18885 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
18891 if test -n "$TRAD_HEADER"; then
18893 cat >>confdefs.h
<<_ACEOF
18894 #define TRAD_HEADER $TRAD_HEADER
18899 # Horrible hacks to build DLLs on Windows.
18904 if test "$enable_shared" = "yes"; then
18905 WIN32LDFLAGS
="-no-undefined"
18906 WIN32LIBADD
="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
18910 # We borrow WIN32LIBADD so that the shared libbfd won't depend on
18912 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
18913 if test -n "$x"; then
18914 WIN32LIBADD
="-L../libiberty/pic -liberty"
18923 # Canonicalize the secondary target names.
18924 if test -n "$enable_targets" ; then
18925 for targ
in `echo $enable_targets | sed 's/,/ /g'`
18927 result
=`$ac_config_sub $targ 2>/dev/null`
18928 if test -n "$result" ; then
18929 canon_targets
="$canon_targets $result"
18931 # Allow targets that config.sub doesn't recognize, like "all".
18932 canon_targets
="$canon_targets $targ"
18943 for targ
in $target $canon_targets
18945 if test "x$targ" = "xall"; then
18947 assocvecs
="$assocvecs $targ_defvec $targ_selvecs"
18949 .
$srcdir/config.bfd
18950 if test "x$targ" = "x$target"; then
18951 defvec
=$targ_defvec
18953 selvecs
="$selvecs $targ_defvec $targ_selvecs"
18954 selarchs
="$selarchs $targ_archs"
18955 TDEFINES
="$TDEFINES $targ_cflags"
18960 # This processing still needs to be done if we're to decide properly whether
18961 # 64-bit support needs to be compiled in. Currently, it will be included if
18962 # the default or any other explicitly requested target requires it; it
18963 # will not be included on a 32-bit host if no 64-bit target is requested, and
18964 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
18967 # uniq the default and selected vectors in all the configured targets.
18969 for i
in $selvecs ; do
18978 # uniq the associated vectors in all the configured targets.
18980 for i
in $assocvecs ; do
18989 # uniq the architectures in all the configured targets.
18991 for i
in $selarchs ; do
18999 # Target backend .o files.
19002 elf
="elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
19004 for vec
in $selvecs
19008 # This list is alphabetized to make it easy to compare
19009 # with the two vector lists in targets.c. For the same reason,
19010 # use one entry per line, even though this leads to long lines.
19011 a_out_adobe_vec
) tb
="$tb aout-adobe.lo aout32.lo" ;;
19012 aix5coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
19013 aout0_big_vec
) tb
="$tb aout0.lo aout32.lo" ;;
19014 aout_arm_big_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
19015 aout_arm_little_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
19016 apollocoff_vec
) tb
="$tb coff-apollo.lo" ;;
19017 arm_epoc_pe_big_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
19018 arm_epoc_pe_little_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
19019 arm_epoc_pei_big_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
19020 arm_epoc_pei_little_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
19021 arm_wince_pe_big_vec
) tb
="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
19022 arm_wince_pe_little_vec
) tb
="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
19023 arm_wince_pei_big_vec
) tb
="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
19024 arm_wince_pei_little_vec
) tb
="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
19025 armcoff_big_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
19026 armcoff_little_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
19027 armnetbsd_vec
) tb
="$tb armnetbsd.lo aout32.lo" ;;
19028 armpe_big_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
19029 armpe_little_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
19030 armpei_big_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
19031 armpei_little_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
19032 b_out_vec_big_host
) tb
="$tb bout.lo aout32.lo" ;;
19033 b_out_vec_little_host
) tb
="$tb bout.lo aout32.lo" ;;
19034 bfd_efi_app_ia32_vec
) tb
="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;;
19035 bfd_efi_bsdrv_ia32_vec
) tb
="$tb efi-bsdrv-ia32.lo peigen.lo cofflink.lo" ;;
19036 bfd_efi_rtdrv_ia32_vec
) tb
="$tb efi-rtdrv-ia32.lo peigen.lo cofflink.lo" ;;
19037 bfd_efi_app_x86_64_vec
) tb
="$tb efi-app-x86_64.lo pex64igen.lo cofflink.lo" ;target_size
=64;;
19038 bfd_efi_bsdrv_x86_64_vec
) tb
="$tb efi-bsdrv-x86_64.lo pex64igen.lo cofflink.lo" ;target_size
=64;;
19039 bfd_efi_rtdrv_x86_64_vec
) tb
="$tb efi-rtdrv-x86_64.lo pex64igen.lo cofflink.lo" ;target_size
=64;;
19040 bfd_efi_app_ia64_vec
) tb
="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
19041 bfd_efi_bsdrv_ia64_vec
) tb
="$tb efi-bsdrv-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
19042 bfd_efi_rtdrv_ia64_vec
) tb
="$tb efi-rtdrv-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
19043 bfd_elf32_am33lin_vec
) tb
="$tb elf32-am33lin.lo elf32.lo $elf" ;;
19044 bfd_elf32_avr_vec
) tb
="$tb elf32-avr.lo elf32.lo $elf" ;;
19045 bfd_elf32_bfin_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
19046 bfd_elf32_bfinfdpic_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
19047 bfd_elf32_big_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
19048 bfd_elf32_bigarc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
19049 bfd_elf32_bigarm_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
19050 bfd_elf32_bigarm_symbian_vec
)
19051 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
19052 bfd_elf32_bigarm_vxworks_vec
)
19053 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
19054 bfd_elf32_bigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
19055 bfd_elf32_bigmips_vxworks_vec
)
19056 tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
19057 bfd_elf32_cr16_vec
) tb
="$tb elf32-cr16.lo elf32.lo $elf" ;;
19058 bfd_elf32_cr16c_vec
) tb
="$tb elf32-cr16c.lo elf32.lo $elf" ;;
19059 bfd_elf32_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
19060 bfd_elf32_crx_vec
) tb
="$tb elf32-crx.lo elf32.lo $elf" ;;
19061 bfd_elf32_d10v_vec
) tb
="$tb elf32-d10v.lo elf32.lo $elf" ;;
19062 bfd_elf32_d30v_vec
) tb
="$tb elf32-d30v.lo elf32.lo $elf" ;;
19063 bfd_elf32_dlx_big_vec
) tb
="$tb elf32-dlx.lo elf32.lo $elf" ;;
19064 bfd_elf32_fr30_vec
) tb
="$tb elf32-fr30.lo elf32.lo $elf" ;;
19065 bfd_elf32_frv_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
19066 bfd_elf32_frvfdpic_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
19067 bfd_elf32_h8300_vec
) tb
="$tb elf32-h8300.lo elf32.lo $elf" ;;
19068 bfd_elf32_hppa_linux_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
19069 bfd_elf32_hppa_nbsd_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
19070 bfd_elf32_hppa_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
19071 bfd_elf32_i370_vec
) tb
="$tb elf32-i370.lo elf32.lo $elf" ;;
19072 bfd_elf32_i386_dragonfly_vec
)
19073 tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
19074 bfd_elf32_i386_freebsd_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
19075 bfd_elf32_i386_vxworks_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
19076 bfd_elf32_i386_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
19077 bfd_elf32_i860_little_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
19078 bfd_elf32_i860_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
19079 bfd_elf32_i960_vec
) tb
="$tb elf32-i960.lo elf32.lo $elf" ;;
19080 bfd_elf32_ia64_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf" ;;
19081 bfd_elf32_ia64_hpux_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf";;
19082 bfd_elf32_ip2k_vec
) tb
="$tb elf32-ip2k.lo elf32.lo $elf" ;;
19083 bfd_elf32_iq2000_vec
) tb
="$tb elf32-iq2000.lo elf32.lo $elf" ;;
19084 bfd_elf32_little_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
19085 bfd_elf32_littlearc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
19086 bfd_elf32_littlearm_symbian_vec
)
19087 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
19088 bfd_elf32_littlearm_vxworks_vec
)
19089 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
19090 bfd_elf32_littlearm_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
19091 bfd_elf32_littlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
19092 bfd_elf32_littlemips_vxworks_vec
)
19093 tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
19094 bfd_elf32_m32c_vec
) tb
="$tb elf32-m32c.lo elf32.lo $elf" ;;
19095 bfd_elf32_m32r_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
19096 bfd_elf32_m32rle_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
19097 bfd_elf32_m32rlin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
19098 bfd_elf32_m32rlelin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
19099 bfd_elf32_m68hc11_vec
) tb
="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
19100 bfd_elf32_m68hc12_vec
) tb
="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
19101 bfd_elf32_m68k_vec
) tb
="$tb elf32-m68k.lo elf32.lo $elf" ;;
19102 bfd_elf32_m88k_vec
) tb
="$tb elf32-m88k.lo elf32.lo $elf" ;;
19103 bfd_elf32_mcore_big_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
19104 bfd_elf32_mcore_little_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
19105 bfd_elf32_mep_vec
) tb
="$tb elf32-mep.lo elf32.lo $elf" ;;
19106 bfd_elf32_mep_little_vec
) tb
="$tb elf32-mep.lo elf32.lo $elf" ;;
19107 bfd_elf32_mn10200_vec
) tb
="$tb elf-m10200.lo elf32.lo $elf" ;;
19108 bfd_elf32_mn10300_vec
) tb
="$tb elf-m10300.lo elf32.lo $elf" ;;
19109 bfd_elf32_mt_vec
) tb
="$tb elf32-mt.lo elf32.lo $elf" ;;
19110 bfd_elf32_msp430_vec
) tb
="$tb elf32-msp430.lo elf32.lo $elf" ;;
19111 bfd_elf32_nbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
19112 bfd_elf32_nlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
19113 bfd_elf32_ntradbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
19114 bfd_elf32_ntradlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
19115 bfd_elf32_openrisc_vec
) tb
="$tb elf32-openrisc.lo elf32.lo $elf" ;;
19116 bfd_elf32_or32_big_vec
) tb
="$tb elf32-or32.lo elf32.lo $elf" ;;
19117 bfd_elf32_pj_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
19118 bfd_elf32_pjl_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
19119 bfd_elf32_powerpc_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
19120 bfd_elf32_powerpcle_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
19121 bfd_elf32_powerpc_vxworks_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
19122 bfd_elf32_s390_vec
) tb
="$tb elf32-s390.lo elf32.lo $elf" ;;
19123 bfd_elf32_bigscore_vec
) tb
="$tb elf32-score.lo elf32.lo $elf" ;;
19124 bfd_elf32_littlescore_vec
) tb
="$tb elf32-score.lo elf32.lo $elf" ;;
19125 # FIXME: We include cofflink.lo not because it's needed for
19126 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
19127 # which needs it but does not list it. Should be fixed in right place.
19128 bfd_elf32_sh64_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
19129 bfd_elf32_sh64l_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
19130 bfd_elf32_sh64lin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
19131 bfd_elf32_sh64blin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
19132 bfd_elf32_sh64lnbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
19133 bfd_elf32_sh64nbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
19134 bfd_elf32_sh_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
19135 bfd_elf32_shblin_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
19136 bfd_elf32_shl_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
19137 bfd_elf32_shl_symbian_vec
) tb
="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
19138 bfd_elf32_shlin_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
19139 bfd_elf32_shlnbsd_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
19140 bfd_elf32_shlvxworks_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
19141 bfd_elf32_shnbsd_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
19142 bfd_elf32_shvxworks_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
19143 bfd_elf32_sparc_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
19144 bfd_elf32_sparc_vxworks_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
19145 bfd_elf32_spu_vec
) tb
="$tb elf32-spu.lo elf32.lo $elf" ;;
19146 bfd_elf32_tradbigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
19147 bfd_elf32_tradlittlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
19148 bfd_elf32_us_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
19149 bfd_elf32_v850_vec
) tb
="$tb elf32-v850.lo elf32.lo $elf" ;;
19150 bfd_elf32_vax_vec
) tb
="$tb elf32-vax.lo elf32.lo $elf" ;;
19151 bfd_elf32_xstormy16_vec
) tb
="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
19152 bfd_elf32_xc16x_vec
) tb
="$tb elf32-xc16x.lo elf32.lo $elf" ;;
19153 bfd_elf32_xtensa_le_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
19154 bfd_elf32_xtensa_be_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
19155 bfd_elf64_alpha_freebsd_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
19156 bfd_elf64_alpha_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
19157 bfd_elf64_big_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
19158 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 ;;
19159 bfd_elf64_hppa_linux_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
19160 bfd_elf64_hppa_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
19161 bfd_elf64_ia64_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
19162 bfd_elf64_ia64_hpux_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
19163 bfd_elf64_ia64_little_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
19164 bfd_elf64_little_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
19165 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 ;;
19166 bfd_elf64_mmix_vec
) tb
="$tb elf64-mmix.lo elf64.lo $elf" target_size
=64 ;;
19167 bfd_elf64_powerpc_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
19168 bfd_elf64_powerpcle_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size
=64 ;;
19169 bfd_elf64_s390_vec
) tb
="$tb elf64-s390.lo elf64.lo $elf"; target_size
=64 ;;
19170 bfd_elf64_sh64_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
19171 bfd_elf64_sh64l_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
19172 bfd_elf64_sh64lin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
19173 bfd_elf64_sh64blin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
19174 bfd_elf64_sh64lnbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
19175 bfd_elf64_sh64nbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
19176 bfd_elf64_sparc_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size
=64 ;;
19177 bfd_elf64_sparc_freebsd_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size
=64 ;;
19178 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 ;;
19179 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 ;;
19180 bfd_elf64_x86_64_freebsd_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
19181 bfd_elf64_x86_64_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
19182 bfd_mmo_vec
) tb
="$tb mmo.lo" target_size
=64 ;;
19183 bfd_powerpc_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
19184 bfd_powerpc_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
19185 bfd_powerpcle_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
19186 bfd_powerpcle_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
19187 cris_aout_vec
) tb
="$tb aout-cris.lo" ;;
19188 demo_64_vec
) tb
="$tb demo64.lo aout64.lo"; target_size
=64 ;;
19189 ecoff_big_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
19190 ecoff_biglittle_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
19191 ecoff_little_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
19192 ecoffalpha_little_vec
) tb
="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size
=64 ;;
19193 go32coff_vec
) tb
="$tb coff-go32.lo cofflink.lo" ;;
19194 go32stubbedcoff_vec
) tb
="$tb coff-stgo32.lo cofflink.lo" ;;
19195 h8300coff_vec
) tb
="$tb coff-h8300.lo reloc16.lo" ;;
19196 h8500coff_vec
) tb
="$tb coff-h8500.lo reloc16.lo" ;;
19197 host_aout_vec
) tb
="$tb host-aout.lo aout32.lo" ;;
19198 hp300bsd_vec
) tb
="$tb hp300bsd.lo aout32.lo" ;;
19199 hp300hpux_vec
) tb
="$tb hp300hpux.lo aout32.lo" ;;
19200 i386aout_vec
) tb
="$tb i386aout.lo aout32.lo" ;;
19201 i386bsd_vec
) tb
="$tb i386bsd.lo aout32.lo" ;;
19202 i386coff_vec
) tb
="$tb coff-i386.lo cofflink.lo" ;;
19203 x86_64coff_vec
) tb
="$tb coff-x86_64.lo cofflink.lo"; target_size
=64 ;;
19204 i386dynix_vec
) tb
="$tb i386dynix.lo aout32.lo" ;;
19205 i386freebsd_vec
) tb
="$tb i386freebsd.lo aout32.lo" ;;
19206 i386linux_vec
) tb
="$tb i386linux.lo aout32.lo" ;;
19207 i386lynx_aout_vec
) tb
="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
19208 i386lynx_coff_vec
) tb
="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
19209 i386mach3_vec
) tb
="$tb i386mach3.lo aout32.lo" ;;
19210 i386msdos_vec
) tb
="$tb i386msdos.lo" ;;
19211 i386netbsd_vec
) tb
="$tb i386netbsd.lo aout32.lo" ;;
19212 i386os9k_vec
) tb
="$tb i386os9k.lo aout32.lo" ;;
19213 i386pe_vec
) tb
="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
19214 i386pei_vec
) tb
="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
19215 x86_64pe_vec
) tb
="$tb pe-x86_64.lo pex64igen.lo cofflink.lo"; target_size
=64 ;;
19216 x86_64pei_vec
) tb
="$tb pei-x86_64.lo pex64igen.lo cofflink.lo"; target_size
=64 ;;
19217 i860coff_vec
) tb
="$tb coff-i860.lo cofflink.lo" ;;
19218 icoff_big_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
19219 icoff_little_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
19220 ieee_vec
) tb
="$tb ieee.lo" ;;
19221 m68k4knetbsd_vec
) tb
="$tb m68k4knetbsd.lo aout32.lo" ;;
19222 m68kaux_coff_vec
) tb
="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
19223 m68kcoff_vec
) tb
="$tb coff-m68k.lo cofflink.lo" ;;
19224 m68kcoffun_vec
) tb
="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
19225 m68klinux_vec
) tb
="$tb m68klinux.lo aout32.lo" ;;
19226 m68knetbsd_vec
) tb
="$tb m68knetbsd.lo aout32.lo" ;;
19227 m68ksysvcoff_vec
) tb
="$tb coff-svm68k.lo cofflink.lo" ;;
19228 m88kbcs_vec
) tb
="$tb coff-m88k.lo" ;;
19229 m88kmach3_vec
) tb
="$tb m88kmach3.lo aout32.lo" ;;
19230 m88kopenbsd_vec
) tb
="$tb m88kopenbsd.lo aout32.lo" ;;
19231 maxqcoff_vec
) tb
="$tb coff-maxq.lo" ;;
19232 mach_o_be_vec
) tb
="$tb mach-o.lo" ;;
19233 mach_o_le_vec
) tb
="$tb mach-o.lo" ;;
19234 mach_o_fat_vec
) tb
="$tb mach-o.lo" ;;
19235 mcore_pe_big_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
19236 mcore_pe_little_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
19237 mcore_pei_big_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
19238 mcore_pei_little_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
19239 mipslpe_vec
) tb
="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
19240 mipslpei_vec
) tb
="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
19241 newsos3_vec
) tb
="$tb newsos3.lo aout32.lo" ;;
19242 nlm32_alpha_vec
) tb
="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size
=64 ;;
19243 nlm32_i386_vec
) tb
="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
19244 nlm32_powerpc_vec
) tb
="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
19245 nlm32_sparc_vec
) tb
="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
19246 or32coff_big_vec
) tb
="$tb coff-or32.lo cofflink.lo" ;;
19247 pc532machaout_vec
) tb
="$tb pc532-mach.lo aout-ns32k.lo" ;;
19248 pc532netbsd_vec
) tb
="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
19249 pef_vec
) tb
="$tb pef.lo" ;;
19250 pef_xlib_vec
) tb
="$tb pef.lo" ;;
19251 pdp11_aout_vec
) tb
="$tb pdp11.lo" ;;
19252 pmac_xcoff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
19253 ppcboot_vec
) tb
="$tb ppcboot.lo" ;;
19254 riscix_vec
) tb
="$tb aout32.lo riscix.lo" ;;
19255 rs6000coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
19256 rs6000coff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
19257 shcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
19258 shcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
19259 shlcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
19260 shlcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
19261 shlpe_vec
) tb
="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
19262 shlpei_vec
) tb
="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
19263 som_vec
) tb
="$tb som.lo" ;;
19264 sparccoff_vec
) tb
="$tb coff-sparc.lo" ;;
19265 sparcle_aout_vec
) tb
="$tb aout-sparcle.lo aout32.lo" ;;
19266 sparclinux_vec
) tb
="$tb sparclinux.lo aout32.lo" ;;
19267 sparclynx_aout_vec
) tb
="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
19268 sparclynx_coff_vec
) tb
="$tb cf-sparclynx.lo lynx-core.lo" ;;
19269 sparcnetbsd_vec
) tb
="$tb sparcnetbsd.lo aout32.lo" ;;
19270 sunos_big_vec
) tb
="$tb sunos.lo aout32.lo" ;;
19271 sym_vec
) tb
="$tb xsym.lo" ;;
19272 tic30_aout_vec
) tb
="$tb aout-tic30.lo" ;;
19273 tic30_coff_vec
) tb
="$tb coff-tic30.lo" ;;
19274 tic4x_coff0_vec
) tb
="$tb coff-tic4x.lo" ;;
19275 tic4x_coff0_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
19276 tic4x_coff1_vec
) tb
="$tb coff-tic4x.lo" ;;
19277 tic4x_coff1_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
19278 tic4x_coff2_vec
) tb
="$tb coff-tic4x.lo" ;;
19279 tic4x_coff2_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
19280 tic54x_coff0_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
19281 tic54x_coff0_vec
) tb
="$tb coff-tic54x.lo" ;;
19282 tic54x_coff1_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
19283 tic54x_coff1_vec
) tb
="$tb coff-tic54x.lo" ;;
19284 tic54x_coff2_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
19285 tic54x_coff2_vec
) tb
="$tb coff-tic54x.lo" ;;
19286 tic80coff_vec
) tb
="$tb coff-tic80.lo cofflink.lo" ;;
19287 vaxnetbsd_vec
) tb
="$tb vaxnetbsd.lo aout32.lo" ;;
19288 vax1knetbsd_vec
) tb
="$tb vax1knetbsd.lo aout32.lo" ;;
19289 vaxbsd_vec
) tb
="$tb vaxbsd.lo aout32.lo" ;;
19290 versados_vec
) tb
="$tb versados.lo" ;;
19291 vms_alpha_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size
=64 ;;
19292 vms_vax_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
19293 w65_vec
) tb
="$tb coff-w65.lo reloc16.lo" ;;
19294 we32kcoff_vec
) tb
="$tb coff-we32k.lo" ;;
19295 z80coff_vec
) tb
="$tb coff-z80.lo reloc16.lo" ;;
19296 z8kcoff_vec
) tb
="$tb coff-z8k.lo reloc16.lo cofflink.lo" ;;
19298 # These appear out of order in targets.c
19299 srec_vec
) tb
="$tb srec.lo" ;;
19300 symbolsrec_vec
) tb
="$tb srec.lo" ;;
19301 tekhex_vec
) tb
="$tb tekhex.lo" ;;
19302 cisco_core_big_vec
) tb
="$tb cisco-core.lo" ;;
19303 cisco_core_little_vec
) tb
="$tb cisco-core.lo" ;;
19306 *) { { echo "$as_me:$LINENO: error: *** unknown target vector $vec" >&5
19307 echo "$as_me: error: *** unknown target vector $vec" >&2;}
19308 { (exit 1); exit 1; }; } ;;
19311 if test ${target_size} = 64; then
19314 if test x
"${vec}" = x
"${defvec}"; then
19315 bfd_default_target_size
=${target_size}
19319 # Target architecture .o files.
19320 # A couple of CPUs use shorter file names to avoid problems on DOS
19322 ta
=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
19324 # Weed out duplicate .o files.
19346 if test x
${all_targets} = xtrue
; then
19347 bfd_backends
="${bfd_backends}"' $(ALL_BACKENDS)'
19348 bfd_machines
="${bfd_machines}"' $(ALL_MACHINES)'
19352 test -n "$assocvecs" &&
19353 assocvecs
=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
19354 else # all_targets is true
19355 # Only set these if they will be nonempty, for the clever echo.
19358 test -n "$selvecs" &&
19359 havevecs
=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
19360 test -n "$selvecs" &&
19361 selvecs
=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
19362 test -n "$selarchs" &&
19363 selarchs
=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
19364 fi # all_targets is true
19366 case ${host64}-${target64}-${want64} in
19369 bfd64_libs
='$(BFD64_LIBS)'
19370 all_backends
='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
19371 if test $BFD_HOST_64_BIT_DEFINED = 0; then
19372 { echo "$as_me:$LINENO: WARNING: You have requested a 64 bit BFD configuration, but" >&5
19373 echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
19374 { echo "$as_me:$LINENO: WARNING: your compiler may not have a 64 bit integral type" >&5
19375 echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
19377 if test -n "$GCC" ; then
19379 echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
19380 echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
19381 # Add more tests for gcc versions with non-working 64-bit support here.
19382 cat >conftest.
$ac_ext <<_ACEOF
19385 cat confdefs.h
>>conftest.
$ac_ext
19386 cat >>conftest.
$ac_ext <<_ACEOF
19387 /* end confdefs.h. */
19388 :__GNUC__:__GNUC_MINOR__:__i386__:
19390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19391 $EGREP ": 2 : 91 : 1 :" >/dev
/null
2>&1; then
19393 echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
19394 echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
19396 echo "$as_me:$LINENO: result: no" >&5
19397 echo "${ECHO_T}no" >&6
19401 if test $bad_64bit_gcc = yes ; then
19402 { { echo "$as_me:$LINENO: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&5
19403 echo "$as_me: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&2;}
19404 { (exit 1); exit 1; }; }
19410 all_backends
='$(BFD32_BACKENDS)'
19421 # Determine the host dependant file_ptr a.k.a. off_t type. In order
19422 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
19423 # fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
19424 # Hopefully a reasonable assumption since fseeko et.al. should be
19425 # upward compatible.
19431 for ac_func
in ftello ftello64 fseeko fseeko64 fopen64
19433 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19434 echo "$as_me:$LINENO: checking for $ac_func" >&5
19435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19436 if eval "test \"\${$as_ac_var+set}\" = set"; then
19437 echo $ECHO_N "(cached) $ECHO_C" >&6
19439 cat >conftest.
$ac_ext <<_ACEOF
19442 cat confdefs.h
>>conftest.
$ac_ext
19443 cat >>conftest.
$ac_ext <<_ACEOF
19444 /* end confdefs.h. */
19445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19447 #define $ac_func innocuous_$ac_func
19449 /* System header to define __stub macros and hopefully few prototypes,
19450 which can conflict with char $ac_func (); below.
19451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19452 <limits.h> exists even on freestanding compilers. */
19455 # include <limits.h>
19457 # include <assert.h>
19462 /* Override any gcc2 internal prototype to avoid an error. */
19467 /* We use char because int might match the return type of a gcc2
19468 builtin and then its argument prototype would still apply. */
19470 /* The GNU C library defines this for functions which it implements
19471 to always fail with ENOSYS. Some functions are actually named
19472 something starting with __ and the normal name is an alias. */
19473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19476 char (*f) () = $ac_func;
19485 return f != $ac_func;
19490 rm -f conftest.
$ac_objext conftest
$ac_exeext
19491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19492 (eval $ac_link) 2>conftest.er1
19494 grep -v '^ *+' conftest.er1
>conftest.err
19496 cat conftest.err
>&5
19497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19498 (exit $ac_status); } &&
19499 { ac_try
='test -z "$ac_c_werror_flag"
19500 || test ! -s conftest.err'
19501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19502 (eval $ac_try) 2>&5
19504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505 (exit $ac_status); }; } &&
19506 { ac_try
='test -s conftest$ac_exeext'
19507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19508 (eval $ac_try) 2>&5
19510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 (exit $ac_status); }; }; then
19512 eval "$as_ac_var=yes"
19514 echo "$as_me: failed program was:" >&5
19515 sed 's/^/| /' conftest.
$ac_ext >&5
19517 eval "$as_ac_var=no"
19519 rm -f conftest.err conftest.
$ac_objext \
19520 conftest
$ac_exeext conftest.
$ac_ext
19522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19524 if test `eval echo '${'$as_ac_var'}'` = yes; then
19525 cat >>confdefs.h
<<_ACEOF
19526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19532 if test x
"$ac_cv_func_ftello" = xyes
-a x
"$ac_cv_func_fseeko" = xyes
; then
19533 echo "$as_me:$LINENO: checking for off_t" >&5
19534 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
19535 if test "${ac_cv_type_off_t+set}" = set; then
19536 echo $ECHO_N "(cached) $ECHO_C" >&6
19538 cat >conftest.
$ac_ext <<_ACEOF
19541 cat confdefs.h
>>conftest.
$ac_ext
19542 cat >>conftest.
$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19544 $ac_includes_default
19550 if (sizeof (off_t))
19556 rm -f conftest.
$ac_objext
19557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19558 (eval $ac_compile) 2>conftest.er1
19560 grep -v '^ *+' conftest.er1
>conftest.err
19562 cat conftest.err
>&5
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); } &&
19565 { ac_try
='test -z "$ac_c_werror_flag"
19566 || test ! -s conftest.err'
19567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19568 (eval $ac_try) 2>&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); }; } &&
19572 { ac_try
='test -s conftest.$ac_objext'
19573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19574 (eval $ac_try) 2>&5
19576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19577 (exit $ac_status); }; }; then
19578 ac_cv_type_off_t
=yes
19580 echo "$as_me: failed program was:" >&5
19581 sed 's/^/| /' conftest.
$ac_ext >&5
19583 ac_cv_type_off_t
=no
19585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19587 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19588 echo "${ECHO_T}$ac_cv_type_off_t" >&6
19590 echo "$as_me:$LINENO: checking size of off_t" >&5
19591 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
19592 if test "${ac_cv_sizeof_off_t+set}" = set; then
19593 echo $ECHO_N "(cached) $ECHO_C" >&6
19595 if test "$ac_cv_type_off_t" = yes; then
19596 # The cast to unsigned long works around a bug in the HP C Compiler
19597 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19598 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19599 # This bug is HP SR number 8606223364.
19600 if test "$cross_compiling" = yes; then
19601 # Depending upon the size, compute the lo and hi bounds.
19602 cat >conftest.
$ac_ext <<_ACEOF
19605 cat confdefs.h
>>conftest.
$ac_ext
19606 cat >>conftest.
$ac_ext <<_ACEOF
19607 /* end confdefs.h. */
19608 $ac_includes_default
19612 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)];
19619 rm -f conftest.
$ac_objext
19620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19621 (eval $ac_compile) 2>conftest.er1
19623 grep -v '^ *+' conftest.er1
>conftest.err
19625 cat conftest.err
>&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); } &&
19628 { ac_try
='test -z "$ac_c_werror_flag"
19629 || test ! -s conftest.err'
19630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19631 (eval $ac_try) 2>&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; } &&
19635 { ac_try
='test -s conftest.$ac_objext'
19636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19637 (eval $ac_try) 2>&5
19639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 (exit $ac_status); }; }; then
19643 cat >conftest.
$ac_ext <<_ACEOF
19646 cat confdefs.h
>>conftest.
$ac_ext
19647 cat >>conftest.
$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19649 $ac_includes_default
19653 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
19660 rm -f conftest.
$ac_objext
19661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19662 (eval $ac_compile) 2>conftest.er1
19664 grep -v '^ *+' conftest.er1
>conftest.err
19666 cat conftest.err
>&5
19667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); } &&
19669 { ac_try
='test -z "$ac_c_werror_flag"
19670 || test ! -s conftest.err'
19671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19672 (eval $ac_try) 2>&5
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); }; } &&
19676 { ac_try
='test -s conftest.$ac_objext'
19677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19678 (eval $ac_try) 2>&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); }; }; then
19682 ac_hi
=$ac_mid; break
19684 echo "$as_me: failed program was:" >&5
19685 sed 's/^/| /' conftest.
$ac_ext >&5
19687 ac_lo
=`expr $ac_mid + 1`
19688 if test $ac_lo -le $ac_mid; then
19692 ac_mid
=`expr 2 '*' $ac_mid + 1`
19694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19697 echo "$as_me: failed program was:" >&5
19698 sed 's/^/| /' conftest.
$ac_ext >&5
19700 cat >conftest.
$ac_ext <<_ACEOF
19703 cat confdefs.h
>>conftest.
$ac_ext
19704 cat >>conftest.
$ac_ext <<_ACEOF
19705 /* end confdefs.h. */
19706 $ac_includes_default
19710 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)];
19717 rm -f conftest.
$ac_objext
19718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19719 (eval $ac_compile) 2>conftest.er1
19721 grep -v '^ *+' conftest.er1
>conftest.err
19723 cat conftest.err
>&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); } &&
19726 { ac_try
='test -z "$ac_c_werror_flag"
19727 || test ! -s conftest.err'
19728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19729 (eval $ac_try) 2>&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); }; } &&
19733 { ac_try
='test -s conftest.$ac_objext'
19734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19735 (eval $ac_try) 2>&5
19737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19738 (exit $ac_status); }; }; then
19741 cat >conftest.
$ac_ext <<_ACEOF
19744 cat confdefs.h
>>conftest.
$ac_ext
19745 cat >>conftest.
$ac_ext <<_ACEOF
19746 /* end confdefs.h. */
19747 $ac_includes_default
19751 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)];
19758 rm -f conftest.
$ac_objext
19759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19760 (eval $ac_compile) 2>conftest.er1
19762 grep -v '^ *+' conftest.er1
>conftest.err
19764 cat conftest.err
>&5
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); } &&
19767 { ac_try
='test -z "$ac_c_werror_flag"
19768 || test ! -s conftest.err'
19769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19770 (eval $ac_try) 2>&5
19772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19773 (exit $ac_status); }; } &&
19774 { ac_try
='test -s conftest.$ac_objext'
19775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19776 (eval $ac_try) 2>&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); }; }; then
19780 ac_lo
=$ac_mid; break
19782 echo "$as_me: failed program was:" >&5
19783 sed 's/^/| /' conftest.
$ac_ext >&5
19785 ac_hi
=`expr '(' $ac_mid ')' - 1`
19786 if test $ac_mid -le $ac_hi; then
19790 ac_mid
=`expr 2 '*' $ac_mid`
19792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19795 echo "$as_me: failed program was:" >&5
19796 sed 's/^/| /' conftest.
$ac_ext >&5
19800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19803 # Binary search between lo and hi bounds.
19804 while test "x$ac_lo" != "x$ac_hi"; do
19805 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19806 cat >conftest.
$ac_ext <<_ACEOF
19809 cat confdefs.h
>>conftest.
$ac_ext
19810 cat >>conftest.
$ac_ext <<_ACEOF
19811 /* end confdefs.h. */
19812 $ac_includes_default
19816 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
19823 rm -f conftest.
$ac_objext
19824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19825 (eval $ac_compile) 2>conftest.er1
19827 grep -v '^ *+' conftest.er1
>conftest.err
19829 cat conftest.err
>&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); } &&
19832 { ac_try
='test -z "$ac_c_werror_flag"
19833 || test ! -s conftest.err'
19834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19835 (eval $ac_try) 2>&5
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); }; } &&
19839 { ac_try
='test -s conftest.$ac_objext'
19840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19841 (eval $ac_try) 2>&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); }; }; then
19847 echo "$as_me: failed program was:" >&5
19848 sed 's/^/| /' conftest.
$ac_ext >&5
19850 ac_lo
=`expr '(' $ac_mid ')' + 1`
19852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19855 ?
*) ac_cv_sizeof_off_t
=$ac_lo;;
19856 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
19857 See \`config.log' for more details." >&5
19858 echo "$as_me: error: cannot compute sizeof (off_t), 77
19859 See \`config.log' for more details." >&2;}
19860 { (exit 1); exit 1; }; } ;;
19863 if test "$cross_compiling" = yes; then
19864 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19865 See \`config.log' for more details." >&5
19866 echo "$as_me: error: cannot run test program while cross compiling
19867 See \`config.log' for more details." >&2;}
19868 { (exit 1); exit 1; }; }
19870 cat >conftest.
$ac_ext <<_ACEOF
19873 cat confdefs.h
>>conftest.
$ac_ext
19874 cat >>conftest.
$ac_ext <<_ACEOF
19875 /* end confdefs.h. */
19876 $ac_includes_default
19877 long longval () { return (long) (sizeof (off_t)); }
19878 unsigned long ulongval () { return (long) (sizeof (off_t)); }
19880 #include <stdlib.h>
19885 FILE *f = fopen ("conftest.val", "w");
19888 if (((long) (sizeof (off_t))) < 0)
19890 long i = longval ();
19891 if (i != ((long) (sizeof (off_t))))
19893 fprintf (f, "%ld\n", i);
19897 unsigned long i = ulongval ();
19898 if (i != ((long) (sizeof (off_t))))
19900 fprintf (f, "%lu\n", i);
19902 exit (ferror (f) || fclose (f) != 0);
19908 rm -f conftest
$ac_exeext
19909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19910 (eval $ac_link) 2>&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19915 (eval $ac_try) 2>&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); }; }; then
19919 ac_cv_sizeof_off_t
=`cat conftest.val`
19921 echo "$as_me: program exited with status $ac_status" >&5
19922 echo "$as_me: failed program was:" >&5
19923 sed 's/^/| /' conftest.
$ac_ext >&5
19925 ( exit $ac_status )
19926 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
19927 See \`config.log' for more details." >&5
19928 echo "$as_me: error: cannot compute sizeof (off_t), 77
19929 See \`config.log' for more details." >&2;}
19930 { (exit 1); exit 1; }; }
19932 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19937 ac_cv_sizeof_off_t
=0
19940 echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
19941 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
19942 cat >>confdefs.h
<<_ACEOF
19943 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
19948 echo "$as_me:$LINENO: checking file_ptr type" >&5
19949 echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
19950 bfd_file_ptr
="long"
19951 bfd_ufile_ptr
="unsigned long"
19952 if test x
"$ac_cv_func_ftello64" = xyes
-a x
"$ac_cv_func_fseeko64" = xyes \
19953 -o x
"${ac_cv_sizeof_off_t}" = x8
; then
19954 bfd_file_ptr
=BFD_HOST_64_BIT
19955 bfd_ufile_ptr
=BFD_HOST_U_64_BIT
19957 echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
19958 echo "${ECHO_T}$bfd_file_ptr" >&6
19964 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
19965 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
19966 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
19967 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
19968 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
19973 for ac_header
in stdlib.h unistd.h
19975 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19977 echo "$as_me:$LINENO: checking for $ac_header" >&5
19978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19980 echo $ECHO_N "(cached) $ECHO_C" >&6
19982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19985 # Is the header compilable?
19986 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19987 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19988 cat >conftest.
$ac_ext <<_ACEOF
19991 cat confdefs.h
>>conftest.
$ac_ext
19992 cat >>conftest.
$ac_ext <<_ACEOF
19993 /* end confdefs.h. */
19994 $ac_includes_default
19995 #include <$ac_header>
19997 rm -f conftest.
$ac_objext
19998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19999 (eval $ac_compile) 2>conftest.er1
20001 grep -v '^ *+' conftest.er1
>conftest.err
20003 cat conftest.err
>&5
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); } &&
20006 { ac_try
='test -z "$ac_c_werror_flag"
20007 || test ! -s conftest.err'
20008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20009 (eval $ac_try) 2>&5
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); }; } &&
20013 { ac_try
='test -s conftest.$ac_objext'
20014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20015 (eval $ac_try) 2>&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); }; }; then
20019 ac_header_compiler
=yes
20021 echo "$as_me: failed program was:" >&5
20022 sed 's/^/| /' conftest.
$ac_ext >&5
20024 ac_header_compiler
=no
20026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20027 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20028 echo "${ECHO_T}$ac_header_compiler" >&6
20030 # Is the header present?
20031 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20032 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20033 cat >conftest.
$ac_ext <<_ACEOF
20036 cat confdefs.h
>>conftest.
$ac_ext
20037 cat >>conftest.
$ac_ext <<_ACEOF
20038 /* end confdefs.h. */
20039 #include <$ac_header>
20041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20042 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20044 grep -v '^ *+' conftest.er1
>conftest.err
20046 cat conftest.err
>&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); } >/dev
/null
; then
20049 if test -s conftest.err
; then
20050 ac_cpp_err
=$ac_c_preproc_warn_flag
20051 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20058 if test -z "$ac_cpp_err"; then
20059 ac_header_preproc
=yes
20061 echo "$as_me: failed program was:" >&5
20062 sed 's/^/| /' conftest.
$ac_ext >&5
20064 ac_header_preproc
=no
20066 rm -f conftest.err conftest.
$ac_ext
20067 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20068 echo "${ECHO_T}$ac_header_preproc" >&6
20070 # So? What about this header?
20071 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20073 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20074 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20076 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20077 ac_header_preproc
=yes
20080 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20081 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20082 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20083 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20084 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20085 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20086 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20087 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20089 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20090 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20091 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20094 ## ------------------------------------------ ##
20095 ## Report this to the AC_PACKAGE_NAME lists. ##
20096 ## ------------------------------------------ ##
20099 sed "s/^/$as_me: WARNING: /" >&2
20102 echo "$as_me:$LINENO: checking for $ac_header" >&5
20103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20105 echo $ECHO_N "(cached) $ECHO_C" >&6
20107 eval "$as_ac_Header=\$ac_header_preproc"
20109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20113 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20114 cat >>confdefs.h
<<_ACEOF
20115 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20123 for ac_func
in getpagesize
20125 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20126 echo "$as_me:$LINENO: checking for $ac_func" >&5
20127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20128 if eval "test \"\${$as_ac_var+set}\" = set"; then
20129 echo $ECHO_N "(cached) $ECHO_C" >&6
20131 cat >conftest.
$ac_ext <<_ACEOF
20134 cat confdefs.h
>>conftest.
$ac_ext
20135 cat >>conftest.
$ac_ext <<_ACEOF
20136 /* end confdefs.h. */
20137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20139 #define $ac_func innocuous_$ac_func
20141 /* System header to define __stub macros and hopefully few prototypes,
20142 which can conflict with char $ac_func (); below.
20143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20144 <limits.h> exists even on freestanding compilers. */
20147 # include <limits.h>
20149 # include <assert.h>
20154 /* Override any gcc2 internal prototype to avoid an error. */
20159 /* We use char because int might match the return type of a gcc2
20160 builtin and then its argument prototype would still apply. */
20162 /* The GNU C library defines this for functions which it implements
20163 to always fail with ENOSYS. Some functions are actually named
20164 something starting with __ and the normal name is an alias. */
20165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20168 char (*f) () = $ac_func;
20177 return f != $ac_func;
20182 rm -f conftest.
$ac_objext conftest
$ac_exeext
20183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20184 (eval $ac_link) 2>conftest.er1
20186 grep -v '^ *+' conftest.er1
>conftest.err
20188 cat conftest.err
>&5
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); } &&
20191 { ac_try
='test -z "$ac_c_werror_flag"
20192 || test ! -s conftest.err'
20193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20194 (eval $ac_try) 2>&5
20196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197 (exit $ac_status); }; } &&
20198 { ac_try
='test -s conftest$ac_exeext'
20199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20200 (eval $ac_try) 2>&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); }; }; then
20204 eval "$as_ac_var=yes"
20206 echo "$as_me: failed program was:" >&5
20207 sed 's/^/| /' conftest.
$ac_ext >&5
20209 eval "$as_ac_var=no"
20211 rm -f conftest.err conftest.
$ac_objext \
20212 conftest
$ac_exeext conftest.
$ac_ext
20214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20216 if test `eval echo '${'$as_ac_var'}'` = yes; then
20217 cat >>confdefs.h
<<_ACEOF
20218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20224 echo "$as_me:$LINENO: checking for working mmap" >&5
20225 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
20226 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
20227 echo $ECHO_N "(cached) $ECHO_C" >&6
20229 if test "$cross_compiling" = yes; then
20230 ac_cv_func_mmap_fixed_mapped
=no
20232 cat >conftest.
$ac_ext <<_ACEOF
20235 cat confdefs.h
>>conftest.
$ac_ext
20236 cat >>conftest.
$ac_ext <<_ACEOF
20237 /* end confdefs.h. */
20238 $ac_includes_default
20239 /* malloc might have been renamed as rpl_malloc. */
20242 /* Thanks to Mike Haertel and Jim Avera for this test.
20243 Here is a matrix of mmap possibilities:
20244 mmap private not fixed
20245 mmap private fixed at somewhere currently unmapped
20246 mmap private fixed at somewhere already mapped
20247 mmap shared not fixed
20248 mmap shared fixed at somewhere currently unmapped
20249 mmap shared fixed at somewhere already mapped
20250 For private mappings, we should verify that changes cannot be read()
20251 back from the file, nor mmap's back from the file at a different
20252 address. (There have been systems where private was not correctly
20253 implemented like the infamous i386 svr4.0, and systems where the
20254 VM page cache was not coherent with the file system buffer cache
20255 like early versions of FreeBSD and possibly contemporary NetBSD.)
20256 For shared mappings, we should conversely verify that changes get
20257 propagated back to all the places they're supposed to be.
20259 Grep wants private fixed already mapped.
20260 The main things grep needs to know about mmap are:
20261 * does it exist and is it safe to write into the mmap'd area
20262 * how to use it (BSD variants) */
20265 #include <sys/mman.h>
20267 #if !STDC_HEADERS && !HAVE_STDLIB_H
20271 /* This mess was copied from the GNU getpagesize.h. */
20272 #if !HAVE_GETPAGESIZE
20273 /* Assume that all systems that can run configure have sys/param.h. */
20274 # if !HAVE_SYS_PARAM_H
20275 # define HAVE_SYS_PARAM_H 1
20278 # ifdef _SC_PAGESIZE
20279 # define getpagesize() sysconf(_SC_PAGESIZE)
20280 # else /* no _SC_PAGESIZE */
20281 # if HAVE_SYS_PARAM_H
20282 # include <sys/param.h>
20283 # ifdef EXEC_PAGESIZE
20284 # define getpagesize() EXEC_PAGESIZE
20285 # else /* no EXEC_PAGESIZE */
20287 # define getpagesize() NBPG * CLSIZE
20290 # endif /* no CLSIZE */
20291 # else /* no NBPG */
20293 # define getpagesize() NBPC
20294 # else /* no NBPC */
20296 # define getpagesize() PAGESIZE
20297 # endif /* PAGESIZE */
20298 # endif /* no NBPC */
20299 # endif /* no NBPG */
20300 # endif /* no EXEC_PAGESIZE */
20301 # else /* no HAVE_SYS_PARAM_H */
20302 # define getpagesize() 8192 /* punt totally */
20303 # endif /* no HAVE_SYS_PARAM_H */
20304 # endif /* no _SC_PAGESIZE */
20306 #endif /* no HAVE_GETPAGESIZE */
20311 char *data, *data2, *data3;
20315 pagesize = getpagesize ();
20317 /* First, make a file with some known garbage in it. */
20318 data = (char *) malloc (pagesize);
20321 for (i = 0; i < pagesize; ++i)
20322 *(data + i) = rand ();
20324 fd = creat ("conftest.mmap", 0600);
20327 if (write (fd, data, pagesize) != pagesize)
20331 /* Next, try to mmap the file at a fixed address which already has
20332 something else allocated at it. If we can, also make sure that
20333 we see the same garbage. */
20334 fd = open ("conftest.mmap", O_RDWR);
20337 data2 = (char *) malloc (2 * pagesize);
20340 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
20341 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
20342 MAP_PRIVATE | MAP_FIXED, fd, 0L))
20344 for (i = 0; i < pagesize; ++i)
20345 if (*(data + i) != *(data2 + i))
20348 /* Finally, make sure that changes to the mapped area do not
20349 percolate back to the file as seen by read(). (This is a bug on
20350 some variants of i386 svr4.0.) */
20351 for (i = 0; i < pagesize; ++i)
20352 *(data2 + i) = *(data2 + i) + 1;
20353 data3 = (char *) malloc (pagesize);
20356 if (read (fd, data3, pagesize) != pagesize)
20358 for (i = 0; i < pagesize; ++i)
20359 if (*(data + i) != *(data3 + i))
20365 rm -f conftest
$ac_exeext
20366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20367 (eval $ac_link) 2>&5
20369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20370 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20372 (eval $ac_try) 2>&5
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 (exit $ac_status); }; }; then
20376 ac_cv_func_mmap_fixed_mapped
=yes
20378 echo "$as_me: program exited with status $ac_status" >&5
20379 echo "$as_me: failed program was:" >&5
20380 sed 's/^/| /' conftest.
$ac_ext >&5
20382 ( exit $ac_status )
20383 ac_cv_func_mmap_fixed_mapped
=no
20385 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20388 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
20389 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
20390 if test $ac_cv_func_mmap_fixed_mapped = yes; then
20392 cat >>confdefs.h
<<\_ACEOF
20393 #define HAVE_MMAP 1
20397 rm -f conftest.mmap
20401 for ac_func
in madvise mprotect
20403 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20404 echo "$as_me:$LINENO: checking for $ac_func" >&5
20405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20406 if eval "test \"\${$as_ac_var+set}\" = set"; then
20407 echo $ECHO_N "(cached) $ECHO_C" >&6
20409 cat >conftest.
$ac_ext <<_ACEOF
20412 cat confdefs.h
>>conftest.
$ac_ext
20413 cat >>conftest.
$ac_ext <<_ACEOF
20414 /* end confdefs.h. */
20415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20417 #define $ac_func innocuous_$ac_func
20419 /* System header to define __stub macros and hopefully few prototypes,
20420 which can conflict with char $ac_func (); below.
20421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20422 <limits.h> exists even on freestanding compilers. */
20425 # include <limits.h>
20427 # include <assert.h>
20432 /* Override any gcc2 internal prototype to avoid an error. */
20437 /* We use char because int might match the return type of a gcc2
20438 builtin and then its argument prototype would still apply. */
20440 /* The GNU C library defines this for functions which it implements
20441 to always fail with ENOSYS. Some functions are actually named
20442 something starting with __ and the normal name is an alias. */
20443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20446 char (*f) () = $ac_func;
20455 return f != $ac_func;
20460 rm -f conftest.
$ac_objext conftest
$ac_exeext
20461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20462 (eval $ac_link) 2>conftest.er1
20464 grep -v '^ *+' conftest.er1
>conftest.err
20466 cat conftest.err
>&5
20467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20468 (exit $ac_status); } &&
20469 { ac_try
='test -z "$ac_c_werror_flag"
20470 || test ! -s conftest.err'
20471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20472 (eval $ac_try) 2>&5
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); }; } &&
20476 { ac_try
='test -s conftest$ac_exeext'
20477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20478 (eval $ac_try) 2>&5
20480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20481 (exit $ac_status); }; }; then
20482 eval "$as_ac_var=yes"
20484 echo "$as_me: failed program was:" >&5
20485 sed 's/^/| /' conftest.
$ac_ext >&5
20487 eval "$as_ac_var=no"
20489 rm -f conftest.err conftest.
$ac_objext \
20490 conftest
$ac_exeext conftest.
$ac_ext
20492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20494 if test `eval echo '${'$as_ac_var'}'` = yes; then
20495 cat >>confdefs.h
<<_ACEOF
20496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20502 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
20504 cat >>confdefs.h
<<\_ACEOF
20510 rm -f doc
/config.status
20511 ac_config_files
="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
20514 ac_config_commands
="$ac_config_commands default"
20521 cat >confcache
<<\_ACEOF
20522 # This file is a shell script that caches the results of configure
20523 # tests run on this system so they can be shared between configure
20524 # scripts and configure runs, see configure's option --config-cache.
20525 # It is not useful on other systems. If it contains results you don't
20526 # want to keep, you may remove or edit it.
20528 # config.status only pays attention to the cache file if you give it
20529 # the --recheck option to rerun configure.
20531 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20532 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20533 # following values.
20537 # The following way of writing the cache mishandles newlines in values,
20538 # but we know of no workaround that is simple, portable, and efficient.
20539 # So, don't put newlines in cache variables' values.
20540 # Ultrix sh set writes to stderr and can't be redirected directly,
20541 # and sets the high bit in the cache file unless we assign to the vars.
20544 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20546 # `set' does not quote correctly, so add quotes (double-quote
20547 # substitution turns \\\\ into \\, and sed turns \\ into \).
20550 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20553 # `set' quotes correctly as required by POSIX, so do not add quotes.
20555 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20562 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20564 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20566 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20567 if test -w $cache_file; then
20568 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20569 cat confcache
>$cache_file
20571 echo "not updating unwritable cache $cache_file"
20576 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20577 # Let make expand exec_prefix.
20578 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20580 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20581 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20582 # trailing colons and then remove the whole line if VPATH becomes empty
20583 # (actually we leave an empty line to preserve line numbers).
20584 if test "x$srcdir" = x.
; then
20585 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20586 s/:*\$(srcdir):*/:/;
20587 s/:*\${srcdir}:*/:/;
20589 s/^\([^=]*=[ ]*\):*/\1/;
20595 DEFS
=-DHAVE_CONFIG_H
20599 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20600 # 1. Remove the extension, and $U if already installed.
20601 ac_i
=`echo "$ac_i" |
20602 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20604 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
20605 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
20607 LIBOBJS
=$ac_libobjs
20609 LTLIBOBJS
=$ac_ltlibobjs
20612 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20613 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20614 Usually this means the macro was only invoked conditionally." >&5
20615 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20616 Usually this means the macro was only invoked conditionally." >&2;}
20617 { (exit 1); exit 1; }; }
20619 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20620 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20621 Usually this means the macro was only invoked conditionally." >&5
20622 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20623 Usually this means the macro was only invoked conditionally." >&2;}
20624 { (exit 1); exit 1; }; }
20626 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20627 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
20628 Usually this means the macro was only invoked conditionally." >&5
20629 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
20630 Usually this means the macro was only invoked conditionally." >&2;}
20631 { (exit 1); exit 1; }; }
20633 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
20634 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
20635 Usually this means the macro was only invoked conditionally." >&5
20636 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
20637 Usually this means the macro was only invoked conditionally." >&2;}
20638 { (exit 1); exit 1; }; }
20640 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
20641 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
20642 Usually this means the macro was only invoked conditionally." >&5
20643 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
20644 Usually this means the macro was only invoked conditionally." >&2;}
20645 { (exit 1); exit 1; }; }
20648 : ${CONFIG_STATUS=./config.status}
20649 ac_clean_files_save
=$ac_clean_files
20650 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20651 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20652 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20653 cat >$CONFIG_STATUS <<_ACEOF
20655 # Generated by $as_me.
20656 # Run this file to recreate the current configuration.
20657 # Compiler output produced by configure, useful for debugging
20658 # configure, is in config.log if it exists.
20661 ac_cs_recheck=false
20663 SHELL=\${CONFIG_SHELL-$SHELL}
20666 cat >>$CONFIG_STATUS <<\_ACEOF
20667 ## --------------------- ##
20668 ## M4sh Initialization. ##
20669 ## --------------------- ##
20671 # Be Bourne compatible
20672 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20675 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20676 # is contrary to our usage. Disable this feature.
20677 alias -g '${1+"$@"}'='"$@"'
20678 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20681 DUALCASE
=1; export DUALCASE
# for MKS sh
20683 # Support unset when possible.
20684 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20691 # Work around bugs in pre-3.0 UWIN ksh.
20692 $as_unset ENV MAIL MAILPATH
20699 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20700 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20701 LC_TELEPHONE LC_TIME
20703 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20704 eval $as_var=C
; export $as_var
20710 # Required to use basename.
20711 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20717 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20718 as_basename
=basename
20724 # Name of the executable.
20725 as_me
=`$as_basename "$0" ||
20726 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20727 X"$0" : 'X\(//\)$' \| \
20728 X"$0" : 'X\(/\)$' \| \
20729 . : '\(.\)' 2>/dev/null ||
20731 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20732 /^X\/\(\/\/\)$/{ s//\1/; q; }
20733 /^X\/\(\/\).*/{ s//\1/; q; }
20737 # PATH needs CR, and LINENO needs CR and PATH.
20738 # Avoid depending upon Character Ranges.
20739 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20740 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20741 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20742 as_cr_digits
='0123456789'
20743 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20745 # The user is always right.
20746 if test "${PATH_SEPARATOR+set}" != set; then
20747 echo "#! /bin/sh" >conf$$.sh
20748 echo "exit 0" >>conf$$.sh
20750 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20759 as_lineno_1
=$LINENO
20760 as_lineno_2
=$LINENO
20761 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20762 test "x$as_lineno_1" != "x$as_lineno_2" &&
20763 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20764 # Find who we are. Look in the path if we contain no path at all
20767 *[\\/]* ) as_myself
=$0 ;;
20768 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20769 for as_dir
in $PATH
20772 test -z "$as_dir" && as_dir
=.
20773 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20778 # We did not find ourselves, most probably we were run as `sh COMMAND'
20779 # in which case we are not to be found in the path.
20780 if test "x$as_myself" = x
; then
20783 if test ! -f "$as_myself"; then
20784 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20785 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20786 { (exit 1); exit 1; }; }
20788 case $CONFIG_SHELL in
20790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20791 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20794 test -z "$as_dir" && as_dir
=.
20795 for as_base
in sh bash ksh sh5
; do
20798 if ("$as_dir/$as_base" -c '
20799 as_lineno_1=$LINENO
20800 as_lineno_2=$LINENO
20801 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20802 test "x$as_lineno_1" != "x$as_lineno_2" &&
20803 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20804 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20805 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20806 CONFIG_SHELL
=$as_dir/$as_base
20807 export CONFIG_SHELL
20808 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20816 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20817 # uniformly replaced by the line number. The first 'sed' inserts a
20818 # line-number line before each line; the second 'sed' does the real
20819 # work. The second script uses 'N' to pair each line-number line
20820 # with the numbered line, and appends trailing '-' during
20821 # substitution so that $LINENO is not a special case at line end.
20822 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20823 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20824 sed '=' <$as_myself |
20829 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20832 s,^['$as_cr_digits']*\n,,
20833 ' >$as_me.lineno
&&
20834 chmod +x
$as_me.lineno ||
20835 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20836 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20837 { (exit 1); exit 1; }; }
20839 # Don't try to exec as it changes $[0], causing all sort of problems
20840 # (the dirname of $[0] is not the place where we might find the
20841 # original and so on. Autoconf is especially sensible to this).
20843 # Exit status is that of the last command.
20848 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20849 *c
*,-n*) ECHO_N
= ECHO_C
='
20851 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20852 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20855 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20861 rm -f conf$$ conf$$.exe conf$$.
file
20863 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20864 # We could just check for DJGPP; but this test a) works b) is more generic
20865 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20866 if test -f conf$$.exe
; then
20867 # Don't use ln at all; we don't have any links
20872 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20877 rm -f conf$$ conf$$.exe conf$$.
file
20879 if mkdir
-p .
2>/dev
/null
; then
20882 test -d .
/-p && rmdir .
/-p
20886 as_executable_p
="test -f"
20888 # Sed expression to map a string onto a valid CPP name.
20889 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20891 # Sed expression to map a string onto a valid variable name.
20892 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20896 # We need space, tab and new line, in precisely that order.
20906 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20907 # report actual input values of CONFIG_FILES etc. instead of their
20908 # values after options handling. Logging --version etc. is OK.
20912 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20913 ## Running $as_me. ##
20918 This file was extended by $as_me, which was
20919 generated by GNU Autoconf 2.59. Invocation command line was
20921 CONFIG_FILES = $CONFIG_FILES
20922 CONFIG_HEADERS = $CONFIG_HEADERS
20923 CONFIG_LINKS = $CONFIG_LINKS
20924 CONFIG_COMMANDS = $CONFIG_COMMANDS
20928 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20932 # Files that config.status was made for.
20933 if test -n "$ac_config_files"; then
20934 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20937 if test -n "$ac_config_headers"; then
20938 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20941 if test -n "$ac_config_links"; then
20942 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20945 if test -n "$ac_config_commands"; then
20946 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20949 cat >>$CONFIG_STATUS <<\_ACEOF
20952 \`$as_me' instantiates files from templates according to the
20953 current configuration.
20955 Usage: $0 [OPTIONS] [FILE]...
20957 -h, --help print this help, then exit
20958 -V, --version print version number, then exit
20959 -q, --quiet do not print progress messages
20960 -d, --debug don't remove temporary files
20961 --recheck update $as_me by reconfiguring in the same conditions
20962 --file=FILE[:TEMPLATE]
20963 instantiate the configuration file FILE
20964 --header=FILE[:TEMPLATE]
20965 instantiate the configuration header FILE
20967 Configuration files:
20970 Configuration headers:
20973 Configuration commands:
20976 Report bugs to <bug-autoconf@gnu.org>."
20979 cat >>$CONFIG_STATUS <<_ACEOF
20982 configured by $0, generated by GNU Autoconf 2.59,
20983 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20985 Copyright (C) 2003 Free Software Foundation, Inc.
20986 This config.status script is free software; the Free Software Foundation
20987 gives unlimited permission to copy, distribute and modify it."
20992 cat >>$CONFIG_STATUS <<\_ACEOF
20993 # If no file are specified by the user, then we need to provide default
20994 # value. By we need to know if files were specified by the user.
21000 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
21001 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
21009 *) # This is not an option, so the user has probably given explicit
21012 ac_need_defaults
=false
;;
21016 # Handling of the options.
21018 cat >>$CONFIG_STATUS <<\_ACEOF
21019 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21021 --version |
--vers* |
-V )
21022 echo "$ac_cs_version"; exit 0 ;;
21024 # Conflict between --help and --header
21025 { { echo "$as_me:$LINENO: error: ambiguous option: $1
21026 Try \`$0 --help' for more information." >&5
21027 echo "$as_me: error: ambiguous option: $1
21028 Try \`$0 --help' for more information." >&2;}
21029 { (exit 1); exit 1; }; };;
21030 --help |
--hel |
-h )
21031 echo "$ac_cs_usage"; exit 0 ;;
21032 --debug |
--d* |
-d )
21034 --file |
--fil |
--fi |
--f )
21036 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21037 ac_need_defaults
=false
;;
21038 --header |
--heade |
--head |
--hea )
21040 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21041 ac_need_defaults
=false
;;
21042 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21043 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21046 # This is an error.
21047 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21048 Try \`$0 --help' for more information." >&5
21049 echo "$as_me: error: unrecognized option: $1
21050 Try \`$0 --help' for more information." >&2;}
21051 { (exit 1); exit 1; }; } ;;
21053 *) ac_config_targets
="$ac_config_targets $1" ;;
21059 ac_configure_extra_args
=
21061 if $ac_cs_silent; then
21063 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21067 cat >>$CONFIG_STATUS <<_ACEOF
21068 if \$ac_cs_recheck; then
21069 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21070 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21075 cat >>$CONFIG_STATUS <<_ACEOF
21077 # INIT-COMMANDS section.
21080 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21083 # The HP-UX ksh and POSIX shell print the target directory to stdout
21084 # if CDPATH is set.
21085 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21087 sed_quote_subst='$sed_quote_subst'
21088 double_quote_subst='$double_quote_subst'
21089 delay_variable_subst='$delay_variable_subst'
21090 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
21091 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
21092 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
21093 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
21094 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
21095 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
21096 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
21097 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
21098 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
21099 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
21100 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
21101 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
21102 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
21103 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
21104 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
21105 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
21106 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
21107 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
21108 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
21109 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
21110 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
21111 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
21112 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
21113 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
21114 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
21115 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
21116 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
21117 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21118 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
21119 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
21120 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
21121 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
21122 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
21123 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
21124 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21125 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21126 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21127 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
21128 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
21129 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
21130 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
21131 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
21132 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
21133 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"`'
21134 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
21135 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
21136 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
21137 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
21138 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
21139 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
21140 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
21141 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
21142 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
21143 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
21144 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
21145 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21146 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21147 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
21148 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
21149 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21150 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21151 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
21152 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21153 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21154 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21155 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21156 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21157 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21158 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
21159 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
21160 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
21161 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21162 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
21163 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
21164 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
21165 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
21166 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
21167 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21168 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
21169 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
21170 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
21171 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
21172 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
21173 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21174 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
21175 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
21176 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21177 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
21178 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
21179 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
21180 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
21181 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
21182 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21183 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21184 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
21185 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
21186 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
21187 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
21188 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21189 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21190 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21191 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
21192 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
21193 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
21194 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
21195 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
21196 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
21197 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
21198 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
21199 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
21200 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
21203 LTCFLAGS='$LTCFLAGS'
21204 compiler='$compiler_DEFAULT'
21206 # Quote evaled strings.
21217 deplibs_check_method \
21226 lt_cv_sys_global_symbol_pipe \
21227 lt_cv_sys_global_symbol_to_cdecl \
21228 lt_cv_sys_global_symbol_to_c_name_address \
21231 lt_prog_compiler_no_builtin_flag \
21232 lt_prog_compiler_wl \
21233 lt_prog_compiler_pic \
21234 lt_prog_compiler_static \
21235 lt_cv_prog_compiler_c_o \
21238 export_dynamic_flag_spec \
21239 whole_archive_flag_spec \
21240 compiler_needs_object \
21242 allow_undefined_flag \
21243 no_undefined_flag \
21244 hardcode_libdir_flag_spec \
21245 hardcode_libdir_flag_spec_ld \
21246 hardcode_libdir_separator \
21251 variables_saved_for_relink \
21253 library_names_spec \
21258 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
21259 *[\\\\\\\`\\"\\\$]*)
21260 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21263 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21268 # Double-quote double-evaled strings.
21269 for var in reload_cmds \
21270 old_postinstall_cmds \
21271 old_postuninstall_cmds \
21273 extract_expsyms_cmds \
21274 old_archive_from_new_cmds \
21275 old_archive_from_expsyms_cmds \
21277 archive_expsym_cmds \
21279 module_expsym_cmds \
21280 export_symbols_cmds \
21283 postuninstall_cmds \
21285 sys_lib_search_path_spec \
21286 sys_lib_dlsearch_path_spec; do
21287 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
21288 *[\\\\\\\`\\"\\\$]*)
21289 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21292 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21297 # Fix-up fallback echo if it was mangled by the above quoting rules.
21299 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
21303 ac_aux_dir='$ac_aux_dir'
21304 xsi_shell='$xsi_shell'
21305 lt_shell_append='$lt_shell_append'
21307 # See if we are running on zsh, and set the options which allow our
21308 # commands through without removal of \ escapes INIT.
21309 if test -n "\${ZSH_VERSION+set}" ; then
21310 setopt NO_GLOB_SUBST
21316 TIMESTAMP='$TIMESTAMP'
21322 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
21323 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
21325 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
21326 # Capture the value of LINGUAS because we need it to compute CATALOGS.
21327 LINGUAS="${LINGUAS-%UNSET%}"
21332 acx_cv_header_stdint="$acx_cv_header_stdint"
21333 acx_cv_type_int8_t="$acx_cv_type_int8_t"
21334 acx_cv_type_int16_t="$acx_cv_type_int16_t"
21335 acx_cv_type_int32_t="$acx_cv_type_int32_t"
21336 acx_cv_type_int64_t="$acx_cv_type_int64_t"
21337 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
21338 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
21339 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
21340 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
21341 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
21342 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
21343 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
21344 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
21345 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
21353 cat >>$CONFIG_STATUS <<\_ACEOF
21354 for ac_config_target
in $ac_config_targets
21356 case "$ac_config_target" in
21357 # Handling of arguments.
21358 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21359 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
21360 "bfd-in3.h" ) CONFIG_FILES
="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
21361 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
21362 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21363 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21364 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
21365 "bfd_stdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS bfd_stdint.h" ;;
21366 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
21367 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
21368 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21369 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21370 { (exit 1); exit 1; }; };;
21374 # If the user did not use the arguments to specify the items to instantiate,
21375 # then the envvar interface is used. Set only those that are not.
21376 # We use the long form for the default assignment because of an extremely
21377 # bizarre bug on SunOS 4.1.3.
21378 if $ac_need_defaults; then
21379 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21380 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21381 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21384 # Have a temporary directory for convenience. Make it in the build tree
21385 # simply because there is no reason to put it here, and in addition,
21386 # creating and moving files from /tmp can sometimes cause problems.
21387 # Create a temporary directory, and hook for its removal unless debugging.
21390 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21391 trap '{ (exit 1); exit 1; }' 1 2 13 15
21394 # Create a (secure) tmp directory for tmp files.
21397 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21398 test -n "$tmp" && test -d "$tmp"
21401 tmp
=.
/confstat$$
-$RANDOM
21402 (umask 077 && mkdir
$tmp)
21405 echo "$me: cannot create a temporary directory in ." >&2
21406 { (exit 1); exit 1; }
21411 cat >>$CONFIG_STATUS <<_ACEOF
21414 # CONFIG_FILES section.
21417 # No need to generate the scripts if there are no CONFIG_FILES.
21418 # This happens for instance when ./config.status config.h
21419 if test -n "\$CONFIG_FILES"; then
21420 # Protect against being on the right side of a sed subst in config.status.
21421 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21422 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21423 s,@SHELL@,$SHELL,;t t
21424 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21425 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21426 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21427 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21428 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21429 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21430 s,@exec_prefix@,$exec_prefix,;t t
21431 s,@prefix@,$prefix,;t t
21432 s,@program_transform_name@,$program_transform_name,;t t
21433 s,@bindir@,$bindir,;t t
21434 s,@sbindir@,$sbindir,;t t
21435 s,@libexecdir@,$libexecdir,;t t
21436 s,@datadir@,$datadir,;t t
21437 s,@sysconfdir@,$sysconfdir,;t t
21438 s,@sharedstatedir@,$sharedstatedir,;t t
21439 s,@localstatedir@,$localstatedir,;t t
21440 s,@libdir@,$libdir,;t t
21441 s,@includedir@,$includedir,;t t
21442 s,@oldincludedir@,$oldincludedir,;t t
21443 s,@infodir@,$infodir,;t t
21444 s,@mandir@,$mandir,;t t
21445 s,@build_alias@,$build_alias,;t t
21446 s,@host_alias@,$host_alias,;t t
21447 s,@target_alias@,$target_alias,;t t
21448 s,@DEFS@,$DEFS,;t t
21449 s,@ECHO_C@,$ECHO_C,;t t
21450 s,@ECHO_N@,$ECHO_N,;t t
21451 s,@ECHO_T@,$ECHO_T,;t t
21452 s,@LIBS@,$LIBS,;t t
21453 s,@build@,$build,;t t
21454 s,@build_cpu@,$build_cpu,;t t
21455 s,@build_vendor@,$build_vendor,;t t
21456 s,@build_os@,$build_os,;t t
21457 s,@host@,$host,;t t
21458 s,@host_cpu@,$host_cpu,;t t
21459 s,@host_vendor@,$host_vendor,;t t
21460 s,@host_os@,$host_os,;t t
21461 s,@target@,$target,;t t
21462 s,@target_cpu@,$target_cpu,;t t
21463 s,@target_vendor@,$target_vendor,;t t
21464 s,@target_os@,$target_os,;t t
21466 s,@CFLAGS@,$CFLAGS,;t t
21467 s,@LDFLAGS@,$LDFLAGS,;t t
21468 s,@CPPFLAGS@,$CPPFLAGS,;t t
21469 s,@ac_ct_CC@,$ac_ct_CC,;t t
21470 s,@EXEEXT@,$EXEEXT,;t t
21471 s,@OBJEXT@,$OBJEXT,;t t
21472 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21473 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21474 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21475 s,@CYGPATH_W@,$CYGPATH_W,;t t
21476 s,@PACKAGE@,$PACKAGE,;t t
21477 s,@VERSION@,$VERSION,;t t
21478 s,@ACLOCAL@,$ACLOCAL,;t t
21479 s,@AUTOCONF@,$AUTOCONF,;t t
21480 s,@AUTOMAKE@,$AUTOMAKE,;t t
21481 s,@AUTOHEADER@,$AUTOHEADER,;t t
21482 s,@MAKEINFO@,$MAKEINFO,;t t
21483 s,@install_sh@,$install_sh,;t t
21484 s,@STRIP@,$STRIP,;t t
21485 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21486 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21487 s,@mkdir_p@,$mkdir_p,;t t
21489 s,@SET_MAKE@,$SET_MAKE,;t t
21490 s,@am__leading_dot@,$am__leading_dot,;t t
21491 s,@AMTAR@,$AMTAR,;t t
21492 s,@am__tar@,$am__tar,;t t
21493 s,@am__untar@,$am__untar,;t t
21494 s,@DEPDIR@,$DEPDIR,;t t
21495 s,@am__include@,$am__include,;t t
21496 s,@am__quote@,$am__quote,;t t
21497 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21498 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21499 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21500 s,@CCDEPMODE@,$CCDEPMODE,;t t
21501 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21502 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21504 s,@ac_ct_AR@,$ac_ct_AR,;t t
21505 s,@RANLIB@,$RANLIB,;t t
21506 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21507 s,@LIBTOOL@,$LIBTOOL,;t t
21509 s,@EGREP@,$EGREP,;t t
21510 s,@FGREP@,$FGREP,;t t
21511 s,@GREP@,$GREP,;t t
21513 s,@DUMPBIN@,$DUMPBIN,;t t
21514 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
21516 s,@LN_S@,$LN_S,;t t
21517 s,@lt_ECHO@,$lt_ECHO,;t t
21519 s,@DEBUGDIR@,$DEBUGDIR,;t t
21520 s,@PKGVERSION@,$PKGVERSION,;t t
21521 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
21522 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t
21523 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
21524 s,@NO_WERROR@,$NO_WERROR,;t t
21525 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21526 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21527 s,@MAINT@,$MAINT,;t t
21528 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
21529 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
21530 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
21531 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
21532 s,@host_noncanonical@,$host_noncanonical,;t t
21533 s,@target_noncanonical@,$target_noncanonical,;t t
21534 s,@bfdlibdir@,$bfdlibdir,;t t
21535 s,@bfdincludedir@,$bfdincludedir,;t t
21536 s,@USE_NLS@,$USE_NLS,;t t
21537 s,@LIBINTL@,$LIBINTL,;t t
21538 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
21539 s,@INCINTL@,$INCINTL,;t t
21540 s,@XGETTEXT@,$XGETTEXT,;t t
21541 s,@GMSGFMT@,$GMSGFMT,;t t
21542 s,@POSUB@,$POSUB,;t t
21543 s,@CATALOGS@,$CATALOGS,;t t
21544 s,@DATADIRNAME@,$DATADIRNAME,;t t
21545 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
21546 s,@GENCAT@,$GENCAT,;t t
21547 s,@CATOBJEXT@,$CATOBJEXT,;t t
21548 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
21549 s,@MSGFMT@,$MSGFMT,;t t
21550 s,@MSGMERGE@,$MSGMERGE,;t t
21551 s,@HDEFINES@,$HDEFINES,;t t
21552 s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
21553 s,@BFD_HOST_64BIT_LONG_LONG@,$BFD_HOST_64BIT_LONG_LONG,;t t
21554 s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
21555 s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
21556 s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
21557 s,@BFD_HOSTPTR_T@,$BFD_HOSTPTR_T,;t t
21558 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
21559 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
21560 s,@COREFILE@,$COREFILE,;t t
21561 s,@COREFLAG@,$COREFLAG,;t t
21562 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
21563 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
21564 s,@TDEFINES@,$TDEFINES,;t t
21565 s,@wordsize@,$wordsize,;t t
21566 s,@bfd64_libs@,$bfd64_libs,;t t
21567 s,@all_backends@,$all_backends,;t t
21568 s,@bfd_backends@,$bfd_backends,;t t
21569 s,@bfd_machines@,$bfd_machines,;t t
21570 s,@bfd_default_target_size@,$bfd_default_target_size,;t t
21571 s,@bfd_file_ptr@,$bfd_file_ptr,;t t
21572 s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
21573 s,@tdefaults@,$tdefaults,;t t
21574 s,@datarootdir@,$datarootdir,;t t
21575 s,@docdir@,$docdir,;t t
21576 s,@htmldir@,$htmldir,;t t
21577 s,@LIBOBJS@,$LIBOBJS,;t t
21578 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21583 cat >>$CONFIG_STATUS <<\_ACEOF
21584 # Split the substitutions into bite-sized pieces for seds with
21585 # small command number limits, like on Digital OSF/1 and HP-UX.
21586 ac_max_sed_lines
=48
21587 ac_sed_frag
=1 # Number of current file.
21588 ac_beg
=1 # First line for current file.
21589 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21592 while $ac_more_lines; do
21593 if test $ac_beg -gt 1; then
21594 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21596 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21598 if test ! -s $tmp/subs.frag
; then
21599 ac_more_lines
=false
21601 # The purpose of the label and of the branching condition is to
21602 # speed up the sed processing (if there are no `@' at all, there
21603 # is no need to browse any of the substitutions).
21604 # These are the two extra sed commands mentioned above.
21606 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
21607 if test -z "$ac_sed_cmds"; then
21608 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21610 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21612 ac_sed_frag
=`expr $ac_sed_frag + 1`
21614 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21617 if test -z "$ac_sed_cmds"; then
21620 fi # test -n "$CONFIG_FILES"
21623 cat >>$CONFIG_STATUS <<\_ACEOF
21624 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21625 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21627 - |
*:- |
*:-:* ) # input from stdin
21629 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21630 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21631 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21632 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21633 * ) ac_file_in
=$ac_file.
in ;;
21636 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21637 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21638 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21639 X"$ac_file" : 'X\(//\)[^/]' \| \
21640 X"$ac_file" : 'X\(//\)$' \| \
21641 X"$ac_file" : 'X\(/\)' \| \
21642 . : '\(.\)' 2>/dev/null ||
21644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21645 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21646 /^X\(\/\/\)$/{ s//\1/; q; }
21647 /^X\(\/\).*/{ s//\1/; q; }
21649 { if $as_mkdir_p; then
21654 while test ! -d "$as_dir"; do
21655 as_dirs
="$as_dir $as_dirs"
21656 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21657 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21658 X"$as_dir" : 'X\(//\)[^/]' \| \
21659 X"$as_dir" : 'X\(//\)$' \| \
21660 X"$as_dir" : 'X\(/\)' \| \
21661 . : '\(.\)' 2>/dev/null ||
21663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21664 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21665 /^X\(\/\/\)$/{ s//\1/; q; }
21666 /^X\(\/\).*/{ s//\1/; q; }
21669 test ! -n "$as_dirs" || mkdir
$as_dirs
21670 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21671 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21672 { (exit 1); exit 1; }; }; }
21676 if test "$ac_dir" != .
; then
21677 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21678 # A "../" for each directory in $ac_dir_suffix.
21679 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21681 ac_dir_suffix
= ac_top_builddir
=
21685 .
) # No --srcdir option. We are building in place.
21687 if test -z "$ac_top_builddir"; then
21690 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21692 [\\/]* | ?
:[\\/]* ) # Absolute path.
21693 ac_srcdir
=$srcdir$ac_dir_suffix;
21694 ac_top_srcdir
=$srcdir ;;
21695 *) # Relative path.
21696 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21697 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21700 # Do not use `cd foo && pwd` to compute absolute paths, because
21701 # the directories may not exist.
21703 .
) ac_abs_builddir
="$ac_dir";;
21706 .
) ac_abs_builddir
=`pwd`;;
21707 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21708 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21711 case $ac_abs_builddir in
21712 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21714 case ${ac_top_builddir}.
in
21715 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21716 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21717 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21720 case $ac_abs_builddir in
21721 .
) ac_abs_srcdir
=$ac_srcdir;;
21724 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21725 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21726 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21729 case $ac_abs_builddir in
21730 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21732 case $ac_top_srcdir in
21733 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21734 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21735 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21741 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21742 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21745 if test x
"$ac_file" != x-
; then
21746 { echo "$as_me:$LINENO: creating $ac_file" >&5
21747 echo "$as_me: creating $ac_file" >&6;}
21750 # Let's still pretend it is `configure' which instantiates (i.e., don't
21751 # use $as_me), people would be surprised to read:
21752 # /* config.h. Generated by config.status. */
21753 if test x
"$ac_file" = x-
; then
21756 configure_input
="$ac_file. "
21758 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21759 sed 's,.*/,,'` by configure."
21761 # First look for the input files in the build tree, otherwise in the
21763 ac_file_inputs
=`IFS=:
21764 for f in $ac_file_in; do
21766 -) echo $tmp/stdin ;;
21768 # Absolute (can't be DOS-style, as IFS=:)
21769 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21770 echo "$as_me: error: cannot find input file: $f" >&2;}
21771 { (exit 1); exit 1; }; }
21774 if test -f "$f"; then
21777 elif test -f "$srcdir/$f"; then
21782 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21783 echo "$as_me: error: cannot find input file: $f" >&2;}
21784 { (exit 1); exit 1; }; }
21787 done` ||
{ (exit 1); exit 1; }
21789 cat >>$CONFIG_STATUS <<_ACEOF
21793 cat >>$CONFIG_STATUS <<\_ACEOF
21795 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21796 s
,@configure_input@
,$configure_input,;t t
21797 s
,@srcdir@
,$ac_srcdir,;t t
21798 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21799 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21800 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21801 s
,@builddir@
,$ac_builddir,;t t
21802 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21803 s
,@top_builddir@
,$ac_top_builddir,;t t
21804 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21805 s
,@INSTALL@
,$ac_INSTALL,;t t
21806 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21808 if test x"$ac_file" != x-; then
21809 mv $tmp/out $ac_file
21817 cat >>$CONFIG_STATUS <<\_ACEOF
21820 # CONFIG_HEADER section.
21823 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21824 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21826 # ac_d sets the value in "#define NAME VALUE" lines.
21827 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21828 ac_dB
='[ ].*$,\1#\2'
21831 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21832 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21833 ac_uB
='$,\1#\2define\3'
21837 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21838 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21840 - |
*:- |
*:-:* ) # input from stdin
21842 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21843 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21844 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21845 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21846 * ) ac_file_in
=$ac_file.
in ;;
21849 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21850 echo "$as_me: creating $ac_file" >&6;}
21852 # First look for the input files in the build tree, otherwise in the
21854 ac_file_inputs
=`IFS=:
21855 for f in $ac_file_in; do
21857 -) echo $tmp/stdin ;;
21859 # Absolute (can't be DOS-style, as IFS=:)
21860 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21861 echo "$as_me: error: cannot find input file: $f" >&2;}
21862 { (exit 1); exit 1; }; }
21863 # Do quote $f, to prevent DOS paths from being IFS'd.
21866 if test -f "$f"; then
21869 elif test -f "$srcdir/$f"; then
21874 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21875 echo "$as_me: error: cannot find input file: $f" >&2;}
21876 { (exit 1); exit 1; }; }
21879 done` ||
{ (exit 1); exit 1; }
21880 # Remove the trailing spaces.
21881 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21885 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21886 # `conftest.undefs', that substitutes the proper values into
21887 # config.h.in to produce config.h. The first handles `#define'
21888 # templates, and the second `#undef' templates.
21889 # And first: Protect against being on the right side of a sed subst in
21890 # config.status. Protect against being in an unquoted here document
21891 # in config.status.
21892 rm -f conftest.defines conftest.undefs
21893 # Using a here document instead of a string reduces the quoting nightmare.
21894 # Putting comments in sed scripts is not portable.
21896 # `end' is used to avoid that the second main sed command (meant for
21897 # 0-ary CPP macros) applies to n-ary macro definitions.
21898 # See the Autoconf documentation for `clear'.
21899 cat >confdef2sed.
sed <<\_ACEOF
21904 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21906 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21909 # If some macros were called several times there might be several times
21910 # the same #defines, which is useless. Nevertheless, we may not want to
21911 # sort them, since we want the *last* AC-DEFINE to be honored.
21912 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21913 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21914 rm -f confdef2sed.sed
21916 # This sed command replaces #undef with comments. This is necessary, for
21917 # example, in the case of _POSIX_SOURCE, which is predefined and required
21918 # on some systems where configure will not decide to define it.
21919 cat >>conftest.undefs <<\_ACEOF
21920 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21923 # Break up conftest.defines because some shells have a limit on the size
21924 # of here documents, and old seds have small limits too (100 cmds).
21925 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21926 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21927 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21928 echo ' :' >>$CONFIG_STATUS
21929 rm -f conftest.tail
21930 while grep . conftest.defines >/dev/null
21932 # Write a limited-size here document to $tmp/defines.sed.
21933 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21934 # Speed up: don't consider the non `#define' lines.
21935 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21936 # Work around the forget-to-reset-the-flag bug.
21937 echo 't clr' >>$CONFIG_STATUS
21938 echo ': clr' >>$CONFIG_STATUS
21939 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21941 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21943 mv $tmp/out $tmp/in
21945 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21946 rm -f conftest.defines
21947 mv conftest.
tail conftest.defines
21949 rm -f conftest.defines
21950 echo ' fi # grep' >>$CONFIG_STATUS
21951 echo >>$CONFIG_STATUS
21953 # Break up conftest.undefs because some shells have a limit on the size
21954 # of here documents, and old seds have small limits too (100 cmds).
21955 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21956 rm -f conftest.
tail
21957 while grep . conftest.undefs
>/dev
/null
21959 # Write a limited-size here document to $tmp/undefs.sed.
21960 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21961 # Speed up: don't consider the non
`#undef'
21962 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21963 # Work around the forget-to-reset-the-flag bug.
21964 echo 't clr' >>$CONFIG_STATUS
21965 echo ': clr' >>$CONFIG_STATUS
21966 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21968 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21970 mv $tmp/out $tmp/in
21972 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21973 rm -f conftest.undefs
21974 mv conftest.tail conftest.undefs
21976 rm -f conftest.undefs
21978 cat >>$CONFIG_STATUS <<\_ACEOF
21979 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21980 # use $as_me), people would be surprised to read:
21981 # /* config.h. Generated by config.status. */
21982 if test x
"$ac_file" = x-
; then
21983 echo "/* Generated by configure. */" >$tmp/config.h
21985 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21987 cat $tmp/in >>$tmp/config.h
21989 if test x
"$ac_file" != x-
; then
21990 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21991 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21992 echo "$as_me: $ac_file is unchanged" >&6;}
21994 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21995 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21996 X"$ac_file" : 'X\(//\)[^/]' \| \
21997 X"$ac_file" : 'X\(//\)$' \| \
21998 X"$ac_file" : 'X\(/\)' \| \
21999 . : '\(.\)' 2>/dev/null ||
22001 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22002 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22003 /^X\(\/\/\)$/{ s//\1/; q; }
22004 /^X\(\/\).*/{ s//\1/; q; }
22006 { if $as_mkdir_p; then
22011 while test ! -d "$as_dir"; do
22012 as_dirs
="$as_dir $as_dirs"
22013 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22014 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22015 X"$as_dir" : 'X\(//\)[^/]' \| \
22016 X"$as_dir" : 'X\(//\)$' \| \
22017 X"$as_dir" : 'X\(/\)' \| \
22018 . : '\(.\)' 2>/dev/null ||
22020 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22021 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22022 /^X\(\/\/\)$/{ s//\1/; q; }
22023 /^X\(\/\).*/{ s//\1/; q; }
22026 test ! -n "$as_dirs" || mkdir
$as_dirs
22027 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22028 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22029 { (exit 1); exit 1; }; }; }
22032 mv $tmp/config.h
$ac_file
22036 rm -f $tmp/config.h
22038 # Compute $ac_file's index in $config_headers.
22040 for _am_header
in $config_headers :; do
22041 case $_am_header in
22042 $ac_file |
$ac_file:* )
22045 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22048 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
22049 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22050 X$ac_file : 'X\(//\)[^/]' \| \
22051 X$ac_file : 'X\(//\)$' \| \
22052 X$ac_file : 'X\(/\)' \| \
22053 . : '\(.\)' 2>/dev/null ||
22055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22056 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22057 /^X\(\/\/\)$/{ s//\1/; q; }
22058 /^X\(\/\).*/{ s//\1/; q; }
22059 s/.*/./; q'`/stamp-h
$_am_stamp_count
22062 cat >>$CONFIG_STATUS <<\_ACEOF
22065 # CONFIG_COMMANDS section.
22067 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
22068 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
22069 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22070 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
22071 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22072 X"$ac_dest" : 'X\(//\)[^/]' \| \
22073 X"$ac_dest" : 'X\(//\)$' \| \
22074 X"$ac_dest" : 'X\(/\)' \| \
22075 . : '\(.\)' 2>/dev/null ||
22077 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22078 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22079 /^X\(\/\/\)$/{ s//\1/; q; }
22080 /^X\(\/\).*/{ s//\1/; q; }
22082 { if $as_mkdir_p; then
22087 while test ! -d "$as_dir"; do
22088 as_dirs
="$as_dir $as_dirs"
22089 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22090 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22091 X"$as_dir" : 'X\(//\)[^/]' \| \
22092 X"$as_dir" : 'X\(//\)$' \| \
22093 X"$as_dir" : 'X\(/\)' \| \
22094 . : '\(.\)' 2>/dev/null ||
22096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22097 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22098 /^X\(\/\/\)$/{ s//\1/; q; }
22099 /^X\(\/\).*/{ s//\1/; q; }
22102 test ! -n "$as_dirs" || mkdir
$as_dirs
22103 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22104 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22105 { (exit 1); exit 1; }; }; }
22109 if test "$ac_dir" != .
; then
22110 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22111 # A "../" for each directory in $ac_dir_suffix.
22112 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22114 ac_dir_suffix
= ac_top_builddir
=
22118 .
) # No --srcdir option. We are building in place.
22120 if test -z "$ac_top_builddir"; then
22123 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22125 [\\/]* | ?
:[\\/]* ) # Absolute path.
22126 ac_srcdir
=$srcdir$ac_dir_suffix;
22127 ac_top_srcdir
=$srcdir ;;
22128 *) # Relative path.
22129 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
22130 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
22133 # Do not use `cd foo && pwd` to compute absolute paths, because
22134 # the directories may not exist.
22136 .
) ac_abs_builddir
="$ac_dir";;
22139 .
) ac_abs_builddir
=`pwd`;;
22140 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
22141 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
22144 case $ac_abs_builddir in
22145 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22147 case ${ac_top_builddir}.
in
22148 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
22149 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22150 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
22153 case $ac_abs_builddir in
22154 .
) ac_abs_srcdir
=$ac_srcdir;;
22157 .
) ac_abs_srcdir
=$ac_abs_builddir;;
22158 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
22159 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
22162 case $ac_abs_builddir in
22163 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
22165 case $ac_top_srcdir in
22166 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
22167 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
22168 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
22173 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22174 echo "$as_me: executing $ac_dest commands" >&6;}
22176 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
22177 # Strip MF so we end up with the name of the file.
22178 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22179 # Check whether this is an Automake generated Makefile or not.
22180 # We used to match only the files named `Makefile.in', but
22181 # some people rename them; so instead we look at the file content.
22182 # Grep'ing the first line is not enough: some people post-process
22183 # each Makefile.in and add a new line on top of each file to say so.
22184 # So let's grep whole file.
22185 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
22186 dirpart
=`(dirname "$mf") 2>/dev/null ||
22187 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22188 X"$mf" : 'X\(//\)[^/]' \| \
22189 X"$mf" : 'X\(//\)$' \| \
22190 X"$mf" : 'X\(/\)' \| \
22191 . : '\(.\)' 2>/dev/null ||
22193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22194 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22195 /^X\(\/\/\)$/{ s//\1/; q; }
22196 /^X\(\/\).*/{ s//\1/; q; }
22201 # Extract the definition of DEPDIR, am__include, and am__quote
22202 # from the Makefile without running `make'.
22203 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22204 test -z "$DEPDIR" && continue
22205 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22206 test -z "am__include" && continue
22207 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22208 # When using ansi2knr, U may be empty or an underscore; expand it
22209 U
=`sed -n 's/^U = //p' < "$mf"`
22210 # Find all dependency output files, they are included files with
22211 # $(DEPDIR) in their names. We invoke sed twice because it is the
22212 # simplest approach to changing $(DEPDIR) to its actual value in the
22214 for file in `sed -n "
22215 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22216 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22217 # Make sure the directory exists.
22218 test -f "$dirpart/$file" && continue
22219 fdir
=`(dirname "$file") 2>/dev/null ||
22220 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22221 X"$file" : 'X\(//\)[^/]' \| \
22222 X"$file" : 'X\(//\)$' \| \
22223 X"$file" : 'X\(/\)' \| \
22224 . : '\(.\)' 2>/dev/null ||
22226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22227 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22228 /^X\(\/\/\)$/{ s//\1/; q; }
22229 /^X\(\/\).*/{ s//\1/; q; }
22231 { if $as_mkdir_p; then
22232 mkdir
-p $dirpart/$fdir
22234 as_dir
=$dirpart/$fdir
22236 while test ! -d "$as_dir"; do
22237 as_dirs
="$as_dir $as_dirs"
22238 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22239 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22240 X"$as_dir" : 'X\(//\)[^/]' \| \
22241 X"$as_dir" : 'X\(//\)$' \| \
22242 X"$as_dir" : 'X\(/\)' \| \
22243 . : '\(.\)' 2>/dev/null ||
22245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22246 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22247 /^X\(\/\/\)$/{ s//\1/; q; }
22248 /^X\(\/\).*/{ s//\1/; q; }
22251 test ! -n "$as_dirs" || mkdir
$as_dirs
22252 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
22253 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
22254 { (exit 1); exit 1; }; }; }
22256 # echo "creating $dirpart/$file"
22257 echo '# dummy' > "$dirpart/$file"
22263 # See if we are running on zsh, and set the options which allow our
22264 # commands through without removal of \ escapes.
22265 if test -n "${ZSH_VERSION+set}" ; then
22266 setopt NO_GLOB_SUBST
22269 cfgfile
="${ofile}T"
22270 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22273 cat <<_LT_EOF >> "$cfgfile"
22276 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22277 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
22278 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22279 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22281 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22282 # 2006, 2007 Free Software Foundation, Inc.
22284 # This file is part of GNU Libtool:
22285 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
22287 # This program is free software; you can redistribute it and/or modify
22288 # it under the terms of the GNU General Public License as published by
22289 # the Free Software Foundation; either version 2 of the License, or
22290 # (at your option) any later version.
22292 # This program is distributed in the hope that it will be useful, but
22293 # WITHOUT ANY WARRANTY; without even the implied warranty of
22294 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22295 # General Public License for more details.
22297 # You should have received a copy of the GNU General Public License
22298 # along with this program; if not, a copy can be downloaded from
22299 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
22300 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
22301 # MA 02110-1301, USA.
22303 # As a special exception to the GNU General Public License, if you
22304 # distribute this file as part of a program that contains a
22305 # configuration script generated by Autoconf, you may include it under
22306 # the same distribution terms that you use for the rest of that program.
22309 # The names of the tagged configurations supported by this script.
22312 # ### BEGIN LIBTOOL CONFIG
22314 # Whether or not to build shared libraries.
22315 build_libtool_libs=$enable_shared
22317 # Which release of libtool.m4 was used?
22318 macro_version=$macro_version
22319 macro_revision=$macro_revision
22321 # Whether or not to build static libraries.
22322 build_old_libs=$enable_static
22324 # What type of objects to build.
22327 # Whether or not to optimize for fast installation.
22328 fast_install=$enable_fast_install
22331 host_alias=$host_alias
22335 # The build system.
22336 build_alias=$build_alias
22340 # A sed program that does not truncate output.
22343 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22344 Xsed="\$SED -e 1s/^X//"
22346 # A grep program that handles long lines.
22352 # A literal string matcher.
22355 # A BSD- or MS-compatible name lister.
22358 # Whether we need soft or hard links.
22361 # What is the maximum length of a command?
22362 max_cmd_len=$max_cmd_len
22364 # Object file suffix (normally "o").
22367 # Executable file suffix (normally "").
22370 # whether the shell understands "unset".
22373 # turn spaces into newlines.
22376 # turn newlines into spaces.
22379 # How to create reloadable object files.
22380 reload_flag=$lt_reload_flag
22381 reload_cmds=$lt_reload_cmds
22383 # Method to check whether dependent libraries are shared objects.
22384 deplibs_check_method=$lt_deplibs_check_method
22386 # Command to use when deplibs_check_method == "file_magic".
22387 file_magic_cmd=$lt_file_magic_cmd
22391 AR_FLAGS=$lt_AR_FLAGS
22393 # A symbol stripping program.
22396 # Commands used to install an old-style archive.
22398 old_postinstall_cmds=$lt_old_postinstall_cmds
22399 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22404 # LTCC compiler flags.
22405 LTCFLAGS=$lt_CFLAGS
22407 # Take the output of nm and produce a listing of raw symbols and C names.
22408 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22410 # Transform the output of nm in a proper C declaration.
22411 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22413 # Transform the output of nm in a C name address pair.
22414 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22416 # The name of the directory that contains temporary libtool files.
22419 # Shell to use when invoking shell scripts.
22422 # An echo program that does not interpret backslashes.
22425 # Used to examine libraries when file_magic_cmd begins with "file".
22426 MAGIC_CMD=$MAGIC_CMD
22428 # Must we lock files when doing compilation?
22429 need_locks=$lt_need_locks
22431 # Old archive suffix (normally "a").
22434 # Shared library suffix (normally ".so").
22435 shrext_cmds=$lt_shrext_cmds
22437 # The commands to extract the exported symbol list from a shared archive.
22438 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22440 # Variables whose values should be saved in libtool wrapper scripts and
22441 # restored at link time.
22442 variables_saved_for_relink=$lt_variables_saved_for_relink
22444 # Do we need the "lib" prefix for modules?
22445 need_lib_prefix=$need_lib_prefix
22447 # Do we need a version for libraries?
22448 need_version=$need_version
22450 # Library versioning type.
22451 version_type=$version_type
22453 # Shared library runtime path variable.
22454 runpath_var=$runpath_var
22456 # Shared library path variable.
22457 shlibpath_var=$shlibpath_var
22459 # Is shlibpath searched before the hard-coded library search path?
22460 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22462 # Format of library name prefix.
22463 libname_spec=$lt_libname_spec
22465 # List of archive names. First name is the real one, the rest are links.
22466 # The last name is the one that the linker finds with -lNAME
22467 library_names_spec=$lt_library_names_spec
22469 # The coded name of the library, if different from the real name.
22470 soname_spec=$lt_soname_spec
22472 # Command to use after installation of a shared archive.
22473 postinstall_cmds=$lt_postinstall_cmds
22475 # Command to use after uninstallation of a shared archive.
22476 postuninstall_cmds=$lt_postuninstall_cmds
22478 # Commands used to finish a libtool library installation in a directory.
22479 finish_cmds=$lt_finish_cmds
22481 # As "finish_cmds", except a single script fragment to be evaled but
22483 finish_eval=$lt_finish_eval
22485 # Whether we should hardcode library paths into libraries.
22486 hardcode_into_libs=$hardcode_into_libs
22488 # Compile-time system search path for libraries.
22489 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22491 # Run-time system search path for libraries.
22492 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22494 # Whether dlopen is supported.
22495 dlopen_support=$enable_dlopen
22497 # Whether dlopen of programs is supported.
22498 dlopen_self=$enable_dlopen_self
22500 # Whether dlopen of statically linked programs is supported.
22501 dlopen_self_static=$enable_dlopen_self_static
22503 # Commands to strip libraries.
22504 old_striplib=$lt_old_striplib
22505 striplib=$lt_striplib
22508 # The linker used to build libraries.
22511 # Commands used to build an old-style archive.
22512 old_archive_cmds=$lt_old_archive_cmds
22514 # A language specific compiler.
22517 # Is the compiler the GNU compiler?
22520 # Compiler flag to turn off builtin functions.
22521 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22523 # How to pass a linker flag through the compiler.
22524 wl=$lt_lt_prog_compiler_wl
22526 # Additional compiler flags for building library objects.
22527 pic_flag=$lt_lt_prog_compiler_pic
22529 # Compiler flag to prevent dynamic linking.
22530 link_static_flag=$lt_lt_prog_compiler_static
22532 # Does compiler simultaneously support -c and -o options?
22533 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22535 # Whether or not to add -lc for building shared libraries.
22536 build_libtool_need_lc=$archive_cmds_need_lc
22538 # Whether or not to disallow shared libs when runtime libs are static.
22539 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22541 # Compiler flag to allow reflexive dlopens.
22542 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22544 # Compiler flag to generate shared objects directly from archives.
22545 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22547 # Whether the compiler copes with passing no objects directly.
22548 compiler_needs_object=$lt_compiler_needs_object
22550 # Create an old-style archive from a shared archive.
22551 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22553 # Create a temporary old-style archive to link instead of a shared archive.
22554 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22556 # Commands used to build a shared archive.
22557 archive_cmds=$lt_archive_cmds
22558 archive_expsym_cmds=$lt_archive_expsym_cmds
22560 # Commands used to build a loadable module if different from building
22561 # a shared archive.
22562 module_cmds=$lt_module_cmds
22563 module_expsym_cmds=$lt_module_expsym_cmds
22565 # Whether we are building with GNU ld or not.
22566 with_gnu_ld=$lt_with_gnu_ld
22568 # Flag that allows shared libraries with undefined symbols to be built.
22569 allow_undefined_flag=$lt_allow_undefined_flag
22571 # Flag that enforces no undefined symbols.
22572 no_undefined_flag=$lt_no_undefined_flag
22574 # Flag to hardcode \$libdir into a binary during linking.
22575 # This must work even if \$libdir does not exist
22576 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22578 # If ld is used when linking, flag to hardcode \$libdir into a binary
22579 # during linking. This must work even if \$libdir does not exist.
22580 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
22582 # Whether we need a single "-rpath" flag with a separated argument.
22583 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22585 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22586 # DIR into the resulting binary.
22587 hardcode_direct=$hardcode_direct
22589 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22590 # DIR into the resulting binary and the resulting library dependency is
22591 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22592 # library is relocated.
22593 hardcode_direct_absolute=$hardcode_direct_absolute
22595 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22596 # into the resulting binary.
22597 hardcode_minus_L=$hardcode_minus_L
22599 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22600 # into the resulting binary.
22601 hardcode_shlibpath_var=$hardcode_shlibpath_var
22603 # Set to "yes" if building a shared library automatically hardcodes DIR
22604 # into the library and all subsequent libraries and executables linked
22606 hardcode_automatic=$hardcode_automatic
22608 # Set to yes if linker adds runtime paths of dependent libraries
22609 # to runtime path list.
22610 inherit_rpath=$inherit_rpath
22612 # Whether libtool must link a program against all its dependency libraries.
22613 link_all_deplibs=$link_all_deplibs
22615 # Fix the shell variable \$srcfile for the compiler.
22616 fix_srcfile_path=$lt_fix_srcfile_path
22618 # Set to "yes" if exported symbols are required.
22619 always_export_symbols=$always_export_symbols
22621 # The commands to list exported symbols.
22622 export_symbols_cmds=$lt_export_symbols_cmds
22624 # Symbols that should not be listed in the preloaded symbols.
22625 exclude_expsyms=$lt_exclude_expsyms
22627 # Symbols that must always be exported.
22628 include_expsyms=$lt_include_expsyms
22630 # Commands necessary for linking programs (against libraries) with templates.
22631 prelink_cmds=$lt_prelink_cmds
22633 # Specify filename containing input files.
22634 file_list_spec=$lt_file_list_spec
22636 # How to hardcode a shared library path into an executable.
22637 hardcode_action=$hardcode_action
22639 # ### END LIBTOOL CONFIG
22645 cat <<\_LT_EOF
>> "$cfgfile"
22646 # AIX sometimes has problems with the GCC collect2 program. For some
22647 # reason, if we set the COLLECT_NAMES environment variable, the problems
22648 # vanish in a puff of smoke.
22649 if test "X${COLLECT_NAMES+set}" != Xset
; then
22651 export COLLECT_NAMES
22658 ltmain
="$ac_aux_dir/ltmain.sh"
22661 # We use sed instead of cat because bash on DJGPP gets confused if
22662 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22663 # text mode, it properly converts lines to CR/LF. This bash problem
22664 # is reportedly fixed, but why not run on old versions too?
22665 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
22666 ||
(rm -f "$cfgfile"; exit 1)
22670 cat << \_LT_EOF
>> "$cfgfile"
22671 # func_dirname file append nondir_replacement
22672 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22673 # otherwise set result to NONDIR_REPLACEMENT.
22677 */*) func_dirname_result
="${1%/*}${2}" ;;
22678 * ) func_dirname_result
="${3}" ;;
22682 # func_basename file
22685 func_basename_result
="${1##*/}"
22688 # func_stripname prefix suffix name
22689 # strip PREFIX and SUFFIX off of NAME.
22690 # PREFIX and SUFFIX must not contain globbing or regex special
22691 # characters, hashes, percent signs, but SUFFIX may contain a leading
22692 # dot (in which case that matches only a dot).
22695 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
22696 # positional parameters, so assign one to ordinary parameter first.
22697 func_stripname_result
=${3}
22698 func_stripname_result
=${func_stripname_result#"${1}"}
22699 func_stripname_result
=${func_stripname_result%"${2}"}
22705 func_opt_split_opt
=${1%%=*}
22706 func_opt_split_arg
=${1#*=}
22713 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
22714 *) func_lo2o_result
=${1} ;;
22719 *) # Bourne compatible functions.
22720 cat << \_LT_EOF
>> "$cfgfile"
22721 # func_dirname file append nondir_replacement
22722 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22723 # otherwise set result to NONDIR_REPLACEMENT.
22726 # Extract subdirectory from the argument.
22727 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
22728 if test "X$func_dirname_result" = "X${1}"; then
22729 func_dirname_result
="${3}"
22731 func_dirname_result
="$func_dirname_result${2}"
22735 # func_basename file
22738 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
22741 # func_stripname prefix suffix name
22742 # strip PREFIX and SUFFIX off of NAME.
22743 # PREFIX and SUFFIX must not contain globbing or regex special
22744 # characters, hashes, percent signs, but SUFFIX may contain a leading
22745 # dot (in which case that matches only a dot).
22746 # func_strip_suffix prefix name
22750 .
*) func_stripname_result
=`$ECHO "X${3}" \
22751 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
22752 *) func_stripname_result
=`$ECHO "X${3}" \
22753 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
22758 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
22759 my_sed_long_arg
='1s/^-[^=]*=//'
22764 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
22765 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
22771 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
22776 case $lt_shell_append in
22778 cat << \_LT_EOF
>> "$cfgfile"
22780 # func_append var value
22781 # Append VALUE to the end of shell variable VAR.
22789 cat << \_LT_EOF
>> "$cfgfile"
22791 # func_append var value
22792 # Append VALUE to the end of shell variable VAR.
22802 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
22803 ||
(rm -f "$cfgfile"; exit 1)
22805 mv -f "$cfgfile" "$ofile" ||
22806 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22811 for ac_file
in $CONFIG_FILES; do
22812 # Support "outfile[:infile[:infile...]]"
22814 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22816 # PO directories have a Makefile.in generated from Makefile.in.in.
22817 case "$ac_file" in */Makefile.
in)
22818 # Adjust a relative srcdir.
22819 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
22820 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
22821 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
22822 # In autoconf-2.13 it is called $ac_given_srcdir.
22823 # In autoconf-2.50 it is called $srcdir.
22824 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
22825 case "$ac_given_srcdir" in
22826 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
22827 /*) top_srcdir
="$ac_given_srcdir" ;;
22828 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
22830 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
22831 rm -f "$ac_dir/POTFILES"
22832 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
22833 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
22834 POMAKEFILEDEPS
="POTFILES.in"
22835 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
22836 # on $ac_dir but don't depend on user-specified configuration
22838 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
22839 # The LINGUAS file contains the set of available languages.
22840 if test -n "$OBSOLETE_ALL_LINGUAS"; then
22841 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
22843 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
22844 # Hide the ALL_LINGUAS assigment from automake.
22845 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
22846 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
22848 # The set of available languages was given in configure.in.
22849 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
22851 case "$ac_given_srcdir" in
22853 *) srcdirpre
='$(srcdir)/' ;;
22859 for lang
in $ALL_LINGUAS; do
22860 POFILES
="$POFILES $srcdirpre$lang.po"
22861 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
22862 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
22863 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
22865 # CATALOGS depends on both $ac_dir and the user's LINGUAS
22866 # environment variable.
22868 if test -n "$ALL_LINGUAS"; then
22869 for presentlang
in $ALL_LINGUAS; do
22871 if test "%UNSET%" != "$LINGUAS"; then
22872 desiredlanguages
="$LINGUAS"
22874 desiredlanguages
="$ALL_LINGUAS"
22876 for desiredlang
in $desiredlanguages; do
22877 # Use the presentlang catalog if desiredlang is
22878 # a. equal to presentlang, or
22879 # b. a variant of presentlang (because in this case,
22880 # presentlang can be used as a fallback for messages
22881 # which are not translated in the desiredlang catalog).
22882 case "$desiredlang" in
22883 "$presentlang"*) useit
=yes;;
22886 if test $useit = yes; then
22887 INST_LINGUAS
="$INST_LINGUAS $presentlang"
22892 if test -n "$INST_LINGUAS"; then
22893 for lang
in $INST_LINGUAS; do
22894 CATALOGS
="$CATALOGS $lang.gmo"
22897 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
22898 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"
22899 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
22900 if test -f "$f"; then
22902 *.orig |
*.bak |
*~
) ;;
22903 *) cat "$f" >> "$ac_dir/Makefile" ;;
22912 if test "$GCC" = yes; then
22913 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
22915 echo "/* generated for $CC */" > tmp-stdint.h
22918 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22920 #ifndef GCC_GENERATED_STDINT_H
22921 #define GCC_GENERATED_STDINT_H 1
22923 #include <sys/types.h>
22926 if test "$acx_cv_header_stdint" != stdint.h
; then
22927 echo "#include <stddef.h>" >> tmp-stdint.h
22929 if test "$acx_cv_header_stdint" != stddef.h
; then
22930 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
22933 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22934 /* glibc uses these symbols as guards to prevent redefinitions. */
22935 #ifdef __int8_t_defined
22940 #ifdef __uint32_t_defined
22946 # ----------------- done header, emit basic int types -------------
22947 if test "$acx_cv_header_stdint" = stddef.h
; then
22948 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22952 #ifndef __uint8_t_defined
22953 #define __uint8_t_defined
22954 typedef unsigned $acx_cv_type_int8_t uint8_t;
22960 #ifndef __uint16_t_defined
22961 #define __uint16_t_defined
22962 typedef unsigned $acx_cv_type_int16_t uint16_t;
22968 #ifndef __uint32_t_defined
22969 #define __uint32_t_defined
22970 typedef unsigned $acx_cv_type_int32_t uint32_t;
22976 #ifndef __int8_t_defined
22977 #define __int8_t_defined
22978 typedef $acx_cv_type_int8_t int8_t;
22984 #ifndef __int16_t_defined
22985 #define __int16_t_defined
22986 typedef $acx_cv_type_int16_t int16_t;
22992 #ifndef __int32_t_defined
22993 #define __int32_t_defined
22994 typedef $acx_cv_type_int32_t int32_t;
22998 elif test "$ac_cv_type_u_int32_t" = yes; then
22999 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23001 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
23014 #ifndef __uint8_t_defined
23015 #define __uint8_t_defined
23016 typedef u_int8_t uint8_t;
23022 #ifndef __uint16_t_defined
23023 #define __uint16_t_defined
23024 typedef u_int16_t uint16_t;
23030 #ifndef __uint32_t_defined
23031 #define __uint32_t_defined
23032 typedef u_int32_t uint32_t;
23037 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23039 /* Some systems have guard macros to prevent redefinitions, define them. */
23061 # ------------- done basic int types, emit int64_t types ------------
23062 if test "$ac_cv_type_uint64_t" = yes; then
23063 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23065 /* system headers have good uint64_t and int64_t */
23073 elif test "$ac_cv_type_u_int64_t" = yes; then
23074 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23076 /* system headers have an u_int64_t (and int64_t) */
23082 #ifndef __uint64_t_defined
23083 #define __uint64_t_defined
23084 typedef u_int64_t uint64_t;
23088 elif test -n "$acx_cv_type_int64_t"; then
23089 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23091 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
23094 typedef $acx_cv_type_int64_t int64_t;
23098 #ifndef __uint64_t_defined
23099 #define __uint64_t_defined
23100 typedef unsigned $acx_cv_type_int64_t uint64_t;
23105 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23107 /* some common heuristics for int64_t, using compiler-specific tests */
23108 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
23111 #ifndef __int64_t_defined
23112 typedef long long int64_t;
23117 typedef unsigned long long uint64_t;
23120 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
23121 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
23122 does not implement __extension__. But that compiler doesn't define
23124 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
23125 # define __extension__
23130 __extension__ typedef long long int64_t;
23134 __extension__ typedef unsigned long long uint64_t;
23137 #elif !defined __STRICT_ANSI__
23138 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
23142 typedef __int64 int64_t;
23146 typedef unsigned __int64 uint64_t;
23148 # endif /* compiler */
23150 #endif /* ANSI version */
23154 # ------------- done int64_t types, emit intptr types ------------
23155 if test "$ac_cv_type_uintptr_t" != yes; then
23156 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23158 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
23159 #ifndef __uintptr_t_defined
23160 typedef u$acx_cv_type_intptr_t uintptr_t;
23162 #ifndef __intptr_t_defined
23163 typedef $acx_cv_type_intptr_t intptr_t;
23168 # ------------- done intptr types, emit int_least types ------------
23169 if test "$ac_cv_type_int_least32_t" != yes; then
23170 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23172 /* Define int_least types */
23173 typedef int8_t int_least8_t;
23174 typedef int16_t int_least16_t;
23175 typedef int32_t int_least32_t;
23177 typedef int64_t int_least64_t;
23180 typedef uint8_t uint_least8_t;
23181 typedef uint16_t uint_least16_t;
23182 typedef uint32_t uint_least32_t;
23184 typedef uint64_t uint_least64_t;
23189 # ------------- done intptr types, emit int_fast types ------------
23190 if test "$ac_cv_type_int_fast32_t" != yes; then
23191 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23193 /* Define int_fast types. short is often slow */
23194 typedef int8_t int_fast8_t;
23195 typedef int int_fast16_t;
23196 typedef int32_t int_fast32_t;
23198 typedef int64_t int_fast64_t;
23201 typedef uint8_t uint_fast8_t;
23202 typedef unsigned int uint_fast16_t;
23203 typedef uint32_t uint_fast32_t;
23205 typedef uint64_t uint_fast64_t;
23210 if test "$ac_cv_type_uintmax_t" != yes; then
23211 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23213 /* Define intmax based on what we found */
23215 typedef int64_t intmax_t;
23217 typedef long intmax_t;
23220 typedef uint64_t uintmax_t;
23222 typedef unsigned long uintmax_t;
23227 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23229 #endif /* GCC_GENERATED_STDINT_H */
23232 if test -r bfd_stdint.h
&& cmp -s tmp-stdint.h bfd_stdint.h
; then
23235 mv -f tmp-stdint.h bfd_stdint.h
23242 *) srcdirpre
='$(srcdir)/' ;;
23246 for lang
in dummy
$OBSOLETE_ALL_LINGUAS; do
23247 if test $lang != dummy
; then
23248 POFILES
="$POFILES $srcdirpre$lang.po"
23249 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
23252 sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' \
23253 -e '/BLD-POTFILES =/r po/BLD-POTFILES' \
23254 -e "s,@POFILES@,$POFILES," \
23255 -e "s,@GMOFILES@,$GMOFILES," \
23256 po
/Makefile.
in > po
/Makefile
;;
23261 cat >>$CONFIG_STATUS <<\_ACEOF
23263 { (exit 0); exit 0; }
23265 chmod +x
$CONFIG_STATUS
23266 ac_clean_files
=$ac_clean_files_save
23269 # configure is writing to config.log, and then calls config.status.
23270 # config.status does its own redirection, appending to config.log.
23271 # Unfortunately, on DOS this fails, as config.log is still kept open
23272 # by configure, so config.status won't be able to write to it; its
23273 # output is simply discarded. So we exec the FD to /dev/null,
23274 # effectively closing config.log, so it can be properly (re)opened and
23275 # appended to by config.status. When coming back to configure, we
23276 # need to make the FD available again.
23277 if test "$no_create" != yes; then
23279 ac_config_status_args
=
23280 test "$silent" = yes &&
23281 ac_config_status_args
="$ac_config_status_args --quiet"
23283 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23285 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23286 # would make configure fail if this is the last instruction.
23287 $ac_cs_success ||
{ (exit 1); exit 1; }