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 CPP EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 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 LIBM SHARED_LDFLAGS SHARED_LIBADD TDEFINES wordsize bfd64_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults datarootdir docdir htmldir pdfdir LIBOBJS LTLIBOBJS'
465 # Initialize some variables set by options.
467 ac_init_version
=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
477 program_transform_name
=s
,x
,x
,
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir
='${exec_prefix}/bin'
491 sbindir
='${exec_prefix}/sbin'
492 libexecdir
='${exec_prefix}/libexec'
493 datadir
='${prefix}/share'
494 sysconfdir
='${prefix}/etc'
495 sharedstatedir
='${prefix}/com'
496 localstatedir
='${prefix}/var'
497 libdir
='${exec_prefix}/lib'
498 includedir
='${prefix}/include'
499 oldincludedir
='/usr/include'
500 infodir
='${prefix}/info'
501 mandir
='${prefix}/man'
506 # If the previous option needs an argument, assign it.
507 if test -n "$ac_prev"; then
508 eval "$ac_prev=\$ac_option"
513 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
515 # Accept the important Cygnus configure options, so we can diagnose typos.
519 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
521 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
524 -build |
--build |
--buil |
--bui |
--bu)
525 ac_prev
=build_alias
;;
526 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
527 build_alias
=$ac_optarg ;;
529 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
530 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
531 ac_prev
=cache_file
;;
532 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
533 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
534 cache_file
=$ac_optarg ;;
537 cache_file
=config.cache
;;
539 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
541 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
543 datadir
=$ac_optarg ;;
545 -disable-* |
--disable-*)
546 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547 # Reject names that are not valid shell variable names.
548 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
549 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550 { (exit 1); exit 1; }; }
551 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
552 eval "enable_$ac_feature=no" ;;
554 -enable-* |
--enable-*)
555 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556 # Reject names that are not valid shell variable names.
557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559 { (exit 1); exit 1; }; }
560 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
562 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
565 eval "enable_$ac_feature='$ac_optarg'" ;;
567 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
568 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
569 |
--exec |
--exe |
--ex)
570 ac_prev
=exec_prefix
;;
571 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
572 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
573 |
--exec=* |
--exe=* |
--ex=*)
574 exec_prefix
=$ac_optarg ;;
576 -gas |
--gas |
--ga |
--g)
577 # Obsolete; use --with-gas.
580 -help |
--help |
--hel |
--he |
-h)
582 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
583 ac_init_help
=recursive
;;
584 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
585 ac_init_help
=short
;;
587 -host |
--host |
--hos |
--ho)
588 ac_prev
=host_alias
;;
589 -host=* |
--host=* |
--hos=* |
--ho=*)
590 host_alias
=$ac_optarg ;;
592 -includedir |
--includedir |
--includedi |
--included |
--include \
593 |
--includ |
--inclu |
--incl |
--inc)
594 ac_prev
=includedir
;;
595 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
596 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
597 includedir
=$ac_optarg ;;
599 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
601 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
602 infodir
=$ac_optarg ;;
604 -libdir |
--libdir |
--libdi |
--libd)
606 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
609 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
610 |
--libexe |
--libex |
--libe)
611 ac_prev
=libexecdir
;;
612 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
613 |
--libexe=* |
--libex=* |
--libe=*)
614 libexecdir
=$ac_optarg ;;
616 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
617 |
--localstate |
--localstat |
--localsta |
--localst \
618 |
--locals |
--local |
--loca |
--loc |
--lo)
619 ac_prev
=localstatedir
;;
620 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
621 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
622 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
623 localstatedir
=$ac_optarg ;;
625 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
627 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
631 # Obsolete; use --without-fp.
634 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
635 |
--no-cr |
--no-c |
-n)
638 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
639 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
642 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
643 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
644 |
--oldin |
--oldi |
--old |
--ol |
--o)
645 ac_prev
=oldincludedir
;;
646 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
647 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
648 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
649 oldincludedir
=$ac_optarg ;;
651 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
653 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
656 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
657 |
--program-pre |
--program-pr |
--program-p)
658 ac_prev
=program_prefix
;;
659 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
660 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
661 program_prefix
=$ac_optarg ;;
663 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
664 |
--program-suf |
--program-su |
--program-s)
665 ac_prev
=program_suffix
;;
666 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
667 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
668 program_suffix
=$ac_optarg ;;
670 -program-transform-name |
--program-transform-name \
671 |
--program-transform-nam |
--program-transform-na \
672 |
--program-transform-n |
--program-transform- \
673 |
--program-transform |
--program-transfor \
674 |
--program-transfo |
--program-transf \
675 |
--program-trans |
--program-tran \
676 |
--progr-tra |
--program-tr |
--program-t)
677 ac_prev
=program_transform_name
;;
678 -program-transform-name=* |
--program-transform-name=* \
679 |
--program-transform-nam=* |
--program-transform-na=* \
680 |
--program-transform-n=* |
--program-transform-=* \
681 |
--program-transform=* |
--program-transfor=* \
682 |
--program-transfo=* |
--program-transf=* \
683 |
--program-trans=* |
--program-tran=* \
684 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
685 program_transform_name
=$ac_optarg ;;
687 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
688 |
-silent |
--silent |
--silen |
--sile |
--sil)
691 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
693 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
695 sbindir
=$ac_optarg ;;
697 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
698 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
699 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
701 ac_prev
=sharedstatedir
;;
702 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
703 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
704 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
706 sharedstatedir
=$ac_optarg ;;
708 -site |
--site |
--sit)
710 -site=* |
--site=* |
--sit=*)
713 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
715 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
718 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
719 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
720 ac_prev
=sysconfdir
;;
721 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
722 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
723 sysconfdir
=$ac_optarg ;;
725 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
726 ac_prev
=target_alias
;;
727 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
728 target_alias
=$ac_optarg ;;
730 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
733 -version |
--version |
--versio |
--versi |
--vers |
-V)
737 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
740 { echo "$as_me: error: invalid package name: $ac_package" >&2
741 { (exit 1); exit 1; }; }
742 ac_package
=`echo $ac_package| sed 's/-/_/g'`
744 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
747 eval "with_$ac_package='$ac_optarg'" ;;
749 -without-* |
--without-*)
750 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
753 { echo "$as_me: error: invalid package name: $ac_package" >&2
754 { (exit 1); exit 1; }; }
755 ac_package
=`echo $ac_package | sed 's/-/_/g'`
756 eval "with_$ac_package=no" ;;
759 # Obsolete; use --with-x.
762 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
763 |
--x-incl |
--x-inc |
--x-in |
--x-i)
764 ac_prev
=x_includes
;;
765 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
766 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
767 x_includes
=$ac_optarg ;;
769 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
770 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
771 ac_prev
=x_libraries
;;
772 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
773 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
774 x_libraries
=$ac_optarg ;;
776 -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778 { (exit 1); exit 1; }; }
782 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
785 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786 { (exit 1); exit 1; }; }
787 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788 eval "$ac_envvar='$ac_optarg'"
792 # FIXME: should be removed in autoconf 3.0.
793 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
795 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
802 if test -n "$ac_prev"; then
803 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
804 { echo "$as_me: error: missing argument to $ac_option" >&2
805 { (exit 1); exit 1; }; }
808 # Be sure to have absolute paths.
809 for ac_var
in exec_prefix prefix
811 eval ac_val
=$
`echo $ac_var`
813 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
814 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815 { (exit 1); exit 1; }; };;
819 # Be sure to have absolute paths.
820 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821 localstatedir libdir includedir oldincludedir infodir mandir
823 eval ac_val
=$
`echo $ac_var`
825 [\\/$
]* | ?
:[\\/]* ) ;;
826 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827 { (exit 1); exit 1; }; };;
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x
; then
840 if test "x$build_alias" = x
; then
841 cross_compiling
=maybe
842 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843 If a cross compiler is detected then cross compile mode will be used." >&2
844 elif test "x$build_alias" != "x$host_alias"; then
850 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
852 test "$silent" = yes && exec 6>/dev
/null
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857 ac_srcdir_defaulted
=yes
858 # Try the directory containing this script, then its parent.
859 ac_confdir
=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861 X"$0" : 'X\(//\)[^/]' \| \
862 X"$0" : 'X\(//\)$' \| \
863 X"$0" : 'X\(/\)' \| \
864 . : '\(.\)' 2>/dev/null ||
866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868 /^X\(\/\/\)$/{ s//\1/; q; }
869 /^X\(\/\).*/{ s//\1/; q; }
872 if test ! -r $srcdir/$ac_unique_file; then
876 ac_srcdir_defaulted
=no
878 if test ! -r $srcdir/$ac_unique_file; then
879 if test "$ac_srcdir_defaulted" = yes; then
880 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881 { (exit 1); exit 1; }; }
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884 { (exit 1); exit 1; }; }
887 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
888 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889 { (exit 1); exit 1; }; }
890 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set
=${build_alias+set}
892 ac_env_build_alias_value
=$build_alias
893 ac_cv_env_build_alias_set
=${build_alias+set}
894 ac_cv_env_build_alias_value
=$build_alias
895 ac_env_host_alias_set
=${host_alias+set}
896 ac_env_host_alias_value
=$host_alias
897 ac_cv_env_host_alias_set
=${host_alias+set}
898 ac_cv_env_host_alias_value
=$host_alias
899 ac_env_target_alias_set
=${target_alias+set}
900 ac_env_target_alias_value
=$target_alias
901 ac_cv_env_target_alias_set
=${target_alias+set}
902 ac_cv_env_target_alias_value
=$target_alias
903 ac_env_CC_set
=${CC+set}
905 ac_cv_env_CC_set
=${CC+set}
906 ac_cv_env_CC_value
=$CC
907 ac_env_CFLAGS_set
=${CFLAGS+set}
908 ac_env_CFLAGS_value
=$CFLAGS
909 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
910 ac_cv_env_CFLAGS_value
=$CFLAGS
911 ac_env_LDFLAGS_set
=${LDFLAGS+set}
912 ac_env_LDFLAGS_value
=$LDFLAGS
913 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
914 ac_cv_env_LDFLAGS_value
=$LDFLAGS
915 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
916 ac_env_CPPFLAGS_value
=$CPPFLAGS
917 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
918 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
919 ac_env_CPP_set
=${CPP+set}
920 ac_env_CPP_value
=$CPP
921 ac_cv_env_CPP_set
=${CPP+set}
922 ac_cv_env_CPP_value
=$CPP
925 # Report the --help message.
927 if test "$ac_init_help" = "long"; then
928 # Omit some internal or obsolete options to make the list less imposing.
929 # This message is too long to be a string in the A/UX 3.1 sh.
931 \`configure' configures this package to adapt to many kinds of systems.
933 Usage: $0 [OPTION]... [VAR=VALUE]...
935 To assign environment variables (e.g., CC, CFLAGS...), specify them as
936 VAR=VALUE. See below for descriptions of some of the useful variables.
938 Defaults for the options are specified in brackets.
941 -h, --help display this help and exit
942 --help=short display options specific to this package
943 --help=recursive display the short help of all the included packages
944 -V, --version display version information and exit
945 -q, --quiet, --silent do not print \`checking...' messages
946 --cache-file=FILE cache test results in FILE [disabled]
947 -C, --config-cache alias for \`--cache-file=config.cache'
948 -n, --no-create do not create output files
949 --srcdir=DIR find the sources in DIR [configure dir or \`..']
954 Installation directories:
955 --prefix=PREFIX install architecture-independent files in PREFIX
957 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
960 By default, \`make install' will install all the files in
961 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
962 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
963 for instance \`--prefix=\$HOME'.
965 For better control, use the options below.
967 Fine tuning of the installation directories:
968 --bindir=DIR user executables [EPREFIX/bin]
969 --sbindir=DIR system admin executables [EPREFIX/sbin]
970 --libexecdir=DIR program executables [EPREFIX/libexec]
971 --datadir=DIR read-only architecture-independent data [PREFIX/share]
972 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
973 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
974 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
975 --libdir=DIR object code libraries [EPREFIX/lib]
976 --includedir=DIR C header files [PREFIX/include]
977 --oldincludedir=DIR C header files for non-gcc [/usr/include]
978 --infodir=DIR info documentation [PREFIX/info]
979 --mandir=DIR man documentation [PREFIX/man]
985 --program-prefix=PREFIX prepend PREFIX to installed program names
986 --program-suffix=SUFFIX append SUFFIX to installed program names
987 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
990 --build=BUILD configure
for building on BUILD
[guessed
]
991 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
992 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
996 if test -n "$ac_init_help"; then
1001 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1002 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1003 --disable-dependency-tracking speeds up one-time build
1004 --enable-dependency-tracking do not reject slow dependency extractors
1005 --enable-shared[=PKGS
]
1006 build shared libraries
[default
=no
]
1007 --disable-largefile omit support
for large files
1008 --enable-static[=PKGS
]
1009 build static libraries
[default
=yes]
1010 --enable-fast-install[=PKGS
]
1011 optimize
for fast installation
[default
=yes]
1012 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1013 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
1014 --enable-targets alternative target configurations
1015 --enable-secureplt Default to creating read-only plt entries
1016 --enable-elf-stt-common Allow the generation of ELF symbols with the STT_COMMON
type
1017 --enable-werror treat compile warnings as errors
1018 --enable-build-warnings enable build-time compiler warnings
1019 --enable-maintainer-mode enable make rules and dependencies not useful
1020 (and sometimes confusing
) to the casual installer
1021 --enable-install-libbfd controls installation of libbfd and related headers
1022 --disable-nls do not use Native Language Support
1025 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1026 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1027 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1029 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1030 --with-mmap try using mmap
for BFD input files
if available
1031 --with-separate-debug-dir=DIR
1032 Look
for global separate debug info
in DIR
1033 [default
=LIBDIR
/debug
]
1034 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GNU
1036 --with-bugurl=URL Direct users to URL to report a bug
1038 Some influential environment variables
:
1039 CC C compiler
command
1040 CFLAGS C compiler flags
1041 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1042 nonstandard directory
<lib dir
>
1043 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1044 headers
in a nonstandard directory
<include dir
>
1047 Use these variables to override the choices made by
`configure' or to help
1048 it to find libraries and programs with nonstandard names/locations.
1053 if test "$ac_init_help" = "recursive"; then
1054 # If there are subdirs, report their specific --help.
1056 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1057 test -d $ac_dir || continue
1060 if test "$ac_dir" != .; then
1061 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1062 # A "../" for each directory in $ac_dir_suffix.
1063 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1065 ac_dir_suffix= ac_top_builddir=
1069 .) # No --srcdir option. We are building in place.
1071 if test -z "$ac_top_builddir"; then
1074 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1076 [\\/]* | ?:[\\/]* ) # Absolute path.
1077 ac_srcdir=$srcdir$ac_dir_suffix;
1078 ac_top_srcdir=$srcdir ;;
1080 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1081 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1084 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1085 # the directories may not exist.
1087 .) ac_abs_builddir="$ac_dir";;
1090 .) ac_abs_builddir=`pwd`;;
1091 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1092 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1095 case $ac_abs_builddir in
1096 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1098 case ${ac_top_builddir}. in
1099 .) ac_abs_top_builddir=$ac_abs_builddir;;
1100 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1101 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1104 case $ac_abs_builddir in
1105 .) ac_abs_srcdir=$ac_srcdir;;
1108 .) ac_abs_srcdir=$ac_abs_builddir;;
1109 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1110 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1113 case $ac_abs_builddir in
1114 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1116 case $ac_top_srcdir in
1117 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1118 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1119 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1124 # Check for guested configure; otherwise get Cygnus style configure.
1125 if test -f $ac_srcdir/configure.gnu; then
1127 $SHELL $ac_srcdir/configure.gnu --help=recursive
1128 elif test -f $ac_srcdir/configure; then
1130 $SHELL $ac_srcdir/configure --help=recursive
1131 elif test -f $ac_srcdir/configure.ac ||
1132 test -f $ac_srcdir/configure.in; then
1134 $ac_configure --help
1136 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1142 test -n "$ac_init_help" && exit 0
1143 if $ac_init_version; then
1146 Copyright (C) 2003 Free Software Foundation, Inc.
1147 This configure script is free software; the Free Software Foundation
1148 gives unlimited permission to copy, distribute and modify it.
1154 This file contains any messages produced by compilers while
1155 running configure, to aid debugging if configure makes a mistake.
1157 It was created by $as_me, which was
1158 generated by GNU Autoconf 2.59. Invocation command line was
1169 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1170 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1171 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1172 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1173 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1175 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1176 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1178 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1179 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1180 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1181 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1182 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1183 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1184 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1192 test -z "$as_dir" && as_dir=.
1193 echo "PATH: $as_dir"
1208 # Keep a trace of the command line.
1209 # Strip out --no-create and --no-recursion so they do not pile up.
1210 # Strip out --silent because we don't want to record it for future runs.
1211 # Also quote any args containing shell meta-characters.
1212 # Make two passes to allow for proper duplicate-argument suppression.
1217 ac_must_keep_next=false
1223 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1224 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1225 | -silent | --silent | --silen | --sile | --sil)
1227 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1228 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1231 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1233 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1234 if test $ac_must_keep_next = true; then
1235 ac_must_keep_next=false # Got value, back to normal.
1238 *=* | --config-cache | -C | -disable-* | --disable-* \
1239 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1240 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1241 | -with-* | --with-* | -without-* | --without-* | --x)
1242 case "$ac_configure_args0 " in
1243 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1246 -* ) ac_must_keep_next=true ;;
1249 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1250 # Get rid of the leading space.
1256 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1257 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1259 # When interrupted or exit'd, cleanup temporary files, and complete
1260 # config.log. We remove comments because anyway the quotes in there
1261 # would cause problems or look ugly.
1262 # WARNING: Be sure not to use single quotes in there, as some shells,
1263 # such as our DU 5.0 friend, will then `close
' the trap.
1264 trap 'exit_status
=$?
1265 # Save into config.log some information that might help in debugging.
1270 ## ---------------- ##
1271 ## Cache variables. ##
1272 ## ---------------- ##
1275 # The following way of writing the cache mishandles newlines in values,
1278 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1281 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1282 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1286 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1293 ## ----------------- ##
1294 ## Output variables. ##
1295 ## ----------------- ##
1298 for ac_var
in $ac_subst_vars
1300 eval ac_val
=$
`echo $ac_var`
1301 echo "$ac_var='"'"'$ac_val'"'"'"
1305 if test -n "$ac_subst_files"; then
1312 for ac_var
in $ac_subst_files
1314 eval ac_val
=$
`echo $ac_var`
1315 echo "$ac_var='"'"'$ac_val'"'"'"
1320 if test -s confdefs.h
; then
1327 sed "/^$/d" confdefs.h |
sort
1330 test "$ac_signal" != 0 &&
1331 echo "$as_me: caught signal $ac_signal"
1332 echo "$as_me: exit $exit_status"
1334 rm -f core
*.core
&&
1335 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1338 for ac_signal in 1 2 13 15; do
1339 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1343 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1344 rm -rf conftest* confdefs.h
1345 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1348 # Predefined preprocessor variables.
1350 cat >>confdefs.h <<_ACEOF
1351 #define PACKAGE_NAME "$PACKAGE_NAME"
1355 cat >>confdefs.h <<_ACEOF
1356 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1360 cat >>confdefs.h <<_ACEOF
1361 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1365 cat >>confdefs.h <<_ACEOF
1366 #define PACKAGE_STRING "$PACKAGE_STRING"
1370 cat >>confdefs.h <<_ACEOF
1371 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1375 # Let the site file select an alternate cache file if it wants to.
1376 # Prefer explicitly selected file to automatically selected ones.
1377 if test -z "$CONFIG_SITE"; then
1378 if test "x$prefix" != xNONE; then
1379 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1381 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1384 for ac_site_file in $CONFIG_SITE; do
1385 if test -r "$ac_site_file"; then
1386 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1387 echo "$as_me: loading site script $ac_site_file" >&6;}
1388 sed 's
/^
/|
/' "$ac_site_file" >&5
1393 if test -r "$cache_file"; then
1394 # Some versions of bash will fail to source /dev/null (special
1395 # files actually), so we avoid doing that.
1396 if test -f "$cache_file"; then
1397 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1398 echo "$as_me: loading cache $cache_file" >&6;}
1400 [\\/]* | ?:[\\/]* ) . $cache_file;;
1401 *) . ./$cache_file;;
1405 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1406 echo "$as_me: creating cache $cache_file" >&6;}
1410 # Check that the precious variables saved in the cache have kept the same
1412 ac_cache_corrupted=false
1413 for ac_var in `(set) 2>&1 |
1414 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1415 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1416 eval ac_new_set=\$ac_env_${ac_var}_set
1417 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1418 eval ac_new_val="\$ac_env_${ac_var}_value"
1419 case $ac_old_set,$ac_new_set in
1421 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1422 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1423 ac_cache_corrupted=: ;;
1425 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1426 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1427 ac_cache_corrupted=: ;;
1430 if test "x$ac_old_val" != "x$ac_new_val"; then
1431 # differences in whitespace do not lead to failure.
1432 ac_old_val_w=`echo x $ac_old_val`
1433 ac_new_val_w=`echo x $ac_new_val`
1434 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1435 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1436 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1437 ac_cache_corrupted=:
1439 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1440 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1441 eval $ac_var=\$ac_old_val
1443 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1444 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1445 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1446 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1449 # Pass precious variables to config.status.
1450 if test "$ac_new_set" = set; then
1452 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1453 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1454 *) ac_arg=$ac_var=$ac_new_val ;;
1456 case " $ac_configure_args " in
1457 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1458 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1462 if $ac_cache_corrupted; then
1463 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1464 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1465 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1466 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1467 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1468 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1469 { (exit 1); exit 1; }; }
1473 ac_cpp='$CPP $CPPFLAGS'
1474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1502 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1503 if test -f $ac_dir/install-sh; then
1505 ac_install_sh="$ac_aux_dir/install-sh -c"
1507 elif test -f $ac_dir/install.sh; then
1509 ac_install_sh="$ac_aux_dir/install.sh -c"
1511 elif test -f $ac_dir/shtool; then
1513 ac_install_sh="$ac_aux_dir/shtool install -c"
1517 if test -z "$ac_aux_dir"; then
1518 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1519 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1520 { (exit 1); exit 1; }; }
1522 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1523 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1524 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1526 # Make sure we can run config.sub.
1527 $ac_config_sub sun4 >/dev/null 2>&1 ||
1528 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1529 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1530 { (exit 1); exit 1; }; }
1532 echo "$as_me:$LINENO: checking build system type" >&5
1533 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1534 if test "${ac_cv_build+set}" = set; then
1535 echo $ECHO_N "(cached) $ECHO_C" >&6
1537 ac_cv_build_alias=$build_alias
1538 test -z "$ac_cv_build_alias" &&
1539 ac_cv_build_alias=`$ac_config_guess`
1540 test -z "$ac_cv_build_alias" &&
1541 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1542 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1543 { (exit 1); exit 1; }; }
1544 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1545 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1546 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1547 { (exit 1); exit 1; }; }
1550 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1551 echo "${ECHO_T}$ac_cv_build" >&6
1553 build_cpu=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1554 build_vendor=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1555 build_os=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1558 echo "$as_me:$LINENO: checking host system type" >&5
1559 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1560 if test "${ac_cv_host+set}" = set; then
1561 echo $ECHO_N "(cached) $ECHO_C" >&6
1563 ac_cv_host_alias=$host_alias
1564 test -z "$ac_cv_host_alias" &&
1565 ac_cv_host_alias=$ac_cv_build_alias
1566 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1567 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1568 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1569 { (exit 1); exit 1; }; }
1572 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1573 echo "${ECHO_T}$ac_cv_host" >&6
1575 host_cpu=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1576 host_vendor=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1577 host_os=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1580 echo "$as_me:$LINENO: checking target system type" >&5
1581 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1582 if test "${ac_cv_target+set}" = set; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1585 ac_cv_target_alias=$target_alias
1586 test "x$ac_cv_target_alias" = "x" &&
1587 ac_cv_target_alias=$ac_cv_host_alias
1588 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1589 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1590 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1591 { (exit 1); exit 1; }; }
1594 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1595 echo "${ECHO_T}$ac_cv_target" >&6
1596 target=$ac_cv_target
1597 target_cpu=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1598 target_vendor=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1599 target_os=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1602 # The aliases save the names the user supplied, while $host etc.
1603 # will get canonicalized.
1604 test -n "$target_alias" &&
1605 test "$program_prefix$program_suffix$program_transform_name" = \
1607 program_prefix=${target_alias}-
1609 ac_cpp='$CPP $CPPFLAGS'
1610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1613 if test -n "$ac_tool_prefix"; then
1614 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1615 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1616 echo "$as_me:$LINENO: checking for $ac_word" >&5
1617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1618 if test "${ac_cv_prog_CC+set}" = set; then
1619 echo $ECHO_N "(cached) $ECHO_C" >&6
1621 if test -n "$CC"; then
1622 ac_cv_prog_CC="$CC" # Let the user override the test.
1624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1628 test -z "$as_dir" && as_dir=.
1629 for ac_exec_ext in '' $ac_executable_extensions; do
1630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1631 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1641 if test -n "$CC"; then
1642 echo "$as_me:$LINENO: result: $CC" >&5
1643 echo "${ECHO_T}$CC" >&6
1645 echo "$as_me:$LINENO: result: no" >&5
1646 echo "${ECHO_T}no" >&6
1650 if test -z "$ac_cv_prog_CC"; then
1652 # Extract the first word of "gcc", so it can be a program name with args.
1653 set dummy gcc; ac_word=$2
1654 echo "$as_me:$LINENO: checking for $ac_word" >&5
1655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1656 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1657 echo $ECHO_N "(cached) $ECHO_C" >&6
1659 if test -n "$ac_ct_CC"; then
1660 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1666 test -z "$as_dir" && as_dir=.
1667 for ac_exec_ext in '' $ac_executable_extensions; do
1668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1669 ac_cv_prog_ac_ct_CC="gcc"
1670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1678 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1679 if test -n "$ac_ct_CC"; then
1680 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1681 echo "${ECHO_T}$ac_ct_CC" >&6
1683 echo "$as_me:$LINENO: result: no" >&5
1684 echo "${ECHO_T}no" >&6
1692 if test -z "$CC"; then
1693 if test -n "$ac_tool_prefix"; then
1694 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1695 set dummy ${ac_tool_prefix}cc; ac_word=$2
1696 echo "$as_me:$LINENO: checking for $ac_word" >&5
1697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1698 if test "${ac_cv_prog_CC+set}" = set; then
1699 echo $ECHO_N "(cached) $ECHO_C" >&6
1701 if test -n "$CC"; then
1702 ac_cv_prog_CC="$CC" # Let the user override the test.
1704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1708 test -z "$as_dir" && as_dir=.
1709 for ac_exec_ext in '' $ac_executable_extensions; do
1710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1711 ac_cv_prog_CC="${ac_tool_prefix}cc"
1712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1721 if test -n "$CC"; then
1722 echo "$as_me:$LINENO: result: $CC" >&5
1723 echo "${ECHO_T}$CC" >&6
1725 echo "$as_me:$LINENO: result: no" >&5
1726 echo "${ECHO_T}no" >&6
1730 if test -z "$ac_cv_prog_CC"; then
1732 # Extract the first word of "cc", so it can be a program name with args.
1733 set dummy cc; ac_word=$2
1734 echo "$as_me:$LINENO: checking for $ac_word" >&5
1735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1736 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1737 echo $ECHO_N "(cached) $ECHO_C" >&6
1739 if test -n "$ac_ct_CC"; then
1740 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1746 test -z "$as_dir" && as_dir=.
1747 for ac_exec_ext in '' $ac_executable_extensions; do
1748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1749 ac_cv_prog_ac_ct_CC="cc"
1750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1758 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1759 if test -n "$ac_ct_CC"; then
1760 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1761 echo "${ECHO_T}$ac_ct_CC" >&6
1763 echo "$as_me:$LINENO: result: no" >&5
1764 echo "${ECHO_T}no" >&6
1773 if test -z "$CC"; then
1774 # Extract the first word of "cc", so it can be a program name with args.
1775 set dummy cc; ac_word=$2
1776 echo "$as_me:$LINENO: checking for $ac_word" >&5
1777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1778 if test "${ac_cv_prog_CC+set}" = set; then
1779 echo $ECHO_N "(cached) $ECHO_C" >&6
1781 if test -n "$CC"; then
1782 ac_cv_prog_CC="$CC" # Let the user override the test.
1785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1789 test -z "$as_dir" && as_dir=.
1790 for ac_exec_ext in '' $ac_executable_extensions; do
1791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1792 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1793 ac_prog_rejected=yes
1797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1803 if test $ac_prog_rejected = yes; then
1804 # We found a bogon in the path, so make sure we never use it.
1805 set dummy $ac_cv_prog_CC
1807 if test $# != 0; then
1808 # We chose a different compiler from the bogus one.
1809 # However, it has the same basename, so the bogon will be chosen
1810 # first if we set CC to just the basename; use the full file name.
1812 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1818 if test -n "$CC"; then
1819 echo "$as_me:$LINENO: result: $CC" >&5
1820 echo "${ECHO_T}$CC" >&6
1822 echo "$as_me:$LINENO: result: no" >&5
1823 echo "${ECHO_T}no" >&6
1827 if test -z "$CC"; then
1828 if test -n "$ac_tool_prefix"; then
1831 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1832 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1833 echo "$as_me:$LINENO: checking for $ac_word" >&5
1834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1835 if test "${ac_cv_prog_CC+set}" = set; then
1836 echo $ECHO_N "(cached) $ECHO_C" >&6
1838 if test -n "$CC"; then
1839 ac_cv_prog_CC="$CC" # Let the user override the test.
1841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1845 test -z "$as_dir" && as_dir=.
1846 for ac_exec_ext in '' $ac_executable_extensions; do
1847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1848 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1858 if test -n "$CC"; then
1859 echo "$as_me:$LINENO: result: $CC" >&5
1860 echo "${ECHO_T}$CC" >&6
1862 echo "$as_me:$LINENO: result: no" >&5
1863 echo "${ECHO_T}no" >&6
1866 test -n "$CC" && break
1869 if test -z "$CC"; then
1873 # Extract the first word of "$ac_prog", so it can be a program name with args.
1874 set dummy $ac_prog; ac_word=$2
1875 echo "$as_me:$LINENO: checking for $ac_word" >&5
1876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1878 echo $ECHO_N "(cached) $ECHO_C" >&6
1880 if test -n "$ac_ct_CC"; then
1881 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1887 test -z "$as_dir" && as_dir=.
1888 for ac_exec_ext in '' $ac_executable_extensions; do
1889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1890 ac_cv_prog_ac_ct_CC="$ac_prog"
1891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1899 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1900 if test -n "$ac_ct_CC"; then
1901 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1902 echo "${ECHO_T}$ac_ct_CC" >&6
1904 echo "$as_me:$LINENO: result: no" >&5
1905 echo "${ECHO_T}no" >&6
1908 test -n "$ac_ct_CC" && break
1917 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1918 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1919 { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
1920 See \
`config.log' for more details." >&5
1921 echo "$as_me: error: no acceptable C compiler found in \$PATH
1922 See \`config.log
' for more details." >&2;}
1923 { (exit 1); exit 1; }; }; }
1925 # Provide some information about the compiler.
1926 echo "$as_me:$LINENO:" \
1927 "checking for C compiler version" >&5
1928 ac_compiler=`set X $ac_compile; echo $2`
1929 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1930 (eval $ac_compiler --version </dev/null >&5) 2>&5
1932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1933 (exit $ac_status); }
1934 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1935 (eval $ac_compiler -v </dev/null >&5) 2>&5
1937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1938 (exit $ac_status); }
1939 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1940 (eval $ac_compiler -V </dev/null >&5) 2>&5
1942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1943 (exit $ac_status); }
1945 cat >conftest.$ac_ext <<_ACEOF
1948 cat confdefs.h >>conftest.$ac_ext
1949 cat >>conftest.$ac_ext <<_ACEOF
1950 /* end confdefs.h. */
1960 ac_clean_files_save=$ac_clean_files
1961 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1962 # Try to create an executable without -o first, disregard a.out.
1963 # It will help us diagnose broken compilers, and finding out an intuition
1965 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1966 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1967 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1968 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1969 (eval $ac_link_default) 2>&5
1971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1972 (exit $ac_status); }; then
1973 # Find the output, starting from the most likely. This scheme is
1974 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1977 # Be careful to initialize this variable, since it used to be cached.
1978 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1980 # b.out is created by i960 compilers.
1981 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1983 test -f "$ac_file" ||
continue
1985 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1988 # This is the source file.
1991 # We found the default executable, but exeext='' is most
1995 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1996 # FIXME: I believe we export ac_cv_exeext for Libtool,
1997 # but it would be cool to find out if it's true. Does anybody
1998 # maintain Libtool? --akim.
2006 echo "$as_me: failed program was:" >&5
2007 sed 's/^/| /' conftest.
$ac_ext >&5
2009 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2010 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2011 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2012 See \`config.log' for more details." >&5
2013 echo "$as_me: error: C compiler cannot create executables
2014 See \`config.log' for more details." >&2;}
2015 { (exit 77); exit 77; }; }; }
2018 ac_exeext
=$ac_cv_exeext
2019 echo "$as_me:$LINENO: result: $ac_file" >&5
2020 echo "${ECHO_T}$ac_file" >&6
2022 # Check the compiler produces executables we can run. If not, either
2023 # the compiler is broken, or we cross compile.
2024 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2025 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2026 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2027 # If not cross compiling, check that we can run a simple program.
2028 if test "$cross_compiling" != yes; then
2029 if { ac_try
='./$ac_file'
2030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2034 (exit $ac_status); }; }; then
2037 if test "$cross_compiling" = maybe
; then
2040 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2041 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2042 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2043 If you meant to cross compile, use \`--host'.
2044 See \`config.log' for more details." >&5
2045 echo "$as_me: error: cannot run C compiled programs.
2046 If you meant to cross compile, use \`--host'.
2047 See \`config.log' for more details." >&2;}
2048 { (exit 1); exit 1; }; }; }
2052 echo "$as_me:$LINENO: result: yes" >&5
2053 echo "${ECHO_T}yes" >&6
2055 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2056 ac_clean_files
=$ac_clean_files_save
2057 # Check the compiler produces executables we can run. If not, either
2058 # the compiler is broken, or we cross compile.
2059 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2060 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2061 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2062 echo "${ECHO_T}$cross_compiling" >&6
2064 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2065 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2067 (eval $ac_link) 2>&5
2069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2070 (exit $ac_status); }; then
2071 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2072 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2073 # work properly (i.e., refer to `conftest.exe'), while it won't with
2075 for ac_file
in conftest.exe conftest conftest.
*; do
2076 test -f "$ac_file" ||
continue
2078 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2079 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2086 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2087 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2088 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2089 See \`config.log' for more details." >&5
2090 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2091 See \`config.log' for more details." >&2;}
2092 { (exit 1); exit 1; }; }; }
2095 rm -f conftest
$ac_cv_exeext
2096 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2097 echo "${ECHO_T}$ac_cv_exeext" >&6
2099 rm -f conftest.
$ac_ext
2100 EXEEXT
=$ac_cv_exeext
2102 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2103 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2104 if test "${ac_cv_objext+set}" = set; then
2105 echo $ECHO_N "(cached) $ECHO_C" >&6
2107 cat >conftest.
$ac_ext <<_ACEOF
2110 cat confdefs.h
>>conftest.
$ac_ext
2111 cat >>conftest.
$ac_ext <<_ACEOF
2112 /* end confdefs.h. */
2122 rm -f conftest.o conftest.obj
2123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2124 (eval $ac_compile) 2>&5
2126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2127 (exit $ac_status); }; then
2128 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2130 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2131 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2136 echo "$as_me: failed program was:" >&5
2137 sed 's/^/| /' conftest.
$ac_ext >&5
2139 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2140 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2141 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2142 See \`config.log' for more details." >&5
2143 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2144 See \`config.log' for more details." >&2;}
2145 { (exit 1); exit 1; }; }; }
2148 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2150 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2151 echo "${ECHO_T}$ac_cv_objext" >&6
2152 OBJEXT
=$ac_cv_objext
2154 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2155 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2156 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2157 echo $ECHO_N "(cached) $ECHO_C" >&6
2159 cat >conftest.
$ac_ext <<_ACEOF
2162 cat confdefs.h
>>conftest.
$ac_ext
2163 cat >>conftest.
$ac_ext <<_ACEOF
2164 /* end confdefs.h. */
2177 rm -f conftest.
$ac_objext
2178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2179 (eval $ac_compile) 2>conftest.er1
2181 grep -v '^ *+' conftest.er1
>conftest.err
2183 cat conftest.err
>&5
2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185 (exit $ac_status); } &&
2186 { ac_try
='test -z "$ac_c_werror_flag"
2187 || test ! -s conftest.err'
2188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2192 (exit $ac_status); }; } &&
2193 { ac_try
='test -s conftest.$ac_objext'
2194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198 (exit $ac_status); }; }; then
2201 echo "$as_me: failed program was:" >&5
2202 sed 's/^/| /' conftest.
$ac_ext >&5
2206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2207 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2210 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2211 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2212 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2213 ac_test_CFLAGS
=${CFLAGS+set}
2214 ac_save_CFLAGS
=$CFLAGS
2216 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2217 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2218 if test "${ac_cv_prog_cc_g+set}" = set; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2221 cat >conftest.
$ac_ext <<_ACEOF
2224 cat confdefs.h
>>conftest.
$ac_ext
2225 cat >>conftest.
$ac_ext <<_ACEOF
2226 /* end confdefs.h. */
2236 rm -f conftest.
$ac_objext
2237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2238 (eval $ac_compile) 2>conftest.er1
2240 grep -v '^ *+' conftest.er1
>conftest.err
2242 cat conftest.err
>&5
2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244 (exit $ac_status); } &&
2245 { ac_try
='test -z "$ac_c_werror_flag"
2246 || test ! -s conftest.err'
2247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); }; } &&
2252 { ac_try
='test -s conftest.$ac_objext'
2253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257 (exit $ac_status); }; }; then
2260 echo "$as_me: failed program was:" >&5
2261 sed 's/^/| /' conftest.
$ac_ext >&5
2265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2267 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2268 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2269 if test "$ac_test_CFLAGS" = set; then
2270 CFLAGS
=$ac_save_CFLAGS
2271 elif test $ac_cv_prog_cc_g = yes; then
2272 if test "$GCC" = yes; then
2278 if test "$GCC" = yes; then
2284 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2285 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2286 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2287 echo $ECHO_N "(cached) $ECHO_C" >&6
2289 ac_cv_prog_cc_stdc
=no
2291 cat >conftest.
$ac_ext <<_ACEOF
2294 cat confdefs.h
>>conftest.
$ac_ext
2295 cat >>conftest.
$ac_ext <<_ACEOF
2296 /* end confdefs.h. */
2299 #include <sys/types.h>
2300 #include <sys/stat.h>
2301 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2302 struct buf { int x; };
2303 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2304 static char *e (p, i)
2310 static char *f (char * (*g) (char **, int), char **p, ...)
2315 s = g (p, va_arg (v,int));
2320 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2321 function prototypes and stuff, but not '\xHH' hex character constants.
2322 These don't provoke an error unfortunately, instead are silently treated
2323 as 'x'. The following induces an error, until -std1 is added to get
2324 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2325 array size at least. It's necessary to write '\x00'==0 to get something
2326 that's true only with -std1. */
2327 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2329 int test (int i, double x);
2330 struct s1 {int (*f) (int a);};
2331 struct s2 {int (*f) (double a);};
2332 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2338 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2343 # Don't try gcc -ansi; that turns off useful extensions and
2344 # breaks some systems' header files.
2345 # AIX -qlanglvl=ansi
2346 # Ultrix and OSF/1 -std1
2347 # HP-UX 10.20 and later -Ae
2348 # HP-UX older versions -Aa -D_HPUX_SOURCE
2349 # SVR4 -Xc -D__EXTENSIONS__
2350 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2352 CC
="$ac_save_CC $ac_arg"
2353 rm -f conftest.
$ac_objext
2354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2355 (eval $ac_compile) 2>conftest.er1
2357 grep -v '^ *+' conftest.er1
>conftest.err
2359 cat conftest.err
>&5
2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361 (exit $ac_status); } &&
2362 { ac_try
='test -z "$ac_c_werror_flag"
2363 || test ! -s conftest.err'
2364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); }; } &&
2369 { ac_try
='test -s conftest.$ac_objext'
2370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); }; }; then
2375 ac_cv_prog_cc_stdc
=$ac_arg
2378 echo "$as_me: failed program was:" >&5
2379 sed 's/^/| /' conftest.
$ac_ext >&5
2382 rm -f conftest.err conftest.
$ac_objext
2384 rm -f conftest.
$ac_ext conftest.
$ac_objext
2389 case "x$ac_cv_prog_cc_stdc" in
2391 echo "$as_me:$LINENO: result: none needed" >&5
2392 echo "${ECHO_T}none needed" >&6 ;;
2394 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2395 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2396 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2399 # Some people use a C++ compiler to compile C. Since we use `exit',
2400 # in C++ we need to declare it. In case someone uses the same compiler
2401 # for both compiling C and C++ we need to have the C++ compiler decide
2402 # the declaration of exit, since it's the most demanding environment.
2403 cat >conftest.
$ac_ext <<_ACEOF
2408 rm -f conftest.
$ac_objext
2409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2410 (eval $ac_compile) 2>conftest.er1
2412 grep -v '^ *+' conftest.er1
>conftest.err
2414 cat conftest.err
>&5
2415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 (exit $ac_status); } &&
2417 { ac_try
='test -z "$ac_c_werror_flag"
2418 || test ! -s conftest.err'
2419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); }; } &&
2424 { ac_try
='test -s conftest.$ac_objext'
2425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); }; }; then
2430 for ac_declaration
in \
2432 'extern "C" void std::exit (int) throw (); using std::exit;' \
2433 'extern "C" void std::exit (int); using std::exit;' \
2434 'extern "C" void exit (int) throw ();' \
2435 'extern "C" void exit (int);' \
2438 cat >conftest.
$ac_ext <<_ACEOF
2441 cat confdefs.h
>>conftest.
$ac_ext
2442 cat >>conftest.
$ac_ext <<_ACEOF
2443 /* end confdefs.h. */
2454 rm -f conftest.
$ac_objext
2455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2456 (eval $ac_compile) 2>conftest.er1
2458 grep -v '^ *+' conftest.er1
>conftest.err
2460 cat conftest.err
>&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); } &&
2463 { ac_try
='test -z "$ac_c_werror_flag"
2464 || test ! -s conftest.err'
2465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); }; } &&
2470 { ac_try
='test -s conftest.$ac_objext'
2471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }; }; then
2478 echo "$as_me: failed program was:" >&5
2479 sed 's/^/| /' conftest.
$ac_ext >&5
2483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2484 cat >conftest.
$ac_ext <<_ACEOF
2487 cat confdefs.h
>>conftest.
$ac_ext
2488 cat >>conftest.
$ac_ext <<_ACEOF
2489 /* end confdefs.h. */
2499 rm -f conftest.
$ac_objext
2500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2501 (eval $ac_compile) 2>conftest.er1
2503 grep -v '^ *+' conftest.er1
>conftest.err
2505 cat conftest.err
>&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); } &&
2508 { ac_try
='test -z "$ac_c_werror_flag"
2509 || test ! -s conftest.err'
2510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; } &&
2515 { ac_try
='test -s conftest.$ac_objext'
2516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }; }; then
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.
$ac_ext >&5
2527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2530 if test -n "$ac_declaration"; then
2531 echo '#ifdef __cplusplus' >>confdefs.h
2532 echo $ac_declaration >>confdefs.h
2533 echo '#endif' >>confdefs.h
2537 echo "$as_me: failed program was:" >&5
2538 sed 's/^/| /' conftest.
$ac_ext >&5
2541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2543 ac_cpp
='$CPP $CPPFLAGS'
2544 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2545 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2546 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2549 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2550 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2551 if test "${ac_cv_search_strerror+set}" = set; then
2552 echo $ECHO_N "(cached) $ECHO_C" >&6
2554 ac_func_search_save_LIBS
=$LIBS
2555 ac_cv_search_strerror
=no
2556 cat >conftest.
$ac_ext <<_ACEOF
2559 cat confdefs.h
>>conftest.
$ac_ext
2560 cat >>conftest.
$ac_ext <<_ACEOF
2561 /* end confdefs.h. */
2563 /* Override any gcc2 internal prototype to avoid an error. */
2567 /* We use char because int might match the return type of a gcc2
2568 builtin and then its argument prototype would still apply. */
2578 rm -f conftest.
$ac_objext conftest
$ac_exeext
2579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2580 (eval $ac_link) 2>conftest.er1
2582 grep -v '^ *+' conftest.er1
>conftest.err
2584 cat conftest.err
>&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); } &&
2587 { ac_try
='test -z "$ac_c_werror_flag"
2588 || test ! -s conftest.err'
2589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }; } &&
2594 { ac_try
='test -s conftest$ac_exeext'
2595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; }; then
2600 ac_cv_search_strerror
="none required"
2602 echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.
$ac_ext >&5
2606 rm -f conftest.err conftest.
$ac_objext \
2607 conftest
$ac_exeext conftest.
$ac_ext
2608 if test "$ac_cv_search_strerror" = no
; then
2609 for ac_lib
in cposix
; do
2610 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2611 cat >conftest.
$ac_ext <<_ACEOF
2614 cat confdefs.h
>>conftest.
$ac_ext
2615 cat >>conftest.
$ac_ext <<_ACEOF
2616 /* end confdefs.h. */
2618 /* Override any gcc2 internal prototype to avoid an error. */
2622 /* We use char because int might match the return type of a gcc2
2623 builtin and then its argument prototype would still apply. */
2633 rm -f conftest.
$ac_objext conftest
$ac_exeext
2634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2635 (eval $ac_link) 2>conftest.er1
2637 grep -v '^ *+' conftest.er1
>conftest.err
2639 cat conftest.err
>&5
2640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641 (exit $ac_status); } &&
2642 { ac_try
='test -z "$ac_c_werror_flag"
2643 || test ! -s conftest.err'
2644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); }; } &&
2649 { ac_try
='test -s conftest$ac_exeext'
2650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); }; }; then
2655 ac_cv_search_strerror
="-l$ac_lib"
2658 echo "$as_me: failed program was:" >&5
2659 sed 's/^/| /' conftest.
$ac_ext >&5
2662 rm -f conftest.err conftest.
$ac_objext \
2663 conftest
$ac_exeext conftest.
$ac_ext
2666 LIBS
=$ac_func_search_save_LIBS
2668 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2669 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2670 if test "$ac_cv_search_strerror" != no
; then
2671 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2676 am__api_version
="1.9"
2677 # Find a good install program. We prefer a C program (faster),
2678 # so one script is as good as another. But avoid the broken or
2679 # incompatible versions:
2680 # SysV /etc/install, /usr/sbin/install
2681 # SunOS /usr/etc/install
2682 # IRIX /sbin/install
2684 # AmigaOS /C/install, which installs bootblocks on floppy discs
2685 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2686 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2687 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2688 # OS/2's system install, which has a completely different semantic
2689 # ./install, which can be erroneously created by make from ./install.sh.
2690 # Reject install programs that cannot install multiple files.
2691 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2692 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2693 if test -z "$INSTALL"; then
2694 if test "${ac_cv_path_install+set}" = set; then
2695 echo $ECHO_N "(cached) $ECHO_C" >&6
2697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2701 test -z "$as_dir" && as_dir
=.
2702 # Account for people who put trailing slashes in PATH elements.
2704 .
/ | .
// |
/cC
/* | \
2705 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2706 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2709 # OSF1 and SCO ODT 3.0 have their own names for install.
2710 # Don't use installbsd from OSF since it installs stuff as root
2712 for ac_prog
in ginstall scoinst
install; do
2713 for ac_exec_ext
in '' $ac_executable_extensions; do
2714 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2715 if test $ac_prog = install &&
2716 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2717 # AIX install. It has an incompatible calling convention.
2719 elif test $ac_prog = install &&
2720 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2721 # program-specific install script used by HP pwplus--don't use.
2724 rm -rf conftest.one conftest.two conftest.dir
2725 echo one
> conftest.one
2726 echo two
> conftest.two
2728 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2729 test -s conftest.one
&& test -s conftest.two
&&
2730 test -s conftest.dir
/conftest.one
&&
2731 test -s conftest.dir
/conftest.two
2733 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2744 rm -rf conftest.one conftest.two conftest.dir
2747 if test "${ac_cv_path_install+set}" = set; then
2748 INSTALL
=$ac_cv_path_install
2750 # As a last resort, use the slow shell script. Don't cache a
2751 # value for INSTALL within a source directory, because that will
2752 # break other packages using the cache if that directory is
2753 # removed, or if the value is a relative name.
2754 INSTALL
=$ac_install_sh
2757 echo "$as_me:$LINENO: result: $INSTALL" >&5
2758 echo "${ECHO_T}$INSTALL" >&6
2760 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2761 # It thinks the first close brace ends the variable substitution.
2762 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2764 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2766 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2768 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2769 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2772 echo timestamp
> conftest.
file
2773 # Do `set' in a subshell so we don't clobber the current shell's
2774 # arguments. Must try -L first in case configure is actually a
2775 # symlink; some systems play weird games with the mod time of symlinks
2776 # (eg FreeBSD returns the mod time of the symlink's containing
2779 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2780 if test "$*" = "X"; then
2782 set X
`ls -t $srcdir/configure conftest.file`
2785 if test "$*" != "X $srcdir/configure conftest.file" \
2786 && test "$*" != "X conftest.file $srcdir/configure"; then
2788 # If neither matched, then we have a broken ls. This can happen
2789 # if, for instance, CONFIG_SHELL is bash and it inherits a
2790 # broken ls alias from the environment. This has actually
2791 # happened. Such a system could not be considered "sane".
2792 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2793 alias in your environment" >&5
2794 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2795 alias in your environment" >&2;}
2796 { (exit 1); exit 1; }; }
2799 test "$2" = conftest.
file
2805 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2806 Check your system clock" >&5
2807 echo "$as_me: error: newly created file is older than distributed files!
2808 Check your system clock" >&2;}
2809 { (exit 1); exit 1; }; }
2811 echo "$as_me:$LINENO: result: yes" >&5
2812 echo "${ECHO_T}yes" >&6
2813 test "$program_prefix" != NONE
&&
2814 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2815 # Use a double $ so make ignores it.
2816 test "$program_suffix" != NONE
&&
2817 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2818 # Double any \ or $. echo might interpret backslashes.
2819 # By default was `s,x,x', remove it if useless.
2820 cat <<\_ACEOF
>conftest.
sed
2821 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2823 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2826 # expand $ac_aux_dir to an absolute path
2827 am_aux_dir
=`cd $ac_aux_dir && pwd`
2829 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2830 # Use eval to expand $SHELL
2831 if eval "$MISSING --run true"; then
2832 am_missing_run
="$MISSING --run "
2835 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2836 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2839 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2840 # We used to keeping the `.' as first argument, in order to
2841 # allow $(mkdir_p) to be used without argument. As in
2842 # $(mkdir_p) $(somedir)
2843 # where $(somedir) is conditionally defined. However this is wrong
2845 # 1. if the package is installed by a user who cannot write `.'
2846 # make install will fail,
2847 # 2. the above comment should most certainly read
2848 # $(mkdir_p) $(DESTDIR)$(somedir)
2849 # so it does not work when $(somedir) is undefined and
2850 # $(DESTDIR) is not.
2851 # To support the latter case, we have to write
2852 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2853 # so the `.' trick is pointless.
2854 mkdir_p
='mkdir -p --'
2856 # On NextStep and OpenStep, the `mkdir' command does not
2857 # recognize any option. It will interpret all options as
2858 # directories to create, and then abort because `.' already
2860 for d
in .
/-p .
/--version;
2862 test -d $d && rmdir $d
2864 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2865 if test -f "$ac_aux_dir/mkinstalldirs"; then
2866 mkdir_p
='$(mkinstalldirs)'
2868 mkdir_p
='$(install_sh) -d'
2872 for ac_prog
in gawk mawk nawk
awk
2874 # Extract the first word of "$ac_prog", so it can be a program name with args.
2875 set dummy
$ac_prog; ac_word
=$2
2876 echo "$as_me:$LINENO: checking for $ac_word" >&5
2877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2878 if test "${ac_cv_prog_AWK+set}" = set; then
2879 echo $ECHO_N "(cached) $ECHO_C" >&6
2881 if test -n "$AWK"; then
2882 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2888 test -z "$as_dir" && as_dir
=.
2889 for ac_exec_ext
in '' $ac_executable_extensions; do
2890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2891 ac_cv_prog_AWK
="$ac_prog"
2892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2901 if test -n "$AWK"; then
2902 echo "$as_me:$LINENO: result: $AWK" >&5
2903 echo "${ECHO_T}$AWK" >&6
2905 echo "$as_me:$LINENO: result: no" >&5
2906 echo "${ECHO_T}no" >&6
2909 test -n "$AWK" && break
2912 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2913 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2914 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2915 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2916 echo $ECHO_N "(cached) $ECHO_C" >&6
2918 cat >conftest.
make <<\_ACEOF
2920 @
echo 'ac_maketemp="$(MAKE)"'
2922 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2923 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2924 if test -n "$ac_maketemp"; then
2925 eval ac_cv_prog_make_
${ac_make}_set
=yes
2927 eval ac_cv_prog_make_
${ac_make}_set
=no
2931 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2932 echo "$as_me:$LINENO: result: yes" >&5
2933 echo "${ECHO_T}yes" >&6
2936 echo "$as_me:$LINENO: result: no" >&5
2937 echo "${ECHO_T}no" >&6
2938 SET_MAKE
="MAKE=${MAKE-make}"
2941 rm -rf .tst
2>/dev
/null
2942 mkdir .tst
2>/dev
/null
2943 if test -d .tst
; then
2948 rmdir .tst
2>/dev
/null
2950 DEPDIR
="${am__leading_dot}deps"
2952 ac_config_commands
="$ac_config_commands depfiles"
2955 am_make
=${MAKE-make}
2956 cat > confinc
<< 'END'
2961 # If we don't find an include directive, just comment out the code.
2962 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2963 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2967 # First try GNU make style include.
2968 echo "include confinc" > confmf
2969 # We grep out `Entering directory' and `Leaving directory'
2970 # messages which can occur if `w' ends up in MAKEFLAGS.
2971 # In particular we don't look at `^make:' because GNU make might
2972 # be invoked under some other name (usually "gmake"), in which
2973 # case it prints its new name instead of `make'.
2974 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2979 # Now try BSD make style include.
2980 if test "$am__include" = "#"; then
2981 echo '.include "confinc"' > confmf
2982 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2983 am__include
=.include
2990 echo "$as_me:$LINENO: result: $_am_result" >&5
2991 echo "${ECHO_T}$_am_result" >&6
2992 rm -f confinc confmf
2994 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2995 if test "${enable_dependency_tracking+set}" = set; then
2996 enableval
="$enable_dependency_tracking"
2999 if test "x$enable_dependency_tracking" != xno
; then
3000 am_depcomp
="$ac_aux_dir/depcomp"
3005 if test "x$enable_dependency_tracking" != xno; then
3015 # test to see if srcdir already configured
3016 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3017 test -f $srcdir/config.status
; then
3018 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3019 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3020 { (exit 1); exit 1; }; }
3023 # test whether we have cygpath
3024 if test -z "$CYGPATH_W"; then
3025 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3026 CYGPATH_W
='cygpath -w'
3033 # Define the identity of the package.
3038 cat >>confdefs.h
<<_ACEOF
3039 #define PACKAGE "$PACKAGE"
3043 cat >>confdefs.h
<<_ACEOF
3044 #define VERSION "$VERSION"
3047 # Some tools Automake needs.
3049 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3052 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3055 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3058 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3061 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3063 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3065 # Installed binaries are usually stripped using `strip' when the user
3066 # run `make install-strip'. However `strip' might not be the right
3067 # tool to use in cross-compilation environments, therefore Automake
3068 # will honor the `STRIP' environment variable to overrule this program.
3069 if test "$cross_compiling" != no
; then
3070 if test -n "$ac_tool_prefix"; then
3071 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3072 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3073 echo "$as_me:$LINENO: checking for $ac_word" >&5
3074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3075 if test "${ac_cv_prog_STRIP+set}" = set; then
3076 echo $ECHO_N "(cached) $ECHO_C" >&6
3078 if test -n "$STRIP"; then
3079 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3085 test -z "$as_dir" && as_dir
=.
3086 for ac_exec_ext
in '' $ac_executable_extensions; do
3087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3088 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3097 STRIP
=$ac_cv_prog_STRIP
3098 if test -n "$STRIP"; then
3099 echo "$as_me:$LINENO: result: $STRIP" >&5
3100 echo "${ECHO_T}$STRIP" >&6
3102 echo "$as_me:$LINENO: result: no" >&5
3103 echo "${ECHO_T}no" >&6
3107 if test -z "$ac_cv_prog_STRIP"; then
3109 # Extract the first word of "strip", so it can be a program name with args.
3110 set dummy strip
; ac_word
=$2
3111 echo "$as_me:$LINENO: checking for $ac_word" >&5
3112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3113 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3114 echo $ECHO_N "(cached) $ECHO_C" >&6
3116 if test -n "$ac_ct_STRIP"; then
3117 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3123 test -z "$as_dir" && as_dir
=.
3124 for ac_exec_ext
in '' $ac_executable_extensions; do
3125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3126 ac_cv_prog_ac_ct_STRIP
="strip"
3127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3133 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3136 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3137 if test -n "$ac_ct_STRIP"; then
3138 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3139 echo "${ECHO_T}$ac_ct_STRIP" >&6
3141 echo "$as_me:$LINENO: result: no" >&5
3142 echo "${ECHO_T}no" >&6
3147 STRIP
="$ac_cv_prog_STRIP"
3151 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3153 # We need awk for the "check" target. The system "awk" is bad on
3155 # Always define AMTAR for backward compatibility.
3157 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3159 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3164 depcc
="$CC" am_compiler_list
=
3166 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3167 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3168 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3169 echo $ECHO_N "(cached) $ECHO_C" >&6
3171 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3172 # We make a subdir and do the tests there. Otherwise we can end up
3173 # making bogus files that we don't know about and never remove. For
3174 # instance it was reported that on HP-UX the gcc test will end up
3175 # making a dummy file named `D' -- because `-MD' means `put the output
3178 # Copy depcomp to subdir because otherwise we won't find it if we're
3179 # using a relative directory.
3180 cp "$am_depcomp" conftest.dir
3182 # We will build objects and dependencies in a subdirectory because
3183 # it helps to detect inapplicable dependency modes. For instance
3184 # both Tru64's cc and ICC support -MD to output dependencies as a
3185 # side effect of compilation, but ICC will put the dependencies in
3186 # the current directory while Tru64 will put them in the object
3190 am_cv_CC_dependencies_compiler_type
=none
3191 if test "$am_compiler_list" = ""; then
3192 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3194 for depmode
in $am_compiler_list; do
3195 # Setup a source with many dependencies, because some compilers
3196 # like to wrap large dependency lists on column 80 (with \), and
3197 # we should not choose a depcomp mode which is confused by this.
3199 # We need to recreate these files for each test, as the compiler may
3200 # overwrite some of them when testing with obscure command lines.
3201 # This happens at least with the AIX C compiler.
3203 for i
in 1 2 3 4 5 6; do
3204 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3205 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3206 # Solaris 8's {/usr,}/bin/sh.
3207 touch sub
/conftst
$i.h
3209 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3213 # after this tag, mechanisms are not by side-effect, so they'll
3214 # only be used when explicitly requested
3215 if test "x$enable_dependency_tracking" = xyes
; then
3223 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3224 # mode. It turns out that the SunPro C++ compiler does not properly
3225 # handle `-M -o', and we need to detect this.
3226 if depmode
=$depmode \
3227 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3228 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3229 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3230 >/dev
/null
2>conftest.err
&&
3231 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3232 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3233 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3234 # icc doesn't choke on unknown options, it will just issue warnings
3235 # or remarks (even with -Werror). So we grep stderr for any message
3236 # that says an option was ignored or not supported.
3237 # When given -MP, icc 7.0 and 7.1 complain thusly:
3238 # icc: Command line warning: ignoring option '-M'; no argument required
3239 # The diagnosis changed in icc 8.0:
3240 # icc: Command line remark: option '-MP' not supported
3241 if (grep 'ignoring option' conftest.err ||
3242 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3243 am_cv_CC_dependencies_compiler_type
=$depmode
3252 am_cv_CC_dependencies_compiler_type
=none
3256 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3257 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3258 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3263 test "x$enable_dependency_tracking" != xno \
3264 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3266 am__fastdepCC_FALSE
='#'
3268 am__fastdepCC_TRUE
='#'
3269 am__fastdepCC_FALSE
=
3275 if test -n "$ac_tool_prefix"; then
3276 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3277 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3278 echo "$as_me:$LINENO: checking for $ac_word" >&5
3279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3280 if test "${ac_cv_prog_AR+set}" = set; then
3281 echo $ECHO_N "(cached) $ECHO_C" >&6
3283 if test -n "$AR"; then
3284 ac_cv_prog_AR
="$AR" # Let the user override the test.
3286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3290 test -z "$as_dir" && as_dir
=.
3291 for ac_exec_ext
in '' $ac_executable_extensions; do
3292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3293 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3303 if test -n "$AR"; then
3304 echo "$as_me:$LINENO: result: $AR" >&5
3305 echo "${ECHO_T}$AR" >&6
3307 echo "$as_me:$LINENO: result: no" >&5
3308 echo "${ECHO_T}no" >&6
3312 if test -z "$ac_cv_prog_AR"; then
3314 # Extract the first word of "ar", so it can be a program name with args.
3315 set dummy
ar; ac_word
=$2
3316 echo "$as_me:$LINENO: checking for $ac_word" >&5
3317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3318 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3319 echo $ECHO_N "(cached) $ECHO_C" >&6
3321 if test -n "$ac_ct_AR"; then
3322 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3328 test -z "$as_dir" && as_dir
=.
3329 for ac_exec_ext
in '' $ac_executable_extensions; do
3330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3331 ac_cv_prog_ac_ct_AR
="ar"
3332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3340 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3341 if test -n "$ac_ct_AR"; then
3342 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3343 echo "${ECHO_T}$ac_ct_AR" >&6
3345 echo "$as_me:$LINENO: result: no" >&5
3346 echo "${ECHO_T}no" >&6
3354 if test -n "$ac_tool_prefix"; then
3355 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3356 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3357 echo "$as_me:$LINENO: checking for $ac_word" >&5
3358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3359 if test "${ac_cv_prog_RANLIB+set}" = set; then
3360 echo $ECHO_N "(cached) $ECHO_C" >&6
3362 if test -n "$RANLIB"; then
3363 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3369 test -z "$as_dir" && as_dir
=.
3370 for ac_exec_ext
in '' $ac_executable_extensions; do
3371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3372 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3381 RANLIB
=$ac_cv_prog_RANLIB
3382 if test -n "$RANLIB"; then
3383 echo "$as_me:$LINENO: result: $RANLIB" >&5
3384 echo "${ECHO_T}$RANLIB" >&6
3386 echo "$as_me:$LINENO: result: no" >&5
3387 echo "${ECHO_T}no" >&6
3391 if test -z "$ac_cv_prog_RANLIB"; then
3392 ac_ct_RANLIB
=$RANLIB
3393 # Extract the first word of "ranlib", so it can be a program name with args.
3394 set dummy ranlib
; ac_word
=$2
3395 echo "$as_me:$LINENO: checking for $ac_word" >&5
3396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3397 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3398 echo $ECHO_N "(cached) $ECHO_C" >&6
3400 if test -n "$ac_ct_RANLIB"; then
3401 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3407 test -z "$as_dir" && as_dir
=.
3408 for ac_exec_ext
in '' $ac_executable_extensions; do
3409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3410 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3417 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3420 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3421 if test -n "$ac_ct_RANLIB"; then
3422 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3423 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3425 echo "$as_me:$LINENO: result: no" >&5
3426 echo "${ECHO_T}no" >&6
3429 RANLIB
=$ac_ct_RANLIB
3431 RANLIB
="$ac_cv_prog_RANLIB"
3435 # Check whether --enable-shared or --disable-shared was given.
3436 if test "${enable_shared+set}" = set; then
3437 enableval
="$enable_shared"
3438 p
=${PACKAGE-default}
3440 yes) enable_shared
=yes ;;
3441 no
) enable_shared
=no
;;
3444 # Look at the argument we got. We use all the common list separators.
3445 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3446 for pkg
in $enableval; do
3448 if test "X$pkg" = "X$p"; then
3468 ac_cpp
='$CPP $CPPFLAGS'
3469 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3470 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3471 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3472 if test -n "$ac_tool_prefix"; then
3473 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3474 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3475 echo "$as_me:$LINENO: checking for $ac_word" >&5
3476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3477 if test "${ac_cv_prog_CC+set}" = set; then
3478 echo $ECHO_N "(cached) $ECHO_C" >&6
3480 if test -n "$CC"; then
3481 ac_cv_prog_CC
="$CC" # Let the user override the test.
3483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3487 test -z "$as_dir" && as_dir
=.
3488 for ac_exec_ext
in '' $ac_executable_extensions; do
3489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3490 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3500 if test -n "$CC"; then
3501 echo "$as_me:$LINENO: result: $CC" >&5
3502 echo "${ECHO_T}$CC" >&6
3504 echo "$as_me:$LINENO: result: no" >&5
3505 echo "${ECHO_T}no" >&6
3509 if test -z "$ac_cv_prog_CC"; then
3511 # Extract the first word of "gcc", so it can be a program name with args.
3512 set dummy gcc
; ac_word
=$2
3513 echo "$as_me:$LINENO: checking for $ac_word" >&5
3514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3515 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3516 echo $ECHO_N "(cached) $ECHO_C" >&6
3518 if test -n "$ac_ct_CC"; then
3519 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3525 test -z "$as_dir" && as_dir
=.
3526 for ac_exec_ext
in '' $ac_executable_extensions; do
3527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3528 ac_cv_prog_ac_ct_CC
="gcc"
3529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3537 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3538 if test -n "$ac_ct_CC"; then
3539 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3540 echo "${ECHO_T}$ac_ct_CC" >&6
3542 echo "$as_me:$LINENO: result: no" >&5
3543 echo "${ECHO_T}no" >&6
3551 if test -z "$CC"; then
3552 if test -n "$ac_tool_prefix"; then
3553 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3554 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3555 echo "$as_me:$LINENO: checking for $ac_word" >&5
3556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3557 if test "${ac_cv_prog_CC+set}" = set; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3560 if test -n "$CC"; then
3561 ac_cv_prog_CC
="$CC" # Let the user override the test.
3563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3567 test -z "$as_dir" && as_dir
=.
3568 for ac_exec_ext
in '' $ac_executable_extensions; do
3569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3570 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3580 if test -n "$CC"; then
3581 echo "$as_me:$LINENO: result: $CC" >&5
3582 echo "${ECHO_T}$CC" >&6
3584 echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6
3589 if test -z "$ac_cv_prog_CC"; then
3591 # Extract the first word of "cc", so it can be a program name with args.
3592 set dummy cc
; ac_word
=$2
3593 echo "$as_me:$LINENO: checking for $ac_word" >&5
3594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3595 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3596 echo $ECHO_N "(cached) $ECHO_C" >&6
3598 if test -n "$ac_ct_CC"; then
3599 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3605 test -z "$as_dir" && as_dir
=.
3606 for ac_exec_ext
in '' $ac_executable_extensions; do
3607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3608 ac_cv_prog_ac_ct_CC
="cc"
3609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3617 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3618 if test -n "$ac_ct_CC"; then
3619 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3620 echo "${ECHO_T}$ac_ct_CC" >&6
3622 echo "$as_me:$LINENO: result: no" >&5
3623 echo "${ECHO_T}no" >&6
3632 if test -z "$CC"; then
3633 # Extract the first word of "cc", so it can be a program name with args.
3634 set dummy cc
; ac_word
=$2
3635 echo "$as_me:$LINENO: checking for $ac_word" >&5
3636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3637 if test "${ac_cv_prog_CC+set}" = set; then
3638 echo $ECHO_N "(cached) $ECHO_C" >&6
3640 if test -n "$CC"; then
3641 ac_cv_prog_CC
="$CC" # Let the user override the test.
3644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3648 test -z "$as_dir" && as_dir
=.
3649 for ac_exec_ext
in '' $ac_executable_extensions; do
3650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3651 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3652 ac_prog_rejected
=yes
3656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3662 if test $ac_prog_rejected = yes; then
3663 # We found a bogon in the path, so make sure we never use it.
3664 set dummy
$ac_cv_prog_CC
3666 if test $# != 0; then
3667 # We chose a different compiler from the bogus one.
3668 # However, it has the same basename, so the bogon will be chosen
3669 # first if we set CC to just the basename; use the full file name.
3671 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3677 if test -n "$CC"; then
3678 echo "$as_me:$LINENO: result: $CC" >&5
3679 echo "${ECHO_T}$CC" >&6
3681 echo "$as_me:$LINENO: result: no" >&5
3682 echo "${ECHO_T}no" >&6
3686 if test -z "$CC"; then
3687 if test -n "$ac_tool_prefix"; then
3690 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3691 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3692 echo "$as_me:$LINENO: checking for $ac_word" >&5
3693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3694 if test "${ac_cv_prog_CC+set}" = set; then
3695 echo $ECHO_N "(cached) $ECHO_C" >&6
3697 if test -n "$CC"; then
3698 ac_cv_prog_CC
="$CC" # Let the user override the test.
3700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3704 test -z "$as_dir" && as_dir
=.
3705 for ac_exec_ext
in '' $ac_executable_extensions; do
3706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3707 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3717 if test -n "$CC"; then
3718 echo "$as_me:$LINENO: result: $CC" >&5
3719 echo "${ECHO_T}$CC" >&6
3721 echo "$as_me:$LINENO: result: no" >&5
3722 echo "${ECHO_T}no" >&6
3725 test -n "$CC" && break
3728 if test -z "$CC"; then
3732 # Extract the first word of "$ac_prog", so it can be a program name with args.
3733 set dummy
$ac_prog; ac_word
=$2
3734 echo "$as_me:$LINENO: checking for $ac_word" >&5
3735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3736 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3737 echo $ECHO_N "(cached) $ECHO_C" >&6
3739 if test -n "$ac_ct_CC"; then
3740 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3746 test -z "$as_dir" && as_dir
=.
3747 for ac_exec_ext
in '' $ac_executable_extensions; do
3748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3749 ac_cv_prog_ac_ct_CC
="$ac_prog"
3750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3758 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3759 if test -n "$ac_ct_CC"; then
3760 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3761 echo "${ECHO_T}$ac_ct_CC" >&6
3763 echo "$as_me:$LINENO: result: no" >&5
3764 echo "${ECHO_T}no" >&6
3767 test -n "$ac_ct_CC" && break
3776 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3777 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3778 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3779 See \`config.log' for more details." >&5
3780 echo "$as_me: error: no acceptable C compiler found in \$PATH
3781 See \`config.log' for more details." >&2;}
3782 { (exit 1); exit 1; }; }; }
3784 # Provide some information about the compiler.
3785 echo "$as_me:$LINENO:" \
3786 "checking for C compiler version" >&5
3787 ac_compiler
=`set X $ac_compile; echo $2`
3788 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3789 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3792 (exit $ac_status); }
3793 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3794 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); }
3798 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3799 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); }
3804 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3805 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3806 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3807 echo $ECHO_N "(cached) $ECHO_C" >&6
3809 cat >conftest.
$ac_ext <<_ACEOF
3812 cat confdefs.h
>>conftest.
$ac_ext
3813 cat >>conftest.
$ac_ext <<_ACEOF
3814 /* end confdefs.h. */
3827 rm -f conftest.
$ac_objext
3828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3829 (eval $ac_compile) 2>conftest.er1
3831 grep -v '^ *+' conftest.er1
>conftest.err
3833 cat conftest.err
>&5
3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835 (exit $ac_status); } &&
3836 { ac_try
='test -z "$ac_c_werror_flag"
3837 || test ! -s conftest.err'
3838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3842 (exit $ac_status); }; } &&
3843 { ac_try
='test -s conftest.$ac_objext'
3844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848 (exit $ac_status); }; }; then
3851 echo "$as_me: failed program was:" >&5
3852 sed 's/^/| /' conftest.
$ac_ext >&5
3856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3857 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3860 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3861 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3862 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3863 ac_test_CFLAGS
=${CFLAGS+set}
3864 ac_save_CFLAGS
=$CFLAGS
3866 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3867 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3868 if test "${ac_cv_prog_cc_g+set}" = set; then
3869 echo $ECHO_N "(cached) $ECHO_C" >&6
3871 cat >conftest.
$ac_ext <<_ACEOF
3874 cat confdefs.h
>>conftest.
$ac_ext
3875 cat >>conftest.
$ac_ext <<_ACEOF
3876 /* end confdefs.h. */
3886 rm -f conftest.
$ac_objext
3887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3888 (eval $ac_compile) 2>conftest.er1
3890 grep -v '^ *+' conftest.er1
>conftest.err
3892 cat conftest.err
>&5
3893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3894 (exit $ac_status); } &&
3895 { ac_try
='test -z "$ac_c_werror_flag"
3896 || test ! -s conftest.err'
3897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901 (exit $ac_status); }; } &&
3902 { ac_try
='test -s conftest.$ac_objext'
3903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907 (exit $ac_status); }; }; then
3910 echo "$as_me: failed program was:" >&5
3911 sed 's/^/| /' conftest.
$ac_ext >&5
3915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3917 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3918 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3919 if test "$ac_test_CFLAGS" = set; then
3920 CFLAGS
=$ac_save_CFLAGS
3921 elif test $ac_cv_prog_cc_g = yes; then
3922 if test "$GCC" = yes; then
3928 if test "$GCC" = yes; then
3934 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3935 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3936 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3937 echo $ECHO_N "(cached) $ECHO_C" >&6
3939 ac_cv_prog_cc_stdc
=no
3941 cat >conftest.
$ac_ext <<_ACEOF
3944 cat confdefs.h
>>conftest.
$ac_ext
3945 cat >>conftest.
$ac_ext <<_ACEOF
3946 /* end confdefs.h. */
3949 #include <sys/types.h>
3950 #include <sys/stat.h>
3951 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3952 struct buf { int x; };
3953 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3954 static char *e (p, i)
3960 static char *f (char * (*g) (char **, int), char **p, ...)
3965 s = g (p, va_arg (v,int));
3970 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3971 function prototypes and stuff, but not '\xHH' hex character constants.
3972 These don't provoke an error unfortunately, instead are silently treated
3973 as 'x'. The following induces an error, until -std1 is added to get
3974 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3975 array size at least. It's necessary to write '\x00'==0 to get something
3976 that's true only with -std1. */
3977 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3979 int test (int i, double x);
3980 struct s1 {int (*f) (int a);};
3981 struct s2 {int (*f) (double a);};
3982 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3988 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3993 # Don't try gcc -ansi; that turns off useful extensions and
3994 # breaks some systems' header files.
3995 # AIX -qlanglvl=ansi
3996 # Ultrix and OSF/1 -std1
3997 # HP-UX 10.20 and later -Ae
3998 # HP-UX older versions -Aa -D_HPUX_SOURCE
3999 # SVR4 -Xc -D__EXTENSIONS__
4000 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4002 CC
="$ac_save_CC $ac_arg"
4003 rm -f conftest.
$ac_objext
4004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4005 (eval $ac_compile) 2>conftest.er1
4007 grep -v '^ *+' conftest.er1
>conftest.err
4009 cat conftest.err
>&5
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); } &&
4012 { ac_try
='test -z "$ac_c_werror_flag"
4013 || test ! -s conftest.err'
4014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018 (exit $ac_status); }; } &&
4019 { ac_try
='test -s conftest.$ac_objext'
4020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); }; }; then
4025 ac_cv_prog_cc_stdc
=$ac_arg
4028 echo "$as_me: failed program was:" >&5
4029 sed 's/^/| /' conftest.
$ac_ext >&5
4032 rm -f conftest.err conftest.
$ac_objext
4034 rm -f conftest.
$ac_ext conftest.
$ac_objext
4039 case "x$ac_cv_prog_cc_stdc" in
4041 echo "$as_me:$LINENO: result: none needed" >&5
4042 echo "${ECHO_T}none needed" >&6 ;;
4044 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4045 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4046 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4049 # Some people use a C++ compiler to compile C. Since we use `exit',
4050 # in C++ we need to declare it. In case someone uses the same compiler
4051 # for both compiling C and C++ we need to have the C++ compiler decide
4052 # the declaration of exit, since it's the most demanding environment.
4053 cat >conftest.
$ac_ext <<_ACEOF
4058 rm -f conftest.
$ac_objext
4059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4060 (eval $ac_compile) 2>conftest.er1
4062 grep -v '^ *+' conftest.er1
>conftest.err
4064 cat conftest.err
>&5
4065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4066 (exit $ac_status); } &&
4067 { ac_try
='test -z "$ac_c_werror_flag"
4068 || test ! -s conftest.err'
4069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4073 (exit $ac_status); }; } &&
4074 { ac_try
='test -s conftest.$ac_objext'
4075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); }; }; then
4080 for ac_declaration
in \
4082 'extern "C" void std::exit (int) throw (); using std::exit;' \
4083 'extern "C" void std::exit (int); using std::exit;' \
4084 'extern "C" void exit (int) throw ();' \
4085 'extern "C" void exit (int);' \
4088 cat >conftest.
$ac_ext <<_ACEOF
4091 cat confdefs.h
>>conftest.
$ac_ext
4092 cat >>conftest.
$ac_ext <<_ACEOF
4093 /* end confdefs.h. */
4104 rm -f conftest.
$ac_objext
4105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4106 (eval $ac_compile) 2>conftest.er1
4108 grep -v '^ *+' conftest.er1
>conftest.err
4110 cat conftest.err
>&5
4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112 (exit $ac_status); } &&
4113 { ac_try
='test -z "$ac_c_werror_flag"
4114 || test ! -s conftest.err'
4115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119 (exit $ac_status); }; } &&
4120 { ac_try
='test -s conftest.$ac_objext'
4121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); }; }; then
4128 echo "$as_me: failed program was:" >&5
4129 sed 's/^/| /' conftest.
$ac_ext >&5
4133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4134 cat >conftest.
$ac_ext <<_ACEOF
4137 cat confdefs.h
>>conftest.
$ac_ext
4138 cat >>conftest.
$ac_ext <<_ACEOF
4139 /* end confdefs.h. */
4149 rm -f conftest.
$ac_objext
4150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4151 (eval $ac_compile) 2>conftest.er1
4153 grep -v '^ *+' conftest.er1
>conftest.err
4155 cat conftest.err
>&5
4156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157 (exit $ac_status); } &&
4158 { ac_try
='test -z "$ac_c_werror_flag"
4159 || test ! -s conftest.err'
4160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164 (exit $ac_status); }; } &&
4165 { ac_try
='test -s conftest.$ac_objext'
4166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); }; }; then
4173 echo "$as_me: failed program was:" >&5
4174 sed 's/^/| /' conftest.
$ac_ext >&5
4177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4180 if test -n "$ac_declaration"; then
4181 echo '#ifdef __cplusplus' >>confdefs.h
4182 echo $ac_declaration >>confdefs.h
4183 echo '#endif' >>confdefs.h
4187 echo "$as_me: failed program was:" >&5
4188 sed 's/^/| /' conftest.
$ac_ext >&5
4191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4193 ac_cpp
='$CPP $CPPFLAGS'
4194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4199 cat >>confdefs.h
<<\_ACEOF
4200 #define _GNU_SOURCE 1
4205 ac_cpp
='$CPP $CPPFLAGS'
4206 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4207 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4208 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4209 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4210 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4211 # On Suns, sometimes $CPP names a directory.
4212 if test -n "$CPP" && test -d "$CPP"; then
4215 if test -z "$CPP"; then
4216 if test "${ac_cv_prog_CPP+set}" = set; then
4217 echo $ECHO_N "(cached) $ECHO_C" >&6
4219 # Double quotes because CPP needs to be expanded
4220 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4223 for ac_c_preproc_warn_flag
in '' yes
4225 # Use a header file that comes with gcc, so configuring glibc
4226 # with a fresh cross-compiler works.
4227 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4228 # <limits.h> exists even on freestanding compilers.
4229 # On the NeXT, cc -E runs the code through the compiler's parser,
4230 # not just through cpp. "Syntax error" is here to catch this case.
4231 cat >conftest.
$ac_ext <<_ACEOF
4234 cat confdefs.h
>>conftest.
$ac_ext
4235 cat >>conftest.
$ac_ext <<_ACEOF
4236 /* end confdefs.h. */
4238 # include <limits.h>
4240 # include <assert.h>
4244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4245 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4247 grep -v '^ *+' conftest.er1
>conftest.err
4249 cat conftest.err
>&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); } >/dev
/null
; then
4252 if test -s conftest.err
; then
4253 ac_cpp_err
=$ac_c_preproc_warn_flag
4254 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4261 if test -z "$ac_cpp_err"; then
4264 echo "$as_me: failed program was:" >&5
4265 sed 's/^/| /' conftest.
$ac_ext >&5
4267 # Broken: fails on valid input.
4270 rm -f conftest.err conftest.
$ac_ext
4272 # OK, works on sane cases. Now check whether non-existent headers
4273 # can be detected and how.
4274 cat >conftest.
$ac_ext <<_ACEOF
4277 cat confdefs.h
>>conftest.
$ac_ext
4278 cat >>conftest.
$ac_ext <<_ACEOF
4279 /* end confdefs.h. */
4280 #include <ac_nonexistent.h>
4282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4283 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4285 grep -v '^ *+' conftest.er1
>conftest.err
4287 cat conftest.err
>&5
4288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4289 (exit $ac_status); } >/dev
/null
; then
4290 if test -s conftest.err
; then
4291 ac_cpp_err
=$ac_c_preproc_warn_flag
4292 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4299 if test -z "$ac_cpp_err"; then
4300 # Broken: success on invalid input.
4303 echo "$as_me: failed program was:" >&5
4304 sed 's/^/| /' conftest.
$ac_ext >&5
4306 # Passes both tests.
4310 rm -f conftest.err conftest.
$ac_ext
4313 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4314 rm -f conftest.err conftest.
$ac_ext
4315 if $ac_preproc_ok; then
4327 echo "$as_me:$LINENO: result: $CPP" >&5
4328 echo "${ECHO_T}$CPP" >&6
4330 for ac_c_preproc_warn_flag
in '' yes
4332 # Use a header file that comes with gcc, so configuring glibc
4333 # with a fresh cross-compiler works.
4334 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4335 # <limits.h> exists even on freestanding compilers.
4336 # On the NeXT, cc -E runs the code through the compiler's parser,
4337 # not just through cpp. "Syntax error" is here to catch this case.
4338 cat >conftest.
$ac_ext <<_ACEOF
4341 cat confdefs.h
>>conftest.
$ac_ext
4342 cat >>conftest.
$ac_ext <<_ACEOF
4343 /* end confdefs.h. */
4345 # include <limits.h>
4347 # include <assert.h>
4351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4352 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4354 grep -v '^ *+' conftest.er1
>conftest.err
4356 cat conftest.err
>&5
4357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358 (exit $ac_status); } >/dev
/null
; then
4359 if test -s conftest.err
; then
4360 ac_cpp_err
=$ac_c_preproc_warn_flag
4361 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4368 if test -z "$ac_cpp_err"; then
4371 echo "$as_me: failed program was:" >&5
4372 sed 's/^/| /' conftest.
$ac_ext >&5
4374 # Broken: fails on valid input.
4377 rm -f conftest.err conftest.
$ac_ext
4379 # OK, works on sane cases. Now check whether non-existent headers
4380 # can be detected and how.
4381 cat >conftest.
$ac_ext <<_ACEOF
4384 cat confdefs.h
>>conftest.
$ac_ext
4385 cat >>conftest.
$ac_ext <<_ACEOF
4386 /* end confdefs.h. */
4387 #include <ac_nonexistent.h>
4389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4390 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4392 grep -v '^ *+' conftest.er1
>conftest.err
4394 cat conftest.err
>&5
4395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396 (exit $ac_status); } >/dev
/null
; then
4397 if test -s conftest.err
; then
4398 ac_cpp_err
=$ac_c_preproc_warn_flag
4399 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4406 if test -z "$ac_cpp_err"; then
4407 # Broken: success on invalid input.
4410 echo "$as_me: failed program was:" >&5
4411 sed 's/^/| /' conftest.
$ac_ext >&5
4413 # Passes both tests.
4417 rm -f conftest.err conftest.
$ac_ext
4420 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4421 rm -f conftest.err conftest.
$ac_ext
4422 if $ac_preproc_ok; then
4425 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4426 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4427 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4428 See \`config.log' for more details." >&5
4429 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4430 See \`config.log' for more details." >&2;}
4431 { (exit 1); exit 1; }; }; }
4435 ac_cpp
='$CPP $CPPFLAGS'
4436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4441 echo "$as_me:$LINENO: checking for egrep" >&5
4442 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4443 if test "${ac_cv_prog_egrep+set}" = set; then
4444 echo $ECHO_N "(cached) $ECHO_C" >&6
4446 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4447 then ac_cv_prog_egrep
='grep -E'
4448 else ac_cv_prog_egrep
='egrep'
4451 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4452 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4453 EGREP
=$ac_cv_prog_egrep
4456 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4457 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4458 if test "${ac_cv_header_stdc+set}" = set; then
4459 echo $ECHO_N "(cached) $ECHO_C" >&6
4461 cat >conftest.
$ac_ext <<_ACEOF
4464 cat confdefs.h
>>conftest.
$ac_ext
4465 cat >>conftest.
$ac_ext <<_ACEOF
4466 /* end confdefs.h. */
4480 rm -f conftest.
$ac_objext
4481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4482 (eval $ac_compile) 2>conftest.er1
4484 grep -v '^ *+' conftest.er1
>conftest.err
4486 cat conftest.err
>&5
4487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4488 (exit $ac_status); } &&
4489 { ac_try
='test -z "$ac_c_werror_flag"
4490 || test ! -s conftest.err'
4491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4495 (exit $ac_status); }; } &&
4496 { ac_try
='test -s conftest.$ac_objext'
4497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4501 (exit $ac_status); }; }; then
4502 ac_cv_header_stdc
=yes
4504 echo "$as_me: failed program was:" >&5
4505 sed 's/^/| /' conftest.
$ac_ext >&5
4507 ac_cv_header_stdc
=no
4509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4511 if test $ac_cv_header_stdc = yes; then
4512 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4513 cat >conftest.
$ac_ext <<_ACEOF
4516 cat confdefs.h
>>conftest.
$ac_ext
4517 cat >>conftest.
$ac_ext <<_ACEOF
4518 /* end confdefs.h. */
4522 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4523 $EGREP "memchr" >/dev
/null
2>&1; then
4526 ac_cv_header_stdc
=no
4532 if test $ac_cv_header_stdc = yes; then
4533 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4534 cat >conftest.
$ac_ext <<_ACEOF
4537 cat confdefs.h
>>conftest.
$ac_ext
4538 cat >>conftest.
$ac_ext <<_ACEOF
4539 /* end confdefs.h. */
4543 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4544 $EGREP "free" >/dev
/null
2>&1; then
4547 ac_cv_header_stdc
=no
4553 if test $ac_cv_header_stdc = yes; then
4554 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4555 if test "$cross_compiling" = yes; then
4558 cat >conftest.
$ac_ext <<_ACEOF
4561 cat confdefs.h
>>conftest.
$ac_ext
4562 cat >>conftest.
$ac_ext <<_ACEOF
4563 /* end confdefs.h. */
4565 #if ((' ' & 0x0FF) == 0x020)
4566 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4567 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4569 # define ISLOWER(c) \
4570 (('a' <= (c) && (c) <= 'i') \
4571 || ('j' <= (c) && (c) <= 'r') \
4572 || ('s' <= (c) && (c) <= 'z'))
4573 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4576 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4581 for (i = 0; i < 256; i++)
4582 if (XOR (islower (i), ISLOWER (i))
4583 || toupper (i) != TOUPPER (i))
4588 rm -f conftest
$ac_exeext
4589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4590 (eval $ac_link) 2>&5
4592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); }; }; then
4601 echo "$as_me: program exited with status $ac_status" >&5
4602 echo "$as_me: failed program was:" >&5
4603 sed 's/^/| /' conftest.
$ac_ext >&5
4606 ac_cv_header_stdc
=no
4608 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4612 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4613 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4614 if test $ac_cv_header_stdc = yes; then
4616 cat >>confdefs.h
<<\_ACEOF
4617 #define STDC_HEADERS 1
4622 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4632 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4633 inttypes.h stdint.h unistd.h
4635 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4636 echo "$as_me:$LINENO: checking for $ac_header" >&5
4637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4639 echo $ECHO_N "(cached) $ECHO_C" >&6
4641 cat >conftest.
$ac_ext <<_ACEOF
4644 cat confdefs.h
>>conftest.
$ac_ext
4645 cat >>conftest.
$ac_ext <<_ACEOF
4646 /* end confdefs.h. */
4647 $ac_includes_default
4649 #include <$ac_header>
4651 rm -f conftest.
$ac_objext
4652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4653 (eval $ac_compile) 2>conftest.er1
4655 grep -v '^ *+' conftest.er1
>conftest.err
4657 cat conftest.err
>&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); } &&
4660 { ac_try
='test -z "$ac_c_werror_flag"
4661 || test ! -s conftest.err'
4662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); }; } &&
4667 { ac_try
='test -s conftest.$ac_objext'
4668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); }; }; then
4673 eval "$as_ac_Header=yes"
4675 echo "$as_me: failed program was:" >&5
4676 sed 's/^/| /' conftest.
$ac_ext >&5
4678 eval "$as_ac_Header=no"
4680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4684 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4685 cat >>confdefs.h
<<_ACEOF
4686 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4695 if test "${ac_cv_header_minix_config_h+set}" = set; then
4696 echo "$as_me:$LINENO: checking for minix/config.h" >&5
4697 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
4698 if test "${ac_cv_header_minix_config_h+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4701 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4702 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
4704 # Is the header compilable?
4705 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4706 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
4707 cat >conftest.
$ac_ext <<_ACEOF
4710 cat confdefs.h
>>conftest.
$ac_ext
4711 cat >>conftest.
$ac_ext <<_ACEOF
4712 /* end confdefs.h. */
4713 $ac_includes_default
4714 #include <minix/config.h>
4716 rm -f conftest.
$ac_objext
4717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4718 (eval $ac_compile) 2>conftest.er1
4720 grep -v '^ *+' conftest.er1
>conftest.err
4722 cat conftest.err
>&5
4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); } &&
4725 { ac_try
='test -z "$ac_c_werror_flag"
4726 || test ! -s conftest.err'
4727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); }; } &&
4732 { ac_try
='test -s conftest.$ac_objext'
4733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4737 (exit $ac_status); }; }; then
4738 ac_header_compiler
=yes
4740 echo "$as_me: failed program was:" >&5
4741 sed 's/^/| /' conftest.
$ac_ext >&5
4743 ac_header_compiler
=no
4745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4746 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4747 echo "${ECHO_T}$ac_header_compiler" >&6
4749 # Is the header present?
4750 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4751 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
4752 cat >conftest.
$ac_ext <<_ACEOF
4755 cat confdefs.h
>>conftest.
$ac_ext
4756 cat >>conftest.
$ac_ext <<_ACEOF
4757 /* end confdefs.h. */
4758 #include <minix/config.h>
4760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4761 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4763 grep -v '^ *+' conftest.er1
>conftest.err
4765 cat conftest.err
>&5
4766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767 (exit $ac_status); } >/dev
/null
; then
4768 if test -s conftest.err
; then
4769 ac_cpp_err
=$ac_c_preproc_warn_flag
4770 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4777 if test -z "$ac_cpp_err"; then
4778 ac_header_preproc
=yes
4780 echo "$as_me: failed program was:" >&5
4781 sed 's/^/| /' conftest.
$ac_ext >&5
4783 ac_header_preproc
=no
4785 rm -f conftest.err conftest.
$ac_ext
4786 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4787 echo "${ECHO_T}$ac_header_preproc" >&6
4789 # So? What about this header?
4790 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4792 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4793 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4794 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4795 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4796 ac_header_preproc
=yes
4799 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4800 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4801 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4802 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4803 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4804 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4805 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4806 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4807 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4808 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4809 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4810 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4813 ## ------------------------------------------ ##
4814 ## Report this to the AC_PACKAGE_NAME lists. ##
4815 ## ------------------------------------------ ##
4818 sed "s/^/$as_me: WARNING: /" >&2
4821 echo "$as_me:$LINENO: checking for minix/config.h" >&5
4822 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
4823 if test "${ac_cv_header_minix_config_h+set}" = set; then
4824 echo $ECHO_N "(cached) $ECHO_C" >&6
4826 ac_cv_header_minix_config_h
=$ac_header_preproc
4828 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4829 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
4832 if test $ac_cv_header_minix_config_h = yes; then
4839 if test "$MINIX" = yes; then
4841 cat >>confdefs.h
<<\_ACEOF
4842 #define _POSIX_SOURCE 1
4846 cat >>confdefs.h
<<\_ACEOF
4847 #define _POSIX_1_SOURCE 2
4851 cat >>confdefs.h
<<\_ACEOF
4859 echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4860 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6
4861 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6
4864 cat >conftest.
$ac_ext <<_ACEOF
4867 cat confdefs.h
>>conftest.
$ac_ext
4868 cat >>conftest.
$ac_ext <<_ACEOF
4869 /* end confdefs.h. */
4871 # define __EXTENSIONS__ 1
4872 $ac_includes_default
4881 rm -f conftest.
$ac_objext
4882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4883 (eval $ac_compile) 2>conftest.er1
4885 grep -v '^ *+' conftest.er1
>conftest.err
4887 cat conftest.err
>&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); } &&
4890 { ac_try
='test -z "$ac_c_werror_flag"
4891 || test ! -s conftest.err'
4892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); }; } &&
4897 { ac_try
='test -s conftest.$ac_objext'
4898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4902 (exit $ac_status); }; }; then
4903 ac_cv_safe_to_define___extensions__
=yes
4905 echo "$as_me: failed program was:" >&5
4906 sed 's/^/| /' conftest.
$ac_ext >&5
4908 ac_cv_safe_to_define___extensions__
=no
4910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4912 echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4913 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6
4914 test $ac_cv_safe_to_define___extensions__ = yes &&
4915 cat >>confdefs.h
<<\_ACEOF
4916 #define __EXTENSIONS__ 1
4919 cat >>confdefs.h
<<\_ACEOF
4920 #define _ALL_SOURCE 1
4923 cat >>confdefs.h
<<\_ACEOF
4924 #define _GNU_SOURCE 1
4927 cat >>confdefs.h
<<\_ACEOF
4928 #define _POSIX_PTHREAD_SEMANTICS 1
4931 cat >>confdefs.h
<<\_ACEOF
4932 #define _TANDEM_SOURCE 1
4938 sparc-
*-solaris*|i
[3-7]86-*-solaris*)
4939 # On native 32bit sparc and ia32 solaris, large-file and procfs support
4940 # are mutually exclusive; and without procfs support, the elf module
4941 # cannot provide certain routines such as elfcore_write_prpsinfo
4942 # or elfcore_write_prstatus. So unless the user explicitly requested
4943 # large-file support through the --enable-largefile switch, disable
4944 # large-file support in favor of procfs support.
4945 if test "${target}" = "${host}" -a "$enable_largefile" != 'yes'; then
4946 enable_largefile
="no"
4951 # Check whether --enable-largefile or --disable-largefile was given.
4952 if test "${enable_largefile+set}" = set; then
4953 enableval
="$enable_largefile"
4956 if test "$enable_largefile" != no
; then
4958 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4959 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4960 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4961 echo $ECHO_N "(cached) $ECHO_C" >&6
4963 ac_cv_sys_largefile_CC
=no
4964 if test "$GCC" != yes; then
4967 # IRIX 6.2 and later do not support large files by default,
4968 # so use the C compiler's -n32 option if that helps.
4969 cat >conftest.
$ac_ext <<_ACEOF
4972 cat confdefs.h
>>conftest.
$ac_ext
4973 cat >>conftest.
$ac_ext <<_ACEOF
4974 /* end confdefs.h. */
4975 #include <sys/types.h>
4976 /* Check that off_t can represent 2**63 - 1 correctly.
4977 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4978 since some C++ compilers masquerading as C compilers
4979 incorrectly reject 9223372036854775807. */
4980 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4981 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4982 && LARGE_OFF_T % 2147483647 == 1)
4992 rm -f conftest.
$ac_objext
4993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4994 (eval $ac_compile) 2>conftest.er1
4996 grep -v '^ *+' conftest.er1
>conftest.err
4998 cat conftest.err
>&5
4999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5000 (exit $ac_status); } &&
5001 { ac_try
='test -z "$ac_c_werror_flag"
5002 || test ! -s conftest.err'
5003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5007 (exit $ac_status); }; } &&
5008 { ac_try
='test -s conftest.$ac_objext'
5009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5013 (exit $ac_status); }; }; then
5016 echo "$as_me: failed program was:" >&5
5017 sed 's/^/| /' conftest.
$ac_ext >&5
5020 rm -f conftest.err conftest.
$ac_objext
5022 rm -f conftest.
$ac_objext
5023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5024 (eval $ac_compile) 2>conftest.er1
5026 grep -v '^ *+' conftest.er1
>conftest.err
5028 cat conftest.err
>&5
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); } &&
5031 { ac_try
='test -z "$ac_c_werror_flag"
5032 || test ! -s conftest.err'
5033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5037 (exit $ac_status); }; } &&
5038 { ac_try
='test -s conftest.$ac_objext'
5039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043 (exit $ac_status); }; }; then
5044 ac_cv_sys_largefile_CC
=' -n32'; break
5046 echo "$as_me: failed program was:" >&5
5047 sed 's/^/| /' conftest.
$ac_ext >&5
5050 rm -f conftest.err conftest.
$ac_objext
5054 rm -f conftest.
$ac_ext
5057 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
5058 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
5059 if test "$ac_cv_sys_largefile_CC" != no
; then
5060 CC
=$CC$ac_cv_sys_largefile_CC
5063 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5064 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
5065 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
5066 echo $ECHO_N "(cached) $ECHO_C" >&6
5069 ac_cv_sys_file_offset_bits
=no
5070 cat >conftest.
$ac_ext <<_ACEOF
5073 cat confdefs.h
>>conftest.
$ac_ext
5074 cat >>conftest.
$ac_ext <<_ACEOF
5075 /* end confdefs.h. */
5076 #include <sys/types.h>
5077 /* Check that off_t can represent 2**63 - 1 correctly.
5078 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5079 since some C++ compilers masquerading as C compilers
5080 incorrectly reject 9223372036854775807. */
5081 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5082 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5083 && LARGE_OFF_T % 2147483647 == 1)
5093 rm -f conftest.
$ac_objext
5094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5095 (eval $ac_compile) 2>conftest.er1
5097 grep -v '^ *+' conftest.er1
>conftest.err
5099 cat conftest.err
>&5
5100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5101 (exit $ac_status); } &&
5102 { ac_try
='test -z "$ac_c_werror_flag"
5103 || test ! -s conftest.err'
5104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); }; } &&
5109 { ac_try
='test -s conftest.$ac_objext'
5110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114 (exit $ac_status); }; }; then
5117 echo "$as_me: failed program was:" >&5
5118 sed 's/^/| /' conftest.
$ac_ext >&5
5121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5122 cat >conftest.
$ac_ext <<_ACEOF
5125 cat confdefs.h
>>conftest.
$ac_ext
5126 cat >>conftest.
$ac_ext <<_ACEOF
5127 /* end confdefs.h. */
5128 #define _FILE_OFFSET_BITS 64
5129 #include <sys/types.h>
5130 /* Check that off_t can represent 2**63 - 1 correctly.
5131 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5132 since some C++ compilers masquerading as C compilers
5133 incorrectly reject 9223372036854775807. */
5134 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5135 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5136 && LARGE_OFF_T % 2147483647 == 1)
5146 rm -f conftest.
$ac_objext
5147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5148 (eval $ac_compile) 2>conftest.er1
5150 grep -v '^ *+' conftest.er1
>conftest.err
5152 cat conftest.err
>&5
5153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5154 (exit $ac_status); } &&
5155 { ac_try
='test -z "$ac_c_werror_flag"
5156 || test ! -s conftest.err'
5157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5161 (exit $ac_status); }; } &&
5162 { ac_try
='test -s conftest.$ac_objext'
5163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5167 (exit $ac_status); }; }; then
5168 ac_cv_sys_file_offset_bits
=64; break
5170 echo "$as_me: failed program was:" >&5
5171 sed 's/^/| /' conftest.
$ac_ext >&5
5174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5178 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
5179 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
5180 if test "$ac_cv_sys_file_offset_bits" != no
; then
5182 cat >>confdefs.h
<<_ACEOF
5183 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5188 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
5189 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
5190 if test "${ac_cv_sys_large_files+set}" = set; then
5191 echo $ECHO_N "(cached) $ECHO_C" >&6
5194 ac_cv_sys_large_files
=no
5195 cat >conftest.
$ac_ext <<_ACEOF
5198 cat confdefs.h
>>conftest.
$ac_ext
5199 cat >>conftest.
$ac_ext <<_ACEOF
5200 /* end confdefs.h. */
5201 #include <sys/types.h>
5202 /* Check that off_t can represent 2**63 - 1 correctly.
5203 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5204 since some C++ compilers masquerading as C compilers
5205 incorrectly reject 9223372036854775807. */
5206 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5207 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5208 && LARGE_OFF_T % 2147483647 == 1)
5218 rm -f conftest.
$ac_objext
5219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5220 (eval $ac_compile) 2>conftest.er1
5222 grep -v '^ *+' conftest.er1
>conftest.err
5224 cat conftest.err
>&5
5225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5226 (exit $ac_status); } &&
5227 { ac_try
='test -z "$ac_c_werror_flag"
5228 || test ! -s conftest.err'
5229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233 (exit $ac_status); }; } &&
5234 { ac_try
='test -s conftest.$ac_objext'
5235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5239 (exit $ac_status); }; }; then
5242 echo "$as_me: failed program was:" >&5
5243 sed 's/^/| /' conftest.
$ac_ext >&5
5246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5247 cat >conftest.
$ac_ext <<_ACEOF
5250 cat confdefs.h
>>conftest.
$ac_ext
5251 cat >>conftest.
$ac_ext <<_ACEOF
5252 /* end confdefs.h. */
5253 #define _LARGE_FILES 1
5254 #include <sys/types.h>
5255 /* Check that off_t can represent 2**63 - 1 correctly.
5256 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5257 since some C++ compilers masquerading as C compilers
5258 incorrectly reject 9223372036854775807. */
5259 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5260 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5261 && LARGE_OFF_T % 2147483647 == 1)
5271 rm -f conftest.
$ac_objext
5272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5273 (eval $ac_compile) 2>conftest.er1
5275 grep -v '^ *+' conftest.er1
>conftest.err
5277 cat conftest.err
>&5
5278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5279 (exit $ac_status); } &&
5280 { ac_try
='test -z "$ac_c_werror_flag"
5281 || test ! -s conftest.err'
5282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5286 (exit $ac_status); }; } &&
5287 { ac_try
='test -s conftest.$ac_objext'
5288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5292 (exit $ac_status); }; }; then
5293 ac_cv_sys_large_files
=1; break
5295 echo "$as_me: failed program was:" >&5
5296 sed 's/^/| /' conftest.
$ac_ext >&5
5299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5303 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5304 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5305 if test "$ac_cv_sys_large_files" != no
; then
5307 cat >>confdefs.h
<<_ACEOF
5308 #define _LARGE_FILES $ac_cv_sys_large_files
5318 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5319 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5324 macro_version
='2.2.6'
5325 macro_revision
='1.3012'
5339 ltmain
="$ac_aux_dir/ltmain.sh"
5341 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5342 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5343 if test "${lt_cv_path_SED+set}" = set; then
5344 echo $ECHO_N "(cached) $ECHO_C" >&6
5346 # Loop through the user's path and test for sed and gsed.
5347 # Then use that list of sed's as ones to test for truncation.
5348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5352 test -z "$as_dir" && as_dir
=.
5353 for lt_ac_prog
in sed gsed
; do
5354 for ac_exec_ext
in '' $ac_executable_extensions; do
5355 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5356 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5364 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5365 # along with /bin/sed that truncates output.
5366 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
5367 test ! -f $lt_ac_sed && continue
5368 cat /dev
/null
> conftest.
in
5370 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
5371 # Check for GNU sed and select it if it is found.
5372 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
5373 lt_cv_path_SED
=$lt_ac_sed
5377 cat conftest.
in conftest.
in >conftest.tmp
5378 mv conftest.tmp conftest.
in
5379 cp conftest.
in conftest.
nl
5381 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
5382 cmp -s conftest.out conftest.
nl ||
break
5383 # 10000 chars as input seems more than enough
5384 test $lt_ac_count -gt 10 && break
5385 lt_ac_count
=`expr $lt_ac_count + 1`
5386 if test $lt_ac_count -gt $lt_ac_max; then
5387 lt_ac_max
=$lt_ac_count
5388 lt_cv_path_SED
=$lt_ac_sed
5397 echo "$as_me:$LINENO: result: $SED" >&5
5398 echo "${ECHO_T}$SED" >&6
5400 test -z "$SED" && SED
=sed
5401 Xsed
="$SED -e 1s/^X//"
5413 echo "$as_me:$LINENO: checking for fgrep" >&5
5414 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5415 if test "${ac_cv_prog_fgrep+set}" = set; then
5416 echo $ECHO_N "(cached) $ECHO_C" >&6
5418 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
5419 then ac_cv_prog_fgrep
='grep -F'
5420 else ac_cv_prog_fgrep
='fgrep'
5423 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5424 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5425 FGREP
=$ac_cv_prog_fgrep
5428 test -z "$GREP" && GREP
=grep
5448 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5449 if test "${with_gnu_ld+set}" = set; then
5450 withval
="$with_gnu_ld"
5451 test "$withval" = no || with_gnu_ld
=yes
5456 if test "$GCC" = yes; then
5457 # Check if gcc -print-prog-name=ld gives a path.
5458 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5459 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5462 # gcc leaves a trailing carriage return which upsets mingw
5463 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5465 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5468 # Accept absolute paths.
5470 re_direlt
='/[^/][^/]*/\.\./'
5471 # Canonicalize the pathname of ld
5472 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5473 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5474 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5476 test -z "$LD" && LD
="$ac_prog"
5479 # If it fails, then pretend we aren't using GCC.
5483 # If it is relative, then search for the first ld in PATH.
5487 elif test "$with_gnu_ld" = yes; then
5488 echo "$as_me:$LINENO: checking for GNU ld" >&5
5489 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5491 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5492 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5494 if test "${lt_cv_path_LD+set}" = set; then
5495 echo $ECHO_N "(cached) $ECHO_C" >&6
5497 if test -z "$LD"; then
5498 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5499 for ac_dir
in $PATH; do
5501 test -z "$ac_dir" && ac_dir
=.
5502 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5503 lt_cv_path_LD
="$ac_dir/$ac_prog"
5504 # Check to see if the program is GNU ld. I'd rather use --version,
5505 # but apparently some variants of GNU ld only accept -v.
5506 # Break only if it was the GNU/non-GNU ld that we prefer.
5507 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5508 *GNU
* |
*'with BFD'*)
5509 test "$with_gnu_ld" != no
&& break
5512 test "$with_gnu_ld" != yes && break
5519 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5524 if test -n "$LD"; then
5525 echo "$as_me:$LINENO: result: $LD" >&5
5526 echo "${ECHO_T}$LD" >&6
5528 echo "$as_me:$LINENO: result: no" >&5
5529 echo "${ECHO_T}no" >&6
5531 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5532 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5533 { (exit 1); exit 1; }; }
5534 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5535 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5536 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5537 echo $ECHO_N "(cached) $ECHO_C" >&6
5539 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5540 case `$LD -v 2>&1 </dev/null` in
5541 *GNU
* |
*'with BFD'*)
5542 lt_cv_prog_gnu_ld
=yes
5545 lt_cv_prog_gnu_ld
=no
5549 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5550 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5551 with_gnu_ld
=$lt_cv_prog_gnu_ld
5561 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5562 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5563 if test "${lt_cv_path_NM+set}" = set; then
5564 echo $ECHO_N "(cached) $ECHO_C" >&6
5566 if test -n "$NM"; then
5567 # Let the user override the test.
5570 lt_nm_to_check
="${ac_tool_prefix}nm"
5571 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5572 lt_nm_to_check
="$lt_nm_to_check nm"
5574 for lt_tmp_nm
in $lt_nm_to_check; do
5575 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5576 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5578 test -z "$ac_dir" && ac_dir
=.
5579 tmp_nm
="$ac_dir/$lt_tmp_nm"
5580 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5581 # Check to see if the nm accepts a BSD-compat flag.
5582 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5583 # nm: unknown option "B" ignored
5584 # Tru64's nm complains that /dev/null is an invalid object file
5585 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5586 */dev
/null
* |
*'Invalid file or object type'*)
5587 lt_cv_path_NM
="$tmp_nm -B"
5591 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5593 lt_cv_path_NM
="$tmp_nm -p"
5597 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5598 continue # so that we can try to find one that supports BSD flags
5607 : ${lt_cv_path_NM=no}
5610 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5611 echo "${ECHO_T}$lt_cv_path_NM" >&6
5612 if test "$lt_cv_path_NM" != "no"; then
5615 # Didn't find any BSD compatible name lister, look for dumpbin.
5616 if test -n "$ac_tool_prefix"; then
5617 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5619 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5620 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5621 echo "$as_me:$LINENO: checking for $ac_word" >&5
5622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5623 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5624 echo $ECHO_N "(cached) $ECHO_C" >&6
5626 if test -n "$DUMPBIN"; then
5627 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5633 test -z "$as_dir" && as_dir
=.
5634 for ac_exec_ext
in '' $ac_executable_extensions; do
5635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5636 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5645 DUMPBIN
=$ac_cv_prog_DUMPBIN
5646 if test -n "$DUMPBIN"; then
5647 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5648 echo "${ECHO_T}$DUMPBIN" >&6
5650 echo "$as_me:$LINENO: result: no" >&5
5651 echo "${ECHO_T}no" >&6
5654 test -n "$DUMPBIN" && break
5657 if test -z "$DUMPBIN"; then
5658 ac_ct_DUMPBIN
=$DUMPBIN
5659 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5661 # Extract the first word of "$ac_prog", so it can be a program name with args.
5662 set dummy
$ac_prog; ac_word
=$2
5663 echo "$as_me:$LINENO: checking for $ac_word" >&5
5664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5665 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5666 echo $ECHO_N "(cached) $ECHO_C" >&6
5668 if test -n "$ac_ct_DUMPBIN"; then
5669 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5675 test -z "$as_dir" && as_dir
=.
5676 for ac_exec_ext
in '' $ac_executable_extensions; do
5677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5678 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5687 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5688 if test -n "$ac_ct_DUMPBIN"; then
5689 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5690 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5692 echo "$as_me:$LINENO: result: no" >&5
5693 echo "${ECHO_T}no" >&6
5696 test -n "$ac_ct_DUMPBIN" && break
5698 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
5700 DUMPBIN
=$ac_ct_DUMPBIN
5704 if test "$DUMPBIN" != ":"; then
5708 test -z "$NM" && NM
=nm
5715 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5716 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5717 if test "${lt_cv_nm_interface+set}" = set; then
5718 echo $ECHO_N "(cached) $ECHO_C" >&6
5720 lt_cv_nm_interface
="BSD nm"
5721 echo "int some_variable = 0;" > conftest.
$ac_ext
5722 (eval echo "\"\$as_me:5722: $ac_compile\"" >&5)
5723 (eval "$ac_compile" 2>conftest.err
)
5724 cat conftest.err
>&5
5725 (eval echo "\"\$as_me:5725: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5726 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5727 cat conftest.err
>&5
5728 (eval echo "\"\$as_me:5728: output\"" >&5)
5729 cat conftest.out
>&5
5730 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5731 lt_cv_nm_interface
="MS dumpbin"
5735 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5736 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5738 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5739 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5741 if test "$LN_S" = "ln -s"; then
5742 echo "$as_me:$LINENO: result: yes" >&5
5743 echo "${ECHO_T}yes" >&6
5745 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5746 echo "${ECHO_T}no, using $LN_S" >&6
5749 # find the maximum length of command line arguments
5750 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5751 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5752 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5753 echo $ECHO_N "(cached) $ECHO_C" >&6
5760 # On DJGPP, this test can blow up pretty badly due to problems in libc
5761 # (any single argument exceeding 2000 bytes causes a buffer overrun
5762 # during glob expansion). Even if it were fixed, the result of this
5763 # check would be larger than it should be.
5764 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5768 # Under GNU Hurd, this test is not required because there is
5769 # no limit to the length of command line arguments.
5770 # Libtool will interpret -1 as no limit whatsoever
5771 lt_cv_sys_max_cmd_len
=-1;
5774 cygwin
* | mingw
* | cegcc
*)
5775 # On Win9x/ME, this test blows up -- it succeeds, but takes
5776 # about 5 minutes as the teststring grows exponentially.
5777 # Worse, since 9x/ME are not pre-emptively multitasking,
5778 # you end up with a "frozen" computer, even though with patience
5779 # the test eventually succeeds (with a max line length of 256k).
5780 # Instead, let's just punt: use the minimum linelength reported by
5781 # all of the supported platforms: 8192 (on NT/2K/XP).
5782 lt_cv_sys_max_cmd_len
=8192;
5786 # On AmigaOS with pdksh, this test takes hours, literally.
5787 # So we just punt and use a minimum line length of 8192.
5788 lt_cv_sys_max_cmd_len
=8192;
5791 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5792 # This has been around since 386BSD, at least. Likely further.
5793 if test -x /sbin
/sysctl
; then
5794 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5795 elif test -x /usr
/sbin
/sysctl
; then
5796 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5798 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5800 # And add a safety zone
5801 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5802 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5806 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5807 lt_cv_sys_max_cmd_len
=196608
5811 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5812 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5813 # nice to cause kernel panics so lets avoid the loop below.
5814 # First set a reasonable default.
5815 lt_cv_sys_max_cmd_len
=16384
5817 if test -x /sbin
/sysconfig
; then
5818 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5819 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5824 lt_cv_sys_max_cmd_len
=102400
5826 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5827 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5828 if test -n "$kargmax"; then
5829 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5831 lt_cv_sys_max_cmd_len
=32768
5835 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5836 if test -n "$lt_cv_sys_max_cmd_len"; then
5837 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5838 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5840 # Make teststring a little bigger before we do anything with it.
5841 # a 1K string should be a reasonable start.
5842 for i
in 1 2 3 4 5 6 7 8 ; do
5843 teststring
=$teststring$teststring
5845 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5846 # If test is not a shell built-in, we'll probably end up computing a
5847 # maximum length that is only half of the actual maximum length, but
5849 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5850 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5851 test $i != 17 # 1/2 MB should be enough
5854 teststring
=$teststring$teststring
5856 # Only check the string length outside the loop.
5857 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5859 # Add a significant safety factor because C++ compilers can tack on
5860 # massive amounts of additional arguments before passing them to the
5861 # linker. It appears as though 1/2 is a usable value.
5862 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5869 if test -n $lt_cv_sys_max_cmd_len ; then
5870 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5871 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5873 echo "$as_me:$LINENO: result: none" >&5
5874 echo "${ECHO_T}none" >&6
5876 max_cmd_len
=$lt_cv_sys_max_cmd_len
5887 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5888 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
5889 # Try some XSI features
5892 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5894 && eval 'test $(( 1 + 1 )) -eq 2 \
5895 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5897 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
5898 echo "${ECHO_T}$xsi_shell" >&6
5901 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
5902 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
5904 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5906 && lt_shell_append=yes
5907 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
5908 echo "${ECHO_T}$lt_shell_append" >&6
5911 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5921 # test EBCDIC or ASCII
5922 case `echo X|tr X '\101'` in
5923 A) # ASCII based system
5924 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5925 lt_SP2NL='tr \040 \012'
5926 lt_NL2SP='tr \015\012 \040\040'
5928 *) # EBCDIC based system
5929 lt_SP2NL='tr \100 \n'
5930 lt_NL2SP='tr \r\n \100\100'
5942 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
5943 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
5944 if test "${lt_cv_ld_reload_flag+set}" = set; then
5945 echo $ECHO_N "(cached
) $ECHO_C" >&6
5947 lt_cv_ld_reload_flag='-r'
5949 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
5950 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5951 reload_flag=$lt_cv_ld_reload_flag
5952 case $reload_flag in
5954 *) reload_flag=" $reload_flag" ;;
5956 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5959 if test "$GCC" = yes; then
5960 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5962 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5975 if test -n "$ac_tool_prefix"; then
5976 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5977 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5978 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5979 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5980 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5981 echo $ECHO_N "(cached
) $ECHO_C" >&6
5983 if test -n "$OBJDUMP"; then
5984 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5990 test -z "$as_dir" && as_dir=.
5991 for ac_exec_ext in '' $ac_executable_extensions; do
5992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5993 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5994 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6002 OBJDUMP=$ac_cv_prog_OBJDUMP
6003 if test -n "$OBJDUMP"; then
6004 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
6005 echo "${ECHO_T}$OBJDUMP" >&6
6007 echo "$as_me:$LINENO: result
: no
" >&5
6008 echo "${ECHO_T}no
" >&6
6012 if test -z "$ac_cv_prog_OBJDUMP"; then
6013 ac_ct_OBJDUMP=$OBJDUMP
6014 # Extract the first word of "objdump
", so it can be a program name with args.
6015 set dummy objdump; ac_word=$2
6016 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6017 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6018 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6019 echo $ECHO_N "(cached
) $ECHO_C" >&6
6021 if test -n "$ac_ct_OBJDUMP"; then
6022 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028 test -z "$as_dir" && as_dir=.
6029 for ac_exec_ext in '' $ac_executable_extensions; do
6030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6031 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6032 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6038 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false
"
6041 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6042 if test -n "$ac_ct_OBJDUMP"; then
6043 echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
6044 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
6046 echo "$as_me:$LINENO: result
: no
" >&5
6047 echo "${ECHO_T}no
" >&6
6050 OBJDUMP=$ac_ct_OBJDUMP
6052 OBJDUMP="$ac_cv_prog_OBJDUMP"
6055 test -z "$OBJDUMP" && OBJDUMP=objdump
6065 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
6066 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
6067 if test "${lt_cv_deplibs_check_method+set}" = set; then
6068 echo $ECHO_N "(cached
) $ECHO_C" >&6
6070 lt_cv_file_magic_cmd='$MAGIC_CMD'
6071 lt_cv_file_magic_test_file=
6072 lt_cv_deplibs_check_method='unknown'
6073 # Need to set the preceding variable on all platforms that support
6074 # interlibrary dependencies.
6075 # 'none' -- dependencies not supported.
6076 # `unknown' -- same as none, but documents that we really don't know.
6077 # 'pass_all' -- all dependencies passed with no checks.
6078 # 'test_compile' -- check by making test program.
6079 # 'file_magic [[regex]]' -- check by looking for files in library path
6080 # which responds to the $file_magic_cmd with a given extended regex.
6081 # If you have `file' or equivalent on your system and you're not sure
6082 # whether `pass_all' will *always* work, you probably want this one.
6086 lt_cv_deplibs_check_method=pass_all
6090 lt_cv_deplibs_check_method=pass_all
6094 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6095 lt_cv_file_magic_cmd='/usr/bin/file -L'
6096 lt_cv_file_magic_test_file=/shlib/libc.so
6100 # func_win32_libid is a shell function defined in ltmain.sh
6101 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6102 lt_cv_file_magic_cmd='func_win32_libid'
6106 # Base MSYS/MinGW do not provide the 'file' command needed by
6107 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6108 # unless we find 'file', for example because we are cross-compiling.
6109 if ( file / ) >/dev/null 2>&1; then
6110 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6111 lt_cv_file_magic_cmd='func_win32_libid'
6113 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6114 lt_cv_file_magic_cmd='$OBJDUMP -f'
6119 # use the weaker test based on 'objdump'. See mingw*.
6120 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6121 lt_cv_file_magic_cmd='$OBJDUMP -f'
6124 darwin* | rhapsody*)
6125 lt_cv_deplibs_check_method=pass_all
6128 freebsd* | dragonfly*)
6129 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6132 # Not sure whether the presence of OpenBSD here was a mistake.
6133 # Let's accept both of them until this is cleared up.
6134 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6135 lt_cv_file_magic_cmd=/usr/bin/file
6136 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6140 lt_cv_deplibs_check_method=pass_all
6145 lt_cv_deplibs_check_method=pass_all
6148 hpux10.20* | hpux11*)
6149 lt_cv_file_magic_cmd=/usr/bin/file
6152 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6153 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6156 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]'
6157 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6160 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6161 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6167 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6168 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6171 irix5* | irix6* | nonstopux*)
6173 *-32|*"-32 ") libmagic=32-bit;;
6174 *-n32|*"-n32 ") libmagic=N32;;
6175 *-64|*"-64 ") libmagic=64-bit;;
6176 *) libmagic=never-match;;
6178 lt_cv_deplibs_check_method=pass_all
6181 # This must be Linux ELF.
6182 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6183 lt_cv_deplibs_check_method=pass_all
6187 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6188 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6190 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6195 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6196 lt_cv_file_magic_cmd=/usr/bin/file
6197 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6201 lt_cv_deplibs_check_method=pass_all
6205 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6206 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6208 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6212 osf3* | osf4* | osf5*)
6213 lt_cv_deplibs_check_method=pass_all
6217 lt_cv_deplibs_check_method=pass_all
6221 lt_cv_deplibs_check_method=pass_all
6224 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6225 lt_cv_deplibs_check_method=pass_all
6229 case $host_vendor in
6231 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]'
6232 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6235 lt_cv_deplibs_check_method=pass_all
6238 lt_cv_file_magic_cmd='/bin/file'
6239 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6242 lt_cv_file_magic_cmd='/bin/file'
6243 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6244 lt_cv_file_magic_test_file=/lib/libc.so
6247 lt_cv_deplibs_check_method=pass_all
6250 lt_cv_deplibs_check_method=pass_all
6256 lt_cv_deplibs_check_method=pass_all
6261 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6262 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6263 file_magic_cmd=$lt_cv_file_magic_cmd
6264 deplibs_check_method=$lt_cv_deplibs_check_method
6265 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6278 if test -n "$ac_tool_prefix"; then
6279 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6280 set dummy ${ac_tool_prefix}ar; ac_word=$2
6281 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6282 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6283 if test "${ac_cv_prog_AR+set}" = set; then
6284 echo $ECHO_N "(cached
) $ECHO_C" >&6
6286 if test -n "$AR"; then
6287 ac_cv_prog_AR="$AR" # Let the user override the test.
6289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6293 test -z "$as_dir" && as_dir=.
6294 for ac_exec_ext in '' $ac_executable_extensions; do
6295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6296 ac_cv_prog_AR="${ac_tool_prefix}ar"
6297 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6306 if test -n "$AR"; then
6307 echo "$as_me:$LINENO: result
: $AR" >&5
6308 echo "${ECHO_T}$AR" >&6
6310 echo "$as_me:$LINENO: result
: no
" >&5
6311 echo "${ECHO_T}no
" >&6
6315 if test -z "$ac_cv_prog_AR"; then
6317 # Extract the first word of "ar", so it can be a program name with args.
6318 set dummy ar; ac_word=$2
6319 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6320 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6321 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6322 echo $ECHO_N "(cached
) $ECHO_C" >&6
6324 if test -n "$ac_ct_AR"; then
6325 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6331 test -z "$as_dir" && as_dir=.
6332 for ac_exec_ext in '' $ac_executable_extensions; do
6333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6334 ac_cv_prog_ac_ct_AR="ar"
6335 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6341 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
6344 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6345 if test -n "$ac_ct_AR"; then
6346 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6347 echo "${ECHO_T}$ac_ct_AR" >&6
6349 echo "$as_me:$LINENO: result
: no
" >&5
6350 echo "${ECHO_T}no
" >&6
6358 test -z "$AR" && AR=ar
6359 test -z "$AR_FLAGS" && AR_FLAGS=cru
6371 if test -n "$ac_tool_prefix"; then
6372 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6373 set dummy ${ac_tool_prefix}strip; ac_word=$2
6374 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6375 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6376 if test "${ac_cv_prog_STRIP+set}" = set; then
6377 echo $ECHO_N "(cached
) $ECHO_C" >&6
6379 if test -n "$STRIP"; then
6380 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6386 test -z "$as_dir" && as_dir=.
6387 for ac_exec_ext in '' $ac_executable_extensions; do
6388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6389 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6390 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6398 STRIP=$ac_cv_prog_STRIP
6399 if test -n "$STRIP"; then
6400 echo "$as_me:$LINENO: result
: $STRIP" >&5
6401 echo "${ECHO_T}$STRIP" >&6
6403 echo "$as_me:$LINENO: result
: no
" >&5
6404 echo "${ECHO_T}no
" >&6
6408 if test -z "$ac_cv_prog_STRIP"; then
6410 # Extract the first word of "strip
", so it can be a program name with args.
6411 set dummy strip; ac_word=$2
6412 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6413 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6414 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6415 echo $ECHO_N "(cached
) $ECHO_C" >&6
6417 if test -n "$ac_ct_STRIP"; then
6418 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6424 test -z "$as_dir" && as_dir=.
6425 for ac_exec_ext in '' $ac_executable_extensions; do
6426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6427 ac_cv_prog_ac_ct_STRIP="strip
"
6428 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6434 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6437 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6438 if test -n "$ac_ct_STRIP"; then
6439 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6440 echo "${ECHO_T}$ac_ct_STRIP" >&6
6442 echo "$as_me:$LINENO: result
: no
" >&5
6443 echo "${ECHO_T}no
" >&6
6448 STRIP="$ac_cv_prog_STRIP"
6451 test -z "$STRIP" && STRIP=:
6458 if test -n "$ac_tool_prefix"; then
6459 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6460 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6461 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6462 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6463 if test "${ac_cv_prog_RANLIB+set}" = set; then
6464 echo $ECHO_N "(cached
) $ECHO_C" >&6
6466 if test -n "$RANLIB"; then
6467 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6473 test -z "$as_dir" && as_dir=.
6474 for ac_exec_ext in '' $ac_executable_extensions; do
6475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6476 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6477 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6485 RANLIB=$ac_cv_prog_RANLIB
6486 if test -n "$RANLIB"; then
6487 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6488 echo "${ECHO_T}$RANLIB" >&6
6490 echo "$as_me:$LINENO: result
: no
" >&5
6491 echo "${ECHO_T}no
" >&6
6495 if test -z "$ac_cv_prog_RANLIB"; then
6496 ac_ct_RANLIB=$RANLIB
6497 # Extract the first word of "ranlib
", so it can be a program name with args.
6498 set dummy ranlib; ac_word=$2
6499 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6500 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6501 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6502 echo $ECHO_N "(cached
) $ECHO_C" >&6
6504 if test -n "$ac_ct_RANLIB"; then
6505 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6511 test -z "$as_dir" && as_dir=.
6512 for ac_exec_ext in '' $ac_executable_extensions; do
6513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6514 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6515 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6521 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6524 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6525 if test -n "$ac_ct_RANLIB"; then
6526 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6527 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6529 echo "$as_me:$LINENO: result
: no
" >&5
6530 echo "${ECHO_T}no
" >&6
6533 RANLIB=$ac_ct_RANLIB
6535 RANLIB="$ac_cv_prog_RANLIB"
6538 test -z "$RANLIB" && RANLIB=:
6545 # Determine commands to create old-style static archives.
6546 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6547 old_postinstall_cmds='chmod 644 $oldlib'
6548 old_postuninstall_cmds=
6550 if test -n "$RANLIB"; then
6553 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6556 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6559 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6595 # If no C compiler was specified, use CC.
6598 # If no C compiler flags were specified, use CFLAGS.
6599 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6601 # Allow CC to be a program name with arguments.
6605 # Check for command to grab the raw symbol name followed by C symbol from nm.
6606 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6607 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6608 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6609 echo $ECHO_N "(cached
) $ECHO_C" >&6
6612 # These are sane defaults that work on at least a few old systems.
6613 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6615 # Character class describing NM global symbol codes.
6616 symcode='[BCDEGRST]'
6618 # Regexp to match symbols that can be accessed directly from C.
6619 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6621 # Define system-specific variables.
6626 cygwin* | mingw* | pw32* | cegcc*)
6627 symcode='[ABCDGISTW]'
6630 if test "$host_cpu" = ia64; then
6631 symcode='[ABCDEGRST]'
6635 symcode='[BCDEGRST]'
6638 symcode='[BCDEGQRST]'
6649 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6657 # If we're using GNU nm, then use its standard symbol codes.
6658 case `$NM -V 2>&1` in
6659 *GNU* | *'with BFD'*)
6660 symcode='[ABCDGIRSTW]' ;;
6663 # Transform an extracted symbol line into a proper C declaration.
6664 # Some systems (esp. on ia64) link data and code symbols differently,
6665 # so use this general approach.
6666 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6668 # Transform an extracted symbol line into symbol name and symbol address
6669 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6670 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6672 # Handle CRLF in mingw tool chain
6676 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6680 # Try without a prefix underscore, then with it.
6681 for ac_symprfx in "" "_
"; do
6683 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6684 symxfrm="\\1 $ac_symprfx\\2 \\2"
6686 # Write the raw and C identifiers.
6687 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6688 # Fake it for dumpbin and say T for any non-static function
6689 # and D for any global variable.
6690 # Also find C++ and __fastcall symbols from MSVC++,
6691 # which start with @ or ?.
6692 lt_cv_sys_global_symbol_pipe="$AWK '"\
6693 " {last_section=section; section=\$ 3};"\
6694 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6695 " \$ 0!~/External *\|/{next};"\
6696 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6697 " {if(hide[section]) next};"\
6698 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6699 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6700 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6701 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6702 " ' prfx
=^
$ac_symprfx"
6704 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6707 # Check to see that the pipe works correctly.
6711 cat > conftest.$ac_ext <<_LT_EOF
6716 void nm_test_func(void);
6717 void nm_test_func(void){}
6721 int main(){nm_test_var='a';nm_test_func();return(0);}
6724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6725 (eval $ac_compile) 2>&5
6727 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6728 (exit $ac_status); }; then
6729 # Now try to grab the symbols.
6731 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6732 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6734 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6735 (exit $ac_status); } && test -s "$nlist"; then
6736 # Try sorting and uniquifying the output.
6737 if sort "$nlist" | uniq > "$nlist"T; then
6738 mv -f "$nlist"T "$nlist"
6743 # Make sure that we snagged all the symbols we need.
6744 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6745 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6746 cat <<_LT_EOF > conftest.$ac_ext
6752 # Now generate the symbol file.
6753 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6755 cat <<_LT_EOF >> conftest.$ac_ext
6757 /* The mapping between symbol names and symbols. */
6762 lt__PROGRAM__LTX_preloaded_symbols[] =
6764 { "@PROGRAM@
", (void *) 0 },
6766 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6767 cat <<\_LT_EOF >> conftest.$ac_ext
6771 /* This works around a problem in FreeBSD linker */
6772 #ifdef FREEBSD_WORKAROUND
6773 static const void *lt_preloaded_setup() {
6774 return lt__PROGRAM__LTX_preloaded_symbols;
6782 # Now try linking the two files.
6783 mv conftest.$ac_objext conftstm.$ac_objext
6784 lt_save_LIBS="$LIBS"
6785 lt_save_CFLAGS="$CFLAGS"
6786 LIBS="conftstm.
$ac_objext"
6787 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6789 (eval $ac_link) 2>&5
6791 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6792 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6795 LIBS="$lt_save_LIBS"
6796 CFLAGS="$lt_save_CFLAGS"
6798 echo "cannot
find nm_test_func
in $nlist" >&5
6801 echo "cannot
find nm_test_var
in $nlist" >&5
6804 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6807 echo "$progname: failed program was
:" >&5
6808 cat conftest.$ac_ext >&5
6810 rm -rf conftest* conftst*
6812 # Do not use the global_symbol_pipe unless it works.
6813 if test "$pipe_works" = yes; then
6816 lt_cv_sys_global_symbol_pipe=
6822 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6823 lt_cv_sys_global_symbol_to_cdecl=
6825 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6826 echo "$as_me:$LINENO: result
: failed
" >&5
6827 echo "${ECHO_T}failed
" >&6
6829 echo "$as_me:$LINENO: result
: ok
" >&5
6830 echo "${ECHO_T}ok
" >&6
6854 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6855 if test "${enable_libtool_lock+set}" = set; then
6856 enableval="$enable_libtool_lock"
6859 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6861 # Some flags need to be propagated to the compiler or linker for good
6865 # Find out which ABI we are using.
6866 echo 'int i;' > conftest.$ac_ext
6867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6868 (eval $ac_compile) 2>&5
6870 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6871 (exit $ac_status); }; then
6872 case `/usr/bin/file conftest.$ac_objext` in
6884 # Find out which ABI we are using.
6885 echo '#line 6885 "configure
"' > conftest.$ac_ext
6886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6887 (eval $ac_compile) 2>&5
6889 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6890 (exit $ac_status); }; then
6891 if test "$lt_cv_prog_gnu_ld" = yes; then
6892 case `/usr/bin/file conftest.$ac_objext` in
6894 LD="${LD-ld} -melf32bsmip"
6897 LD="${LD-ld} -melf32bmipn32"
6900 LD="${LD-ld} -melf64bmip"
6904 case `/usr/bin/file conftest.$ac_objext` in
6920 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6921 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6922 # Find out which ABI we are using.
6923 echo 'int i;' > conftest.$ac_ext
6924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6925 (eval $ac_compile) 2>&5
6927 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6928 (exit $ac_status); }; then
6929 case `/usr/bin/file conftest.o` in
6932 x86_64-*kfreebsd*-gnu)
6933 LD="${LD-ld} -m elf_i386_fbsd
"
6936 LD="${LD-ld} -m elf_i386
"
6938 ppc64-*linux*|powerpc64-*linux*)
6939 LD="${LD-ld} -m elf32ppclinux
"
6942 LD="${LD-ld} -m elf_s390
"
6945 LD="${LD-ld} -m elf32_sparc
"
6951 x86_64-*kfreebsd*-gnu)
6952 LD="${LD-ld} -m elf_x86_64_fbsd
"
6955 LD="${LD-ld} -m elf_x86_64
"
6957 ppc*-*linux*|powerpc*-*linux*)
6958 LD="${LD-ld} -m elf64ppc
"
6960 s390*-*linux*|s390*-*tpf*)
6961 LD="${LD-ld} -m elf64_s390
"
6964 LD="${LD-ld} -m elf64_sparc
"
6974 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6975 SAVE_CFLAGS="$CFLAGS"
6976 CFLAGS="$CFLAGS -belf"
6977 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
6978 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
6979 if test "${lt_cv_cc_needs_belf+set}" = set; then
6980 echo $ECHO_N "(cached
) $ECHO_C" >&6
6983 ac_cpp='$CPP $CPPFLAGS'
6984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6988 cat >conftest.$ac_ext <<_ACEOF
6991 cat confdefs.h >>conftest.$ac_ext
6992 cat >>conftest.$ac_ext <<_ACEOF
6993 /* end confdefs.h. */
7003 rm -f conftest.$ac_objext conftest$ac_exeext
7004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7005 (eval $ac_link) 2>conftest.er1
7007 grep -v '^ *+' conftest.er1 >conftest.err
7009 cat conftest.err >&5
7010 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7011 (exit $ac_status); } &&
7012 { ac_try='test -z "$ac_c_werror_flag"
7013 || test ! -s conftest.err'
7014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7017 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7018 (exit $ac_status); }; } &&
7019 { ac_try='test -s conftest$ac_exeext'
7020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7023 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7024 (exit $ac_status); }; }; then
7025 lt_cv_cc_needs_belf=yes
7027 echo "$as_me: failed program was
:" >&5
7028 sed 's/^/| /' conftest.$ac_ext >&5
7030 lt_cv_cc_needs_belf=no
7032 rm -f conftest.err conftest.$ac_objext \
7033 conftest$ac_exeext conftest.$ac_ext
7035 ac_cpp='$CPP $CPPFLAGS'
7036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7041 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7042 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7043 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7044 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7045 CFLAGS="$SAVE_CFLAGS"
7049 # Find out which ABI we are using.
7050 echo 'int i;' > conftest.$ac_ext
7051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7052 (eval $ac_compile) 2>&5
7054 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7055 (exit $ac_status); }; then
7056 case `/usr/bin/file conftest.o` in
7058 case $lt_cv_prog_gnu_ld in
7059 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7061 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7073 need_locks="$enable_libtool_lock"
7077 rhapsody* | darwin*)
7078 if test -n "$ac_tool_prefix"; then
7079 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7080 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7081 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7082 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7083 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7084 echo $ECHO_N "(cached
) $ECHO_C" >&6
7086 if test -n "$DSYMUTIL"; then
7087 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7093 test -z "$as_dir" && as_dir=.
7094 for ac_exec_ext in '' $ac_executable_extensions; do
7095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7096 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7097 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7105 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7106 if test -n "$DSYMUTIL"; then
7107 echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
7108 echo "${ECHO_T}$DSYMUTIL" >&6
7110 echo "$as_me:$LINENO: result
: no
" >&5
7111 echo "${ECHO_T}no
" >&6
7115 if test -z "$ac_cv_prog_DSYMUTIL"; then
7116 ac_ct_DSYMUTIL=$DSYMUTIL
7117 # Extract the first word of "dsymutil
", so it can be a program name with args.
7118 set dummy dsymutil; ac_word=$2
7119 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7120 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7121 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7122 echo $ECHO_N "(cached
) $ECHO_C" >&6
7124 if test -n "$ac_ct_DSYMUTIL"; then
7125 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7131 test -z "$as_dir" && as_dir=.
7132 for ac_exec_ext in '' $ac_executable_extensions; do
7133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7134 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7135 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7141 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
7144 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7145 if test -n "$ac_ct_DSYMUTIL"; then
7146 echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
7147 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
7149 echo "$as_me:$LINENO: result
: no
" >&5
7150 echo "${ECHO_T}no
" >&6
7153 DSYMUTIL=$ac_ct_DSYMUTIL
7155 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7158 if test -n "$ac_tool_prefix"; then
7159 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7160 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7161 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7162 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7163 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7164 echo $ECHO_N "(cached
) $ECHO_C" >&6
7166 if test -n "$NMEDIT"; then
7167 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7173 test -z "$as_dir" && as_dir=.
7174 for ac_exec_ext in '' $ac_executable_extensions; do
7175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7176 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7177 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7185 NMEDIT=$ac_cv_prog_NMEDIT
7186 if test -n "$NMEDIT"; then
7187 echo "$as_me:$LINENO: result
: $NMEDIT" >&5
7188 echo "${ECHO_T}$NMEDIT" >&6
7190 echo "$as_me:$LINENO: result
: no
" >&5
7191 echo "${ECHO_T}no
" >&6
7195 if test -z "$ac_cv_prog_NMEDIT"; then
7196 ac_ct_NMEDIT=$NMEDIT
7197 # Extract the first word of "nmedit
", so it can be a program name with args.
7198 set dummy nmedit; ac_word=$2
7199 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7200 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7201 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7202 echo $ECHO_N "(cached
) $ECHO_C" >&6
7204 if test -n "$ac_ct_NMEDIT"; then
7205 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7211 test -z "$as_dir" && as_dir=.
7212 for ac_exec_ext in '' $ac_executable_extensions; do
7213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7214 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7215 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7221 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
7224 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7225 if test -n "$ac_ct_NMEDIT"; then
7226 echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
7227 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
7229 echo "$as_me:$LINENO: result
: no
" >&5
7230 echo "${ECHO_T}no
" >&6
7233 NMEDIT=$ac_ct_NMEDIT
7235 NMEDIT="$ac_cv_prog_NMEDIT"
7238 if test -n "$ac_tool_prefix"; then
7239 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7240 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7241 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7242 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7243 if test "${ac_cv_prog_LIPO+set}" = set; then
7244 echo $ECHO_N "(cached
) $ECHO_C" >&6
7246 if test -n "$LIPO"; then
7247 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7253 test -z "$as_dir" && as_dir=.
7254 for ac_exec_ext in '' $ac_executable_extensions; do
7255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7256 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7257 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7265 LIPO=$ac_cv_prog_LIPO
7266 if test -n "$LIPO"; then
7267 echo "$as_me:$LINENO: result
: $LIPO" >&5
7268 echo "${ECHO_T}$LIPO" >&6
7270 echo "$as_me:$LINENO: result
: no
" >&5
7271 echo "${ECHO_T}no
" >&6
7275 if test -z "$ac_cv_prog_LIPO"; then
7277 # Extract the first word of "lipo
", so it can be a program name with args.
7278 set dummy lipo; ac_word=$2
7279 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7280 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7281 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7282 echo $ECHO_N "(cached
) $ECHO_C" >&6
7284 if test -n "$ac_ct_LIPO"; then
7285 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7291 test -z "$as_dir" && as_dir=.
7292 for ac_exec_ext in '' $ac_executable_extensions; do
7293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7294 ac_cv_prog_ac_ct_LIPO="lipo
"
7295 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7301 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
7304 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7305 if test -n "$ac_ct_LIPO"; then
7306 echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
7307 echo "${ECHO_T}$ac_ct_LIPO" >&6
7309 echo "$as_me:$LINENO: result
: no
" >&5
7310 echo "${ECHO_T}no
" >&6
7315 LIPO="$ac_cv_prog_LIPO"
7318 if test -n "$ac_tool_prefix"; then
7319 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7320 set dummy ${ac_tool_prefix}otool; ac_word=$2
7321 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7322 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7323 if test "${ac_cv_prog_OTOOL+set}" = set; then
7324 echo $ECHO_N "(cached
) $ECHO_C" >&6
7326 if test -n "$OTOOL"; then
7327 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333 test -z "$as_dir" && as_dir=.
7334 for ac_exec_ext in '' $ac_executable_extensions; do
7335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7336 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7337 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7345 OTOOL=$ac_cv_prog_OTOOL
7346 if test -n "$OTOOL"; then
7347 echo "$as_me:$LINENO: result
: $OTOOL" >&5
7348 echo "${ECHO_T}$OTOOL" >&6
7350 echo "$as_me:$LINENO: result
: no
" >&5
7351 echo "${ECHO_T}no
" >&6
7355 if test -z "$ac_cv_prog_OTOOL"; then
7357 # Extract the first word of "otool
", so it can be a program name with args.
7358 set dummy otool; ac_word=$2
7359 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7360 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7361 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7362 echo $ECHO_N "(cached
) $ECHO_C" >&6
7364 if test -n "$ac_ct_OTOOL"; then
7365 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 test -z "$as_dir" && as_dir=.
7372 for ac_exec_ext in '' $ac_executable_extensions; do
7373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7374 ac_cv_prog_ac_ct_OTOOL="otool
"
7375 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7381 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
7384 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7385 if test -n "$ac_ct_OTOOL"; then
7386 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
7387 echo "${ECHO_T}$ac_ct_OTOOL" >&6
7389 echo "$as_me:$LINENO: result
: no
" >&5
7390 echo "${ECHO_T}no
" >&6
7395 OTOOL="$ac_cv_prog_OTOOL"
7398 if test -n "$ac_tool_prefix"; then
7399 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7400 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7401 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7402 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7403 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7404 echo $ECHO_N "(cached
) $ECHO_C" >&6
7406 if test -n "$OTOOL64"; then
7407 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7413 test -z "$as_dir" && as_dir=.
7414 for ac_exec_ext in '' $ac_executable_extensions; do
7415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7416 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7417 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7425 OTOOL64=$ac_cv_prog_OTOOL64
7426 if test -n "$OTOOL64"; then
7427 echo "$as_me:$LINENO: result
: $OTOOL64" >&5
7428 echo "${ECHO_T}$OTOOL64" >&6
7430 echo "$as_me:$LINENO: result
: no
" >&5
7431 echo "${ECHO_T}no
" >&6
7435 if test -z "$ac_cv_prog_OTOOL64"; then
7436 ac_ct_OTOOL64=$OTOOL64
7437 # Extract the first word of "otool64
", so it can be a program name with args.
7438 set dummy otool64; ac_word=$2
7439 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7440 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7441 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7442 echo $ECHO_N "(cached
) $ECHO_C" >&6
7444 if test -n "$ac_ct_OTOOL64"; then
7445 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7451 test -z "$as_dir" && as_dir=.
7452 for ac_exec_ext in '' $ac_executable_extensions; do
7453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7454 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7455 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7461 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
7464 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7465 if test -n "$ac_ct_OTOOL64"; then
7466 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
7467 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
7469 echo "$as_me:$LINENO: result
: no
" >&5
7470 echo "${ECHO_T}no
" >&6
7473 OTOOL64=$ac_ct_OTOOL64
7475 OTOOL64="$ac_cv_prog_OTOOL64"
7504 echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
7505 echo $ECHO_N "checking
for -single_module linker flag...
$ECHO_C" >&6
7506 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7507 echo $ECHO_N "(cached
) $ECHO_C" >&6
7509 lt_cv_apple_cc_single_mod=no
7510 if test -z "${LT_MULTI_MODULE}"; then
7511 # By default we will add the -single_module flag. You can override
7512 # by either setting the environment variable LT_MULTI_MODULE
7513 # non-empty at configure time, or by adding -multi_module to the
7515 rm -rf libconftest.dylib*
7516 echo "int foo
(void
){return 1;}" > conftest.c
7517 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7518 -dynamiclib -Wl,-single_module conftest.c
" >&5
7519 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7520 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7522 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7523 lt_cv_apple_cc_single_mod=yes
7525 cat conftest.err >&5
7527 rm -rf libconftest.dylib*
7531 echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
7532 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
7533 echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
7534 echo $ECHO_N "checking
for -exported_symbols_list linker flag...
$ECHO_C" >&6
7535 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7536 echo $ECHO_N "(cached
) $ECHO_C" >&6
7538 lt_cv_ld_exported_symbols_list=no
7539 save_LDFLAGS=$LDFLAGS
7540 echo "_main
" > conftest.sym
7541 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7542 cat >conftest.$ac_ext <<_ACEOF
7545 cat confdefs.h >>conftest.$ac_ext
7546 cat >>conftest.$ac_ext <<_ACEOF
7547 /* end confdefs.h. */
7557 rm -f conftest.$ac_objext conftest$ac_exeext
7558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7559 (eval $ac_link) 2>conftest.er1
7561 grep -v '^ *+' conftest.er1 >conftest.err
7563 cat conftest.err >&5
7564 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7565 (exit $ac_status); } &&
7566 { ac_try='test -z "$ac_c_werror_flag"
7567 || test ! -s conftest.err'
7568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7571 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7572 (exit $ac_status); }; } &&
7573 { ac_try='test -s conftest$ac_exeext'
7574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7577 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7578 (exit $ac_status); }; }; then
7579 lt_cv_ld_exported_symbols_list=yes
7581 echo "$as_me: failed program was
:" >&5
7582 sed 's/^/| /' conftest.$ac_ext >&5
7584 lt_cv_ld_exported_symbols_list=no
7586 rm -f conftest.err conftest.$ac_objext \
7587 conftest$ac_exeext conftest.$ac_ext
7588 LDFLAGS="$save_LDFLAGS"
7591 echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
7592 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
7594 rhapsody* | darwin1.[012])
7595 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7597 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7598 darwin*) # darwin 5.x on
7599 # if running on 10.5 or later, the deployment target defaults
7600 # to the OS version, if on x86, and 10.4, the deployment
7601 # target defaults to 10.4. Don't you love it?
7602 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7603 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7604 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7606 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7608 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7612 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7613 _lt_dar_single_mod='$single_module'
7615 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7616 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7618 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7620 if test "$DSYMUTIL" != ":"; then
7621 _lt_dsymutil='~$DSYMUTIL $lib || :'
7629 for ac_header in dlfcn.h
7631 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7632 echo "$as_me:$LINENO: checking
for $ac_header" >&5
7633 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6
7634 if eval "test \"\
${$as_ac_Header+set}\" = set"; then
7635 echo $ECHO_N "(cached
) $ECHO_C" >&6
7637 cat >conftest.$ac_ext <<_ACEOF
7640 cat confdefs.h >>conftest.$ac_ext
7641 cat >>conftest.$ac_ext <<_ACEOF
7642 /* end confdefs.h. */
7643 $ac_includes_default
7645 #include <$ac_header>
7647 rm -f conftest.$ac_objext
7648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7649 (eval $ac_compile) 2>conftest.er1
7651 grep -v '^ *+' conftest.er1 >conftest.err
7653 cat conftest.err >&5
7654 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7655 (exit $ac_status); } &&
7656 { ac_try='test -z "$ac_c_werror_flag"
7657 || test ! -s conftest.err'
7658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7661 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7662 (exit $ac_status); }; } &&
7663 { ac_try='test -s conftest.$ac_objext'
7664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7667 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7668 (exit $ac_status); }; }; then
7669 eval "$as_ac_Header=yes"
7671 echo "$as_me: failed program was
:" >&5
7672 sed 's/^/| /' conftest.$ac_ext >&5
7674 eval "$as_ac_Header=no
"
7676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7678 echo "$as_me:$LINENO: result
: `eval echo '${'$as_ac_Header'}'`" >&5
7679 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7680 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7681 cat >>confdefs.h <<_ACEOF
7682 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7702 # Check whether --enable-static or --disable-static was given.
7703 if test "${enable_static+set}" = set; then
7704 enableval="$enable_static"
7705 p=${PACKAGE-default}
7707 yes) enable_static=yes ;;
7708 no) enable_static=no ;;
7711 # Look at the argument we got. We use all the common list separators.
7712 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7713 for pkg in $enableval; do
7715 if test "X
$pkg" = "X
$p"; then
7734 # Check whether --with-pic or --without-pic was given.
7735 if test "${with_pic+set}" = set; then
7742 test -z "$pic_mode" && pic_mode=default
7750 # Check whether --enable-fast-install or --disable-fast-install was given.
7751 if test "${enable_fast_install+set}" = set; then
7752 enableval="$enable_fast_install"
7753 p=${PACKAGE-default}
7755 yes) enable_fast_install=yes ;;
7756 no) enable_fast_install=no ;;
7758 enable_fast_install=no
7759 # Look at the argument we got. We use all the common list separators.
7760 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7761 for pkg in $enableval; do
7763 if test "X
$pkg" = "X
$p"; then
7764 enable_fast_install=yes
7771 enable_fast_install=yes
7783 # This can be used to rebuild libtool when needed
7784 LIBTOOL_DEPS="$ltmain"
7786 # Always use our own libtool.
7787 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7813 test -z "$LN_S" && LN_S="ln -s"
7828 if test -n "${ZSH_VERSION+set}" ; then
7829 setopt NO_GLOB_SUBST
7832 echo "$as_me:$LINENO: checking
for objdir
" >&5
7833 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6
7834 if test "${lt_cv_objdir+set}" = set; then
7835 echo $ECHO_N "(cached
) $ECHO_C" >&6
7837 rm -f .libs 2>/dev/null
7838 mkdir .libs 2>/dev/null
7839 if test -d .libs; then
7842 # MS-DOS does not allow filenames that begin with a dot.
7845 rmdir .libs 2>/dev/null
7847 echo "$as_me:$LINENO: result
: $lt_cv_objdir" >&5
7848 echo "${ECHO_T}$lt_cv_objdir" >&6
7849 objdir=$lt_cv_objdir
7855 cat >>confdefs.h <<_ACEOF
7856 #define LT_OBJDIR "$lt_cv_objdir/"
7877 # AIX sometimes has problems with the GCC collect2 program. For some
7878 # reason, if we set the COLLECT_NAMES environment variable, the problems
7879 # vanish in a puff of smoke.
7880 if test "X
${COLLECT_NAMES+set}" != Xset; then
7882 export COLLECT_NAMES
7887 # Sed substitution that helps us do robust quoting. It backslashifies
7888 # metacharacters that are still active within double-quoted strings.
7889 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7891 # Same as above, but do not quote variable references.
7892 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
7894 # Sed substitution to delay expansion of an escaped shell variable in a
7895 # double_quote_subst'ed string.
7896 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7898 # Sed substitution to delay expansion of an escaped single quote.
7899 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7901 # Sed substitution to avoid accidental globbing in evaled expressions
7902 no_glob_subst
='s/\*/\\\*/g'
7906 can_build_shared
=yes
7908 # All known linkers require a `.a' archive for static linking (except MSVC,
7909 # which needs '.lib').
7912 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7915 old_CFLAGS
="$CFLAGS"
7917 # Set sane defaults for various variables
7918 test -z "$CC" && CC
=cc
7919 test -z "$LTCC" && LTCC
=$CC
7920 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7921 test -z "$LD" && LD
=ld
7922 test -z "$ac_objext" && ac_objext
=o
7924 for cc_temp
in $compiler""; do
7926 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7927 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7932 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7935 # Only perform the check for file, if the check method requires it
7936 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7937 case $deplibs_check_method in
7939 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7940 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7941 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7942 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7943 echo $ECHO_N "(cached) $ECHO_C" >&6
7947 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7950 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7951 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7952 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7953 for ac_dir
in $ac_dummy; do
7955 test -z "$ac_dir" && ac_dir
=.
7956 if test -f $ac_dir/${ac_tool_prefix}file; then
7957 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7958 if test -n "$file_magic_test_file"; then
7959 case $deplibs_check_method in
7961 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7962 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7963 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7964 $EGREP "$file_magic_regex" > /dev
/null
; then
7969 *** Warning: the command libtool uses to detect shared libraries,
7970 *** $file_magic_cmd, produces output that libtool cannot recognize.
7971 *** The result is that libtool may fail to recognize shared libraries
7972 *** as such. This will affect the creation of libtool libraries that
7973 *** depend on shared libraries, but programs linked with such libtool
7974 *** libraries will work regardless of this problem. Nevertheless, you
7975 *** may want to report the problem to your system manager and/or to
7976 *** bug-libtool@gnu.org
7986 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7991 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7992 if test -n "$MAGIC_CMD"; then
7993 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7994 echo "${ECHO_T}$MAGIC_CMD" >&6
7996 echo "$as_me:$LINENO: result: no" >&5
7997 echo "${ECHO_T}no" >&6
8004 if test -z "$lt_cv_path_MAGIC_CMD"; then
8005 if test -n "$ac_tool_prefix"; then
8006 echo "$as_me:$LINENO: checking for file" >&5
8007 echo $ECHO_N "checking for file... $ECHO_C" >&6
8008 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8009 echo $ECHO_N "(cached) $ECHO_C" >&6
8013 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8016 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8017 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8018 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8019 for ac_dir
in $ac_dummy; do
8021 test -z "$ac_dir" && ac_dir
=.
8022 if test -f $ac_dir/file; then
8023 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8024 if test -n "$file_magic_test_file"; then
8025 case $deplibs_check_method in
8027 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8028 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8029 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8030 $EGREP "$file_magic_regex" > /dev
/null
; then
8035 *** Warning: the command libtool uses to detect shared libraries,
8036 *** $file_magic_cmd, produces output that libtool cannot recognize.
8037 *** The result is that libtool may fail to recognize shared libraries
8038 *** as such. This will affect the creation of libtool libraries that
8039 *** depend on shared libraries, but programs linked with such libtool
8040 *** libraries will work regardless of this problem. Nevertheless, you
8041 *** may want to report the problem to your system manager and/or to
8042 *** bug-libtool@gnu.org
8052 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8057 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8058 if test -n "$MAGIC_CMD"; then
8059 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8060 echo "${ECHO_T}$MAGIC_CMD" >&6
8062 echo "$as_me:$LINENO: result: no" >&5
8063 echo "${ECHO_T}no" >&6
8076 # Use C for the default configuration in the libtool script
8080 ac_cpp
='$CPP $CPPFLAGS'
8081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8086 # Source file extension for C test sources.
8089 # Object file extension for compiled C test sources.
8093 # Code to be used in simple compile tests
8094 lt_simple_compile_test_code
="int some_variable = 0;"
8096 # Code to be used in simple link tests
8097 lt_simple_link_test_code
='int main(){return(0);}'
8105 # If no C compiler was specified, use CC.
8108 # If no C compiler flags were specified, use CFLAGS.
8109 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8111 # Allow CC to be a program name with arguments.
8114 # Save the default compiler, since it gets overwritten when the other
8115 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8116 compiler_DEFAULT
=$CC
8118 # save warnings/boilerplate of simple test code
8119 ac_outfile
=conftest.
$ac_objext
8120 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8121 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8122 _lt_compiler_boilerplate
=`cat conftest.err`
8125 ac_outfile
=conftest.
$ac_objext
8126 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8127 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8128 _lt_linker_boilerplate
=`cat conftest.err`
8133 ## There is no encapsulation within the following macros, do not change
8134 ## the running order or otherwise move them around unless you know exactly
8135 ## what you are doing...
8136 if test -n "$compiler"; then
8138 lt_prog_compiler_no_builtin_flag
=
8140 if test "$GCC" = yes; then
8141 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8143 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8144 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
8145 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8146 echo $ECHO_N "(cached) $ECHO_C" >&6
8148 lt_cv_prog_compiler_rtti_exceptions
=no
8149 ac_outfile
=conftest.
$ac_objext
8150 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8151 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8152 # Insert the option either (1) after the last *FLAGS variable, or
8153 # (2) before a word containing "conftest.", or (3) at the end.
8154 # Note that $ac_compile itself does not contain backslashes and begins
8155 # with a dollar sign (not a hyphen), so the echo should work correctly.
8156 # The option is referenced via a variable to avoid confusing sed.
8157 lt_compile
=`echo "$ac_compile" | $SED \
8158 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8159 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8160 -e 's:$: $lt_compiler_flag:'`
8161 (eval echo "\"\$as_me:8161: $lt_compile\"" >&5)
8162 (eval "$lt_compile" 2>conftest.err
)
8164 cat conftest.err
>&5
8165 echo "$as_me:8165: \$? = $ac_status" >&5
8166 if (exit $ac_status) && test -s "$ac_outfile"; then
8167 # The compiler can only warn and ignore the option if not recognized
8168 # So say no if there are warnings other than the usual output.
8169 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8170 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8171 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8172 lt_cv_prog_compiler_rtti_exceptions
=yes
8178 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8179 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
8181 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8182 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8194 lt_prog_compiler_wl
=
8195 lt_prog_compiler_pic
=
8196 lt_prog_compiler_static
=
8198 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8199 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8201 if test "$GCC" = yes; then
8202 lt_prog_compiler_wl
='-Wl,'
8203 lt_prog_compiler_static
='-static'
8207 # All AIX code is PIC.
8208 if test "$host_cpu" = ia64
; then
8209 # AIX 5 now supports IA64 processor
8210 lt_prog_compiler_static
='-Bstatic'
8217 # see comment about AmigaOS4 .so support
8218 lt_prog_compiler_pic
='-fPIC'
8221 # FIXME: we need at least 68020 code to build shared libraries, but
8222 # adding the `-m68020' flag to GCC prevents building anything better,
8224 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8229 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8230 # PIC is the default for these OSes.
8233 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8234 # This hack is so that the source file can tell whether it is being
8235 # built for inclusion in a dll (and should export symbols for example).
8236 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8237 # (--disable-auto-import) libraries
8238 lt_prog_compiler_pic
='-DDLL_EXPORT'
8241 darwin
* | rhapsody
*)
8242 # PIC is the default on this platform
8243 # Common symbols not allowed in MH_DYLIB files
8244 lt_prog_compiler_pic
='-fno-common'
8248 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8249 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8250 # sets the default TLS model and affects inlining.
8256 lt_prog_compiler_pic
='-fPIC'
8262 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8263 # Instead, we relocate shared libraries at runtime.
8267 # Just because we use GCC doesn't mean we suddenly get shared libraries
8268 # on systems that don't support them.
8269 lt_prog_compiler_can_build_shared
=no
8274 # QNX uses GNU C++, but need to define -shared option too, otherwise
8276 lt_prog_compiler_pic
='-fPIC -shared'
8280 if test -d /usr
/nec
; then
8281 lt_prog_compiler_pic
=-Kconform_pic
8286 lt_prog_compiler_pic
='-fPIC'
8290 # PORTME Check for flag to pass linker flags through the system compiler.
8293 lt_prog_compiler_wl
='-Wl,'
8294 if test "$host_cpu" = ia64
; then
8295 # AIX 5 now supports IA64 processor
8296 lt_prog_compiler_static
='-Bstatic'
8298 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8302 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8303 # This hack is so that the source file can tell whether it is being
8304 # built for inclusion in a dll (and should export symbols for example).
8305 lt_prog_compiler_pic
='-DDLL_EXPORT'
8308 hpux9
* | hpux10
* | hpux11
*)
8309 lt_prog_compiler_wl
='-Wl,'
8310 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8317 lt_prog_compiler_pic
='+Z'
8320 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8321 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8324 irix5
* | irix6
* | nonstopux
*)
8325 lt_prog_compiler_wl
='-Wl,'
8326 # PIC (with -KPIC) is the default.
8327 lt_prog_compiler_static
='-non_shared'
8330 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8331 case $cc_basename in
8332 # old Intel for x86_64 which still supported -KPIC.
8334 lt_prog_compiler_wl
='-Wl,'
8335 lt_prog_compiler_pic
='-KPIC'
8336 lt_prog_compiler_static
='-static'
8338 # icc used to be incompatible with GCC.
8339 # ICC 10 doesn't accept -KPIC any more.
8341 lt_prog_compiler_wl
='-Wl,'
8342 lt_prog_compiler_pic
='-fPIC'
8343 lt_prog_compiler_static
='-static'
8345 # Lahey Fortran 8.1.
8347 lt_prog_compiler_wl
='-Wl,'
8348 lt_prog_compiler_pic
='--shared'
8349 lt_prog_compiler_static
='--static'
8351 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8352 # Portland Group compilers (*not* the Pentium gcc compiler,
8353 # which looks to be a dead project)
8354 lt_prog_compiler_wl
='-Wl,'
8355 lt_prog_compiler_pic
='-fpic'
8356 lt_prog_compiler_static
='-Bstatic'
8359 lt_prog_compiler_wl
='-Wl,'
8360 # All Alpha code is PIC.
8361 lt_prog_compiler_static
='-non_shared'
8364 # IBM XL C 8.0/Fortran 10.1 on PPC
8365 lt_prog_compiler_wl
='-Wl,'
8366 lt_prog_compiler_pic
='-qpic'
8367 lt_prog_compiler_static
='-qstaticlink'
8370 case `$CC -V 2>&1 | sed 5q` in
8373 lt_prog_compiler_pic
='-KPIC'
8374 lt_prog_compiler_static
='-Bstatic'
8375 lt_prog_compiler_wl
='-Wl,'
8378 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8379 lt_prog_compiler_pic
='-KPIC'
8380 lt_prog_compiler_static
='-Bstatic'
8381 lt_prog_compiler_wl
=''
8389 lt_prog_compiler_pic
='-KPIC'
8390 lt_prog_compiler_static
='-Bstatic'
8394 # QNX uses GNU C++, but need to define -shared option too, otherwise
8396 lt_prog_compiler_pic
='-fPIC -shared'
8399 osf3
* | osf4
* | osf5
*)
8400 lt_prog_compiler_wl
='-Wl,'
8401 # All OSF/1 code is PIC.
8402 lt_prog_compiler_static
='-non_shared'
8406 lt_prog_compiler_static
='-non_shared'
8410 lt_prog_compiler_pic
='-KPIC'
8411 lt_prog_compiler_static
='-Bstatic'
8412 case $cc_basename in
8414 lt_prog_compiler_wl
='-Qoption ld ';;
8416 lt_prog_compiler_wl
='-Wl,';;
8421 lt_prog_compiler_wl
='-Qoption ld '
8422 lt_prog_compiler_pic
='-PIC'
8423 lt_prog_compiler_static
='-Bstatic'
8426 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8427 lt_prog_compiler_wl
='-Wl,'
8428 lt_prog_compiler_pic
='-KPIC'
8429 lt_prog_compiler_static
='-Bstatic'
8433 if test -d /usr
/nec
;then
8434 lt_prog_compiler_pic
='-Kconform_pic'
8435 lt_prog_compiler_static
='-Bstatic'
8439 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8440 lt_prog_compiler_wl
='-Wl,'
8441 lt_prog_compiler_pic
='-KPIC'
8442 lt_prog_compiler_static
='-Bstatic'
8446 lt_prog_compiler_wl
='-Wl,'
8447 lt_prog_compiler_can_build_shared
=no
8451 lt_prog_compiler_pic
='-pic'
8452 lt_prog_compiler_static
='-Bstatic'
8456 lt_prog_compiler_can_build_shared
=no
8462 # For platforms which do not support PIC, -DPIC is meaningless:
8464 lt_prog_compiler_pic
=
8467 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8470 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8471 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8479 # Check to make sure the PIC flag actually works.
8481 if test -n "$lt_prog_compiler_pic"; then
8482 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8483 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8484 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8485 echo $ECHO_N "(cached) $ECHO_C" >&6
8487 lt_cv_prog_compiler_pic_works
=no
8488 ac_outfile
=conftest.
$ac_objext
8489 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8490 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8491 # Insert the option either (1) after the last *FLAGS variable, or
8492 # (2) before a word containing "conftest.", or (3) at the end.
8493 # Note that $ac_compile itself does not contain backslashes and begins
8494 # with a dollar sign (not a hyphen), so the echo should work correctly.
8495 # The option is referenced via a variable to avoid confusing sed.
8496 lt_compile
=`echo "$ac_compile" | $SED \
8497 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8498 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8499 -e 's:$: $lt_compiler_flag:'`
8500 (eval echo "\"\$as_me:8500: $lt_compile\"" >&5)
8501 (eval "$lt_compile" 2>conftest.err
)
8503 cat conftest.err
>&5
8504 echo "$as_me:8504: \$? = $ac_status" >&5
8505 if (exit $ac_status) && test -s "$ac_outfile"; then
8506 # The compiler can only warn and ignore the option if not recognized
8507 # So say no if there are warnings other than the usual output.
8508 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8509 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8510 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8511 lt_cv_prog_compiler_pic_works
=yes
8517 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8518 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
8520 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8521 case $lt_prog_compiler_pic in
8523 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8526 lt_prog_compiler_pic
=
8527 lt_prog_compiler_can_build_shared
=no
8538 # Check to make sure the static flag actually works.
8540 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8541 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8542 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
8543 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8544 echo $ECHO_N "(cached) $ECHO_C" >&6
8546 lt_cv_prog_compiler_static_works
=no
8547 save_LDFLAGS
="$LDFLAGS"
8548 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8549 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8550 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8551 # The linker can only warn and ignore the option if not recognized
8552 # So say no if there are warnings
8553 if test -s conftest.err
; then
8554 # Append any errors to the config.log.
8555 cat conftest.err
1>&5
8556 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8557 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8558 if diff conftest.exp conftest.er2
>/dev
/null
; then
8559 lt_cv_prog_compiler_static_works
=yes
8562 lt_cv_prog_compiler_static_works
=yes
8566 LDFLAGS
="$save_LDFLAGS"
8569 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8570 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
8572 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8575 lt_prog_compiler_static
=
8584 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8585 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8586 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8587 echo $ECHO_N "(cached) $ECHO_C" >&6
8589 lt_cv_prog_compiler_c_o
=no
8590 $RM -r conftest
2>/dev
/null
8594 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8596 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8597 # Insert the option either (1) after the last *FLAGS variable, or
8598 # (2) before a word containing "conftest.", or (3) at the end.
8599 # Note that $ac_compile itself does not contain backslashes and begins
8600 # with a dollar sign (not a hyphen), so the echo should work correctly.
8601 lt_compile
=`echo "$ac_compile" | $SED \
8602 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8603 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8604 -e 's:$: $lt_compiler_flag:'`
8605 (eval echo "\"\$as_me:8605: $lt_compile\"" >&5)
8606 (eval "$lt_compile" 2>out
/conftest.err
)
8608 cat out
/conftest.err
>&5
8609 echo "$as_me:8609: \$? = $ac_status" >&5
8610 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8612 # The compiler can only warn and ignore the option if not recognized
8613 # So say no if there are warnings
8614 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8615 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8616 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8617 lt_cv_prog_compiler_c_o
=yes
8622 # SGI C++ compiler will create directory out/ii_files/ for
8623 # template instantiation
8624 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8625 $RM out
/* && rmdir out
8631 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8632 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8639 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8640 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8641 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8642 echo $ECHO_N "(cached) $ECHO_C" >&6
8644 lt_cv_prog_compiler_c_o
=no
8645 $RM -r conftest
2>/dev
/null
8649 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8651 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8652 # Insert the option either (1) after the last *FLAGS variable, or
8653 # (2) before a word containing "conftest.", or (3) at the end.
8654 # Note that $ac_compile itself does not contain backslashes and begins
8655 # with a dollar sign (not a hyphen), so the echo should work correctly.
8656 lt_compile
=`echo "$ac_compile" | $SED \
8657 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8658 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8659 -e 's:$: $lt_compiler_flag:'`
8660 (eval echo "\"\$as_me:8660: $lt_compile\"" >&5)
8661 (eval "$lt_compile" 2>out
/conftest.err
)
8663 cat out
/conftest.err
>&5
8664 echo "$as_me:8664: \$? = $ac_status" >&5
8665 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8667 # The compiler can only warn and ignore the option if not recognized
8668 # So say no if there are warnings
8669 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8670 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8671 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8672 lt_cv_prog_compiler_c_o
=yes
8677 # SGI C++ compiler will create directory out/ii_files/ for
8678 # template instantiation
8679 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8680 $RM out
/* && rmdir out
8686 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8687 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8692 hard_links
="nottested"
8693 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8694 # do not overwrite the value of need_locks provided by the user
8695 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8696 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8699 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8701 ln conftest.a conftest.b
2>&5 || hard_links
=no
8702 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8703 echo "$as_me:$LINENO: result: $hard_links" >&5
8704 echo "${ECHO_T}$hard_links" >&6
8705 if test "$hard_links" = no
; then
8706 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8707 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8719 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8720 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8723 allow_undefined_flag
=
8724 always_export_symbols
=no
8726 archive_expsym_cmds
=
8727 compiler_needs_object
=no
8728 enable_shared_with_static_runtimes
=no
8729 export_dynamic_flag_spec
=
8730 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8731 hardcode_automatic
=no
8733 hardcode_direct_absolute
=no
8734 hardcode_libdir_flag_spec
=
8735 hardcode_libdir_flag_spec_ld
=
8736 hardcode_libdir_separator
=
8738 hardcode_shlibpath_var
=unsupported
8740 link_all_deplibs
=unknown
8743 old_archive_from_new_cmds
=
8744 old_archive_from_expsyms_cmds
=
8745 thread_safe_flag_spec
=
8746 whole_archive_flag_spec
=
8747 # include_expsyms should be a list of space-separated symbols to be *always*
8748 # included in the symbol list
8750 # exclude_expsyms can be an extended regexp of symbols to exclude
8751 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8752 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8753 # as well as any symbol that contains `d'.
8754 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8755 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8756 # platforms (ab)use it in PIC code, but their linkers get confused if
8757 # the symbol is explicitly referenced. Since portable code cannot
8758 # rely on this symbol name, it's probably fine to never include it in
8759 # preloaded symbol tables.
8760 # Exclude shared library initialization/finalization symbols.
8761 extract_expsyms_cmds
=
8764 cygwin
* | mingw
* | pw32
* | cegcc
*)
8765 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8766 # When not using gcc, we currently assume that we are using
8767 # Microsoft Visual C++.
8768 if test "$GCC" != yes; then
8773 # we just hope/assume this is gcc and not c89 (= MSVC++)
8782 if test "$with_gnu_ld" = yes; then
8783 # If archive_cmds runs LD, not CC, wlarc should be empty
8786 # Set some defaults for GNU ld with shared library support. These
8787 # are reset later if shared libraries are not supported. Putting them
8788 # here allows them to be overridden if necessary.
8789 runpath_var
=LD_RUN_PATH
8790 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8791 export_dynamic_flag_spec
='${wl}--export-dynamic'
8792 # ancient GNU ld didn't support --whole-archive et. al.
8793 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8794 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8796 whole_archive_flag_spec
=
8798 supports_anon_versioning
=no
8799 case `$LD -v 2>&1` in
8800 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8801 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8802 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8803 *\
2.11.
*) ;; # other 2.11 versions
8804 *) supports_anon_versioning
=yes ;;
8807 # See if GNU ld supports shared libraries.
8810 # On AIX/PPC, the GNU linker is very broken
8811 if test "$host_cpu" != ia64
; then
8815 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8816 *** to be unable to reliably create shared libraries on AIX.
8817 *** Therefore, libtool is disabling shared libraries support. If you
8818 *** really care for shared libraries, you may want to modify your PATH
8819 *** so that a non-GNU linker is found, and then restart.
8828 # see comment about AmigaOS4 .so support
8829 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8830 archive_expsym_cmds
=''
8833 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)'
8834 hardcode_libdir_flag_spec
='-L$libdir'
8835 hardcode_minus_L
=yes
8841 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8842 allow_undefined_flag
=unsupported
8843 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8844 # support --undefined. This deserves some investigation. FIXME
8845 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8851 cygwin
* | mingw
* | pw32
* | cegcc
*)
8852 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8853 # as there is no search path for DLLs.
8854 hardcode_libdir_flag_spec
='-L$libdir'
8855 allow_undefined_flag
=unsupported
8856 always_export_symbols
=no
8857 enable_shared_with_static_runtimes
=yes
8858 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8860 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8861 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8862 # If the export-symbols file already is a .def file (1st line
8863 # is EXPORTS), use it as is; otherwise, prepend...
8864 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8865 cp $export_symbols $output_objdir/$soname.def;
8867 echo EXPORTS > $output_objdir/$soname.def;
8868 cat $export_symbols >> $output_objdir/$soname.def;
8870 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8878 hardcode_shlibpath_var
=no
8879 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8880 export_dynamic_flag_spec
='${wl}-E'
8881 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8882 # Instead, shared libraries are loaded at an image base (0x10000000 by
8883 # default) and relocated if they conflict, which is a slow very memory
8884 # consuming and fragmenting process. To avoid this, we pick a random,
8885 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8886 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8887 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8888 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'
8891 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8893 if test "$host_os" = linux-dietlibc
; then
8894 case $cc_basename in
8895 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8898 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8899 && test "$tmp_diet" = no
8902 tmp_sharedflag
='-shared'
8903 case $cc_basename,$host_cpu in
8904 pgcc
*) # Portland Group C compiler
8905 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'
8906 tmp_addflag
=' $pic_flag'
8908 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8909 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'
8910 tmp_addflag
=' $pic_flag -Mnomain' ;;
8911 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8912 tmp_addflag
=' -i_dynamic' ;;
8913 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8914 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8915 ifc
* | ifort
*) # Intel Fortran compiler
8916 tmp_addflag
=' -nofor_main' ;;
8917 lf95
*) # Lahey Fortran 8.1
8918 whole_archive_flag_spec
=
8919 tmp_sharedflag
='--shared' ;;
8920 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8921 tmp_sharedflag
='-qmkshrobj'
8924 case `$CC -V 2>&1 | sed 5q` in
8925 *Sun\ C
*) # Sun C 5.9
8926 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'
8927 compiler_needs_object
=yes
8928 tmp_sharedflag
='-G' ;;
8929 *Sun\ F
*) # Sun Fortran 8.3
8930 tmp_sharedflag
='-G' ;;
8932 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8934 if test "x$supports_anon_versioning" = xyes
; then
8935 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8936 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8937 echo "local: *; };" >> $output_objdir/$libname.ver~
8938 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8941 case $cc_basename in
8943 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8944 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8945 hardcode_libdir_flag_spec
=
8946 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8947 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8948 if test "x$supports_anon_versioning" = xyes
; then
8949 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8950 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8951 echo "local: *; };" >> $output_objdir/$libname.ver~
8952 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8962 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8963 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8966 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8967 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8972 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8976 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8977 *** create shared libraries on Solaris systems. Therefore, libtool
8978 *** is disabling shared libraries support. We urge you to upgrade GNU
8979 *** binutils to release 2.9.1 or newer. Another option is to modify
8980 *** your PATH or compiler configuration so that the native linker is
8981 *** used, and then restart.
8984 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8985 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8986 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8992 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8993 case `$LD -v 2>&1` in
8994 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8998 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8999 *** reliably create shared libraries on SCO systems. Therefore, libtool
9000 *** is disabling shared libraries support. We urge you to upgrade GNU
9001 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9002 *** your PATH or compiler configuration so that the native linker is
9003 *** used, and then restart.
9008 # For security reasons, it is highly recommended that you always
9009 # use absolute paths for naming shared libraries, and exclude the
9010 # DT_RUNPATH tag from executables and libraries. But doing so
9011 # requires that you compile everything twice, which is a pain.
9012 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9013 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9014 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9015 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9024 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9027 hardcode_shlibpath_var
=no
9031 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9032 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9033 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9040 if test "$ld_shlibs" = no
; then
9042 hardcode_libdir_flag_spec
=
9043 export_dynamic_flag_spec
=
9044 whole_archive_flag_spec
=
9047 # PORTME fill in a description of your system's linker (not GNU ld)
9050 allow_undefined_flag
=unsupported
9051 always_export_symbols
=yes
9052 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'
9053 # Note: this linker hardcodes the directories in LIBPATH if there
9054 # are no directories specified by -L.
9055 hardcode_minus_L
=yes
9056 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9057 # Neither direct hardcoding nor static linking is supported with a
9059 hardcode_direct
=unsupported
9064 if test "$host_cpu" = ia64
; then
9065 # On IA64, the linker does run time linking by default, so we don't
9066 # have to do anything special.
9067 aix_use_runtimelinking
=no
9068 exp_sym_flag
='-Bexport'
9071 # If we're using GNU nm, then we don't want the "-C" option.
9072 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9073 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9074 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'
9076 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'
9078 aix_use_runtimelinking
=no
9080 # Test if we are trying to use run time linking or normal
9081 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9082 # need to do runtime linking.
9083 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9084 for ld_flag
in $LDFLAGS; do
9085 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9086 aix_use_runtimelinking
=yes
9093 exp_sym_flag
='-bexport'
9094 no_entry_flag
='-bnoentry'
9097 # When large executables or shared objects are built, AIX ld can
9098 # have problems creating the table of contents. If linking a library
9099 # or program results in "error TOC overflow" add -mminimal-toc to
9100 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9101 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9105 hardcode_direct_absolute
=yes
9106 hardcode_libdir_separator
=':'
9107 link_all_deplibs
=yes
9108 file_list_spec
='${wl}-f,'
9110 if test "$GCC" = yes; then
9111 case $host_os in aix4.
[012]|aix4.
[012].
*)
9112 # We only want to do this on AIX 4.2 and lower, the check
9113 # below for broken collect2 doesn't work under 4.3+
9114 collect2name
=`${CC} -print-prog-name=collect2`
9115 if test -f "$collect2name" &&
9116 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9118 # We have reworked collect2
9121 # We have old collect2
9122 hardcode_direct
=unsupported
9123 # It fails to find uninstalled libraries when the uninstalled
9124 # path is not listed in the libpath. Setting hardcode_minus_L
9125 # to unsupported forces relinking
9126 hardcode_minus_L
=yes
9127 hardcode_libdir_flag_spec
='-L$libdir'
9128 hardcode_libdir_separator
=
9132 shared_flag
='-shared'
9133 if test "$aix_use_runtimelinking" = yes; then
9134 shared_flag
="$shared_flag "'${wl}-G'
9138 if test "$host_cpu" = ia64
; then
9139 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9140 # chokes on -Wl,-G. The following line is correct:
9143 if test "$aix_use_runtimelinking" = yes; then
9144 shared_flag
='${wl}-G'
9146 shared_flag
='${wl}-bM:SRE'
9151 export_dynamic_flag_spec
='${wl}-bexpall'
9152 # It seems that -bexpall does not export symbols beginning with
9153 # underscore (_), so it is better to generate a list of symbols to export.
9154 always_export_symbols
=yes
9155 if test "$aix_use_runtimelinking" = yes; then
9156 # Warning - without using the other runtime loading flags (-brtl),
9157 # -berok will link without error, but may produce a broken library.
9158 allow_undefined_flag
='-berok'
9159 # Determine the default libpath from the value encoded in an
9161 cat >conftest.
$ac_ext <<_ACEOF
9164 cat confdefs.h
>>conftest.
$ac_ext
9165 cat >>conftest.
$ac_ext <<_ACEOF
9166 /* end confdefs.h. */
9176 rm -f conftest.
$ac_objext conftest
$ac_exeext
9177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9178 (eval $ac_link) 2>conftest.er1
9180 grep -v '^ *+' conftest.er1
>conftest.err
9182 cat conftest.err
>&5
9183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9184 (exit $ac_status); } &&
9185 { ac_try
='test -z "$ac_c_werror_flag"
9186 || test ! -s conftest.err'
9187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191 (exit $ac_status); }; } &&
9192 { ac_try
='test -s conftest$ac_exeext'
9193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9197 (exit $ac_status); }; }; then
9199 lt_aix_libpath_sed
='
9200 /Import File Strings/,/^$/ {
9206 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9207 # Check for a 64-bit object if we didn't find anything.
9208 if test -z "$aix_libpath"; then
9209 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9212 echo "$as_me: failed program was:" >&5
9213 sed 's/^/| /' conftest.
$ac_ext >&5
9216 rm -f conftest.err conftest.
$ac_objext \
9217 conftest
$ac_exeext conftest.
$ac_ext
9218 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9220 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9221 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"
9223 if test "$host_cpu" = ia64
; then
9224 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9225 allow_undefined_flag
="-z nodefs"
9226 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"
9228 # Determine the default libpath from the value encoded in an
9230 cat >conftest.
$ac_ext <<_ACEOF
9233 cat confdefs.h
>>conftest.
$ac_ext
9234 cat >>conftest.
$ac_ext <<_ACEOF
9235 /* end confdefs.h. */
9245 rm -f conftest.
$ac_objext conftest
$ac_exeext
9246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9247 (eval $ac_link) 2>conftest.er1
9249 grep -v '^ *+' conftest.er1
>conftest.err
9251 cat conftest.err
>&5
9252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9253 (exit $ac_status); } &&
9254 { ac_try
='test -z "$ac_c_werror_flag"
9255 || test ! -s conftest.err'
9256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9260 (exit $ac_status); }; } &&
9261 { ac_try
='test -s conftest$ac_exeext'
9262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9266 (exit $ac_status); }; }; then
9268 lt_aix_libpath_sed
='
9269 /Import File Strings/,/^$/ {
9275 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9276 # Check for a 64-bit object if we didn't find anything.
9277 if test -z "$aix_libpath"; then
9278 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9281 echo "$as_me: failed program was:" >&5
9282 sed 's/^/| /' conftest.
$ac_ext >&5
9285 rm -f conftest.err conftest.
$ac_objext \
9286 conftest
$ac_exeext conftest.
$ac_ext
9287 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9289 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9290 # Warning - without using the other run time loading flags,
9291 # -berok will link without error, but may produce a broken library.
9292 no_undefined_flag
=' ${wl}-bernotok'
9293 allow_undefined_flag
=' ${wl}-berok'
9294 # Exported symbols can be pulled into shared objects from archives
9295 whole_archive_flag_spec
='$convenience'
9296 archive_cmds_need_lc
=yes
9297 # This is similar to how AIX traditionally builds its shared libraries.
9298 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'
9306 # see comment about AmigaOS4 .so support
9307 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9308 archive_expsym_cmds
=''
9311 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)'
9312 hardcode_libdir_flag_spec
='-L$libdir'
9313 hardcode_minus_L
=yes
9319 export_dynamic_flag_spec
=-rdynamic
9322 cygwin
* | mingw
* | pw32
* | cegcc
*)
9323 # When not using gcc, we currently assume that we are using
9324 # Microsoft Visual C++.
9325 # hardcode_libdir_flag_spec is actually meaningless, as there is
9326 # no search path for DLLs.
9327 hardcode_libdir_flag_spec
=' '
9328 allow_undefined_flag
=unsupported
9329 # Tell ltmain to make .lib files, not .a files.
9331 # Tell ltmain to make .dll files, not .so files.
9333 # FIXME: Setting linknames here is a bad hack.
9334 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9335 # The linker will automatically build a .lib file if we build a DLL.
9336 old_archive_from_new_cmds
='true'
9337 # FIXME: Should let the user specify the lib program.
9338 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9339 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9340 enable_shared_with_static_runtimes
=yes
9343 darwin
* | rhapsody
*)
9346 archive_cmds_need_lc
=no
9348 hardcode_automatic
=yes
9349 hardcode_shlibpath_var
=unsupported
9350 whole_archive_flag_spec
=''
9351 link_all_deplibs
=yes
9352 allow_undefined_flag
="$_lt_dar_allow_undefined"
9353 case $cc_basename in
9354 ifort
*) _lt_dar_can_shared
=yes ;;
9355 *) _lt_dar_can_shared
=$GCC ;;
9357 if test "$_lt_dar_can_shared" = "yes"; then
9358 output_verbose_link_cmd
=echo
9359 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9360 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9361 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 ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9362 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9371 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9372 hardcode_libdir_flag_spec
='-L$libdir'
9373 hardcode_shlibpath_var
=no
9380 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9381 # support. Future versions do this automatically, but an explicit c++rt0.o
9382 # does not break anything, and helps significantly (at the cost of a little
9385 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9386 hardcode_libdir_flag_spec
='-R$libdir'
9388 hardcode_shlibpath_var
=no
9391 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9393 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9395 hardcode_minus_L
=yes
9396 hardcode_shlibpath_var
=no
9399 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9400 freebsd
* | dragonfly
*)
9401 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9402 hardcode_libdir_flag_spec
='-R$libdir'
9404 hardcode_shlibpath_var
=no
9408 if test "$GCC" = yes; then
9409 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'
9411 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'
9413 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9414 hardcode_libdir_separator
=:
9417 # hardcode_minus_L: Not really in the search PATH,
9418 # but as the default location of the library.
9419 hardcode_minus_L
=yes
9420 export_dynamic_flag_spec
='${wl}-E'
9424 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9425 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9427 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9429 if test "$with_gnu_ld" = no
; then
9430 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9431 hardcode_libdir_flag_spec_ld
='+b $libdir'
9432 hardcode_libdir_separator
=:
9434 hardcode_direct_absolute
=yes
9435 export_dynamic_flag_spec
='${wl}-E'
9436 # hardcode_minus_L: Not really in the search PATH,
9437 # but as the default location of the library.
9438 hardcode_minus_L
=yes
9443 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9446 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9449 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9452 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9458 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9461 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9464 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9468 if test "$with_gnu_ld" = no
; then
9469 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9470 hardcode_libdir_separator
=:
9475 hardcode_shlibpath_var
=no
9479 hardcode_direct_absolute
=yes
9480 export_dynamic_flag_spec
='${wl}-E'
9482 # hardcode_minus_L: Not really in the search PATH,
9483 # but as the default location of the library.
9484 hardcode_minus_L
=yes
9490 irix5
* | irix6
* | nonstopux
*)
9491 if test "$GCC" = yes; then
9492 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'
9493 # Try to use the -exported_symbol ld option, if it does not
9494 # work, assume that -exports_file does not work either and
9495 # implicitly export all symbols.
9496 save_LDFLAGS
="$LDFLAGS"
9497 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9498 cat >conftest.
$ac_ext <<_ACEOF
9501 rm -f conftest.
$ac_objext conftest
$ac_exeext
9502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9503 (eval $ac_link) 2>conftest.er1
9505 grep -v '^ *+' conftest.er1
>conftest.err
9507 cat conftest.err
>&5
9508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9509 (exit $ac_status); } &&
9510 { ac_try
='test -z "$ac_c_werror_flag"
9511 || test ! -s conftest.err'
9512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9516 (exit $ac_status); }; } &&
9517 { ac_try
='test -s conftest$ac_exeext'
9518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9522 (exit $ac_status); }; }; then
9523 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'
9526 echo "$as_me: failed program was:" >&5
9527 sed 's/^/| /' conftest.
$ac_ext >&5
9530 rm -f conftest.err conftest.
$ac_objext \
9531 conftest
$ac_exeext conftest.
$ac_ext
9532 LDFLAGS
="$save_LDFLAGS"
9534 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'
9535 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'
9537 archive_cmds_need_lc
='no'
9538 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9539 hardcode_libdir_separator
=:
9541 link_all_deplibs
=yes
9545 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9546 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9548 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9550 hardcode_libdir_flag_spec
='-R$libdir'
9552 hardcode_shlibpath_var
=no
9556 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9558 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9559 hardcode_libdir_separator
=:
9560 hardcode_shlibpath_var
=no
9567 if test -f /usr
/libexec
/ld.so
; then
9569 hardcode_shlibpath_var
=no
9570 hardcode_direct_absolute
=yes
9571 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9572 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9573 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9574 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9575 export_dynamic_flag_spec
='${wl}-E'
9578 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9579 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9580 hardcode_libdir_flag_spec
='-R$libdir'
9583 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9584 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9594 hardcode_libdir_flag_spec
='-L$libdir'
9595 hardcode_minus_L
=yes
9596 allow_undefined_flag
=unsupported
9597 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'
9598 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9602 if test "$GCC" = yes; then
9603 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9604 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'
9606 allow_undefined_flag
=' -expect_unresolved \*'
9607 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'
9609 archive_cmds_need_lc
='no'
9610 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9611 hardcode_libdir_separator
=:
9614 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9615 if test "$GCC" = yes; then
9616 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9617 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'
9618 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9620 allow_undefined_flag
=' -expect_unresolved \*'
9621 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'
9622 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~
9623 $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'
9625 # Both c and cxx compiler support -rpath directly
9626 hardcode_libdir_flag_spec
='-rpath $libdir'
9628 archive_cmds_need_lc
='no'
9629 hardcode_libdir_separator
=:
9633 no_undefined_flag
=' -z defs'
9634 if test "$GCC" = yes; then
9636 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9637 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9638 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9640 case `$CC -V 2>&1` in
9643 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9644 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9645 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9649 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9650 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9651 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9655 hardcode_libdir_flag_spec
='-R$libdir'
9656 hardcode_shlibpath_var
=no
9658 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9660 # The compiler driver will combine and reorder linker options,
9661 # but understands `-z linker_flag'. GCC discards it without `$wl',
9662 # but is careful enough not to reorder.
9663 # Supported since Solaris 2.6 (maybe 2.5.1?)
9664 if test "$GCC" = yes; then
9665 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9667 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9671 link_all_deplibs
=yes
9675 if test "x$host_vendor" = xsequent
; then
9676 # Use $CC to link under sequent, because it throws in some extra .o
9677 # files that make .init and .fini sections work.
9678 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9680 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9682 hardcode_libdir_flag_spec
='-L$libdir'
9684 hardcode_minus_L
=yes
9685 hardcode_shlibpath_var
=no
9689 case $host_vendor in
9691 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9692 hardcode_direct
=yes # is this really true???
9695 ## LD is ld it makes a PLAMLIB
9696 ## CC just makes a GrossModule.
9697 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9698 reload_cmds
='$CC -r -o $output$reload_objs'
9702 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9703 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9706 runpath_var
='LD_RUN_PATH'
9707 hardcode_shlibpath_var
=no
9711 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9712 hardcode_shlibpath_var
=no
9713 export_dynamic_flag_spec
='-Bexport'
9717 if test -d /usr
/nec
; then
9718 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9719 hardcode_shlibpath_var
=no
9720 runpath_var
=LD_RUN_PATH
9721 hardcode_runpath_var
=yes
9726 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9727 no_undefined_flag
='${wl}-z,text'
9728 archive_cmds_need_lc
=no
9729 hardcode_shlibpath_var
=no
9730 runpath_var
='LD_RUN_PATH'
9732 if test "$GCC" = yes; then
9733 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9734 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9736 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9737 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9741 sysv5
* | sco3.2v5
* | sco5v6
*)
9742 # Note: We can NOT use -z defs as we might desire, because we do not
9743 # link with -lc, and that would cause any symbols used from libc to
9744 # always be unresolved, which means just about no library would
9745 # ever link correctly. If we're not using GNU ld we use -z text
9746 # though, which does catch some bad symbols but isn't as heavy-handed
9748 no_undefined_flag
='${wl}-z,text'
9749 allow_undefined_flag
='${wl}-z,nodefs'
9750 archive_cmds_need_lc
=no
9751 hardcode_shlibpath_var
=no
9752 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9753 hardcode_libdir_separator
=':'
9754 link_all_deplibs
=yes
9755 export_dynamic_flag_spec
='${wl}-Bexport'
9756 runpath_var
='LD_RUN_PATH'
9758 if test "$GCC" = yes; then
9759 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9760 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9762 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9763 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9768 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9769 hardcode_libdir_flag_spec
='-L$libdir'
9770 hardcode_shlibpath_var
=no
9778 if test x
$host_vendor = xsni
; then
9780 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9781 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9787 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9788 echo "${ECHO_T}$ld_shlibs" >&6
9789 test "$ld_shlibs" = no
&& can_build_shared
=no
9791 with_gnu_ld
=$with_gnu_ld
9808 # Do we need to explicitly link libc?
9810 case "x$archive_cmds_need_lc" in
9812 # Assume -lc should be added
9813 archive_cmds_need_lc
=yes
9815 if test "$enable_shared" = yes && test "$GCC" = yes; then
9816 case $archive_cmds in
9818 # FIXME: we may have to deal with multi-command sequences.
9821 # Test whether the compiler implicitly links with -lc since on some
9822 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9823 # to ld, don't add -lc before -lgcc.
9824 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9825 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9826 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
9827 echo $ECHO_N "(cached) $ECHO_C" >&6
9830 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9833 (eval $ac_compile) 2>&5
9835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9836 (exit $ac_status); } 2>conftest.err
; then
9839 libobjs
=conftest.
$ac_objext
9841 wl
=$lt_prog_compiler_wl
9842 pic_flag
=$lt_prog_compiler_pic
9848 lt_save_allow_undefined_flag
=$allow_undefined_flag
9849 allow_undefined_flag
=
9850 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9851 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); }
9856 lt_cv_archive_cmds_need_lc
=no
9858 lt_cv_archive_cmds_need_lc
=yes
9860 allow_undefined_flag
=$lt_save_allow_undefined_flag
9862 cat conftest.err
1>&5
9867 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
9868 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
9869 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10032 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10033 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10035 if test "$GCC" = yes; then
10037 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10038 *) lt_awk_arg
="/^libraries:/" ;;
10040 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10041 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10042 # if the path contains ";" then we assume it to be the separator
10043 # otherwise default to the standard path separator (i.e. ":") - it is
10044 # assumed that no part of a normal pathname contains ";" but that should
10045 # okay in the real world where ";" in dirpaths is itself problematic.
10046 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10048 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10050 # Ok, now we have the path, separated by spaces, we can step through it
10051 # and add multilib dir if necessary.
10052 lt_tmp_lt_search_path_spec
=
10053 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10054 for lt_sys_path
in $lt_search_path_spec; do
10055 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10056 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10058 test -d "$lt_sys_path" && \
10059 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10062 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10063 BEGIN {RS=" "; FS="/|\n";} {
10066 for (lt_i = NF; lt_i > 0; lt_i--) {
10067 if ($lt_i != "" && $lt_i != ".") {
10068 if ($lt_i == "..") {
10071 if (lt_count == 0) {
10072 lt_foo="/" $lt_i lt_foo;
10079 if (lt_foo != "") { lt_freq[lt_foo]++; }
10080 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10082 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10084 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10086 library_names_spec
=
10087 libname_spec
='lib$name'
10091 postuninstall_cmds
=
10095 shlibpath_overrides_runpath
=unknown
10097 dynamic_linker
="$host_os ld.so"
10098 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10099 need_lib_prefix
=unknown
10100 hardcode_into_libs
=no
10102 # when you set need_version to no, make sure it does not cause -set_version
10103 # flags to be left without arguments
10104 need_version
=unknown
10109 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10110 shlibpath_var
=LIBPATH
10112 # AIX 3 has no versioning support, so we append a major version to the name.
10113 soname_spec
='${libname}${release}${shared_ext}$major'
10120 hardcode_into_libs
=yes
10121 if test "$host_cpu" = ia64
; then
10122 # AIX 5 supports IA64
10123 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10124 shlibpath_var
=LD_LIBRARY_PATH
10126 # With GCC up to 2.95.x, collect2 would create an import file
10127 # for dependence libraries. The import file would start with
10128 # the line `#! .'. This would cause the generated library to
10129 # depend on `.', always an invalid library. This was fixed in
10130 # development snapshots of GCC prior to 3.0.
10132 aix4 | aix4.
[01] | aix4.
[01].
*)
10133 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10135 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10138 can_build_shared
=no
10142 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10143 # soname into executable. Probably we can add versioning support to
10144 # collect2, so additional links can be useful in future.
10145 if test "$aix_use_runtimelinking" = yes; then
10146 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10147 # instead of lib<name>.a to let people know that these are not
10148 # typical AIX shared libraries.
10149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10151 # We preserve .a as extension for shared libraries through AIX4.2
10152 # and later when we are not doing run time linking.
10153 library_names_spec
='${libname}${release}.a $libname.a'
10154 soname_spec
='${libname}${release}${shared_ext}$major'
10156 shlibpath_var
=LIBPATH
10163 # Since July 2007 AmigaOS4 officially supports .so libraries.
10164 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10168 library_names_spec
='$libname.ixlibrary $libname.a'
10169 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10170 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'
10176 library_names_spec
='${libname}${shared_ext}'
10177 dynamic_linker
="$host_os ld.so"
10178 shlibpath_var
=LIBRARY_PATH
10184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10185 soname_spec
='${libname}${release}${shared_ext}$major'
10186 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10187 shlibpath_var
=LD_LIBRARY_PATH
10188 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10189 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10190 # the default ld.so.conf also contains /usr/contrib/lib and
10191 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10192 # libtool to hard-code these into programs
10195 cygwin
* | mingw
* | pw32
* | cegcc
*)
10196 version_type
=windows
10201 case $GCC,$host_os in
10202 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10203 library_names_spec
='$libname.dll.a'
10204 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10205 postinstall_cmds
='base_file=`basename \${file}`~
10206 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10207 dldir=$destdir/`dirname \$dlpath`~
10208 test -d \$dldir || mkdir -p \$dldir~
10209 $install_prog $dir/$dlname \$dldir/$dlname~
10210 chmod a+x \$dldir/$dlname~
10211 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10212 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10214 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10215 dlpath=$dir/\$dldll~
10217 shlibpath_overrides_runpath
=yes
10221 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10222 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10223 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10226 # MinGW DLLs use traditional 'lib' prefix
10227 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10228 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10229 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10230 # It is most probably a Windows format PATH printed by
10231 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10232 # path with ; separators, and with drive letters. We can handle the
10233 # drive letters (cygwin fileutils understands them), so leave them,
10234 # especially as we might pass files found there to a mingw objdump,
10235 # which wouldn't understand a cygwinified path. Ahh.
10236 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10238 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10242 # pw32 DLLs use 'pw' prefix rather than 'lib'
10243 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10249 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10252 dynamic_linker
='Win32 ld.exe'
10253 # FIXME: first we should search . and the directory the executable is in
10257 darwin
* | rhapsody
*)
10258 dynamic_linker
="$host_os dyld"
10259 version_type
=darwin
10262 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10263 soname_spec
='${libname}${release}${major}$shared_ext'
10264 shlibpath_overrides_runpath
=yes
10265 shlibpath_var
=DYLD_LIBRARY_PATH
10266 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10268 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10269 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10277 soname_spec
='${libname}${release}${shared_ext}$major'
10278 shlibpath_var
=LD_LIBRARY_PATH
10285 freebsd
* | dragonfly
*)
10286 # DragonFly does not have aout. When/if they implement a new
10287 # versioning mechanism, adjust this.
10288 if test -x /usr
/bin
/objformat
; then
10289 objformat
=`/usr/bin/objformat`
10292 freebsd
[123]*) objformat
=aout
;;
10293 *) objformat
=elf
;;
10296 version_type
=freebsd-
$objformat
10297 case $version_type in
10299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10304 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10308 shlibpath_var
=LD_LIBRARY_PATH
10311 shlibpath_overrides_runpath
=yes
10313 freebsd3.
[01]* | freebsdelf3.
[01]*)
10314 shlibpath_overrides_runpath
=yes
10315 hardcode_into_libs
=yes
10317 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10318 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10319 shlibpath_overrides_runpath
=no
10320 hardcode_into_libs
=yes
10322 *) # from 4.6 on, and DragonFly
10323 shlibpath_overrides_runpath
=yes
10324 hardcode_into_libs
=yes
10333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10334 soname_spec
='${libname}${release}${shared_ext}$major'
10335 shlibpath_var
=LD_LIBRARY_PATH
10336 hardcode_into_libs
=yes
10339 hpux9
* | hpux10
* | hpux11
*)
10340 # Give a soname corresponding to the major version so that dld.sl refuses to
10341 # link against other versions.
10348 hardcode_into_libs
=yes
10349 dynamic_linker
="$host_os dld.so"
10350 shlibpath_var
=LD_LIBRARY_PATH
10351 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10353 soname_spec
='${libname}${release}${shared_ext}$major'
10354 if test "X$HPUX_IA64_MODE" = X32
; then
10355 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10357 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10359 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10363 hardcode_into_libs
=yes
10364 dynamic_linker
="$host_os dld.sl"
10365 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10366 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10368 soname_spec
='${libname}${release}${shared_ext}$major'
10369 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10370 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10374 dynamic_linker
="$host_os dld.sl"
10375 shlibpath_var
=SHLIB_PATH
10376 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10378 soname_spec
='${libname}${release}${shared_ext}$major'
10381 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10382 postinstall_cmds
='chmod 555 $lib'
10389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10390 soname_spec
='${libname}${release}${shared_ext}$major'
10391 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10392 shlibpath_var
=LD_LIBRARY_PATH
10393 shlibpath_overrides_runpath
=no
10394 hardcode_into_libs
=yes
10397 irix5
* | irix6
* | nonstopux
*)
10399 nonstopux
*) version_type
=nonstopux
;;
10401 if test "$lt_cv_prog_gnu_ld" = yes; then
10409 soname_spec
='${libname}${release}${shared_ext}$major'
10410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10412 irix5
* | nonstopux
*)
10413 libsuff
= shlibsuff
=
10416 case $LD in # libtool.m4 will add one of these switches to LD
10417 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10418 libsuff
= shlibsuff
= libmagic
=32-bit;;
10419 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10420 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10421 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10422 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10423 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10427 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10428 shlibpath_overrides_runpath
=no
10429 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10430 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10431 hardcode_into_libs
=yes
10434 # No shared lib support for Linux oldld, aout, or coff.
10435 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10439 # This must be Linux ELF.
10440 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10445 soname_spec
='${libname}${release}${shared_ext}$major'
10446 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10447 shlibpath_var
=LD_LIBRARY_PATH
10448 shlibpath_overrides_runpath
=no
10450 # Some binutils ld are patched to set DT_RUNPATH
10451 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
10452 echo $ECHO_N "(cached) $ECHO_C" >&6
10454 lt_cv_shlibpath_overrides_runpath
=no
10455 save_LDFLAGS
=$LDFLAGS
10456 save_libdir
=$libdir
10457 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10458 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10459 cat >conftest.
$ac_ext <<_ACEOF
10462 cat confdefs.h
>>conftest.
$ac_ext
10463 cat >>conftest.
$ac_ext <<_ACEOF
10464 /* end confdefs.h. */
10474 rm -f conftest.
$ac_objext conftest
$ac_exeext
10475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10476 (eval $ac_link) 2>conftest.er1
10478 grep -v '^ *+' conftest.er1
>conftest.err
10480 cat conftest.err
>&5
10481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10482 (exit $ac_status); } &&
10483 { ac_try
='test -z "$ac_c_werror_flag"
10484 || test ! -s conftest.err'
10485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10486 (eval $ac_try) 2>&5
10488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10489 (exit $ac_status); }; } &&
10490 { ac_try
='test -s conftest$ac_exeext'
10491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10492 (eval $ac_try) 2>&5
10494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10495 (exit $ac_status); }; }; then
10496 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then
10497 lt_cv_shlibpath_overrides_runpath
=yes
10501 echo "$as_me: failed program was:" >&5
10502 sed 's/^/| /' conftest.
$ac_ext >&5
10505 rm -f conftest.err conftest.
$ac_objext \
10506 conftest
$ac_exeext conftest.
$ac_ext
10507 LDFLAGS
=$save_LDFLAGS
10508 libdir
=$save_libdir
10512 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10514 # This implies no fast_install, which is unacceptable.
10515 # Some rework will be needed to allow for fast_install
10516 # before this can be enabled.
10517 hardcode_into_libs
=yes
10519 # Append ld.so.conf contents to the search path
10520 if test -f /etc
/ld.so.conf
; then
10521 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/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10522 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10525 # We used to test for /lib/ld.so.1 and disable shared libraries on
10526 # powerpc, because MkLinux only supported shared libraries with the
10527 # GNU dynamic linker. Since this was broken with cross compilers,
10528 # most powerpc-linux boxes support dynamic linking these days and
10529 # people can always --disable-shared, the test was removed, and we
10530 # assume the GNU/Linux dynamic linker is in use.
10531 dynamic_linker
='GNU/Linux ld.so'
10538 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10540 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10541 dynamic_linker
='NetBSD (a.out) ld.so'
10543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10544 soname_spec
='${libname}${release}${shared_ext}$major'
10545 dynamic_linker
='NetBSD ld.elf_so'
10547 shlibpath_var
=LD_LIBRARY_PATH
10548 shlibpath_overrides_runpath
=yes
10549 hardcode_into_libs
=yes
10554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10555 shlibpath_var
=LD_LIBRARY_PATH
10556 shlibpath_overrides_runpath
=yes
10563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10564 soname_spec
='${libname}${release}${shared_ext}$major'
10565 shlibpath_var
=LD_LIBRARY_PATH
10566 shlibpath_overrides_runpath
=no
10567 hardcode_into_libs
=yes
10568 dynamic_linker
='ldqnx.so'
10573 sys_lib_dlsearch_path_spec
="/usr/lib"
10575 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10577 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10578 *) need_version
=no
;;
10580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10581 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10582 shlibpath_var
=LD_LIBRARY_PATH
10583 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10585 openbsd2.
[89] | openbsd2.
[89].
*)
10586 shlibpath_overrides_runpath
=no
10589 shlibpath_overrides_runpath
=yes
10593 shlibpath_overrides_runpath
=yes
10598 libname_spec
='$name'
10601 library_names_spec
='$libname${shared_ext} $libname.a'
10602 dynamic_linker
='OS/2 ld.exe'
10603 shlibpath_var
=LIBPATH
10606 osf3
* | osf4
* | osf5
*)
10610 soname_spec
='${libname}${release}${shared_ext}$major'
10611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10612 shlibpath_var
=LD_LIBRARY_PATH
10613 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10614 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10626 soname_spec
='${libname}${release}${shared_ext}$major'
10627 shlibpath_var
=LD_LIBRARY_PATH
10628 shlibpath_overrides_runpath
=yes
10629 hardcode_into_libs
=yes
10630 # ldd complains unless libraries are executable
10631 postinstall_cmds
='chmod +x $lib'
10636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10637 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10638 shlibpath_var
=LD_LIBRARY_PATH
10639 shlibpath_overrides_runpath
=yes
10640 if test "$with_gnu_ld" = yes; then
10648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10649 soname_spec
='${libname}${release}${shared_ext}$major'
10650 shlibpath_var
=LD_LIBRARY_PATH
10651 case $host_vendor in
10653 shlibpath_overrides_runpath
=no
10655 runpath_var
=LD_RUN_PATH
10663 shlibpath_overrides_runpath
=no
10664 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10670 if test -d /usr
/nec
;then
10672 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10673 soname_spec
='$libname${shared_ext}.$major'
10674 shlibpath_var
=LD_LIBRARY_PATH
10678 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10679 version_type
=freebsd-elf
10682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10683 soname_spec
='${libname}${release}${shared_ext}$major'
10684 shlibpath_var
=LD_LIBRARY_PATH
10685 shlibpath_overrides_runpath
=yes
10686 hardcode_into_libs
=yes
10687 if test "$with_gnu_ld" = yes; then
10688 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10690 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10693 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10697 sys_lib_dlsearch_path_spec
='/usr/lib'
10701 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10706 shlibpath_var
=LD_LIBRARY_PATH
10707 shlibpath_overrides_runpath
=no
10708 hardcode_into_libs
=yes
10713 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10714 soname_spec
='${libname}${release}${shared_ext}$major'
10715 shlibpath_var
=LD_LIBRARY_PATH
10722 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10723 echo "${ECHO_T}$dynamic_linker" >&6
10724 test "$dynamic_linker" = no
&& can_build_shared
=no
10726 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10727 if test "$GCC" = yes; then
10728 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10731 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10732 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10734 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10735 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10824 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10825 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10827 if test -n "$hardcode_libdir_flag_spec" ||
10828 test -n "$runpath_var" ||
10829 test "X$hardcode_automatic" = "Xyes" ; then
10831 # We can hardcode non-existent directories.
10832 if test "$hardcode_direct" != no
&&
10833 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10834 # have to relink, otherwise we might link with an installed library
10835 # when we should be linking with a yet-to-be-installed one
10836 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10837 test "$hardcode_minus_L" != no
; then
10838 # Linking always hardcodes the temporary library directory.
10839 hardcode_action
=relink
10841 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10842 hardcode_action
=immediate
10845 # We cannot hardcode anything, or else we can only hardcode existing
10847 hardcode_action
=unsupported
10849 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10850 echo "${ECHO_T}$hardcode_action" >&6
10852 if test "$hardcode_action" = relink ||
10853 test "$inherit_rpath" = yes; then
10854 # Fast installation is not supported
10855 enable_fast_install
=no
10856 elif test "$shlibpath_overrides_runpath" = yes ||
10857 test "$enable_shared" = no
; then
10858 # Fast installation is not necessary
10859 enable_fast_install
=needless
10867 if test "x$enable_dlopen" != xyes
; then
10868 enable_dlopen
=unknown
10869 enable_dlopen_self
=unknown
10870 enable_dlopen_self_static
=unknown
10877 lt_cv_dlopen
="load_add_on"
10879 lt_cv_dlopen_self
=yes
10882 mingw
* | pw32
* | cegcc
*)
10883 lt_cv_dlopen
="LoadLibrary"
10888 lt_cv_dlopen
="dlopen"
10893 # if libdl is installed we need to link against it
10894 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10895 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10896 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10897 echo $ECHO_N "(cached) $ECHO_C" >&6
10899 ac_check_lib_save_LIBS
=$LIBS
10901 cat >conftest.
$ac_ext <<_ACEOF
10904 cat confdefs.h
>>conftest.
$ac_ext
10905 cat >>conftest.
$ac_ext <<_ACEOF
10906 /* end confdefs.h. */
10908 /* Override any gcc2 internal prototype to avoid an error. */
10912 /* We use char because int might match the return type of a gcc2
10913 builtin and then its argument prototype would still apply. */
10923 rm -f conftest.
$ac_objext conftest
$ac_exeext
10924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10925 (eval $ac_link) 2>conftest.er1
10927 grep -v '^ *+' conftest.er1
>conftest.err
10929 cat conftest.err
>&5
10930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10931 (exit $ac_status); } &&
10932 { ac_try
='test -z "$ac_c_werror_flag"
10933 || test ! -s conftest.err'
10934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10935 (eval $ac_try) 2>&5
10937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 (exit $ac_status); }; } &&
10939 { ac_try
='test -s conftest$ac_exeext'
10940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10941 (eval $ac_try) 2>&5
10943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10944 (exit $ac_status); }; }; then
10945 ac_cv_lib_dl_dlopen
=yes
10947 echo "$as_me: failed program was:" >&5
10948 sed 's/^/| /' conftest.
$ac_ext >&5
10950 ac_cv_lib_dl_dlopen
=no
10952 rm -f conftest.err conftest.
$ac_objext \
10953 conftest
$ac_exeext conftest.
$ac_ext
10954 LIBS
=$ac_check_lib_save_LIBS
10956 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10957 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10958 if test $ac_cv_lib_dl_dlopen = yes; then
10959 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10962 lt_cv_dlopen
="dyld"
10964 lt_cv_dlopen_self
=yes
10971 echo "$as_me:$LINENO: checking for shl_load" >&5
10972 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10973 if test "${ac_cv_func_shl_load+set}" = set; then
10974 echo $ECHO_N "(cached) $ECHO_C" >&6
10976 cat >conftest.
$ac_ext <<_ACEOF
10979 cat confdefs.h
>>conftest.
$ac_ext
10980 cat >>conftest.
$ac_ext <<_ACEOF
10981 /* end confdefs.h. */
10982 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10984 #define shl_load innocuous_shl_load
10986 /* System header to define __stub macros and hopefully few prototypes,
10987 which can conflict with char shl_load (); below.
10988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10989 <limits.h> exists even on freestanding compilers. */
10992 # include <limits.h>
10994 # include <assert.h>
10999 /* Override any gcc2 internal prototype to avoid an error. */
11004 /* We use char because int might match the return type of a gcc2
11005 builtin and then its argument prototype would still apply. */
11007 /* The GNU C library defines this for functions which it implements
11008 to always fail with ENOSYS. Some functions are actually named
11009 something starting with __ and the normal name is an alias. */
11010 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11013 char (*f) () = shl_load;
11022 return f != shl_load;
11027 rm -f conftest.
$ac_objext conftest
$ac_exeext
11028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11029 (eval $ac_link) 2>conftest.er1
11031 grep -v '^ *+' conftest.er1
>conftest.err
11033 cat conftest.err
>&5
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); } &&
11036 { ac_try
='test -z "$ac_c_werror_flag"
11037 || test ! -s conftest.err'
11038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11039 (eval $ac_try) 2>&5
11041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11042 (exit $ac_status); }; } &&
11043 { ac_try
='test -s conftest$ac_exeext'
11044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11045 (eval $ac_try) 2>&5
11047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11048 (exit $ac_status); }; }; then
11049 ac_cv_func_shl_load
=yes
11051 echo "$as_me: failed program was:" >&5
11052 sed 's/^/| /' conftest.
$ac_ext >&5
11054 ac_cv_func_shl_load
=no
11056 rm -f conftest.err conftest.
$ac_objext \
11057 conftest
$ac_exeext conftest.
$ac_ext
11059 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11060 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11061 if test $ac_cv_func_shl_load = yes; then
11062 lt_cv_dlopen
="shl_load"
11064 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11065 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11066 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11067 echo $ECHO_N "(cached) $ECHO_C" >&6
11069 ac_check_lib_save_LIBS
=$LIBS
11071 cat >conftest.
$ac_ext <<_ACEOF
11074 cat confdefs.h
>>conftest.
$ac_ext
11075 cat >>conftest.
$ac_ext <<_ACEOF
11076 /* end confdefs.h. */
11078 /* Override any gcc2 internal prototype to avoid an error. */
11082 /* We use char because int might match the return type of a gcc2
11083 builtin and then its argument prototype would still apply. */
11093 rm -f conftest.
$ac_objext conftest
$ac_exeext
11094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11095 (eval $ac_link) 2>conftest.er1
11097 grep -v '^ *+' conftest.er1
>conftest.err
11099 cat conftest.err
>&5
11100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11101 (exit $ac_status); } &&
11102 { ac_try
='test -z "$ac_c_werror_flag"
11103 || test ! -s conftest.err'
11104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11105 (eval $ac_try) 2>&5
11107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11108 (exit $ac_status); }; } &&
11109 { ac_try
='test -s conftest$ac_exeext'
11110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11111 (eval $ac_try) 2>&5
11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11114 (exit $ac_status); }; }; then
11115 ac_cv_lib_dld_shl_load
=yes
11117 echo "$as_me: failed program was:" >&5
11118 sed 's/^/| /' conftest.
$ac_ext >&5
11120 ac_cv_lib_dld_shl_load
=no
11122 rm -f conftest.err conftest.
$ac_objext \
11123 conftest
$ac_exeext conftest.
$ac_ext
11124 LIBS
=$ac_check_lib_save_LIBS
11126 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11127 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11128 if test $ac_cv_lib_dld_shl_load = yes; then
11129 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11131 echo "$as_me:$LINENO: checking for dlopen" >&5
11132 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11133 if test "${ac_cv_func_dlopen+set}" = set; then
11134 echo $ECHO_N "(cached) $ECHO_C" >&6
11136 cat >conftest.
$ac_ext <<_ACEOF
11139 cat confdefs.h
>>conftest.
$ac_ext
11140 cat >>conftest.
$ac_ext <<_ACEOF
11141 /* end confdefs.h. */
11142 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11144 #define dlopen innocuous_dlopen
11146 /* System header to define __stub macros and hopefully few prototypes,
11147 which can conflict with char dlopen (); below.
11148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11149 <limits.h> exists even on freestanding compilers. */
11152 # include <limits.h>
11154 # include <assert.h>
11159 /* Override any gcc2 internal prototype to avoid an error. */
11164 /* We use char because int might match the return type of a gcc2
11165 builtin and then its argument prototype would still apply. */
11167 /* The GNU C library defines this for functions which it implements
11168 to always fail with ENOSYS. Some functions are actually named
11169 something starting with __ and the normal name is an alias. */
11170 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11173 char (*f) () = dlopen;
11182 return f != dlopen;
11187 rm -f conftest.
$ac_objext conftest
$ac_exeext
11188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11189 (eval $ac_link) 2>conftest.er1
11191 grep -v '^ *+' conftest.er1
>conftest.err
11193 cat conftest.err
>&5
11194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11195 (exit $ac_status); } &&
11196 { ac_try
='test -z "$ac_c_werror_flag"
11197 || test ! -s conftest.err'
11198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11199 (eval $ac_try) 2>&5
11201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11202 (exit $ac_status); }; } &&
11203 { ac_try
='test -s conftest$ac_exeext'
11204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11205 (eval $ac_try) 2>&5
11207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11208 (exit $ac_status); }; }; then
11209 ac_cv_func_dlopen
=yes
11211 echo "$as_me: failed program was:" >&5
11212 sed 's/^/| /' conftest.
$ac_ext >&5
11214 ac_cv_func_dlopen
=no
11216 rm -f conftest.err conftest.
$ac_objext \
11217 conftest
$ac_exeext conftest.
$ac_ext
11219 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11220 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11221 if test $ac_cv_func_dlopen = yes; then
11222 lt_cv_dlopen
="dlopen"
11224 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11225 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11226 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11227 echo $ECHO_N "(cached) $ECHO_C" >&6
11229 ac_check_lib_save_LIBS
=$LIBS
11231 cat >conftest.
$ac_ext <<_ACEOF
11234 cat confdefs.h
>>conftest.
$ac_ext
11235 cat >>conftest.
$ac_ext <<_ACEOF
11236 /* end confdefs.h. */
11238 /* Override any gcc2 internal prototype to avoid an error. */
11242 /* We use char because int might match the return type of a gcc2
11243 builtin and then its argument prototype would still apply. */
11253 rm -f conftest.
$ac_objext conftest
$ac_exeext
11254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11255 (eval $ac_link) 2>conftest.er1
11257 grep -v '^ *+' conftest.er1
>conftest.err
11259 cat conftest.err
>&5
11260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11261 (exit $ac_status); } &&
11262 { ac_try
='test -z "$ac_c_werror_flag"
11263 || test ! -s conftest.err'
11264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11265 (eval $ac_try) 2>&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); }; } &&
11269 { ac_try
='test -s conftest$ac_exeext'
11270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11271 (eval $ac_try) 2>&5
11273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11274 (exit $ac_status); }; }; then
11275 ac_cv_lib_dl_dlopen
=yes
11277 echo "$as_me: failed program was:" >&5
11278 sed 's/^/| /' conftest.
$ac_ext >&5
11280 ac_cv_lib_dl_dlopen
=no
11282 rm -f conftest.err conftest.
$ac_objext \
11283 conftest
$ac_exeext conftest.
$ac_ext
11284 LIBS
=$ac_check_lib_save_LIBS
11286 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11287 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11288 if test $ac_cv_lib_dl_dlopen = yes; then
11289 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11291 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11292 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11293 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11294 echo $ECHO_N "(cached) $ECHO_C" >&6
11296 ac_check_lib_save_LIBS
=$LIBS
11297 LIBS
="-lsvld $LIBS"
11298 cat >conftest.
$ac_ext <<_ACEOF
11301 cat confdefs.h
>>conftest.
$ac_ext
11302 cat >>conftest.
$ac_ext <<_ACEOF
11303 /* end confdefs.h. */
11305 /* Override any gcc2 internal prototype to avoid an error. */
11309 /* We use char because int might match the return type of a gcc2
11310 builtin and then its argument prototype would still apply. */
11320 rm -f conftest.
$ac_objext conftest
$ac_exeext
11321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11322 (eval $ac_link) 2>conftest.er1
11324 grep -v '^ *+' conftest.er1
>conftest.err
11326 cat conftest.err
>&5
11327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11328 (exit $ac_status); } &&
11329 { ac_try
='test -z "$ac_c_werror_flag"
11330 || test ! -s conftest.err'
11331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11332 (eval $ac_try) 2>&5
11334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11335 (exit $ac_status); }; } &&
11336 { ac_try
='test -s conftest$ac_exeext'
11337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11338 (eval $ac_try) 2>&5
11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341 (exit $ac_status); }; }; then
11342 ac_cv_lib_svld_dlopen
=yes
11344 echo "$as_me: failed program was:" >&5
11345 sed 's/^/| /' conftest.
$ac_ext >&5
11347 ac_cv_lib_svld_dlopen
=no
11349 rm -f conftest.err conftest.
$ac_objext \
11350 conftest
$ac_exeext conftest.
$ac_ext
11351 LIBS
=$ac_check_lib_save_LIBS
11353 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11354 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11355 if test $ac_cv_lib_svld_dlopen = yes; then
11356 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11358 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11359 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11360 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11361 echo $ECHO_N "(cached) $ECHO_C" >&6
11363 ac_check_lib_save_LIBS
=$LIBS
11365 cat >conftest.
$ac_ext <<_ACEOF
11368 cat confdefs.h
>>conftest.
$ac_ext
11369 cat >>conftest.
$ac_ext <<_ACEOF
11370 /* end confdefs.h. */
11372 /* Override any gcc2 internal prototype to avoid an error. */
11376 /* We use char because int might match the return type of a gcc2
11377 builtin and then its argument prototype would still apply. */
11387 rm -f conftest.
$ac_objext conftest
$ac_exeext
11388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11389 (eval $ac_link) 2>conftest.er1
11391 grep -v '^ *+' conftest.er1
>conftest.err
11393 cat conftest.err
>&5
11394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11395 (exit $ac_status); } &&
11396 { ac_try
='test -z "$ac_c_werror_flag"
11397 || test ! -s conftest.err'
11398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11399 (eval $ac_try) 2>&5
11401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11402 (exit $ac_status); }; } &&
11403 { ac_try
='test -s conftest$ac_exeext'
11404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11405 (eval $ac_try) 2>&5
11407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11408 (exit $ac_status); }; }; then
11409 ac_cv_lib_dld_dld_link
=yes
11411 echo "$as_me: failed program was:" >&5
11412 sed 's/^/| /' conftest.
$ac_ext >&5
11414 ac_cv_lib_dld_dld_link
=no
11416 rm -f conftest.err conftest.
$ac_objext \
11417 conftest
$ac_exeext conftest.
$ac_ext
11418 LIBS
=$ac_check_lib_save_LIBS
11420 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11421 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11422 if test $ac_cv_lib_dld_dld_link = yes; then
11423 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11444 if test "x$lt_cv_dlopen" != xno
; then
11450 case $lt_cv_dlopen in
11452 save_CPPFLAGS
="$CPPFLAGS"
11453 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11455 save_LDFLAGS
="$LDFLAGS"
11456 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11459 LIBS
="$lt_cv_dlopen_libs $LIBS"
11461 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11462 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11463 if test "${lt_cv_dlopen_self+set}" = set; then
11464 echo $ECHO_N "(cached) $ECHO_C" >&6
11466 if test "$cross_compiling" = yes; then :
11467 lt_cv_dlopen_self
=cross
11469 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11470 lt_status
=$lt_dlunknown
11471 cat > conftest.
$ac_ext <<_LT_EOF
11472 #line 11472 "configure"
11473 #include "confdefs.h"
11482 # define LT_DLGLOBAL RTLD_GLOBAL
11485 # define LT_DLGLOBAL DL_GLOBAL
11487 # define LT_DLGLOBAL 0
11491 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11492 find out it does not work in some platform. */
11493 #ifndef LT_DLLAZY_OR_NOW
11495 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11498 # define LT_DLLAZY_OR_NOW DL_LAZY
11501 # define LT_DLLAZY_OR_NOW RTLD_NOW
11504 # define LT_DLLAZY_OR_NOW DL_NOW
11506 # define LT_DLLAZY_OR_NOW 0
11513 void fnord() { int i=42;}
11516 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11517 int status = $lt_dlunknown;
11521 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11522 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11523 /* dlclose (self); */
11531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11532 (eval $ac_link) 2>&5
11534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11535 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11536 (.
/conftest
; exit; ) >&5 2>/dev
/null
11538 case x
$lt_status in
11539 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11540 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11541 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11544 # compilation failed
11545 lt_cv_dlopen_self
=no
11552 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11553 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11555 if test "x$lt_cv_dlopen_self" = xyes
; then
11556 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11557 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11558 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11559 if test "${lt_cv_dlopen_self_static+set}" = set; then
11560 echo $ECHO_N "(cached) $ECHO_C" >&6
11562 if test "$cross_compiling" = yes; then :
11563 lt_cv_dlopen_self_static
=cross
11565 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11566 lt_status
=$lt_dlunknown
11567 cat > conftest.
$ac_ext <<_LT_EOF
11568 #line 11568 "configure"
11569 #include "confdefs.h"
11578 # define LT_DLGLOBAL RTLD_GLOBAL
11581 # define LT_DLGLOBAL DL_GLOBAL
11583 # define LT_DLGLOBAL 0
11587 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11588 find out it does not work in some platform. */
11589 #ifndef LT_DLLAZY_OR_NOW
11591 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11594 # define LT_DLLAZY_OR_NOW DL_LAZY
11597 # define LT_DLLAZY_OR_NOW RTLD_NOW
11600 # define LT_DLLAZY_OR_NOW DL_NOW
11602 # define LT_DLLAZY_OR_NOW 0
11609 void fnord() { int i=42;}
11612 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11613 int status = $lt_dlunknown;
11617 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11618 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11619 /* dlclose (self); */
11627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11628 (eval $ac_link) 2>&5
11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11632 (.
/conftest
; exit; ) >&5 2>/dev
/null
11634 case x
$lt_status in
11635 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11636 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11637 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11640 # compilation failed
11641 lt_cv_dlopen_self_static
=no
11648 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11649 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11652 CPPFLAGS
="$save_CPPFLAGS"
11653 LDFLAGS
="$save_LDFLAGS"
11658 case $lt_cv_dlopen_self in
11659 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11660 *) enable_dlopen_self
=unknown
;;
11663 case $lt_cv_dlopen_self_static in
11664 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11665 *) enable_dlopen_self_static
=unknown
;;
11687 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11688 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11689 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11690 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11691 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11692 echo "$as_me:$LINENO: result: yes" >&5
11693 echo "${ECHO_T}yes" >&6
11695 # FIXME - insert some real tests, host_os isn't really good enough
11698 if test -n "$STRIP" ; then
11699 striplib
="$STRIP -x"
11700 old_striplib
="$STRIP -S"
11701 echo "$as_me:$LINENO: result: yes" >&5
11702 echo "${ECHO_T}yes" >&6
11704 echo "$as_me:$LINENO: result: no" >&5
11705 echo "${ECHO_T}no" >&6
11709 echo "$as_me:$LINENO: result: no" >&5
11710 echo "${ECHO_T}no" >&6
11726 # Report which library types will actually be built
11727 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11728 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11729 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11730 echo "${ECHO_T}$can_build_shared" >&6
11732 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11733 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11734 test "$can_build_shared" = "no" && enable_shared
=no
11736 # On AIX, shared libraries and static libraries use the same namespace, and
11737 # are all built from PIC.
11740 test "$enable_shared" = yes && enable_static
=no
11741 if test -n "$RANLIB"; then
11742 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11743 postinstall_cmds
='$RANLIB $lib'
11748 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11749 test "$enable_shared" = yes && enable_static
=no
11753 echo "$as_me:$LINENO: result: $enable_shared" >&5
11754 echo "${ECHO_T}$enable_shared" >&6
11756 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11757 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11758 # Make sure either enable_shared or enable_static is yes.
11759 test "$enable_shared" = yes || enable_static
=yes
11760 echo "$as_me:$LINENO: result: $enable_static" >&5
11761 echo "${ECHO_T}$enable_static" >&6
11768 ac_cpp
='$CPP $CPPFLAGS'
11769 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11770 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11771 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11787 ac_config_commands
="$ac_config_commands libtool"
11792 # Only expand once:
11796 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
11797 if test "${enable_64_bit_bfd+set}" = set; then
11798 enableval
="$enable_64_bit_bfd"
11799 case "${enableval}" in
11800 yes) want64
=true
;;
11801 no
) want64
=false
;;
11802 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
11803 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
11804 { (exit 1); exit 1; }; } ;;
11809 # Check whether --enable-targets or --disable-targets was given.
11810 if test "${enable_targets+set}" = set; then
11811 enableval
="$enable_targets"
11812 case "${enableval}" in
11813 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
11814 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
11815 { (exit 1); exit 1; }; }
11817 no
) enable_targets
= ;;
11818 *) enable_targets
=$enableval ;;
11822 # Check whether --with-mmap or --without-mmap was given.
11823 if test "${with_mmap+set}" = set; then
11824 withval
="$with_mmap"
11825 case "${withval}" in
11826 yes) want_mmap
=true
;;
11827 no
) want_mmap
=false
;;
11828 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
11829 echo "$as_me: error: bad value ${withval} for BFD with-mmap option" >&2;}
11830 { (exit 1); exit 1; }; } ;;
11835 # Check whether --enable-secureplt or --disable-secureplt was given.
11836 if test "${enable_secureplt+set}" = set; then
11837 enableval
="$enable_secureplt"
11838 case "${enableval}" in
11839 yes) use_secureplt
=true
;;
11840 no
) use_secureplt
=false
;;
11841 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for secureplt option" >&5
11842 echo "$as_me: error: bad value ${enableval} for secureplt option" >&2;}
11843 { (exit 1); exit 1; }; } ;;
11846 use_secureplt
=false
11847 fi; if test $use_secureplt = true
; then
11849 cat >>confdefs.h
<<\_ACEOF
11850 #define USE_SECUREPLT 1
11855 DEBUGDIR
=${libdir}/debug
11857 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
11858 if test "${with_separate_debug_dir+set}" = set; then
11859 withval
="$with_separate_debug_dir"
11860 DEBUGDIR
="${withval}"
11864 # Check to see if we should allow the generation of
11865 # symbols with the ELF standard's STT_COMMON type.
11866 # Check whether --enable-elf-stt-common or --disable-elf-stt-common was given.
11867 if test "${enable_elf_stt_common+set}" = set; then
11868 enableval
="$enable_elf_stt_common"
11869 case "${enableval}" in
11870 yes) want_elf_stt_common
=true
;;
11871 no
) want_elf_stt_common
=false
;;
11872 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for ELF STT_COMMON option" >&5
11873 echo "$as_me: error: bad value ${enableval} for ELF STT_COMMON option" >&2;}
11874 { (exit 1); exit 1; }; } ;;
11877 # We have to choose a default behaviour. For native builds we could
11878 # test whether the loader supports the STT_COMMON type, but that would
11879 # mean that built binaries could not be exported to older systems where
11880 # the loader does not support it. So by default we always choose to
11881 # disable this feature.
11882 want_elf_stt_common
=false
11883 fi; if test $want_elf_stt_common = true
; then
11885 cat >>confdefs.h
<<\_ACEOF
11886 #define USE_STT_COMMON 1
11893 # Check whether --with-pkgversion or --without-pkgversion was given.
11894 if test "${with_pkgversion+set}" = set; then
11895 withval
="$with_pkgversion"
11897 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
11898 echo "$as_me: error: package version not specified" >&2;}
11899 { (exit 1); exit 1; }; } ;;
11901 *) PKGVERSION
="($withval) " ;;
11904 PKGVERSION
="(GNU Binutils) "
11911 # Check whether --with-bugurl or --without-bugurl was given.
11912 if test "${with_bugurl+set}" = set; then
11913 withval
="$with_bugurl"
11915 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
11916 echo "$as_me: error: bug URL not specified" >&2;}
11917 { (exit 1); exit 1; }; } ;;
11920 *) BUGURL
="$withval"
11924 BUGURL
="http://www.sourceware.org/bugzilla/"
11933 REPORT_BUGS_TO
="<$BUGURL>"
11934 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
11942 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11944 # Check whether --enable-werror or --disable-werror was given.
11945 if test "${enable_werror+set}" = set; then
11946 enableval
="$enable_werror"
11947 case "${enableval}" in
11948 yes | y
) ERROR_ON_WARNING
="yes" ;;
11949 no | n
) ERROR_ON_WARNING
="no" ;;
11950 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
11951 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
11952 { (exit 1); exit 1; }; } ;;
11956 # Enable -Wno-format by default when using gcc on mingw
11959 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11960 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
11966 # Enable -Werror by default when using gcc
11967 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11968 ERROR_ON_WARNING
=yes
11972 if test "${ERROR_ON_WARNING}" = yes ; then
11973 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
11974 NO_WERROR
="-Wno-error"
11977 if test "${GCC}" = yes ; then
11978 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
11981 # Check whether --enable-build-warnings or --disable-build-warnings was given.
11982 if test "${enable_build_warnings+set}" = set; then
11983 enableval
="$enable_build_warnings"
11984 case "${enableval}" in
11985 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
11986 no
) if test "${GCC}" = yes ; then
11989 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11990 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
11991 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11992 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
11993 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
11997 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
11998 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
12005 ac_config_headers
="$ac_config_headers config.h:config.in"
12008 if test -z "$target" ; then
12009 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
12010 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
12011 { (exit 1); exit 1; }; }
12014 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
12015 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
12016 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12017 if test "${enable_maintainer_mode+set}" = set; then
12018 enableval
="$enable_maintainer_mode"
12019 USE_MAINTAINER_MODE
=$enableval
12021 USE_MAINTAINER_MODE
=no
12023 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
12024 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12027 if test $USE_MAINTAINER_MODE = yes; then
12028 MAINTAINER_MODE_TRUE
=
12029 MAINTAINER_MODE_FALSE
='#'
12031 MAINTAINER_MODE_TRUE
='#'
12032 MAINTAINER_MODE_FALSE
=
12035 MAINT
=$MAINTAINER_MODE_TRUE
12041 GENINSRC_NEVER_TRUE
=
12042 GENINSRC_NEVER_FALSE
='#'
12044 GENINSRC_NEVER_TRUE
='#'
12045 GENINSRC_NEVER_FALSE
=
12048 case ${build_alias} in
12049 "") build_noncanonical
=${build} ;;
12050 *) build_noncanonical
=${build_alias} ;;
12053 case ${host_alias} in
12054 "") host_noncanonical
=${build_noncanonical} ;;
12055 *) host_noncanonical
=${host_alias} ;;
12058 case ${target_alias} in
12059 "") target_noncanonical
=${host_noncanonical} ;;
12060 *) target_noncanonical
=${target_alias} ;;
12063 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
12064 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
12065 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
12066 if test "${enable_install_libbfd+set}" = set; then
12067 enableval
="$enable_install_libbfd"
12068 install_libbfd_p
=$enableval
12070 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
12071 install_libbfd_p
=yes
12073 install_libbfd_p
=no
12076 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
12077 echo "${ECHO_T}$install_libbfd_p" >&6
12080 if test $install_libbfd_p = yes; then
12081 INSTALL_LIBBFD_TRUE
=
12082 INSTALL_LIBBFD_FALSE
='#'
12084 INSTALL_LIBBFD_TRUE
='#'
12085 INSTALL_LIBBFD_FALSE
=
12088 # Need _noncanonical variables for this.
12093 # libbfd.a is a host library containing target dependent code
12094 bfdlibdir
='$(libdir)'
12095 bfdincludedir
='$(includedir)'
12096 if test "${host}" != "${target}"; then
12097 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
12098 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
12108 bfd_default_target_size
=32
12112 ALL_LINGUAS
="fr tr ja es sv da zh_CN ro rw vi fi id"
12113 # If we haven't got the data from the intl directory,
12114 # assume NLS is disabled.
12123 if test -f ..
/intl
/config.intl
; then
12124 . ..
/intl
/config.intl
12126 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
12127 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
12128 if test x
"$USE_NLS" != xyes
; then
12129 echo "$as_me:$LINENO: result: no" >&5
12130 echo "${ECHO_T}no" >&6
12132 echo "$as_me:$LINENO: result: yes" >&5
12133 echo "${ECHO_T}yes" >&6
12135 cat >>confdefs.h
<<\_ACEOF
12136 #define ENABLE_NLS 1
12140 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
12141 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
12142 # Look for .po and .gmo files in the source directory.
12145 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
12146 # If there aren't any .gmo files the shell will give us the
12147 # literal string "../path/to/srcdir/po/*.gmo" which has to be
12149 case "$cat" in *\
**)
12152 # The quadruple backslash is collapsed to a double backslash
12153 # by the backticks, then collapsed again by the double quotes,
12154 # leaving us with one backslash in the sed expression (right
12155 # before the dot that mustn't act as a wildcard).
12156 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
12157 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
12158 # The user is allowed to set LINGUAS to a list of languages to
12159 # install catalogs for. If it's empty that means "all of them."
12160 if test "x$LINGUAS" = x
; then
12161 CATALOGS
="$CATALOGS $cat"
12162 XLINGUAS
="$XLINGUAS $lang"
12164 case "$LINGUAS" in *$lang*)
12165 CATALOGS
="$CATALOGS $cat"
12166 XLINGUAS
="$XLINGUAS $lang"
12171 LINGUAS
="$XLINGUAS"
12172 echo "$as_me:$LINENO: result: $LINGUAS" >&5
12173 echo "${ECHO_T}$LINGUAS" >&6
12187 if test -n "$ac_aux_dir"; then
12188 case "$ac_aux_dir" in
12189 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
12190 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
12193 if test -z "$MKINSTALLDIRS"; then
12194 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
12199 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
12200 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
12201 # Check whether --enable-nls or --disable-nls was given.
12202 if test "${enable_nls+set}" = set; then
12203 enableval
="$enable_nls"
12208 echo "$as_me:$LINENO: result: $USE_NLS" >&5
12209 echo "${ECHO_T}$USE_NLS" >&6
12216 # Prepare PATH_SEPARATOR.
12217 # The user is always right.
12218 if test "${PATH_SEPARATOR+set}" != set; then
12219 echo "#! /bin/sh" >conf$$.sh
12220 echo "exit 0" >>conf$$.sh
12222 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12230 # Find out how to test for executable files. Don't use a zero-byte file,
12231 # as systems may use methods other than mode bits to determine executability.
12232 cat >conf$$.
file <<_ASEOF
12236 chmod +x conf$$.
file
12237 if test -x conf$$.
file >/dev
/null
2>&1; then
12238 ac_executable_p
="test -x"
12240 ac_executable_p
="test -f"
12244 # Extract the first word of "msgfmt", so it can be a program name with args.
12245 set dummy msgfmt
; ac_word
=$2
12246 echo "$as_me:$LINENO: checking for $ac_word" >&5
12247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12248 if test "${ac_cv_path_MSGFMT+set}" = set; then
12249 echo $ECHO_N "(cached) $ECHO_C" >&6
12253 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
12256 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12257 for ac_dir
in $PATH; do
12259 test -z "$ac_dir" && ac_dir
=.
12260 for ac_exec_ext
in '' $ac_executable_extensions; do
12261 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12262 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
12263 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12264 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
12271 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
12275 MSGFMT
="$ac_cv_path_MSGFMT"
12276 if test "$MSGFMT" != ":"; then
12277 echo "$as_me:$LINENO: result: $MSGFMT" >&5
12278 echo "${ECHO_T}$MSGFMT" >&6
12280 echo "$as_me:$LINENO: result: no" >&5
12281 echo "${ECHO_T}no" >&6
12284 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12285 set dummy gmsgfmt
; ac_word
=$2
12286 echo "$as_me:$LINENO: checking for $ac_word" >&5
12287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12288 if test "${ac_cv_path_GMSGFMT+set}" = set; then
12289 echo $ECHO_N "(cached) $ECHO_C" >&6
12293 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
12296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12297 for as_dir
in $PATH
12300 test -z "$as_dir" && as_dir
=.
12301 for ac_exec_ext
in '' $ac_executable_extensions; do
12302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12303 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
12304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12310 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
12314 GMSGFMT
=$ac_cv_path_GMSGFMT
12316 if test -n "$GMSGFMT"; then
12317 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
12318 echo "${ECHO_T}$GMSGFMT" >&6
12320 echo "$as_me:$LINENO: result: no" >&5
12321 echo "${ECHO_T}no" >&6
12326 # Prepare PATH_SEPARATOR.
12327 # The user is always right.
12328 if test "${PATH_SEPARATOR+set}" != set; then
12329 echo "#! /bin/sh" >conf$$.sh
12330 echo "exit 0" >>conf$$.sh
12332 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12340 # Find out how to test for executable files. Don't use a zero-byte file,
12341 # as systems may use methods other than mode bits to determine executability.
12342 cat >conf$$.
file <<_ASEOF
12346 chmod +x conf$$.
file
12347 if test -x conf$$.
file >/dev
/null
2>&1; then
12348 ac_executable_p
="test -x"
12350 ac_executable_p
="test -f"
12354 # Extract the first word of "xgettext", so it can be a program name with args.
12355 set dummy xgettext
; ac_word
=$2
12356 echo "$as_me:$LINENO: checking for $ac_word" >&5
12357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12358 if test "${ac_cv_path_XGETTEXT+set}" = set; then
12359 echo $ECHO_N "(cached) $ECHO_C" >&6
12361 case "$XGETTEXT" in
12363 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
12366 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12367 for ac_dir
in $PATH; do
12369 test -z "$ac_dir" && ac_dir
=.
12370 for ac_exec_ext
in '' $ac_executable_extensions; do
12371 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12372 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
12373 (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
12374 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
12381 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
12385 XGETTEXT
="$ac_cv_path_XGETTEXT"
12386 if test "$XGETTEXT" != ":"; then
12387 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
12388 echo "${ECHO_T}$XGETTEXT" >&6
12390 echo "$as_me:$LINENO: result: no" >&5
12391 echo "${ECHO_T}no" >&6
12397 # Prepare PATH_SEPARATOR.
12398 # The user is always right.
12399 if test "${PATH_SEPARATOR+set}" != set; then
12400 echo "#! /bin/sh" >conf$$.sh
12401 echo "exit 0" >>conf$$.sh
12403 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12411 # Find out how to test for executable files. Don't use a zero-byte file,
12412 # as systems may use methods other than mode bits to determine executability.
12413 cat >conf$$.
file <<_ASEOF
12417 chmod +x conf$$.
file
12418 if test -x conf$$.
file >/dev
/null
2>&1; then
12419 ac_executable_p
="test -x"
12421 ac_executable_p
="test -f"
12425 # Extract the first word of "msgmerge", so it can be a program name with args.
12426 set dummy msgmerge
; ac_word
=$2
12427 echo "$as_me:$LINENO: checking for $ac_word" >&5
12428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12429 if test "${ac_cv_path_MSGMERGE+set}" = set; then
12430 echo $ECHO_N "(cached) $ECHO_C" >&6
12432 case "$MSGMERGE" in
12434 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
12437 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12438 for ac_dir
in $PATH; do
12440 test -z "$ac_dir" && ac_dir
=.
12441 for ac_exec_ext
in '' $ac_executable_extensions; do
12442 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12443 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
12444 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
12451 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
12455 MSGMERGE
="$ac_cv_path_MSGMERGE"
12456 if test "$MSGMERGE" != ":"; then
12457 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
12458 echo "${ECHO_T}$MSGMERGE" >&6
12460 echo "$as_me:$LINENO: result: no" >&5
12461 echo "${ECHO_T}no" >&6
12465 if test "$GMSGFMT" != ":"; then
12466 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
12467 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12470 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
12471 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
12472 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
12477 if test "$XGETTEXT" != ":"; then
12478 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
12479 (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
12482 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
12483 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
12489 ac_config_commands
="$ac_config_commands default-1"
12493 # Permit host specific settings.
12494 .
${srcdir}/configure.
host
12497 # Find a good install program. We prefer a C program (faster),
12498 # so one script is as good as another. But avoid the broken or
12499 # incompatible versions:
12500 # SysV /etc/install, /usr/sbin/install
12501 # SunOS /usr/etc/install
12502 # IRIX /sbin/install
12504 # AmigaOS /C/install, which installs bootblocks on floppy discs
12505 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12506 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12507 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12508 # OS/2's system install, which has a completely different semantic
12509 # ./install, which can be erroneously created by make from ./install.sh.
12510 # Reject install programs that cannot install multiple files.
12511 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12512 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12513 if test -z "$INSTALL"; then
12514 if test "${ac_cv_path_install+set}" = set; then
12515 echo $ECHO_N "(cached) $ECHO_C" >&6
12517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12518 for as_dir
in $PATH
12521 test -z "$as_dir" && as_dir
=.
12522 # Account for people who put trailing slashes in PATH elements.
12524 .
/ | .
// |
/cC
/* | \
12525 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
12526 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12529 # OSF1 and SCO ODT 3.0 have their own names for install.
12530 # Don't use installbsd from OSF since it installs stuff as root
12532 for ac_prog
in ginstall scoinst
install; do
12533 for ac_exec_ext
in '' $ac_executable_extensions; do
12534 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12535 if test $ac_prog = install &&
12536 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12537 # AIX install. It has an incompatible calling convention.
12539 elif test $ac_prog = install &&
12540 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12541 # program-specific install script used by HP pwplus--don't use.
12544 rm -rf conftest.one conftest.two conftest.dir
12545 echo one
> conftest.one
12546 echo two
> conftest.two
12548 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
12549 test -s conftest.one
&& test -s conftest.two
&&
12550 test -s conftest.dir
/conftest.one
&&
12551 test -s conftest.dir
/conftest.two
12553 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12564 rm -rf conftest.one conftest.two conftest.dir
12567 if test "${ac_cv_path_install+set}" = set; then
12568 INSTALL
=$ac_cv_path_install
12570 # As a last resort, use the slow shell script. Don't cache a
12571 # value for INSTALL within a source directory, because that will
12572 # break other packages using the cache if that directory is
12573 # removed, or if the value is a relative name.
12574 INSTALL
=$ac_install_sh
12577 echo "$as_me:$LINENO: result: $INSTALL" >&5
12578 echo "${ECHO_T}$INSTALL" >&6
12580 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12581 # It thinks the first close brace ends the variable substitution.
12582 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12584 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12586 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12589 BFD_HOST_64BIT_LONG
=0
12590 BFD_HOST_64BIT_LONG_LONG
=0
12591 BFD_HOST_64_BIT_DEFINED
=0
12594 BFD_HOSTPTR_T
="unsigned long"
12596 echo "$as_me:$LINENO: checking for long long" >&5
12597 echo $ECHO_N "checking for long long... $ECHO_C" >&6
12598 if test "${ac_cv_type_long_long+set}" = set; then
12599 echo $ECHO_N "(cached) $ECHO_C" >&6
12601 cat >conftest.
$ac_ext <<_ACEOF
12604 cat confdefs.h
>>conftest.
$ac_ext
12605 cat >>conftest.
$ac_ext <<_ACEOF
12606 /* end confdefs.h. */
12607 $ac_includes_default
12611 if ((long long *) 0)
12613 if (sizeof (long long))
12619 rm -f conftest.
$ac_objext
12620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12621 (eval $ac_compile) 2>conftest.er1
12623 grep -v '^ *+' conftest.er1
>conftest.err
12625 cat conftest.err
>&5
12626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); } &&
12628 { ac_try
='test -z "$ac_c_werror_flag"
12629 || test ! -s conftest.err'
12630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12631 (eval $ac_try) 2>&5
12633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12634 (exit $ac_status); }; } &&
12635 { ac_try
='test -s conftest.$ac_objext'
12636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12637 (eval $ac_try) 2>&5
12639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12640 (exit $ac_status); }; }; then
12641 ac_cv_type_long_long
=yes
12643 echo "$as_me: failed program was:" >&5
12644 sed 's/^/| /' conftest.
$ac_ext >&5
12646 ac_cv_type_long_long
=no
12648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12650 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
12651 echo "${ECHO_T}$ac_cv_type_long_long" >&6
12653 echo "$as_me:$LINENO: checking size of long long" >&5
12654 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
12655 if test "${ac_cv_sizeof_long_long+set}" = set; then
12656 echo $ECHO_N "(cached) $ECHO_C" >&6
12658 if test "$ac_cv_type_long_long" = yes; then
12659 # The cast to unsigned long works around a bug in the HP C Compiler
12660 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12661 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12662 # This bug is HP SR number 8606223364.
12663 if test "$cross_compiling" = yes; then
12664 # Depending upon the size, compute the lo and hi bounds.
12665 cat >conftest.
$ac_ext <<_ACEOF
12668 cat confdefs.h
>>conftest.
$ac_ext
12669 cat >>conftest.
$ac_ext <<_ACEOF
12670 /* end confdefs.h. */
12671 $ac_includes_default
12675 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
12682 rm -f conftest.
$ac_objext
12683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12684 (eval $ac_compile) 2>conftest.er1
12686 grep -v '^ *+' conftest.er1
>conftest.err
12688 cat conftest.err
>&5
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 (exit $ac_status); } &&
12691 { ac_try
='test -z "$ac_c_werror_flag"
12692 || test ! -s conftest.err'
12693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12694 (eval $ac_try) 2>&5
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); }; } &&
12698 { ac_try
='test -s conftest.$ac_objext'
12699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12700 (eval $ac_try) 2>&5
12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703 (exit $ac_status); }; }; then
12706 cat >conftest.
$ac_ext <<_ACEOF
12709 cat confdefs.h
>>conftest.
$ac_ext
12710 cat >>conftest.
$ac_ext <<_ACEOF
12711 /* end confdefs.h. */
12712 $ac_includes_default
12716 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
12723 rm -f conftest.
$ac_objext
12724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12725 (eval $ac_compile) 2>conftest.er1
12727 grep -v '^ *+' conftest.er1
>conftest.err
12729 cat conftest.err
>&5
12730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12731 (exit $ac_status); } &&
12732 { ac_try
='test -z "$ac_c_werror_flag"
12733 || test ! -s conftest.err'
12734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12735 (eval $ac_try) 2>&5
12737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12738 (exit $ac_status); }; } &&
12739 { ac_try
='test -s conftest.$ac_objext'
12740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12741 (eval $ac_try) 2>&5
12743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744 (exit $ac_status); }; }; then
12745 ac_hi
=$ac_mid; break
12747 echo "$as_me: failed program was:" >&5
12748 sed 's/^/| /' conftest.
$ac_ext >&5
12750 ac_lo
=`expr $ac_mid + 1`
12751 if test $ac_lo -le $ac_mid; then
12755 ac_mid
=`expr 2 '*' $ac_mid + 1`
12757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12760 echo "$as_me: failed program was:" >&5
12761 sed 's/^/| /' conftest.
$ac_ext >&5
12763 cat >conftest.
$ac_ext <<_ACEOF
12766 cat confdefs.h
>>conftest.
$ac_ext
12767 cat >>conftest.
$ac_ext <<_ACEOF
12768 /* end confdefs.h. */
12769 $ac_includes_default
12773 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
12780 rm -f conftest.
$ac_objext
12781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12782 (eval $ac_compile) 2>conftest.er1
12784 grep -v '^ *+' conftest.er1
>conftest.err
12786 cat conftest.err
>&5
12787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788 (exit $ac_status); } &&
12789 { ac_try
='test -z "$ac_c_werror_flag"
12790 || test ! -s conftest.err'
12791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12792 (eval $ac_try) 2>&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); }; } &&
12796 { ac_try
='test -s conftest.$ac_objext'
12797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12798 (eval $ac_try) 2>&5
12800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12801 (exit $ac_status); }; }; then
12804 cat >conftest.
$ac_ext <<_ACEOF
12807 cat confdefs.h
>>conftest.
$ac_ext
12808 cat >>conftest.
$ac_ext <<_ACEOF
12809 /* end confdefs.h. */
12810 $ac_includes_default
12814 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
12821 rm -f conftest.
$ac_objext
12822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12823 (eval $ac_compile) 2>conftest.er1
12825 grep -v '^ *+' conftest.er1
>conftest.err
12827 cat conftest.err
>&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); } &&
12830 { ac_try
='test -z "$ac_c_werror_flag"
12831 || test ! -s conftest.err'
12832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12833 (eval $ac_try) 2>&5
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); }; } &&
12837 { ac_try
='test -s conftest.$ac_objext'
12838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12839 (eval $ac_try) 2>&5
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); }; }; then
12843 ac_lo
=$ac_mid; break
12845 echo "$as_me: failed program was:" >&5
12846 sed 's/^/| /' conftest.
$ac_ext >&5
12848 ac_hi
=`expr '(' $ac_mid ')' - 1`
12849 if test $ac_mid -le $ac_hi; then
12853 ac_mid
=`expr 2 '*' $ac_mid`
12855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12858 echo "$as_me: failed program was:" >&5
12859 sed 's/^/| /' conftest.
$ac_ext >&5
12863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12866 # Binary search between lo and hi bounds.
12867 while test "x$ac_lo" != "x$ac_hi"; do
12868 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12869 cat >conftest.
$ac_ext <<_ACEOF
12872 cat confdefs.h
>>conftest.
$ac_ext
12873 cat >>conftest.
$ac_ext <<_ACEOF
12874 /* end confdefs.h. */
12875 $ac_includes_default
12879 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
12886 rm -f conftest.
$ac_objext
12887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12888 (eval $ac_compile) 2>conftest.er1
12890 grep -v '^ *+' conftest.er1
>conftest.err
12892 cat conftest.err
>&5
12893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12894 (exit $ac_status); } &&
12895 { ac_try
='test -z "$ac_c_werror_flag"
12896 || test ! -s conftest.err'
12897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12898 (eval $ac_try) 2>&5
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); }; } &&
12902 { ac_try
='test -s conftest.$ac_objext'
12903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12904 (eval $ac_try) 2>&5
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); }; }; then
12910 echo "$as_me: failed program was:" >&5
12911 sed 's/^/| /' conftest.
$ac_ext >&5
12913 ac_lo
=`expr '(' $ac_mid ')' + 1`
12915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12918 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
12919 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12920 echo "$as_me: error: in \`$ac_pwd':" >&2;}
12921 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
12922 See \`config.log' for more details." >&5
12923 echo "$as_me: error: cannot compute sizeof (long long), 77
12924 See \`config.log' for more details." >&2;}
12925 { (exit 1); exit 1; }; }; } ;;
12928 if test "$cross_compiling" = yes; then
12929 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12930 echo "$as_me: error: in \`$ac_pwd':" >&2;}
12931 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12932 See \`config.log' for more details." >&5
12933 echo "$as_me: error: cannot run test program while cross compiling
12934 See \`config.log' for more details." >&2;}
12935 { (exit 1); exit 1; }; }; }
12937 cat >conftest.
$ac_ext <<_ACEOF
12940 cat confdefs.h
>>conftest.
$ac_ext
12941 cat >>conftest.
$ac_ext <<_ACEOF
12942 /* end confdefs.h. */
12943 $ac_includes_default
12944 long longval () { return (long) (sizeof (long long)); }
12945 unsigned long ulongval () { return (long) (sizeof (long long)); }
12947 #include <stdlib.h>
12952 FILE *f = fopen ("conftest.val", "w");
12955 if (((long) (sizeof (long long))) < 0)
12957 long i = longval ();
12958 if (i != ((long) (sizeof (long long))))
12960 fprintf (f, "%ld\n", i);
12964 unsigned long i = ulongval ();
12965 if (i != ((long) (sizeof (long long))))
12967 fprintf (f, "%lu\n", i);
12969 exit (ferror (f) || fclose (f) != 0);
12975 rm -f conftest
$ac_exeext
12976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12977 (eval $ac_link) 2>&5
12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12982 (eval $ac_try) 2>&5
12984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12985 (exit $ac_status); }; }; then
12986 ac_cv_sizeof_long_long
=`cat conftest.val`
12988 echo "$as_me: program exited with status $ac_status" >&5
12989 echo "$as_me: failed program was:" >&5
12990 sed 's/^/| /' conftest.
$ac_ext >&5
12992 ( exit $ac_status )
12993 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12994 echo "$as_me: error: in \`$ac_pwd':" >&2;}
12995 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
12996 See \`config.log' for more details." >&5
12997 echo "$as_me: error: cannot compute sizeof (long long), 77
12998 See \`config.log' for more details." >&2;}
12999 { (exit 1); exit 1; }; }; }
13001 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13006 ac_cv_sizeof_long_long
=0
13009 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
13010 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
13011 cat >>confdefs.h
<<_ACEOF
13012 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13016 echo "$as_me:$LINENO: checking for void *" >&5
13017 echo $ECHO_N "checking for void *... $ECHO_C" >&6
13018 if test "${ac_cv_type_void_p+set}" = set; then
13019 echo $ECHO_N "(cached) $ECHO_C" >&6
13021 cat >conftest.
$ac_ext <<_ACEOF
13024 cat confdefs.h
>>conftest.
$ac_ext
13025 cat >>conftest.
$ac_ext <<_ACEOF
13026 /* end confdefs.h. */
13027 $ac_includes_default
13033 if (sizeof (void *))
13039 rm -f conftest.
$ac_objext
13040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13041 (eval $ac_compile) 2>conftest.er1
13043 grep -v '^ *+' conftest.er1
>conftest.err
13045 cat conftest.err
>&5
13046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13047 (exit $ac_status); } &&
13048 { ac_try
='test -z "$ac_c_werror_flag"
13049 || test ! -s conftest.err'
13050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13051 (eval $ac_try) 2>&5
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); }; } &&
13055 { ac_try
='test -s conftest.$ac_objext'
13056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13057 (eval $ac_try) 2>&5
13059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13060 (exit $ac_status); }; }; then
13061 ac_cv_type_void_p
=yes
13063 echo "$as_me: failed program was:" >&5
13064 sed 's/^/| /' conftest.
$ac_ext >&5
13066 ac_cv_type_void_p
=no
13068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13070 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
13071 echo "${ECHO_T}$ac_cv_type_void_p" >&6
13073 echo "$as_me:$LINENO: checking size of void *" >&5
13074 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
13075 if test "${ac_cv_sizeof_void_p+set}" = set; then
13076 echo $ECHO_N "(cached) $ECHO_C" >&6
13078 if test "$ac_cv_type_void_p" = yes; then
13079 # The cast to unsigned long works around a bug in the HP C Compiler
13080 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13081 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13082 # This bug is HP SR number 8606223364.
13083 if test "$cross_compiling" = yes; then
13084 # Depending upon the size, compute the lo and hi bounds.
13085 cat >conftest.
$ac_ext <<_ACEOF
13088 cat confdefs.h
>>conftest.
$ac_ext
13089 cat >>conftest.
$ac_ext <<_ACEOF
13090 /* end confdefs.h. */
13091 $ac_includes_default
13095 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
13102 rm -f conftest.
$ac_objext
13103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13104 (eval $ac_compile) 2>conftest.er1
13106 grep -v '^ *+' conftest.er1
>conftest.err
13108 cat conftest.err
>&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); } &&
13111 { ac_try
='test -z "$ac_c_werror_flag"
13112 || test ! -s conftest.err'
13113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13114 (eval $ac_try) 2>&5
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); }; } &&
13118 { ac_try
='test -s conftest.$ac_objext'
13119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13120 (eval $ac_try) 2>&5
13122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13123 (exit $ac_status); }; }; then
13126 cat >conftest.
$ac_ext <<_ACEOF
13129 cat confdefs.h
>>conftest.
$ac_ext
13130 cat >>conftest.
$ac_ext <<_ACEOF
13131 /* end confdefs.h. */
13132 $ac_includes_default
13136 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
13143 rm -f conftest.
$ac_objext
13144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13145 (eval $ac_compile) 2>conftest.er1
13147 grep -v '^ *+' conftest.er1
>conftest.err
13149 cat conftest.err
>&5
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); } &&
13152 { ac_try
='test -z "$ac_c_werror_flag"
13153 || test ! -s conftest.err'
13154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13155 (eval $ac_try) 2>&5
13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158 (exit $ac_status); }; } &&
13159 { ac_try
='test -s conftest.$ac_objext'
13160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13161 (eval $ac_try) 2>&5
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); }; }; then
13165 ac_hi
=$ac_mid; break
13167 echo "$as_me: failed program was:" >&5
13168 sed 's/^/| /' conftest.
$ac_ext >&5
13170 ac_lo
=`expr $ac_mid + 1`
13171 if test $ac_lo -le $ac_mid; then
13175 ac_mid
=`expr 2 '*' $ac_mid + 1`
13177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13180 echo "$as_me: failed program was:" >&5
13181 sed 's/^/| /' conftest.
$ac_ext >&5
13183 cat >conftest.
$ac_ext <<_ACEOF
13186 cat confdefs.h
>>conftest.
$ac_ext
13187 cat >>conftest.
$ac_ext <<_ACEOF
13188 /* end confdefs.h. */
13189 $ac_includes_default
13193 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
13200 rm -f conftest.
$ac_objext
13201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13202 (eval $ac_compile) 2>conftest.er1
13204 grep -v '^ *+' conftest.er1
>conftest.err
13206 cat conftest.err
>&5
13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 (exit $ac_status); } &&
13209 { ac_try
='test -z "$ac_c_werror_flag"
13210 || test ! -s conftest.err'
13211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13212 (eval $ac_try) 2>&5
13214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13215 (exit $ac_status); }; } &&
13216 { ac_try
='test -s conftest.$ac_objext'
13217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13218 (eval $ac_try) 2>&5
13220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13221 (exit $ac_status); }; }; then
13224 cat >conftest.
$ac_ext <<_ACEOF
13227 cat confdefs.h
>>conftest.
$ac_ext
13228 cat >>conftest.
$ac_ext <<_ACEOF
13229 /* end confdefs.h. */
13230 $ac_includes_default
13234 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
13241 rm -f conftest.
$ac_objext
13242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13243 (eval $ac_compile) 2>conftest.er1
13245 grep -v '^ *+' conftest.er1
>conftest.err
13247 cat conftest.err
>&5
13248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13249 (exit $ac_status); } &&
13250 { ac_try
='test -z "$ac_c_werror_flag"
13251 || test ! -s conftest.err'
13252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13253 (eval $ac_try) 2>&5
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); }; } &&
13257 { ac_try
='test -s conftest.$ac_objext'
13258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13259 (eval $ac_try) 2>&5
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); }; }; then
13263 ac_lo
=$ac_mid; break
13265 echo "$as_me: failed program was:" >&5
13266 sed 's/^/| /' conftest.
$ac_ext >&5
13268 ac_hi
=`expr '(' $ac_mid ')' - 1`
13269 if test $ac_mid -le $ac_hi; then
13273 ac_mid
=`expr 2 '*' $ac_mid`
13275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13278 echo "$as_me: failed program was:" >&5
13279 sed 's/^/| /' conftest.
$ac_ext >&5
13283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13286 # Binary search between lo and hi bounds.
13287 while test "x$ac_lo" != "x$ac_hi"; do
13288 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13289 cat >conftest.
$ac_ext <<_ACEOF
13292 cat confdefs.h
>>conftest.
$ac_ext
13293 cat >>conftest.
$ac_ext <<_ACEOF
13294 /* end confdefs.h. */
13295 $ac_includes_default
13299 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
13306 rm -f conftest.
$ac_objext
13307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13308 (eval $ac_compile) 2>conftest.er1
13310 grep -v '^ *+' conftest.er1
>conftest.err
13312 cat conftest.err
>&5
13313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); } &&
13315 { ac_try
='test -z "$ac_c_werror_flag"
13316 || test ! -s conftest.err'
13317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13318 (eval $ac_try) 2>&5
13320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13321 (exit $ac_status); }; } &&
13322 { ac_try
='test -s conftest.$ac_objext'
13323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13324 (eval $ac_try) 2>&5
13326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13327 (exit $ac_status); }; }; then
13330 echo "$as_me: failed program was:" >&5
13331 sed 's/^/| /' conftest.
$ac_ext >&5
13333 ac_lo
=`expr '(' $ac_mid ')' + 1`
13335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13338 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
13339 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13340 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13341 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
13342 See \`config.log' for more details." >&5
13343 echo "$as_me: error: cannot compute sizeof (void *), 77
13344 See \`config.log' for more details." >&2;}
13345 { (exit 1); exit 1; }; }; } ;;
13348 if test "$cross_compiling" = yes; then
13349 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13350 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13351 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13352 See \`config.log' for more details." >&5
13353 echo "$as_me: error: cannot run test program while cross compiling
13354 See \`config.log' for more details." >&2;}
13355 { (exit 1); exit 1; }; }; }
13357 cat >conftest.
$ac_ext <<_ACEOF
13360 cat confdefs.h
>>conftest.
$ac_ext
13361 cat >>conftest.
$ac_ext <<_ACEOF
13362 /* end confdefs.h. */
13363 $ac_includes_default
13364 long longval () { return (long) (sizeof (void *)); }
13365 unsigned long ulongval () { return (long) (sizeof (void *)); }
13367 #include <stdlib.h>
13372 FILE *f = fopen ("conftest.val", "w");
13375 if (((long) (sizeof (void *))) < 0)
13377 long i = longval ();
13378 if (i != ((long) (sizeof (void *))))
13380 fprintf (f, "%ld\n", i);
13384 unsigned long i = ulongval ();
13385 if (i != ((long) (sizeof (void *))))
13387 fprintf (f, "%lu\n", i);
13389 exit (ferror (f) || fclose (f) != 0);
13395 rm -f conftest
$ac_exeext
13396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13397 (eval $ac_link) 2>&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13402 (eval $ac_try) 2>&5
13404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13405 (exit $ac_status); }; }; then
13406 ac_cv_sizeof_void_p
=`cat conftest.val`
13408 echo "$as_me: program exited with status $ac_status" >&5
13409 echo "$as_me: failed program was:" >&5
13410 sed 's/^/| /' conftest.
$ac_ext >&5
13412 ( exit $ac_status )
13413 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13414 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13415 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
13416 See \`config.log' for more details." >&5
13417 echo "$as_me: error: cannot compute sizeof (void *), 77
13418 See \`config.log' for more details." >&2;}
13419 { (exit 1); exit 1; }; }; }
13421 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13426 ac_cv_sizeof_void_p
=0
13429 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
13430 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
13431 cat >>confdefs.h
<<_ACEOF
13432 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13436 echo "$as_me:$LINENO: checking for long" >&5
13437 echo $ECHO_N "checking for long... $ECHO_C" >&6
13438 if test "${ac_cv_type_long+set}" = set; then
13439 echo $ECHO_N "(cached) $ECHO_C" >&6
13441 cat >conftest.
$ac_ext <<_ACEOF
13444 cat confdefs.h
>>conftest.
$ac_ext
13445 cat >>conftest.
$ac_ext <<_ACEOF
13446 /* end confdefs.h. */
13447 $ac_includes_default
13459 rm -f conftest.
$ac_objext
13460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13461 (eval $ac_compile) 2>conftest.er1
13463 grep -v '^ *+' conftest.er1
>conftest.err
13465 cat conftest.err
>&5
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); } &&
13468 { ac_try
='test -z "$ac_c_werror_flag"
13469 || test ! -s conftest.err'
13470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13471 (eval $ac_try) 2>&5
13473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); }; } &&
13475 { ac_try
='test -s conftest.$ac_objext'
13476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13477 (eval $ac_try) 2>&5
13479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13480 (exit $ac_status); }; }; then
13481 ac_cv_type_long
=yes
13483 echo "$as_me: failed program was:" >&5
13484 sed 's/^/| /' conftest.
$ac_ext >&5
13488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13490 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
13491 echo "${ECHO_T}$ac_cv_type_long" >&6
13493 echo "$as_me:$LINENO: checking size of long" >&5
13494 echo $ECHO_N "checking size of long... $ECHO_C" >&6
13495 if test "${ac_cv_sizeof_long+set}" = set; then
13496 echo $ECHO_N "(cached) $ECHO_C" >&6
13498 if test "$ac_cv_type_long" = yes; then
13499 # The cast to unsigned long works around a bug in the HP C Compiler
13500 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13501 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13502 # This bug is HP SR number 8606223364.
13503 if test "$cross_compiling" = yes; then
13504 # Depending upon the size, compute the lo and hi bounds.
13505 cat >conftest.
$ac_ext <<_ACEOF
13508 cat confdefs.h
>>conftest.
$ac_ext
13509 cat >>conftest.
$ac_ext <<_ACEOF
13510 /* end confdefs.h. */
13511 $ac_includes_default
13515 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
13522 rm -f conftest.
$ac_objext
13523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13524 (eval $ac_compile) 2>conftest.er1
13526 grep -v '^ *+' conftest.er1
>conftest.err
13528 cat conftest.err
>&5
13529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13530 (exit $ac_status); } &&
13531 { ac_try
='test -z "$ac_c_werror_flag"
13532 || test ! -s conftest.err'
13533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13534 (eval $ac_try) 2>&5
13536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 (exit $ac_status); }; } &&
13538 { ac_try
='test -s conftest.$ac_objext'
13539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13540 (eval $ac_try) 2>&5
13542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13543 (exit $ac_status); }; }; then
13546 cat >conftest.
$ac_ext <<_ACEOF
13549 cat confdefs.h
>>conftest.
$ac_ext
13550 cat >>conftest.
$ac_ext <<_ACEOF
13551 /* end confdefs.h. */
13552 $ac_includes_default
13556 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
13563 rm -f conftest.
$ac_objext
13564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13565 (eval $ac_compile) 2>conftest.er1
13567 grep -v '^ *+' conftest.er1
>conftest.err
13569 cat conftest.err
>&5
13570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571 (exit $ac_status); } &&
13572 { ac_try
='test -z "$ac_c_werror_flag"
13573 || test ! -s conftest.err'
13574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13575 (eval $ac_try) 2>&5
13577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13578 (exit $ac_status); }; } &&
13579 { ac_try
='test -s conftest.$ac_objext'
13580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13581 (eval $ac_try) 2>&5
13583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13584 (exit $ac_status); }; }; then
13585 ac_hi
=$ac_mid; break
13587 echo "$as_me: failed program was:" >&5
13588 sed 's/^/| /' conftest.
$ac_ext >&5
13590 ac_lo
=`expr $ac_mid + 1`
13591 if test $ac_lo -le $ac_mid; then
13595 ac_mid
=`expr 2 '*' $ac_mid + 1`
13597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13600 echo "$as_me: failed program was:" >&5
13601 sed 's/^/| /' conftest.
$ac_ext >&5
13603 cat >conftest.
$ac_ext <<_ACEOF
13606 cat confdefs.h
>>conftest.
$ac_ext
13607 cat >>conftest.
$ac_ext <<_ACEOF
13608 /* end confdefs.h. */
13609 $ac_includes_default
13613 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
13620 rm -f conftest.
$ac_objext
13621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13622 (eval $ac_compile) 2>conftest.er1
13624 grep -v '^ *+' conftest.er1
>conftest.err
13626 cat conftest.err
>&5
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); } &&
13629 { ac_try
='test -z "$ac_c_werror_flag"
13630 || test ! -s conftest.err'
13631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13632 (eval $ac_try) 2>&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); }; } &&
13636 { ac_try
='test -s conftest.$ac_objext'
13637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13638 (eval $ac_try) 2>&5
13640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13641 (exit $ac_status); }; }; then
13644 cat >conftest.
$ac_ext <<_ACEOF
13647 cat confdefs.h
>>conftest.
$ac_ext
13648 cat >>conftest.
$ac_ext <<_ACEOF
13649 /* end confdefs.h. */
13650 $ac_includes_default
13654 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
13661 rm -f conftest.
$ac_objext
13662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13663 (eval $ac_compile) 2>conftest.er1
13665 grep -v '^ *+' conftest.er1
>conftest.err
13667 cat conftest.err
>&5
13668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 (exit $ac_status); } &&
13670 { ac_try
='test -z "$ac_c_werror_flag"
13671 || test ! -s conftest.err'
13672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13673 (eval $ac_try) 2>&5
13675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 (exit $ac_status); }; } &&
13677 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
13683 ac_lo
=$ac_mid; break
13685 echo "$as_me: failed program was:" >&5
13686 sed 's/^/| /' conftest.
$ac_ext >&5
13688 ac_hi
=`expr '(' $ac_mid ')' - 1`
13689 if test $ac_mid -le $ac_hi; then
13693 ac_mid
=`expr 2 '*' $ac_mid`
13695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13698 echo "$as_me: failed program was:" >&5
13699 sed 's/^/| /' conftest.
$ac_ext >&5
13703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13706 # Binary search between lo and hi bounds.
13707 while test "x$ac_lo" != "x$ac_hi"; do
13708 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13709 cat >conftest.
$ac_ext <<_ACEOF
13712 cat confdefs.h
>>conftest.
$ac_ext
13713 cat >>conftest.
$ac_ext <<_ACEOF
13714 /* end confdefs.h. */
13715 $ac_includes_default
13719 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
13726 rm -f conftest.
$ac_objext
13727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13728 (eval $ac_compile) 2>conftest.er1
13730 grep -v '^ *+' conftest.er1
>conftest.err
13732 cat conftest.err
>&5
13733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13734 (exit $ac_status); } &&
13735 { ac_try
='test -z "$ac_c_werror_flag"
13736 || test ! -s conftest.err'
13737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13738 (eval $ac_try) 2>&5
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); }; } &&
13742 { ac_try
='test -s conftest.$ac_objext'
13743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13744 (eval $ac_try) 2>&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); }; }; then
13750 echo "$as_me: failed program was:" >&5
13751 sed 's/^/| /' conftest.
$ac_ext >&5
13753 ac_lo
=`expr '(' $ac_mid ')' + 1`
13755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13758 ?
*) ac_cv_sizeof_long
=$ac_lo;;
13759 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13760 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13761 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
13762 See \`config.log' for more details." >&5
13763 echo "$as_me: error: cannot compute sizeof (long), 77
13764 See \`config.log' for more details." >&2;}
13765 { (exit 1); exit 1; }; }; } ;;
13768 if test "$cross_compiling" = yes; then
13769 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13770 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13771 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13772 See \`config.log' for more details." >&5
13773 echo "$as_me: error: cannot run test program while cross compiling
13774 See \`config.log' for more details." >&2;}
13775 { (exit 1); exit 1; }; }; }
13777 cat >conftest.
$ac_ext <<_ACEOF
13780 cat confdefs.h
>>conftest.
$ac_ext
13781 cat >>conftest.
$ac_ext <<_ACEOF
13782 /* end confdefs.h. */
13783 $ac_includes_default
13784 long longval () { return (long) (sizeof (long)); }
13785 unsigned long ulongval () { return (long) (sizeof (long)); }
13787 #include <stdlib.h>
13792 FILE *f = fopen ("conftest.val", "w");
13795 if (((long) (sizeof (long))) < 0)
13797 long i = longval ();
13798 if (i != ((long) (sizeof (long))))
13800 fprintf (f, "%ld\n", i);
13804 unsigned long i = ulongval ();
13805 if (i != ((long) (sizeof (long))))
13807 fprintf (f, "%lu\n", i);
13809 exit (ferror (f) || fclose (f) != 0);
13815 rm -f conftest
$ac_exeext
13816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13817 (eval $ac_link) 2>&5
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13822 (eval $ac_try) 2>&5
13824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825 (exit $ac_status); }; }; then
13826 ac_cv_sizeof_long
=`cat conftest.val`
13828 echo "$as_me: program exited with status $ac_status" >&5
13829 echo "$as_me: failed program was:" >&5
13830 sed 's/^/| /' conftest.
$ac_ext >&5
13832 ( exit $ac_status )
13833 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13834 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13835 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
13836 See \`config.log' for more details." >&5
13837 echo "$as_me: error: cannot compute sizeof (long), 77
13838 See \`config.log' for more details." >&2;}
13839 { (exit 1); exit 1; }; }; }
13841 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13846 ac_cv_sizeof_long
=0
13849 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
13850 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
13851 cat >>confdefs.h
<<_ACEOF
13852 #define SIZEOF_LONG $ac_cv_sizeof_long
13857 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
13861 if test "x${ac_cv_sizeof_long}" = "x8"; then
13862 BFD_HOST_64BIT_LONG
=1
13863 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long"
13864 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long"
13865 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
13866 BFD_HOST_64BIT_LONG_LONG
=1
13867 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long long"
13868 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long long"
13869 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
13870 BFD_HOSTPTR_T
="unsigned long long"
13874 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
13875 BFD_HOST_64_BIT_DEFINED
=1
13876 BFD_HOST_64_BIT
="${HOST_64BIT_TYPE}"
13877 BFD_HOST_U_64_BIT
="${HOST_U_64BIT_TYPE}"
13887 # Put a plausible default for CC_FOR_BUILD in Makefile.
13888 if test -z "$CC_FOR_BUILD"; then
13889 if test "x$cross_compiling" = "xno"; then
13890 CC_FOR_BUILD
='$(CC)'
13896 # Also set EXEEXT_FOR_BUILD.
13897 if test "x$cross_compiling" = "xno"; then
13898 EXEEXT_FOR_BUILD
='$(EXEEXT)'
13900 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
13901 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
13902 if test "${bfd_cv_build_exeext+set}" = set; then
13903 echo $ECHO_N "(cached) $ECHO_C" >&6
13906 echo 'int main () { return 0; }' > conftest.c
13907 bfd_cv_build_exeext
=
13908 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
13909 for file in conftest.
*; do
13911 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
13912 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
13916 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
13918 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
13919 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
13920 EXEEXT_FOR_BUILD
=""
13921 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
13932 for ac_header
in alloca.h stddef.h string.h
strings.h stdlib.h
time.h unistd.h
13934 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13936 echo "$as_me:$LINENO: checking for $ac_header" >&5
13937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13939 echo $ECHO_N "(cached) $ECHO_C" >&6
13941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13944 # Is the header compilable?
13945 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13946 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13947 cat >conftest.
$ac_ext <<_ACEOF
13950 cat confdefs.h
>>conftest.
$ac_ext
13951 cat >>conftest.
$ac_ext <<_ACEOF
13952 /* end confdefs.h. */
13953 $ac_includes_default
13954 #include <$ac_header>
13956 rm -f conftest.
$ac_objext
13957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13958 (eval $ac_compile) 2>conftest.er1
13960 grep -v '^ *+' conftest.er1
>conftest.err
13962 cat conftest.err
>&5
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); } &&
13965 { ac_try
='test -z "$ac_c_werror_flag"
13966 || test ! -s conftest.err'
13967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13968 (eval $ac_try) 2>&5
13970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); }; } &&
13972 { ac_try
='test -s conftest.$ac_objext'
13973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13974 (eval $ac_try) 2>&5
13976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13977 (exit $ac_status); }; }; then
13978 ac_header_compiler
=yes
13980 echo "$as_me: failed program was:" >&5
13981 sed 's/^/| /' conftest.
$ac_ext >&5
13983 ac_header_compiler
=no
13985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13987 echo "${ECHO_T}$ac_header_compiler" >&6
13989 # Is the header present?
13990 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13992 cat >conftest.
$ac_ext <<_ACEOF
13995 cat confdefs.h
>>conftest.
$ac_ext
13996 cat >>conftest.
$ac_ext <<_ACEOF
13997 /* end confdefs.h. */
13998 #include <$ac_header>
14000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14001 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14003 grep -v '^ *+' conftest.er1
>conftest.err
14005 cat conftest.err
>&5
14006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14007 (exit $ac_status); } >/dev
/null
; then
14008 if test -s conftest.err
; then
14009 ac_cpp_err
=$ac_c_preproc_warn_flag
14010 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14017 if test -z "$ac_cpp_err"; then
14018 ac_header_preproc
=yes
14020 echo "$as_me: failed program was:" >&5
14021 sed 's/^/| /' conftest.
$ac_ext >&5
14023 ac_header_preproc
=no
14025 rm -f conftest.err conftest.
$ac_ext
14026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14027 echo "${ECHO_T}$ac_header_preproc" >&6
14029 # So? What about this header?
14030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14035 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14036 ac_header_preproc
=yes
14039 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14040 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14041 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14042 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14043 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14044 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14045 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14046 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14049 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14050 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14053 ## ------------------------------------------ ##
14054 ## Report this to the AC_PACKAGE_NAME lists. ##
14055 ## ------------------------------------------ ##
14058 sed "s/^/$as_me: WARNING: /" >&2
14061 echo "$as_me:$LINENO: checking for $ac_header" >&5
14062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14064 echo $ECHO_N "(cached) $ECHO_C" >&6
14066 eval "$as_ac_Header=\$ac_header_preproc"
14068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14073 cat >>confdefs.h
<<_ACEOF
14074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14084 for ac_header
in fcntl.h sys
/file.h sys
/time.h
14086 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14088 echo "$as_me:$LINENO: checking for $ac_header" >&5
14089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14091 echo $ECHO_N "(cached) $ECHO_C" >&6
14093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14094 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14096 # Is the header compilable?
14097 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14098 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14099 cat >conftest.
$ac_ext <<_ACEOF
14102 cat confdefs.h
>>conftest.
$ac_ext
14103 cat >>conftest.
$ac_ext <<_ACEOF
14104 /* end confdefs.h. */
14105 $ac_includes_default
14106 #include <$ac_header>
14108 rm -f conftest.
$ac_objext
14109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14110 (eval $ac_compile) 2>conftest.er1
14112 grep -v '^ *+' conftest.er1
>conftest.err
14114 cat conftest.err
>&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); } &&
14117 { ac_try
='test -z "$ac_c_werror_flag"
14118 || test ! -s conftest.err'
14119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14120 (eval $ac_try) 2>&5
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); }; } &&
14124 { ac_try
='test -s conftest.$ac_objext'
14125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14126 (eval $ac_try) 2>&5
14128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14129 (exit $ac_status); }; }; then
14130 ac_header_compiler
=yes
14132 echo "$as_me: failed program was:" >&5
14133 sed 's/^/| /' conftest.
$ac_ext >&5
14135 ac_header_compiler
=no
14137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14139 echo "${ECHO_T}$ac_header_compiler" >&6
14141 # Is the header present?
14142 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14143 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14144 cat >conftest.
$ac_ext <<_ACEOF
14147 cat confdefs.h
>>conftest.
$ac_ext
14148 cat >>conftest.
$ac_ext <<_ACEOF
14149 /* end confdefs.h. */
14150 #include <$ac_header>
14152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14153 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14155 grep -v '^ *+' conftest.er1
>conftest.err
14157 cat conftest.err
>&5
14158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14159 (exit $ac_status); } >/dev
/null
; then
14160 if test -s conftest.err
; then
14161 ac_cpp_err
=$ac_c_preproc_warn_flag
14162 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14169 if test -z "$ac_cpp_err"; then
14170 ac_header_preproc
=yes
14172 echo "$as_me: failed program was:" >&5
14173 sed 's/^/| /' conftest.
$ac_ext >&5
14175 ac_header_preproc
=no
14177 rm -f conftest.err conftest.
$ac_ext
14178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14179 echo "${ECHO_T}$ac_header_preproc" >&6
14181 # So? What about this header?
14182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14184 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14185 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14187 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14188 ac_header_preproc
=yes
14191 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14192 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14193 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14194 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14195 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14196 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14197 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14198 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14201 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14202 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14205 ## ------------------------------------------ ##
14206 ## Report this to the AC_PACKAGE_NAME lists. ##
14207 ## ------------------------------------------ ##
14210 sed "s/^/$as_me: WARNING: /" >&2
14213 echo "$as_me:$LINENO: checking for $ac_header" >&5
14214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14216 echo $ECHO_N "(cached) $ECHO_C" >&6
14218 eval "$as_ac_Header=\$ac_header_preproc"
14220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14224 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14225 cat >>confdefs.h
<<_ACEOF
14226 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14235 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
14237 acx_cv_header_stdint
=stddef.h
14238 acx_cv_header_stdint_kind
="(already complete)"
14239 for i
in stdint.h
$inttype_headers; do
14240 unset ac_cv_type_uintptr_t
14241 unset ac_cv_type_uintmax_t
14242 unset ac_cv_type_int_least32_t
14243 unset ac_cv_type_int_fast32_t
14244 unset ac_cv_type_uint64_t
14245 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
14246 echo "$as_me:$LINENO: checking for uintmax_t" >&5
14247 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
14248 if test "${ac_cv_type_uintmax_t+set}" = set; then
14249 echo $ECHO_N "(cached) $ECHO_C" >&6
14251 cat >conftest.
$ac_ext <<_ACEOF
14254 cat confdefs.h
>>conftest.
$ac_ext
14255 cat >>conftest.
$ac_ext <<_ACEOF
14256 /* end confdefs.h. */
14257 #include <sys/types.h>
14263 if ((uintmax_t *) 0)
14265 if (sizeof (uintmax_t))
14271 rm -f conftest.
$ac_objext
14272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14273 (eval $ac_compile) 2>conftest.er1
14275 grep -v '^ *+' conftest.er1
>conftest.err
14277 cat conftest.err
>&5
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); } &&
14280 { ac_try
='test -z "$ac_c_werror_flag"
14281 || test ! -s conftest.err'
14282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14283 (eval $ac_try) 2>&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); }; } &&
14287 { ac_try
='test -s conftest.$ac_objext'
14288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14289 (eval $ac_try) 2>&5
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); }; }; then
14293 ac_cv_type_uintmax_t
=yes
14295 echo "$as_me: failed program was:" >&5
14296 sed 's/^/| /' conftest.
$ac_ext >&5
14298 ac_cv_type_uintmax_t
=no
14300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14302 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
14303 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
14304 if test $ac_cv_type_uintmax_t = yes; then
14305 acx_cv_header_stdint
=$i
14310 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14311 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14312 if test "${ac_cv_type_uintptr_t+set}" = set; then
14313 echo $ECHO_N "(cached) $ECHO_C" >&6
14315 cat >conftest.
$ac_ext <<_ACEOF
14318 cat confdefs.h
>>conftest.
$ac_ext
14319 cat >>conftest.
$ac_ext <<_ACEOF
14320 /* end confdefs.h. */
14321 #include <sys/types.h>
14327 if ((uintptr_t *) 0)
14329 if (sizeof (uintptr_t))
14335 rm -f conftest.
$ac_objext
14336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14337 (eval $ac_compile) 2>conftest.er1
14339 grep -v '^ *+' conftest.er1
>conftest.err
14341 cat conftest.err
>&5
14342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14343 (exit $ac_status); } &&
14344 { ac_try
='test -z "$ac_c_werror_flag"
14345 || test ! -s conftest.err'
14346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14347 (eval $ac_try) 2>&5
14349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14350 (exit $ac_status); }; } &&
14351 { ac_try
='test -s conftest.$ac_objext'
14352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14353 (eval $ac_try) 2>&5
14355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14356 (exit $ac_status); }; }; then
14357 ac_cv_type_uintptr_t
=yes
14359 echo "$as_me: failed program was:" >&5
14360 sed 's/^/| /' conftest.
$ac_ext >&5
14362 ac_cv_type_uintptr_t
=no
14364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14366 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14367 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14368 if test $ac_cv_type_uintptr_t = yes; then
14371 acx_cv_header_stdint_kind
="(mostly complete)"
14374 echo "$as_me:$LINENO: checking for int_least32_t" >&5
14375 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
14376 if test "${ac_cv_type_int_least32_t+set}" = set; then
14377 echo $ECHO_N "(cached) $ECHO_C" >&6
14379 cat >conftest.
$ac_ext <<_ACEOF
14382 cat confdefs.h
>>conftest.
$ac_ext
14383 cat >>conftest.
$ac_ext <<_ACEOF
14384 /* end confdefs.h. */
14385 #include <sys/types.h>
14391 if ((int_least32_t *) 0)
14393 if (sizeof (int_least32_t))
14399 rm -f conftest.
$ac_objext
14400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14401 (eval $ac_compile) 2>conftest.er1
14403 grep -v '^ *+' conftest.er1
>conftest.err
14405 cat conftest.err
>&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); } &&
14408 { ac_try
='test -z "$ac_c_werror_flag"
14409 || test ! -s conftest.err'
14410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14411 (eval $ac_try) 2>&5
14413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14414 (exit $ac_status); }; } &&
14415 { ac_try
='test -s conftest.$ac_objext'
14416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14417 (eval $ac_try) 2>&5
14419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14420 (exit $ac_status); }; }; then
14421 ac_cv_type_int_least32_t
=yes
14423 echo "$as_me: failed program was:" >&5
14424 sed 's/^/| /' conftest.
$ac_ext >&5
14426 ac_cv_type_int_least32_t
=no
14428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14430 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
14431 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
14432 if test $ac_cv_type_int_least32_t = yes; then
14435 acx_cv_header_stdint_kind
="(mostly complete)"
14438 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
14439 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
14440 if test "${ac_cv_type_int_fast32_t+set}" = set; then
14441 echo $ECHO_N "(cached) $ECHO_C" >&6
14443 cat >conftest.
$ac_ext <<_ACEOF
14446 cat confdefs.h
>>conftest.
$ac_ext
14447 cat >>conftest.
$ac_ext <<_ACEOF
14448 /* end confdefs.h. */
14449 #include <sys/types.h>
14455 if ((int_fast32_t *) 0)
14457 if (sizeof (int_fast32_t))
14463 rm -f conftest.
$ac_objext
14464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14465 (eval $ac_compile) 2>conftest.er1
14467 grep -v '^ *+' conftest.er1
>conftest.err
14469 cat conftest.err
>&5
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); } &&
14472 { ac_try
='test -z "$ac_c_werror_flag"
14473 || test ! -s conftest.err'
14474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14475 (eval $ac_try) 2>&5
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); }; } &&
14479 { ac_try
='test -s conftest.$ac_objext'
14480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14481 (eval $ac_try) 2>&5
14483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14484 (exit $ac_status); }; }; then
14485 ac_cv_type_int_fast32_t
=yes
14487 echo "$as_me: failed program was:" >&5
14488 sed 's/^/| /' conftest.
$ac_ext >&5
14490 ac_cv_type_int_fast32_t
=no
14492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14494 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
14495 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
14496 if test $ac_cv_type_int_fast32_t = yes; then
14499 acx_cv_header_stdint_kind
="(mostly complete)"
14502 echo "$as_me:$LINENO: checking for uint64_t" >&5
14503 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
14504 if test "${ac_cv_type_uint64_t+set}" = set; then
14505 echo $ECHO_N "(cached) $ECHO_C" >&6
14507 cat >conftest.
$ac_ext <<_ACEOF
14510 cat confdefs.h
>>conftest.
$ac_ext
14511 cat >>conftest.
$ac_ext <<_ACEOF
14512 /* end confdefs.h. */
14513 #include <sys/types.h>
14519 if ((uint64_t *) 0)
14521 if (sizeof (uint64_t))
14527 rm -f conftest.
$ac_objext
14528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14529 (eval $ac_compile) 2>conftest.er1
14531 grep -v '^ *+' conftest.er1
>conftest.err
14533 cat conftest.err
>&5
14534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14535 (exit $ac_status); } &&
14536 { ac_try
='test -z "$ac_c_werror_flag"
14537 || test ! -s conftest.err'
14538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14539 (eval $ac_try) 2>&5
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); }; } &&
14543 { ac_try
='test -s conftest.$ac_objext'
14544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14545 (eval $ac_try) 2>&5
14547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14548 (exit $ac_status); }; }; then
14549 ac_cv_type_uint64_t
=yes
14551 echo "$as_me: failed program was:" >&5
14552 sed 's/^/| /' conftest.
$ac_ext >&5
14554 ac_cv_type_uint64_t
=no
14556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14558 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
14559 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
14560 if test $ac_cv_type_uint64_t = yes; then
14563 acx_cv_header_stdint_kind
="(lacks uint64_t)"
14568 if test "$acx_cv_header_stdint" = stddef.h
; then
14569 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
14570 for i
in stdint.h
$inttype_headers; do
14571 unset ac_cv_type_uintptr_t
14572 unset ac_cv_type_uint32_t
14573 unset ac_cv_type_uint64_t
14574 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
14575 echo "$as_me:$LINENO: checking for uint32_t" >&5
14576 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
14577 if test "${ac_cv_type_uint32_t+set}" = set; then
14578 echo $ECHO_N "(cached) $ECHO_C" >&6
14580 cat >conftest.
$ac_ext <<_ACEOF
14583 cat confdefs.h
>>conftest.
$ac_ext
14584 cat >>conftest.
$ac_ext <<_ACEOF
14585 /* end confdefs.h. */
14586 #include <sys/types.h>
14592 if ((uint32_t *) 0)
14594 if (sizeof (uint32_t))
14600 rm -f conftest.
$ac_objext
14601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14602 (eval $ac_compile) 2>conftest.er1
14604 grep -v '^ *+' conftest.er1
>conftest.err
14606 cat conftest.err
>&5
14607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608 (exit $ac_status); } &&
14609 { ac_try
='test -z "$ac_c_werror_flag"
14610 || test ! -s conftest.err'
14611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14612 (eval $ac_try) 2>&5
14614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14615 (exit $ac_status); }; } &&
14616 { ac_try
='test -s conftest.$ac_objext'
14617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14618 (eval $ac_try) 2>&5
14620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14621 (exit $ac_status); }; }; then
14622 ac_cv_type_uint32_t
=yes
14624 echo "$as_me: failed program was:" >&5
14625 sed 's/^/| /' conftest.
$ac_ext >&5
14627 ac_cv_type_uint32_t
=no
14629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14631 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
14632 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
14633 if test $ac_cv_type_uint32_t = yes; then
14634 acx_cv_header_stdint
=$i
14639 echo "$as_me:$LINENO: checking for uint64_t" >&5
14640 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
14641 if test "${ac_cv_type_uint64_t+set}" = set; then
14642 echo $ECHO_N "(cached) $ECHO_C" >&6
14644 cat >conftest.
$ac_ext <<_ACEOF
14647 cat confdefs.h
>>conftest.
$ac_ext
14648 cat >>conftest.
$ac_ext <<_ACEOF
14649 /* end confdefs.h. */
14650 #include <sys/types.h>
14656 if ((uint64_t *) 0)
14658 if (sizeof (uint64_t))
14664 rm -f conftest.
$ac_objext
14665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14666 (eval $ac_compile) 2>conftest.er1
14668 grep -v '^ *+' conftest.er1
>conftest.err
14670 cat conftest.err
>&5
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); } &&
14673 { ac_try
='test -z "$ac_c_werror_flag"
14674 || test ! -s conftest.err'
14675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14676 (eval $ac_try) 2>&5
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); }; } &&
14680 { ac_try
='test -s conftest.$ac_objext'
14681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14682 (eval $ac_try) 2>&5
14684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14685 (exit $ac_status); }; }; then
14686 ac_cv_type_uint64_t
=yes
14688 echo "$as_me: failed program was:" >&5
14689 sed 's/^/| /' conftest.
$ac_ext >&5
14691 ac_cv_type_uint64_t
=no
14693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14695 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
14696 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
14698 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14699 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14700 if test "${ac_cv_type_uintptr_t+set}" = set; then
14701 echo $ECHO_N "(cached) $ECHO_C" >&6
14703 cat >conftest.
$ac_ext <<_ACEOF
14706 cat confdefs.h
>>conftest.
$ac_ext
14707 cat >>conftest.
$ac_ext <<_ACEOF
14708 /* end confdefs.h. */
14709 #include <sys/types.h>
14715 if ((uintptr_t *) 0)
14717 if (sizeof (uintptr_t))
14723 rm -f conftest.
$ac_objext
14724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14725 (eval $ac_compile) 2>conftest.er1
14727 grep -v '^ *+' conftest.er1
>conftest.err
14729 cat conftest.err
>&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); } &&
14732 { ac_try
='test -z "$ac_c_werror_flag"
14733 || test ! -s conftest.err'
14734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14735 (eval $ac_try) 2>&5
14737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 (exit $ac_status); }; } &&
14739 { ac_try
='test -s conftest.$ac_objext'
14740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14741 (eval $ac_try) 2>&5
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); }; }; then
14745 ac_cv_type_uintptr_t
=yes
14747 echo "$as_me: failed program was:" >&5
14748 sed 's/^/| /' conftest.
$ac_ext >&5
14750 ac_cv_type_uintptr_t
=no
14752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14754 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14755 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14760 if test "$acx_cv_header_stdint" = stddef.h
; then
14761 acx_cv_header_stdint_kind
="(u_intXX_t style)"
14762 for i
in sys
/types.h
$inttype_headers; do
14763 unset ac_cv_type_u_int32_t
14764 unset ac_cv_type_u_int64_t
14765 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
14766 echo "$as_me:$LINENO: checking for u_int32_t" >&5
14767 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
14768 if test "${ac_cv_type_u_int32_t+set}" = set; then
14769 echo $ECHO_N "(cached) $ECHO_C" >&6
14771 cat >conftest.
$ac_ext <<_ACEOF
14774 cat confdefs.h
>>conftest.
$ac_ext
14775 cat >>conftest.
$ac_ext <<_ACEOF
14776 /* end confdefs.h. */
14777 #include <sys/types.h>
14783 if ((u_int32_t *) 0)
14785 if (sizeof (u_int32_t))
14791 rm -f conftest.
$ac_objext
14792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14793 (eval $ac_compile) 2>conftest.er1
14795 grep -v '^ *+' conftest.er1
>conftest.err
14797 cat conftest.err
>&5
14798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799 (exit $ac_status); } &&
14800 { ac_try
='test -z "$ac_c_werror_flag"
14801 || test ! -s conftest.err'
14802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14803 (eval $ac_try) 2>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; } &&
14807 { ac_try
='test -s conftest.$ac_objext'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; }; then
14813 ac_cv_type_u_int32_t
=yes
14815 echo "$as_me: failed program was:" >&5
14816 sed 's/^/| /' conftest.
$ac_ext >&5
14818 ac_cv_type_u_int32_t
=no
14820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14822 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
14823 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
14824 if test $ac_cv_type_u_int32_t = yes; then
14825 acx_cv_header_stdint
=$i
14830 echo "$as_me:$LINENO: checking for u_int64_t" >&5
14831 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
14832 if test "${ac_cv_type_u_int64_t+set}" = set; then
14833 echo $ECHO_N "(cached) $ECHO_C" >&6
14835 cat >conftest.
$ac_ext <<_ACEOF
14838 cat confdefs.h
>>conftest.
$ac_ext
14839 cat >>conftest.
$ac_ext <<_ACEOF
14840 /* end confdefs.h. */
14841 #include <sys/types.h>
14847 if ((u_int64_t *) 0)
14849 if (sizeof (u_int64_t))
14855 rm -f conftest.
$ac_objext
14856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14857 (eval $ac_compile) 2>conftest.er1
14859 grep -v '^ *+' conftest.er1
>conftest.err
14861 cat conftest.err
>&5
14862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14863 (exit $ac_status); } &&
14864 { ac_try
='test -z "$ac_c_werror_flag"
14865 || test ! -s conftest.err'
14866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14867 (eval $ac_try) 2>&5
14869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14870 (exit $ac_status); }; } &&
14871 { ac_try
='test -s conftest.$ac_objext'
14872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14873 (eval $ac_try) 2>&5
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); }; }; then
14877 ac_cv_type_u_int64_t
=yes
14879 echo "$as_me: failed program was:" >&5
14880 sed 's/^/| /' conftest.
$ac_ext >&5
14882 ac_cv_type_u_int64_t
=no
14884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14886 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
14887 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
14892 if test "$acx_cv_header_stdint" = stddef.h
; then
14893 acx_cv_header_stdint_kind
="(using manual detection)"
14896 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
14897 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
14898 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
14899 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
14900 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
14902 # ----------------- Summarize what we found so far
14904 echo "$as_me:$LINENO: checking what to include in bfd_stdint.h" >&5
14905 echo $ECHO_N "checking what to include in bfd_stdint.h... $ECHO_C" >&6
14907 case `$as_basename bfd_stdint.h ||
14908 $as_expr X/bfd_stdint.h : '.*/\([^/][^/]*\)/*$' \| \
14909 Xbfd_stdint.h : 'X\(//\)$' \| \
14910 Xbfd_stdint.h : 'X\(/\)$' \| \
14911 . : '\(.\)' 2>/dev/null ||
14912 echo X/bfd_stdint.h |
14913 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14914 /^X\/\(\/\/\)$/{ s//\1/; q; }
14915 /^X\/\(\/\).*/{ s//\1/; q; }
14917 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
14918 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
14919 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
14920 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
14924 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
14925 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
14927 # ----------------- done included file, check C basic types --------
14929 # Lacking an uintptr_t? Test size of void *
14930 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
14931 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
14932 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14933 if test "${ac_cv_type_void_p+set}" = set; then
14934 echo $ECHO_N "(cached) $ECHO_C" >&6
14936 cat >conftest.
$ac_ext <<_ACEOF
14939 cat confdefs.h
>>conftest.
$ac_ext
14940 cat >>conftest.
$ac_ext <<_ACEOF
14941 /* end confdefs.h. */
14942 $ac_includes_default
14948 if (sizeof (void *))
14954 rm -f conftest.
$ac_objext
14955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14956 (eval $ac_compile) 2>conftest.er1
14958 grep -v '^ *+' conftest.er1
>conftest.err
14960 cat conftest.err
>&5
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); } &&
14963 { ac_try
='test -z "$ac_c_werror_flag"
14964 || test ! -s conftest.err'
14965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14966 (eval $ac_try) 2>&5
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); }; } &&
14970 { ac_try
='test -s conftest.$ac_objext'
14971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14972 (eval $ac_try) 2>&5
14974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14975 (exit $ac_status); }; }; then
14976 ac_cv_type_void_p
=yes
14978 echo "$as_me: failed program was:" >&5
14979 sed 's/^/| /' conftest.
$ac_ext >&5
14981 ac_cv_type_void_p
=no
14983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14985 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14986 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14988 echo "$as_me:$LINENO: checking size of void *" >&5
14989 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14990 if test "${ac_cv_sizeof_void_p+set}" = set; then
14991 echo $ECHO_N "(cached) $ECHO_C" >&6
14993 if test "$ac_cv_type_void_p" = yes; then
14994 # The cast to unsigned long works around a bug in the HP C Compiler
14995 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14996 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14997 # This bug is HP SR number 8606223364.
14998 if test "$cross_compiling" = yes; then
14999 # Depending upon the size, compute the lo and hi bounds.
15000 cat >conftest.
$ac_ext <<_ACEOF
15003 cat confdefs.h
>>conftest.
$ac_ext
15004 cat >>conftest.
$ac_ext <<_ACEOF
15005 /* end confdefs.h. */
15006 $ac_includes_default
15010 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15017 rm -f conftest.
$ac_objext
15018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15019 (eval $ac_compile) 2>conftest.er1
15021 grep -v '^ *+' conftest.er1
>conftest.err
15023 cat conftest.err
>&5
15024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15025 (exit $ac_status); } &&
15026 { ac_try
='test -z "$ac_c_werror_flag"
15027 || test ! -s conftest.err'
15028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15029 (eval $ac_try) 2>&5
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); }; } &&
15033 { ac_try
='test -s conftest.$ac_objext'
15034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15035 (eval $ac_try) 2>&5
15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); }; }; then
15041 cat >conftest.
$ac_ext <<_ACEOF
15044 cat confdefs.h
>>conftest.
$ac_ext
15045 cat >>conftest.
$ac_ext <<_ACEOF
15046 /* end confdefs.h. */
15047 $ac_includes_default
15051 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15058 rm -f conftest.
$ac_objext
15059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15060 (eval $ac_compile) 2>conftest.er1
15062 grep -v '^ *+' conftest.er1
>conftest.err
15064 cat conftest.err
>&5
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); } &&
15067 { ac_try
='test -z "$ac_c_werror_flag"
15068 || test ! -s conftest.err'
15069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15070 (eval $ac_try) 2>&5
15072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15073 (exit $ac_status); }; } &&
15074 { ac_try
='test -s conftest.$ac_objext'
15075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15076 (eval $ac_try) 2>&5
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); }; }; then
15080 ac_hi
=$ac_mid; break
15082 echo "$as_me: failed program was:" >&5
15083 sed 's/^/| /' conftest.
$ac_ext >&5
15085 ac_lo
=`expr $ac_mid + 1`
15086 if test $ac_lo -le $ac_mid; then
15090 ac_mid
=`expr 2 '*' $ac_mid + 1`
15092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15095 echo "$as_me: failed program was:" >&5
15096 sed 's/^/| /' conftest.
$ac_ext >&5
15098 cat >conftest.
$ac_ext <<_ACEOF
15101 cat confdefs.h
>>conftest.
$ac_ext
15102 cat >>conftest.
$ac_ext <<_ACEOF
15103 /* end confdefs.h. */
15104 $ac_includes_default
15108 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15115 rm -f conftest.
$ac_objext
15116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15117 (eval $ac_compile) 2>conftest.er1
15119 grep -v '^ *+' conftest.er1
>conftest.err
15121 cat conftest.err
>&5
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); } &&
15124 { ac_try
='test -z "$ac_c_werror_flag"
15125 || test ! -s conftest.err'
15126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15127 (eval $ac_try) 2>&5
15129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15130 (exit $ac_status); }; } &&
15131 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15139 cat >conftest.
$ac_ext <<_ACEOF
15142 cat confdefs.h
>>conftest.
$ac_ext
15143 cat >>conftest.
$ac_ext <<_ACEOF
15144 /* end confdefs.h. */
15145 $ac_includes_default
15149 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15156 rm -f conftest.
$ac_objext
15157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15158 (eval $ac_compile) 2>conftest.er1
15160 grep -v '^ *+' conftest.er1
>conftest.err
15162 cat conftest.err
>&5
15163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15164 (exit $ac_status); } &&
15165 { ac_try
='test -z "$ac_c_werror_flag"
15166 || test ! -s conftest.err'
15167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15168 (eval $ac_try) 2>&5
15170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15171 (exit $ac_status); }; } &&
15172 { ac_try
='test -s conftest.$ac_objext'
15173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15174 (eval $ac_try) 2>&5
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); }; }; then
15178 ac_lo
=$ac_mid; break
15180 echo "$as_me: failed program was:" >&5
15181 sed 's/^/| /' conftest.
$ac_ext >&5
15183 ac_hi
=`expr '(' $ac_mid ')' - 1`
15184 if test $ac_mid -le $ac_hi; then
15188 ac_mid
=`expr 2 '*' $ac_mid`
15190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15193 echo "$as_me: failed program was:" >&5
15194 sed 's/^/| /' conftest.
$ac_ext >&5
15198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15201 # Binary search between lo and hi bounds.
15202 while test "x$ac_lo" != "x$ac_hi"; do
15203 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15204 cat >conftest.
$ac_ext <<_ACEOF
15207 cat confdefs.h
>>conftest.
$ac_ext
15208 cat >>conftest.
$ac_ext <<_ACEOF
15209 /* end confdefs.h. */
15210 $ac_includes_default
15214 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15221 rm -f conftest.
$ac_objext
15222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15223 (eval $ac_compile) 2>conftest.er1
15225 grep -v '^ *+' conftest.er1
>conftest.err
15227 cat conftest.err
>&5
15228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15229 (exit $ac_status); } &&
15230 { ac_try
='test -z "$ac_c_werror_flag"
15231 || test ! -s conftest.err'
15232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15233 (eval $ac_try) 2>&5
15235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15236 (exit $ac_status); }; } &&
15237 { ac_try
='test -s conftest.$ac_objext'
15238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15239 (eval $ac_try) 2>&5
15241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15242 (exit $ac_status); }; }; then
15245 echo "$as_me: failed program was:" >&5
15246 sed 's/^/| /' conftest.
$ac_ext >&5
15248 ac_lo
=`expr '(' $ac_mid ')' + 1`
15250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15253 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15254 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15255 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15256 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15257 See \`config.log' for more details." >&5
15258 echo "$as_me: error: cannot compute sizeof (void *), 77
15259 See \`config.log' for more details." >&2;}
15260 { (exit 1); exit 1; }; }; } ;;
15263 if test "$cross_compiling" = yes; then
15264 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15265 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15266 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15267 See \`config.log' for more details." >&5
15268 echo "$as_me: error: cannot run test program while cross compiling
15269 See \`config.log' for more details." >&2;}
15270 { (exit 1); exit 1; }; }; }
15272 cat >conftest.
$ac_ext <<_ACEOF
15275 cat confdefs.h
>>conftest.
$ac_ext
15276 cat >>conftest.
$ac_ext <<_ACEOF
15277 /* end confdefs.h. */
15278 $ac_includes_default
15279 long longval () { return (long) (sizeof (void *)); }
15280 unsigned long ulongval () { return (long) (sizeof (void *)); }
15282 #include <stdlib.h>
15287 FILE *f = fopen ("conftest.val", "w");
15290 if (((long) (sizeof (void *))) < 0)
15292 long i = longval ();
15293 if (i != ((long) (sizeof (void *))))
15295 fprintf (f, "%ld\n", i);
15299 unsigned long i = ulongval ();
15300 if (i != ((long) (sizeof (void *))))
15302 fprintf (f, "%lu\n", i);
15304 exit (ferror (f) || fclose (f) != 0);
15310 rm -f conftest
$ac_exeext
15311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15312 (eval $ac_link) 2>&5
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15317 (eval $ac_try) 2>&5
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); }; }; then
15321 ac_cv_sizeof_void_p
=`cat conftest.val`
15323 echo "$as_me: program exited with status $ac_status" >&5
15324 echo "$as_me: failed program was:" >&5
15325 sed 's/^/| /' conftest.
$ac_ext >&5
15327 ( exit $ac_status )
15328 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15329 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15330 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15331 See \`config.log' for more details." >&5
15332 echo "$as_me: error: cannot compute sizeof (void *), 77
15333 See \`config.log' for more details." >&2;}
15334 { (exit 1); exit 1; }; }; }
15336 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15341 ac_cv_sizeof_void_p
=0
15344 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15345 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15346 cat >>confdefs.h
<<_ACEOF
15347 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15353 # Lacking an uint64_t? Test size of long
15354 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15355 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
15356 echo $ECHO_N "checking for long... $ECHO_C" >&6
15357 if test "${ac_cv_type_long+set}" = set; then
15358 echo $ECHO_N "(cached) $ECHO_C" >&6
15360 cat >conftest.
$ac_ext <<_ACEOF
15363 cat confdefs.h
>>conftest.
$ac_ext
15364 cat >>conftest.
$ac_ext <<_ACEOF
15365 /* end confdefs.h. */
15366 $ac_includes_default
15378 rm -f conftest.
$ac_objext
15379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15380 (eval $ac_compile) 2>conftest.er1
15382 grep -v '^ *+' conftest.er1
>conftest.err
15384 cat conftest.err
>&5
15385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15386 (exit $ac_status); } &&
15387 { ac_try
='test -z "$ac_c_werror_flag"
15388 || test ! -s conftest.err'
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); }; } &&
15394 { ac_try
='test -s conftest.$ac_objext'
15395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15396 (eval $ac_try) 2>&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); }; }; then
15400 ac_cv_type_long
=yes
15402 echo "$as_me: failed program was:" >&5
15403 sed 's/^/| /' conftest.
$ac_ext >&5
15407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15409 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15410 echo "${ECHO_T}$ac_cv_type_long" >&6
15412 echo "$as_me:$LINENO: checking size of long" >&5
15413 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15414 if test "${ac_cv_sizeof_long+set}" = set; then
15415 echo $ECHO_N "(cached) $ECHO_C" >&6
15417 if test "$ac_cv_type_long" = yes; then
15418 # The cast to unsigned long works around a bug in the HP C Compiler
15419 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15420 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15421 # This bug is HP SR number 8606223364.
15422 if test "$cross_compiling" = yes; then
15423 # Depending upon the size, compute the lo and hi bounds.
15424 cat >conftest.
$ac_ext <<_ACEOF
15427 cat confdefs.h
>>conftest.
$ac_ext
15428 cat >>conftest.
$ac_ext <<_ACEOF
15429 /* end confdefs.h. */
15430 $ac_includes_default
15434 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15441 rm -f conftest.
$ac_objext
15442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15443 (eval $ac_compile) 2>conftest.er1
15445 grep -v '^ *+' conftest.er1
>conftest.err
15447 cat conftest.err
>&5
15448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 (exit $ac_status); } &&
15450 { ac_try
='test -z "$ac_c_werror_flag"
15451 || test ! -s conftest.err'
15452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15453 (eval $ac_try) 2>&5
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); }; } &&
15457 { ac_try
='test -s conftest.$ac_objext'
15458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15459 (eval $ac_try) 2>&5
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); }; }; then
15465 cat >conftest.
$ac_ext <<_ACEOF
15468 cat confdefs.h
>>conftest.
$ac_ext
15469 cat >>conftest.
$ac_ext <<_ACEOF
15470 /* end confdefs.h. */
15471 $ac_includes_default
15475 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15482 rm -f conftest.
$ac_objext
15483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15484 (eval $ac_compile) 2>conftest.er1
15486 grep -v '^ *+' conftest.er1
>conftest.err
15488 cat conftest.err
>&5
15489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15490 (exit $ac_status); } &&
15491 { ac_try
='test -z "$ac_c_werror_flag"
15492 || test ! -s conftest.err'
15493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15494 (eval $ac_try) 2>&5
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); }; } &&
15498 { ac_try
='test -s conftest.$ac_objext'
15499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15500 (eval $ac_try) 2>&5
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); }; }; then
15504 ac_hi
=$ac_mid; break
15506 echo "$as_me: failed program was:" >&5
15507 sed 's/^/| /' conftest.
$ac_ext >&5
15509 ac_lo
=`expr $ac_mid + 1`
15510 if test $ac_lo -le $ac_mid; then
15514 ac_mid
=`expr 2 '*' $ac_mid + 1`
15516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15519 echo "$as_me: failed program was:" >&5
15520 sed 's/^/| /' conftest.
$ac_ext >&5
15522 cat >conftest.
$ac_ext <<_ACEOF
15525 cat confdefs.h
>>conftest.
$ac_ext
15526 cat >>conftest.
$ac_ext <<_ACEOF
15527 /* end confdefs.h. */
15528 $ac_includes_default
15532 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15539 rm -f conftest.
$ac_objext
15540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15541 (eval $ac_compile) 2>conftest.er1
15543 grep -v '^ *+' conftest.er1
>conftest.err
15545 cat conftest.err
>&5
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); } &&
15548 { ac_try
='test -z "$ac_c_werror_flag"
15549 || test ! -s conftest.err'
15550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15551 (eval $ac_try) 2>&5
15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554 (exit $ac_status); }; } &&
15555 { ac_try
='test -s conftest.$ac_objext'
15556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15557 (eval $ac_try) 2>&5
15559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15560 (exit $ac_status); }; }; then
15563 cat >conftest.
$ac_ext <<_ACEOF
15566 cat confdefs.h
>>conftest.
$ac_ext
15567 cat >>conftest.
$ac_ext <<_ACEOF
15568 /* end confdefs.h. */
15569 $ac_includes_default
15573 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15580 rm -f conftest.
$ac_objext
15581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15582 (eval $ac_compile) 2>conftest.er1
15584 grep -v '^ *+' conftest.er1
>conftest.err
15586 cat conftest.err
>&5
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); } &&
15589 { ac_try
='test -z "$ac_c_werror_flag"
15590 || test ! -s conftest.err'
15591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15592 (eval $ac_try) 2>&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); }; } &&
15596 { ac_try
='test -s conftest.$ac_objext'
15597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15598 (eval $ac_try) 2>&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); }; }; then
15602 ac_lo
=$ac_mid; break
15604 echo "$as_me: failed program was:" >&5
15605 sed 's/^/| /' conftest.
$ac_ext >&5
15607 ac_hi
=`expr '(' $ac_mid ')' - 1`
15608 if test $ac_mid -le $ac_hi; then
15612 ac_mid
=`expr 2 '*' $ac_mid`
15614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15617 echo "$as_me: failed program was:" >&5
15618 sed 's/^/| /' conftest.
$ac_ext >&5
15622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15625 # Binary search between lo and hi bounds.
15626 while test "x$ac_lo" != "x$ac_hi"; do
15627 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15628 cat >conftest.
$ac_ext <<_ACEOF
15631 cat confdefs.h
>>conftest.
$ac_ext
15632 cat >>conftest.
$ac_ext <<_ACEOF
15633 /* end confdefs.h. */
15634 $ac_includes_default
15638 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15645 rm -f conftest.
$ac_objext
15646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15647 (eval $ac_compile) 2>conftest.er1
15649 grep -v '^ *+' conftest.er1
>conftest.err
15651 cat conftest.err
>&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); } &&
15654 { ac_try
='test -z "$ac_c_werror_flag"
15655 || test ! -s conftest.err'
15656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15657 (eval $ac_try) 2>&5
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); }; } &&
15661 { ac_try
='test -s conftest.$ac_objext'
15662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15663 (eval $ac_try) 2>&5
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); }; }; then
15669 echo "$as_me: failed program was:" >&5
15670 sed 's/^/| /' conftest.
$ac_ext >&5
15672 ac_lo
=`expr '(' $ac_mid ')' + 1`
15674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15677 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15678 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15679 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15680 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15681 See \`config.log' for more details." >&5
15682 echo "$as_me: error: cannot compute sizeof (long), 77
15683 See \`config.log' for more details." >&2;}
15684 { (exit 1); exit 1; }; }; } ;;
15687 if test "$cross_compiling" = yes; then
15688 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15689 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15690 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15691 See \`config.log' for more details." >&5
15692 echo "$as_me: error: cannot run test program while cross compiling
15693 See \`config.log' for more details." >&2;}
15694 { (exit 1); exit 1; }; }; }
15696 cat >conftest.
$ac_ext <<_ACEOF
15699 cat confdefs.h
>>conftest.
$ac_ext
15700 cat >>conftest.
$ac_ext <<_ACEOF
15701 /* end confdefs.h. */
15702 $ac_includes_default
15703 long longval () { return (long) (sizeof (long)); }
15704 unsigned long ulongval () { return (long) (sizeof (long)); }
15706 #include <stdlib.h>
15711 FILE *f = fopen ("conftest.val", "w");
15714 if (((long) (sizeof (long))) < 0)
15716 long i = longval ();
15717 if (i != ((long) (sizeof (long))))
15719 fprintf (f, "%ld\n", i);
15723 unsigned long i = ulongval ();
15724 if (i != ((long) (sizeof (long))))
15726 fprintf (f, "%lu\n", i);
15728 exit (ferror (f) || fclose (f) != 0);
15734 rm -f conftest
$ac_exeext
15735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15736 (eval $ac_link) 2>&5
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15741 (eval $ac_try) 2>&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); }; }; then
15745 ac_cv_sizeof_long
=`cat conftest.val`
15747 echo "$as_me: program exited with status $ac_status" >&5
15748 echo "$as_me: failed program was:" >&5
15749 sed 's/^/| /' conftest.
$ac_ext >&5
15751 ( exit $ac_status )
15752 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15753 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15754 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15755 See \`config.log' for more details." >&5
15756 echo "$as_me: error: cannot compute sizeof (long), 77
15757 See \`config.log' for more details." >&2;}
15758 { (exit 1); exit 1; }; }; }
15760 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15765 ac_cv_sizeof_long
=0
15768 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15769 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15770 cat >>confdefs.h
<<_ACEOF
15771 #define SIZEOF_LONG $ac_cv_sizeof_long
15777 if test $acx_cv_header_stdint = stddef.h
; then
15778 # Lacking a good header? Test size of everything and deduce all types.
15779 echo "$as_me:$LINENO: checking for int" >&5
15780 echo $ECHO_N "checking for int... $ECHO_C" >&6
15781 if test "${ac_cv_type_int+set}" = set; then
15782 echo $ECHO_N "(cached) $ECHO_C" >&6
15784 cat >conftest.
$ac_ext <<_ACEOF
15787 cat confdefs.h
>>conftest.
$ac_ext
15788 cat >>conftest.
$ac_ext <<_ACEOF
15789 /* end confdefs.h. */
15790 $ac_includes_default
15802 rm -f conftest.
$ac_objext
15803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15804 (eval $ac_compile) 2>conftest.er1
15806 grep -v '^ *+' conftest.er1
>conftest.err
15808 cat conftest.err
>&5
15809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810 (exit $ac_status); } &&
15811 { ac_try
='test -z "$ac_c_werror_flag"
15812 || test ! -s conftest.err'
15813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15814 (eval $ac_try) 2>&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); }; } &&
15818 { ac_try
='test -s conftest.$ac_objext'
15819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15820 (eval $ac_try) 2>&5
15822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15823 (exit $ac_status); }; }; then
15826 echo "$as_me: failed program was:" >&5
15827 sed 's/^/| /' conftest.
$ac_ext >&5
15831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15833 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15834 echo "${ECHO_T}$ac_cv_type_int" >&6
15836 echo "$as_me:$LINENO: checking size of int" >&5
15837 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15838 if test "${ac_cv_sizeof_int+set}" = set; then
15839 echo $ECHO_N "(cached) $ECHO_C" >&6
15841 if test "$ac_cv_type_int" = yes; then
15842 # The cast to unsigned long works around a bug in the HP C Compiler
15843 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15844 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15845 # This bug is HP SR number 8606223364.
15846 if test "$cross_compiling" = yes; then
15847 # Depending upon the size, compute the lo and hi bounds.
15848 cat >conftest.
$ac_ext <<_ACEOF
15851 cat confdefs.h
>>conftest.
$ac_ext
15852 cat >>conftest.
$ac_ext <<_ACEOF
15853 /* end confdefs.h. */
15854 $ac_includes_default
15858 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15865 rm -f conftest.
$ac_objext
15866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15867 (eval $ac_compile) 2>conftest.er1
15869 grep -v '^ *+' conftest.er1
>conftest.err
15871 cat conftest.err
>&5
15872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15873 (exit $ac_status); } &&
15874 { ac_try
='test -z "$ac_c_werror_flag"
15875 || test ! -s conftest.err'
15876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15877 (eval $ac_try) 2>&5
15879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15880 (exit $ac_status); }; } &&
15881 { ac_try
='test -s conftest.$ac_objext'
15882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15883 (eval $ac_try) 2>&5
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); }; }; then
15889 cat >conftest.
$ac_ext <<_ACEOF
15892 cat confdefs.h
>>conftest.
$ac_ext
15893 cat >>conftest.
$ac_ext <<_ACEOF
15894 /* end confdefs.h. */
15895 $ac_includes_default
15899 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15906 rm -f conftest.
$ac_objext
15907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15908 (eval $ac_compile) 2>conftest.er1
15910 grep -v '^ *+' conftest.er1
>conftest.err
15912 cat conftest.err
>&5
15913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15914 (exit $ac_status); } &&
15915 { ac_try
='test -z "$ac_c_werror_flag"
15916 || test ! -s conftest.err'
15917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15918 (eval $ac_try) 2>&5
15920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15921 (exit $ac_status); }; } &&
15922 { ac_try
='test -s conftest.$ac_objext'
15923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15924 (eval $ac_try) 2>&5
15926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15927 (exit $ac_status); }; }; then
15928 ac_hi
=$ac_mid; break
15930 echo "$as_me: failed program was:" >&5
15931 sed 's/^/| /' conftest.
$ac_ext >&5
15933 ac_lo
=`expr $ac_mid + 1`
15934 if test $ac_lo -le $ac_mid; then
15938 ac_mid
=`expr 2 '*' $ac_mid + 1`
15940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15943 echo "$as_me: failed program was:" >&5
15944 sed 's/^/| /' conftest.
$ac_ext >&5
15946 cat >conftest.
$ac_ext <<_ACEOF
15949 cat confdefs.h
>>conftest.
$ac_ext
15950 cat >>conftest.
$ac_ext <<_ACEOF
15951 /* end confdefs.h. */
15952 $ac_includes_default
15956 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15963 rm -f conftest.
$ac_objext
15964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15965 (eval $ac_compile) 2>conftest.er1
15967 grep -v '^ *+' conftest.er1
>conftest.err
15969 cat conftest.err
>&5
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); } &&
15972 { ac_try
='test -z "$ac_c_werror_flag"
15973 || test ! -s conftest.err'
15974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15975 (eval $ac_try) 2>&5
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); }; } &&
15979 { ac_try
='test -s conftest.$ac_objext'
15980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15981 (eval $ac_try) 2>&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); }; }; then
15987 cat >conftest.
$ac_ext <<_ACEOF
15990 cat confdefs.h
>>conftest.
$ac_ext
15991 cat >>conftest.
$ac_ext <<_ACEOF
15992 /* end confdefs.h. */
15993 $ac_includes_default
15997 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16004 rm -f conftest.
$ac_objext
16005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16006 (eval $ac_compile) 2>conftest.er1
16008 grep -v '^ *+' conftest.er1
>conftest.err
16010 cat conftest.err
>&5
16011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012 (exit $ac_status); } &&
16013 { ac_try
='test -z "$ac_c_werror_flag"
16014 || test ! -s conftest.err'
16015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016 (eval $ac_try) 2>&5
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; } &&
16020 { ac_try
='test -s conftest.$ac_objext'
16021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16022 (eval $ac_try) 2>&5
16024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 (exit $ac_status); }; }; then
16026 ac_lo
=$ac_mid; break
16028 echo "$as_me: failed program was:" >&5
16029 sed 's/^/| /' conftest.
$ac_ext >&5
16031 ac_hi
=`expr '(' $ac_mid ')' - 1`
16032 if test $ac_mid -le $ac_hi; then
16036 ac_mid
=`expr 2 '*' $ac_mid`
16038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16041 echo "$as_me: failed program was:" >&5
16042 sed 's/^/| /' conftest.
$ac_ext >&5
16046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16049 # Binary search between lo and hi bounds.
16050 while test "x$ac_lo" != "x$ac_hi"; do
16051 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16052 cat >conftest.
$ac_ext <<_ACEOF
16055 cat confdefs.h
>>conftest.
$ac_ext
16056 cat >>conftest.
$ac_ext <<_ACEOF
16057 /* end confdefs.h. */
16058 $ac_includes_default
16062 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16069 rm -f conftest.
$ac_objext
16070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16071 (eval $ac_compile) 2>conftest.er1
16073 grep -v '^ *+' conftest.er1
>conftest.err
16075 cat conftest.err
>&5
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); } &&
16078 { ac_try
='test -z "$ac_c_werror_flag"
16079 || test ! -s conftest.err'
16080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16081 (eval $ac_try) 2>&5
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); }; } &&
16085 { ac_try
='test -s conftest.$ac_objext'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; }; then
16093 echo "$as_me: failed program was:" >&5
16094 sed 's/^/| /' conftest.
$ac_ext >&5
16096 ac_lo
=`expr '(' $ac_mid ')' + 1`
16098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16101 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16102 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16103 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16104 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16105 See \`config.log' for more details." >&5
16106 echo "$as_me: error: cannot compute sizeof (int), 77
16107 See \`config.log' for more details." >&2;}
16108 { (exit 1); exit 1; }; }; } ;;
16111 if test "$cross_compiling" = yes; then
16112 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16113 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16114 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16115 See \`config.log' for more details." >&5
16116 echo "$as_me: error: cannot run test program while cross compiling
16117 See \`config.log' for more details." >&2;}
16118 { (exit 1); exit 1; }; }; }
16120 cat >conftest.
$ac_ext <<_ACEOF
16123 cat confdefs.h
>>conftest.
$ac_ext
16124 cat >>conftest.
$ac_ext <<_ACEOF
16125 /* end confdefs.h. */
16126 $ac_includes_default
16127 long longval () { return (long) (sizeof (int)); }
16128 unsigned long ulongval () { return (long) (sizeof (int)); }
16130 #include <stdlib.h>
16135 FILE *f = fopen ("conftest.val", "w");
16138 if (((long) (sizeof (int))) < 0)
16140 long i = longval ();
16141 if (i != ((long) (sizeof (int))))
16143 fprintf (f, "%ld\n", i);
16147 unsigned long i = ulongval ();
16148 if (i != ((long) (sizeof (int))))
16150 fprintf (f, "%lu\n", i);
16152 exit (ferror (f) || fclose (f) != 0);
16158 rm -f conftest
$ac_exeext
16159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16160 (eval $ac_link) 2>&5
16162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16163 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16165 (eval $ac_try) 2>&5
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); }; }; then
16169 ac_cv_sizeof_int
=`cat conftest.val`
16171 echo "$as_me: program exited with status $ac_status" >&5
16172 echo "$as_me: failed program was:" >&5
16173 sed 's/^/| /' conftest.
$ac_ext >&5
16175 ( exit $ac_status )
16176 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16177 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16178 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16179 See \`config.log' for more details." >&5
16180 echo "$as_me: error: cannot compute sizeof (int), 77
16181 See \`config.log' for more details." >&2;}
16182 { (exit 1); exit 1; }; }; }
16184 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16192 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16193 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16194 cat >>confdefs.h
<<_ACEOF
16195 #define SIZEOF_INT $ac_cv_sizeof_int
16199 echo "$as_me:$LINENO: checking for short" >&5
16200 echo $ECHO_N "checking for short... $ECHO_C" >&6
16201 if test "${ac_cv_type_short+set}" = set; then
16202 echo $ECHO_N "(cached) $ECHO_C" >&6
16204 cat >conftest.
$ac_ext <<_ACEOF
16207 cat confdefs.h
>>conftest.
$ac_ext
16208 cat >>conftest.
$ac_ext <<_ACEOF
16209 /* end confdefs.h. */
16210 $ac_includes_default
16216 if (sizeof (short))
16222 rm -f conftest.
$ac_objext
16223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16224 (eval $ac_compile) 2>conftest.er1
16226 grep -v '^ *+' conftest.er1
>conftest.err
16228 cat conftest.err
>&5
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); } &&
16231 { ac_try
='test -z "$ac_c_werror_flag"
16232 || test ! -s conftest.err'
16233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16234 (eval $ac_try) 2>&5
16236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237 (exit $ac_status); }; } &&
16238 { ac_try
='test -s conftest.$ac_objext'
16239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16240 (eval $ac_try) 2>&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); }; }; then
16244 ac_cv_type_short
=yes
16246 echo "$as_me: failed program was:" >&5
16247 sed 's/^/| /' conftest.
$ac_ext >&5
16249 ac_cv_type_short
=no
16251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16253 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16254 echo "${ECHO_T}$ac_cv_type_short" >&6
16256 echo "$as_me:$LINENO: checking size of short" >&5
16257 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16258 if test "${ac_cv_sizeof_short+set}" = set; then
16259 echo $ECHO_N "(cached) $ECHO_C" >&6
16261 if test "$ac_cv_type_short" = yes; then
16262 # The cast to unsigned long works around a bug in the HP C Compiler
16263 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16264 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16265 # This bug is HP SR number 8606223364.
16266 if test "$cross_compiling" = yes; then
16267 # Depending upon the size, compute the lo and hi bounds.
16268 cat >conftest.
$ac_ext <<_ACEOF
16271 cat confdefs.h
>>conftest.
$ac_ext
16272 cat >>conftest.
$ac_ext <<_ACEOF
16273 /* end confdefs.h. */
16274 $ac_includes_default
16278 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16285 rm -f conftest.
$ac_objext
16286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16287 (eval $ac_compile) 2>conftest.er1
16289 grep -v '^ *+' conftest.er1
>conftest.err
16291 cat conftest.err
>&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); } &&
16294 { ac_try
='test -z "$ac_c_werror_flag"
16295 || test ! -s conftest.err'
16296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16297 (eval $ac_try) 2>&5
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); }; } &&
16301 { ac_try
='test -s conftest.$ac_objext'
16302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16303 (eval $ac_try) 2>&5
16305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306 (exit $ac_status); }; }; then
16309 cat >conftest.
$ac_ext <<_ACEOF
16312 cat confdefs.h
>>conftest.
$ac_ext
16313 cat >>conftest.
$ac_ext <<_ACEOF
16314 /* end confdefs.h. */
16315 $ac_includes_default
16319 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16326 rm -f conftest.
$ac_objext
16327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16328 (eval $ac_compile) 2>conftest.er1
16330 grep -v '^ *+' conftest.er1
>conftest.err
16332 cat conftest.err
>&5
16333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334 (exit $ac_status); } &&
16335 { ac_try
='test -z "$ac_c_werror_flag"
16336 || test ! -s conftest.err'
16337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16338 (eval $ac_try) 2>&5
16340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16341 (exit $ac_status); }; } &&
16342 { ac_try
='test -s conftest.$ac_objext'
16343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16344 (eval $ac_try) 2>&5
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); }; }; then
16348 ac_hi
=$ac_mid; break
16350 echo "$as_me: failed program was:" >&5
16351 sed 's/^/| /' conftest.
$ac_ext >&5
16353 ac_lo
=`expr $ac_mid + 1`
16354 if test $ac_lo -le $ac_mid; then
16358 ac_mid
=`expr 2 '*' $ac_mid + 1`
16360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16363 echo "$as_me: failed program was:" >&5
16364 sed 's/^/| /' conftest.
$ac_ext >&5
16366 cat >conftest.
$ac_ext <<_ACEOF
16369 cat confdefs.h
>>conftest.
$ac_ext
16370 cat >>conftest.
$ac_ext <<_ACEOF
16371 /* end confdefs.h. */
16372 $ac_includes_default
16376 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16383 rm -f conftest.
$ac_objext
16384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16385 (eval $ac_compile) 2>conftest.er1
16387 grep -v '^ *+' conftest.er1
>conftest.err
16389 cat conftest.err
>&5
16390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); } &&
16392 { ac_try
='test -z "$ac_c_werror_flag"
16393 || test ! -s conftest.err'
16394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16395 (eval $ac_try) 2>&5
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); }; } &&
16399 { ac_try
='test -s conftest.$ac_objext'
16400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16401 (eval $ac_try) 2>&5
16403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404 (exit $ac_status); }; }; then
16407 cat >conftest.
$ac_ext <<_ACEOF
16410 cat confdefs.h
>>conftest.
$ac_ext
16411 cat >>conftest.
$ac_ext <<_ACEOF
16412 /* end confdefs.h. */
16413 $ac_includes_default
16417 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16424 rm -f conftest.
$ac_objext
16425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16426 (eval $ac_compile) 2>conftest.er1
16428 grep -v '^ *+' conftest.er1
>conftest.err
16430 cat conftest.err
>&5
16431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16432 (exit $ac_status); } &&
16433 { ac_try
='test -z "$ac_c_werror_flag"
16434 || test ! -s conftest.err'
16435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16436 (eval $ac_try) 2>&5
16438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16439 (exit $ac_status); }; } &&
16440 { ac_try
='test -s conftest.$ac_objext'
16441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16442 (eval $ac_try) 2>&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); }; }; then
16446 ac_lo
=$ac_mid; break
16448 echo "$as_me: failed program was:" >&5
16449 sed 's/^/| /' conftest.
$ac_ext >&5
16451 ac_hi
=`expr '(' $ac_mid ')' - 1`
16452 if test $ac_mid -le $ac_hi; then
16456 ac_mid
=`expr 2 '*' $ac_mid`
16458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16461 echo "$as_me: failed program was:" >&5
16462 sed 's/^/| /' conftest.
$ac_ext >&5
16466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16469 # Binary search between lo and hi bounds.
16470 while test "x$ac_lo" != "x$ac_hi"; do
16471 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16472 cat >conftest.
$ac_ext <<_ACEOF
16475 cat confdefs.h
>>conftest.
$ac_ext
16476 cat >>conftest.
$ac_ext <<_ACEOF
16477 /* end confdefs.h. */
16478 $ac_includes_default
16482 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16489 rm -f conftest.
$ac_objext
16490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16491 (eval $ac_compile) 2>conftest.er1
16493 grep -v '^ *+' conftest.er1
>conftest.err
16495 cat conftest.err
>&5
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); } &&
16498 { ac_try
='test -z "$ac_c_werror_flag"
16499 || test ! -s conftest.err'
16500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16501 (eval $ac_try) 2>&5
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); }; } &&
16505 { ac_try
='test -s conftest.$ac_objext'
16506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16507 (eval $ac_try) 2>&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); }; }; then
16513 echo "$as_me: failed program was:" >&5
16514 sed 's/^/| /' conftest.
$ac_ext >&5
16516 ac_lo
=`expr '(' $ac_mid ')' + 1`
16518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16521 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16522 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16523 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16524 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16525 See \`config.log' for more details." >&5
16526 echo "$as_me: error: cannot compute sizeof (short), 77
16527 See \`config.log' for more details." >&2;}
16528 { (exit 1); exit 1; }; }; } ;;
16531 if test "$cross_compiling" = yes; then
16532 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16533 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16534 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16535 See \`config.log' for more details." >&5
16536 echo "$as_me: error: cannot run test program while cross compiling
16537 See \`config.log' for more details." >&2;}
16538 { (exit 1); exit 1; }; }; }
16540 cat >conftest.
$ac_ext <<_ACEOF
16543 cat confdefs.h
>>conftest.
$ac_ext
16544 cat >>conftest.
$ac_ext <<_ACEOF
16545 /* end confdefs.h. */
16546 $ac_includes_default
16547 long longval () { return (long) (sizeof (short)); }
16548 unsigned long ulongval () { return (long) (sizeof (short)); }
16550 #include <stdlib.h>
16555 FILE *f = fopen ("conftest.val", "w");
16558 if (((long) (sizeof (short))) < 0)
16560 long i = longval ();
16561 if (i != ((long) (sizeof (short))))
16563 fprintf (f, "%ld\n", i);
16567 unsigned long i = ulongval ();
16568 if (i != ((long) (sizeof (short))))
16570 fprintf (f, "%lu\n", i);
16572 exit (ferror (f) || fclose (f) != 0);
16578 rm -f conftest
$ac_exeext
16579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16580 (eval $ac_link) 2>&5
16582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16583 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16585 (eval $ac_try) 2>&5
16587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16588 (exit $ac_status); }; }; then
16589 ac_cv_sizeof_short
=`cat conftest.val`
16591 echo "$as_me: program exited with status $ac_status" >&5
16592 echo "$as_me: failed program was:" >&5
16593 sed 's/^/| /' conftest.
$ac_ext >&5
16595 ( exit $ac_status )
16596 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16597 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16598 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16599 See \`config.log' for more details." >&5
16600 echo "$as_me: error: cannot compute sizeof (short), 77
16601 See \`config.log' for more details." >&2;}
16602 { (exit 1); exit 1; }; }; }
16604 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16609 ac_cv_sizeof_short
=0
16612 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16613 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16614 cat >>confdefs.h
<<_ACEOF
16615 #define SIZEOF_SHORT $ac_cv_sizeof_short
16619 echo "$as_me:$LINENO: checking for char" >&5
16620 echo $ECHO_N "checking for char... $ECHO_C" >&6
16621 if test "${ac_cv_type_char+set}" = set; then
16622 echo $ECHO_N "(cached) $ECHO_C" >&6
16624 cat >conftest.
$ac_ext <<_ACEOF
16627 cat confdefs.h
>>conftest.
$ac_ext
16628 cat >>conftest.
$ac_ext <<_ACEOF
16629 /* end confdefs.h. */
16630 $ac_includes_default
16642 rm -f conftest.
$ac_objext
16643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16644 (eval $ac_compile) 2>conftest.er1
16646 grep -v '^ *+' conftest.er1
>conftest.err
16648 cat conftest.err
>&5
16649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16650 (exit $ac_status); } &&
16651 { ac_try
='test -z "$ac_c_werror_flag"
16652 || test ! -s conftest.err'
16653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16654 (eval $ac_try) 2>&5
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); }; } &&
16658 { ac_try
='test -s conftest.$ac_objext'
16659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16660 (eval $ac_try) 2>&5
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); }; }; then
16664 ac_cv_type_char
=yes
16666 echo "$as_me: failed program was:" >&5
16667 sed 's/^/| /' conftest.
$ac_ext >&5
16671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16673 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16674 echo "${ECHO_T}$ac_cv_type_char" >&6
16676 echo "$as_me:$LINENO: checking size of char" >&5
16677 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16678 if test "${ac_cv_sizeof_char+set}" = set; then
16679 echo $ECHO_N "(cached) $ECHO_C" >&6
16681 if test "$ac_cv_type_char" = yes; then
16682 # The cast to unsigned long works around a bug in the HP C Compiler
16683 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16684 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16685 # This bug is HP SR number 8606223364.
16686 if test "$cross_compiling" = yes; then
16687 # Depending upon the size, compute the lo and hi bounds.
16688 cat >conftest.
$ac_ext <<_ACEOF
16691 cat confdefs.h
>>conftest.
$ac_ext
16692 cat >>conftest.
$ac_ext <<_ACEOF
16693 /* end confdefs.h. */
16694 $ac_includes_default
16698 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16705 rm -f conftest.
$ac_objext
16706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16707 (eval $ac_compile) 2>conftest.er1
16709 grep -v '^ *+' conftest.er1
>conftest.err
16711 cat conftest.err
>&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); } &&
16714 { ac_try
='test -z "$ac_c_werror_flag"
16715 || test ! -s conftest.err'
16716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16717 (eval $ac_try) 2>&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); }; } &&
16721 { ac_try
='test -s conftest.$ac_objext'
16722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16723 (eval $ac_try) 2>&5
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); }; }; then
16729 cat >conftest.
$ac_ext <<_ACEOF
16732 cat confdefs.h
>>conftest.
$ac_ext
16733 cat >>conftest.
$ac_ext <<_ACEOF
16734 /* end confdefs.h. */
16735 $ac_includes_default
16739 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16746 rm -f conftest.
$ac_objext
16747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16748 (eval $ac_compile) 2>conftest.er1
16750 grep -v '^ *+' conftest.er1
>conftest.err
16752 cat conftest.err
>&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); } &&
16755 { ac_try
='test -z "$ac_c_werror_flag"
16756 || test ! -s conftest.err'
16757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16758 (eval $ac_try) 2>&5
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); }; } &&
16762 { ac_try
='test -s conftest.$ac_objext'
16763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16764 (eval $ac_try) 2>&5
16766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16767 (exit $ac_status); }; }; then
16768 ac_hi
=$ac_mid; break
16770 echo "$as_me: failed program was:" >&5
16771 sed 's/^/| /' conftest.
$ac_ext >&5
16773 ac_lo
=`expr $ac_mid + 1`
16774 if test $ac_lo -le $ac_mid; then
16778 ac_mid
=`expr 2 '*' $ac_mid + 1`
16780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.
$ac_ext >&5
16786 cat >conftest.
$ac_ext <<_ACEOF
16789 cat confdefs.h
>>conftest.
$ac_ext
16790 cat >>conftest.
$ac_ext <<_ACEOF
16791 /* end confdefs.h. */
16792 $ac_includes_default
16796 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16803 rm -f conftest.
$ac_objext
16804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16805 (eval $ac_compile) 2>conftest.er1
16807 grep -v '^ *+' conftest.er1
>conftest.err
16809 cat conftest.err
>&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); } &&
16812 { ac_try
='test -z "$ac_c_werror_flag"
16813 || test ! -s conftest.err'
16814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16815 (eval $ac_try) 2>&5
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); }; } &&
16819 { ac_try
='test -s conftest.$ac_objext'
16820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16821 (eval $ac_try) 2>&5
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); }; }; then
16827 cat >conftest.
$ac_ext <<_ACEOF
16830 cat confdefs.h
>>conftest.
$ac_ext
16831 cat >>conftest.
$ac_ext <<_ACEOF
16832 /* end confdefs.h. */
16833 $ac_includes_default
16837 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16844 rm -f conftest.
$ac_objext
16845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16846 (eval $ac_compile) 2>conftest.er1
16848 grep -v '^ *+' conftest.er1
>conftest.err
16850 cat conftest.err
>&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); } &&
16853 { ac_try
='test -z "$ac_c_werror_flag"
16854 || test ! -s conftest.err'
16855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16856 (eval $ac_try) 2>&5
16858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16859 (exit $ac_status); }; } &&
16860 { ac_try
='test -s conftest.$ac_objext'
16861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16862 (eval $ac_try) 2>&5
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); }; }; then
16866 ac_lo
=$ac_mid; break
16868 echo "$as_me: failed program was:" >&5
16869 sed 's/^/| /' conftest.
$ac_ext >&5
16871 ac_hi
=`expr '(' $ac_mid ')' - 1`
16872 if test $ac_mid -le $ac_hi; then
16876 ac_mid
=`expr 2 '*' $ac_mid`
16878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16881 echo "$as_me: failed program was:" >&5
16882 sed 's/^/| /' conftest.
$ac_ext >&5
16886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16889 # Binary search between lo and hi bounds.
16890 while test "x$ac_lo" != "x$ac_hi"; do
16891 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16892 cat >conftest.
$ac_ext <<_ACEOF
16895 cat confdefs.h
>>conftest.
$ac_ext
16896 cat >>conftest.
$ac_ext <<_ACEOF
16897 /* end confdefs.h. */
16898 $ac_includes_default
16902 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16909 rm -f conftest.
$ac_objext
16910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16911 (eval $ac_compile) 2>conftest.er1
16913 grep -v '^ *+' conftest.er1
>conftest.err
16915 cat conftest.err
>&5
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); } &&
16918 { ac_try
='test -z "$ac_c_werror_flag"
16919 || test ! -s conftest.err'
16920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16921 (eval $ac_try) 2>&5
16923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924 (exit $ac_status); }; } &&
16925 { ac_try
='test -s conftest.$ac_objext'
16926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16927 (eval $ac_try) 2>&5
16929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); }; }; then
16933 echo "$as_me: failed program was:" >&5
16934 sed 's/^/| /' conftest.
$ac_ext >&5
16936 ac_lo
=`expr '(' $ac_mid ')' + 1`
16938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16941 ?
*) ac_cv_sizeof_char
=$ac_lo;;
16942 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16943 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16944 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16945 See \`config.log' for more details." >&5
16946 echo "$as_me: error: cannot compute sizeof (char), 77
16947 See \`config.log' for more details." >&2;}
16948 { (exit 1); exit 1; }; }; } ;;
16951 if test "$cross_compiling" = yes; then
16952 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16953 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16954 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16955 See \`config.log' for more details." >&5
16956 echo "$as_me: error: cannot run test program while cross compiling
16957 See \`config.log' for more details." >&2;}
16958 { (exit 1); exit 1; }; }; }
16960 cat >conftest.
$ac_ext <<_ACEOF
16963 cat confdefs.h
>>conftest.
$ac_ext
16964 cat >>conftest.
$ac_ext <<_ACEOF
16965 /* end confdefs.h. */
16966 $ac_includes_default
16967 long longval () { return (long) (sizeof (char)); }
16968 unsigned long ulongval () { return (long) (sizeof (char)); }
16970 #include <stdlib.h>
16975 FILE *f = fopen ("conftest.val", "w");
16978 if (((long) (sizeof (char))) < 0)
16980 long i = longval ();
16981 if (i != ((long) (sizeof (char))))
16983 fprintf (f, "%ld\n", i);
16987 unsigned long i = ulongval ();
16988 if (i != ((long) (sizeof (char))))
16990 fprintf (f, "%lu\n", i);
16992 exit (ferror (f) || fclose (f) != 0);
16998 rm -f conftest
$ac_exeext
16999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17000 (eval $ac_link) 2>&5
17002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17005 (eval $ac_try) 2>&5
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); }; }; then
17009 ac_cv_sizeof_char
=`cat conftest.val`
17011 echo "$as_me: program exited with status $ac_status" >&5
17012 echo "$as_me: failed program was:" >&5
17013 sed 's/^/| /' conftest.
$ac_ext >&5
17015 ( exit $ac_status )
17016 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17017 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17018 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17019 See \`config.log' for more details." >&5
17020 echo "$as_me: error: cannot compute sizeof (char), 77
17021 See \`config.log' for more details." >&2;}
17022 { (exit 1); exit 1; }; }; }
17024 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17029 ac_cv_sizeof_char
=0
17032 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17033 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17034 cat >>confdefs.h
<<_ACEOF
17035 #define SIZEOF_CHAR $ac_cv_sizeof_char
17040 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
17041 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
17042 case "$ac_cv_sizeof_char" in
17043 1) acx_cv_type_int8_t
=char
;;
17044 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
17045 echo "$as_me: error: no 8-bit type" >&2;}
17046 { (exit please report a bug
); exit please report a bug
; }; }
17048 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
17049 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
17051 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
17052 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
17053 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
17054 2:*) acx_cv_type_int16_t
=int
;;
17055 *:2) acx_cv_type_int16_t
=short
;;
17056 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
17057 echo "$as_me: error: no 16-bit type" >&2;}
17058 { (exit please report a bug
); exit please report a bug
; }; }
17060 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
17061 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
17063 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
17064 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
17065 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
17066 4:*) acx_cv_type_int32_t
=int
;;
17067 *:4) acx_cv_type_int32_t
=long
;;
17068 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
17069 echo "$as_me: error: no 32-bit type" >&2;}
17070 { (exit please report a bug
); exit please report a bug
; }; }
17072 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
17073 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
17076 # These tests are here to make the output prettier
17078 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17079 case "$ac_cv_sizeof_long" in
17080 8) acx_cv_type_int64_t
=long
;;
17082 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
17083 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
17084 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17085 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
17088 # Now we can use the above types
17090 if test "$ac_cv_type_uintptr_t" != yes; then
17091 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
17092 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
17093 case $ac_cv_sizeof_void_p in
17094 2) acx_cv_type_intptr_t
=int16_t
;;
17095 4) acx_cv_type_intptr_t
=int32_t
;;
17096 8) acx_cv_type_intptr_t
=int64_t
;;
17097 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
17098 echo "$as_me: error: no equivalent for intptr_t" >&2;}
17099 { (exit please report a bug
); exit please report a bug
; }; }
17101 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
17102 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
17105 # ----------------- done all checks, emit header -------------
17106 ac_config_commands
="$ac_config_commands bfd_stdint.h"
17110 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
17111 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
17112 if test "${ac_cv_header_time+set}" = set; then
17113 echo $ECHO_N "(cached) $ECHO_C" >&6
17115 cat >conftest.
$ac_ext <<_ACEOF
17118 cat confdefs.h
>>conftest.
$ac_ext
17119 cat >>conftest.
$ac_ext <<_ACEOF
17120 /* end confdefs.h. */
17121 #include <sys/types.h>
17122 #include <sys/time.h>
17128 if ((struct tm *) 0)
17134 rm -f conftest.
$ac_objext
17135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17136 (eval $ac_compile) 2>conftest.er1
17138 grep -v '^ *+' conftest.er1
>conftest.err
17140 cat conftest.err
>&5
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); } &&
17143 { ac_try
='test -z "$ac_c_werror_flag"
17144 || test ! -s conftest.err'
17145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17146 (eval $ac_try) 2>&5
17148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17149 (exit $ac_status); }; } &&
17150 { ac_try
='test -s conftest.$ac_objext'
17151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17152 (eval $ac_try) 2>&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); }; }; then
17156 ac_cv_header_time
=yes
17158 echo "$as_me: failed program was:" >&5
17159 sed 's/^/| /' conftest.
$ac_ext >&5
17161 ac_cv_header_time
=no
17163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17165 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
17166 echo "${ECHO_T}$ac_cv_header_time" >&6
17167 if test $ac_cv_header_time = yes; then
17169 cat >>confdefs.h
<<\_ACEOF
17170 #define TIME_WITH_SYS_TIME 1
17180 ac_header_dirent
=no
17181 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
17182 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
17183 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
17184 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
17185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17186 echo $ECHO_N "(cached) $ECHO_C" >&6
17188 cat >conftest.
$ac_ext <<_ACEOF
17191 cat confdefs.h
>>conftest.
$ac_ext
17192 cat >>conftest.
$ac_ext <<_ACEOF
17193 /* end confdefs.h. */
17194 #include <sys/types.h>
17206 rm -f conftest.
$ac_objext
17207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17208 (eval $ac_compile) 2>conftest.er1
17210 grep -v '^ *+' conftest.er1
>conftest.err
17212 cat conftest.err
>&5
17213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17214 (exit $ac_status); } &&
17215 { ac_try
='test -z "$ac_c_werror_flag"
17216 || test ! -s conftest.err'
17217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17218 (eval $ac_try) 2>&5
17220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221 (exit $ac_status); }; } &&
17222 { ac_try
='test -s conftest.$ac_objext'
17223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17224 (eval $ac_try) 2>&5
17226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17227 (exit $ac_status); }; }; then
17228 eval "$as_ac_Header=yes"
17230 echo "$as_me: failed program was:" >&5
17231 sed 's/^/| /' conftest.
$ac_ext >&5
17233 eval "$as_ac_Header=no"
17235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17240 cat >>confdefs.h
<<_ACEOF
17241 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
17244 ac_header_dirent
=$ac_hdr; break
17248 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
17249 if test $ac_header_dirent = dirent.h
; then
17250 echo "$as_me:$LINENO: checking for library containing opendir" >&5
17251 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
17252 if test "${ac_cv_search_opendir+set}" = set; then
17253 echo $ECHO_N "(cached) $ECHO_C" >&6
17255 ac_func_search_save_LIBS
=$LIBS
17256 ac_cv_search_opendir
=no
17257 cat >conftest.
$ac_ext <<_ACEOF
17260 cat confdefs.h
>>conftest.
$ac_ext
17261 cat >>conftest.
$ac_ext <<_ACEOF
17262 /* end confdefs.h. */
17264 /* Override any gcc2 internal prototype to avoid an error. */
17268 /* We use char because int might match the return type of a gcc2
17269 builtin and then its argument prototype would still apply. */
17279 rm -f conftest.
$ac_objext conftest
$ac_exeext
17280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17281 (eval $ac_link) 2>conftest.er1
17283 grep -v '^ *+' conftest.er1
>conftest.err
17285 cat conftest.err
>&5
17286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287 (exit $ac_status); } &&
17288 { ac_try
='test -z "$ac_c_werror_flag"
17289 || test ! -s conftest.err'
17290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17291 (eval $ac_try) 2>&5
17293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17294 (exit $ac_status); }; } &&
17295 { ac_try
='test -s conftest$ac_exeext'
17296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17297 (eval $ac_try) 2>&5
17299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17300 (exit $ac_status); }; }; then
17301 ac_cv_search_opendir
="none required"
17303 echo "$as_me: failed program was:" >&5
17304 sed 's/^/| /' conftest.
$ac_ext >&5
17307 rm -f conftest.err conftest.
$ac_objext \
17308 conftest
$ac_exeext conftest.
$ac_ext
17309 if test "$ac_cv_search_opendir" = no
; then
17310 for ac_lib
in dir
; do
17311 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17312 cat >conftest.
$ac_ext <<_ACEOF
17315 cat confdefs.h
>>conftest.
$ac_ext
17316 cat >>conftest.
$ac_ext <<_ACEOF
17317 /* end confdefs.h. */
17319 /* Override any gcc2 internal prototype to avoid an error. */
17323 /* We use char because int might match the return type of a gcc2
17324 builtin and then its argument prototype would still apply. */
17334 rm -f conftest.
$ac_objext conftest
$ac_exeext
17335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17336 (eval $ac_link) 2>conftest.er1
17338 grep -v '^ *+' conftest.er1
>conftest.err
17340 cat conftest.err
>&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); } &&
17343 { ac_try
='test -z "$ac_c_werror_flag"
17344 || test ! -s conftest.err'
17345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17346 (eval $ac_try) 2>&5
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); }; } &&
17350 { ac_try
='test -s conftest$ac_exeext'
17351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17352 (eval $ac_try) 2>&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); }; }; then
17356 ac_cv_search_opendir
="-l$ac_lib"
17359 echo "$as_me: failed program was:" >&5
17360 sed 's/^/| /' conftest.
$ac_ext >&5
17363 rm -f conftest.err conftest.
$ac_objext \
17364 conftest
$ac_exeext conftest.
$ac_ext
17367 LIBS
=$ac_func_search_save_LIBS
17369 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
17370 echo "${ECHO_T}$ac_cv_search_opendir" >&6
17371 if test "$ac_cv_search_opendir" != no
; then
17372 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
17377 echo "$as_me:$LINENO: checking for library containing opendir" >&5
17378 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
17379 if test "${ac_cv_search_opendir+set}" = set; then
17380 echo $ECHO_N "(cached) $ECHO_C" >&6
17382 ac_func_search_save_LIBS
=$LIBS
17383 ac_cv_search_opendir
=no
17384 cat >conftest.
$ac_ext <<_ACEOF
17387 cat confdefs.h
>>conftest.
$ac_ext
17388 cat >>conftest.
$ac_ext <<_ACEOF
17389 /* end confdefs.h. */
17391 /* Override any gcc2 internal prototype to avoid an error. */
17395 /* We use char because int might match the return type of a gcc2
17396 builtin and then its argument prototype would still apply. */
17406 rm -f conftest.
$ac_objext conftest
$ac_exeext
17407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17408 (eval $ac_link) 2>conftest.er1
17410 grep -v '^ *+' conftest.er1
>conftest.err
17412 cat conftest.err
>&5
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414 (exit $ac_status); } &&
17415 { ac_try
='test -z "$ac_c_werror_flag"
17416 || test ! -s conftest.err'
17417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17418 (eval $ac_try) 2>&5
17420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421 (exit $ac_status); }; } &&
17422 { ac_try
='test -s conftest$ac_exeext'
17423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17424 (eval $ac_try) 2>&5
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); }; }; then
17428 ac_cv_search_opendir
="none required"
17430 echo "$as_me: failed program was:" >&5
17431 sed 's/^/| /' conftest.
$ac_ext >&5
17434 rm -f conftest.err conftest.
$ac_objext \
17435 conftest
$ac_exeext conftest.
$ac_ext
17436 if test "$ac_cv_search_opendir" = no
; then
17437 for ac_lib
in x
; do
17438 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17439 cat >conftest.
$ac_ext <<_ACEOF
17442 cat confdefs.h
>>conftest.
$ac_ext
17443 cat >>conftest.
$ac_ext <<_ACEOF
17444 /* end confdefs.h. */
17446 /* Override any gcc2 internal prototype to avoid an error. */
17450 /* We use char because int might match the return type of a gcc2
17451 builtin and then its argument prototype would still apply. */
17461 rm -f conftest.
$ac_objext conftest
$ac_exeext
17462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17463 (eval $ac_link) 2>conftest.er1
17465 grep -v '^ *+' conftest.er1
>conftest.err
17467 cat conftest.err
>&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); } &&
17470 { ac_try
='test -z "$ac_c_werror_flag"
17471 || test ! -s conftest.err'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; } &&
17477 { ac_try
='test -s conftest$ac_exeext'
17478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17479 (eval $ac_try) 2>&5
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); }; }; then
17483 ac_cv_search_opendir
="-l$ac_lib"
17486 echo "$as_me: failed program was:" >&5
17487 sed 's/^/| /' conftest.
$ac_ext >&5
17490 rm -f conftest.err conftest.
$ac_objext \
17491 conftest
$ac_exeext conftest.
$ac_ext
17494 LIBS
=$ac_func_search_save_LIBS
17496 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
17497 echo "${ECHO_T}$ac_cv_search_opendir" >&6
17498 if test "$ac_cv_search_opendir" != no
; then
17499 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
17505 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
17506 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
17507 if test "${gcc_cv_header_string+set}" = set; then
17508 echo $ECHO_N "(cached) $ECHO_C" >&6
17510 cat >conftest.
$ac_ext <<_ACEOF
17513 cat confdefs.h
>>conftest.
$ac_ext
17514 cat >>conftest.
$ac_ext <<_ACEOF
17515 /* end confdefs.h. */
17516 #include <string.h>
17517 #include <strings.h>
17526 rm -f conftest.
$ac_objext
17527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17528 (eval $ac_compile) 2>conftest.er1
17530 grep -v '^ *+' conftest.er1
>conftest.err
17532 cat conftest.err
>&5
17533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); } &&
17535 { ac_try
='test -z "$ac_c_werror_flag"
17536 || test ! -s conftest.err'
17537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17538 (eval $ac_try) 2>&5
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); }; } &&
17542 { ac_try
='test -s conftest.$ac_objext'
17543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17544 (eval $ac_try) 2>&5
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); }; }; then
17548 gcc_cv_header_string
=yes
17550 echo "$as_me: failed program was:" >&5
17551 sed 's/^/| /' conftest.
$ac_ext >&5
17553 gcc_cv_header_string
=no
17555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17557 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
17558 echo "${ECHO_T}$gcc_cv_header_string" >&6
17559 if test $gcc_cv_header_string = yes; then
17561 cat >>confdefs.h
<<\_ACEOF
17562 #define STRING_WITH_STRINGS 1
17575 for ac_func
in fcntl getpagesize setitimer sysconf fdopen getuid getgid fileno
17577 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17578 echo "$as_me:$LINENO: checking for $ac_func" >&5
17579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17580 if eval "test \"\${$as_ac_var+set}\" = set"; then
17581 echo $ECHO_N "(cached) $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. */
17589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17591 #define $ac_func innocuous_$ac_func
17593 /* System header to define __stub macros and hopefully few prototypes,
17594 which can conflict with char $ac_func (); below.
17595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17596 <limits.h> exists even on freestanding compilers. */
17599 # include <limits.h>
17601 # include <assert.h>
17606 /* Override any gcc2 internal prototype to avoid an error. */
17611 /* We use char because int might match the return type of a gcc2
17612 builtin and then its argument prototype would still apply. */
17614 /* The GNU C library defines this for functions which it implements
17615 to always fail with ENOSYS. Some functions are actually named
17616 something starting with __ and the normal name is an alias. */
17617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17620 char (*f) () = $ac_func;
17629 return f != $ac_func;
17634 rm -f conftest.
$ac_objext conftest
$ac_exeext
17635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17636 (eval $ac_link) 2>conftest.er1
17638 grep -v '^ *+' conftest.er1
>conftest.err
17640 cat conftest.err
>&5
17641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17642 (exit $ac_status); } &&
17643 { ac_try
='test -z "$ac_c_werror_flag"
17644 || test ! -s conftest.err'
17645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17646 (eval $ac_try) 2>&5
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); }; } &&
17650 { ac_try
='test -s conftest$ac_exeext'
17651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17652 (eval $ac_try) 2>&5
17654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655 (exit $ac_status); }; }; then
17656 eval "$as_ac_var=yes"
17658 echo "$as_me: failed program was:" >&5
17659 sed 's/^/| /' conftest.
$ac_ext >&5
17661 eval "$as_ac_var=no"
17663 rm -f conftest.err conftest.
$ac_objext \
17664 conftest
$ac_exeext conftest.
$ac_ext
17666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17668 if test `eval echo '${'$as_ac_var'}'` = yes; then
17669 cat >>confdefs.h
<<_ACEOF
17670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17677 for ac_func
in strtoull
17679 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17680 echo "$as_me:$LINENO: checking for $ac_func" >&5
17681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17682 if eval "test \"\${$as_ac_var+set}\" = set"; then
17683 echo $ECHO_N "(cached) $ECHO_C" >&6
17685 cat >conftest.
$ac_ext <<_ACEOF
17688 cat confdefs.h
>>conftest.
$ac_ext
17689 cat >>conftest.
$ac_ext <<_ACEOF
17690 /* end confdefs.h. */
17691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17693 #define $ac_func innocuous_$ac_func
17695 /* System header to define __stub macros and hopefully few prototypes,
17696 which can conflict with char $ac_func (); below.
17697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17698 <limits.h> exists even on freestanding compilers. */
17701 # include <limits.h>
17703 # include <assert.h>
17708 /* Override any gcc2 internal prototype to avoid an error. */
17713 /* We use char because int might match the return type of a gcc2
17714 builtin and then its argument prototype would still apply. */
17716 /* The GNU C library defines this for functions which it implements
17717 to always fail with ENOSYS. Some functions are actually named
17718 something starting with __ and the normal name is an alias. */
17719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17722 char (*f) () = $ac_func;
17731 return f != $ac_func;
17736 rm -f conftest.
$ac_objext conftest
$ac_exeext
17737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17738 (eval $ac_link) 2>conftest.er1
17740 grep -v '^ *+' conftest.er1
>conftest.err
17742 cat conftest.err
>&5
17743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744 (exit $ac_status); } &&
17745 { ac_try
='test -z "$ac_c_werror_flag"
17746 || test ! -s conftest.err'
17747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17748 (eval $ac_try) 2>&5
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); }; } &&
17752 { ac_try
='test -s conftest$ac_exeext'
17753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17754 (eval $ac_try) 2>&5
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); }; }; then
17758 eval "$as_ac_var=yes"
17760 echo "$as_me: failed program was:" >&5
17761 sed 's/^/| /' conftest.
$ac_ext >&5
17763 eval "$as_ac_var=no"
17765 rm -f conftest.err conftest.
$ac_objext \
17766 conftest
$ac_exeext conftest.
$ac_ext
17768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17770 if test `eval echo '${'$as_ac_var'}'` = yes; then
17771 cat >>confdefs.h
<<_ACEOF
17772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17779 echo "$as_me:$LINENO: checking whether basename is declared" >&5
17780 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
17781 if test "${ac_cv_have_decl_basename+set}" = set; then
17782 echo $ECHO_N "(cached) $ECHO_C" >&6
17784 cat >conftest.
$ac_ext <<_ACEOF
17787 cat confdefs.h
>>conftest.
$ac_ext
17788 cat >>conftest.
$ac_ext <<_ACEOF
17789 /* end confdefs.h. */
17790 $ac_includes_default
17795 char *p = (char *) basename;
17802 rm -f conftest.
$ac_objext
17803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17804 (eval $ac_compile) 2>conftest.er1
17806 grep -v '^ *+' conftest.er1
>conftest.err
17808 cat conftest.err
>&5
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); } &&
17811 { ac_try
='test -z "$ac_c_werror_flag"
17812 || test ! -s conftest.err'
17813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17814 (eval $ac_try) 2>&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); }; } &&
17818 { ac_try
='test -s conftest.$ac_objext'
17819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17820 (eval $ac_try) 2>&5
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); }; }; then
17824 ac_cv_have_decl_basename
=yes
17826 echo "$as_me: failed program was:" >&5
17827 sed 's/^/| /' conftest.
$ac_ext >&5
17829 ac_cv_have_decl_basename
=no
17831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17833 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
17834 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
17835 if test $ac_cv_have_decl_basename = yes; then
17837 cat >>confdefs.h
<<_ACEOF
17838 #define HAVE_DECL_BASENAME 1
17843 cat >>confdefs.h
<<_ACEOF
17844 #define HAVE_DECL_BASENAME 0
17851 echo "$as_me:$LINENO: checking whether ftello is declared" >&5
17852 echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6
17853 if test "${ac_cv_have_decl_ftello+set}" = set; then
17854 echo $ECHO_N "(cached) $ECHO_C" >&6
17856 cat >conftest.
$ac_ext <<_ACEOF
17859 cat confdefs.h
>>conftest.
$ac_ext
17860 cat >>conftest.
$ac_ext <<_ACEOF
17861 /* end confdefs.h. */
17862 $ac_includes_default
17867 char *p = (char *) ftello;
17874 rm -f conftest.
$ac_objext
17875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17876 (eval $ac_compile) 2>conftest.er1
17878 grep -v '^ *+' conftest.er1
>conftest.err
17880 cat conftest.err
>&5
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); } &&
17883 { ac_try
='test -z "$ac_c_werror_flag"
17884 || test ! -s conftest.err'
17885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17886 (eval $ac_try) 2>&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); }; } &&
17890 { ac_try
='test -s conftest.$ac_objext'
17891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17892 (eval $ac_try) 2>&5
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); }; }; then
17896 ac_cv_have_decl_ftello
=yes
17898 echo "$as_me: failed program was:" >&5
17899 sed 's/^/| /' conftest.
$ac_ext >&5
17901 ac_cv_have_decl_ftello
=no
17903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17905 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
17906 echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6
17907 if test $ac_cv_have_decl_ftello = yes; then
17909 cat >>confdefs.h
<<_ACEOF
17910 #define HAVE_DECL_FTELLO 1
17915 cat >>confdefs.h
<<_ACEOF
17916 #define HAVE_DECL_FTELLO 0
17923 echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
17924 echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6
17925 if test "${ac_cv_have_decl_ftello64+set}" = set; then
17926 echo $ECHO_N "(cached) $ECHO_C" >&6
17928 cat >conftest.
$ac_ext <<_ACEOF
17931 cat confdefs.h
>>conftest.
$ac_ext
17932 cat >>conftest.
$ac_ext <<_ACEOF
17933 /* end confdefs.h. */
17934 $ac_includes_default
17939 char *p = (char *) ftello64;
17946 rm -f conftest.
$ac_objext
17947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17948 (eval $ac_compile) 2>conftest.er1
17950 grep -v '^ *+' conftest.er1
>conftest.err
17952 cat conftest.err
>&5
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); } &&
17955 { ac_try
='test -z "$ac_c_werror_flag"
17956 || test ! -s conftest.err'
17957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17958 (eval $ac_try) 2>&5
17960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17961 (exit $ac_status); }; } &&
17962 { ac_try
='test -s conftest.$ac_objext'
17963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17964 (eval $ac_try) 2>&5
17966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17967 (exit $ac_status); }; }; then
17968 ac_cv_have_decl_ftello64
=yes
17970 echo "$as_me: failed program was:" >&5
17971 sed 's/^/| /' conftest.
$ac_ext >&5
17973 ac_cv_have_decl_ftello64
=no
17975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17977 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
17978 echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6
17979 if test $ac_cv_have_decl_ftello64 = yes; then
17981 cat >>confdefs.h
<<_ACEOF
17982 #define HAVE_DECL_FTELLO64 1
17987 cat >>confdefs.h
<<_ACEOF
17988 #define HAVE_DECL_FTELLO64 0
17995 echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
17996 echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6
17997 if test "${ac_cv_have_decl_fseeko+set}" = set; then
17998 echo $ECHO_N "(cached) $ECHO_C" >&6
18000 cat >conftest.
$ac_ext <<_ACEOF
18003 cat confdefs.h
>>conftest.
$ac_ext
18004 cat >>conftest.
$ac_ext <<_ACEOF
18005 /* end confdefs.h. */
18006 $ac_includes_default
18011 char *p = (char *) fseeko;
18018 rm -f conftest.
$ac_objext
18019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18020 (eval $ac_compile) 2>conftest.er1
18022 grep -v '^ *+' conftest.er1
>conftest.err
18024 cat conftest.err
>&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); } &&
18027 { ac_try
='test -z "$ac_c_werror_flag"
18028 || test ! -s conftest.err'
18029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18030 (eval $ac_try) 2>&5
18032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18033 (exit $ac_status); }; } &&
18034 { ac_try
='test -s conftest.$ac_objext'
18035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18036 (eval $ac_try) 2>&5
18038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039 (exit $ac_status); }; }; then
18040 ac_cv_have_decl_fseeko
=yes
18042 echo "$as_me: failed program was:" >&5
18043 sed 's/^/| /' conftest.
$ac_ext >&5
18045 ac_cv_have_decl_fseeko
=no
18047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18049 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
18050 echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6
18051 if test $ac_cv_have_decl_fseeko = yes; then
18053 cat >>confdefs.h
<<_ACEOF
18054 #define HAVE_DECL_FSEEKO 1
18059 cat >>confdefs.h
<<_ACEOF
18060 #define HAVE_DECL_FSEEKO 0
18067 echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
18068 echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6
18069 if test "${ac_cv_have_decl_fseeko64+set}" = set; then
18070 echo $ECHO_N "(cached) $ECHO_C" >&6
18072 cat >conftest.
$ac_ext <<_ACEOF
18075 cat confdefs.h
>>conftest.
$ac_ext
18076 cat >>conftest.
$ac_ext <<_ACEOF
18077 /* end confdefs.h. */
18078 $ac_includes_default
18083 char *p = (char *) fseeko64;
18090 rm -f conftest.
$ac_objext
18091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18092 (eval $ac_compile) 2>conftest.er1
18094 grep -v '^ *+' conftest.er1
>conftest.err
18096 cat conftest.err
>&5
18097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18098 (exit $ac_status); } &&
18099 { ac_try
='test -z "$ac_c_werror_flag"
18100 || test ! -s conftest.err'
18101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18102 (eval $ac_try) 2>&5
18104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105 (exit $ac_status); }; } &&
18106 { ac_try
='test -s conftest.$ac_objext'
18107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18108 (eval $ac_try) 2>&5
18110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18111 (exit $ac_status); }; }; then
18112 ac_cv_have_decl_fseeko64
=yes
18114 echo "$as_me: failed program was:" >&5
18115 sed 's/^/| /' conftest.
$ac_ext >&5
18117 ac_cv_have_decl_fseeko64
=no
18119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18121 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
18122 echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6
18123 if test $ac_cv_have_decl_fseeko64 = yes; then
18125 cat >>confdefs.h
<<_ACEOF
18126 #define HAVE_DECL_FSEEKO64 1
18131 cat >>confdefs.h
<<_ACEOF
18132 #define HAVE_DECL_FSEEKO64 0
18142 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
18144 cat >>confdefs.h
<<\_ACEOF
18145 #define USE_BINARY_FOPEN 1
18150 echo "$as_me:$LINENO: checking whether ffs is declared" >&5
18151 echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
18152 if test "${ac_cv_have_decl_ffs+set}" = set; then
18153 echo $ECHO_N "(cached) $ECHO_C" >&6
18155 cat >conftest.
$ac_ext <<_ACEOF
18158 cat confdefs.h
>>conftest.
$ac_ext
18159 cat >>conftest.
$ac_ext <<_ACEOF
18160 /* end confdefs.h. */
18161 $ac_includes_default
18166 char *p = (char *) ffs;
18173 rm -f conftest.
$ac_objext
18174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18175 (eval $ac_compile) 2>conftest.er1
18177 grep -v '^ *+' conftest.er1
>conftest.err
18179 cat conftest.err
>&5
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); } &&
18182 { ac_try
='test -z "$ac_c_werror_flag"
18183 || test ! -s conftest.err'
18184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18185 (eval $ac_try) 2>&5
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); }; } &&
18189 { ac_try
='test -s conftest.$ac_objext'
18190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18191 (eval $ac_try) 2>&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); }; }; then
18195 ac_cv_have_decl_ffs
=yes
18197 echo "$as_me: failed program was:" >&5
18198 sed 's/^/| /' conftest.
$ac_ext >&5
18200 ac_cv_have_decl_ffs
=no
18202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18204 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
18205 echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
18206 if test $ac_cv_have_decl_ffs = yes; then
18208 cat >>confdefs.h
<<_ACEOF
18209 #define HAVE_DECL_FFS 1
18214 cat >>confdefs.h
<<_ACEOF
18215 #define HAVE_DECL_FFS 0
18222 echo "$as_me:$LINENO: checking whether free is declared" >&5
18223 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
18224 if test "${ac_cv_have_decl_free+set}" = set; then
18225 echo $ECHO_N "(cached) $ECHO_C" >&6
18227 cat >conftest.
$ac_ext <<_ACEOF
18230 cat confdefs.h
>>conftest.
$ac_ext
18231 cat >>conftest.
$ac_ext <<_ACEOF
18232 /* end confdefs.h. */
18233 $ac_includes_default
18238 char *p = (char *) free;
18245 rm -f conftest.
$ac_objext
18246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18247 (eval $ac_compile) 2>conftest.er1
18249 grep -v '^ *+' conftest.er1
>conftest.err
18251 cat conftest.err
>&5
18252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253 (exit $ac_status); } &&
18254 { ac_try
='test -z "$ac_c_werror_flag"
18255 || test ! -s conftest.err'
18256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18257 (eval $ac_try) 2>&5
18259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18260 (exit $ac_status); }; } &&
18261 { ac_try
='test -s conftest.$ac_objext'
18262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18263 (eval $ac_try) 2>&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); }; }; then
18267 ac_cv_have_decl_free
=yes
18269 echo "$as_me: failed program was:" >&5
18270 sed 's/^/| /' conftest.
$ac_ext >&5
18272 ac_cv_have_decl_free
=no
18274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18276 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
18277 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
18278 if test $ac_cv_have_decl_free = yes; then
18280 cat >>confdefs.h
<<_ACEOF
18281 #define HAVE_DECL_FREE 1
18286 cat >>confdefs.h
<<_ACEOF
18287 #define HAVE_DECL_FREE 0
18294 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
18295 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
18296 if test "${ac_cv_have_decl_getenv+set}" = set; then
18297 echo $ECHO_N "(cached) $ECHO_C" >&6
18299 cat >conftest.
$ac_ext <<_ACEOF
18302 cat confdefs.h
>>conftest.
$ac_ext
18303 cat >>conftest.
$ac_ext <<_ACEOF
18304 /* end confdefs.h. */
18305 $ac_includes_default
18310 char *p = (char *) getenv;
18317 rm -f conftest.
$ac_objext
18318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18319 (eval $ac_compile) 2>conftest.er1
18321 grep -v '^ *+' conftest.er1
>conftest.err
18323 cat conftest.err
>&5
18324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325 (exit $ac_status); } &&
18326 { ac_try
='test -z "$ac_c_werror_flag"
18327 || test ! -s conftest.err'
18328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18329 (eval $ac_try) 2>&5
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); }; } &&
18333 { ac_try
='test -s conftest.$ac_objext'
18334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18335 (eval $ac_try) 2>&5
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); }; }; then
18339 ac_cv_have_decl_getenv
=yes
18341 echo "$as_me: failed program was:" >&5
18342 sed 's/^/| /' conftest.
$ac_ext >&5
18344 ac_cv_have_decl_getenv
=no
18346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18348 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
18349 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
18350 if test $ac_cv_have_decl_getenv = yes; then
18352 cat >>confdefs.h
<<_ACEOF
18353 #define HAVE_DECL_GETENV 1
18358 cat >>confdefs.h
<<_ACEOF
18359 #define HAVE_DECL_GETENV 0
18366 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
18367 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
18368 if test "${ac_cv_have_decl_malloc+set}" = set; then
18369 echo $ECHO_N "(cached) $ECHO_C" >&6
18371 cat >conftest.
$ac_ext <<_ACEOF
18374 cat confdefs.h
>>conftest.
$ac_ext
18375 cat >>conftest.
$ac_ext <<_ACEOF
18376 /* end confdefs.h. */
18377 $ac_includes_default
18382 char *p = (char *) malloc;
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 ac_cv_have_decl_malloc
=yes
18413 echo "$as_me: failed program was:" >&5
18414 sed 's/^/| /' conftest.
$ac_ext >&5
18416 ac_cv_have_decl_malloc
=no
18418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18420 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
18421 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
18422 if test $ac_cv_have_decl_malloc = yes; then
18424 cat >>confdefs.h
<<_ACEOF
18425 #define HAVE_DECL_MALLOC 1
18430 cat >>confdefs.h
<<_ACEOF
18431 #define HAVE_DECL_MALLOC 0
18438 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
18439 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
18440 if test "${ac_cv_have_decl_realloc+set}" = set; then
18441 echo $ECHO_N "(cached) $ECHO_C" >&6
18443 cat >conftest.
$ac_ext <<_ACEOF
18446 cat confdefs.h
>>conftest.
$ac_ext
18447 cat >>conftest.
$ac_ext <<_ACEOF
18448 /* end confdefs.h. */
18449 $ac_includes_default
18454 char *p = (char *) realloc;
18461 rm -f conftest.
$ac_objext
18462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18463 (eval $ac_compile) 2>conftest.er1
18465 grep -v '^ *+' conftest.er1
>conftest.err
18467 cat conftest.err
>&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); } &&
18470 { ac_try
='test -z "$ac_c_werror_flag"
18471 || test ! -s conftest.err'
18472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18473 (eval $ac_try) 2>&5
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); }; } &&
18477 { ac_try
='test -s conftest.$ac_objext'
18478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18479 (eval $ac_try) 2>&5
18481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18482 (exit $ac_status); }; }; then
18483 ac_cv_have_decl_realloc
=yes
18485 echo "$as_me: failed program was:" >&5
18486 sed 's/^/| /' conftest.
$ac_ext >&5
18488 ac_cv_have_decl_realloc
=no
18490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18492 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
18493 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
18494 if test $ac_cv_have_decl_realloc = yes; then
18496 cat >>confdefs.h
<<_ACEOF
18497 #define HAVE_DECL_REALLOC 1
18502 cat >>confdefs.h
<<_ACEOF
18503 #define HAVE_DECL_REALLOC 0
18510 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
18511 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
18512 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
18513 echo $ECHO_N "(cached) $ECHO_C" >&6
18515 cat >conftest.
$ac_ext <<_ACEOF
18518 cat confdefs.h
>>conftest.
$ac_ext
18519 cat >>conftest.
$ac_ext <<_ACEOF
18520 /* end confdefs.h. */
18521 $ac_includes_default
18526 char *p = (char *) stpcpy;
18533 rm -f conftest.
$ac_objext
18534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18535 (eval $ac_compile) 2>conftest.er1
18537 grep -v '^ *+' conftest.er1
>conftest.err
18539 cat conftest.err
>&5
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); } &&
18542 { ac_try
='test -z "$ac_c_werror_flag"
18543 || test ! -s conftest.err'
18544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18545 (eval $ac_try) 2>&5
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); }; } &&
18549 { ac_try
='test -s conftest.$ac_objext'
18550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18551 (eval $ac_try) 2>&5
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); }; }; then
18555 ac_cv_have_decl_stpcpy
=yes
18557 echo "$as_me: failed program was:" >&5
18558 sed 's/^/| /' conftest.
$ac_ext >&5
18560 ac_cv_have_decl_stpcpy
=no
18562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18564 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
18565 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
18566 if test $ac_cv_have_decl_stpcpy = yes; then
18568 cat >>confdefs.h
<<_ACEOF
18569 #define HAVE_DECL_STPCPY 1
18574 cat >>confdefs.h
<<_ACEOF
18575 #define HAVE_DECL_STPCPY 0
18582 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
18583 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
18584 if test "${ac_cv_have_decl_strstr+set}" = set; then
18585 echo $ECHO_N "(cached) $ECHO_C" >&6
18587 cat >conftest.
$ac_ext <<_ACEOF
18590 cat confdefs.h
>>conftest.
$ac_ext
18591 cat >>conftest.
$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18593 $ac_includes_default
18598 char *p = (char *) strstr;
18605 rm -f conftest.
$ac_objext
18606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18607 (eval $ac_compile) 2>conftest.er1
18609 grep -v '^ *+' conftest.er1
>conftest.err
18611 cat conftest.err
>&5
18612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613 (exit $ac_status); } &&
18614 { ac_try
='test -z "$ac_c_werror_flag"
18615 || test ! -s conftest.err'
18616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18617 (eval $ac_try) 2>&5
18619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18620 (exit $ac_status); }; } &&
18621 { ac_try
='test -s conftest.$ac_objext'
18622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18623 (eval $ac_try) 2>&5
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); }; }; then
18627 ac_cv_have_decl_strstr
=yes
18629 echo "$as_me: failed program was:" >&5
18630 sed 's/^/| /' conftest.
$ac_ext >&5
18632 ac_cv_have_decl_strstr
=no
18634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18636 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
18637 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
18638 if test $ac_cv_have_decl_strstr = yes; then
18640 cat >>confdefs.h
<<_ACEOF
18641 #define HAVE_DECL_STRSTR 1
18646 cat >>confdefs.h
<<_ACEOF
18647 #define HAVE_DECL_STRSTR 0
18654 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
18655 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
18656 if test "${ac_cv_have_decl_snprintf+set}" = set; then
18657 echo $ECHO_N "(cached) $ECHO_C" >&6
18659 cat >conftest.
$ac_ext <<_ACEOF
18662 cat confdefs.h
>>conftest.
$ac_ext
18663 cat >>conftest.
$ac_ext <<_ACEOF
18664 /* end confdefs.h. */
18665 $ac_includes_default
18670 char *p = (char *) snprintf;
18677 rm -f conftest.
$ac_objext
18678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18679 (eval $ac_compile) 2>conftest.er1
18681 grep -v '^ *+' conftest.er1
>conftest.err
18683 cat conftest.err
>&5
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); } &&
18686 { ac_try
='test -z "$ac_c_werror_flag"
18687 || test ! -s conftest.err'
18688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18689 (eval $ac_try) 2>&5
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); }; } &&
18693 { ac_try
='test -s conftest.$ac_objext'
18694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18695 (eval $ac_try) 2>&5
18697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18698 (exit $ac_status); }; }; then
18699 ac_cv_have_decl_snprintf
=yes
18701 echo "$as_me: failed program was:" >&5
18702 sed 's/^/| /' conftest.
$ac_ext >&5
18704 ac_cv_have_decl_snprintf
=no
18706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18708 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
18709 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
18710 if test $ac_cv_have_decl_snprintf = yes; then
18712 cat >>confdefs.h
<<_ACEOF
18713 #define HAVE_DECL_SNPRINTF 1
18718 cat >>confdefs.h
<<_ACEOF
18719 #define HAVE_DECL_SNPRINTF 0
18726 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
18727 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
18728 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
18729 echo $ECHO_N "(cached) $ECHO_C" >&6
18731 cat >conftest.
$ac_ext <<_ACEOF
18734 cat confdefs.h
>>conftest.
$ac_ext
18735 cat >>conftest.
$ac_ext <<_ACEOF
18736 /* end confdefs.h. */
18737 $ac_includes_default
18742 char *p = (char *) vsnprintf;
18749 rm -f conftest.
$ac_objext
18750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18751 (eval $ac_compile) 2>conftest.er1
18753 grep -v '^ *+' conftest.er1
>conftest.err
18755 cat conftest.err
>&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); } &&
18758 { ac_try
='test -z "$ac_c_werror_flag"
18759 || test ! -s conftest.err'
18760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18761 (eval $ac_try) 2>&5
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); }; } &&
18765 { ac_try
='test -s conftest.$ac_objext'
18766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18767 (eval $ac_try) 2>&5
18769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770 (exit $ac_status); }; }; then
18771 ac_cv_have_decl_vsnprintf
=yes
18773 echo "$as_me: failed program was:" >&5
18774 sed 's/^/| /' conftest.
$ac_ext >&5
18776 ac_cv_have_decl_vsnprintf
=no
18778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18780 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
18781 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
18782 if test $ac_cv_have_decl_vsnprintf = yes; then
18784 cat >>confdefs.h
<<_ACEOF
18785 #define HAVE_DECL_VSNPRINTF 1
18790 cat >>confdefs.h
<<_ACEOF
18791 #define HAVE_DECL_VSNPRINTF 0
18799 # Link in zlib if we can. This allows us to read compressed debug sections.
18800 # This is used only by compress.c.
18801 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
18802 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
18803 if test "${ac_cv_search_zlibVersion+set}" = set; then
18804 echo $ECHO_N "(cached) $ECHO_C" >&6
18806 ac_func_search_save_LIBS
=$LIBS
18807 ac_cv_search_zlibVersion
=no
18808 cat >conftest.
$ac_ext <<_ACEOF
18811 cat confdefs.h
>>conftest.
$ac_ext
18812 cat >>conftest.
$ac_ext <<_ACEOF
18813 /* end confdefs.h. */
18815 /* Override any gcc2 internal prototype to avoid an error. */
18819 /* We use char because int might match the return type of a gcc2
18820 builtin and then its argument prototype would still apply. */
18821 char zlibVersion ();
18830 rm -f conftest.
$ac_objext conftest
$ac_exeext
18831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18832 (eval $ac_link) 2>conftest.er1
18834 grep -v '^ *+' conftest.er1
>conftest.err
18836 cat conftest.err
>&5
18837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18838 (exit $ac_status); } &&
18839 { ac_try
='test -z "$ac_c_werror_flag"
18840 || test ! -s conftest.err'
18841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18842 (eval $ac_try) 2>&5
18844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845 (exit $ac_status); }; } &&
18846 { ac_try
='test -s conftest$ac_exeext'
18847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18848 (eval $ac_try) 2>&5
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); }; }; then
18852 ac_cv_search_zlibVersion
="none required"
18854 echo "$as_me: failed program was:" >&5
18855 sed 's/^/| /' conftest.
$ac_ext >&5
18858 rm -f conftest.err conftest.
$ac_objext \
18859 conftest
$ac_exeext conftest.
$ac_ext
18860 if test "$ac_cv_search_zlibVersion" = no
; then
18861 for ac_lib
in z
; do
18862 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18863 cat >conftest.
$ac_ext <<_ACEOF
18866 cat confdefs.h
>>conftest.
$ac_ext
18867 cat >>conftest.
$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18870 /* Override any gcc2 internal prototype to avoid an error. */
18874 /* We use char because int might match the return type of a gcc2
18875 builtin and then its argument prototype would still apply. */
18876 char zlibVersion ();
18885 rm -f conftest.
$ac_objext conftest
$ac_exeext
18886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18887 (eval $ac_link) 2>conftest.er1
18889 grep -v '^ *+' conftest.er1
>conftest.err
18891 cat conftest.err
>&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); } &&
18894 { ac_try
='test -z "$ac_c_werror_flag"
18895 || test ! -s conftest.err'
18896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18897 (eval $ac_try) 2>&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); }; } &&
18901 { ac_try
='test -s conftest$ac_exeext'
18902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18903 (eval $ac_try) 2>&5
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); }; }; then
18907 ac_cv_search_zlibVersion
="-l$ac_lib"
18910 echo "$as_me: failed program was:" >&5
18911 sed 's/^/| /' conftest.
$ac_ext >&5
18914 rm -f conftest.err conftest.
$ac_objext \
18915 conftest
$ac_exeext conftest.
$ac_ext
18918 LIBS
=$ac_func_search_save_LIBS
18920 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
18921 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
18922 if test "$ac_cv_search_zlibVersion" != no
; then
18923 test "$ac_cv_search_zlibVersion" = "none required" || LIBS
="$ac_cv_search_zlibVersion $LIBS"
18925 for ac_header
in zlib.h
18927 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18929 echo "$as_me:$LINENO: checking for $ac_header" >&5
18930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18932 echo $ECHO_N "(cached) $ECHO_C" >&6
18934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18937 # Is the header compilable?
18938 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18939 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18940 cat >conftest.
$ac_ext <<_ACEOF
18943 cat confdefs.h
>>conftest.
$ac_ext
18944 cat >>conftest.
$ac_ext <<_ACEOF
18945 /* end confdefs.h. */
18946 $ac_includes_default
18947 #include <$ac_header>
18949 rm -f conftest.
$ac_objext
18950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18951 (eval $ac_compile) 2>conftest.er1
18953 grep -v '^ *+' conftest.er1
>conftest.err
18955 cat conftest.err
>&5
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); } &&
18958 { ac_try
='test -z "$ac_c_werror_flag"
18959 || test ! -s conftest.err'
18960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18961 (eval $ac_try) 2>&5
18963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18964 (exit $ac_status); }; } &&
18965 { ac_try
='test -s conftest.$ac_objext'
18966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18967 (eval $ac_try) 2>&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); }; }; then
18971 ac_header_compiler
=yes
18973 echo "$as_me: failed program was:" >&5
18974 sed 's/^/| /' conftest.
$ac_ext >&5
18976 ac_header_compiler
=no
18978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18979 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18980 echo "${ECHO_T}$ac_header_compiler" >&6
18982 # Is the header present?
18983 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18984 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18985 cat >conftest.
$ac_ext <<_ACEOF
18988 cat confdefs.h
>>conftest.
$ac_ext
18989 cat >>conftest.
$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18991 #include <$ac_header>
18993 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18994 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18996 grep -v '^ *+' conftest.er1
>conftest.err
18998 cat conftest.err
>&5
18999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19000 (exit $ac_status); } >/dev
/null
; then
19001 if test -s conftest.err
; then
19002 ac_cpp_err
=$ac_c_preproc_warn_flag
19003 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19010 if test -z "$ac_cpp_err"; then
19011 ac_header_preproc
=yes
19013 echo "$as_me: failed program was:" >&5
19014 sed 's/^/| /' conftest.
$ac_ext >&5
19016 ac_header_preproc
=no
19018 rm -f conftest.err conftest.
$ac_ext
19019 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19020 echo "${ECHO_T}$ac_header_preproc" >&6
19022 # So? What about this header?
19023 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19025 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19026 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19028 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19029 ac_header_preproc
=yes
19032 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19033 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19034 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19035 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19036 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19037 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19038 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19039 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19041 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19042 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19043 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19046 ## ------------------------------------------ ##
19047 ## Report this to the AC_PACKAGE_NAME lists. ##
19048 ## ------------------------------------------ ##
19051 sed "s/^/$as_me: WARNING: /" >&2
19054 echo "$as_me:$LINENO: checking for $ac_header" >&5
19055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19057 echo $ECHO_N "(cached) $ECHO_C" >&6
19059 eval "$as_ac_Header=\$ac_header_preproc"
19061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19062 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19065 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19066 cat >>confdefs.h
<<_ACEOF
19067 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19077 # If we are configured native, pick a core file support file.
19081 if test "${target}" = "${host}"; then
19083 alpha
*-*-freebsd* | alpha
*-*-kfreebsd*-gnu)
19087 COREFILE
=trad-core.lo
19088 TRAD_HEADER
='"hosts/alphalinux.h"'
19090 alpha
*-*-netbsd* | alpha
*-*-openbsd*)
19091 COREFILE
=netbsd-core.lo
19093 alpha
*-*-*) COREFILE
=osf-core.lo
;;
19094 arm-
*-freebsd* | arm-
*-kfreebsd*-gnu)
19096 arm-
*-netbsd* | arm-
*-openbsd*)
19097 COREFILE
=netbsd-core.lo
19099 arm-
*-riscix) COREFILE
=trad-core.lo
;;
19100 hppa
*-*-hpux*) COREFILE
=hpux-core.lo
;;
19101 hppa
*-*-hiux*) COREFILE
=hpux-core.lo
;;
19102 hppa
*-*-mpeix*) COREFILE
=hpux-core.lo
;;
19103 hppa
*-*-bsd*) COREFILE
="hpux-core.lo hppabsd-core.lo"
19104 COREFLAG
="-DHPUX_CORE -DHPPABSD_CORE" ;;
19105 hppa
*-*-netbsd* | hppa
*-*-openbsd*)
19106 COREFILE
=netbsd-core.lo
19110 COREFILE
=trad-core.lo
19111 TRAD_HEADER
='"hosts/i370linux.h"'
19114 i
[3-7]86-sequent-bsd*)
19115 COREFILE
=trad-core.lo
19116 TRAD_HEADER
='"hosts/symmetry.h"'
19118 i
[3-7]86-sequent-sysv4*) ;;
19119 i
[3-7]86-sequent-sysv*)
19120 COREFILE
=trad-core.lo
19121 TRAD_HEADER
='"hosts/symmetry.h"'
19126 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
*)
19127 COREFILE
=trad-core.lo
19128 TRAD_HEADER
='"hosts/i386bsd.h"'
19130 i
[3-7]86-*-freebsd* | i
[3-7]86-*-kfreebsd*-gnu | i
[3-7]86-*-dragonfly*)
19132 TRAD_HEADER
='"hosts/i386bsd.h"'
19134 i
[3-7]86-*-netbsd* | i
[3-7]86-*-knetbsd*-gnu | i
[3-7]86-*-openbsd*)
19135 COREFILE
=netbsd-core.lo
19137 i
[3-7]86-esix-sysv3*)
19138 COREFILE
=trad-core.lo
19139 TRAD_HEADER
='"hosts/esix.h"'
19141 i
[3-7]86-*-sco3.2v5
*)
19142 COREFILE
=sco5-core.lo
19144 i
[3-7]86-*-sco* | i
[3-7]86-*-isc*)
19145 COREFILE
=trad-core.lo
19146 TRAD_HEADER
='"hosts/i386sco.h"'
19149 COREFILE
=trad-core.lo
19150 TRAD_HEADER
='"hosts/i386mach3.h"'
19152 i
[3-7]86-*-linux-*)
19153 COREFILE
=trad-core.lo
19154 TRAD_HEADER
='"hosts/i386linux.h"'
19156 i
[3-7]86-*-isc*) COREFILE
=trad-core.lo
;;
19157 i
[3-7]86-*-aix*) COREFILE
=aix386-core.lo
;;
19158 i860-
*-mach3* | i860-
*-osf1*)
19159 COREFILE
=trad-core.lo
19160 TRAD_HEADER
='"hosts/i860mach3.h"'
19162 mips-
*-netbsd* | mips
*-*-openbsd*)
19163 COREFILE
=netbsd-core.lo
19166 COREFILE
=trad-core.lo
19167 TRAD_HEADER
='"hosts/decstation.h"'
19169 mips-sgi-irix4
*) COREFILE
=irix-core.lo
;;
19170 mips-sgi-irix5
*) COREFILE
=irix-core.lo
;;
19171 mips-sgi-irix6
*) COREFILE
=irix-core.lo
;;
19173 mips-
*-sysv* | mips-
*-riscos*)
19174 COREFILE
=trad-core.lo
19175 TRAD_HEADER
='"hosts/riscos.h"'
19178 COREFILE
=trad-core.lo
19179 TRAD_HEADER
='"hosts/news-mips.h"'
19182 COREFILE
=trad-core.lo
19183 TRAD_HEADER
='"hosts/dpx2.h"'
19185 m68
*-hp-hpux*) COREFILE
=hpux-core.lo
;;
19187 COREFILE
=trad-core.lo
19188 TRAD_HEADER
='"hosts/hp300bsd.h"'
19191 COREFILE
=trad-core.lo
19192 TRAD_HEADER
='"hosts/m68klinux.h"'
19194 m68
*-motorola-sysv*)
19195 COREFILE
=trad-core.lo
19196 TRAD_HEADER
='"hosts/delta68.h"'
19199 COREFILE
=trad-core.lo
19200 TRAD_HEADER
='"hosts/news.h"'
19202 m68
*-*-netbsd* | m68
*-*-openbsd*)
19203 COREFILE
=netbsd-core.lo
19206 COREFILE
=trad-core.lo
19207 TRAD_HEADER
='"hosts/m68kaux.h"'
19211 m88
*-motorola-sysv*)
19212 COREFILE
=ptrace-core.lo
19215 COREFILE
=trad-core.lo
19216 TRAD_HEADER
='"hosts/m88kmach3.h"'
19219 COREFILE
=netbsd-core.lo
19222 COREFILE
=trad-core.lo
19223 TRAD_HEADER
='"hosts/pc532mach.h"'
19225 ns32k-
*-netbsd* | ns32k-
*-openbsd*)
19226 COREFILE
=netbsd-core.lo
19229 COREFILE
=lynx-core.lo
19231 rs6000-
*-aix[5-9].
* | powerpc-
*-aix[5-9].
*)
19232 COREFILE
=rs6000-core.lo
19233 COREFLAG
="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
19235 rs6000-
*-aix4.
[3-9]* | powerpc-
*-aix4.
[3-9]*)
19236 COREFILE
=rs6000-core.lo
19237 COREFLAG
="$COREFLAG -DAIX_CORE_DUMPX_CORE"
19238 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
19239 # have c_impl as a member of struct core_dumpx
19240 echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
19241 echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
19242 cat >conftest.
$ac_ext <<_ACEOF
19245 cat confdefs.h
>>conftest.
$ac_ext
19246 cat >>conftest.
$ac_ext <<_ACEOF
19247 /* end confdefs.h. */
19252 struct core_dumpx c; c.c_impl = 0;
19257 rm -f conftest.
$ac_objext
19258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19259 (eval $ac_compile) 2>conftest.er1
19261 grep -v '^ *+' conftest.er1
>conftest.err
19263 cat conftest.err
>&5
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); } &&
19266 { ac_try
='test -z "$ac_c_werror_flag"
19267 || test ! -s conftest.err'
19268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19269 (eval $ac_try) 2>&5
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); }; } &&
19273 { ac_try
='test -s conftest.$ac_objext'
19274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19275 (eval $ac_try) 2>&5
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); }; }; then
19280 cat >>confdefs.h
<<\_ACEOF
19281 #define HAVE_ST_C_IMPL 1
19284 echo "$as_me:$LINENO: result: yes" >&5
19285 echo "${ECHO_T}yes" >&6
19287 echo "$as_me: failed program was:" >&5
19288 sed 's/^/| /' conftest.
$ac_ext >&5
19290 echo "$as_me:$LINENO: result: no" >&5
19291 echo "${ECHO_T}no" >&6
19293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19295 rs6000-
*-aix4*) COREFILE
=rs6000-core.lo
;;
19296 rs6000-
*-*) COREFILE
=rs6000-core.lo
;;
19297 powerpc-
*-aix4*) COREFILE
=rs6000-core.lo
;;
19298 powerpc-
*-aix*) COREFILE
=rs6000-core.lo
;;
19299 powerpc-
*-beos*) ;;
19300 powerpc-
*-freebsd* | powerpc-
*-kfreebsd*-gnu)
19302 powerpc-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
19303 powerpc-
*-*bsd
*) COREFILE
=netbsd-core.lo
;;
19304 s390
*-*-*) COREFILE
=trad-core.lo
;;
19305 sh
*-*-netbsd* | sh
*-*-openbsd*)
19306 COREFILE
=netbsd-core.lo
19308 sparc-
*-netbsd* | sparc
*-*-openbsd*)
19309 COREFILE
=netbsd-core.lo
19312 COREFILE
=trad-core.lo
19313 TRAD_HEADER
='"hosts/tahoe.h"'
19315 vax-
*-netbsd* | vax-
*-openbsd*)
19316 COREFILE
=netbsd-core.lo
19319 COREFILE
=trad-core.lo
19320 TRAD_HEADER
='"hosts/vaxult2.h"'
19323 COREFILE
=trad-core.lo
19324 TRAD_HEADER
='"hosts/vaxult2.h"'
19327 COREFILE
=trad-core.lo
19328 TRAD_HEADER
='"hosts/vaxlinux.h"'
19331 COREFILE
=trad-core.lo
19332 TRAD_HEADER
='"hosts/vaxbsd.h"'
19334 x86_64-
*-netbsd* | x86_64-
*-openbsd*)
19335 COREFILE
=netbsd-core.lo
19339 case "$COREFILE" in
19340 aix386-core.lo
) COREFLAG
=-DAIX386_CORE ;;
19341 hppabsd-core.lo
) COREFLAG
=-DHPPABSD_CORE ;;
19342 hpux-core.lo
) COREFLAG
=-DHPUX_CORE ;;
19343 irix-core.lo
) COREFLAG
=-DIRIX_CORE ;;
19344 lynx-core.lo
) COREFLAG
=-DLYNX_CORE ;;
19345 netbsd-core.lo
) COREFLAG
=-DNETBSD_CORE ;;
19346 osf-core.lo
) COREFLAG
=-DOSF_CORE ;;
19347 ptrace-core.lo
) COREFLAG
=-DPTRACE_CORE ;;
19348 rs6000-core.lo
) COREFLAG
="$COREFLAG -DAIX_CORE" ;;
19349 sco5-core.lo
) COREFLAG
="$COREFLAG -DSCO5_CORE" ;;
19350 trad-core.lo
) COREFLAG
="$COREFLAG -DTRAD_CORE" ;;
19353 # ELF corefile support has several flavors, but all of
19354 # them use something called <sys/procfs.h>
19356 for ac_header
in sys
/procfs.h
19358 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19360 echo "$as_me:$LINENO: checking for $ac_header" >&5
19361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19363 echo $ECHO_N "(cached) $ECHO_C" >&6
19365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19368 # Is the header compilable?
19369 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19370 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19371 cat >conftest.
$ac_ext <<_ACEOF
19374 cat confdefs.h
>>conftest.
$ac_ext
19375 cat >>conftest.
$ac_ext <<_ACEOF
19376 /* end confdefs.h. */
19377 $ac_includes_default
19378 #include <$ac_header>
19380 rm -f conftest.
$ac_objext
19381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19382 (eval $ac_compile) 2>conftest.er1
19384 grep -v '^ *+' conftest.er1
>conftest.err
19386 cat conftest.err
>&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); } &&
19389 { ac_try
='test -z "$ac_c_werror_flag"
19390 || test ! -s conftest.err'
19391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19392 (eval $ac_try) 2>&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); }; } &&
19396 { ac_try
='test -s conftest.$ac_objext'
19397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19398 (eval $ac_try) 2>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); }; }; then
19402 ac_header_compiler
=yes
19404 echo "$as_me: failed program was:" >&5
19405 sed 's/^/| /' conftest.
$ac_ext >&5
19407 ac_header_compiler
=no
19409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19410 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19411 echo "${ECHO_T}$ac_header_compiler" >&6
19413 # Is the header present?
19414 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19415 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19416 cat >conftest.
$ac_ext <<_ACEOF
19419 cat confdefs.h
>>conftest.
$ac_ext
19420 cat >>conftest.
$ac_ext <<_ACEOF
19421 /* end confdefs.h. */
19422 #include <$ac_header>
19424 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19425 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19427 grep -v '^ *+' conftest.er1
>conftest.err
19429 cat conftest.err
>&5
19430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19431 (exit $ac_status); } >/dev
/null
; then
19432 if test -s conftest.err
; then
19433 ac_cpp_err
=$ac_c_preproc_warn_flag
19434 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19441 if test -z "$ac_cpp_err"; then
19442 ac_header_preproc
=yes
19444 echo "$as_me: failed program was:" >&5
19445 sed 's/^/| /' conftest.
$ac_ext >&5
19447 ac_header_preproc
=no
19449 rm -f conftest.err conftest.
$ac_ext
19450 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19451 echo "${ECHO_T}$ac_header_preproc" >&6
19453 # So? What about this header?
19454 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19456 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19457 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19459 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19460 ac_header_preproc
=yes
19463 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19464 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19465 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19466 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19467 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19468 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19469 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19470 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19472 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19473 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19474 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19477 ## ------------------------------------------ ##
19478 ## Report this to the AC_PACKAGE_NAME lists. ##
19479 ## ------------------------------------------ ##
19482 sed "s/^/$as_me: WARNING: /" >&2
19485 echo "$as_me:$LINENO: checking for $ac_header" >&5
19486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19488 echo $ECHO_N "(cached) $ECHO_C" >&6
19490 eval "$as_ac_Header=\$ac_header_preproc"
19492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19496 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19497 cat >>confdefs.h
<<_ACEOF
19498 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19505 if test "$ac_cv_header_sys_procfs_h" = yes; then
19506 echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
19507 echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
19508 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
19509 echo $ECHO_N "(cached) $ECHO_C" >&6
19511 cat >conftest.
$ac_ext <<_ACEOF
19514 cat confdefs.h
>>conftest.
$ac_ext
19515 cat >>conftest.
$ac_ext <<_ACEOF
19516 /* end confdefs.h. */
19519 #include <sys/procfs.h>
19528 rm -f conftest.
$ac_objext
19529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19530 (eval $ac_compile) 2>conftest.er1
19532 grep -v '^ *+' conftest.er1
>conftest.err
19534 cat conftest.err
>&5
19535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); } &&
19537 { ac_try
='test -z "$ac_c_werror_flag"
19538 || test ! -s conftest.err'
19539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19540 (eval $ac_try) 2>&5
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); }; } &&
19544 { ac_try
='test -s conftest.$ac_objext'
19545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19546 (eval $ac_try) 2>&5
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); }; }; then
19550 bfd_cv_have_sys_procfs_type_prstatus_t
=yes
19552 echo "$as_me: failed program was:" >&5
19553 sed 's/^/| /' conftest.
$ac_ext >&5
19555 bfd_cv_have_sys_procfs_type_prstatus_t
=no
19558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19561 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
19563 cat >>confdefs.h
<<\_ACEOF
19564 #define HAVE_PRSTATUS_T 1
19568 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
19569 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
19571 echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
19572 echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
19573 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
19574 echo $ECHO_N "(cached) $ECHO_C" >&6
19576 cat >conftest.
$ac_ext <<_ACEOF
19579 cat confdefs.h
>>conftest.
$ac_ext
19580 cat >>conftest.
$ac_ext <<_ACEOF
19581 /* end confdefs.h. */
19584 #include <sys/procfs.h>
19593 rm -f conftest.
$ac_objext
19594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19595 (eval $ac_compile) 2>conftest.er1
19597 grep -v '^ *+' conftest.er1
>conftest.err
19599 cat conftest.err
>&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); } &&
19602 { ac_try
='test -z "$ac_c_werror_flag"
19603 || test ! -s conftest.err'
19604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19605 (eval $ac_try) 2>&5
19607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608 (exit $ac_status); }; } &&
19609 { ac_try
='test -s conftest.$ac_objext'
19610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19611 (eval $ac_try) 2>&5
19613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614 (exit $ac_status); }; }; then
19615 bfd_cv_have_sys_procfs_type_prstatus32_t
=yes
19617 echo "$as_me: failed program was:" >&5
19618 sed 's/^/| /' conftest.
$ac_ext >&5
19620 bfd_cv_have_sys_procfs_type_prstatus32_t
=no
19623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19626 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
19628 cat >>confdefs.h
<<\_ACEOF
19629 #define HAVE_PRSTATUS32_T 1
19633 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
19634 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
19636 echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
19637 echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
19638 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
19639 echo $ECHO_N "(cached) $ECHO_C" >&6
19641 cat >conftest.
$ac_ext <<_ACEOF
19644 cat confdefs.h
>>conftest.
$ac_ext
19645 cat >>conftest.
$ac_ext <<_ACEOF
19646 /* end confdefs.h. */
19649 #include <sys/procfs.h>
19653 prstatus_t avar; void* aref = (void*) &avar.pr_who
19658 rm -f conftest.
$ac_objext
19659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19660 (eval $ac_compile) 2>conftest.er1
19662 grep -v '^ *+' conftest.er1
>conftest.err
19664 cat conftest.err
>&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); } &&
19667 { ac_try
='test -z "$ac_c_werror_flag"
19668 || test ! -s conftest.err'
19669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19670 (eval $ac_try) 2>&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); }; } &&
19674 { ac_try
='test -s conftest.$ac_objext'
19675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19676 (eval $ac_try) 2>&5
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); }; }; then
19680 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=yes
19682 echo "$as_me: failed program was:" >&5
19683 sed 's/^/| /' conftest.
$ac_ext >&5
19685 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=no
19688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19691 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
19693 cat >>confdefs.h
<<\_ACEOF
19694 #define HAVE_PRSTATUS_T_PR_WHO 1
19698 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
19699 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
19701 echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
19702 echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
19703 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
19704 echo $ECHO_N "(cached) $ECHO_C" >&6
19706 cat >conftest.
$ac_ext <<_ACEOF
19709 cat confdefs.h
>>conftest.
$ac_ext
19710 cat >>conftest.
$ac_ext <<_ACEOF
19711 /* end confdefs.h. */
19714 #include <sys/procfs.h>
19718 prstatus32_t avar; void* aref = (void*) &avar.pr_who
19723 rm -f conftest.
$ac_objext
19724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19725 (eval $ac_compile) 2>conftest.er1
19727 grep -v '^ *+' conftest.er1
>conftest.err
19729 cat conftest.err
>&5
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); } &&
19732 { ac_try
='test -z "$ac_c_werror_flag"
19733 || test ! -s conftest.err'
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); }; } &&
19739 { ac_try
='test -s conftest.$ac_objext'
19740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19741 (eval $ac_try) 2>&5
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); }; }; then
19745 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=yes
19747 echo "$as_me: failed program was:" >&5
19748 sed 's/^/| /' conftest.
$ac_ext >&5
19750 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=no
19753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19756 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
19758 cat >>confdefs.h
<<\_ACEOF
19759 #define HAVE_PRSTATUS32_T_PR_WHO 1
19763 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
19764 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
19766 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
19767 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
19768 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
19769 echo $ECHO_N "(cached) $ECHO_C" >&6
19771 cat >conftest.
$ac_ext <<_ACEOF
19774 cat confdefs.h
>>conftest.
$ac_ext
19775 cat >>conftest.
$ac_ext <<_ACEOF
19776 /* end confdefs.h. */
19779 #include <sys/procfs.h>
19788 rm -f conftest.
$ac_objext
19789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19790 (eval $ac_compile) 2>conftest.er1
19792 grep -v '^ *+' conftest.er1
>conftest.err
19794 cat conftest.err
>&5
19795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19796 (exit $ac_status); } &&
19797 { ac_try
='test -z "$ac_c_werror_flag"
19798 || test ! -s conftest.err'
19799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19800 (eval $ac_try) 2>&5
19802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19803 (exit $ac_status); }; } &&
19804 { ac_try
='test -s conftest.$ac_objext'
19805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19806 (eval $ac_try) 2>&5
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); }; }; then
19810 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
19812 echo "$as_me: failed program was:" >&5
19813 sed 's/^/| /' conftest.
$ac_ext >&5
19815 bfd_cv_have_sys_procfs_type_pstatus_t
=no
19818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19821 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
19823 cat >>confdefs.h
<<\_ACEOF
19824 #define HAVE_PSTATUS_T 1
19828 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
19829 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
19831 echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
19832 echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
19833 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
19834 echo $ECHO_N "(cached) $ECHO_C" >&6
19836 cat >conftest.
$ac_ext <<_ACEOF
19839 cat confdefs.h
>>conftest.
$ac_ext
19840 cat >>conftest.
$ac_ext <<_ACEOF
19841 /* end confdefs.h. */
19844 #include <sys/procfs.h>
19853 rm -f conftest.
$ac_objext
19854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19855 (eval $ac_compile) 2>conftest.er1
19857 grep -v '^ *+' conftest.er1
>conftest.err
19859 cat conftest.err
>&5
19860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19861 (exit $ac_status); } &&
19862 { ac_try
='test -z "$ac_c_werror_flag"
19863 || test ! -s conftest.err'
19864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19865 (eval $ac_try) 2>&5
19867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19868 (exit $ac_status); }; } &&
19869 { ac_try
='test -s conftest.$ac_objext'
19870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19871 (eval $ac_try) 2>&5
19873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874 (exit $ac_status); }; }; then
19875 bfd_cv_have_sys_procfs_type_pxstatus_t
=yes
19877 echo "$as_me: failed program was:" >&5
19878 sed 's/^/| /' conftest.
$ac_ext >&5
19880 bfd_cv_have_sys_procfs_type_pxstatus_t
=no
19883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19886 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
19888 cat >>confdefs.h
<<\_ACEOF
19889 #define HAVE_PXSTATUS_T 1
19893 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
19894 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
19896 echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
19897 echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
19898 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
19899 echo $ECHO_N "(cached) $ECHO_C" >&6
19901 cat >conftest.
$ac_ext <<_ACEOF
19904 cat confdefs.h
>>conftest.
$ac_ext
19905 cat >>conftest.
$ac_ext <<_ACEOF
19906 /* end confdefs.h. */
19909 #include <sys/procfs.h>
19918 rm -f conftest.
$ac_objext
19919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19920 (eval $ac_compile) 2>conftest.er1
19922 grep -v '^ *+' conftest.er1
>conftest.err
19924 cat conftest.err
>&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); } &&
19927 { ac_try
='test -z "$ac_c_werror_flag"
19928 || test ! -s conftest.err'
19929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19930 (eval $ac_try) 2>&5
19932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19933 (exit $ac_status); }; } &&
19934 { ac_try
='test -s conftest.$ac_objext'
19935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19936 (eval $ac_try) 2>&5
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); }; }; then
19940 bfd_cv_have_sys_procfs_type_pstatus32_t
=yes
19942 echo "$as_me: failed program was:" >&5
19943 sed 's/^/| /' conftest.
$ac_ext >&5
19945 bfd_cv_have_sys_procfs_type_pstatus32_t
=no
19948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19951 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
19953 cat >>confdefs.h
<<\_ACEOF
19954 #define HAVE_PSTATUS32_T 1
19958 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
19959 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
19961 echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
19962 echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
19963 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
19964 echo $ECHO_N "(cached) $ECHO_C" >&6
19966 cat >conftest.
$ac_ext <<_ACEOF
19969 cat confdefs.h
>>conftest.
$ac_ext
19970 cat >>conftest.
$ac_ext <<_ACEOF
19971 /* end confdefs.h. */
19974 #include <sys/procfs.h>
19983 rm -f conftest.
$ac_objext
19984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19985 (eval $ac_compile) 2>conftest.er1
19987 grep -v '^ *+' conftest.er1
>conftest.err
19989 cat conftest.err
>&5
19990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); } &&
19992 { ac_try
='test -z "$ac_c_werror_flag"
19993 || test ! -s conftest.err'
19994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19995 (eval $ac_try) 2>&5
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); }; } &&
19999 { ac_try
='test -s conftest.$ac_objext'
20000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20001 (eval $ac_try) 2>&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); }; }; then
20005 bfd_cv_have_sys_procfs_type_prpsinfo_t
=yes
20007 echo "$as_me: failed program was:" >&5
20008 sed 's/^/| /' conftest.
$ac_ext >&5
20010 bfd_cv_have_sys_procfs_type_prpsinfo_t
=no
20013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20016 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
20018 cat >>confdefs.h
<<\_ACEOF
20019 #define HAVE_PRPSINFO_T 1
20023 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
20024 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
20026 echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
20027 echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
20028 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
20029 echo $ECHO_N "(cached) $ECHO_C" >&6
20031 cat >conftest.
$ac_ext <<_ACEOF
20034 cat confdefs.h
>>conftest.
$ac_ext
20035 cat >>conftest.
$ac_ext <<_ACEOF
20036 /* end confdefs.h. */
20039 #include <sys/procfs.h>
20048 rm -f conftest.
$ac_objext
20049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20050 (eval $ac_compile) 2>conftest.er1
20052 grep -v '^ *+' conftest.er1
>conftest.err
20054 cat conftest.err
>&5
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); } &&
20057 { ac_try
='test -z "$ac_c_werror_flag"
20058 || test ! -s conftest.err'
20059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20060 (eval $ac_try) 2>&5
20062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20063 (exit $ac_status); }; } &&
20064 { ac_try
='test -s conftest.$ac_objext'
20065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20066 (eval $ac_try) 2>&5
20068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20069 (exit $ac_status); }; }; then
20070 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=yes
20072 echo "$as_me: failed program was:" >&5
20073 sed 's/^/| /' conftest.
$ac_ext >&5
20075 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=no
20078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20081 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
20083 cat >>confdefs.h
<<\_ACEOF
20084 #define HAVE_PRPSINFO32_T 1
20088 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
20089 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
20091 echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
20092 echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
20093 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
20094 echo $ECHO_N "(cached) $ECHO_C" >&6
20096 cat >conftest.
$ac_ext <<_ACEOF
20099 cat confdefs.h
>>conftest.
$ac_ext
20100 cat >>conftest.
$ac_ext <<_ACEOF
20101 /* end confdefs.h. */
20104 #include <sys/procfs.h>
20113 rm -f conftest.
$ac_objext
20114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20115 (eval $ac_compile) 2>conftest.er1
20117 grep -v '^ *+' conftest.er1
>conftest.err
20119 cat conftest.err
>&5
20120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20121 (exit $ac_status); } &&
20122 { ac_try
='test -z "$ac_c_werror_flag"
20123 || test ! -s conftest.err'
20124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20125 (eval $ac_try) 2>&5
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); }; } &&
20129 { ac_try
='test -s conftest.$ac_objext'
20130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20131 (eval $ac_try) 2>&5
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); }; }; then
20135 bfd_cv_have_sys_procfs_type_psinfo_t
=yes
20137 echo "$as_me: failed program was:" >&5
20138 sed 's/^/| /' conftest.
$ac_ext >&5
20140 bfd_cv_have_sys_procfs_type_psinfo_t
=no
20143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20146 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
20148 cat >>confdefs.h
<<\_ACEOF
20149 #define HAVE_PSINFO_T 1
20153 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
20154 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
20156 echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
20157 echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
20158 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
20159 echo $ECHO_N "(cached) $ECHO_C" >&6
20161 cat >conftest.
$ac_ext <<_ACEOF
20164 cat confdefs.h
>>conftest.
$ac_ext
20165 cat >>conftest.
$ac_ext <<_ACEOF
20166 /* end confdefs.h. */
20169 #include <sys/procfs.h>
20178 rm -f conftest.
$ac_objext
20179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20180 (eval $ac_compile) 2>conftest.er1
20182 grep -v '^ *+' conftest.er1
>conftest.err
20184 cat conftest.err
>&5
20185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186 (exit $ac_status); } &&
20187 { ac_try
='test -z "$ac_c_werror_flag"
20188 || test ! -s conftest.err'
20189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20190 (eval $ac_try) 2>&5
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); }; } &&
20194 { ac_try
='test -s conftest.$ac_objext'
20195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20196 (eval $ac_try) 2>&5
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); }; }; then
20200 bfd_cv_have_sys_procfs_type_psinfo32_t
=yes
20202 echo "$as_me: failed program was:" >&5
20203 sed 's/^/| /' conftest.
$ac_ext >&5
20205 bfd_cv_have_sys_procfs_type_psinfo32_t
=no
20208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20211 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
20213 cat >>confdefs.h
<<\_ACEOF
20214 #define HAVE_PSINFO32_T 1
20218 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
20219 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
20221 echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
20222 echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
20223 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
20224 echo $ECHO_N "(cached) $ECHO_C" >&6
20226 cat >conftest.
$ac_ext <<_ACEOF
20229 cat confdefs.h
>>conftest.
$ac_ext
20230 cat >>conftest.
$ac_ext <<_ACEOF
20231 /* end confdefs.h. */
20234 #include <sys/procfs.h>
20243 rm -f conftest.
$ac_objext
20244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20245 (eval $ac_compile) 2>conftest.er1
20247 grep -v '^ *+' conftest.er1
>conftest.err
20249 cat conftest.err
>&5
20250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20251 (exit $ac_status); } &&
20252 { ac_try
='test -z "$ac_c_werror_flag"
20253 || test ! -s conftest.err'
20254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20255 (eval $ac_try) 2>&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); }; } &&
20259 { ac_try
='test -s conftest.$ac_objext'
20260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20261 (eval $ac_try) 2>&5
20263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264 (exit $ac_status); }; }; then
20265 bfd_cv_have_sys_procfs_type_lwpstatus_t
=yes
20267 echo "$as_me: failed program was:" >&5
20268 sed 's/^/| /' conftest.
$ac_ext >&5
20270 bfd_cv_have_sys_procfs_type_lwpstatus_t
=no
20273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20276 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
20278 cat >>confdefs.h
<<\_ACEOF
20279 #define HAVE_LWPSTATUS_T 1
20283 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
20284 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
20286 echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
20287 echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
20288 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
20289 echo $ECHO_N "(cached) $ECHO_C" >&6
20291 cat >conftest.
$ac_ext <<_ACEOF
20294 cat confdefs.h
>>conftest.
$ac_ext
20295 cat >>conftest.
$ac_ext <<_ACEOF
20296 /* end confdefs.h. */
20299 #include <sys/procfs.h>
20308 rm -f conftest.
$ac_objext
20309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20310 (eval $ac_compile) 2>conftest.er1
20312 grep -v '^ *+' conftest.er1
>conftest.err
20314 cat conftest.err
>&5
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); } &&
20317 { ac_try
='test -z "$ac_c_werror_flag"
20318 || test ! -s conftest.err'
20319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20320 (eval $ac_try) 2>&5
20322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323 (exit $ac_status); }; } &&
20324 { ac_try
='test -s conftest.$ac_objext'
20325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20326 (eval $ac_try) 2>&5
20328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329 (exit $ac_status); }; }; then
20330 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=yes
20332 echo "$as_me: failed program was:" >&5
20333 sed 's/^/| /' conftest.
$ac_ext >&5
20335 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=no
20338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20341 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
20343 cat >>confdefs.h
<<\_ACEOF
20344 #define HAVE_LWPXSTATUS_T 1
20348 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
20349 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
20351 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
20352 echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
20353 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
20354 echo $ECHO_N "(cached) $ECHO_C" >&6
20356 cat >conftest.
$ac_ext <<_ACEOF
20359 cat confdefs.h
>>conftest.
$ac_ext
20360 cat >>conftest.
$ac_ext <<_ACEOF
20361 /* end confdefs.h. */
20364 #include <sys/procfs.h>
20368 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
20373 rm -f conftest.
$ac_objext
20374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20375 (eval $ac_compile) 2>conftest.er1
20377 grep -v '^ *+' conftest.er1
>conftest.err
20379 cat conftest.err
>&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); } &&
20382 { ac_try
='test -z "$ac_c_werror_flag"
20383 || test ! -s conftest.err'
20384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20385 (eval $ac_try) 2>&5
20387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20388 (exit $ac_status); }; } &&
20389 { ac_try
='test -s conftest.$ac_objext'
20390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20391 (eval $ac_try) 2>&5
20393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20394 (exit $ac_status); }; }; then
20395 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=yes
20397 echo "$as_me: failed program was:" >&5
20398 sed 's/^/| /' conftest.
$ac_ext >&5
20400 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=no
20403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20406 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
20408 cat >>confdefs.h
<<\_ACEOF
20409 #define HAVE_LWPSTATUS_T_PR_CONTEXT 1
20413 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
20414 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
20416 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
20417 echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
20418 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
20419 echo $ECHO_N "(cached) $ECHO_C" >&6
20421 cat >conftest.
$ac_ext <<_ACEOF
20424 cat confdefs.h
>>conftest.
$ac_ext
20425 cat >>conftest.
$ac_ext <<_ACEOF
20426 /* end confdefs.h. */
20429 #include <sys/procfs.h>
20433 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
20438 rm -f conftest.
$ac_objext
20439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20440 (eval $ac_compile) 2>conftest.er1
20442 grep -v '^ *+' conftest.er1
>conftest.err
20444 cat conftest.err
>&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); } &&
20447 { ac_try
='test -z "$ac_c_werror_flag"
20448 || test ! -s conftest.err'
20449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20450 (eval $ac_try) 2>&5
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); }; } &&
20454 { ac_try
='test -s conftest.$ac_objext'
20455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20456 (eval $ac_try) 2>&5
20458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20459 (exit $ac_status); }; }; then
20460 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=yes
20462 echo "$as_me: failed program was:" >&5
20463 sed 's/^/| /' conftest.
$ac_ext >&5
20465 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=no
20468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20471 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
20473 cat >>confdefs.h
<<\_ACEOF
20474 #define HAVE_LWPSTATUS_T_PR_REG 1
20478 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
20479 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
20481 echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
20482 echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
20483 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
20484 echo $ECHO_N "(cached) $ECHO_C" >&6
20486 cat >conftest.
$ac_ext <<_ACEOF
20489 cat confdefs.h
>>conftest.
$ac_ext
20490 cat >>conftest.
$ac_ext <<_ACEOF
20491 /* end confdefs.h. */
20494 #include <sys/procfs.h>
20498 win32_pstatus_t avar
20503 rm -f conftest.
$ac_objext
20504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20505 (eval $ac_compile) 2>conftest.er1
20507 grep -v '^ *+' conftest.er1
>conftest.err
20509 cat conftest.err
>&5
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); } &&
20512 { ac_try
='test -z "$ac_c_werror_flag"
20513 || test ! -s conftest.err'
20514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20515 (eval $ac_try) 2>&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); }; } &&
20519 { ac_try
='test -s conftest.$ac_objext'
20520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20521 (eval $ac_try) 2>&5
20523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20524 (exit $ac_status); }; }; then
20525 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=yes
20527 echo "$as_me: failed program was:" >&5
20528 sed 's/^/| /' conftest.
$ac_ext >&5
20530 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=no
20533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20536 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
20538 cat >>confdefs.h
<<\_ACEOF
20539 #define HAVE_WIN32_PSTATUS_T 1
20543 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
20544 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
20550 if test -n "$TRAD_HEADER"; then
20552 cat >>confdefs.h
<<_ACEOF
20553 #define TRAD_HEADER $TRAD_HEADER
20558 # Check if linker supports --as-needed and --no-as-needed options
20559 echo "$as_me:$LINENO: checking linker --as-needed support" >&5
20560 echo $ECHO_N "checking linker --as-needed support... $ECHO_C" >&6
20561 if test "${bfd_cv_ld_as_needed+set}" = set; then
20562 echo $ECHO_N "(cached) $ECHO_C" >&6
20564 bfd_cv_ld_as_needed
=no
20565 if $LD --help 2>/dev
/null |
grep as-needed
> /dev
/null
; then
20566 bfd_cv_ld_as_needed
=yes
20570 echo "$as_me:$LINENO: result: $bfd_cv_ld_as_needed" >&5
20571 echo "${ECHO_T}$bfd_cv_ld_as_needed" >&6
20575 *-*-beos* |
*-*-cygwin* |
*-*-pw32* |
*-*-darwin*)
20576 # These system don't have libm, or don't need it
20579 echo "$as_me:$LINENO: checking for _mwvalidcheckl in -lmw" >&5
20580 echo $ECHO_N "checking for _mwvalidcheckl in -lmw... $ECHO_C" >&6
20581 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then
20582 echo $ECHO_N "(cached) $ECHO_C" >&6
20584 ac_check_lib_save_LIBS
=$LIBS
20586 cat >conftest.
$ac_ext <<_ACEOF
20589 cat confdefs.h
>>conftest.
$ac_ext
20590 cat >>conftest.
$ac_ext <<_ACEOF
20591 /* end confdefs.h. */
20593 /* Override any gcc2 internal prototype to avoid an error. */
20597 /* We use char because int might match the return type of a gcc2
20598 builtin and then its argument prototype would still apply. */
20599 char _mwvalidcheckl ();
20608 rm -f conftest.
$ac_objext conftest
$ac_exeext
20609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20610 (eval $ac_link) 2>conftest.er1
20612 grep -v '^ *+' conftest.er1
>conftest.err
20614 cat conftest.err
>&5
20615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20616 (exit $ac_status); } &&
20617 { ac_try
='test -z "$ac_c_werror_flag"
20618 || test ! -s conftest.err'
20619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20620 (eval $ac_try) 2>&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); }; } &&
20624 { ac_try
='test -s conftest$ac_exeext'
20625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626 (eval $ac_try) 2>&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); }; }; then
20630 ac_cv_lib_mw__mwvalidcheckl
=yes
20632 echo "$as_me: failed program was:" >&5
20633 sed 's/^/| /' conftest.
$ac_ext >&5
20635 ac_cv_lib_mw__mwvalidcheckl
=no
20637 rm -f conftest.err conftest.
$ac_objext \
20638 conftest
$ac_exeext conftest.
$ac_ext
20639 LIBS
=$ac_check_lib_save_LIBS
20641 echo "$as_me:$LINENO: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
20642 echo "${ECHO_T}$ac_cv_lib_mw__mwvalidcheckl" >&6
20643 if test $ac_cv_lib_mw__mwvalidcheckl = yes; then
20647 echo "$as_me:$LINENO: checking for cos in -lm" >&5
20648 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
20649 if test "${ac_cv_lib_m_cos+set}" = set; then
20650 echo $ECHO_N "(cached) $ECHO_C" >&6
20652 ac_check_lib_save_LIBS
=$LIBS
20654 cat >conftest.
$ac_ext <<_ACEOF
20657 cat confdefs.h
>>conftest.
$ac_ext
20658 cat >>conftest.
$ac_ext <<_ACEOF
20659 /* end confdefs.h. */
20661 /* Override any gcc2 internal prototype to avoid an error. */
20665 /* We use char because int might match the return type of a gcc2
20666 builtin and then its argument prototype would still apply. */
20676 rm -f conftest.
$ac_objext conftest
$ac_exeext
20677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20678 (eval $ac_link) 2>conftest.er1
20680 grep -v '^ *+' conftest.er1
>conftest.err
20682 cat conftest.err
>&5
20683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684 (exit $ac_status); } &&
20685 { ac_try
='test -z "$ac_c_werror_flag"
20686 || test ! -s conftest.err'
20687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20688 (eval $ac_try) 2>&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); }; } &&
20692 { ac_try
='test -s conftest$ac_exeext'
20693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20694 (eval $ac_try) 2>&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); }; }; then
20698 ac_cv_lib_m_cos
=yes
20700 echo "$as_me: failed program was:" >&5
20701 sed 's/^/| /' conftest.
$ac_ext >&5
20705 rm -f conftest.err conftest.
$ac_objext \
20706 conftest
$ac_exeext conftest.
$ac_ext
20707 LIBS
=$ac_check_lib_save_LIBS
20709 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
20710 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
20711 if test $ac_cv_lib_m_cos = yes; then
20717 echo "$as_me:$LINENO: checking for cos in -lm" >&5
20718 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
20719 if test "${ac_cv_lib_m_cos+set}" = set; then
20720 echo $ECHO_N "(cached) $ECHO_C" >&6
20722 ac_check_lib_save_LIBS
=$LIBS
20724 cat >conftest.
$ac_ext <<_ACEOF
20727 cat confdefs.h
>>conftest.
$ac_ext
20728 cat >>conftest.
$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20731 /* Override any gcc2 internal prototype to avoid an error. */
20735 /* We use char because int might match the return type of a gcc2
20736 builtin and then its argument prototype would still apply. */
20746 rm -f conftest.
$ac_objext conftest
$ac_exeext
20747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20748 (eval $ac_link) 2>conftest.er1
20750 grep -v '^ *+' conftest.er1
>conftest.err
20752 cat conftest.err
>&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); } &&
20755 { ac_try
='test -z "$ac_c_werror_flag"
20756 || test ! -s conftest.err'
20757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20758 (eval $ac_try) 2>&5
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); }; } &&
20762 { ac_try
='test -s conftest$ac_exeext'
20763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20764 (eval $ac_try) 2>&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); }; }; then
20768 ac_cv_lib_m_cos
=yes
20770 echo "$as_me: failed program was:" >&5
20771 sed 's/^/| /' conftest.
$ac_ext >&5
20775 rm -f conftest.err conftest.
$ac_objext \
20776 conftest
$ac_exeext conftest.
$ac_ext
20777 LIBS
=$ac_check_lib_save_LIBS
20779 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
20780 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
20781 if test $ac_cv_lib_m_cos = yes; then
20790 # When building a shared libbfd, link against the pic version of libiberty
20791 # so that apps that use libbfd won't need libiberty just to satisfy any
20792 # libbfd references.
20793 # We can't do that if a pic libiberty is unavailable since including non-pic
20794 # code would insert text relocations into libbfd.
20797 if test "$enable_shared" = "yes"; then
20798 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
20799 if test -n "$x"; then
20800 SHARED_LIBADD
="-L`pwd`/../libiberty/pic -liberty"
20803 # More hacks to build DLLs on Windows.
20806 SHARED_LDFLAGS
="-no-undefined"
20807 SHARED_LIBADD
="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
20811 if test -n "$SHARED_LIBADD"; then
20812 if test -n "$LIBM"; then
20813 if test x
"$bfd_cv_ld_as_needed" = xyes
; then
20814 # Link against libm only when needed. Put -lc, -lm inside -Wl
20815 # to stop libtool reordering these options.
20816 SHARED_LIBADD
="$SHARED_LIBADD -Wl,-lc,--as-needed,`echo $LIBM | sed 's/ /,/g'`,--no-as-needed"
20818 SHARED_LIBADD
="$SHARED_LIBADD $LIBM"
20828 # Canonicalize the secondary target names.
20829 if test -n "$enable_targets" ; then
20830 for targ
in `echo $enable_targets | sed 's/,/ /g'`
20832 result
=`$ac_config_sub $targ 2>/dev/null`
20833 if test -n "$result" ; then
20834 canon_targets
="$canon_targets $result"
20836 # Allow targets that config.sub doesn't recognize, like "all".
20837 canon_targets
="$canon_targets $targ"
20848 for targ
in $target $canon_targets
20850 if test "x$targ" = "xall"; then
20852 assocvecs
="$assocvecs $targ_defvec $targ_selvecs"
20854 .
$srcdir/config.bfd
20855 if test "x$targ" = "x$target"; then
20856 defvec
=$targ_defvec
20858 selvecs
="$selvecs $targ_defvec $targ_selvecs"
20859 selarchs
="$selarchs $targ_archs"
20860 TDEFINES
="$TDEFINES $targ_cflags"
20865 # This processing still needs to be done if we're to decide properly whether
20866 # 64-bit support needs to be compiled in. Currently, it will be included if
20867 # the default or any other explicitly requested target requires it; it
20868 # will not be included on a 32-bit host if no 64-bit target is requested, and
20869 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
20872 # uniq the default and selected vectors in all the configured targets.
20874 for i
in $selvecs ; do
20883 # uniq the associated vectors in all the configured targets.
20885 for i
in $assocvecs ; do
20894 # uniq the architectures in all the configured targets.
20896 for i
in $selarchs ; do
20904 # Target backend .o files.
20907 elf
="elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
20909 for vec
in $selvecs
20913 # This list is alphabetized to make it easy to compare
20914 # with the two vector lists in targets.c. For the same reason,
20915 # use one entry per line, even though this leads to long lines.
20916 a_out_adobe_vec
) tb
="$tb aout-adobe.lo aout32.lo" ;;
20917 aix5coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
20918 aout0_big_vec
) tb
="$tb aout0.lo aout32.lo" ;;
20919 aout_arm_big_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
20920 aout_arm_little_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
20921 apollocoff_vec
) tb
="$tb coff-apollo.lo" ;;
20922 arm_epoc_pe_big_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
20923 arm_epoc_pe_little_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
20924 arm_epoc_pei_big_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
20925 arm_epoc_pei_little_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
20926 arm_wince_pe_big_vec
) tb
="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
20927 arm_wince_pe_little_vec
) tb
="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
20928 arm_wince_pei_big_vec
) tb
="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
20929 arm_wince_pei_little_vec
) tb
="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
20930 armcoff_big_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
20931 armcoff_little_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
20932 armnetbsd_vec
) tb
="$tb armnetbsd.lo aout32.lo" ;;
20933 armpe_big_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
20934 armpe_little_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
20935 armpei_big_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
20936 armpei_little_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
20937 b_out_vec_big_host
) tb
="$tb bout.lo aout32.lo" ;;
20938 b_out_vec_little_host
) tb
="$tb bout.lo aout32.lo" ;;
20939 bfd_pei_ia64_vec
) tb
="$tb pei-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
20940 bfd_elf32_am33lin_vec
) tb
="$tb elf32-am33lin.lo elf32.lo $elf" ;;
20941 bfd_elf32_avr_vec
) tb
="$tb elf32-avr.lo elf32.lo $elf" ;;
20942 bfd_elf32_bfin_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
20943 bfd_elf32_bfinfdpic_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
20944 bfd_elf32_big_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
20945 bfd_elf32_bigarc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
20946 bfd_elf32_bigarm_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
20947 bfd_elf32_bigarm_symbian_vec
)
20948 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
20949 bfd_elf32_bigarm_vxworks_vec
)
20950 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
20951 bfd_elf32_bigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
20952 bfd_elf32_bigmips_vxworks_vec
)
20953 tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
20954 bfd_elf32_cr16_vec
) tb
="$tb elf32-cr16.lo elf32.lo $elf" ;;
20955 bfd_elf32_cr16c_vec
) tb
="$tb elf32-cr16c.lo elf32.lo $elf" ;;
20956 bfd_elf32_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
20957 bfd_elf32_crx_vec
) tb
="$tb elf32-crx.lo elf32.lo $elf" ;;
20958 bfd_elf32_d10v_vec
) tb
="$tb elf32-d10v.lo elf32.lo $elf" ;;
20959 bfd_elf32_d30v_vec
) tb
="$tb elf32-d30v.lo elf32.lo $elf" ;;
20960 bfd_elf32_dlx_big_vec
) tb
="$tb elf32-dlx.lo elf32.lo $elf" ;;
20961 bfd_elf32_fr30_vec
) tb
="$tb elf32-fr30.lo elf32.lo $elf" ;;
20962 bfd_elf32_frv_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
20963 bfd_elf32_frvfdpic_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
20964 bfd_elf32_moxie_vec
) tb
="$tb elf32-moxie.lo elf32.lo $elf" ;;
20965 bfd_elf32_h8300_vec
) tb
="$tb elf32-h8300.lo elf32.lo $elf" ;;
20966 bfd_elf32_hppa_linux_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
20967 bfd_elf32_hppa_nbsd_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
20968 bfd_elf32_hppa_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
20969 bfd_elf32_i370_vec
) tb
="$tb elf32-i370.lo elf32.lo $elf" ;;
20970 bfd_elf32_i386_dragonfly_vec
)
20971 tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
20972 bfd_elf32_i386_freebsd_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
20973 bfd_elf32_i386_vxworks_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
20974 bfd_elf32_i386_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
20975 bfd_elf32_i860_little_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
20976 bfd_elf32_i860_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
20977 bfd_elf32_i960_vec
) tb
="$tb elf32-i960.lo elf32.lo $elf" ;;
20978 bfd_elf32_ia64_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf" ;;
20979 bfd_elf32_ia64_hpux_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf";;
20980 bfd_elf32_ip2k_vec
) tb
="$tb elf32-ip2k.lo elf32.lo $elf" ;;
20981 bfd_elf32_iq2000_vec
) tb
="$tb elf32-iq2000.lo elf32.lo $elf" ;;
20982 bfd_elf32_lm32_vec
) tb
="$tb elf32-lm32.lo elf32.lo $elf" ;;
20983 bfd_elf32_lm32fdpic_vec
) tb
="$tb elf32-lm32.lo elf32.lo $elf" ;;
20984 bfd_elf32_little_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
20985 bfd_elf32_littlearc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
20986 bfd_elf32_littlearm_symbian_vec
)
20987 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
20988 bfd_elf32_littlearm_vxworks_vec
)
20989 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
20990 bfd_elf32_littlearm_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
20991 bfd_elf32_littlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
20992 bfd_elf32_littlemips_vxworks_vec
)
20993 tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
20994 bfd_elf32_m32c_vec
) tb
="$tb elf32-m32c.lo elf32.lo $elf" ;;
20995 bfd_elf32_m32r_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
20996 bfd_elf32_m32rle_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
20997 bfd_elf32_m32rlin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
20998 bfd_elf32_m32rlelin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
20999 bfd_elf32_m68hc11_vec
) tb
="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
21000 bfd_elf32_m68hc12_vec
) tb
="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
21001 bfd_elf32_m68k_vec
) tb
="$tb elf32-m68k.lo elf32.lo $elf" ;;
21002 bfd_elf32_m88k_vec
) tb
="$tb elf32-m88k.lo elf32.lo $elf" ;;
21003 bfd_elf32_mcore_big_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
21004 bfd_elf32_mcore_little_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
21005 bfd_elf32_mep_vec
) tb
="$tb elf32-mep.lo elf32.lo $elf" ;;
21006 bfd_elf32_mep_little_vec
) tb
="$tb elf32-mep.lo elf32.lo $elf" ;;
21007 bfd_elf32_mn10200_vec
) tb
="$tb elf-m10200.lo elf32.lo $elf" ;;
21008 bfd_elf32_mn10300_vec
) tb
="$tb elf-m10300.lo elf32.lo $elf" ;;
21009 bfd_elf32_mt_vec
) tb
="$tb elf32-mt.lo elf32.lo $elf" ;;
21010 bfd_elf32_msp430_vec
) tb
="$tb elf32-msp430.lo elf32.lo $elf" ;;
21011 bfd_elf32_nbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
21012 bfd_elf32_nlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
21013 bfd_elf32_ntradbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
21014 bfd_elf32_ntradlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
21015 bfd_elf32_openrisc_vec
) tb
="$tb elf32-openrisc.lo elf32.lo $elf" ;;
21016 bfd_elf32_or32_big_vec
) tb
="$tb elf32-or32.lo elf32.lo $elf" ;;
21017 bfd_elf32_pj_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
21018 bfd_elf32_pjl_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
21019 bfd_elf32_powerpc_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
21020 bfd_elf32_powerpcle_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
21021 bfd_elf32_powerpc_vxworks_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
21022 bfd_elf32_s390_vec
) tb
="$tb elf32-s390.lo elf32.lo $elf" ;;
21023 bfd_elf32_bigscore_vec
) tb
="$tb elf32-score.lo elf32-score7.lo elf32.lo $elf"; want64
=true
; target_size
=64;;
21024 bfd_elf32_littlescore_vec
) tb
="$tb elf32-score.lo elf32-score7.lo elf32.lo $elf"; want64
=true
; target_size
=64;;
21025 # FIXME: We include cofflink.lo not because it's needed for
21026 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
21027 # which needs it but does not list it. Should be fixed in right place.
21028 bfd_elf32_sh64_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
21029 bfd_elf32_sh64l_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
21030 bfd_elf32_sh64lin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
21031 bfd_elf32_sh64blin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
21032 bfd_elf32_sh64lnbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
21033 bfd_elf32_sh64nbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
21034 bfd_elf32_sh_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
21035 bfd_elf32_shblin_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
21036 bfd_elf32_shl_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
21037 bfd_elf32_shl_symbian_vec
) tb
="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
21038 bfd_elf32_shlin_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
21039 bfd_elf32_shlnbsd_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
21040 bfd_elf32_shlvxworks_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
21041 bfd_elf32_shnbsd_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
21042 bfd_elf32_shvxworks_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
21043 bfd_elf32_sparc_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
21044 bfd_elf32_sparc_vxworks_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
21045 bfd_elf32_spu_vec
) tb
="$tb elf32-spu.lo elf32.lo $elf" ;;
21046 bfd_elf32_tradbigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
21047 bfd_elf32_tradlittlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
21048 bfd_elf32_us_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
21049 bfd_elf32_v850_vec
) tb
="$tb elf32-v850.lo elf32.lo $elf" ;;
21050 bfd_elf32_vax_vec
) tb
="$tb elf32-vax.lo elf32.lo $elf" ;;
21051 bfd_elf32_xstormy16_vec
) tb
="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
21052 bfd_elf32_xc16x_vec
) tb
="$tb elf32-xc16x.lo elf32.lo $elf" ;;
21053 bfd_elf32_xtensa_le_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
21054 bfd_elf32_xtensa_be_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
21055 bfd_elf64_alpha_freebsd_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
21056 bfd_elf64_alpha_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
21057 bfd_elf64_big_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
21058 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 ;;
21059 bfd_elf64_hppa_linux_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
21060 bfd_elf64_hppa_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
21061 bfd_elf64_ia64_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
21062 bfd_elf64_ia64_hpux_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
21063 bfd_elf64_ia64_little_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
21064 bfd_elf64_ia64_vms_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf vmsutil.lo"; target_size
=64 ;;
21065 bfd_elf64_little_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
21066 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 ;;
21067 bfd_elf64_mmix_vec
) tb
="$tb elf64-mmix.lo elf64.lo $elf" target_size
=64 ;;
21068 bfd_elf64_powerpc_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
21069 bfd_elf64_powerpcle_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size
=64 ;;
21070 bfd_elf64_s390_vec
) tb
="$tb elf64-s390.lo elf64.lo $elf"; target_size
=64 ;;
21071 bfd_elf64_sh64_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
21072 bfd_elf64_sh64l_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
21073 bfd_elf64_sh64lin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
21074 bfd_elf64_sh64blin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
21075 bfd_elf64_sh64lnbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
21076 bfd_elf64_sh64nbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
21077 bfd_elf64_sparc_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size
=64 ;;
21078 bfd_elf64_sparc_freebsd_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size
=64 ;;
21079 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 ;;
21080 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 ;;
21081 bfd_elf64_x86_64_freebsd_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
21082 bfd_elf64_x86_64_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
21083 bfd_mmo_vec
) tb
="$tb mmo.lo" target_size
=64 ;;
21084 bfd_powerpc_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
21085 bfd_powerpc_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
21086 bfd_powerpcle_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
21087 bfd_powerpcle_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
21088 cris_aout_vec
) tb
="$tb aout-cris.lo" ;;
21089 demo_64_vec
) tb
="$tb demo64.lo aout64.lo"; target_size
=64 ;;
21090 ecoff_big_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
21091 ecoff_biglittle_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
21092 ecoff_little_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
21093 ecoffalpha_little_vec
) tb
="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size
=64 ;;
21094 go32coff_vec
) tb
="$tb coff-go32.lo cofflink.lo" ;;
21095 go32stubbedcoff_vec
) tb
="$tb coff-stgo32.lo cofflink.lo" ;;
21096 h8300coff_vec
) tb
="$tb coff-h8300.lo reloc16.lo" ;;
21097 h8500coff_vec
) tb
="$tb coff-h8500.lo reloc16.lo" ;;
21098 host_aout_vec
) tb
="$tb host-aout.lo aout32.lo" ;;
21099 hp300bsd_vec
) tb
="$tb hp300bsd.lo aout32.lo" ;;
21100 hp300hpux_vec
) tb
="$tb hp300hpux.lo aout32.lo" ;;
21101 i386aout_vec
) tb
="$tb i386aout.lo aout32.lo" ;;
21102 i386bsd_vec
) tb
="$tb i386bsd.lo aout32.lo" ;;
21103 i386coff_vec
) tb
="$tb coff-i386.lo cofflink.lo" ;;
21104 x86_64coff_vec
) tb
="$tb coff-x86_64.lo cofflink.lo"; target_size
=64 ;;
21105 i386dynix_vec
) tb
="$tb i386dynix.lo aout32.lo" ;;
21106 i386freebsd_vec
) tb
="$tb i386freebsd.lo aout32.lo" ;;
21107 i386linux_vec
) tb
="$tb i386linux.lo aout32.lo" ;;
21108 i386lynx_aout_vec
) tb
="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
21109 i386lynx_coff_vec
) tb
="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
21110 i386mach3_vec
) tb
="$tb i386mach3.lo aout32.lo" ;;
21111 i386msdos_vec
) tb
="$tb i386msdos.lo" ;;
21112 i386netbsd_vec
) tb
="$tb i386netbsd.lo aout32.lo" ;;
21113 i386os9k_vec
) tb
="$tb i386os9k.lo aout32.lo" ;;
21114 i386pe_vec
) tb
="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
21115 i386pei_vec
) tb
="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
21116 x86_64pe_vec
) tb
="$tb pe-x86_64.lo pex64igen.lo cofflink.lo"; target_size
=64 ;;
21117 x86_64pei_vec
) tb
="$tb pei-x86_64.lo pex64igen.lo cofflink.lo"; target_size
=64 ;;
21118 i860coff_vec
) tb
="$tb coff-i860.lo cofflink.lo" ;;
21119 icoff_big_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
21120 icoff_little_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
21121 ieee_vec
) tb
="$tb ieee.lo" ;;
21122 m68k4knetbsd_vec
) tb
="$tb m68k4knetbsd.lo aout32.lo" ;;
21123 m68kaux_coff_vec
) tb
="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
21124 m68kcoff_vec
) tb
="$tb coff-m68k.lo cofflink.lo" ;;
21125 m68kcoffun_vec
) tb
="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
21126 m68klinux_vec
) tb
="$tb m68klinux.lo aout32.lo" ;;
21127 m68knetbsd_vec
) tb
="$tb m68knetbsd.lo aout32.lo" ;;
21128 m68ksysvcoff_vec
) tb
="$tb coff-svm68k.lo cofflink.lo" ;;
21129 m88kbcs_vec
) tb
="$tb coff-m88k.lo" ;;
21130 m88kmach3_vec
) tb
="$tb m88kmach3.lo aout32.lo" ;;
21131 m88kopenbsd_vec
) tb
="$tb m88kopenbsd.lo aout32.lo" ;;
21132 maxqcoff_vec
) tb
="$tb coff-maxq.lo" ;;
21133 mach_o_be_vec
) tb
="$tb mach-o.lo" ;;
21134 mach_o_le_vec
) tb
="$tb mach-o.lo" ;;
21135 mach_o_fat_vec
) tb
="$tb mach-o.lo" ;;
21136 mcore_pe_big_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
21137 mcore_pe_little_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
21138 mcore_pei_big_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
21139 mcore_pei_little_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
21140 mipslpe_vec
) tb
="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
21141 mipslpei_vec
) tb
="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
21142 newsos3_vec
) tb
="$tb newsos3.lo aout32.lo" ;;
21143 nlm32_alpha_vec
) tb
="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size
=64 ;;
21144 nlm32_i386_vec
) tb
="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
21145 nlm32_powerpc_vec
) tb
="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
21146 nlm32_sparc_vec
) tb
="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
21147 or32coff_big_vec
) tb
="$tb coff-or32.lo cofflink.lo" ;;
21148 pc532machaout_vec
) tb
="$tb pc532-mach.lo aout-ns32k.lo" ;;
21149 pc532netbsd_vec
) tb
="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
21150 pef_vec
) tb
="$tb pef.lo" ;;
21151 pef_xlib_vec
) tb
="$tb pef.lo" ;;
21152 pdp11_aout_vec
) tb
="$tb pdp11.lo" ;;
21153 pmac_xcoff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
21154 ppcboot_vec
) tb
="$tb ppcboot.lo" ;;
21155 riscix_vec
) tb
="$tb aout32.lo riscix.lo" ;;
21156 rs6000coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
21157 rs6000coff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
21158 shcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
21159 shcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
21160 shlcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
21161 shlcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
21162 shlpe_vec
) tb
="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
21163 shlpei_vec
) tb
="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
21164 som_vec
) tb
="$tb som.lo" ;;
21165 sparccoff_vec
) tb
="$tb coff-sparc.lo" ;;
21166 sparcle_aout_vec
) tb
="$tb aout-sparcle.lo aout32.lo" ;;
21167 sparclinux_vec
) tb
="$tb sparclinux.lo aout32.lo" ;;
21168 sparclynx_aout_vec
) tb
="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
21169 sparclynx_coff_vec
) tb
="$tb cf-sparclynx.lo lynx-core.lo" ;;
21170 sparcnetbsd_vec
) tb
="$tb sparcnetbsd.lo aout32.lo" ;;
21171 sunos_big_vec
) tb
="$tb sunos.lo aout32.lo" ;;
21172 sym_vec
) tb
="$tb xsym.lo" ;;
21173 tic30_aout_vec
) tb
="$tb aout-tic30.lo" ;;
21174 tic30_coff_vec
) tb
="$tb coff-tic30.lo" ;;
21175 tic4x_coff0_vec
) tb
="$tb coff-tic4x.lo" ;;
21176 tic4x_coff0_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
21177 tic4x_coff1_vec
) tb
="$tb coff-tic4x.lo" ;;
21178 tic4x_coff1_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
21179 tic4x_coff2_vec
) tb
="$tb coff-tic4x.lo" ;;
21180 tic4x_coff2_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
21181 tic54x_coff0_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
21182 tic54x_coff0_vec
) tb
="$tb coff-tic54x.lo" ;;
21183 tic54x_coff1_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
21184 tic54x_coff1_vec
) tb
="$tb coff-tic54x.lo" ;;
21185 tic54x_coff2_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
21186 tic54x_coff2_vec
) tb
="$tb coff-tic54x.lo" ;;
21187 tic80coff_vec
) tb
="$tb coff-tic80.lo cofflink.lo" ;;
21188 vaxnetbsd_vec
) tb
="$tb vaxnetbsd.lo aout32.lo" ;;
21189 vax1knetbsd_vec
) tb
="$tb vax1knetbsd.lo aout32.lo" ;;
21190 vaxbsd_vec
) tb
="$tb vaxbsd.lo aout32.lo" ;;
21191 versados_vec
) tb
="$tb versados.lo" ;;
21192 vms_alpha_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size
=64 ;;
21193 vms_vax_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
21194 w65_vec
) tb
="$tb coff-w65.lo reloc16.lo" ;;
21195 we32kcoff_vec
) tb
="$tb coff-we32k.lo" ;;
21196 z80coff_vec
) tb
="$tb coff-z80.lo reloc16.lo" ;;
21197 z8kcoff_vec
) tb
="$tb coff-z8k.lo reloc16.lo cofflink.lo" ;;
21199 # These appear out of order in targets.c
21200 srec_vec
) tb
="$tb srec.lo" ;;
21201 symbolsrec_vec
) tb
="$tb srec.lo" ;;
21202 tekhex_vec
) tb
="$tb tekhex.lo" ;;
21203 cisco_core_big_vec
) tb
="$tb cisco-core.lo" ;;
21204 cisco_core_little_vec
) tb
="$tb cisco-core.lo" ;;
21207 *) { { echo "$as_me:$LINENO: error: *** unknown target vector $vec" >&5
21208 echo "$as_me: error: *** unknown target vector $vec" >&2;}
21209 { (exit 1); exit 1; }; } ;;
21212 if test ${target_size} = 64; then
21215 if test x
"${vec}" = x
"${defvec}"; then
21216 bfd_default_target_size
=${target_size}
21220 # Target architecture .o files.
21221 # A couple of CPUs use shorter file names to avoid problems on DOS
21223 ta
=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
21225 # Weed out duplicate .o files.
21247 if test x
${all_targets} = xtrue
; then
21248 bfd_backends
="${bfd_backends}"' $(ALL_BACKENDS)'
21249 bfd_machines
="${bfd_machines}"' $(ALL_MACHINES)'
21253 test -n "$assocvecs" &&
21254 assocvecs
=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
21255 else # all_targets is true
21256 # Only set these if they will be nonempty, for the clever echo.
21259 test -n "$selvecs" &&
21260 havevecs
=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
21261 test -n "$selvecs" &&
21262 selvecs
=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
21263 test -n "$selarchs" &&
21264 selarchs
=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
21265 fi # all_targets is true
21267 case ${host64}-${target64}-${want64} in
21270 bfd64_libs
='$(BFD64_LIBS)'
21271 all_backends
='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
21272 if test $BFD_HOST_64_BIT_DEFINED = 0; then
21273 { echo "$as_me:$LINENO: WARNING: You have requested a 64 bit BFD configuration, but" >&5
21274 echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
21275 { echo "$as_me:$LINENO: WARNING: your compiler may not have a 64 bit integral type" >&5
21276 echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
21278 if test -n "$GCC" ; then
21280 echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
21281 echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
21282 # Add more tests for gcc versions with non-working 64-bit support here.
21283 cat >conftest.
$ac_ext <<_ACEOF
21286 cat confdefs.h
>>conftest.
$ac_ext
21287 cat >>conftest.
$ac_ext <<_ACEOF
21288 /* end confdefs.h. */
21289 :__GNUC__:__GNUC_MINOR__:__i386__:
21291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21292 $EGREP ": 2 : 91 : 1 :" >/dev
/null
2>&1; then
21294 echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
21295 echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
21297 echo "$as_me:$LINENO: result: no" >&5
21298 echo "${ECHO_T}no" >&6
21302 if test $bad_64bit_gcc = yes ; then
21303 { { echo "$as_me:$LINENO: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&5
21304 echo "$as_me: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&2;}
21305 { (exit 1); exit 1; }; }
21311 all_backends
='$(BFD32_BACKENDS)'
21322 # Determine the host dependant file_ptr a.k.a. off_t type. In order
21323 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
21324 # fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
21325 # Hopefully a reasonable assumption since fseeko et.al. should be
21326 # upward compatible.
21332 for ac_func
in ftello ftello64 fseeko fseeko64 fopen64
21334 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21335 echo "$as_me:$LINENO: checking for $ac_func" >&5
21336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21337 if eval "test \"\${$as_ac_var+set}\" = set"; then
21338 echo $ECHO_N "(cached) $ECHO_C" >&6
21340 cat >conftest.
$ac_ext <<_ACEOF
21343 cat confdefs.h
>>conftest.
$ac_ext
21344 cat >>conftest.
$ac_ext <<_ACEOF
21345 /* end confdefs.h. */
21346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21348 #define $ac_func innocuous_$ac_func
21350 /* System header to define __stub macros and hopefully few prototypes,
21351 which can conflict with char $ac_func (); below.
21352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21353 <limits.h> exists even on freestanding compilers. */
21356 # include <limits.h>
21358 # include <assert.h>
21363 /* Override any gcc2 internal prototype to avoid an error. */
21368 /* We use char because int might match the return type of a gcc2
21369 builtin and then its argument prototype would still apply. */
21371 /* The GNU C library defines this for functions which it implements
21372 to always fail with ENOSYS. Some functions are actually named
21373 something starting with __ and the normal name is an alias. */
21374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21377 char (*f) () = $ac_func;
21386 return f != $ac_func;
21391 rm -f conftest.
$ac_objext conftest
$ac_exeext
21392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21393 (eval $ac_link) 2>conftest.er1
21395 grep -v '^ *+' conftest.er1
>conftest.err
21397 cat conftest.err
>&5
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); } &&
21400 { ac_try
='test -z "$ac_c_werror_flag"
21401 || test ! -s conftest.err'
21402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21403 (eval $ac_try) 2>&5
21405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406 (exit $ac_status); }; } &&
21407 { ac_try
='test -s conftest$ac_exeext'
21408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21409 (eval $ac_try) 2>&5
21411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21412 (exit $ac_status); }; }; then
21413 eval "$as_ac_var=yes"
21415 echo "$as_me: failed program was:" >&5
21416 sed 's/^/| /' conftest.
$ac_ext >&5
21418 eval "$as_ac_var=no"
21420 rm -f conftest.err conftest.
$ac_objext \
21421 conftest
$ac_exeext conftest.
$ac_ext
21423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21425 if test `eval echo '${'$as_ac_var'}'` = yes; then
21426 cat >>confdefs.h
<<_ACEOF
21427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21433 if test x
"$ac_cv_func_ftello" = xyes
-a x
"$ac_cv_func_fseeko" = xyes
; then
21434 echo "$as_me:$LINENO: checking for off_t" >&5
21435 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
21436 if test "${ac_cv_type_off_t+set}" = set; then
21437 echo $ECHO_N "(cached) $ECHO_C" >&6
21439 cat >conftest.
$ac_ext <<_ACEOF
21442 cat confdefs.h
>>conftest.
$ac_ext
21443 cat >>conftest.
$ac_ext <<_ACEOF
21444 /* end confdefs.h. */
21445 $ac_includes_default
21451 if (sizeof (off_t))
21457 rm -f conftest.
$ac_objext
21458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21459 (eval $ac_compile) 2>conftest.er1
21461 grep -v '^ *+' conftest.er1
>conftest.err
21463 cat conftest.err
>&5
21464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21465 (exit $ac_status); } &&
21466 { ac_try
='test -z "$ac_c_werror_flag"
21467 || test ! -s conftest.err'
21468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21469 (eval $ac_try) 2>&5
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); }; } &&
21473 { ac_try
='test -s conftest.$ac_objext'
21474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21475 (eval $ac_try) 2>&5
21477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21478 (exit $ac_status); }; }; then
21479 ac_cv_type_off_t
=yes
21481 echo "$as_me: failed program was:" >&5
21482 sed 's/^/| /' conftest.
$ac_ext >&5
21484 ac_cv_type_off_t
=no
21486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21488 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
21489 echo "${ECHO_T}$ac_cv_type_off_t" >&6
21491 echo "$as_me:$LINENO: checking size of off_t" >&5
21492 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
21493 if test "${ac_cv_sizeof_off_t+set}" = set; then
21494 echo $ECHO_N "(cached) $ECHO_C" >&6
21496 if test "$ac_cv_type_off_t" = yes; then
21497 # The cast to unsigned long works around a bug in the HP C Compiler
21498 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21499 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21500 # This bug is HP SR number 8606223364.
21501 if test "$cross_compiling" = yes; then
21502 # Depending upon the size, compute the lo and hi bounds.
21503 cat >conftest.
$ac_ext <<_ACEOF
21506 cat confdefs.h
>>conftest.
$ac_ext
21507 cat >>conftest.
$ac_ext <<_ACEOF
21508 /* end confdefs.h. */
21509 $ac_includes_default
21513 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)];
21520 rm -f conftest.
$ac_objext
21521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21522 (eval $ac_compile) 2>conftest.er1
21524 grep -v '^ *+' conftest.er1
>conftest.err
21526 cat conftest.err
>&5
21527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21528 (exit $ac_status); } &&
21529 { ac_try
='test -z "$ac_c_werror_flag"
21530 || test ! -s conftest.err'
21531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21532 (eval $ac_try) 2>&5
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); }; } &&
21536 { ac_try
='test -s conftest.$ac_objext'
21537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21538 (eval $ac_try) 2>&5
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); }; }; then
21544 cat >conftest.
$ac_ext <<_ACEOF
21547 cat confdefs.h
>>conftest.
$ac_ext
21548 cat >>conftest.
$ac_ext <<_ACEOF
21549 /* end confdefs.h. */
21550 $ac_includes_default
21554 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
21561 rm -f conftest.
$ac_objext
21562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21563 (eval $ac_compile) 2>conftest.er1
21565 grep -v '^ *+' conftest.er1
>conftest.err
21567 cat conftest.err
>&5
21568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21569 (exit $ac_status); } &&
21570 { ac_try
='test -z "$ac_c_werror_flag"
21571 || test ! -s conftest.err'
21572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21573 (eval $ac_try) 2>&5
21575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21576 (exit $ac_status); }; } &&
21577 { ac_try
='test -s conftest.$ac_objext'
21578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21579 (eval $ac_try) 2>&5
21581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21582 (exit $ac_status); }; }; then
21583 ac_hi
=$ac_mid; break
21585 echo "$as_me: failed program was:" >&5
21586 sed 's/^/| /' conftest.
$ac_ext >&5
21588 ac_lo
=`expr $ac_mid + 1`
21589 if test $ac_lo -le $ac_mid; then
21593 ac_mid
=`expr 2 '*' $ac_mid + 1`
21595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21598 echo "$as_me: failed program was:" >&5
21599 sed 's/^/| /' conftest.
$ac_ext >&5
21601 cat >conftest.
$ac_ext <<_ACEOF
21604 cat confdefs.h
>>conftest.
$ac_ext
21605 cat >>conftest.
$ac_ext <<_ACEOF
21606 /* end confdefs.h. */
21607 $ac_includes_default
21611 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)];
21618 rm -f conftest.
$ac_objext
21619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21620 (eval $ac_compile) 2>conftest.er1
21622 grep -v '^ *+' conftest.er1
>conftest.err
21624 cat conftest.err
>&5
21625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21626 (exit $ac_status); } &&
21627 { ac_try
='test -z "$ac_c_werror_flag"
21628 || test ! -s conftest.err'
21629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21630 (eval $ac_try) 2>&5
21632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21633 (exit $ac_status); }; } &&
21634 { ac_try
='test -s conftest.$ac_objext'
21635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21636 (eval $ac_try) 2>&5
21638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21639 (exit $ac_status); }; }; then
21642 cat >conftest.
$ac_ext <<_ACEOF
21645 cat confdefs.h
>>conftest.
$ac_ext
21646 cat >>conftest.
$ac_ext <<_ACEOF
21647 /* end confdefs.h. */
21648 $ac_includes_default
21652 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)];
21659 rm -f conftest.
$ac_objext
21660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21661 (eval $ac_compile) 2>conftest.er1
21663 grep -v '^ *+' conftest.er1
>conftest.err
21665 cat conftest.err
>&5
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); } &&
21668 { ac_try
='test -z "$ac_c_werror_flag"
21669 || test ! -s conftest.err'
21670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21671 (eval $ac_try) 2>&5
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); }; } &&
21675 { ac_try
='test -s conftest.$ac_objext'
21676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21677 (eval $ac_try) 2>&5
21679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21680 (exit $ac_status); }; }; then
21681 ac_lo
=$ac_mid; break
21683 echo "$as_me: failed program was:" >&5
21684 sed 's/^/| /' conftest.
$ac_ext >&5
21686 ac_hi
=`expr '(' $ac_mid ')' - 1`
21687 if test $ac_mid -le $ac_hi; then
21691 ac_mid
=`expr 2 '*' $ac_mid`
21693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21696 echo "$as_me: failed program was:" >&5
21697 sed 's/^/| /' conftest.
$ac_ext >&5
21701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21704 # Binary search between lo and hi bounds.
21705 while test "x$ac_lo" != "x$ac_hi"; do
21706 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21707 cat >conftest.
$ac_ext <<_ACEOF
21710 cat confdefs.h
>>conftest.
$ac_ext
21711 cat >>conftest.
$ac_ext <<_ACEOF
21712 /* end confdefs.h. */
21713 $ac_includes_default
21717 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
21724 rm -f conftest.
$ac_objext
21725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21726 (eval $ac_compile) 2>conftest.er1
21728 grep -v '^ *+' conftest.er1
>conftest.err
21730 cat conftest.err
>&5
21731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21732 (exit $ac_status); } &&
21733 { ac_try
='test -z "$ac_c_werror_flag"
21734 || test ! -s conftest.err'
21735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21736 (eval $ac_try) 2>&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); }; } &&
21740 { ac_try
='test -s conftest.$ac_objext'
21741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21742 (eval $ac_try) 2>&5
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); }; }; then
21748 echo "$as_me: failed program was:" >&5
21749 sed 's/^/| /' conftest.
$ac_ext >&5
21751 ac_lo
=`expr '(' $ac_mid ')' + 1`
21753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21756 ?
*) ac_cv_sizeof_off_t
=$ac_lo;;
21757 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21758 echo "$as_me: error: in \`$ac_pwd':" >&2;}
21759 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
21760 See \`config.log' for more details." >&5
21761 echo "$as_me: error: cannot compute sizeof (off_t), 77
21762 See \`config.log' for more details." >&2;}
21763 { (exit 1); exit 1; }; }; } ;;
21766 if test "$cross_compiling" = yes; then
21767 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21768 echo "$as_me: error: in \`$ac_pwd':" >&2;}
21769 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21770 See \`config.log' for more details." >&5
21771 echo "$as_me: error: cannot run test program while cross compiling
21772 See \`config.log' for more details." >&2;}
21773 { (exit 1); exit 1; }; }; }
21775 cat >conftest.
$ac_ext <<_ACEOF
21778 cat confdefs.h
>>conftest.
$ac_ext
21779 cat >>conftest.
$ac_ext <<_ACEOF
21780 /* end confdefs.h. */
21781 $ac_includes_default
21782 long longval () { return (long) (sizeof (off_t)); }
21783 unsigned long ulongval () { return (long) (sizeof (off_t)); }
21785 #include <stdlib.h>
21790 FILE *f = fopen ("conftest.val", "w");
21793 if (((long) (sizeof (off_t))) < 0)
21795 long i = longval ();
21796 if (i != ((long) (sizeof (off_t))))
21798 fprintf (f, "%ld\n", i);
21802 unsigned long i = ulongval ();
21803 if (i != ((long) (sizeof (off_t))))
21805 fprintf (f, "%lu\n", i);
21807 exit (ferror (f) || fclose (f) != 0);
21813 rm -f conftest
$ac_exeext
21814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21815 (eval $ac_link) 2>&5
21817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21818 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21820 (eval $ac_try) 2>&5
21822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21823 (exit $ac_status); }; }; then
21824 ac_cv_sizeof_off_t
=`cat conftest.val`
21826 echo "$as_me: program exited with status $ac_status" >&5
21827 echo "$as_me: failed program was:" >&5
21828 sed 's/^/| /' conftest.
$ac_ext >&5
21830 ( exit $ac_status )
21831 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21832 echo "$as_me: error: in \`$ac_pwd':" >&2;}
21833 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
21834 See \`config.log' for more details." >&5
21835 echo "$as_me: error: cannot compute sizeof (off_t), 77
21836 See \`config.log' for more details." >&2;}
21837 { (exit 1); exit 1; }; }; }
21839 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21844 ac_cv_sizeof_off_t
=0
21847 echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
21848 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
21849 cat >>confdefs.h
<<_ACEOF
21850 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
21855 echo "$as_me:$LINENO: checking file_ptr type" >&5
21856 echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
21857 bfd_file_ptr
="long"
21858 bfd_ufile_ptr
="unsigned long"
21859 if test x
"$ac_cv_func_ftello64" = xyes
-a x
"$ac_cv_func_fseeko64" = xyes \
21860 -o x
"${ac_cv_sizeof_off_t}" = x8
; then
21861 bfd_file_ptr
=BFD_HOST_64_BIT
21862 bfd_ufile_ptr
=BFD_HOST_U_64_BIT
21864 echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
21865 echo "${ECHO_T}$bfd_file_ptr" >&6
21871 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
21872 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
21873 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
21874 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
21875 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
21880 for ac_header
in stdlib.h unistd.h
21882 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21884 echo "$as_me:$LINENO: checking for $ac_header" >&5
21885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21887 echo $ECHO_N "(cached) $ECHO_C" >&6
21889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21890 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21892 # Is the header compilable?
21893 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21894 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21895 cat >conftest.
$ac_ext <<_ACEOF
21898 cat confdefs.h
>>conftest.
$ac_ext
21899 cat >>conftest.
$ac_ext <<_ACEOF
21900 /* end confdefs.h. */
21901 $ac_includes_default
21902 #include <$ac_header>
21904 rm -f conftest.
$ac_objext
21905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21906 (eval $ac_compile) 2>conftest.er1
21908 grep -v '^ *+' conftest.er1
>conftest.err
21910 cat conftest.err
>&5
21911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21912 (exit $ac_status); } &&
21913 { ac_try
='test -z "$ac_c_werror_flag"
21914 || test ! -s conftest.err'
21915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21916 (eval $ac_try) 2>&5
21918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21919 (exit $ac_status); }; } &&
21920 { ac_try
='test -s conftest.$ac_objext'
21921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21922 (eval $ac_try) 2>&5
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); }; }; then
21926 ac_header_compiler
=yes
21928 echo "$as_me: failed program was:" >&5
21929 sed 's/^/| /' conftest.
$ac_ext >&5
21931 ac_header_compiler
=no
21933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21934 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21935 echo "${ECHO_T}$ac_header_compiler" >&6
21937 # Is the header present?
21938 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21939 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21940 cat >conftest.
$ac_ext <<_ACEOF
21943 cat confdefs.h
>>conftest.
$ac_ext
21944 cat >>conftest.
$ac_ext <<_ACEOF
21945 /* end confdefs.h. */
21946 #include <$ac_header>
21948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21949 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21951 grep -v '^ *+' conftest.er1
>conftest.err
21953 cat conftest.err
>&5
21954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21955 (exit $ac_status); } >/dev
/null
; then
21956 if test -s conftest.err
; then
21957 ac_cpp_err
=$ac_c_preproc_warn_flag
21958 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21965 if test -z "$ac_cpp_err"; then
21966 ac_header_preproc
=yes
21968 echo "$as_me: failed program was:" >&5
21969 sed 's/^/| /' conftest.
$ac_ext >&5
21971 ac_header_preproc
=no
21973 rm -f conftest.err conftest.
$ac_ext
21974 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21975 echo "${ECHO_T}$ac_header_preproc" >&6
21977 # So? What about this header?
21978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21980 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21981 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21983 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21984 ac_header_preproc
=yes
21987 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21988 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21989 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21990 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21991 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21992 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21993 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21994 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21996 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21997 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21998 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22001 ## ------------------------------------------ ##
22002 ## Report this to the AC_PACKAGE_NAME lists. ##
22003 ## ------------------------------------------ ##
22006 sed "s/^/$as_me: WARNING: /" >&2
22009 echo "$as_me:$LINENO: checking for $ac_header" >&5
22010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22012 echo $ECHO_N "(cached) $ECHO_C" >&6
22014 eval "$as_ac_Header=\$ac_header_preproc"
22016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22021 cat >>confdefs.h
<<_ACEOF
22022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22030 for ac_func
in getpagesize
22032 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22033 echo "$as_me:$LINENO: checking for $ac_func" >&5
22034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22035 if eval "test \"\${$as_ac_var+set}\" = set"; then
22036 echo $ECHO_N "(cached) $ECHO_C" >&6
22038 cat >conftest.
$ac_ext <<_ACEOF
22041 cat confdefs.h
>>conftest.
$ac_ext
22042 cat >>conftest.
$ac_ext <<_ACEOF
22043 /* end confdefs.h. */
22044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22046 #define $ac_func innocuous_$ac_func
22048 /* System header to define __stub macros and hopefully few prototypes,
22049 which can conflict with char $ac_func (); below.
22050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22051 <limits.h> exists even on freestanding compilers. */
22054 # include <limits.h>
22056 # include <assert.h>
22061 /* Override any gcc2 internal prototype to avoid an error. */
22066 /* We use char because int might match the return type of a gcc2
22067 builtin and then its argument prototype would still apply. */
22069 /* The GNU C library defines this for functions which it implements
22070 to always fail with ENOSYS. Some functions are actually named
22071 something starting with __ and the normal name is an alias. */
22072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22075 char (*f) () = $ac_func;
22084 return f != $ac_func;
22089 rm -f conftest.
$ac_objext conftest
$ac_exeext
22090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22091 (eval $ac_link) 2>conftest.er1
22093 grep -v '^ *+' conftest.er1
>conftest.err
22095 cat conftest.err
>&5
22096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22097 (exit $ac_status); } &&
22098 { ac_try
='test -z "$ac_c_werror_flag"
22099 || test ! -s conftest.err'
22100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22101 (eval $ac_try) 2>&5
22103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22104 (exit $ac_status); }; } &&
22105 { ac_try
='test -s conftest$ac_exeext'
22106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22107 (eval $ac_try) 2>&5
22109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22110 (exit $ac_status); }; }; then
22111 eval "$as_ac_var=yes"
22113 echo "$as_me: failed program was:" >&5
22114 sed 's/^/| /' conftest.
$ac_ext >&5
22116 eval "$as_ac_var=no"
22118 rm -f conftest.err conftest.
$ac_objext \
22119 conftest
$ac_exeext conftest.
$ac_ext
22121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22123 if test `eval echo '${'$as_ac_var'}'` = yes; then
22124 cat >>confdefs.h
<<_ACEOF
22125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22131 echo "$as_me:$LINENO: checking for working mmap" >&5
22132 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
22133 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22134 echo $ECHO_N "(cached) $ECHO_C" >&6
22136 if test "$cross_compiling" = yes; then
22137 ac_cv_func_mmap_fixed_mapped
=no
22139 cat >conftest.
$ac_ext <<_ACEOF
22142 cat confdefs.h
>>conftest.
$ac_ext
22143 cat >>conftest.
$ac_ext <<_ACEOF
22144 /* end confdefs.h. */
22145 $ac_includes_default
22146 /* malloc might have been renamed as rpl_malloc. */
22149 /* Thanks to Mike Haertel and Jim Avera for this test.
22150 Here is a matrix of mmap possibilities:
22151 mmap private not fixed
22152 mmap private fixed at somewhere currently unmapped
22153 mmap private fixed at somewhere already mapped
22154 mmap shared not fixed
22155 mmap shared fixed at somewhere currently unmapped
22156 mmap shared fixed at somewhere already mapped
22157 For private mappings, we should verify that changes cannot be read()
22158 back from the file, nor mmap's back from the file at a different
22159 address. (There have been systems where private was not correctly
22160 implemented like the infamous i386 svr4.0, and systems where the
22161 VM page cache was not coherent with the file system buffer cache
22162 like early versions of FreeBSD and possibly contemporary NetBSD.)
22163 For shared mappings, we should conversely verify that changes get
22164 propagated back to all the places they're supposed to be.
22166 Grep wants private fixed already mapped.
22167 The main things grep needs to know about mmap are:
22168 * does it exist and is it safe to write into the mmap'd area
22169 * how to use it (BSD variants) */
22172 #include <sys/mman.h>
22174 #if !STDC_HEADERS && !HAVE_STDLIB_H
22178 /* This mess was copied from the GNU getpagesize.h. */
22179 #if !HAVE_GETPAGESIZE
22180 /* Assume that all systems that can run configure have sys/param.h. */
22181 # if !HAVE_SYS_PARAM_H
22182 # define HAVE_SYS_PARAM_H 1
22185 # ifdef _SC_PAGESIZE
22186 # define getpagesize() sysconf(_SC_PAGESIZE)
22187 # else /* no _SC_PAGESIZE */
22188 # if HAVE_SYS_PARAM_H
22189 # include <sys/param.h>
22190 # ifdef EXEC_PAGESIZE
22191 # define getpagesize() EXEC_PAGESIZE
22192 # else /* no EXEC_PAGESIZE */
22194 # define getpagesize() NBPG * CLSIZE
22197 # endif /* no CLSIZE */
22198 # else /* no NBPG */
22200 # define getpagesize() NBPC
22201 # else /* no NBPC */
22203 # define getpagesize() PAGESIZE
22204 # endif /* PAGESIZE */
22205 # endif /* no NBPC */
22206 # endif /* no NBPG */
22207 # endif /* no EXEC_PAGESIZE */
22208 # else /* no HAVE_SYS_PARAM_H */
22209 # define getpagesize() 8192 /* punt totally */
22210 # endif /* no HAVE_SYS_PARAM_H */
22211 # endif /* no _SC_PAGESIZE */
22213 #endif /* no HAVE_GETPAGESIZE */
22218 char *data, *data2, *data3;
22222 pagesize = getpagesize ();
22224 /* First, make a file with some known garbage in it. */
22225 data = (char *) malloc (pagesize);
22228 for (i = 0; i < pagesize; ++i)
22229 *(data + i) = rand ();
22231 fd = creat ("conftest.mmap", 0600);
22234 if (write (fd, data, pagesize) != pagesize)
22238 /* Next, try to mmap the file at a fixed address which already has
22239 something else allocated at it. If we can, also make sure that
22240 we see the same garbage. */
22241 fd = open ("conftest.mmap", O_RDWR);
22244 data2 = (char *) malloc (2 * pagesize);
22247 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
22248 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22249 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22251 for (i = 0; i < pagesize; ++i)
22252 if (*(data + i) != *(data2 + i))
22255 /* Finally, make sure that changes to the mapped area do not
22256 percolate back to the file as seen by read(). (This is a bug on
22257 some variants of i386 svr4.0.) */
22258 for (i = 0; i < pagesize; ++i)
22259 *(data2 + i) = *(data2 + i) + 1;
22260 data3 = (char *) malloc (pagesize);
22263 if (read (fd, data3, pagesize) != pagesize)
22265 for (i = 0; i < pagesize; ++i)
22266 if (*(data + i) != *(data3 + i))
22272 rm -f conftest
$ac_exeext
22273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22274 (eval $ac_link) 2>&5
22276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22277 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22279 (eval $ac_try) 2>&5
22281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22282 (exit $ac_status); }; }; then
22283 ac_cv_func_mmap_fixed_mapped
=yes
22285 echo "$as_me: program exited with status $ac_status" >&5
22286 echo "$as_me: failed program was:" >&5
22287 sed 's/^/| /' conftest.
$ac_ext >&5
22289 ( exit $ac_status )
22290 ac_cv_func_mmap_fixed_mapped
=no
22292 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22295 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22296 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22297 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22299 cat >>confdefs.h
<<\_ACEOF
22300 #define HAVE_MMAP 1
22304 rm -f conftest.mmap
22308 for ac_func
in madvise mprotect
22310 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22311 echo "$as_me:$LINENO: checking for $ac_func" >&5
22312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22313 if eval "test \"\${$as_ac_var+set}\" = set"; then
22314 echo $ECHO_N "(cached) $ECHO_C" >&6
22316 cat >conftest.
$ac_ext <<_ACEOF
22319 cat confdefs.h
>>conftest.
$ac_ext
22320 cat >>conftest.
$ac_ext <<_ACEOF
22321 /* end confdefs.h. */
22322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22324 #define $ac_func innocuous_$ac_func
22326 /* System header to define __stub macros and hopefully few prototypes,
22327 which can conflict with char $ac_func (); below.
22328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22329 <limits.h> exists even on freestanding compilers. */
22332 # include <limits.h>
22334 # include <assert.h>
22339 /* Override any gcc2 internal prototype to avoid an error. */
22344 /* We use char because int might match the return type of a gcc2
22345 builtin and then its argument prototype would still apply. */
22347 /* The GNU C library defines this for functions which it implements
22348 to always fail with ENOSYS. Some functions are actually named
22349 something starting with __ and the normal name is an alias. */
22350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22353 char (*f) () = $ac_func;
22362 return f != $ac_func;
22367 rm -f conftest.
$ac_objext conftest
$ac_exeext
22368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22369 (eval $ac_link) 2>conftest.er1
22371 grep -v '^ *+' conftest.er1
>conftest.err
22373 cat conftest.err
>&5
22374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22375 (exit $ac_status); } &&
22376 { ac_try
='test -z "$ac_c_werror_flag"
22377 || test ! -s conftest.err'
22378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22379 (eval $ac_try) 2>&5
22381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22382 (exit $ac_status); }; } &&
22383 { ac_try
='test -s conftest$ac_exeext'
22384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22385 (eval $ac_try) 2>&5
22387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22388 (exit $ac_status); }; }; then
22389 eval "$as_ac_var=yes"
22391 echo "$as_me: failed program was:" >&5
22392 sed 's/^/| /' conftest.
$ac_ext >&5
22394 eval "$as_ac_var=no"
22396 rm -f conftest.err conftest.
$ac_objext \
22397 conftest
$ac_exeext conftest.
$ac_ext
22399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22401 if test `eval echo '${'$as_ac_var'}'` = yes; then
22402 cat >>confdefs.h
<<_ACEOF
22403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22409 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
22411 cat >>confdefs.h
<<\_ACEOF
22417 rm -f doc
/config.status
22418 ac_config_files
="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
22421 ac_config_commands
="$ac_config_commands default"
22429 cat >confcache
<<\_ACEOF
22430 # This file is a shell script that caches the results of configure
22431 # tests run on this system so they can be shared between configure
22432 # scripts and configure runs, see configure's option --config-cache.
22433 # It is not useful on other systems. If it contains results you don't
22434 # want to keep, you may remove or edit it.
22436 # config.status only pays attention to the cache file if you give it
22437 # the --recheck option to rerun configure.
22439 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22440 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22441 # following values.
22445 # The following way of writing the cache mishandles newlines in values,
22446 # but we know of no workaround that is simple, portable, and efficient.
22447 # So, don't put newlines in cache variables' values.
22448 # Ultrix sh set writes to stderr and can't be redirected directly,
22449 # and sets the high bit in the cache file unless we assign to the vars.
22452 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22454 # `set' does not quote correctly, so add quotes (double-quote
22455 # substitution turns \\\\ into \\, and sed turns \\ into \).
22458 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22461 # `set' quotes correctly as required by POSIX, so do not add quotes.
22463 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22470 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22472 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22474 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22475 if test -w $cache_file; then
22476 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22477 cat confcache
>$cache_file
22479 echo "not updating unwritable cache $cache_file"
22484 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22485 # Let make expand exec_prefix.
22486 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22488 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22489 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22490 # trailing colons and then remove the whole line if VPATH becomes empty
22491 # (actually we leave an empty line to preserve line numbers).
22492 if test "x$srcdir" = x.
; then
22493 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22494 s/:*\$(srcdir):*/:/;
22495 s/:*\${srcdir}:*/:/;
22497 s/^\([^=]*=[ ]*\):*/\1/;
22503 DEFS
=-DHAVE_CONFIG_H
22507 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22508 # 1. Remove the extension, and $U if already installed.
22509 ac_i
=`echo "$ac_i" |
22510 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22512 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
22513 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
22515 LIBOBJS
=$ac_libobjs
22517 LTLIBOBJS
=$ac_ltlibobjs
22520 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22521 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22522 Usually this means the macro was only invoked conditionally." >&5
22523 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22524 Usually this means the macro was only invoked conditionally." >&2;}
22525 { (exit 1); exit 1; }; }
22527 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22528 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22529 Usually this means the macro was only invoked conditionally." >&5
22530 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22531 Usually this means the macro was only invoked conditionally." >&2;}
22532 { (exit 1); exit 1; }; }
22534 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22535 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
22536 Usually this means the macro was only invoked conditionally." >&5
22537 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
22538 Usually this means the macro was only invoked conditionally." >&2;}
22539 { (exit 1); exit 1; }; }
22541 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
22542 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
22543 Usually this means the macro was only invoked conditionally." >&5
22544 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
22545 Usually this means the macro was only invoked conditionally." >&2;}
22546 { (exit 1); exit 1; }; }
22548 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
22549 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
22550 Usually this means the macro was only invoked conditionally." >&5
22551 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
22552 Usually this means the macro was only invoked conditionally." >&2;}
22553 { (exit 1); exit 1; }; }
22556 : ${CONFIG_STATUS=./config.status}
22557 ac_clean_files_save
=$ac_clean_files
22558 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22559 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22560 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22561 cat >$CONFIG_STATUS <<_ACEOF
22563 # Generated by $as_me.
22564 # Run this file to recreate the current configuration.
22565 # Compiler output produced by configure, useful for debugging
22566 # configure, is in config.log if it exists.
22569 ac_cs_recheck=false
22571 SHELL=\${CONFIG_SHELL-$SHELL}
22574 cat >>$CONFIG_STATUS <<\_ACEOF
22575 ## --------------------- ##
22576 ## M4sh Initialization. ##
22577 ## --------------------- ##
22579 # Be Bourne compatible
22580 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22583 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22584 # is contrary to our usage. Disable this feature.
22585 alias -g '${1+"$@"}'='"$@"'
22586 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22589 DUALCASE
=1; export DUALCASE
# for MKS sh
22591 # Support unset when possible.
22592 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22599 # Work around bugs in pre-3.0 UWIN ksh.
22600 $as_unset ENV MAIL MAILPATH
22607 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22608 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22609 LC_TELEPHONE LC_TIME
22611 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22612 eval $as_var=C
; export $as_var
22618 # Required to use basename.
22619 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22625 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
22626 as_basename
=basename
22632 # Name of the executable.
22633 as_me
=`$as_basename "$0" ||
22634 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22635 X"$0" : 'X\(//\)$' \| \
22636 X"$0" : 'X\(/\)$' \| \
22637 . : '\(.\)' 2>/dev/null ||
22639 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22640 /^X\/\(\/\/\)$/{ s//\1/; q; }
22641 /^X\/\(\/\).*/{ s//\1/; q; }
22645 # PATH needs CR, and LINENO needs CR and PATH.
22646 # Avoid depending upon Character Ranges.
22647 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22648 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22649 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22650 as_cr_digits
='0123456789'
22651 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22653 # The user is always right.
22654 if test "${PATH_SEPARATOR+set}" != set; then
22655 echo "#! /bin/sh" >conf$$.sh
22656 echo "exit 0" >>conf$$.sh
22658 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22667 as_lineno_1
=$LINENO
22668 as_lineno_2
=$LINENO
22669 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
22670 test "x$as_lineno_1" != "x$as_lineno_2" &&
22671 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
22672 # Find who we are. Look in the path if we contain no path at all
22675 *[\\/]* ) as_myself
=$0 ;;
22676 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22677 for as_dir
in $PATH
22680 test -z "$as_dir" && as_dir
=.
22681 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22686 # We did not find ourselves, most probably we were run as `sh COMMAND'
22687 # in which case we are not to be found in the path.
22688 if test "x$as_myself" = x
; then
22691 if test ! -f "$as_myself"; then
22692 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22693 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22694 { (exit 1); exit 1; }; }
22696 case $CONFIG_SHELL in
22698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22699 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
22702 test -z "$as_dir" && as_dir
=.
22703 for as_base
in sh bash ksh sh5
; do
22706 if ("$as_dir/$as_base" -c '
22707 as_lineno_1=$LINENO
22708 as_lineno_2=$LINENO
22709 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22710 test "x$as_lineno_1" != "x$as_lineno_2" &&
22711 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
22712 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
22713 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
22714 CONFIG_SHELL
=$as_dir/$as_base
22715 export CONFIG_SHELL
22716 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22724 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22725 # uniformly replaced by the line number. The first 'sed' inserts a
22726 # line-number line before each line; the second 'sed' does the real
22727 # work. The second script uses 'N' to pair each line-number line
22728 # with the numbered line, and appends trailing '-' during
22729 # substitution so that $LINENO is not a special case at line end.
22730 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22731 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22732 sed '=' <$as_myself |
22737 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22740 s,^['$as_cr_digits']*\n,,
22741 ' >$as_me.lineno
&&
22742 chmod +x
$as_me.lineno ||
22743 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22744 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22745 { (exit 1); exit 1; }; }
22747 # Don't try to exec as it changes $[0], causing all sort of problems
22748 # (the dirname of $[0] is not the place where we might find the
22749 # original and so on. Autoconf is especially sensible to this).
22751 # Exit status is that of the last command.
22756 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22757 *c
*,-n*) ECHO_N
= ECHO_C
='
22759 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
22760 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
22763 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22769 rm -f conf$$ conf$$.exe conf$$.
file
22771 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22772 # We could just check for DJGPP; but this test a) works b) is more generic
22773 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22774 if test -f conf$$.exe
; then
22775 # Don't use ln at all; we don't have any links
22780 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22785 rm -f conf$$ conf$$.exe conf$$.
file
22787 if mkdir
-p .
2>/dev
/null
; then
22790 test -d .
/-p && rmdir .
/-p
22794 as_executable_p
="test -f"
22796 # Sed expression to map a string onto a valid CPP name.
22797 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22799 # Sed expression to map a string onto a valid variable name.
22800 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22804 # We need space, tab and new line, in precisely that order.
22814 # Open the log real soon, to keep \$[0] and so on meaningful, and to
22815 # report actual input values of CONFIG_FILES etc. instead of their
22816 # values after options handling. Logging --version etc. is OK.
22820 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22821 ## Running $as_me. ##
22826 This file was extended by $as_me, which was
22827 generated by GNU Autoconf 2.59. Invocation command line was
22829 CONFIG_FILES = $CONFIG_FILES
22830 CONFIG_HEADERS = $CONFIG_HEADERS
22831 CONFIG_LINKS = $CONFIG_LINKS
22832 CONFIG_COMMANDS = $CONFIG_COMMANDS
22836 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22840 # Files that config.status was made for.
22841 if test -n "$ac_config_files"; then
22842 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22845 if test -n "$ac_config_headers"; then
22846 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22849 if test -n "$ac_config_links"; then
22850 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22853 if test -n "$ac_config_commands"; then
22854 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22857 cat >>$CONFIG_STATUS <<\_ACEOF
22860 \`$as_me' instantiates files from templates according to the
22861 current configuration.
22863 Usage: $0 [OPTIONS] [FILE]...
22865 -h, --help print this help, then exit
22866 -V, --version print version number, then exit
22867 -q, --quiet do not print progress messages
22868 -d, --debug don't remove temporary files
22869 --recheck update $as_me by reconfiguring in the same conditions
22870 --file=FILE[:TEMPLATE]
22871 instantiate the configuration file FILE
22872 --header=FILE[:TEMPLATE]
22873 instantiate the configuration header FILE
22875 Configuration files:
22878 Configuration headers:
22881 Configuration commands:
22884 Report bugs to <bug-autoconf@gnu.org>."
22887 cat >>$CONFIG_STATUS <<_ACEOF
22890 configured by $0, generated by GNU Autoconf 2.59,
22891 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
22893 Copyright (C) 2003 Free Software Foundation, Inc.
22894 This config.status script is free software; the Free Software Foundation
22895 gives unlimited permission to copy, distribute and modify it."
22900 cat >>$CONFIG_STATUS <<\_ACEOF
22901 # If no file are specified by the user, then we need to provide default
22902 # value. By we need to know if files were specified by the user.
22908 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
22909 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
22917 *) # This is not an option, so the user has probably given explicit
22920 ac_need_defaults
=false
;;
22924 # Handling of the options.
22926 cat >>$CONFIG_STATUS <<\_ACEOF
22927 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22929 --version |
--vers* |
-V )
22930 echo "$ac_cs_version"; exit 0 ;;
22932 # Conflict between --help and --header
22933 { { echo "$as_me:$LINENO: error: ambiguous option: $1
22934 Try \`$0 --help' for more information." >&5
22935 echo "$as_me: error: ambiguous option: $1
22936 Try \`$0 --help' for more information." >&2;}
22937 { (exit 1); exit 1; }; };;
22938 --help |
--hel |
-h )
22939 echo "$ac_cs_usage"; exit 0 ;;
22940 --debug |
--d* |
-d )
22942 --file |
--fil |
--fi |
--f )
22944 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22945 ac_need_defaults
=false
;;
22946 --header |
--heade |
--head |
--hea )
22948 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22949 ac_need_defaults
=false
;;
22950 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22951 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22954 # This is an error.
22955 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22956 Try \`$0 --help' for more information." >&5
22957 echo "$as_me: error: unrecognized option: $1
22958 Try \`$0 --help' for more information." >&2;}
22959 { (exit 1); exit 1; }; } ;;
22961 *) ac_config_targets
="$ac_config_targets $1" ;;
22967 ac_configure_extra_args
=
22969 if $ac_cs_silent; then
22971 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22975 cat >>$CONFIG_STATUS <<_ACEOF
22976 if \$ac_cs_recheck; then
22977 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22978 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22983 cat >>$CONFIG_STATUS <<_ACEOF
22985 # INIT-COMMANDS section.
22988 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22991 # The HP-UX ksh and POSIX shell print the target directory to stdout
22992 # if CDPATH is set.
22993 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22995 sed_quote_subst='$sed_quote_subst'
22996 double_quote_subst='$double_quote_subst'
22997 delay_variable_subst='$delay_variable_subst'
22998 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
22999 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
23000 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
23001 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
23002 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
23003 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
23004 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
23005 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
23006 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
23007 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
23008 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
23009 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
23010 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
23011 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
23012 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
23013 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
23014 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
23015 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
23016 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
23017 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
23018 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
23019 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
23020 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
23021 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
23022 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
23023 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
23024 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
23025 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23026 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
23027 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
23028 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
23029 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
23030 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
23031 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
23032 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
23033 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23034 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23035 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23036 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
23037 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
23038 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
23039 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
23040 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
23041 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
23042 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"`'
23043 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
23044 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
23045 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
23046 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
23047 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
23048 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
23049 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
23050 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
23051 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
23052 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
23053 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
23054 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
23055 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
23056 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
23057 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
23058 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
23059 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
23060 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23061 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23062 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
23063 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
23064 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
23065 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
23066 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
23067 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23068 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23069 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23070 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23071 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23072 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23073 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
23074 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
23075 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
23076 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
23077 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
23078 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
23079 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
23080 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
23081 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
23082 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23083 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
23084 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
23085 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
23086 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
23087 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
23088 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23089 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
23090 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
23091 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23092 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
23093 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
23094 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
23095 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
23096 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
23097 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23098 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23099 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
23100 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
23101 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
23102 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
23103 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23104 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23105 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23106 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
23107 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
23108 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
23109 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
23110 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
23111 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
23112 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
23113 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
23114 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
23115 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
23118 LTCFLAGS='$LTCFLAGS'
23119 compiler='$compiler_DEFAULT'
23121 # Quote evaled strings.
23133 deplibs_check_method \
23142 lt_cv_sys_global_symbol_pipe \
23143 lt_cv_sys_global_symbol_to_cdecl \
23144 lt_cv_sys_global_symbol_to_c_name_address \
23145 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
23148 lt_prog_compiler_no_builtin_flag \
23149 lt_prog_compiler_wl \
23150 lt_prog_compiler_pic \
23151 lt_prog_compiler_static \
23152 lt_cv_prog_compiler_c_o \
23160 export_dynamic_flag_spec \
23161 whole_archive_flag_spec \
23162 compiler_needs_object \
23164 allow_undefined_flag \
23165 no_undefined_flag \
23166 hardcode_libdir_flag_spec \
23167 hardcode_libdir_flag_spec_ld \
23168 hardcode_libdir_separator \
23173 variables_saved_for_relink \
23175 library_names_spec \
23180 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
23181 *[\\\\\\\`\\"\\\$]*)
23182 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
23185 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23190 # Double-quote double-evaled strings.
23191 for var in reload_cmds \
23192 old_postinstall_cmds \
23193 old_postuninstall_cmds \
23195 extract_expsyms_cmds \
23196 old_archive_from_new_cmds \
23197 old_archive_from_expsyms_cmds \
23199 archive_expsym_cmds \
23201 module_expsym_cmds \
23202 export_symbols_cmds \
23205 postuninstall_cmds \
23207 sys_lib_search_path_spec \
23208 sys_lib_dlsearch_path_spec; do
23209 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
23210 *[\\\\\\\`\\"\\\$]*)
23211 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
23214 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23219 # Fix-up fallback echo if it was mangled by the above quoting rules.
23221 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
23225 ac_aux_dir='$ac_aux_dir'
23226 xsi_shell='$xsi_shell'
23227 lt_shell_append='$lt_shell_append'
23229 # See if we are running on zsh, and set the options which allow our
23230 # commands through without removal of \ escapes INIT.
23231 if test -n "\${ZSH_VERSION+set}" ; then
23232 setopt NO_GLOB_SUBST
23238 TIMESTAMP='$TIMESTAMP'
23244 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
23245 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
23247 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
23248 # Capture the value of LINGUAS because we need it to compute CATALOGS.
23249 LINGUAS="${LINGUAS-%UNSET%}"
23254 acx_cv_header_stdint="$acx_cv_header_stdint"
23255 acx_cv_type_int8_t="$acx_cv_type_int8_t"
23256 acx_cv_type_int16_t="$acx_cv_type_int16_t"
23257 acx_cv_type_int32_t="$acx_cv_type_int32_t"
23258 acx_cv_type_int64_t="$acx_cv_type_int64_t"
23259 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
23260 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
23261 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
23262 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
23263 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
23264 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
23265 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
23266 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
23267 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
23275 cat >>$CONFIG_STATUS <<\_ACEOF
23276 for ac_config_target
in $ac_config_targets
23278 case "$ac_config_target" in
23279 # Handling of arguments.
23280 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23281 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
23282 "bfd-in3.h" ) CONFIG_FILES
="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
23283 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
23284 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23285 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
23286 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
23287 "bfd_stdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS bfd_stdint.h" ;;
23288 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
23289 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
23290 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23291 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23292 { (exit 1); exit 1; }; };;
23296 # If the user did not use the arguments to specify the items to instantiate,
23297 # then the envvar interface is used. Set only those that are not.
23298 # We use the long form for the default assignment because of an extremely
23299 # bizarre bug on SunOS 4.1.3.
23300 if $ac_need_defaults; then
23301 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23302 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23303 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23306 # Have a temporary directory for convenience. Make it in the build tree
23307 # simply because there is no reason to put it here, and in addition,
23308 # creating and moving files from /tmp can sometimes cause problems.
23309 # Create a temporary directory, and hook for its removal unless debugging.
23312 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23313 trap '{ (exit 1); exit 1; }' 1 2 13 15
23316 # Create a (secure) tmp directory for tmp files.
23319 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23320 test -n "$tmp" && test -d "$tmp"
23323 tmp
=.
/confstat$$
-$RANDOM
23324 (umask 077 && mkdir
$tmp)
23327 echo "$me: cannot create a temporary directory in ." >&2
23328 { (exit 1); exit 1; }
23333 cat >>$CONFIG_STATUS <<_ACEOF
23336 # CONFIG_FILES section.
23339 # No need to generate the scripts if there are no CONFIG_FILES.
23340 # This happens for instance when ./config.status config.h
23341 if test -n "\$CONFIG_FILES"; then
23342 # Protect against being on the right side of a sed subst in config.status.
23343 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23344 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23345 s,@SHELL@,$SHELL,;t t
23346 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23347 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23348 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23349 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23350 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23351 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23352 s,@exec_prefix@,$exec_prefix,;t t
23353 s,@prefix@,$prefix,;t t
23354 s,@program_transform_name@,$program_transform_name,;t t
23355 s,@bindir@,$bindir,;t t
23356 s,@sbindir@,$sbindir,;t t
23357 s,@libexecdir@,$libexecdir,;t t
23358 s,@datadir@,$datadir,;t t
23359 s,@sysconfdir@,$sysconfdir,;t t
23360 s,@sharedstatedir@,$sharedstatedir,;t t
23361 s,@localstatedir@,$localstatedir,;t t
23362 s,@libdir@,$libdir,;t t
23363 s,@includedir@,$includedir,;t t
23364 s,@oldincludedir@,$oldincludedir,;t t
23365 s,@infodir@,$infodir,;t t
23366 s,@mandir@,$mandir,;t t
23367 s,@build_alias@,$build_alias,;t t
23368 s,@host_alias@,$host_alias,;t t
23369 s,@target_alias@,$target_alias,;t t
23370 s,@DEFS@,$DEFS,;t t
23371 s,@ECHO_C@,$ECHO_C,;t t
23372 s,@ECHO_N@,$ECHO_N,;t t
23373 s,@ECHO_T@,$ECHO_T,;t t
23374 s,@LIBS@,$LIBS,;t t
23375 s,@build@,$build,;t t
23376 s,@build_cpu@,$build_cpu,;t t
23377 s,@build_vendor@,$build_vendor,;t t
23378 s,@build_os@,$build_os,;t t
23379 s,@host@,$host,;t t
23380 s,@host_cpu@,$host_cpu,;t t
23381 s,@host_vendor@,$host_vendor,;t t
23382 s,@host_os@,$host_os,;t t
23383 s,@target@,$target,;t t
23384 s,@target_cpu@,$target_cpu,;t t
23385 s,@target_vendor@,$target_vendor,;t t
23386 s,@target_os@,$target_os,;t t
23388 s,@CFLAGS@,$CFLAGS,;t t
23389 s,@LDFLAGS@,$LDFLAGS,;t t
23390 s,@CPPFLAGS@,$CPPFLAGS,;t t
23391 s,@ac_ct_CC@,$ac_ct_CC,;t t
23392 s,@EXEEXT@,$EXEEXT,;t t
23393 s,@OBJEXT@,$OBJEXT,;t t
23394 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23395 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23396 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23397 s,@CYGPATH_W@,$CYGPATH_W,;t t
23398 s,@PACKAGE@,$PACKAGE,;t t
23399 s,@VERSION@,$VERSION,;t t
23400 s,@ACLOCAL@,$ACLOCAL,;t t
23401 s,@AUTOCONF@,$AUTOCONF,;t t
23402 s,@AUTOMAKE@,$AUTOMAKE,;t t
23403 s,@AUTOHEADER@,$AUTOHEADER,;t t
23404 s,@MAKEINFO@,$MAKEINFO,;t t
23405 s,@install_sh@,$install_sh,;t t
23406 s,@STRIP@,$STRIP,;t t
23407 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23408 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
23409 s,@mkdir_p@,$mkdir_p,;t t
23411 s,@SET_MAKE@,$SET_MAKE,;t t
23412 s,@am__leading_dot@,$am__leading_dot,;t t
23413 s,@AMTAR@,$AMTAR,;t t
23414 s,@am__tar@,$am__tar,;t t
23415 s,@am__untar@,$am__untar,;t t
23416 s,@DEPDIR@,$DEPDIR,;t t
23417 s,@am__include@,$am__include,;t t
23418 s,@am__quote@,$am__quote,;t t
23419 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
23420 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
23421 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
23422 s,@CCDEPMODE@,$CCDEPMODE,;t t
23423 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
23424 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
23426 s,@ac_ct_AR@,$ac_ct_AR,;t t
23427 s,@RANLIB@,$RANLIB,;t t
23428 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23430 s,@EGREP@,$EGREP,;t t
23431 s,@LIBTOOL@,$LIBTOOL,;t t
23433 s,@FGREP@,$FGREP,;t t
23434 s,@GREP@,$GREP,;t t
23436 s,@DUMPBIN@,$DUMPBIN,;t t
23437 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
23439 s,@LN_S@,$LN_S,;t t
23440 s,@OBJDUMP@,$OBJDUMP,;t t
23441 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
23442 s,@lt_ECHO@,$lt_ECHO,;t t
23443 s,@DSYMUTIL@,$DSYMUTIL,;t t
23444 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
23445 s,@NMEDIT@,$NMEDIT,;t t
23446 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
23447 s,@LIPO@,$LIPO,;t t
23448 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
23449 s,@OTOOL@,$OTOOL,;t t
23450 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
23451 s,@OTOOL64@,$OTOOL64,;t t
23452 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
23453 s,@DEBUGDIR@,$DEBUGDIR,;t t
23454 s,@PKGVERSION@,$PKGVERSION,;t t
23455 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
23456 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t
23457 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
23458 s,@NO_WERROR@,$NO_WERROR,;t t
23459 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
23460 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
23461 s,@MAINT@,$MAINT,;t t
23462 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
23463 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
23464 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
23465 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
23466 s,@host_noncanonical@,$host_noncanonical,;t t
23467 s,@target_noncanonical@,$target_noncanonical,;t t
23468 s,@bfdlibdir@,$bfdlibdir,;t t
23469 s,@bfdincludedir@,$bfdincludedir,;t t
23470 s,@USE_NLS@,$USE_NLS,;t t
23471 s,@LIBINTL@,$LIBINTL,;t t
23472 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
23473 s,@INCINTL@,$INCINTL,;t t
23474 s,@XGETTEXT@,$XGETTEXT,;t t
23475 s,@GMSGFMT@,$GMSGFMT,;t t
23476 s,@POSUB@,$POSUB,;t t
23477 s,@CATALOGS@,$CATALOGS,;t t
23478 s,@DATADIRNAME@,$DATADIRNAME,;t t
23479 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
23480 s,@GENCAT@,$GENCAT,;t t
23481 s,@CATOBJEXT@,$CATOBJEXT,;t t
23482 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
23483 s,@MSGFMT@,$MSGFMT,;t t
23484 s,@MSGMERGE@,$MSGMERGE,;t t
23485 s,@HDEFINES@,$HDEFINES,;t t
23486 s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
23487 s,@BFD_HOST_64BIT_LONG_LONG@,$BFD_HOST_64BIT_LONG_LONG,;t t
23488 s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
23489 s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
23490 s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
23491 s,@BFD_HOSTPTR_T@,$BFD_HOSTPTR_T,;t t
23492 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
23493 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
23494 s,@COREFILE@,$COREFILE,;t t
23495 s,@COREFLAG@,$COREFLAG,;t t
23496 s,@LIBM@,$LIBM,;t t
23497 s,@SHARED_LDFLAGS@,$SHARED_LDFLAGS,;t t
23498 s,@SHARED_LIBADD@,$SHARED_LIBADD,;t t
23499 s,@TDEFINES@,$TDEFINES,;t t
23500 s,@wordsize@,$wordsize,;t t
23501 s,@bfd64_libs@,$bfd64_libs,;t t
23502 s,@all_backends@,$all_backends,;t t
23503 s,@bfd_backends@,$bfd_backends,;t t
23504 s,@bfd_machines@,$bfd_machines,;t t
23505 s,@bfd_default_target_size@,$bfd_default_target_size,;t t
23506 s,@bfd_file_ptr@,$bfd_file_ptr,;t t
23507 s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
23508 s,@tdefaults@,$tdefaults,;t t
23509 s,@datarootdir@,$datarootdir,;t t
23510 s,@docdir@,$docdir,;t t
23511 s,@htmldir@,$htmldir,;t t
23512 s,@pdfdir@,$pdfdir,;t t
23513 s,@LIBOBJS@,$LIBOBJS,;t t
23514 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23519 cat >>$CONFIG_STATUS <<\_ACEOF
23520 # Split the substitutions into bite-sized pieces for seds with
23521 # small command number limits, like on Digital OSF/1 and HP-UX.
23522 ac_max_sed_lines
=48
23523 ac_sed_frag
=1 # Number of current file.
23524 ac_beg
=1 # First line for current file.
23525 ac_end
=$ac_max_sed_lines # Line after last line for current file.
23528 while $ac_more_lines; do
23529 if test $ac_beg -gt 1; then
23530 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
23532 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
23534 if test ! -s $tmp/subs.frag
; then
23535 ac_more_lines
=false
23537 # The purpose of the label and of the branching condition is to
23538 # speed up the sed processing (if there are no `@' at all, there
23539 # is no need to browse any of the substitutions).
23540 # These are the two extra sed commands mentioned above.
23542 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
23543 if test -z "$ac_sed_cmds"; then
23544 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
23546 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23548 ac_sed_frag
=`expr $ac_sed_frag + 1`
23550 ac_end
=`expr $ac_end + $ac_max_sed_lines`
23553 if test -z "$ac_sed_cmds"; then
23556 fi # test -n "$CONFIG_FILES"
23559 cat >>$CONFIG_STATUS <<\_ACEOF
23560 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
23561 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23563 - |
*:- |
*:-:* ) # input from stdin
23565 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23566 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23567 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23568 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23569 * ) ac_file_in
=$ac_file.
in ;;
23572 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23573 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23574 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23575 X"$ac_file" : 'X\(//\)[^/]' \| \
23576 X"$ac_file" : 'X\(//\)$' \| \
23577 X"$ac_file" : 'X\(/\)' \| \
23578 . : '\(.\)' 2>/dev/null ||
23580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23581 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23582 /^X\(\/\/\)$/{ s//\1/; q; }
23583 /^X\(\/\).*/{ s//\1/; q; }
23585 { if $as_mkdir_p; then
23590 while test ! -d "$as_dir"; do
23591 as_dirs
="$as_dir $as_dirs"
23592 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23593 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23594 X"$as_dir" : 'X\(//\)[^/]' \| \
23595 X"$as_dir" : 'X\(//\)$' \| \
23596 X"$as_dir" : 'X\(/\)' \| \
23597 . : '\(.\)' 2>/dev/null ||
23599 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23600 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23601 /^X\(\/\/\)$/{ s//\1/; q; }
23602 /^X\(\/\).*/{ s//\1/; q; }
23605 test ! -n "$as_dirs" || mkdir
$as_dirs
23606 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23607 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23608 { (exit 1); exit 1; }; }; }
23612 if test "$ac_dir" != .
; then
23613 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23614 # A "../" for each directory in $ac_dir_suffix.
23615 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23617 ac_dir_suffix
= ac_top_builddir
=
23621 .
) # No --srcdir option. We are building in place.
23623 if test -z "$ac_top_builddir"; then
23626 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23628 [\\/]* | ?
:[\\/]* ) # Absolute path.
23629 ac_srcdir
=$srcdir$ac_dir_suffix;
23630 ac_top_srcdir
=$srcdir ;;
23631 *) # Relative path.
23632 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23633 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23636 # Do not use `cd foo && pwd` to compute absolute paths, because
23637 # the directories may not exist.
23639 .
) ac_abs_builddir
="$ac_dir";;
23642 .
) ac_abs_builddir
=`pwd`;;
23643 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23644 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23647 case $ac_abs_builddir in
23648 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23650 case ${ac_top_builddir}.
in
23651 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23652 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23653 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23656 case $ac_abs_builddir in
23657 .
) ac_abs_srcdir
=$ac_srcdir;;
23660 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23661 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23662 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23665 case $ac_abs_builddir in
23666 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23668 case $ac_top_srcdir in
23669 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23670 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23671 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23677 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23678 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
23681 if test x
"$ac_file" != x-
; then
23682 { echo "$as_me:$LINENO: creating $ac_file" >&5
23683 echo "$as_me: creating $ac_file" >&6;}
23686 # Let's still pretend it is `configure' which instantiates (i.e., don't
23687 # use $as_me), people would be surprised to read:
23688 # /* config.h. Generated by config.status. */
23689 if test x
"$ac_file" = x-
; then
23692 configure_input
="$ac_file. "
23694 configure_input
=$configure_input"Generated from `echo $ac_file_in |
23695 sed 's,.*/,,'` by configure."
23697 # First look for the input files in the build tree, otherwise in the
23699 ac_file_inputs
=`IFS=:
23700 for f in $ac_file_in; do
23702 -) echo $tmp/stdin ;;
23704 # Absolute (can't be DOS-style, as IFS=:)
23705 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23706 echo "$as_me: error: cannot find input file: $f" >&2;}
23707 { (exit 1); exit 1; }; }
23710 if test -f "$f"; then
23713 elif test -f "$srcdir/$f"; then
23718 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23719 echo "$as_me: error: cannot find input file: $f" >&2;}
23720 { (exit 1); exit 1; }; }
23723 done` ||
{ (exit 1); exit 1; }
23725 cat >>$CONFIG_STATUS <<_ACEOF
23729 cat >>$CONFIG_STATUS <<\_ACEOF
23731 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23732 s
,@configure_input@
,$configure_input,;t t
23733 s
,@srcdir@
,$ac_srcdir,;t t
23734 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
23735 s
,@top_srcdir@
,$ac_top_srcdir,;t t
23736 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
23737 s
,@builddir@
,$ac_builddir,;t t
23738 s
,@abs_builddir@
,$ac_abs_builddir,;t t
23739 s
,@top_builddir@
,$ac_top_builddir,;t t
23740 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
23741 s
,@INSTALL@
,$ac_INSTALL,;t t
23742 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23744 if test x"$ac_file" != x-; then
23745 mv $tmp/out $ac_file
23753 cat >>$CONFIG_STATUS <<\_ACEOF
23756 # CONFIG_HEADER section.
23759 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
23760 # NAME is the cpp macro being defined and VALUE is the value it is being given.
23762 # ac_d sets the value in "#define NAME VALUE" lines.
23763 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23764 ac_dB
='[ ].*$,\1#\2'
23767 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23768 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23769 ac_uB
='$,\1#\2define\3'
23773 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
23774 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23776 - |
*:- |
*:-:* ) # input from stdin
23778 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23779 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23780 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23781 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23782 * ) ac_file_in
=$ac_file.
in ;;
23785 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
23786 echo "$as_me: creating $ac_file" >&6;}
23788 # First look for the input files in the build tree, otherwise in the
23790 ac_file_inputs
=`IFS=:
23791 for f in $ac_file_in; do
23793 -) echo $tmp/stdin ;;
23795 # Absolute (can't be DOS-style, as IFS=:)
23796 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23797 echo "$as_me: error: cannot find input file: $f" >&2;}
23798 { (exit 1); exit 1; }; }
23799 # Do quote $f, to prevent DOS paths from being IFS'd.
23802 if test -f "$f"; then
23805 elif test -f "$srcdir/$f"; then
23810 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23811 echo "$as_me: error: cannot find input file: $f" >&2;}
23812 { (exit 1); exit 1; }; }
23815 done` ||
{ (exit 1); exit 1; }
23816 # Remove the trailing spaces.
23817 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
23821 # Transform confdefs.h into two sed scripts, `conftest.defines' and
23822 # `conftest.undefs', that substitutes the proper values into
23823 # config.h.in to produce config.h. The first handles `#define'
23824 # templates, and the second `#undef' templates.
23825 # And first: Protect against being on the right side of a sed subst in
23826 # config.status. Protect against being in an unquoted here document
23827 # in config.status.
23828 rm -f conftest.defines conftest.undefs
23829 # Using a here document instead of a string reduces the quoting nightmare.
23830 # Putting comments in sed scripts is not portable.
23832 # `end' is used to avoid that the second main sed command (meant for
23833 # 0-ary CPP macros) applies to n-ary macro definitions.
23834 # See the Autoconf documentation for `clear'.
23835 cat >confdef2sed.
sed <<\_ACEOF
23840 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23842 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23845 # If some macros were called several times there might be several times
23846 # the same #defines, which is useless. Nevertheless, we may not want to
23847 # sort them, since we want the *last* AC-DEFINE to be honored.
23848 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23849 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23850 rm -f confdef2sed.sed
23852 # This sed command replaces #undef with comments. This is necessary, for
23853 # example, in the case of _POSIX_SOURCE, which is predefined and required
23854 # on some systems where configure will not decide to define it.
23855 cat >>conftest.undefs <<\_ACEOF
23856 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23859 # Break up conftest.defines because some shells have a limit on the size
23860 # of here documents, and old seds have small limits too (100 cmds).
23861 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23862 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23863 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23864 echo ' :' >>$CONFIG_STATUS
23865 rm -f conftest.tail
23866 while grep . conftest.defines >/dev/null
23868 # Write a limited-size here document to $tmp/defines.sed.
23869 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23870 # Speed up: don't consider the non `#define' lines.
23871 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
23872 # Work around the forget-to-reset-the-flag bug.
23873 echo 't clr' >>$CONFIG_STATUS
23874 echo ': clr' >>$CONFIG_STATUS
23875 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
23877 sed -f $tmp/defines.sed $tmp/in >$tmp/out
23879 mv $tmp/out $tmp/in
23881 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
23882 rm -f conftest.defines
23883 mv conftest.
tail conftest.defines
23885 rm -f conftest.defines
23886 echo ' fi # grep' >>$CONFIG_STATUS
23887 echo >>$CONFIG_STATUS
23889 # Break up conftest.undefs because some shells have a limit on the size
23890 # of here documents, and old seds have small limits too (100 cmds).
23891 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23892 rm -f conftest.
tail
23893 while grep . conftest.undefs
>/dev
/null
23895 # Write a limited-size here document to $tmp/undefs.sed.
23896 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23897 # Speed up: don't consider the non
`#undef'
23898 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23899 # Work around the forget-to-reset-the-flag bug.
23900 echo 't clr' >>$CONFIG_STATUS
23901 echo ': clr' >>$CONFIG_STATUS
23902 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23904 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23906 mv $tmp/out $tmp/in
23908 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23909 rm -f conftest.undefs
23910 mv conftest.tail conftest.undefs
23912 rm -f conftest.undefs
23914 cat >>$CONFIG_STATUS <<\_ACEOF
23915 # Let's still pretend it is `configure
' which instantiates (i.e., don't
23916 # use $as_me), people would be surprised to read:
23917 # /* config.h. Generated by config.status. */
23918 if test x
"$ac_file" = x-
; then
23919 echo "/* Generated by configure. */" >$tmp/config.h
23921 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23923 cat $tmp/in >>$tmp/config.h
23925 if test x
"$ac_file" != x-
; then
23926 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
23927 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23928 echo "$as_me: $ac_file is unchanged" >&6;}
23930 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23931 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23932 X"$ac_file" : 'X\(//\)[^/]' \| \
23933 X"$ac_file" : 'X\(//\)$' \| \
23934 X"$ac_file" : 'X\(/\)' \| \
23935 . : '\(.\)' 2>/dev/null ||
23937 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23938 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23939 /^X\(\/\/\)$/{ s//\1/; q; }
23940 /^X\(\/\).*/{ s//\1/; q; }
23942 { if $as_mkdir_p; then
23947 while test ! -d "$as_dir"; do
23948 as_dirs
="$as_dir $as_dirs"
23949 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23950 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23951 X"$as_dir" : 'X\(//\)[^/]' \| \
23952 X"$as_dir" : 'X\(//\)$' \| \
23953 X"$as_dir" : 'X\(/\)' \| \
23954 . : '\(.\)' 2>/dev/null ||
23956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23957 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23958 /^X\(\/\/\)$/{ s//\1/; q; }
23959 /^X\(\/\).*/{ s//\1/; q; }
23962 test ! -n "$as_dirs" || mkdir
$as_dirs
23963 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23964 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23965 { (exit 1); exit 1; }; }; }
23968 mv $tmp/config.h
$ac_file
23972 rm -f $tmp/config.h
23974 # Compute $ac_file's index in $config_headers.
23976 for _am_header
in $config_headers :; do
23977 case $_am_header in
23978 $ac_file |
$ac_file:* )
23981 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23984 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
23985 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23986 X$ac_file : 'X\(//\)[^/]' \| \
23987 X$ac_file : 'X\(//\)$' \| \
23988 X$ac_file : 'X\(/\)' \| \
23989 . : '\(.\)' 2>/dev/null ||
23991 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23992 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23993 /^X\(\/\/\)$/{ s//\1/; q; }
23994 /^X\(\/\).*/{ s//\1/; q; }
23995 s/.*/./; q'`/stamp-h
$_am_stamp_count
23998 cat >>$CONFIG_STATUS <<\_ACEOF
24001 # CONFIG_COMMANDS section.
24003 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
24004 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
24005 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24006 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
24007 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24008 X"$ac_dest" : 'X\(//\)[^/]' \| \
24009 X"$ac_dest" : 'X\(//\)$' \| \
24010 X"$ac_dest" : 'X\(/\)' \| \
24011 . : '\(.\)' 2>/dev/null ||
24013 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24014 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24015 /^X\(\/\/\)$/{ s//\1/; q; }
24016 /^X\(\/\).*/{ s//\1/; q; }
24018 { if $as_mkdir_p; then
24023 while test ! -d "$as_dir"; do
24024 as_dirs
="$as_dir $as_dirs"
24025 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24026 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24027 X"$as_dir" : 'X\(//\)[^/]' \| \
24028 X"$as_dir" : 'X\(//\)$' \| \
24029 X"$as_dir" : 'X\(/\)' \| \
24030 . : '\(.\)' 2>/dev/null ||
24032 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24033 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24034 /^X\(\/\/\)$/{ s//\1/; q; }
24035 /^X\(\/\).*/{ s//\1/; q; }
24038 test ! -n "$as_dirs" || mkdir
$as_dirs
24039 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24040 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24041 { (exit 1); exit 1; }; }; }
24045 if test "$ac_dir" != .
; then
24046 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24047 # A "../" for each directory in $ac_dir_suffix.
24048 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24050 ac_dir_suffix
= ac_top_builddir
=
24054 .
) # No --srcdir option. We are building in place.
24056 if test -z "$ac_top_builddir"; then
24059 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
24061 [\\/]* | ?
:[\\/]* ) # Absolute path.
24062 ac_srcdir
=$srcdir$ac_dir_suffix;
24063 ac_top_srcdir
=$srcdir ;;
24064 *) # Relative path.
24065 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
24066 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
24069 # Do not use `cd foo && pwd` to compute absolute paths, because
24070 # the directories may not exist.
24072 .
) ac_abs_builddir
="$ac_dir";;
24075 .
) ac_abs_builddir
=`pwd`;;
24076 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
24077 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
24080 case $ac_abs_builddir in
24081 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24083 case ${ac_top_builddir}.
in
24084 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
24085 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24086 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
24089 case $ac_abs_builddir in
24090 .
) ac_abs_srcdir
=$ac_srcdir;;
24093 .
) ac_abs_srcdir
=$ac_abs_builddir;;
24094 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
24095 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
24098 case $ac_abs_builddir in
24099 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
24101 case $ac_top_srcdir in
24102 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
24103 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
24104 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
24109 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24110 echo "$as_me: executing $ac_dest commands" >&6;}
24112 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
24113 # Strip MF so we end up with the name of the file.
24114 mf
=`echo "$mf" | sed -e 's/:.*$//'`
24115 # Check whether this is an Automake generated Makefile or not.
24116 # We used to match only the files named `Makefile.in', but
24117 # some people rename them; so instead we look at the file content.
24118 # Grep'ing the first line is not enough: some people post-process
24119 # each Makefile.in and add a new line on top of each file to say so.
24120 # So let's grep whole file.
24121 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
24122 dirpart
=`(dirname "$mf") 2>/dev/null ||
24123 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24124 X"$mf" : 'X\(//\)[^/]' \| \
24125 X"$mf" : 'X\(//\)$' \| \
24126 X"$mf" : 'X\(/\)' \| \
24127 . : '\(.\)' 2>/dev/null ||
24129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24130 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24131 /^X\(\/\/\)$/{ s//\1/; q; }
24132 /^X\(\/\).*/{ s//\1/; q; }
24137 # Extract the definition of DEPDIR, am__include, and am__quote
24138 # from the Makefile without running `make'.
24139 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
24140 test -z "$DEPDIR" && continue
24141 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
24142 test -z "am__include" && continue
24143 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
24144 # When using ansi2knr, U may be empty or an underscore; expand it
24145 U
=`sed -n 's/^U = //p' < "$mf"`
24146 # Find all dependency output files, they are included files with
24147 # $(DEPDIR) in their names. We invoke sed twice because it is the
24148 # simplest approach to changing $(DEPDIR) to its actual value in the
24150 for file in `sed -n "
24151 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24152 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24153 # Make sure the directory exists.
24154 test -f "$dirpart/$file" && continue
24155 fdir
=`(dirname "$file") 2>/dev/null ||
24156 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24157 X"$file" : 'X\(//\)[^/]' \| \
24158 X"$file" : 'X\(//\)$' \| \
24159 X"$file" : 'X\(/\)' \| \
24160 . : '\(.\)' 2>/dev/null ||
24162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24163 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24164 /^X\(\/\/\)$/{ s//\1/; q; }
24165 /^X\(\/\).*/{ s//\1/; q; }
24167 { if $as_mkdir_p; then
24168 mkdir
-p $dirpart/$fdir
24170 as_dir
=$dirpart/$fdir
24172 while test ! -d "$as_dir"; do
24173 as_dirs
="$as_dir $as_dirs"
24174 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24175 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24176 X"$as_dir" : 'X\(//\)[^/]' \| \
24177 X"$as_dir" : 'X\(//\)$' \| \
24178 X"$as_dir" : 'X\(/\)' \| \
24179 . : '\(.\)' 2>/dev/null ||
24181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24182 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24183 /^X\(\/\/\)$/{ s//\1/; q; }
24184 /^X\(\/\).*/{ s//\1/; q; }
24187 test ! -n "$as_dirs" || mkdir
$as_dirs
24188 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
24189 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
24190 { (exit 1); exit 1; }; }; }
24192 # echo "creating $dirpart/$file"
24193 echo '# dummy' > "$dirpart/$file"
24199 # See if we are running on zsh, and set the options which allow our
24200 # commands through without removal of \ escapes.
24201 if test -n "${ZSH_VERSION+set}" ; then
24202 setopt NO_GLOB_SUBST
24205 cfgfile
="${ofile}T"
24206 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
24209 cat <<_LT_EOF >> "$cfgfile"
24212 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
24213 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
24214 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24215 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
24217 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
24218 # 2006, 2007, 2008 Free Software Foundation, Inc.
24219 # Written by Gordon Matzigkeit, 1996
24221 # This file is part of GNU Libtool.
24223 # GNU Libtool is free software; you can redistribute it and/or
24224 # modify it under the terms of the GNU General Public License as
24225 # published by the Free Software Foundation; either version 2 of
24226 # the License, or (at your option) any later version.
24228 # As a special exception to the GNU General Public License,
24229 # if you distribute this file as part of a program or library that
24230 # is built using GNU Libtool, you may include this file under the
24231 # same distribution terms that you use for the rest of that program.
24233 # GNU Libtool is distributed in the hope that it will be useful,
24234 # but WITHOUT ANY WARRANTY; without even the implied warranty of
24235 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24236 # GNU General Public License for more details.
24238 # You should have received a copy of the GNU General Public License
24239 # along with GNU Libtool; see the file COPYING. If not, a copy
24240 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
24241 # obtained by writing to the Free Software Foundation, Inc.,
24242 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24245 # The names of the tagged configurations supported by this script.
24248 # ### BEGIN LIBTOOL CONFIG
24250 # Whether or not to build shared libraries.
24251 build_libtool_libs=$enable_shared
24253 # Which release of libtool.m4 was used?
24254 macro_version=$macro_version
24255 macro_revision=$macro_revision
24257 # Whether or not to build static libraries.
24258 build_old_libs=$enable_static
24260 # What type of objects to build.
24263 # Whether or not to optimize for fast installation.
24264 fast_install=$enable_fast_install
24267 host_alias=$host_alias
24271 # The build system.
24272 build_alias=$build_alias
24276 # A sed program that does not truncate output.
24279 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
24280 Xsed="\$SED -e 1s/^X//"
24282 # A grep program that handles long lines.
24288 # A literal string matcher.
24291 # A BSD- or MS-compatible name lister.
24294 # Whether we need soft or hard links.
24297 # What is the maximum length of a command?
24298 max_cmd_len=$max_cmd_len
24300 # Object file suffix (normally "o").
24303 # Executable file suffix (normally "").
24306 # whether the shell understands "unset".
24309 # turn spaces into newlines.
24312 # turn newlines into spaces.
24315 # How to create reloadable object files.
24316 reload_flag=$lt_reload_flag
24317 reload_cmds=$lt_reload_cmds
24319 # An object symbol dumper.
24320 OBJDUMP=$lt_OBJDUMP
24322 # Method to check whether dependent libraries are shared objects.
24323 deplibs_check_method=$lt_deplibs_check_method
24325 # Command to use when deplibs_check_method == "file_magic".
24326 file_magic_cmd=$lt_file_magic_cmd
24330 AR_FLAGS=$lt_AR_FLAGS
24332 # A symbol stripping program.
24335 # Commands used to install an old-style archive.
24337 old_postinstall_cmds=$lt_old_postinstall_cmds
24338 old_postuninstall_cmds=$lt_old_postuninstall_cmds
24343 # LTCC compiler flags.
24344 LTCFLAGS=$lt_CFLAGS
24346 # Take the output of nm and produce a listing of raw symbols and C names.
24347 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24349 # Transform the output of nm in a proper C declaration.
24350 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24352 # Transform the output of nm in a C name address pair.
24353 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24355 # Transform the output of nm in a C name address pair when lib prefix is needed.
24356 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
24358 # The name of the directory that contains temporary libtool files.
24361 # Shell to use when invoking shell scripts.
24364 # An echo program that does not interpret backslashes.
24367 # Used to examine libraries when file_magic_cmd begins with "file".
24368 MAGIC_CMD=$MAGIC_CMD
24370 # Must we lock files when doing compilation?
24371 need_locks=$lt_need_locks
24373 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
24374 DSYMUTIL=$lt_DSYMUTIL
24376 # Tool to change global to local symbols on Mac OS X.
24379 # Tool to manipulate fat objects and archives on Mac OS X.
24382 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
24385 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
24386 OTOOL64=$lt_OTOOL64
24388 # Old archive suffix (normally "a").
24391 # Shared library suffix (normally ".so").
24392 shrext_cmds=$lt_shrext_cmds
24394 # The commands to extract the exported symbol list from a shared archive.
24395 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24397 # Variables whose values should be saved in libtool wrapper scripts and
24398 # restored at link time.
24399 variables_saved_for_relink=$lt_variables_saved_for_relink
24401 # Do we need the "lib" prefix for modules?
24402 need_lib_prefix=$need_lib_prefix
24404 # Do we need a version for libraries?
24405 need_version=$need_version
24407 # Library versioning type.
24408 version_type=$version_type
24410 # Shared library runtime path variable.
24411 runpath_var=$runpath_var
24413 # Shared library path variable.
24414 shlibpath_var=$shlibpath_var
24416 # Is shlibpath searched before the hard-coded library search path?
24417 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24419 # Format of library name prefix.
24420 libname_spec=$lt_libname_spec
24422 # List of archive names. First name is the real one, the rest are links.
24423 # The last name is the one that the linker finds with -lNAME
24424 library_names_spec=$lt_library_names_spec
24426 # The coded name of the library, if different from the real name.
24427 soname_spec=$lt_soname_spec
24429 # Command to use after installation of a shared archive.
24430 postinstall_cmds=$lt_postinstall_cmds
24432 # Command to use after uninstallation of a shared archive.
24433 postuninstall_cmds=$lt_postuninstall_cmds
24435 # Commands used to finish a libtool library installation in a directory.
24436 finish_cmds=$lt_finish_cmds
24438 # As "finish_cmds", except a single script fragment to be evaled but
24440 finish_eval=$lt_finish_eval
24442 # Whether we should hardcode library paths into libraries.
24443 hardcode_into_libs=$hardcode_into_libs
24445 # Compile-time system search path for libraries.
24446 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24448 # Run-time system search path for libraries.
24449 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24451 # Whether dlopen is supported.
24452 dlopen_support=$enable_dlopen
24454 # Whether dlopen of programs is supported.
24455 dlopen_self=$enable_dlopen_self
24457 # Whether dlopen of statically linked programs is supported.
24458 dlopen_self_static=$enable_dlopen_self_static
24460 # Commands to strip libraries.
24461 old_striplib=$lt_old_striplib
24462 striplib=$lt_striplib
24465 # The linker used to build libraries.
24468 # Commands used to build an old-style archive.
24469 old_archive_cmds=$lt_old_archive_cmds
24471 # A language specific compiler.
24474 # Is the compiler the GNU compiler?
24477 # Compiler flag to turn off builtin functions.
24478 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24480 # How to pass a linker flag through the compiler.
24481 wl=$lt_lt_prog_compiler_wl
24483 # Additional compiler flags for building library objects.
24484 pic_flag=$lt_lt_prog_compiler_pic
24486 # Compiler flag to prevent dynamic linking.
24487 link_static_flag=$lt_lt_prog_compiler_static
24489 # Does compiler simultaneously support -c and -o options?
24490 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24492 # Whether or not to add -lc for building shared libraries.
24493 build_libtool_need_lc=$archive_cmds_need_lc
24495 # Whether or not to disallow shared libs when runtime libs are static.
24496 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24498 # Compiler flag to allow reflexive dlopens.
24499 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24501 # Compiler flag to generate shared objects directly from archives.
24502 whole_archive_flag_spec=$lt_whole_archive_flag_spec
24504 # Whether the compiler copes with passing no objects directly.
24505 compiler_needs_object=$lt_compiler_needs_object
24507 # Create an old-style archive from a shared archive.
24508 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24510 # Create a temporary old-style archive to link instead of a shared archive.
24511 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24513 # Commands used to build a shared archive.
24514 archive_cmds=$lt_archive_cmds
24515 archive_expsym_cmds=$lt_archive_expsym_cmds
24517 # Commands used to build a loadable module if different from building
24518 # a shared archive.
24519 module_cmds=$lt_module_cmds
24520 module_expsym_cmds=$lt_module_expsym_cmds
24522 # Whether we are building with GNU ld or not.
24523 with_gnu_ld=$lt_with_gnu_ld
24525 # Flag that allows shared libraries with undefined symbols to be built.
24526 allow_undefined_flag=$lt_allow_undefined_flag
24528 # Flag that enforces no undefined symbols.
24529 no_undefined_flag=$lt_no_undefined_flag
24531 # Flag to hardcode \$libdir into a binary during linking.
24532 # This must work even if \$libdir does not exist
24533 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24535 # If ld is used when linking, flag to hardcode \$libdir into a binary
24536 # during linking. This must work even if \$libdir does not exist.
24537 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
24539 # Whether we need a single "-rpath" flag with a separated argument.
24540 hardcode_libdir_separator=$lt_hardcode_libdir_separator
24542 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24543 # DIR into the resulting binary.
24544 hardcode_direct=$hardcode_direct
24546 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24547 # DIR into the resulting binary and the resulting library dependency is
24548 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24549 # library is relocated.
24550 hardcode_direct_absolute=$hardcode_direct_absolute
24552 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24553 # into the resulting binary.
24554 hardcode_minus_L=$hardcode_minus_L
24556 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24557 # into the resulting binary.
24558 hardcode_shlibpath_var=$hardcode_shlibpath_var
24560 # Set to "yes" if building a shared library automatically hardcodes DIR
24561 # into the library and all subsequent libraries and executables linked
24563 hardcode_automatic=$hardcode_automatic
24565 # Set to yes if linker adds runtime paths of dependent libraries
24566 # to runtime path list.
24567 inherit_rpath=$inherit_rpath
24569 # Whether libtool must link a program against all its dependency libraries.
24570 link_all_deplibs=$link_all_deplibs
24572 # Fix the shell variable \$srcfile for the compiler.
24573 fix_srcfile_path=$lt_fix_srcfile_path
24575 # Set to "yes" if exported symbols are required.
24576 always_export_symbols=$always_export_symbols
24578 # The commands to list exported symbols.
24579 export_symbols_cmds=$lt_export_symbols_cmds
24581 # Symbols that should not be listed in the preloaded symbols.
24582 exclude_expsyms=$lt_exclude_expsyms
24584 # Symbols that must always be exported.
24585 include_expsyms=$lt_include_expsyms
24587 # Commands necessary for linking programs (against libraries) with templates.
24588 prelink_cmds=$lt_prelink_cmds
24590 # Specify filename containing input files.
24591 file_list_spec=$lt_file_list_spec
24593 # How to hardcode a shared library path into an executable.
24594 hardcode_action=$hardcode_action
24596 # ### END LIBTOOL CONFIG
24602 cat <<\_LT_EOF
>> "$cfgfile"
24603 # AIX sometimes has problems with the GCC collect2 program. For some
24604 # reason, if we set the COLLECT_NAMES environment variable, the problems
24605 # vanish in a puff of smoke.
24606 if test "X${COLLECT_NAMES+set}" != Xset
; then
24608 export COLLECT_NAMES
24615 ltmain
="$ac_aux_dir/ltmain.sh"
24618 # We use sed instead of cat because bash on DJGPP gets confused if
24619 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24620 # text mode, it properly converts lines to CR/LF. This bash problem
24621 # is reportedly fixed, but why not run on old versions too?
24622 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
24623 ||
(rm -f "$cfgfile"; exit 1)
24627 cat << \_LT_EOF
>> "$cfgfile"
24629 # func_dirname file append nondir_replacement
24630 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
24631 # otherwise set result to NONDIR_REPLACEMENT.
24635 */*) func_dirname_result
="${1%/*}${2}" ;;
24636 * ) func_dirname_result
="${3}" ;;
24640 # func_basename file
24643 func_basename_result
="${1##*/}"
24646 # func_dirname_and_basename file append nondir_replacement
24647 # perform func_basename and func_dirname in a single function
24649 # dirname: Compute the dirname of FILE. If nonempty,
24650 # add APPEND to the result, otherwise set result
24651 # to NONDIR_REPLACEMENT.
24652 # value returned in "$func_dirname_result"
24653 # basename: Compute filename of FILE.
24654 # value retuned in "$func_basename_result"
24655 # Implementation must be kept synchronized with func_dirname
24656 # and func_basename. For efficiency, we do not delegate to
24657 # those functions but instead duplicate the functionality here.
24658 func_dirname_and_basename
()
24661 */*) func_dirname_result
="${1%/*}${2}" ;;
24662 * ) func_dirname_result
="${3}" ;;
24664 func_basename_result
="${1##*/}"
24667 # func_stripname prefix suffix name
24668 # strip PREFIX and SUFFIX off of NAME.
24669 # PREFIX and SUFFIX must not contain globbing or regex special
24670 # characters, hashes, percent signs, but SUFFIX may contain a leading
24671 # dot (in which case that matches only a dot).
24674 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
24675 # positional parameters, so assign one to ordinary parameter first.
24676 func_stripname_result
=${3}
24677 func_stripname_result
=${func_stripname_result#"${1}"}
24678 func_stripname_result
=${func_stripname_result%"${2}"}
24684 func_opt_split_opt
=${1%%=*}
24685 func_opt_split_arg
=${1#*=}
24692 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
24693 *) func_lo2o_result
=${1} ;;
24697 # func_xform libobj-or-source
24700 func_xform_result
=${1%.*}.lo
24703 # func_arith arithmetic-term...
24706 func_arith_result
=$
(( $
* ))
24710 # STRING may not start with a hyphen.
24713 func_len_result
=${#1}
24718 *) # Bourne compatible functions.
24719 cat << \_LT_EOF
>> "$cfgfile"
24721 # func_dirname file append nondir_replacement
24722 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
24723 # otherwise set result to NONDIR_REPLACEMENT.
24726 # Extract subdirectory from the argument.
24727 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
24728 if test "X$func_dirname_result" = "X${1}"; then
24729 func_dirname_result
="${3}"
24731 func_dirname_result
="$func_dirname_result${2}"
24735 # func_basename file
24738 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
24742 # func_stripname prefix suffix name
24743 # strip PREFIX and SUFFIX off of NAME.
24744 # PREFIX and SUFFIX must not contain globbing or regex special
24745 # characters, hashes, percent signs, but SUFFIX may contain a leading
24746 # dot (in which case that matches only a dot).
24747 # func_strip_suffix prefix name
24751 .
*) func_stripname_result
=`$ECHO "X${3}" \
24752 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
24753 *) func_stripname_result
=`$ECHO "X${3}" \
24754 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
24759 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
24760 my_sed_long_arg
='1s/^-[^=]*=//'
24765 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
24766 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
24772 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
24775 # func_xform libobj-or-source
24778 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
24781 # func_arith arithmetic-term...
24784 func_arith_result
=`expr "$@"`
24788 # STRING may not start with a hyphen.
24791 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
24797 case $lt_shell_append in
24799 cat << \_LT_EOF
>> "$cfgfile"
24801 # func_append var value
24802 # Append VALUE to the end of shell variable VAR.
24810 cat << \_LT_EOF
>> "$cfgfile"
24812 # func_append var value
24813 # Append VALUE to the end of shell variable VAR.
24824 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
24825 ||
(rm -f "$cfgfile"; exit 1)
24827 mv -f "$cfgfile" "$ofile" ||
24828 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24833 for ac_file
in $CONFIG_FILES; do
24834 # Support "outfile[:infile[:infile...]]"
24836 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
24838 # PO directories have a Makefile.in generated from Makefile.in.in.
24839 case "$ac_file" in */Makefile.
in)
24840 # Adjust a relative srcdir.
24841 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
24842 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
24843 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
24844 # In autoconf-2.13 it is called $ac_given_srcdir.
24845 # In autoconf-2.50 it is called $srcdir.
24846 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
24847 case "$ac_given_srcdir" in
24848 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
24849 /*) top_srcdir
="$ac_given_srcdir" ;;
24850 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
24852 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
24853 rm -f "$ac_dir/POTFILES"
24854 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
24855 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
24856 POMAKEFILEDEPS
="POTFILES.in"
24857 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
24858 # on $ac_dir but don't depend on user-specified configuration
24860 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
24861 # The LINGUAS file contains the set of available languages.
24862 if test -n "$OBSOLETE_ALL_LINGUAS"; then
24863 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
24865 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
24866 # Hide the ALL_LINGUAS assigment from automake.
24867 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
24868 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
24870 # The set of available languages was given in configure.in.
24871 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
24873 case "$ac_given_srcdir" in
24875 *) srcdirpre
='$(srcdir)/' ;;
24881 for lang
in $ALL_LINGUAS; do
24882 POFILES
="$POFILES $srcdirpre$lang.po"
24883 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
24884 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
24885 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
24887 # CATALOGS depends on both $ac_dir and the user's LINGUAS
24888 # environment variable.
24890 if test -n "$ALL_LINGUAS"; then
24891 for presentlang
in $ALL_LINGUAS; do
24893 if test "%UNSET%" != "$LINGUAS"; then
24894 desiredlanguages
="$LINGUAS"
24896 desiredlanguages
="$ALL_LINGUAS"
24898 for desiredlang
in $desiredlanguages; do
24899 # Use the presentlang catalog if desiredlang is
24900 # a. equal to presentlang, or
24901 # b. a variant of presentlang (because in this case,
24902 # presentlang can be used as a fallback for messages
24903 # which are not translated in the desiredlang catalog).
24904 case "$desiredlang" in
24905 "$presentlang"*) useit
=yes;;
24908 if test $useit = yes; then
24909 INST_LINGUAS
="$INST_LINGUAS $presentlang"
24914 if test -n "$INST_LINGUAS"; then
24915 for lang
in $INST_LINGUAS; do
24916 CATALOGS
="$CATALOGS $lang.gmo"
24919 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
24920 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"
24921 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
24922 if test -f "$f"; then
24924 *.orig |
*.bak |
*~
) ;;
24925 *) cat "$f" >> "$ac_dir/Makefile" ;;
24934 if test "$GCC" = yes; then
24935 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
24937 echo "/* generated for $CC */" > tmp-stdint.h
24940 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24942 #ifndef GCC_GENERATED_STDINT_H
24943 #define GCC_GENERATED_STDINT_H 1
24945 #include <sys/types.h>
24948 if test "$acx_cv_header_stdint" != stdint.h
; then
24949 echo "#include <stddef.h>" >> tmp-stdint.h
24951 if test "$acx_cv_header_stdint" != stddef.h
; then
24952 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
24955 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24956 /* glibc uses these symbols as guards to prevent redefinitions. */
24957 #ifdef __int8_t_defined
24962 #ifdef __uint32_t_defined
24968 # ----------------- done header, emit basic int types -------------
24969 if test "$acx_cv_header_stdint" = stddef.h
; then
24970 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24974 #ifndef __uint8_t_defined
24975 #define __uint8_t_defined
24976 typedef unsigned $acx_cv_type_int8_t uint8_t;
24982 #ifndef __uint16_t_defined
24983 #define __uint16_t_defined
24984 typedef unsigned $acx_cv_type_int16_t uint16_t;
24990 #ifndef __uint32_t_defined
24991 #define __uint32_t_defined
24992 typedef unsigned $acx_cv_type_int32_t uint32_t;
24998 #ifndef __int8_t_defined
24999 #define __int8_t_defined
25000 typedef $acx_cv_type_int8_t int8_t;
25006 #ifndef __int16_t_defined
25007 #define __int16_t_defined
25008 typedef $acx_cv_type_int16_t int16_t;
25014 #ifndef __int32_t_defined
25015 #define __int32_t_defined
25016 typedef $acx_cv_type_int32_t int32_t;
25020 elif test "$ac_cv_type_u_int32_t" = yes; then
25021 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25023 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
25036 #ifndef __uint8_t_defined
25037 #define __uint8_t_defined
25038 typedef u_int8_t uint8_t;
25044 #ifndef __uint16_t_defined
25045 #define __uint16_t_defined
25046 typedef u_int16_t uint16_t;
25052 #ifndef __uint32_t_defined
25053 #define __uint32_t_defined
25054 typedef u_int32_t uint32_t;
25059 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25061 /* Some systems have guard macros to prevent redefinitions, define them. */
25083 # ------------- done basic int types, emit int64_t types ------------
25084 if test "$ac_cv_type_uint64_t" = yes; then
25085 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25087 /* system headers have good uint64_t and int64_t */
25095 elif test "$ac_cv_type_u_int64_t" = yes; then
25096 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25098 /* system headers have an u_int64_t (and int64_t) */
25104 #ifndef __uint64_t_defined
25105 #define __uint64_t_defined
25106 typedef u_int64_t uint64_t;
25110 elif test -n "$acx_cv_type_int64_t"; then
25111 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25113 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
25116 typedef $acx_cv_type_int64_t int64_t;
25120 #ifndef __uint64_t_defined
25121 #define __uint64_t_defined
25122 typedef unsigned $acx_cv_type_int64_t uint64_t;
25127 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25129 /* some common heuristics for int64_t, using compiler-specific tests */
25130 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
25133 #ifndef __int64_t_defined
25134 typedef long long int64_t;
25139 typedef unsigned long long uint64_t;
25142 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
25143 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
25144 does not implement __extension__. But that compiler doesn't define
25146 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
25147 # define __extension__
25152 __extension__ typedef long long int64_t;
25156 __extension__ typedef unsigned long long uint64_t;
25159 #elif !defined __STRICT_ANSI__
25160 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
25164 typedef __int64 int64_t;
25168 typedef unsigned __int64 uint64_t;
25170 # endif /* compiler */
25172 #endif /* ANSI version */
25176 # ------------- done int64_t types, emit intptr types ------------
25177 if test "$ac_cv_type_uintptr_t" != yes; then
25178 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25180 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
25181 #ifndef __uintptr_t_defined
25182 typedef u$acx_cv_type_intptr_t uintptr_t;
25184 #ifndef __intptr_t_defined
25185 typedef $acx_cv_type_intptr_t intptr_t;
25190 # ------------- done intptr types, emit int_least types ------------
25191 if test "$ac_cv_type_int_least32_t" != yes; then
25192 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25194 /* Define int_least types */
25195 typedef int8_t int_least8_t;
25196 typedef int16_t int_least16_t;
25197 typedef int32_t int_least32_t;
25199 typedef int64_t int_least64_t;
25202 typedef uint8_t uint_least8_t;
25203 typedef uint16_t uint_least16_t;
25204 typedef uint32_t uint_least32_t;
25206 typedef uint64_t uint_least64_t;
25211 # ------------- done intptr types, emit int_fast types ------------
25212 if test "$ac_cv_type_int_fast32_t" != yes; then
25213 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25215 /* Define int_fast types. short is often slow */
25216 typedef int8_t int_fast8_t;
25217 typedef int int_fast16_t;
25218 typedef int32_t int_fast32_t;
25220 typedef int64_t int_fast64_t;
25223 typedef uint8_t uint_fast8_t;
25224 typedef unsigned int uint_fast16_t;
25225 typedef uint32_t uint_fast32_t;
25227 typedef uint64_t uint_fast64_t;
25232 if test "$ac_cv_type_uintmax_t" != yes; then
25233 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25235 /* Define intmax based on what we found */
25237 typedef int64_t intmax_t;
25239 typedef long intmax_t;
25242 typedef uint64_t uintmax_t;
25244 typedef unsigned long uintmax_t;
25249 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25251 #endif /* GCC_GENERATED_STDINT_H */
25254 if test -r bfd_stdint.h
&& cmp -s tmp-stdint.h bfd_stdint.h
; then
25257 mv -f tmp-stdint.h bfd_stdint.h
25264 *) srcdirpre
='$(srcdir)/' ;;
25268 for lang
in dummy
$OBSOLETE_ALL_LINGUAS; do
25269 if test $lang != dummy
; then
25270 POFILES
="$POFILES $srcdirpre$lang.po"
25271 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
25274 sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' \
25275 -e '/BLD-POTFILES =/r po/BLD-POTFILES' \
25276 -e "s,@POFILES@,$POFILES," \
25277 -e "s,@GMOFILES@,$GMOFILES," \
25278 po
/Makefile.
in > po
/Makefile
;;
25283 cat >>$CONFIG_STATUS <<\_ACEOF
25285 { (exit 0); exit 0; }
25287 chmod +x
$CONFIG_STATUS
25288 ac_clean_files
=$ac_clean_files_save
25291 # configure is writing to config.log, and then calls config.status.
25292 # config.status does its own redirection, appending to config.log.
25293 # Unfortunately, on DOS this fails, as config.log is still kept open
25294 # by configure, so config.status won't be able to write to it; its
25295 # output is simply discarded. So we exec the FD to /dev/null,
25296 # effectively closing config.log, so it can be properly (re)opened and
25297 # appended to by config.status. When coming back to configure, we
25298 # need to make the FD available again.
25299 if test "$no_create" != yes; then
25301 ac_config_status_args
=
25302 test "$silent" = yes &&
25303 ac_config_status_args
="$ac_config_status_args --quiet"
25305 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25307 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25308 # would make configure fail if this is the last instruction.
25309 $ac_cs_success ||
{ (exit 1); exit 1; }