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 PLUGINS_TRUE PLUGINS_FALSE 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 supports_plugins 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 --enable-static[=PKGS]
1008 build static libraries [default=yes]
1009 --enable-fast-install[=PKGS]
1010 optimize for fast installation [default=yes]
1011 --disable-libtool-lock avoid locking (might break parallel builds)
1012 --enable-plugins Enable support for plugins (defaults no)
1013 --disable-largefile omit support for large files
1014 --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)
1015 --enable-targets alternative target configurations
1016 --enable-secureplt Default to creating read-only plt entries
1017 --enable-elf-stt-common Allow the generation of ELF symbols with the STT_COMMON type
1018 --enable-werror treat compile warnings as errors
1019 --enable-build-warnings enable build-time compiler warnings
1020 --enable-maintainer-mode enable make rules and dependencies not useful
1021 (and sometimes confusing) to the casual installer
1022 --enable-install-libbfd controls installation of libbfd and related headers
1023 --disable-nls do not use Native Language Support
1026 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1027 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1028 --with-pic try to use only PIC/non-PIC objects [default=use
1030 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1031 --with-mmap try using mmap for BFD input files if available
1032 --with-separate-debug-dir=DIR
1033 Look for global separate debug info in DIR
1034 [default=LIBDIR/debug]
1035 --with-pkgversion=PKG Use PKG in the version string in place of "GNU
1037 --with-bugurl=URL Direct users to URL to report a bug
1039 Some influential environment variables:
1040 CC C compiler command
1041 CFLAGS C compiler flags
1042 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1043 nonstandard directory <lib dir>
1044 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1045 headers in a nonstandard directory <include dir>
1048 Use these variables to override the choices made by `configure' or to help
1049 it to find libraries and programs with nonstandard names/locations.
1054 if test "$ac_init_help" = "recursive"; then
1055 # If there are subdirs, report their specific --help.
1057 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1058 test -d $ac_dir || continue
1061 if test "$ac_dir" != .; then
1062 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1063 # A "../" for each directory in $ac_dir_suffix.
1064 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1066 ac_dir_suffix= ac_top_builddir=
1070 .) # No --srcdir option. We are building in place.
1072 if test -z "$ac_top_builddir"; then
1075 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1077 [\\/]* | ?:[\\/]* ) # Absolute path.
1078 ac_srcdir=$srcdir$ac_dir_suffix;
1079 ac_top_srcdir=$srcdir ;;
1081 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1082 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1085 # Do not use `cd foo && pwd` to compute absolute paths, because
1086 # the directories may not exist.
1088 .) ac_abs_builddir="$ac_dir";;
1091 .) ac_abs_builddir=`pwd`;;
1092 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1093 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1096 case $ac_abs_builddir in
1097 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1099 case ${ac_top_builddir}. in
1100 .) ac_abs_top_builddir=$ac_abs_builddir;;
1101 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1102 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1105 case $ac_abs_builddir in
1106 .) ac_abs_srcdir=$ac_srcdir;;
1109 .) ac_abs_srcdir=$ac_abs_builddir;;
1110 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1111 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1114 case $ac_abs_builddir in
1115 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1117 case $ac_top_srcdir in
1118 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1119 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1120 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1125 # Check for guested configure; otherwise get Cygnus style configure.
1126 if test -f $ac_srcdir/configure.gnu; then
1128 $SHELL $ac_srcdir/configure.gnu --help=recursive
1129 elif test -f $ac_srcdir/configure; then
1131 $SHELL $ac_srcdir/configure --help=recursive
1132 elif test -f $ac_srcdir/configure.ac ||
1133 test -f $ac_srcdir/configure.in; then
1135 $ac_configure --help
1137 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1143 test -n "$ac_init_help" && exit 0
1144 if $ac_init_version; then
1147 Copyright (C) 2003 Free Software Foundation, Inc.
1148 This configure script is free software; the Free Software Foundation
1149 gives unlimited permission to copy, distribute and modify it.
1155 This file contains any messages produced by compilers while
1156 running configure, to aid debugging if configure makes a mistake.
1158 It was created by $as_me, which was
1159 generated by GNU Autoconf 2.59. Invocation command line was
1170 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1171 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1172 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1173 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1174 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1176 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1177 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1179 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1180 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1181 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1182 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1183 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1184 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1185 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1193 test -z "$as_dir" && as_dir=.
1194 echo "PATH: $as_dir"
1209 # Keep a trace of the command line.
1210 # Strip out --no-create and --no-recursion so they do not pile up.
1211 # Strip out --silent because we don't want to record it for future runs.
1212 # Also quote any args containing shell meta-characters.
1213 # Make two passes to allow for proper duplicate-argument suppression.
1218 ac_must_keep_next=false
1224 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1225 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1226 | -silent | --silent | --silen | --sile | --sil)
1228 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1229 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1232 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1234 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1235 if test $ac_must_keep_next = true; then
1236 ac_must_keep_next=false # Got value, back to normal.
1239 *=* | --config-cache | -C | -disable-* | --disable-* \
1240 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1241 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1242 | -with-* | --with-* | -without-* | --without-* | --x)
1243 case "$ac_configure_args0 " in
1244 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1247 -* ) ac_must_keep_next=true ;;
1250 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1251 # Get rid of the leading space.
1257 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1258 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1260 # When interrupted or exit'd, cleanup temporary files, and complete
1261 # config.log. We remove comments because anyway the quotes in there
1262 # would cause problems or look ugly.
1263 # WARNING: Be sure not to use single quotes in there, as some shells,
1264 # such as our DU 5.0 friend, will then `close' the trap.
1265 trap 'exit_status=$?
1266 # Save into config.log some information that might help in debugging.
1271 ## ---------------- ##
1272 ## Cache variables. ##
1273 ## ---------------- ##
1276 # The following way of writing the cache mishandles newlines in values,
1279 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1282 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1283 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1287 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1294 ## ----------------- ##
1295 ## Output variables. ##
1296 ## ----------------- ##
1299 for ac_var in $ac_subst_vars
1301 eval ac_val=$`echo $ac_var`
1302 echo "$ac_var='"'"'$ac_val'"'"'"
1306 if test -n "$ac_subst_files"; then
1313 for ac_var in $ac_subst_files
1315 eval ac_val=$`echo $ac_var`
1316 echo "$ac_var='"'"'$ac_val'"'"'"
1321 if test -s confdefs.h; then
1328 sed "/^$/d" confdefs.h | sort
1331 test "$ac_signal" != 0 &&
1332 echo "$as_me: caught signal $ac_signal"
1333 echo "$as_me: exit $exit_status"
1335 rm -f core *.core &&
1336 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1339 for ac_signal in 1 2 13 15; do
1340 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1344 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1345 rm -rf conftest* confdefs.h
1346 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1349 # Predefined preprocessor variables.
1351 cat >>confdefs.h <<_ACEOF
1352 #define PACKAGE_NAME "$PACKAGE_NAME"
1356 cat >>confdefs.h <<_ACEOF
1357 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1361 cat >>confdefs.h <<_ACEOF
1362 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1366 cat >>confdefs.h <<_ACEOF
1367 #define PACKAGE_STRING "$PACKAGE_STRING"
1371 cat >>confdefs.h <<_ACEOF
1372 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1376 # Let the site file select an alternate cache file if it wants to.
1377 # Prefer explicitly selected file to automatically selected ones.
1378 if test -z "$CONFIG_SITE"; then
1379 if test "x$prefix" != xNONE; then
1380 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1382 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1385 for ac_site_file in $CONFIG_SITE; do
1386 if test -r "$ac_site_file"; then
1387 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1388 echo "$as_me: loading site script $ac_site_file" >&6;}
1389 sed 's/^/| /' "$ac_site_file" >&5
1394 if test -r "$cache_file"; then
1395 # Some versions of bash will fail to source /dev/null (special
1396 # files actually), so we avoid doing that.
1397 if test -f "$cache_file"; then
1398 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1399 echo "$as_me: loading cache $cache_file" >&6;}
1401 [\\/]* | ?:[\\/]* ) . $cache_file;;
1402 *) . ./$cache_file;;
1406 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1407 echo "$as_me: creating cache $cache_file" >&6;}
1411 # Check that the precious variables saved in the cache have kept the same
1413 ac_cache_corrupted=false
1414 for ac_var in `(set) 2>&1 |
1415 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1416 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1417 eval ac_new_set=\$ac_env_${ac_var}_set
1418 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1419 eval ac_new_val="\$ac_env_${ac_var}_value"
1420 case $ac_old_set,$ac_new_set in
1422 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1423 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1424 ac_cache_corrupted=: ;;
1426 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1427 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1428 ac_cache_corrupted=: ;;
1431 if test "x$ac_old_val" != "x$ac_new_val"; then
1432 # differences in whitespace do not lead to failure.
1433 ac_old_val_w=`echo x $ac_old_val`
1434 ac_new_val_w=`echo x $ac_new_val`
1435 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1436 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1437 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1438 ac_cache_corrupted=:
1440 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1441 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1442 eval $ac_var=\$ac_old_val
1444 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1445 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1446 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1447 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1450 # Pass precious variables to config.status.
1451 if test "$ac_new_set" = set; then
1453 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1454 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1455 *) ac_arg=$ac_var=$ac_new_val ;;
1457 case " $ac_configure_args " in
1458 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1459 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1463 if $ac_cache_corrupted; then
1464 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1465 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1466 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1467 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1468 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1469 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1470 { (exit 1); exit 1; }; }
1474 ac_cpp='$CPP $CPPFLAGS'
1475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1503 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1504 if test -f $ac_dir/install-sh; then
1506 ac_install_sh="$ac_aux_dir/install-sh -c"
1508 elif test -f $ac_dir/install.sh; then
1510 ac_install_sh="$ac_aux_dir/install.sh -c"
1512 elif test -f $ac_dir/shtool; then
1514 ac_install_sh="$ac_aux_dir/shtool install -c"
1518 if test -z "$ac_aux_dir"; then
1519 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1520 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1521 { (exit 1); exit 1; }; }
1523 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1524 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1525 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1527 # Make sure we can run config.sub.
1528 $ac_config_sub sun4 >/dev/null 2>&1 ||
1529 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1530 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1531 { (exit 1); exit 1; }; }
1533 echo "$as_me:$LINENO: checking build system type" >&5
1534 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1535 if test "${ac_cv_build+set}" = set; then
1536 echo $ECHO_N "(cached) $ECHO_C" >&6
1538 ac_cv_build_alias=$build_alias
1539 test -z "$ac_cv_build_alias" &&
1540 ac_cv_build_alias=`$ac_config_guess`
1541 test -z "$ac_cv_build_alias" &&
1542 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1543 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1544 { (exit 1); exit 1; }; }
1545 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1546 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1547 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1548 { (exit 1); exit 1; }; }
1551 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1552 echo "${ECHO_T}$ac_cv_build" >&6
1554 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1555 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1556 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1559 echo "$as_me:$LINENO: checking host system type" >&5
1560 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1561 if test "${ac_cv_host+set}" = set; then
1562 echo $ECHO_N "(cached) $ECHO_C" >&6
1564 ac_cv_host_alias=$host_alias
1565 test -z "$ac_cv_host_alias" &&
1566 ac_cv_host_alias=$ac_cv_build_alias
1567 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1568 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1569 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1570 { (exit 1); exit 1; }; }
1573 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1574 echo "${ECHO_T}$ac_cv_host" >&6
1576 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1577 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1578 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1581 echo "$as_me:$LINENO: checking target system type" >&5
1582 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1583 if test "${ac_cv_target+set}" = set; then
1584 echo $ECHO_N "(cached) $ECHO_C" >&6
1586 ac_cv_target_alias=$target_alias
1587 test "x$ac_cv_target_alias" = "x" &&
1588 ac_cv_target_alias=$ac_cv_host_alias
1589 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1590 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1591 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1592 { (exit 1); exit 1; }; }
1595 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1596 echo "${ECHO_T}$ac_cv_target" >&6
1597 target=$ac_cv_target
1598 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1599 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1600 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1603 # The aliases save the names the user supplied, while $host etc.
1604 # will get canonicalized.
1605 test -n "$target_alias" &&
1606 test "$program_prefix$program_suffix$program_transform_name" = \
1608 program_prefix=${target_alias}-
1610 ac_cpp='$CPP $CPPFLAGS'
1611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1614 if test -n "$ac_tool_prefix"; then
1615 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1616 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1617 echo "$as_me:$LINENO: checking for $ac_word" >&5
1618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1619 if test "${ac_cv_prog_CC+set}" = set; then
1620 echo $ECHO_N "(cached) $ECHO_C" >&6
1622 if test -n "$CC"; then
1623 ac_cv_prog_CC="$CC" # Let the user override the test.
1625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1629 test -z "$as_dir" && as_dir=.
1630 for ac_exec_ext in '' $ac_executable_extensions; do
1631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1632 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1642 if test -n "$CC"; then
1643 echo "$as_me:$LINENO: result: $CC" >&5
1644 echo "${ECHO_T}$CC" >&6
1646 echo "$as_me:$LINENO: result: no" >&5
1647 echo "${ECHO_T}no" >&6
1651 if test -z "$ac_cv_prog_CC"; then
1653 # Extract the first word of "gcc", so it can be a program name with args.
1654 set dummy gcc; ac_word=$2
1655 echo "$as_me:$LINENO: checking for $ac_word" >&5
1656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1657 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1658 echo $ECHO_N "(cached) $ECHO_C" >&6
1660 if test -n "$ac_ct_CC"; then
1661 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1667 test -z "$as_dir" && as_dir=.
1668 for ac_exec_ext in '' $ac_executable_extensions; do
1669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1670 ac_cv_prog_ac_ct_CC="gcc"
1671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1679 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1680 if test -n "$ac_ct_CC"; then
1681 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1682 echo "${ECHO_T}$ac_ct_CC" >&6
1684 echo "$as_me:$LINENO: result: no" >&5
1685 echo "${ECHO_T}no" >&6
1693 if test -z "$CC"; then
1694 if test -n "$ac_tool_prefix"; then
1695 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1696 set dummy ${ac_tool_prefix}cc; ac_word=$2
1697 echo "$as_me:$LINENO: checking for $ac_word" >&5
1698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1699 if test "${ac_cv_prog_CC+set}" = set; then
1700 echo $ECHO_N "(cached) $ECHO_C" >&6
1702 if test -n "$CC"; then
1703 ac_cv_prog_CC="$CC" # Let the user override the test.
1705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1709 test -z "$as_dir" && as_dir=.
1710 for ac_exec_ext in '' $ac_executable_extensions; do
1711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1712 ac_cv_prog_CC="${ac_tool_prefix}cc"
1713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1722 if test -n "$CC"; then
1723 echo "$as_me:$LINENO: result: $CC" >&5
1724 echo "${ECHO_T}$CC" >&6
1726 echo "$as_me:$LINENO: result: no" >&5
1727 echo "${ECHO_T}no" >&6
1731 if test -z "$ac_cv_prog_CC"; then
1733 # Extract the first word of "cc", so it can be a program name with args.
1734 set dummy cc; ac_word=$2
1735 echo "$as_me:$LINENO: checking for $ac_word" >&5
1736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1737 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1738 echo $ECHO_N "(cached) $ECHO_C" >&6
1740 if test -n "$ac_ct_CC"; then
1741 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1747 test -z "$as_dir" && as_dir=.
1748 for ac_exec_ext in '' $ac_executable_extensions; do
1749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1750 ac_cv_prog_ac_ct_CC="cc"
1751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1759 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1760 if test -n "$ac_ct_CC"; then
1761 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1762 echo "${ECHO_T}$ac_ct_CC" >&6
1764 echo "$as_me:$LINENO: result: no" >&5
1765 echo "${ECHO_T}no" >&6
1774 if test -z "$CC"; then
1775 # Extract the first word of "cc", so it can be a program name with args.
1776 set dummy cc; ac_word=$2
1777 echo "$as_me:$LINENO: checking for $ac_word" >&5
1778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1779 if test "${ac_cv_prog_CC+set}" = set; then
1780 echo $ECHO_N "(cached) $ECHO_C" >&6
1782 if test -n "$CC"; then
1783 ac_cv_prog_CC="$CC" # Let the user override the test.
1786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1790 test -z "$as_dir" && as_dir=.
1791 for ac_exec_ext in '' $ac_executable_extensions; do
1792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1793 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1794 ac_prog_rejected=yes
1798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1804 if test $ac_prog_rejected = yes; then
1805 # We found a bogon in the path, so make sure we never use it.
1806 set dummy $ac_cv_prog_CC
1808 if test $# != 0; then
1809 # We chose a different compiler from the bogus one.
1810 # However, it has the same basename, so the bogon will be chosen
1811 # first if we set CC to just the basename; use the full file name.
1813 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1819 if test -n "$CC"; then
1820 echo "$as_me:$LINENO: result: $CC" >&5
1821 echo "${ECHO_T}$CC" >&6
1823 echo "$as_me:$LINENO: result: no" >&5
1824 echo "${ECHO_T}no" >&6
1828 if test -z "$CC"; then
1829 if test -n "$ac_tool_prefix"; then
1832 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1833 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1834 echo "$as_me:$LINENO: checking for $ac_word" >&5
1835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1836 if test "${ac_cv_prog_CC+set}" = set; then
1837 echo $ECHO_N "(cached) $ECHO_C" >&6
1839 if test -n "$CC"; then
1840 ac_cv_prog_CC="$CC" # Let the user override the test.
1842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1846 test -z "$as_dir" && as_dir=.
1847 for ac_exec_ext in '' $ac_executable_extensions; do
1848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1849 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1859 if test -n "$CC"; then
1860 echo "$as_me:$LINENO: result: $CC" >&5
1861 echo "${ECHO_T}$CC" >&6
1863 echo "$as_me:$LINENO: result: no" >&5
1864 echo "${ECHO_T}no" >&6
1867 test -n "$CC" && break
1870 if test -z "$CC"; then
1874 # Extract the first word of "$ac_prog", so it can be a program name with args.
1875 set dummy $ac_prog; ac_word=$2
1876 echo "$as_me:$LINENO: checking for $ac_word" >&5
1877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1878 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1879 echo $ECHO_N "(cached) $ECHO_C" >&6
1881 if test -n "$ac_ct_CC"; then
1882 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1888 test -z "$as_dir" && as_dir=.
1889 for ac_exec_ext in '' $ac_executable_extensions; do
1890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1891 ac_cv_prog_ac_ct_CC="$ac_prog"
1892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1900 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1901 if test -n "$ac_ct_CC"; then
1902 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1903 echo "${ECHO_T}$ac_ct_CC" >&6
1905 echo "$as_me:$LINENO: result: no" >&5
1906 echo "${ECHO_T}no" >&6
1909 test -n "$ac_ct_CC" && break
1918 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1919 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1920 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1921 See \`config.log' for more details." >&5
1922 echo "$as_me: error: no acceptable C compiler found in \$PATH
1923 See \`config.log' for more details." >&2;}
1924 { (exit 1); exit 1; }; }; }
1926 # Provide some information about the compiler.
1927 echo "$as_me:$LINENO:" \
1928 "checking for C compiler version" >&5
1929 ac_compiler=`set X $ac_compile; echo $2`
1930 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1931 (eval $ac_compiler --version </dev/null >&5) 2>&5
1933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1934 (exit $ac_status); }
1935 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1936 (eval $ac_compiler -v </dev/null >&5) 2>&5
1938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1939 (exit $ac_status); }
1940 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1941 (eval $ac_compiler -V </dev/null >&5) 2>&5
1943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1944 (exit $ac_status); }
1946 cat >conftest.$ac_ext <<_ACEOF
1949 cat confdefs.h >>conftest.$ac_ext
1950 cat >>conftest.$ac_ext <<_ACEOF
1951 /* end confdefs.h. */
1961 ac_clean_files_save=$ac_clean_files
1962 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1963 # Try to create an executable without -o first, disregard a.out.
1964 # It will help us diagnose broken compilers, and finding out an intuition
1966 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1967 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1968 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1969 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1970 (eval $ac_link_default) 2>&5
1972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1973 (exit $ac_status); }; then
1974 # Find the output, starting from the most likely. This scheme is
1975 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1978 # Be careful to initialize this variable, since it used to be cached.
1979 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1981 # b.out is created by i960 compilers.
1982 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1984 test -f "$ac_file" || continue
1986 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1989 # This is the source file.
1992 # We found the default executable, but exeext='' is most
1996 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1997 # FIXME: I believe we export ac_cv_exeext for Libtool,
1998 # but it would be cool to find out if it's true. Does anybody
1999 # maintain Libtool? --akim.
2007 echo "$as_me: failed program was:" >&5
2008 sed 's/^/| /' conftest.$ac_ext >&5
2010 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2011 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2012 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2013 See \`config.log' for more details." >&5
2014 echo "$as_me: error: C compiler cannot create executables
2015 See \`config.log' for more details." >&2;}
2016 { (exit 77); exit 77; }; }; }
2019 ac_exeext=$ac_cv_exeext
2020 echo "$as_me:$LINENO: result: $ac_file" >&5
2021 echo "${ECHO_T}$ac_file" >&6
2023 # Check the compiler produces executables we can run. If not, either
2024 # the compiler is broken, or we cross compile.
2025 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2026 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2027 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2028 # If not cross compiling, check that we can run a simple program.
2029 if test "$cross_compiling" != yes; then
2030 if { ac_try='./$ac_file'
2031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2035 (exit $ac_status); }; }; then
2038 if test "$cross_compiling" = maybe; then
2041 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2042 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2043 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2044 If you meant to cross compile, use \`--host'.
2045 See \`config.log' for more details." >&5
2046 echo "$as_me: error: cannot run C compiled programs.
2047 If you meant to cross compile, use \`--host'.
2048 See \`config.log' for more details." >&2;}
2049 { (exit 1); exit 1; }; }; }
2053 echo "$as_me:$LINENO: result: yes" >&5
2054 echo "${ECHO_T}yes" >&6
2056 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2057 ac_clean_files=$ac_clean_files_save
2058 # Check the compiler produces executables we can run. If not, either
2059 # the compiler is broken, or we cross compile.
2060 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2061 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2062 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2063 echo "${ECHO_T}$cross_compiling" >&6
2065 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2066 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2068 (eval $ac_link) 2>&5
2070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071 (exit $ac_status); }; then
2072 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2073 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2074 # work properly (i.e., refer to `conftest.exe'), while it won't with
2076 for ac_file in conftest.exe conftest conftest.*; do
2077 test -f "$ac_file" || continue
2079 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2080 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2087 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2088 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2089 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2090 See \`config.log' for more details." >&5
2091 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2092 See \`config.log' for more details." >&2;}
2093 { (exit 1); exit 1; }; }; }
2096 rm -f conftest$ac_cv_exeext
2097 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2098 echo "${ECHO_T}$ac_cv_exeext" >&6
2100 rm -f conftest.$ac_ext
2101 EXEEXT=$ac_cv_exeext
2103 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2104 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2105 if test "${ac_cv_objext+set}" = set; then
2106 echo $ECHO_N "(cached) $ECHO_C" >&6
2108 cat >conftest.$ac_ext <<_ACEOF
2111 cat confdefs.h >>conftest.$ac_ext
2112 cat >>conftest.$ac_ext <<_ACEOF
2113 /* end confdefs.h. */
2123 rm -f conftest.o conftest.obj
2124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2125 (eval $ac_compile) 2>&5
2127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2128 (exit $ac_status); }; then
2129 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2131 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2132 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2137 echo "$as_me: failed program was:" >&5
2138 sed 's/^/| /' conftest.$ac_ext >&5
2140 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2141 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2142 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2143 See \`config.log' for more details." >&5
2144 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2145 See \`config.log' for more details." >&2;}
2146 { (exit 1); exit 1; }; }; }
2149 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2151 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2152 echo "${ECHO_T}$ac_cv_objext" >&6
2153 OBJEXT=$ac_cv_objext
2155 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2156 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2157 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2158 echo $ECHO_N "(cached) $ECHO_C" >&6
2160 cat >conftest.$ac_ext <<_ACEOF
2163 cat confdefs.h >>conftest.$ac_ext
2164 cat >>conftest.$ac_ext <<_ACEOF
2165 /* end confdefs.h. */
2178 rm -f conftest.$ac_objext
2179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2180 (eval $ac_compile) 2>conftest.er1
2182 grep -v '^ *+' conftest.er1 >conftest.err
2184 cat conftest.err >&5
2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); } &&
2187 { ac_try='test -z "$ac_c_werror_flag"
2188 || test ! -s conftest.err'
2189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2193 (exit $ac_status); }; } &&
2194 { ac_try='test -s conftest.$ac_objext'
2195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2199 (exit $ac_status); }; }; then
2202 echo "$as_me: failed program was:" >&5
2203 sed 's/^/| /' conftest.$ac_ext >&5
2207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2208 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2211 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2212 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2213 GCC=`test $ac_compiler_gnu = yes && echo yes`
2214 ac_test_CFLAGS=${CFLAGS+set}
2215 ac_save_CFLAGS=$CFLAGS
2217 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2218 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2219 if test "${ac_cv_prog_cc_g+set}" = set; then
2220 echo $ECHO_N "(cached) $ECHO_C" >&6
2222 cat >conftest.$ac_ext <<_ACEOF
2225 cat confdefs.h >>conftest.$ac_ext
2226 cat >>conftest.$ac_ext <<_ACEOF
2227 /* end confdefs.h. */
2237 rm -f conftest.$ac_objext
2238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2239 (eval $ac_compile) 2>conftest.er1
2241 grep -v '^ *+' conftest.er1 >conftest.err
2243 cat conftest.err >&5
2244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2245 (exit $ac_status); } &&
2246 { ac_try='test -z "$ac_c_werror_flag"
2247 || test ! -s conftest.err'
2248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2252 (exit $ac_status); }; } &&
2253 { ac_try='test -s conftest.$ac_objext'
2254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258 (exit $ac_status); }; }; then
2261 echo "$as_me: failed program was:" >&5
2262 sed 's/^/| /' conftest.$ac_ext >&5
2266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2268 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2269 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2270 if test "$ac_test_CFLAGS" = set; then
2271 CFLAGS=$ac_save_CFLAGS
2272 elif test $ac_cv_prog_cc_g = yes; then
2273 if test "$GCC" = yes; then
2279 if test "$GCC" = yes; then
2285 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2286 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2287 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2288 echo $ECHO_N "(cached) $ECHO_C" >&6
2290 ac_cv_prog_cc_stdc=no
2292 cat >conftest.$ac_ext <<_ACEOF
2295 cat confdefs.h >>conftest.$ac_ext
2296 cat >>conftest.$ac_ext <<_ACEOF
2297 /* end confdefs.h. */
2300 #include <sys/types.h>
2301 #include <sys/stat.h>
2302 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2303 struct buf { int x; };
2304 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2305 static char *e (p, i)
2311 static char *f (char * (*g) (char **, int), char **p, ...)
2316 s = g (p, va_arg (v,int));
2321 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2322 function prototypes and stuff, but not '\xHH' hex character constants.
2323 These don't provoke an error unfortunately, instead are silently treated
2324 as 'x'. The following induces an error, until -std1 is added to get
2325 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2326 array size at least. It's necessary to write '\x00'==0 to get something
2327 that's true only with -std1. */
2328 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2330 int test (int i, double x);
2331 struct s1 {int (*f) (int a);};
2332 struct s2 {int (*f) (double a);};
2333 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2339 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2344 # Don't try gcc -ansi; that turns off useful extensions and
2345 # breaks some systems' header files.
2346 # AIX -qlanglvl=ansi
2347 # Ultrix and OSF/1 -std1
2348 # HP-UX 10.20 and later -Ae
2349 # HP-UX older versions -Aa -D_HPUX_SOURCE
2350 # SVR4 -Xc -D__EXTENSIONS__
2351 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2353 CC="$ac_save_CC $ac_arg"
2354 rm -f conftest.$ac_objext
2355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2356 (eval $ac_compile) 2>conftest.er1
2358 grep -v '^ *+' conftest.er1 >conftest.err
2360 cat conftest.err >&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); } &&
2363 { ac_try='test -z "$ac_c_werror_flag"
2364 || test ! -s conftest.err'
2365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }; } &&
2370 { ac_try='test -s conftest.$ac_objext'
2371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }; }; then
2376 ac_cv_prog_cc_stdc=$ac_arg
2379 echo "$as_me: failed program was:" >&5
2380 sed 's/^/| /' conftest.$ac_ext >&5
2383 rm -f conftest.err conftest.$ac_objext
2385 rm -f conftest.$ac_ext conftest.$ac_objext
2390 case "x$ac_cv_prog_cc_stdc" in
2392 echo "$as_me:$LINENO: result: none needed" >&5
2393 echo "${ECHO_T}none needed" >&6 ;;
2395 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2396 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2397 CC="$CC $ac_cv_prog_cc_stdc" ;;
2400 # Some people use a C++ compiler to compile C. Since we use `exit',
2401 # in C++ we need to declare it. In case someone uses the same compiler
2402 # for both compiling C and C++ we need to have the C++ compiler decide
2403 # the declaration of exit, since it's the most demanding environment.
2404 cat >conftest.$ac_ext <<_ACEOF
2409 rm -f conftest.$ac_objext
2410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2411 (eval $ac_compile) 2>conftest.er1
2413 grep -v '^ *+' conftest.er1 >conftest.err
2415 cat conftest.err >&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); } &&
2418 { ac_try='test -z "$ac_c_werror_flag"
2419 || test ! -s conftest.err'
2420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); }; } &&
2425 { ac_try='test -s conftest.$ac_objext'
2426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); }; }; then
2431 for ac_declaration in \
2433 'extern "C" void std::exit (int) throw (); using std::exit;' \
2434 'extern "C" void std::exit (int); using std::exit;' \
2435 'extern "C" void exit (int) throw ();' \
2436 'extern "C" void exit (int);' \
2439 cat >conftest.$ac_ext <<_ACEOF
2442 cat confdefs.h >>conftest.$ac_ext
2443 cat >>conftest.$ac_ext <<_ACEOF
2444 /* end confdefs.h. */
2455 rm -f conftest.$ac_objext
2456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2457 (eval $ac_compile) 2>conftest.er1
2459 grep -v '^ *+' conftest.er1 >conftest.err
2461 cat conftest.err >&5
2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463 (exit $ac_status); } &&
2464 { ac_try='test -z "$ac_c_werror_flag"
2465 || test ! -s conftest.err'
2466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2470 (exit $ac_status); }; } &&
2471 { ac_try='test -s conftest.$ac_objext'
2472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); }; }; then
2479 echo "$as_me: failed program was:" >&5
2480 sed 's/^/| /' conftest.$ac_ext >&5
2484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2485 cat >conftest.$ac_ext <<_ACEOF
2488 cat confdefs.h >>conftest.$ac_ext
2489 cat >>conftest.$ac_ext <<_ACEOF
2490 /* end confdefs.h. */
2500 rm -f conftest.$ac_objext
2501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2502 (eval $ac_compile) 2>conftest.er1
2504 grep -v '^ *+' conftest.er1 >conftest.err
2506 cat conftest.err >&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); } &&
2509 { ac_try='test -z "$ac_c_werror_flag"
2510 || test ! -s conftest.err'
2511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515 (exit $ac_status); }; } &&
2516 { ac_try='test -s conftest.$ac_objext'
2517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); }; }; then
2524 echo "$as_me: failed program was:" >&5
2525 sed 's/^/| /' conftest.$ac_ext >&5
2528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2531 if test -n "$ac_declaration"; then
2532 echo '#ifdef __cplusplus' >>confdefs.h
2533 echo $ac_declaration >>confdefs.h
2534 echo '#endif' >>confdefs.h
2538 echo "$as_me: failed program was:" >&5
2539 sed 's/^/| /' conftest.$ac_ext >&5
2542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2544 ac_cpp='$CPP $CPPFLAGS'
2545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2550 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2551 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2552 if test "${ac_cv_search_strerror+set}" = set; then
2553 echo $ECHO_N "(cached) $ECHO_C" >&6
2555 ac_func_search_save_LIBS=$LIBS
2556 ac_cv_search_strerror=no
2557 cat >conftest.$ac_ext <<_ACEOF
2560 cat confdefs.h >>conftest.$ac_ext
2561 cat >>conftest.$ac_ext <<_ACEOF
2562 /* end confdefs.h. */
2564 /* Override any gcc2 internal prototype to avoid an error. */
2568 /* We use char because int might match the return type of a gcc2
2569 builtin and then its argument prototype would still apply. */
2579 rm -f conftest.$ac_objext conftest$ac_exeext
2580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2581 (eval $ac_link) 2>conftest.er1
2583 grep -v '^ *+' conftest.er1 >conftest.err
2585 cat conftest.err >&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); } &&
2588 { ac_try='test -z "$ac_c_werror_flag"
2589 || test ! -s conftest.err'
2590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594 (exit $ac_status); }; } &&
2595 { ac_try='test -s conftest$ac_exeext'
2596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); }; }; then
2601 ac_cv_search_strerror="none required"
2603 echo "$as_me: failed program was:" >&5
2604 sed 's/^/| /' conftest.$ac_ext >&5
2607 rm -f conftest.err conftest.$ac_objext \
2608 conftest$ac_exeext conftest.$ac_ext
2609 if test "$ac_cv_search_strerror" = no; then
2610 for ac_lib in cposix; do
2611 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2612 cat >conftest.$ac_ext <<_ACEOF
2615 cat confdefs.h >>conftest.$ac_ext
2616 cat >>conftest.$ac_ext <<_ACEOF
2617 /* end confdefs.h. */
2619 /* Override any gcc2 internal prototype to avoid an error. */
2623 /* We use char because int might match the return type of a gcc2
2624 builtin and then its argument prototype would still apply. */
2634 rm -f conftest.$ac_objext conftest$ac_exeext
2635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2636 (eval $ac_link) 2>conftest.er1
2638 grep -v '^ *+' conftest.er1 >conftest.err
2640 cat conftest.err >&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); } &&
2643 { ac_try='test -z "$ac_c_werror_flag"
2644 || test ! -s conftest.err'
2645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); }; } &&
2650 { ac_try='test -s conftest$ac_exeext'
2651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; }; then
2656 ac_cv_search_strerror="-l$ac_lib"
2659 echo "$as_me: failed program was:" >&5
2660 sed 's/^/| /' conftest.$ac_ext >&5
2663 rm -f conftest.err conftest.$ac_objext \
2664 conftest$ac_exeext conftest.$ac_ext
2667 LIBS=$ac_func_search_save_LIBS
2669 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2670 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2671 if test "$ac_cv_search_strerror" != no; then
2672 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
2677 am__api_version="1.9"
2678 # Find a good install program. We prefer a C program (faster),
2679 # so one script is as good as another. But avoid the broken or
2680 # incompatible versions:
2681 # SysV /etc/install, /usr/sbin/install
2682 # SunOS /usr/etc/install
2683 # IRIX /sbin/install
2685 # AmigaOS /C/install, which installs bootblocks on floppy discs
2686 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2687 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2688 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2689 # OS/2's system install, which has a completely different semantic
2690 # ./install, which can be erroneously created by make from ./install.sh.
2691 # Reject install programs that cannot install multiple files.
2692 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2693 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2694 if test -z "$INSTALL"; then
2695 if test "${ac_cv_path_install+set}" = set; then
2696 echo $ECHO_N "(cached) $ECHO_C" >&6
2698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2702 test -z "$as_dir" && as_dir=.
2703 # Account for people who put trailing slashes in PATH elements.
2705 ./ | .// | /cC/* | \
2706 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2707 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2710 # OSF1 and SCO ODT 3.0 have their own names for install.
2711 # Don't use installbsd from OSF since it installs stuff as root
2713 for ac_prog in ginstall scoinst install; do
2714 for ac_exec_ext in '' $ac_executable_extensions; do
2715 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2716 if test $ac_prog = install &&
2717 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2718 # AIX install. It has an incompatible calling convention.
2720 elif test $ac_prog = install &&
2721 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2722 # program-specific install script used by HP pwplus--don't use.
2725 rm -rf conftest.one conftest.two conftest.dir
2726 echo one > conftest.one
2727 echo two > conftest.two
2729 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2730 test -s conftest.one && test -s conftest.two &&
2731 test -s conftest.dir/conftest.one &&
2732 test -s conftest.dir/conftest.two
2734 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2745 rm -rf conftest.one conftest.two conftest.dir
2748 if test "${ac_cv_path_install+set}" = set; then
2749 INSTALL=$ac_cv_path_install
2751 # As a last resort, use the slow shell script. Don't cache a
2752 # value for INSTALL within a source directory, because that will
2753 # break other packages using the cache if that directory is
2754 # removed, or if the value is a relative name.
2755 INSTALL=$ac_install_sh
2758 echo "$as_me:$LINENO: result: $INSTALL" >&5
2759 echo "${ECHO_T}$INSTALL" >&6
2761 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2762 # It thinks the first close brace ends the variable substitution.
2763 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2765 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2767 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2769 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2770 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2773 echo timestamp > conftest.file
2774 # Do `set' in a subshell so we don't clobber the current shell's
2775 # arguments. Must try -L first in case configure is actually a
2776 # symlink; some systems play weird games with the mod time of symlinks
2777 # (eg FreeBSD returns the mod time of the symlink's containing
2780 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2781 if test "$*" = "X"; then
2783 set X `ls -t $srcdir/configure conftest.file`
2786 if test "$*" != "X $srcdir/configure conftest.file" \
2787 && test "$*" != "X conftest.file $srcdir/configure"; then
2789 # If neither matched, then we have a broken ls. This can happen
2790 # if, for instance, CONFIG_SHELL is bash and it inherits a
2791 # broken ls alias from the environment. This has actually
2792 # happened. Such a system could not be considered "sane".
2793 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2794 alias in your environment" >&5
2795 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2796 alias in your environment" >&2;}
2797 { (exit 1); exit 1; }; }
2800 test "$2" = conftest.file
2806 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2807 Check your system clock" >&5
2808 echo "$as_me: error: newly created file is older than distributed files!
2809 Check your system clock" >&2;}
2810 { (exit 1); exit 1; }; }
2812 echo "$as_me:$LINENO: result: yes" >&5
2813 echo "${ECHO_T}yes" >&6
2814 test "$program_prefix" != NONE &&
2815 program_transform_name="s,^,$program_prefix,;$program_transform_name"
2816 # Use a double $ so make ignores it.
2817 test "$program_suffix" != NONE &&
2818 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2819 # Double any \ or $. echo might interpret backslashes.
2820 # By default was `s,x,x', remove it if useless.
2821 cat <<\_ACEOF >conftest.sed
2822 s/[\\$]/&&/g;s/;s,x,x,$//
2824 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2827 # expand $ac_aux_dir to an absolute path
2828 am_aux_dir=`cd $ac_aux_dir && pwd`
2830 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2831 # Use eval to expand $SHELL
2832 if eval "$MISSING --run true"; then
2833 am_missing_run="$MISSING --run "
2836 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2837 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2840 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2841 # We used to keeping the `.' as first argument, in order to
2842 # allow $(mkdir_p) to be used without argument. As in
2843 # $(mkdir_p) $(somedir)
2844 # where $(somedir) is conditionally defined. However this is wrong
2846 # 1. if the package is installed by a user who cannot write `.'
2847 # make install will fail,
2848 # 2. the above comment should most certainly read
2849 # $(mkdir_p) $(DESTDIR)$(somedir)
2850 # so it does not work when $(somedir) is undefined and
2851 # $(DESTDIR) is not.
2852 # To support the latter case, we have to write
2853 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2854 # so the `.' trick is pointless.
2855 mkdir_p='mkdir -p --'
2857 # On NextStep and OpenStep, the `mkdir' command does not
2858 # recognize any option. It will interpret all options as
2859 # directories to create, and then abort because `.' already
2861 for d in ./-p ./--version;
2863 test -d $d && rmdir $d
2865 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2866 if test -f "$ac_aux_dir/mkinstalldirs"; then
2867 mkdir_p='$(mkinstalldirs)'
2869 mkdir_p='$(install_sh) -d'
2873 for ac_prog in gawk mawk nawk awk
2875 # Extract the first word of "$ac_prog", so it can be a program name with args.
2876 set dummy $ac_prog; ac_word=$2
2877 echo "$as_me:$LINENO: checking for $ac_word" >&5
2878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2879 if test "${ac_cv_prog_AWK+set}" = set; then
2880 echo $ECHO_N "(cached) $ECHO_C" >&6
2882 if test -n "$AWK"; then
2883 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2889 test -z "$as_dir" && as_dir=.
2890 for ac_exec_ext in '' $ac_executable_extensions; do
2891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2892 ac_cv_prog_AWK="$ac_prog"
2893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2902 if test -n "$AWK"; then
2903 echo "$as_me:$LINENO: result: $AWK" >&5
2904 echo "${ECHO_T}$AWK" >&6
2906 echo "$as_me:$LINENO: result: no" >&5
2907 echo "${ECHO_T}no" >&6
2910 test -n "$AWK" && break
2913 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2914 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2915 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2916 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2917 echo $ECHO_N "(cached) $ECHO_C" >&6
2919 cat >conftest.make <<\_ACEOF
2921 @echo 'ac_maketemp="$(MAKE)"'
2923 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2924 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2925 if test -n "$ac_maketemp"; then
2926 eval ac_cv_prog_make_${ac_make}_set=yes
2928 eval ac_cv_prog_make_${ac_make}_set=no
2932 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2933 echo "$as_me:$LINENO: result: yes" >&5
2934 echo "${ECHO_T}yes" >&6
2937 echo "$as_me:$LINENO: result: no" >&5
2938 echo "${ECHO_T}no" >&6
2939 SET_MAKE="MAKE=${MAKE-make}"
2942 rm -rf .tst 2>/dev/null
2943 mkdir .tst 2>/dev/null
2944 if test -d .tst; then
2949 rmdir .tst 2>/dev/null
2951 DEPDIR="${am__leading_dot}deps"
2953 ac_config_commands="$ac_config_commands depfiles"
2956 am_make=${MAKE-make}
2957 cat > confinc << 'END'
2962 # If we don't find an include directive, just comment out the code.
2963 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2964 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2968 # First try GNU make style include.
2969 echo "include confinc" > confmf
2970 # We grep out `Entering directory' and `Leaving directory'
2971 # messages which can occur if `w' ends up in MAKEFLAGS.
2972 # In particular we don't look at `^make:' because GNU make might
2973 # be invoked under some other name (usually "gmake"), in which
2974 # case it prints its new name instead of `make'.
2975 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2980 # Now try BSD make style include.
2981 if test "$am__include" = "#"; then
2982 echo '.include "confinc"' > confmf
2983 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2984 am__include=.include
2991 echo "$as_me:$LINENO: result: $_am_result" >&5
2992 echo "${ECHO_T}$_am_result" >&6
2993 rm -f confinc confmf
2995 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2996 if test "${enable_dependency_tracking+set}" = set; then
2997 enableval="$enable_dependency_tracking"
3000 if test "x$enable_dependency_tracking" != xno; then
3001 am_depcomp="$ac_aux_dir/depcomp"
3006 if test "x$enable_dependency_tracking" != xno; then
3016 # test to see if srcdir already configured
3017 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3018 test -f $srcdir/config.status; then
3019 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3020 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3021 { (exit 1); exit 1; }; }
3024 # test whether we have cygpath
3025 if test -z "$CYGPATH_W"; then
3026 if (cygpath --version) >/dev/null 2>/dev/null; then
3027 CYGPATH_W='cygpath -w'
3034 # Define the identity of the package.
3039 cat >>confdefs.h <<_ACEOF
3040 #define PACKAGE "$PACKAGE"
3044 cat >>confdefs.h <<_ACEOF
3045 #define VERSION "$VERSION"
3048 # Some tools Automake needs.
3050 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3053 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3056 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3059 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3062 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3064 install_sh=${install_sh-"$am_aux_dir/install-sh"}
3066 # Installed binaries are usually stripped using `strip' when the user
3067 # run `make install-strip'. However `strip' might not be the right
3068 # tool to use in cross-compilation environments, therefore Automake
3069 # will honor the `STRIP' environment variable to overrule this program.
3070 if test "$cross_compiling" != no; then
3071 if test -n "$ac_tool_prefix"; then
3072 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3073 set dummy ${ac_tool_prefix}strip; ac_word=$2
3074 echo "$as_me:$LINENO: checking for $ac_word" >&5
3075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3076 if test "${ac_cv_prog_STRIP+set}" = set; then
3077 echo $ECHO_N "(cached) $ECHO_C" >&6
3079 if test -n "$STRIP"; then
3080 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3086 test -z "$as_dir" && as_dir=.
3087 for ac_exec_ext in '' $ac_executable_extensions; do
3088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3089 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3098 STRIP=$ac_cv_prog_STRIP
3099 if test -n "$STRIP"; then
3100 echo "$as_me:$LINENO: result: $STRIP" >&5
3101 echo "${ECHO_T}$STRIP" >&6
3103 echo "$as_me:$LINENO: result: no" >&5
3104 echo "${ECHO_T}no" >&6
3108 if test -z "$ac_cv_prog_STRIP"; then
3110 # Extract the first word of "strip", so it can be a program name with args.
3111 set dummy strip; ac_word=$2
3112 echo "$as_me:$LINENO: checking for $ac_word" >&5
3113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3114 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3115 echo $ECHO_N "(cached) $ECHO_C" >&6
3117 if test -n "$ac_ct_STRIP"; then
3118 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3124 test -z "$as_dir" && as_dir=.
3125 for ac_exec_ext in '' $ac_executable_extensions; do
3126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3127 ac_cv_prog_ac_ct_STRIP="strip"
3128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3134 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3137 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3138 if test -n "$ac_ct_STRIP"; then
3139 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3140 echo "${ECHO_T}$ac_ct_STRIP" >&6
3142 echo "$as_me:$LINENO: result: no" >&5
3143 echo "${ECHO_T}no" >&6
3148 STRIP="$ac_cv_prog_STRIP"
3152 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3154 # We need awk for the "check" target. The system "awk" is bad on
3156 # Always define AMTAR for backward compatibility.
3158 AMTAR=${AMTAR-"${am_missing_run}tar"}
3160 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3165 depcc="$CC" am_compiler_list=
3167 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3168 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3169 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3170 echo $ECHO_N "(cached) $ECHO_C" >&6
3172 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3173 # We make a subdir and do the tests there. Otherwise we can end up
3174 # making bogus files that we don't know about and never remove. For
3175 # instance it was reported that on HP-UX the gcc test will end up
3176 # making a dummy file named `D' -- because `-MD' means `put the output
3179 # Copy depcomp to subdir because otherwise we won't find it if we're
3180 # using a relative directory.
3181 cp "$am_depcomp" conftest.dir
3183 # We will build objects and dependencies in a subdirectory because
3184 # it helps to detect inapplicable dependency modes. For instance
3185 # both Tru64's cc and ICC support -MD to output dependencies as a
3186 # side effect of compilation, but ICC will put the dependencies in
3187 # the current directory while Tru64 will put them in the object
3191 am_cv_CC_dependencies_compiler_type=none
3192 if test "$am_compiler_list" = ""; then
3193 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3195 for depmode in $am_compiler_list; do
3196 # Setup a source with many dependencies, because some compilers
3197 # like to wrap large dependency lists on column 80 (with \), and
3198 # we should not choose a depcomp mode which is confused by this.
3200 # We need to recreate these files for each test, as the compiler may
3201 # overwrite some of them when testing with obscure command lines.
3202 # This happens at least with the AIX C compiler.
3204 for i in 1 2 3 4 5 6; do
3205 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3206 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3207 # Solaris 8's {/usr,}/bin/sh.
3208 touch sub/conftst$i.h
3210 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3214 # after this tag, mechanisms are not by side-effect, so they'll
3215 # only be used when explicitly requested
3216 if test "x$enable_dependency_tracking" = xyes; then
3224 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3225 # mode. It turns out that the SunPro C++ compiler does not properly
3226 # handle `-M -o', and we need to detect this.
3227 if depmode=$depmode \
3228 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3229 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3230 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3231 >/dev/null 2>conftest.err &&
3232 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3233 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3234 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3235 # icc doesn't choke on unknown options, it will just issue warnings
3236 # or remarks (even with -Werror). So we grep stderr for any message
3237 # that says an option was ignored or not supported.
3238 # When given -MP, icc 7.0 and 7.1 complain thusly:
3239 # icc: Command line warning: ignoring option '-M'; no argument required
3240 # The diagnosis changed in icc 8.0:
3241 # icc: Command line remark: option '-MP' not supported
3242 if (grep 'ignoring option' conftest.err ||
3243 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3244 am_cv_CC_dependencies_compiler_type=$depmode
3253 am_cv_CC_dependencies_compiler_type=none
3257 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3258 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3259 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3264 test "x$enable_dependency_tracking" != xno \
3265 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3267 am__fastdepCC_FALSE='#'
3269 am__fastdepCC_TRUE='#'
3270 am__fastdepCC_FALSE=
3276 if test -n "$ac_tool_prefix"; then
3277 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3278 set dummy ${ac_tool_prefix}ar; ac_word=$2
3279 echo "$as_me:$LINENO: checking for $ac_word" >&5
3280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3281 if test "${ac_cv_prog_AR+set}" = set; then
3282 echo $ECHO_N "(cached) $ECHO_C" >&6
3284 if test -n "$AR"; then
3285 ac_cv_prog_AR="$AR" # Let the user override the test.
3287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3291 test -z "$as_dir" && as_dir=.
3292 for ac_exec_ext in '' $ac_executable_extensions; do
3293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3294 ac_cv_prog_AR="${ac_tool_prefix}ar"
3295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3304 if test -n "$AR"; then
3305 echo "$as_me:$LINENO: result: $AR" >&5
3306 echo "${ECHO_T}$AR" >&6
3308 echo "$as_me:$LINENO: result: no" >&5
3309 echo "${ECHO_T}no" >&6
3313 if test -z "$ac_cv_prog_AR"; then
3315 # Extract the first word of "ar", so it can be a program name with args.
3316 set dummy ar; ac_word=$2
3317 echo "$as_me:$LINENO: checking for $ac_word" >&5
3318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3319 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3320 echo $ECHO_N "(cached) $ECHO_C" >&6
3322 if test -n "$ac_ct_AR"; then
3323 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3329 test -z "$as_dir" && as_dir=.
3330 for ac_exec_ext in '' $ac_executable_extensions; do
3331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3332 ac_cv_prog_ac_ct_AR="ar"
3333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3341 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3342 if test -n "$ac_ct_AR"; then
3343 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3344 echo "${ECHO_T}$ac_ct_AR" >&6
3346 echo "$as_me:$LINENO: result: no" >&5
3347 echo "${ECHO_T}no" >&6
3355 if test -n "$ac_tool_prefix"; then
3356 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3357 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3358 echo "$as_me:$LINENO: checking for $ac_word" >&5
3359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3360 if test "${ac_cv_prog_RANLIB+set}" = set; then
3361 echo $ECHO_N "(cached) $ECHO_C" >&6
3363 if test -n "$RANLIB"; then
3364 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3370 test -z "$as_dir" && as_dir=.
3371 for ac_exec_ext in '' $ac_executable_extensions; do
3372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3373 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3382 RANLIB=$ac_cv_prog_RANLIB
3383 if test -n "$RANLIB"; then
3384 echo "$as_me:$LINENO: result: $RANLIB" >&5
3385 echo "${ECHO_T}$RANLIB" >&6
3387 echo "$as_me:$LINENO: result: no" >&5
3388 echo "${ECHO_T}no" >&6
3392 if test -z "$ac_cv_prog_RANLIB"; then
3393 ac_ct_RANLIB=$RANLIB
3394 # Extract the first word of "ranlib", so it can be a program name with args.
3395 set dummy ranlib; ac_word=$2
3396 echo "$as_me:$LINENO: checking for $ac_word" >&5
3397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3398 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3399 echo $ECHO_N "(cached) $ECHO_C" >&6
3401 if test -n "$ac_ct_RANLIB"; then
3402 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3408 test -z "$as_dir" && as_dir=.
3409 for ac_exec_ext in '' $ac_executable_extensions; do
3410 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3411 ac_cv_prog_ac_ct_RANLIB="ranlib"
3412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3418 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3421 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3422 if test -n "$ac_ct_RANLIB"; then
3423 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3424 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3426 echo "$as_me:$LINENO: result: no" >&5
3427 echo "${ECHO_T}no" >&6
3430 RANLIB=$ac_ct_RANLIB
3432 RANLIB="$ac_cv_prog_RANLIB"
3436 # Check whether --enable-shared or --disable-shared was given.
3437 if test "${enable_shared+set}" = set; then
3438 enableval="$enable_shared"
3439 p=${PACKAGE-default}
3441 yes) enable_shared=yes ;;
3442 no) enable_shared=no ;;
3445 # Look at the argument we got. We use all the common list separators.
3446 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3447 for pkg in $enableval; do
3449 if test "X$pkg" = "X$p"; then
3469 ac_cpp='$CPP $CPPFLAGS'
3470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3473 if test -n "$ac_tool_prefix"; then
3474 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3475 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3476 echo "$as_me:$LINENO: checking for $ac_word" >&5
3477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3478 if test "${ac_cv_prog_CC+set}" = set; then
3479 echo $ECHO_N "(cached) $ECHO_C" >&6
3481 if test -n "$CC"; then
3482 ac_cv_prog_CC="$CC" # Let the user override the test.
3484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3488 test -z "$as_dir" && as_dir=.
3489 for ac_exec_ext in '' $ac_executable_extensions; do
3490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3491 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3501 if test -n "$CC"; then
3502 echo "$as_me:$LINENO: result: $CC" >&5
3503 echo "${ECHO_T}$CC" >&6
3505 echo "$as_me:$LINENO: result: no" >&5
3506 echo "${ECHO_T}no" >&6
3510 if test -z "$ac_cv_prog_CC"; then
3512 # Extract the first word of "gcc", so it can be a program name with args.
3513 set dummy gcc; ac_word=$2
3514 echo "$as_me:$LINENO: checking for $ac_word" >&5
3515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3516 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3517 echo $ECHO_N "(cached) $ECHO_C" >&6
3519 if test -n "$ac_ct_CC"; then
3520 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3526 test -z "$as_dir" && as_dir=.
3527 for ac_exec_ext in '' $ac_executable_extensions; do
3528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3529 ac_cv_prog_ac_ct_CC="gcc"
3530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3538 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3539 if test -n "$ac_ct_CC"; then
3540 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3541 echo "${ECHO_T}$ac_ct_CC" >&6
3543 echo "$as_me:$LINENO: result: no" >&5
3544 echo "${ECHO_T}no" >&6
3552 if test -z "$CC"; then
3553 if test -n "$ac_tool_prefix"; then
3554 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3555 set dummy ${ac_tool_prefix}cc; ac_word=$2
3556 echo "$as_me:$LINENO: checking for $ac_word" >&5
3557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3558 if test "${ac_cv_prog_CC+set}" = set; then
3559 echo $ECHO_N "(cached) $ECHO_C" >&6
3561 if test -n "$CC"; then
3562 ac_cv_prog_CC="$CC" # Let the user override the test.
3564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 test -z "$as_dir" && as_dir=.
3569 for ac_exec_ext in '' $ac_executable_extensions; do
3570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3571 ac_cv_prog_CC="${ac_tool_prefix}cc"
3572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3581 if test -n "$CC"; then
3582 echo "$as_me:$LINENO: result: $CC" >&5
3583 echo "${ECHO_T}$CC" >&6
3585 echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6
3590 if test -z "$ac_cv_prog_CC"; then
3592 # Extract the first word of "cc", so it can be a program name with args.
3593 set dummy cc; ac_word=$2
3594 echo "$as_me:$LINENO: checking for $ac_word" >&5
3595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3596 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3597 echo $ECHO_N "(cached) $ECHO_C" >&6
3599 if test -n "$ac_ct_CC"; then
3600 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3606 test -z "$as_dir" && as_dir=.
3607 for ac_exec_ext in '' $ac_executable_extensions; do
3608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3609 ac_cv_prog_ac_ct_CC="cc"
3610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3618 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3619 if test -n "$ac_ct_CC"; then
3620 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3621 echo "${ECHO_T}$ac_ct_CC" >&6
3623 echo "$as_me:$LINENO: result: no" >&5
3624 echo "${ECHO_T}no" >&6
3633 if test -z "$CC"; then
3634 # Extract the first word of "cc", so it can be a program name with args.
3635 set dummy cc; ac_word=$2
3636 echo "$as_me:$LINENO: checking for $ac_word" >&5
3637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3638 if test "${ac_cv_prog_CC+set}" = set; then
3639 echo $ECHO_N "(cached) $ECHO_C" >&6
3641 if test -n "$CC"; then
3642 ac_cv_prog_CC="$CC" # Let the user override the test.
3645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3649 test -z "$as_dir" && as_dir=.
3650 for ac_exec_ext in '' $ac_executable_extensions; do
3651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3652 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3653 ac_prog_rejected=yes
3657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3663 if test $ac_prog_rejected = yes; then
3664 # We found a bogon in the path, so make sure we never use it.
3665 set dummy $ac_cv_prog_CC
3667 if test $# != 0; then
3668 # We chose a different compiler from the bogus one.
3669 # However, it has the same basename, so the bogon will be chosen
3670 # first if we set CC to just the basename; use the full file name.
3672 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3678 if test -n "$CC"; then
3679 echo "$as_me:$LINENO: result: $CC" >&5
3680 echo "${ECHO_T}$CC" >&6
3682 echo "$as_me:$LINENO: result: no" >&5
3683 echo "${ECHO_T}no" >&6
3687 if test -z "$CC"; then
3688 if test -n "$ac_tool_prefix"; then
3691 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3692 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3693 echo "$as_me:$LINENO: checking for $ac_word" >&5
3694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3695 if test "${ac_cv_prog_CC+set}" = set; then
3696 echo $ECHO_N "(cached) $ECHO_C" >&6
3698 if test -n "$CC"; then
3699 ac_cv_prog_CC="$CC" # Let the user override the test.
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3705 test -z "$as_dir" && as_dir=.
3706 for ac_exec_ext in '' $ac_executable_extensions; do
3707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3708 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3718 if test -n "$CC"; then
3719 echo "$as_me:$LINENO: result: $CC" >&5
3720 echo "${ECHO_T}$CC" >&6
3722 echo "$as_me:$LINENO: result: no" >&5
3723 echo "${ECHO_T}no" >&6
3726 test -n "$CC" && break
3729 if test -z "$CC"; then
3733 # Extract the first word of "$ac_prog", so it can be a program name with args.
3734 set dummy $ac_prog; ac_word=$2
3735 echo "$as_me:$LINENO: checking for $ac_word" >&5
3736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3737 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3738 echo $ECHO_N "(cached) $ECHO_C" >&6
3740 if test -n "$ac_ct_CC"; then
3741 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3747 test -z "$as_dir" && as_dir=.
3748 for ac_exec_ext in '' $ac_executable_extensions; do
3749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3750 ac_cv_prog_ac_ct_CC="$ac_prog"
3751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3759 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3760 if test -n "$ac_ct_CC"; then
3761 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3762 echo "${ECHO_T}$ac_ct_CC" >&6
3764 echo "$as_me:$LINENO: result: no" >&5
3765 echo "${ECHO_T}no" >&6
3768 test -n "$ac_ct_CC" && break
3777 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3778 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3779 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3780 See \`config.log' for more details." >&5
3781 echo "$as_me: error: no acceptable C compiler found in \$PATH
3782 See \`config.log' for more details." >&2;}
3783 { (exit 1); exit 1; }; }; }
3785 # Provide some information about the compiler.
3786 echo "$as_me:$LINENO:" \
3787 "checking for C compiler version" >&5
3788 ac_compiler=`set X $ac_compile; echo $2`
3789 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3790 (eval $ac_compiler --version </dev/null >&5) 2>&5
3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 (exit $ac_status); }
3794 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3795 (eval $ac_compiler -v </dev/null >&5) 2>&5
3797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3798 (exit $ac_status); }
3799 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3800 (eval $ac_compiler -V </dev/null >&5) 2>&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); }
3805 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3806 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3807 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3808 echo $ECHO_N "(cached) $ECHO_C" >&6
3810 cat >conftest.$ac_ext <<_ACEOF
3813 cat confdefs.h >>conftest.$ac_ext
3814 cat >>conftest.$ac_ext <<_ACEOF
3815 /* end confdefs.h. */
3828 rm -f conftest.$ac_objext
3829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3830 (eval $ac_compile) 2>conftest.er1
3832 grep -v '^ *+' conftest.er1 >conftest.err
3834 cat conftest.err >&5
3835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3836 (exit $ac_status); } &&
3837 { ac_try='test -z "$ac_c_werror_flag"
3838 || test ! -s conftest.err'
3839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843 (exit $ac_status); }; } &&
3844 { ac_try='test -s conftest.$ac_objext'
3845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849 (exit $ac_status); }; }; then
3852 echo "$as_me: failed program was:" >&5
3853 sed 's/^/| /' conftest.$ac_ext >&5
3857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3858 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3861 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3862 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3863 GCC=`test $ac_compiler_gnu = yes && echo yes`
3864 ac_test_CFLAGS=${CFLAGS+set}
3865 ac_save_CFLAGS=$CFLAGS
3867 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3868 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3869 if test "${ac_cv_prog_cc_g+set}" = set; then
3870 echo $ECHO_N "(cached) $ECHO_C" >&6
3872 cat >conftest.$ac_ext <<_ACEOF
3875 cat confdefs.h >>conftest.$ac_ext
3876 cat >>conftest.$ac_ext <<_ACEOF
3877 /* end confdefs.h. */
3887 rm -f conftest.$ac_objext
3888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3889 (eval $ac_compile) 2>conftest.er1
3891 grep -v '^ *+' conftest.er1 >conftest.err
3893 cat conftest.err >&5
3894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895 (exit $ac_status); } &&
3896 { ac_try='test -z "$ac_c_werror_flag"
3897 || test ! -s conftest.err'
3898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3902 (exit $ac_status); }; } &&
3903 { ac_try='test -s conftest.$ac_objext'
3904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); }; }; then
3911 echo "$as_me: failed program was:" >&5
3912 sed 's/^/| /' conftest.$ac_ext >&5
3916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3918 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3919 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3920 if test "$ac_test_CFLAGS" = set; then
3921 CFLAGS=$ac_save_CFLAGS
3922 elif test $ac_cv_prog_cc_g = yes; then
3923 if test "$GCC" = yes; then
3929 if test "$GCC" = yes; then
3935 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3936 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3937 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3938 echo $ECHO_N "(cached) $ECHO_C" >&6
3940 ac_cv_prog_cc_stdc=no
3942 cat >conftest.$ac_ext <<_ACEOF
3945 cat confdefs.h >>conftest.$ac_ext
3946 cat >>conftest.$ac_ext <<_ACEOF
3947 /* end confdefs.h. */
3950 #include <sys/types.h>
3951 #include <sys/stat.h>
3952 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3953 struct buf { int x; };
3954 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3955 static char *e (p, i)
3961 static char *f (char * (*g) (char **, int), char **p, ...)
3966 s = g (p, va_arg (v,int));
3971 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3972 function prototypes and stuff, but not '\xHH' hex character constants.
3973 These don't provoke an error unfortunately, instead are silently treated
3974 as 'x'. The following induces an error, until -std1 is added to get
3975 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3976 array size at least. It's necessary to write '\x00'==0 to get something
3977 that's true only with -std1. */
3978 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3980 int test (int i, double x);
3981 struct s1 {int (*f) (int a);};
3982 struct s2 {int (*f) (double a);};
3983 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3989 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3994 # Don't try gcc -ansi; that turns off useful extensions and
3995 # breaks some systems' header files.
3996 # AIX -qlanglvl=ansi
3997 # Ultrix and OSF/1 -std1
3998 # HP-UX 10.20 and later -Ae
3999 # HP-UX older versions -Aa -D_HPUX_SOURCE
4000 # SVR4 -Xc -D__EXTENSIONS__
4001 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4003 CC="$ac_save_CC $ac_arg"
4004 rm -f conftest.$ac_objext
4005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4006 (eval $ac_compile) 2>conftest.er1
4008 grep -v '^ *+' conftest.er1 >conftest.err
4010 cat conftest.err >&5
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); } &&
4013 { ac_try='test -z "$ac_c_werror_flag"
4014 || test ! -s conftest.err'
4015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4019 (exit $ac_status); }; } &&
4020 { ac_try='test -s conftest.$ac_objext'
4021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); }; }; then
4026 ac_cv_prog_cc_stdc=$ac_arg
4029 echo "$as_me: failed program was:" >&5
4030 sed 's/^/| /' conftest.$ac_ext >&5
4033 rm -f conftest.err conftest.$ac_objext
4035 rm -f conftest.$ac_ext conftest.$ac_objext
4040 case "x$ac_cv_prog_cc_stdc" in
4042 echo "$as_me:$LINENO: result: none needed" >&5
4043 echo "${ECHO_T}none needed" >&6 ;;
4045 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4046 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4047 CC="$CC $ac_cv_prog_cc_stdc" ;;
4050 # Some people use a C++ compiler to compile C. Since we use `exit',
4051 # in C++ we need to declare it. In case someone uses the same compiler
4052 # for both compiling C and C++ we need to have the C++ compiler decide
4053 # the declaration of exit, since it's the most demanding environment.
4054 cat >conftest.$ac_ext <<_ACEOF
4059 rm -f conftest.$ac_objext
4060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4061 (eval $ac_compile) 2>conftest.er1
4063 grep -v '^ *+' conftest.er1 >conftest.err
4065 cat conftest.err >&5
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067 (exit $ac_status); } &&
4068 { ac_try='test -z "$ac_c_werror_flag"
4069 || test ! -s conftest.err'
4070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074 (exit $ac_status); }; } &&
4075 { ac_try='test -s conftest.$ac_objext'
4076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080 (exit $ac_status); }; }; then
4081 for ac_declaration in \
4083 'extern "C" void std::exit (int) throw (); using std::exit;' \
4084 'extern "C" void std::exit (int); using std::exit;' \
4085 'extern "C" void exit (int) throw ();' \
4086 'extern "C" void exit (int);' \
4089 cat >conftest.$ac_ext <<_ACEOF
4092 cat confdefs.h >>conftest.$ac_ext
4093 cat >>conftest.$ac_ext <<_ACEOF
4094 /* end confdefs.h. */
4105 rm -f conftest.$ac_objext
4106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4107 (eval $ac_compile) 2>conftest.er1
4109 grep -v '^ *+' conftest.er1 >conftest.err
4111 cat conftest.err >&5
4112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4113 (exit $ac_status); } &&
4114 { ac_try='test -z "$ac_c_werror_flag"
4115 || test ! -s conftest.err'
4116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4120 (exit $ac_status); }; } &&
4121 { ac_try='test -s conftest.$ac_objext'
4122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126 (exit $ac_status); }; }; then
4129 echo "$as_me: failed program was:" >&5
4130 sed 's/^/| /' conftest.$ac_ext >&5
4134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4135 cat >conftest.$ac_ext <<_ACEOF
4138 cat confdefs.h >>conftest.$ac_ext
4139 cat >>conftest.$ac_ext <<_ACEOF
4140 /* end confdefs.h. */
4150 rm -f conftest.$ac_objext
4151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4152 (eval $ac_compile) 2>conftest.er1
4154 grep -v '^ *+' conftest.er1 >conftest.err
4156 cat conftest.err >&5
4157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158 (exit $ac_status); } &&
4159 { ac_try='test -z "$ac_c_werror_flag"
4160 || test ! -s conftest.err'
4161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4165 (exit $ac_status); }; } &&
4166 { ac_try='test -s conftest.$ac_objext'
4167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171 (exit $ac_status); }; }; then
4174 echo "$as_me: failed program was:" >&5
4175 sed 's/^/| /' conftest.$ac_ext >&5
4178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4181 if test -n "$ac_declaration"; then
4182 echo '#ifdef __cplusplus' >>confdefs.h
4183 echo $ac_declaration >>confdefs.h
4184 echo '#endif' >>confdefs.h
4188 echo "$as_me: failed program was:" >&5
4189 sed 's/^/| /' conftest.$ac_ext >&5
4192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4194 ac_cpp='$CPP $CPPFLAGS'
4195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4200 cat >>confdefs.h <<\_ACEOF
4201 #define _GNU_SOURCE 1
4206 ac_cpp='$CPP $CPPFLAGS'
4207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4210 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4211 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4212 # On Suns, sometimes $CPP names a directory.
4213 if test -n "$CPP" && test -d "$CPP"; then
4216 if test -z "$CPP"; then
4217 if test "${ac_cv_prog_CPP+set}" = set; then
4218 echo $ECHO_N "(cached) $ECHO_C" >&6
4220 # Double quotes because CPP needs to be expanded
4221 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4224 for ac_c_preproc_warn_flag in '' yes
4226 # Use a header file that comes with gcc, so configuring glibc
4227 # with a fresh cross-compiler works.
4228 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4229 # <limits.h> exists even on freestanding compilers.
4230 # On the NeXT, cc -E runs the code through the compiler's parser,
4231 # not just through cpp. "Syntax error" is here to catch this case.
4232 cat >conftest.$ac_ext <<_ACEOF
4235 cat confdefs.h >>conftest.$ac_ext
4236 cat >>conftest.$ac_ext <<_ACEOF
4237 /* end confdefs.h. */
4239 # include <limits.h>
4241 # include <assert.h>
4245 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4246 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4248 grep -v '^ *+' conftest.er1 >conftest.err
4250 cat conftest.err >&5
4251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4252 (exit $ac_status); } >/dev/null; then
4253 if test -s conftest.err; then
4254 ac_cpp_err=$ac_c_preproc_warn_flag
4255 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4262 if test -z "$ac_cpp_err"; then
4265 echo "$as_me: failed program was:" >&5
4266 sed 's/^/| /' conftest.$ac_ext >&5
4268 # Broken: fails on valid input.
4271 rm -f conftest.err conftest.$ac_ext
4273 # OK, works on sane cases. Now check whether non-existent headers
4274 # can be detected and how.
4275 cat >conftest.$ac_ext <<_ACEOF
4278 cat confdefs.h >>conftest.$ac_ext
4279 cat >>conftest.$ac_ext <<_ACEOF
4280 /* end confdefs.h. */
4281 #include <ac_nonexistent.h>
4283 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4284 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4286 grep -v '^ *+' conftest.er1 >conftest.err
4288 cat conftest.err >&5
4289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290 (exit $ac_status); } >/dev/null; then
4291 if test -s conftest.err; then
4292 ac_cpp_err=$ac_c_preproc_warn_flag
4293 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4300 if test -z "$ac_cpp_err"; then
4301 # Broken: success on invalid input.
4304 echo "$as_me: failed program was:" >&5
4305 sed 's/^/| /' conftest.$ac_ext >&5
4307 # Passes both tests.
4311 rm -f conftest.err conftest.$ac_ext
4314 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4315 rm -f conftest.err conftest.$ac_ext
4316 if $ac_preproc_ok; then
4328 echo "$as_me:$LINENO: result: $CPP" >&5
4329 echo "${ECHO_T}$CPP" >&6
4331 for ac_c_preproc_warn_flag in '' yes
4333 # Use a header file that comes with gcc, so configuring glibc
4334 # with a fresh cross-compiler works.
4335 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4336 # <limits.h> exists even on freestanding compilers.
4337 # On the NeXT, cc -E runs the code through the compiler's parser,
4338 # not just through cpp. "Syntax error" is here to catch this case.
4339 cat >conftest.$ac_ext <<_ACEOF
4342 cat confdefs.h >>conftest.$ac_ext
4343 cat >>conftest.$ac_ext <<_ACEOF
4344 /* end confdefs.h. */
4346 # include <limits.h>
4348 # include <assert.h>
4352 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4353 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4355 grep -v '^ *+' conftest.er1 >conftest.err
4357 cat conftest.err >&5
4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4359 (exit $ac_status); } >/dev/null; then
4360 if test -s conftest.err; then
4361 ac_cpp_err=$ac_c_preproc_warn_flag
4362 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4369 if test -z "$ac_cpp_err"; then
4372 echo "$as_me: failed program was:" >&5
4373 sed 's/^/| /' conftest.$ac_ext >&5
4375 # Broken: fails on valid input.
4378 rm -f conftest.err conftest.$ac_ext
4380 # OK, works on sane cases. Now check whether non-existent headers
4381 # can be detected and how.
4382 cat >conftest.$ac_ext <<_ACEOF
4385 cat confdefs.h >>conftest.$ac_ext
4386 cat >>conftest.$ac_ext <<_ACEOF
4387 /* end confdefs.h. */
4388 #include <ac_nonexistent.h>
4390 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4391 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4393 grep -v '^ *+' conftest.er1 >conftest.err
4395 cat conftest.err >&5
4396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397 (exit $ac_status); } >/dev/null; then
4398 if test -s conftest.err; then
4399 ac_cpp_err=$ac_c_preproc_warn_flag
4400 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4407 if test -z "$ac_cpp_err"; then
4408 # Broken: success on invalid input.
4411 echo "$as_me: failed program was:" >&5
4412 sed 's/^/| /' conftest.$ac_ext >&5
4414 # Passes both tests.
4418 rm -f conftest.err conftest.$ac_ext
4421 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4422 rm -f conftest.err conftest.$ac_ext
4423 if $ac_preproc_ok; then
4426 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4427 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4428 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4429 See \`config.log' for more details." >&5
4430 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4431 See \`config.log' for more details." >&2;}
4432 { (exit 1); exit 1; }; }; }
4436 ac_cpp='$CPP $CPPFLAGS'
4437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4442 echo "$as_me:$LINENO: checking for egrep" >&5
4443 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4444 if test "${ac_cv_prog_egrep+set}" = set; then
4445 echo $ECHO_N "(cached) $ECHO_C" >&6
4447 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4448 then ac_cv_prog_egrep='grep -E'
4449 else ac_cv_prog_egrep='egrep'
4452 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4453 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4454 EGREP=$ac_cv_prog_egrep
4457 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4458 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4459 if test "${ac_cv_header_stdc+set}" = set; then
4460 echo $ECHO_N "(cached) $ECHO_C" >&6
4462 cat >conftest.$ac_ext <<_ACEOF
4465 cat confdefs.h >>conftest.$ac_ext
4466 cat >>conftest.$ac_ext <<_ACEOF
4467 /* end confdefs.h. */
4481 rm -f conftest.$ac_objext
4482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4483 (eval $ac_compile) 2>conftest.er1
4485 grep -v '^ *+' conftest.er1 >conftest.err
4487 cat conftest.err >&5
4488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489 (exit $ac_status); } &&
4490 { ac_try='test -z "$ac_c_werror_flag"
4491 || test ! -s conftest.err'
4492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496 (exit $ac_status); }; } &&
4497 { ac_try='test -s conftest.$ac_objext'
4498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); }; }; then
4503 ac_cv_header_stdc=yes
4505 echo "$as_me: failed program was:" >&5
4506 sed 's/^/| /' conftest.$ac_ext >&5
4508 ac_cv_header_stdc=no
4510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4512 if test $ac_cv_header_stdc = yes; then
4513 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4514 cat >conftest.$ac_ext <<_ACEOF
4517 cat confdefs.h >>conftest.$ac_ext
4518 cat >>conftest.$ac_ext <<_ACEOF
4519 /* end confdefs.h. */
4523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4524 $EGREP "memchr" >/dev/null 2>&1; then
4527 ac_cv_header_stdc=no
4533 if test $ac_cv_header_stdc = yes; then
4534 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4535 cat >conftest.$ac_ext <<_ACEOF
4538 cat confdefs.h >>conftest.$ac_ext
4539 cat >>conftest.$ac_ext <<_ACEOF
4540 /* end confdefs.h. */
4544 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4545 $EGREP "free" >/dev/null 2>&1; then
4548 ac_cv_header_stdc=no
4554 if test $ac_cv_header_stdc = yes; then
4555 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4556 if test "$cross_compiling" = yes; then
4559 cat >conftest.$ac_ext <<_ACEOF
4562 cat confdefs.h >>conftest.$ac_ext
4563 cat >>conftest.$ac_ext <<_ACEOF
4564 /* end confdefs.h. */
4566 #if ((' ' & 0x0FF) == 0x020)
4567 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4568 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4570 # define ISLOWER(c) \
4571 (('a' <= (c) && (c) <= 'i') \
4572 || ('j' <= (c) && (c) <= 'r') \
4573 || ('s' <= (c) && (c) <= 'z'))
4574 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4577 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4582 for (i = 0; i < 256; i++)
4583 if (XOR (islower (i), ISLOWER (i))
4584 || toupper (i) != TOUPPER (i))
4589 rm -f conftest$ac_exeext
4590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4591 (eval $ac_link) 2>&5
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599 (exit $ac_status); }; }; then
4602 echo "$as_me: program exited with status $ac_status" >&5
4603 echo "$as_me: failed program was:" >&5
4604 sed 's/^/| /' conftest.$ac_ext >&5
4607 ac_cv_header_stdc=no
4609 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4613 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4614 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4615 if test $ac_cv_header_stdc = yes; then
4617 cat >>confdefs.h <<\_ACEOF
4618 #define STDC_HEADERS 1
4623 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4633 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4634 inttypes.h stdint.h unistd.h
4636 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4637 echo "$as_me:$LINENO: checking for $ac_header" >&5
4638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4640 echo $ECHO_N "(cached) $ECHO_C" >&6
4642 cat >conftest.$ac_ext <<_ACEOF
4645 cat confdefs.h >>conftest.$ac_ext
4646 cat >>conftest.$ac_ext <<_ACEOF
4647 /* end confdefs.h. */
4648 $ac_includes_default
4650 #include <$ac_header>
4652 rm -f conftest.$ac_objext
4653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4654 (eval $ac_compile) 2>conftest.er1
4656 grep -v '^ *+' conftest.er1 >conftest.err
4658 cat conftest.err >&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); } &&
4661 { ac_try='test -z "$ac_c_werror_flag"
4662 || test ! -s conftest.err'
4663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667 (exit $ac_status); }; } &&
4668 { ac_try='test -s conftest.$ac_objext'
4669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); }; }; then
4674 eval "$as_ac_Header=yes"
4676 echo "$as_me: failed program was:" >&5
4677 sed 's/^/| /' conftest.$ac_ext >&5
4679 eval "$as_ac_Header=no"
4681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4685 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4686 cat >>confdefs.h <<_ACEOF
4687 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4696 if test "${ac_cv_header_minix_config_h+set}" = set; then
4697 echo "$as_me:$LINENO: checking for minix/config.h" >&5
4698 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
4699 if test "${ac_cv_header_minix_config_h+set}" = set; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6
4702 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4703 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
4705 # Is the header compilable?
4706 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4707 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
4708 cat >conftest.$ac_ext <<_ACEOF
4711 cat confdefs.h >>conftest.$ac_ext
4712 cat >>conftest.$ac_ext <<_ACEOF
4713 /* end confdefs.h. */
4714 $ac_includes_default
4715 #include <minix/config.h>
4717 rm -f conftest.$ac_objext
4718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4719 (eval $ac_compile) 2>conftest.er1
4721 grep -v '^ *+' conftest.er1 >conftest.err
4723 cat conftest.err >&5
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); } &&
4726 { ac_try='test -z "$ac_c_werror_flag"
4727 || test ! -s conftest.err'
4728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); }; } &&
4733 { ac_try='test -s conftest.$ac_objext'
4734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); }; }; then
4739 ac_header_compiler=yes
4741 echo "$as_me: failed program was:" >&5
4742 sed 's/^/| /' conftest.$ac_ext >&5
4744 ac_header_compiler=no
4746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4747 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4748 echo "${ECHO_T}$ac_header_compiler" >&6
4750 # Is the header present?
4751 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4752 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
4753 cat >conftest.$ac_ext <<_ACEOF
4756 cat confdefs.h >>conftest.$ac_ext
4757 cat >>conftest.$ac_ext <<_ACEOF
4758 /* end confdefs.h. */
4759 #include <minix/config.h>
4761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4762 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4764 grep -v '^ *+' conftest.er1 >conftest.err
4766 cat conftest.err >&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); } >/dev/null; then
4769 if test -s conftest.err; then
4770 ac_cpp_err=$ac_c_preproc_warn_flag
4771 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4778 if test -z "$ac_cpp_err"; then
4779 ac_header_preproc=yes
4781 echo "$as_me: failed program was:" >&5
4782 sed 's/^/| /' conftest.$ac_ext >&5
4784 ac_header_preproc=no
4786 rm -f conftest.err conftest.$ac_ext
4787 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4788 echo "${ECHO_T}$ac_header_preproc" >&6
4790 # So? What about this header?
4791 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4793 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4794 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4795 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4796 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4797 ac_header_preproc=yes
4800 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4801 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4802 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4803 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4804 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4805 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4806 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4807 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4808 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4809 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4810 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4811 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4814 ## ------------------------------------------ ##
4815 ## Report this to the AC_PACKAGE_NAME lists. ##
4816 ## ------------------------------------------ ##
4819 sed "s/^/$as_me: WARNING: /" >&2
4822 echo "$as_me:$LINENO: checking for minix/config.h" >&5
4823 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
4824 if test "${ac_cv_header_minix_config_h+set}" = set; then
4825 echo $ECHO_N "(cached) $ECHO_C" >&6
4827 ac_cv_header_minix_config_h=$ac_header_preproc
4829 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4830 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
4833 if test $ac_cv_header_minix_config_h = yes; then
4840 if test "$MINIX" = yes; then
4842 cat >>confdefs.h <<\_ACEOF
4843 #define _POSIX_SOURCE 1
4847 cat >>confdefs.h <<\_ACEOF
4848 #define _POSIX_1_SOURCE 2
4852 cat >>confdefs.h <<\_ACEOF
4860 echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4861 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6
4862 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4863 echo $ECHO_N "(cached) $ECHO_C" >&6
4865 cat >conftest.$ac_ext <<_ACEOF
4868 cat confdefs.h >>conftest.$ac_ext
4869 cat >>conftest.$ac_ext <<_ACEOF
4870 /* end confdefs.h. */
4872 # define __EXTENSIONS__ 1
4873 $ac_includes_default
4882 rm -f conftest.$ac_objext
4883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4884 (eval $ac_compile) 2>conftest.er1
4886 grep -v '^ *+' conftest.er1 >conftest.err
4888 cat conftest.err >&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); } &&
4891 { ac_try='test -z "$ac_c_werror_flag"
4892 || test ! -s conftest.err'
4893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 (exit $ac_status); }; } &&
4898 { ac_try='test -s conftest.$ac_objext'
4899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); }; }; then
4904 ac_cv_safe_to_define___extensions__=yes
4906 echo "$as_me: failed program was:" >&5
4907 sed 's/^/| /' conftest.$ac_ext >&5
4909 ac_cv_safe_to_define___extensions__=no
4911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4913 echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4914 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6
4915 test $ac_cv_safe_to_define___extensions__ = yes &&
4916 cat >>confdefs.h <<\_ACEOF
4917 #define __EXTENSIONS__ 1
4920 cat >>confdefs.h <<\_ACEOF
4921 #define _ALL_SOURCE 1
4924 cat >>confdefs.h <<\_ACEOF
4925 #define _GNU_SOURCE 1
4928 cat >>confdefs.h <<\_ACEOF
4929 #define _POSIX_PTHREAD_SEMANTICS 1
4932 cat >>confdefs.h <<\_ACEOF
4933 #define _TANDEM_SOURCE 1
4940 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4941 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4946 macro_version='2.2.6'
4947 macro_revision='1.3012'
4961 ltmain="$ac_aux_dir/ltmain.sh"
4963 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4964 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4965 if test "${lt_cv_path_SED+set}" = set; then
4966 echo $ECHO_N "(cached) $ECHO_C" >&6
4968 # Loop through the user's path and test for sed and gsed.
4969 # Then use that list of sed's as ones to test for truncation.
4970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4974 test -z "$as_dir" && as_dir=.
4975 for lt_ac_prog in sed gsed; do
4976 for ac_exec_ext in '' $ac_executable_extensions; do
4977 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4978 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4986 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4987 # along with /bin/sed that truncates output.
4988 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4989 test ! -f $lt_ac_sed && continue
4990 cat /dev/null > conftest.in
4992 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4993 # Check for GNU sed and select it if it is found.
4994 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4995 lt_cv_path_SED=$lt_ac_sed
4999 cat conftest.in conftest.in >conftest.tmp
5000 mv conftest.tmp conftest.in
5001 cp conftest.in conftest.nl
5003 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5004 cmp -s conftest.out conftest.nl || break
5005 # 10000 chars as input seems more than enough
5006 test $lt_ac_count -gt 10 && break
5007 lt_ac_count=`expr $lt_ac_count + 1`
5008 if test $lt_ac_count -gt $lt_ac_max; then
5009 lt_ac_max=$lt_ac_count
5010 lt_cv_path_SED=$lt_ac_sed
5019 echo "$as_me:$LINENO: result: $SED" >&5
5020 echo "${ECHO_T}$SED" >&6
5022 test -z "$SED" && SED=sed
5023 Xsed="$SED -e 1s/^X//"
5035 echo "$as_me:$LINENO: checking for fgrep" >&5
5036 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5037 if test "${ac_cv_prog_fgrep+set}" = set; then
5038 echo $ECHO_N "(cached) $ECHO_C" >&6
5040 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
5041 then ac_cv_prog_fgrep='grep -F'
5042 else ac_cv_prog_fgrep='fgrep'
5045 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5046 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5047 FGREP=$ac_cv_prog_fgrep
5050 test -z "$GREP" && GREP=grep
5070 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5071 if test "${with_gnu_ld+set}" = set; then
5072 withval="$with_gnu_ld"
5073 test "$withval" = no || with_gnu_ld=yes
5078 if test "$GCC" = yes; then
5079 # Check if gcc -print-prog-name=ld gives a path.
5080 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5081 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5084 # gcc leaves a trailing carriage return which upsets mingw
5085 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5087 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5090 # Accept absolute paths.
5092 re_direlt='/[^/][^/]*/\.\./'
5093 # Canonicalize the pathname of ld
5094 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5095 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5096 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5098 test -z "$LD" && LD="$ac_prog"
5101 # If it fails, then pretend we aren't using GCC.
5105 # If it is relative, then search for the first ld in PATH.
5109 elif test "$with_gnu_ld" = yes; then
5110 echo "$as_me:$LINENO: checking for GNU ld" >&5
5111 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5113 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5114 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5116 if test "${lt_cv_path_LD+set}" = set; then
5117 echo $ECHO_N "(cached) $ECHO_C" >&6
5119 if test -z "$LD"; then
5120 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5121 for ac_dir in $PATH; do
5123 test -z "$ac_dir" && ac_dir=.
5124 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5125 lt_cv_path_LD="$ac_dir/$ac_prog"
5126 # Check to see if the program is GNU ld. I'd rather use --version,
5127 # but apparently some variants of GNU ld only accept -v.
5128 # Break only if it was the GNU/non-GNU ld that we prefer.
5129 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5130 *GNU* | *'with BFD'*)
5131 test "$with_gnu_ld" != no && break
5134 test "$with_gnu_ld" != yes && break
5141 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5146 if test -n "$LD"; then
5147 echo "$as_me:$LINENO: result: $LD" >&5
5148 echo "${ECHO_T}$LD" >&6
5150 echo "$as_me:$LINENO: result: no" >&5
5151 echo "${ECHO_T}no" >&6
5153 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5154 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5155 { (exit 1); exit 1; }; }
5156 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5157 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5158 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5159 echo $ECHO_N "(cached) $ECHO_C" >&6
5161 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5162 case `$LD -v 2>&1 </dev/null` in
5163 *GNU* | *'with BFD'*)
5164 lt_cv_prog_gnu_ld=yes
5167 lt_cv_prog_gnu_ld=no
5171 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5172 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5173 with_gnu_ld=$lt_cv_prog_gnu_ld
5183 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5184 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5185 if test "${lt_cv_path_NM+set}" = set; then
5186 echo $ECHO_N "(cached) $ECHO_C" >&6
5188 if test -n "$NM"; then
5189 # Let the user override the test.
5192 lt_nm_to_check="${ac_tool_prefix}nm"
5193 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5194 lt_nm_to_check="$lt_nm_to_check nm"
5196 for lt_tmp_nm in $lt_nm_to_check; do
5197 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5198 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5200 test -z "$ac_dir" && ac_dir=.
5201 tmp_nm="$ac_dir/$lt_tmp_nm"
5202 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5203 # Check to see if the nm accepts a BSD-compat flag.
5204 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5205 # nm: unknown option "B" ignored
5206 # Tru64's nm complains that /dev/null is an invalid object file
5207 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5208 */dev/null* | *'Invalid file or object type'*)
5209 lt_cv_path_NM="$tmp_nm -B"
5213 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5215 lt_cv_path_NM="$tmp_nm -p"
5219 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5220 continue # so that we can try to find one that supports BSD flags
5229 : ${lt_cv_path_NM=no}
5232 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5233 echo "${ECHO_T}$lt_cv_path_NM" >&6
5234 if test "$lt_cv_path_NM" != "no"; then
5237 # Didn't find any BSD compatible name lister, look for dumpbin.
5238 if test -n "$ac_tool_prefix"; then
5239 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5241 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5242 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5243 echo "$as_me:$LINENO: checking for $ac_word" >&5
5244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5245 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 if test -n "$DUMPBIN"; then
5249 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5255 test -z "$as_dir" && as_dir=.
5256 for ac_exec_ext in '' $ac_executable_extensions; do
5257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5258 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5267 DUMPBIN=$ac_cv_prog_DUMPBIN
5268 if test -n "$DUMPBIN"; then
5269 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5270 echo "${ECHO_T}$DUMPBIN" >&6
5272 echo "$as_me:$LINENO: result: no" >&5
5273 echo "${ECHO_T}no" >&6
5276 test -n "$DUMPBIN" && break
5279 if test -z "$DUMPBIN"; then
5280 ac_ct_DUMPBIN=$DUMPBIN
5281 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5283 # Extract the first word of "$ac_prog", so it can be a program name with args.
5284 set dummy $ac_prog; ac_word=$2
5285 echo "$as_me:$LINENO: checking for $ac_word" >&5
5286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5287 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5288 echo $ECHO_N "(cached) $ECHO_C" >&6
5290 if test -n "$ac_ct_DUMPBIN"; then
5291 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5297 test -z "$as_dir" && as_dir=.
5298 for ac_exec_ext in '' $ac_executable_extensions; do
5299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5300 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5309 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5310 if test -n "$ac_ct_DUMPBIN"; then
5311 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5312 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5314 echo "$as_me:$LINENO: result: no" >&5
5315 echo "${ECHO_T}no" >&6
5318 test -n "$ac_ct_DUMPBIN" && break
5320 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
5322 DUMPBIN=$ac_ct_DUMPBIN
5326 if test "$DUMPBIN" != ":"; then
5330 test -z "$NM" && NM=nm
5337 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5338 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5339 if test "${lt_cv_nm_interface+set}" = set; then
5340 echo $ECHO_N "(cached) $ECHO_C" >&6
5342 lt_cv_nm_interface="BSD nm"
5343 echo "int some_variable = 0;" > conftest.$ac_ext
5344 (eval echo "\"\$as_me:5344: $ac_compile\"" >&5)
5345 (eval "$ac_compile" 2>conftest.err)
5346 cat conftest.err >&5
5347 (eval echo "\"\$as_me:5347: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5348 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5349 cat conftest.err >&5
5350 (eval echo "\"\$as_me:5350: output\"" >&5)
5351 cat conftest.out >&5
5352 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5353 lt_cv_nm_interface="MS dumpbin"
5357 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5358 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5360 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5361 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5363 if test "$LN_S" = "ln -s"; then
5364 echo "$as_me:$LINENO: result: yes" >&5
5365 echo "${ECHO_T}yes" >&6
5367 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5368 echo "${ECHO_T}no, using $LN_S" >&6
5371 # find the maximum length of command line arguments
5372 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5373 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5374 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5375 echo $ECHO_N "(cached) $ECHO_C" >&6
5382 # On DJGPP, this test can blow up pretty badly due to problems in libc
5383 # (any single argument exceeding 2000 bytes causes a buffer overrun
5384 # during glob expansion). Even if it were fixed, the result of this
5385 # check would be larger than it should be.
5386 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5390 # Under GNU Hurd, this test is not required because there is
5391 # no limit to the length of command line arguments.
5392 # Libtool will interpret -1 as no limit whatsoever
5393 lt_cv_sys_max_cmd_len=-1;
5396 cygwin* | mingw* | cegcc*)
5397 # On Win9x/ME, this test blows up -- it succeeds, but takes
5398 # about 5 minutes as the teststring grows exponentially.
5399 # Worse, since 9x/ME are not pre-emptively multitasking,
5400 # you end up with a "frozen" computer, even though with patience
5401 # the test eventually succeeds (with a max line length of 256k).
5402 # Instead, let's just punt: use the minimum linelength reported by
5403 # all of the supported platforms: 8192 (on NT/2K/XP).
5404 lt_cv_sys_max_cmd_len=8192;
5408 # On AmigaOS with pdksh, this test takes hours, literally.
5409 # So we just punt and use a minimum line length of 8192.
5410 lt_cv_sys_max_cmd_len=8192;
5413 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5414 # This has been around since 386BSD, at least. Likely further.
5415 if test -x /sbin/sysctl; then
5416 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5417 elif test -x /usr/sbin/sysctl; then
5418 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5420 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5422 # And add a safety zone
5423 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5424 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5428 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5429 lt_cv_sys_max_cmd_len=196608
5433 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5434 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5435 # nice to cause kernel panics so lets avoid the loop below.
5436 # First set a reasonable default.
5437 lt_cv_sys_max_cmd_len=16384
5439 if test -x /sbin/sysconfig; then
5440 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5441 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5446 lt_cv_sys_max_cmd_len=102400
5448 sysv5* | sco5v6* | sysv4.2uw2*)
5449 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5450 if test -n "$kargmax"; then
5451 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5453 lt_cv_sys_max_cmd_len=32768
5457 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5458 if test -n "$lt_cv_sys_max_cmd_len"; then
5459 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5460 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5462 # Make teststring a little bigger before we do anything with it.
5463 # a 1K string should be a reasonable start.
5464 for i in 1 2 3 4 5 6 7 8 ; do
5465 teststring=$teststring$teststring
5467 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5468 # If test is not a shell built-in, we'll probably end up computing a
5469 # maximum length that is only half of the actual maximum length, but
5471 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5472 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5473 test $i != 17 # 1/2 MB should be enough
5476 teststring=$teststring$teststring
5478 # Only check the string length outside the loop.
5479 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5481 # Add a significant safety factor because C++ compilers can tack on
5482 # massive amounts of additional arguments before passing them to the
5483 # linker. It appears as though 1/2 is a usable value.
5484 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5491 if test -n $lt_cv_sys_max_cmd_len ; then
5492 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5493 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5495 echo "$as_me:$LINENO: result: none" >&5
5496 echo "${ECHO_T}none" >&6
5498 max_cmd_len=$lt_cv_sys_max_cmd_len
5509 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5510 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
5511 # Try some XSI features
5514 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5516 && eval 'test $(( 1 + 1 )) -eq 2 \
5517 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5519 echo "$as_me:$LINENO: result: $xsi_shell" >&5
5520 echo "${ECHO_T}$xsi_shell" >&6
5523 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5524 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
5526 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5528 && lt_shell_append=yes
5529 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5530 echo "${ECHO_T}$lt_shell_append" >&6
5533 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5543 # test EBCDIC or ASCII
5544 case `echo X|tr X '\101'` in
5545 A) # ASCII based system
5546 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5547 lt_SP2NL='tr \040 \012'
5548 lt_NL2SP='tr \015\012 \040\040'
5550 *) # EBCDIC based system
5551 lt_SP2NL='tr \100 \n'
5552 lt_NL2SP='tr \r\n \100\100'
5564 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5565 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5566 if test "${lt_cv_ld_reload_flag+set}" = set; then
5567 echo $ECHO_N "(cached) $ECHO_C" >&6
5569 lt_cv_ld_reload_flag='-r'
5571 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5572 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5573 reload_flag=$lt_cv_ld_reload_flag
5574 case $reload_flag in
5576 *) reload_flag=" $reload_flag" ;;
5578 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5581 if test "$GCC" = yes; then
5582 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5584 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5597 if test -n "$ac_tool_prefix"; then
5598 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5599 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5600 echo "$as_me:$LINENO: checking for $ac_word" >&5
5601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5602 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5603 echo $ECHO_N "(cached) $ECHO_C" >&6
5605 if test -n "$OBJDUMP"; then
5606 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5612 test -z "$as_dir" && as_dir=.
5613 for ac_exec_ext in '' $ac_executable_extensions; do
5614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5615 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5624 OBJDUMP=$ac_cv_prog_OBJDUMP
5625 if test -n "$OBJDUMP"; then
5626 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5627 echo "${ECHO_T}$OBJDUMP" >&6
5629 echo "$as_me:$LINENO: result: no" >&5
5630 echo "${ECHO_T}no" >&6
5634 if test -z "$ac_cv_prog_OBJDUMP"; then
5635 ac_ct_OBJDUMP=$OBJDUMP
5636 # Extract the first word of "objdump", so it can be a program name with args.
5637 set dummy objdump; ac_word=$2
5638 echo "$as_me:$LINENO: checking for $ac_word" >&5
5639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5640 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5641 echo $ECHO_N "(cached) $ECHO_C" >&6
5643 if test -n "$ac_ct_OBJDUMP"; then
5644 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5650 test -z "$as_dir" && as_dir=.
5651 for ac_exec_ext in '' $ac_executable_extensions; do
5652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5653 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5660 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
5663 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5664 if test -n "$ac_ct_OBJDUMP"; then
5665 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5666 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
5668 echo "$as_me:$LINENO: result: no" >&5
5669 echo "${ECHO_T}no" >&6
5672 OBJDUMP=$ac_ct_OBJDUMP
5674 OBJDUMP="$ac_cv_prog_OBJDUMP"
5677 test -z "$OBJDUMP" && OBJDUMP=objdump
5687 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5688 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
5689 if test "${lt_cv_deplibs_check_method+set}" = set; then
5690 echo $ECHO_N "(cached) $ECHO_C" >&6
5692 lt_cv_file_magic_cmd='$MAGIC_CMD'
5693 lt_cv_file_magic_test_file=
5694 lt_cv_deplibs_check_method='unknown'
5695 # Need to set the preceding variable on all platforms that support
5696 # interlibrary dependencies.
5697 # 'none' -- dependencies not supported.
5698 # `unknown' -- same as none, but documents that we really don't know.
5699 # 'pass_all' -- all dependencies passed with no checks.
5700 # 'test_compile' -- check by making test program.
5701 # 'file_magic [[regex]]' -- check by looking for files in library path
5702 # which responds to the $file_magic_cmd with a given extended regex.
5703 # If you have `file' or equivalent on your system and you're not sure
5704 # whether `pass_all' will *always* work, you probably want this one.
5708 lt_cv_deplibs_check_method=pass_all
5712 lt_cv_deplibs_check_method=pass_all
5716 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5717 lt_cv_file_magic_cmd='/usr/bin/file -L'
5718 lt_cv_file_magic_test_file=/shlib/libc.so
5722 # func_win32_libid is a shell function defined in ltmain.sh
5723 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5724 lt_cv_file_magic_cmd='func_win32_libid'
5728 # Base MSYS/MinGW do not provide the 'file' command needed by
5729 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5730 # unless we find 'file', for example because we are cross-compiling.
5731 if ( file / ) >/dev/null 2>&1; then
5732 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5733 lt_cv_file_magic_cmd='func_win32_libid'
5735 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5736 lt_cv_file_magic_cmd='$OBJDUMP -f'
5741 # use the weaker test based on 'objdump'. See mingw*.
5742 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5743 lt_cv_file_magic_cmd='$OBJDUMP -f'
5746 darwin* | rhapsody*)
5747 lt_cv_deplibs_check_method=pass_all
5750 freebsd* | dragonfly*)
5751 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5754 # Not sure whether the presence of OpenBSD here was a mistake.
5755 # Let's accept both of them until this is cleared up.
5756 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5757 lt_cv_file_magic_cmd=/usr/bin/file
5758 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5762 lt_cv_deplibs_check_method=pass_all
5767 lt_cv_deplibs_check_method=pass_all
5770 hpux10.20* | hpux11*)
5771 lt_cv_file_magic_cmd=/usr/bin/file
5774 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5775 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5778 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]'
5779 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5782 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5783 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5789 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5790 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5793 irix5* | irix6* | nonstopux*)
5795 *-32|*"-32 ") libmagic=32-bit;;
5796 *-n32|*"-n32 ") libmagic=N32;;
5797 *-64|*"-64 ") libmagic=64-bit;;
5798 *) libmagic=never-match;;
5800 lt_cv_deplibs_check_method=pass_all
5803 # This must be Linux ELF.
5804 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5805 lt_cv_deplibs_check_method=pass_all
5809 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5810 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5812 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5817 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5818 lt_cv_file_magic_cmd=/usr/bin/file
5819 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5823 lt_cv_deplibs_check_method=pass_all
5827 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5828 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5830 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5834 osf3* | osf4* | osf5*)
5835 lt_cv_deplibs_check_method=pass_all
5839 lt_cv_deplibs_check_method=pass_all
5843 lt_cv_deplibs_check_method=pass_all
5846 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5847 lt_cv_deplibs_check_method=pass_all
5851 case $host_vendor in
5853 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]'
5854 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5857 lt_cv_deplibs_check_method=pass_all
5860 lt_cv_file_magic_cmd='/bin/file'
5861 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5864 lt_cv_file_magic_cmd='/bin/file'
5865 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5866 lt_cv_file_magic_test_file=/lib/libc.so
5869 lt_cv_deplibs_check_method=pass_all
5872 lt_cv_deplibs_check_method=pass_all
5878 lt_cv_deplibs_check_method=pass_all
5883 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5884 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5885 file_magic_cmd=$lt_cv_file_magic_cmd
5886 deplibs_check_method=$lt_cv_deplibs_check_method
5887 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5900 if test -n "$ac_tool_prefix"; then
5901 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5902 set dummy ${ac_tool_prefix}ar; ac_word=$2
5903 echo "$as_me:$LINENO: checking for $ac_word" >&5
5904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5905 if test "${ac_cv_prog_AR+set}" = set; then
5906 echo $ECHO_N "(cached) $ECHO_C" >&6
5908 if test -n "$AR"; then
5909 ac_cv_prog_AR="$AR" # Let the user override the test.
5911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5915 test -z "$as_dir" && as_dir=.
5916 for ac_exec_ext in '' $ac_executable_extensions; do
5917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5918 ac_cv_prog_AR="${ac_tool_prefix}ar"
5919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5928 if test -n "$AR"; then
5929 echo "$as_me:$LINENO: result: $AR" >&5
5930 echo "${ECHO_T}$AR" >&6
5932 echo "$as_me:$LINENO: result: no" >&5
5933 echo "${ECHO_T}no" >&6
5937 if test -z "$ac_cv_prog_AR"; then
5939 # Extract the first word of "ar", so it can be a program name with args.
5940 set dummy ar; ac_word=$2
5941 echo "$as_me:$LINENO: checking for $ac_word" >&5
5942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5943 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5944 echo $ECHO_N "(cached) $ECHO_C" >&6
5946 if test -n "$ac_ct_AR"; then
5947 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5953 test -z "$as_dir" && as_dir=.
5954 for ac_exec_ext in '' $ac_executable_extensions; do
5955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5956 ac_cv_prog_ac_ct_AR="ar"
5957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5963 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5966 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5967 if test -n "$ac_ct_AR"; then
5968 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5969 echo "${ECHO_T}$ac_ct_AR" >&6
5971 echo "$as_me:$LINENO: result: no" >&5
5972 echo "${ECHO_T}no" >&6
5980 test -z "$AR" && AR=ar
5981 test -z "$AR_FLAGS" && AR_FLAGS=cru
5993 if test -n "$ac_tool_prefix"; then
5994 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5995 set dummy ${ac_tool_prefix}strip; ac_word=$2
5996 echo "$as_me:$LINENO: checking for $ac_word" >&5
5997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5998 if test "${ac_cv_prog_STRIP+set}" = set; then
5999 echo $ECHO_N "(cached) $ECHO_C" >&6
6001 if test -n "$STRIP"; then
6002 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6008 test -z "$as_dir" && as_dir=.
6009 for ac_exec_ext in '' $ac_executable_extensions; do
6010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6011 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6020 STRIP=$ac_cv_prog_STRIP
6021 if test -n "$STRIP"; then
6022 echo "$as_me:$LINENO: result: $STRIP" >&5
6023 echo "${ECHO_T}$STRIP" >&6
6025 echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6
6030 if test -z "$ac_cv_prog_STRIP"; then
6032 # Extract the first word of "strip", so it can be a program name with args.
6033 set dummy strip; ac_word=$2
6034 echo "$as_me:$LINENO: checking for $ac_word" >&5
6035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6036 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6037 echo $ECHO_N "(cached) $ECHO_C" >&6
6039 if test -n "$ac_ct_STRIP"; then
6040 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6046 test -z "$as_dir" && as_dir=.
6047 for ac_exec_ext in '' $ac_executable_extensions; do
6048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6049 ac_cv_prog_ac_ct_STRIP="strip"
6050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6056 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6059 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6060 if test -n "$ac_ct_STRIP"; then
6061 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6062 echo "${ECHO_T}$ac_ct_STRIP" >&6
6064 echo "$as_me:$LINENO: result: no" >&5
6065 echo "${ECHO_T}no" >&6
6070 STRIP="$ac_cv_prog_STRIP"
6073 test -z "$STRIP" && STRIP=:
6080 if test -n "$ac_tool_prefix"; then
6081 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6082 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6083 echo "$as_me:$LINENO: checking for $ac_word" >&5
6084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6085 if test "${ac_cv_prog_RANLIB+set}" = set; then
6086 echo $ECHO_N "(cached) $ECHO_C" >&6
6088 if test -n "$RANLIB"; then
6089 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6095 test -z "$as_dir" && as_dir=.
6096 for ac_exec_ext in '' $ac_executable_extensions; do
6097 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6098 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6107 RANLIB=$ac_cv_prog_RANLIB
6108 if test -n "$RANLIB"; then
6109 echo "$as_me:$LINENO: result: $RANLIB" >&5
6110 echo "${ECHO_T}$RANLIB" >&6
6112 echo "$as_me:$LINENO: result: no" >&5
6113 echo "${ECHO_T}no" >&6
6117 if test -z "$ac_cv_prog_RANLIB"; then
6118 ac_ct_RANLIB=$RANLIB
6119 # Extract the first word of "ranlib", so it can be a program name with args.
6120 set dummy ranlib; ac_word=$2
6121 echo "$as_me:$LINENO: checking for $ac_word" >&5
6122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6123 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6124 echo $ECHO_N "(cached) $ECHO_C" >&6
6126 if test -n "$ac_ct_RANLIB"; then
6127 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 test -z "$as_dir" && as_dir=.
6134 for ac_exec_ext in '' $ac_executable_extensions; do
6135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6136 ac_cv_prog_ac_ct_RANLIB="ranlib"
6137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6143 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6146 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6147 if test -n "$ac_ct_RANLIB"; then
6148 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6149 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6151 echo "$as_me:$LINENO: result: no" >&5
6152 echo "${ECHO_T}no" >&6
6155 RANLIB=$ac_ct_RANLIB
6157 RANLIB="$ac_cv_prog_RANLIB"
6160 test -z "$RANLIB" && RANLIB=:
6167 # Determine commands to create old-style static archives.
6168 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6169 old_postinstall_cmds='chmod 644 $oldlib'
6170 old_postuninstall_cmds=
6172 if test -n "$RANLIB"; then
6175 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6178 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6181 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6217 # If no C compiler was specified, use CC.
6220 # If no C compiler flags were specified, use CFLAGS.
6221 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6223 # Allow CC to be a program name with arguments.
6227 # Check for command to grab the raw symbol name followed by C symbol from nm.
6228 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6229 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
6230 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6231 echo $ECHO_N "(cached) $ECHO_C" >&6
6234 # These are sane defaults that work on at least a few old systems.
6235 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6237 # Character class describing NM global symbol codes.
6238 symcode='[BCDEGRST]'
6240 # Regexp to match symbols that can be accessed directly from C.
6241 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6243 # Define system-specific variables.
6248 cygwin* | mingw* | pw32* | cegcc*)
6249 symcode='[ABCDGISTW]'
6252 if test "$host_cpu" = ia64; then
6253 symcode='[ABCDEGRST]'
6257 symcode='[BCDEGRST]'
6260 symcode='[BCDEGQRST]'
6271 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6279 # If we're using GNU nm, then use its standard symbol codes.
6280 case `$NM -V 2>&1` in
6281 *GNU* | *'with BFD'*)
6282 symcode='[ABCDGIRSTW]' ;;
6285 # Transform an extracted symbol line into a proper C declaration.
6286 # Some systems (esp. on ia64) link data and code symbols differently,
6287 # so use this general approach.
6288 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6290 # Transform an extracted symbol line into symbol name and symbol address
6291 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6292 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'"
6294 # Handle CRLF in mingw tool chain
6298 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6302 # Try without a prefix underscore, then with it.
6303 for ac_symprfx in "" "_"; do
6305 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6306 symxfrm="\\1 $ac_symprfx\\2 \\2"
6308 # Write the raw and C identifiers.
6309 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6310 # Fake it for dumpbin and say T for any non-static function
6311 # and D for any global variable.
6312 # Also find C++ and __fastcall symbols from MSVC++,
6313 # which start with @ or ?.
6314 lt_cv_sys_global_symbol_pipe="$AWK '"\
6315 " {last_section=section; section=\$ 3};"\
6316 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6317 " \$ 0!~/External *\|/{next};"\
6318 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6319 " {if(hide[section]) next};"\
6320 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6321 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6322 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6323 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6324 " ' prfx=^$ac_symprfx"
6326 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6329 # Check to see that the pipe works correctly.
6333 cat > conftest.$ac_ext <<_LT_EOF
6338 void nm_test_func(void);
6339 void nm_test_func(void){}
6343 int main(){nm_test_var='a';nm_test_func();return(0);}
6346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6347 (eval $ac_compile) 2>&5
6349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6350 (exit $ac_status); }; then
6351 # Now try to grab the symbols.
6353 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6354 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6357 (exit $ac_status); } && test -s "$nlist"; then
6358 # Try sorting and uniquifying the output.
6359 if sort "$nlist" | uniq > "$nlist"T; then
6360 mv -f "$nlist"T "$nlist"
6365 # Make sure that we snagged all the symbols we need.
6366 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6367 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6368 cat <<_LT_EOF > conftest.$ac_ext
6374 # Now generate the symbol file.
6375 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6377 cat <<_LT_EOF >> conftest.$ac_ext
6379 /* The mapping between symbol names and symbols. */
6384 lt__PROGRAM__LTX_preloaded_symbols[] =
6386 { "@PROGRAM@", (void *) 0 },
6388 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6389 cat <<\_LT_EOF >> conftest.$ac_ext
6393 /* This works around a problem in FreeBSD linker */
6394 #ifdef FREEBSD_WORKAROUND
6395 static const void *lt_preloaded_setup() {
6396 return lt__PROGRAM__LTX_preloaded_symbols;
6404 # Now try linking the two files.
6405 mv conftest.$ac_objext conftstm.$ac_objext
6406 lt_save_LIBS="$LIBS"
6407 lt_save_CFLAGS="$CFLAGS"
6408 LIBS="conftstm.$ac_objext"
6409 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6411 (eval $ac_link) 2>&5
6413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6414 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6417 LIBS="$lt_save_LIBS"
6418 CFLAGS="$lt_save_CFLAGS"
6420 echo "cannot find nm_test_func in $nlist" >&5
6423 echo "cannot find nm_test_var in $nlist" >&5
6426 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6429 echo "$progname: failed program was:" >&5
6430 cat conftest.$ac_ext >&5
6432 rm -rf conftest* conftst*
6434 # Do not use the global_symbol_pipe unless it works.
6435 if test "$pipe_works" = yes; then
6438 lt_cv_sys_global_symbol_pipe=
6444 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6445 lt_cv_sys_global_symbol_to_cdecl=
6447 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6448 echo "$as_me:$LINENO: result: failed" >&5
6449 echo "${ECHO_T}failed" >&6
6451 echo "$as_me:$LINENO: result: ok" >&5
6452 echo "${ECHO_T}ok" >&6
6476 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6477 if test "${enable_libtool_lock+set}" = set; then
6478 enableval="$enable_libtool_lock"
6481 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6483 # Some flags need to be propagated to the compiler or linker for good
6487 # Find out which ABI we are using.
6488 echo 'int i;' > conftest.$ac_ext
6489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6490 (eval $ac_compile) 2>&5
6492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6493 (exit $ac_status); }; then
6494 case `/usr/bin/file conftest.$ac_objext` in
6506 # Find out which ABI we are using.
6507 echo '#line 6507 "configure"' > conftest.$ac_ext
6508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6509 (eval $ac_compile) 2>&5
6511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512 (exit $ac_status); }; then
6513 if test "$lt_cv_prog_gnu_ld" = yes; then
6514 case `/usr/bin/file conftest.$ac_objext` in
6516 LD="${LD-ld} -melf32bsmip"
6519 LD="${LD-ld} -melf32bmipn32"
6522 LD="${LD-ld} -melf64bmip"
6526 case `/usr/bin/file conftest.$ac_objext` in
6542 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6543 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6544 # Find out which ABI we are using.
6545 echo 'int i;' > conftest.$ac_ext
6546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6547 (eval $ac_compile) 2>&5
6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550 (exit $ac_status); }; then
6551 case `/usr/bin/file conftest.o` in
6554 x86_64-*kfreebsd*-gnu)
6555 LD="${LD-ld} -m elf_i386_fbsd"
6558 LD="${LD-ld} -m elf_i386"
6560 ppc64-*linux*|powerpc64-*linux*)
6561 LD="${LD-ld} -m elf32ppclinux"
6564 LD="${LD-ld} -m elf_s390"
6567 LD="${LD-ld} -m elf32_sparc"
6573 x86_64-*kfreebsd*-gnu)
6574 LD="${LD-ld} -m elf_x86_64_fbsd"
6577 LD="${LD-ld} -m elf_x86_64"
6579 ppc*-*linux*|powerpc*-*linux*)
6580 LD="${LD-ld} -m elf64ppc"
6582 s390*-*linux*|s390*-*tpf*)
6583 LD="${LD-ld} -m elf64_s390"
6586 LD="${LD-ld} -m elf64_sparc"
6596 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6597 SAVE_CFLAGS="$CFLAGS"
6598 CFLAGS="$CFLAGS -belf"
6599 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6600 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
6601 if test "${lt_cv_cc_needs_belf+set}" = set; then
6602 echo $ECHO_N "(cached) $ECHO_C" >&6
6605 ac_cpp='$CPP $CPPFLAGS'
6606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6610 cat >conftest.$ac_ext <<_ACEOF
6613 cat confdefs.h >>conftest.$ac_ext
6614 cat >>conftest.$ac_ext <<_ACEOF
6615 /* end confdefs.h. */
6625 rm -f conftest.$ac_objext conftest$ac_exeext
6626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6627 (eval $ac_link) 2>conftest.er1
6629 grep -v '^ *+' conftest.er1 >conftest.err
6631 cat conftest.err >&5
6632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6633 (exit $ac_status); } &&
6634 { ac_try='test -z "$ac_c_werror_flag"
6635 || test ! -s conftest.err'
6636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); }; } &&
6641 { ac_try='test -s conftest$ac_exeext'
6642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646 (exit $ac_status); }; }; then
6647 lt_cv_cc_needs_belf=yes
6649 echo "$as_me: failed program was:" >&5
6650 sed 's/^/| /' conftest.$ac_ext >&5
6652 lt_cv_cc_needs_belf=no
6654 rm -f conftest.err conftest.$ac_objext \
6655 conftest$ac_exeext conftest.$ac_ext
6657 ac_cpp='$CPP $CPPFLAGS'
6658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6663 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6664 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6665 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6666 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6667 CFLAGS="$SAVE_CFLAGS"
6671 # Find out which ABI we are using.
6672 echo 'int i;' > conftest.$ac_ext
6673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6674 (eval $ac_compile) 2>&5
6676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6677 (exit $ac_status); }; then
6678 case `/usr/bin/file conftest.o` in
6680 case $lt_cv_prog_gnu_ld in
6681 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6683 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6695 need_locks="$enable_libtool_lock"
6699 rhapsody* | darwin*)
6700 if test -n "$ac_tool_prefix"; then
6701 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6702 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6703 echo "$as_me:$LINENO: checking for $ac_word" >&5
6704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6705 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6706 echo $ECHO_N "(cached) $ECHO_C" >&6
6708 if test -n "$DSYMUTIL"; then
6709 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6715 test -z "$as_dir" && as_dir=.
6716 for ac_exec_ext in '' $ac_executable_extensions; do
6717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6718 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6727 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6728 if test -n "$DSYMUTIL"; then
6729 echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6730 echo "${ECHO_T}$DSYMUTIL" >&6
6732 echo "$as_me:$LINENO: result: no" >&5
6733 echo "${ECHO_T}no" >&6
6737 if test -z "$ac_cv_prog_DSYMUTIL"; then
6738 ac_ct_DSYMUTIL=$DSYMUTIL
6739 # Extract the first word of "dsymutil", so it can be a program name with args.
6740 set dummy dsymutil; ac_word=$2
6741 echo "$as_me:$LINENO: checking for $ac_word" >&5
6742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6743 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6744 echo $ECHO_N "(cached) $ECHO_C" >&6
6746 if test -n "$ac_ct_DSYMUTIL"; then
6747 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6753 test -z "$as_dir" && as_dir=.
6754 for ac_exec_ext in '' $ac_executable_extensions; do
6755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6756 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6763 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
6766 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6767 if test -n "$ac_ct_DSYMUTIL"; then
6768 echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6769 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
6771 echo "$as_me:$LINENO: result: no" >&5
6772 echo "${ECHO_T}no" >&6
6775 DSYMUTIL=$ac_ct_DSYMUTIL
6777 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6780 if test -n "$ac_tool_prefix"; then
6781 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6782 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6783 echo "$as_me:$LINENO: checking for $ac_word" >&5
6784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6785 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6786 echo $ECHO_N "(cached) $ECHO_C" >&6
6788 if test -n "$NMEDIT"; then
6789 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6795 test -z "$as_dir" && as_dir=.
6796 for ac_exec_ext in '' $ac_executable_extensions; do
6797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6798 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6807 NMEDIT=$ac_cv_prog_NMEDIT
6808 if test -n "$NMEDIT"; then
6809 echo "$as_me:$LINENO: result: $NMEDIT" >&5
6810 echo "${ECHO_T}$NMEDIT" >&6
6812 echo "$as_me:$LINENO: result: no" >&5
6813 echo "${ECHO_T}no" >&6
6817 if test -z "$ac_cv_prog_NMEDIT"; then
6818 ac_ct_NMEDIT=$NMEDIT
6819 # Extract the first word of "nmedit", so it can be a program name with args.
6820 set dummy nmedit; ac_word=$2
6821 echo "$as_me:$LINENO: checking for $ac_word" >&5
6822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6823 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6824 echo $ECHO_N "(cached) $ECHO_C" >&6
6826 if test -n "$ac_ct_NMEDIT"; then
6827 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6833 test -z "$as_dir" && as_dir=.
6834 for ac_exec_ext in '' $ac_executable_extensions; do
6835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6836 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6843 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
6846 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6847 if test -n "$ac_ct_NMEDIT"; then
6848 echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6849 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
6851 echo "$as_me:$LINENO: result: no" >&5
6852 echo "${ECHO_T}no" >&6
6855 NMEDIT=$ac_ct_NMEDIT
6857 NMEDIT="$ac_cv_prog_NMEDIT"
6860 if test -n "$ac_tool_prefix"; then
6861 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6862 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6863 echo "$as_me:$LINENO: checking for $ac_word" >&5
6864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6865 if test "${ac_cv_prog_LIPO+set}" = set; then
6866 echo $ECHO_N "(cached) $ECHO_C" >&6
6868 if test -n "$LIPO"; then
6869 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6875 test -z "$as_dir" && as_dir=.
6876 for ac_exec_ext in '' $ac_executable_extensions; do
6877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6878 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6887 LIPO=$ac_cv_prog_LIPO
6888 if test -n "$LIPO"; then
6889 echo "$as_me:$LINENO: result: $LIPO" >&5
6890 echo "${ECHO_T}$LIPO" >&6
6892 echo "$as_me:$LINENO: result: no" >&5
6893 echo "${ECHO_T}no" >&6
6897 if test -z "$ac_cv_prog_LIPO"; then
6899 # Extract the first word of "lipo", so it can be a program name with args.
6900 set dummy lipo; ac_word=$2
6901 echo "$as_me:$LINENO: checking for $ac_word" >&5
6902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6903 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6904 echo $ECHO_N "(cached) $ECHO_C" >&6
6906 if test -n "$ac_ct_LIPO"; then
6907 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6913 test -z "$as_dir" && as_dir=.
6914 for ac_exec_ext in '' $ac_executable_extensions; do
6915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6916 ac_cv_prog_ac_ct_LIPO="lipo"
6917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6923 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
6926 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6927 if test -n "$ac_ct_LIPO"; then
6928 echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6929 echo "${ECHO_T}$ac_ct_LIPO" >&6
6931 echo "$as_me:$LINENO: result: no" >&5
6932 echo "${ECHO_T}no" >&6
6937 LIPO="$ac_cv_prog_LIPO"
6940 if test -n "$ac_tool_prefix"; then
6941 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6942 set dummy ${ac_tool_prefix}otool; ac_word=$2
6943 echo "$as_me:$LINENO: checking for $ac_word" >&5
6944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6945 if test "${ac_cv_prog_OTOOL+set}" = set; then
6946 echo $ECHO_N "(cached) $ECHO_C" >&6
6948 if test -n "$OTOOL"; then
6949 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6955 test -z "$as_dir" && as_dir=.
6956 for ac_exec_ext in '' $ac_executable_extensions; do
6957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6958 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6967 OTOOL=$ac_cv_prog_OTOOL
6968 if test -n "$OTOOL"; then
6969 echo "$as_me:$LINENO: result: $OTOOL" >&5
6970 echo "${ECHO_T}$OTOOL" >&6
6972 echo "$as_me:$LINENO: result: no" >&5
6973 echo "${ECHO_T}no" >&6
6977 if test -z "$ac_cv_prog_OTOOL"; then
6979 # Extract the first word of "otool", so it can be a program name with args.
6980 set dummy otool; ac_word=$2
6981 echo "$as_me:$LINENO: checking for $ac_word" >&5
6982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6983 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6984 echo $ECHO_N "(cached) $ECHO_C" >&6
6986 if test -n "$ac_ct_OTOOL"; then
6987 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6993 test -z "$as_dir" && as_dir=.
6994 for ac_exec_ext in '' $ac_executable_extensions; do
6995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6996 ac_cv_prog_ac_ct_OTOOL="otool"
6997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7003 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
7006 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7007 if test -n "$ac_ct_OTOOL"; then
7008 echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
7009 echo "${ECHO_T}$ac_ct_OTOOL" >&6
7011 echo "$as_me:$LINENO: result: no" >&5
7012 echo "${ECHO_T}no" >&6
7017 OTOOL="$ac_cv_prog_OTOOL"
7020 if test -n "$ac_tool_prefix"; then
7021 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7022 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7023 echo "$as_me:$LINENO: checking for $ac_word" >&5
7024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7025 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7026 echo $ECHO_N "(cached) $ECHO_C" >&6
7028 if test -n "$OTOOL64"; then
7029 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7035 test -z "$as_dir" && as_dir=.
7036 for ac_exec_ext in '' $ac_executable_extensions; do
7037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7038 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7047 OTOOL64=$ac_cv_prog_OTOOL64
7048 if test -n "$OTOOL64"; then
7049 echo "$as_me:$LINENO: result: $OTOOL64" >&5
7050 echo "${ECHO_T}$OTOOL64" >&6
7052 echo "$as_me:$LINENO: result: no" >&5
7053 echo "${ECHO_T}no" >&6
7057 if test -z "$ac_cv_prog_OTOOL64"; then
7058 ac_ct_OTOOL64=$OTOOL64
7059 # Extract the first word of "otool64", so it can be a program name with args.
7060 set dummy otool64; ac_word=$2
7061 echo "$as_me:$LINENO: checking for $ac_word" >&5
7062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7063 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7064 echo $ECHO_N "(cached) $ECHO_C" >&6
7066 if test -n "$ac_ct_OTOOL64"; then
7067 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7073 test -z "$as_dir" && as_dir=.
7074 for ac_exec_ext in '' $ac_executable_extensions; do
7075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7076 ac_cv_prog_ac_ct_OTOOL64="otool64"
7077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7083 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
7086 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7087 if test -n "$ac_ct_OTOOL64"; then
7088 echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
7089 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
7091 echo "$as_me:$LINENO: result: no" >&5
7092 echo "${ECHO_T}no" >&6
7095 OTOOL64=$ac_ct_OTOOL64
7097 OTOOL64="$ac_cv_prog_OTOOL64"
7126 echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7127 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
7128 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7129 echo $ECHO_N "(cached) $ECHO_C" >&6
7131 lt_cv_apple_cc_single_mod=no
7132 if test -z "${LT_MULTI_MODULE}"; then
7133 # By default we will add the -single_module flag. You can override
7134 # by either setting the environment variable LT_MULTI_MODULE
7135 # non-empty at configure time, or by adding -multi_module to the
7137 rm -rf libconftest.dylib*
7138 echo "int foo(void){return 1;}" > conftest.c
7139 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7140 -dynamiclib -Wl,-single_module conftest.c" >&5
7141 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7142 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7144 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7145 lt_cv_apple_cc_single_mod=yes
7147 cat conftest.err >&5
7149 rm -rf libconftest.dylib*
7153 echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7154 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
7155 echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7156 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
7157 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7158 echo $ECHO_N "(cached) $ECHO_C" >&6
7160 lt_cv_ld_exported_symbols_list=no
7161 save_LDFLAGS=$LDFLAGS
7162 echo "_main" > conftest.sym
7163 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7164 cat >conftest.$ac_ext <<_ACEOF
7167 cat confdefs.h >>conftest.$ac_ext
7168 cat >>conftest.$ac_ext <<_ACEOF
7169 /* end confdefs.h. */
7179 rm -f conftest.$ac_objext conftest$ac_exeext
7180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7181 (eval $ac_link) 2>conftest.er1
7183 grep -v '^ *+' conftest.er1 >conftest.err
7185 cat conftest.err >&5
7186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187 (exit $ac_status); } &&
7188 { ac_try='test -z "$ac_c_werror_flag"
7189 || test ! -s conftest.err'
7190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194 (exit $ac_status); }; } &&
7195 { ac_try='test -s conftest$ac_exeext'
7196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7200 (exit $ac_status); }; }; then
7201 lt_cv_ld_exported_symbols_list=yes
7203 echo "$as_me: failed program was:" >&5
7204 sed 's/^/| /' conftest.$ac_ext >&5
7206 lt_cv_ld_exported_symbols_list=no
7208 rm -f conftest.err conftest.$ac_objext \
7209 conftest$ac_exeext conftest.$ac_ext
7210 LDFLAGS="$save_LDFLAGS"
7213 echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7214 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
7216 rhapsody* | darwin1.[012])
7217 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7219 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7220 darwin*) # darwin 5.x on
7221 # if running on 10.5 or later, the deployment target defaults
7222 # to the OS version, if on x86, and 10.4, the deployment
7223 # target defaults to 10.4. Don't you love it?
7224 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7225 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7226 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7228 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7230 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7234 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7235 _lt_dar_single_mod='$single_module'
7237 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7238 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7240 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7242 if test "$DSYMUTIL" != ":"; then
7243 _lt_dsymutil='~$DSYMUTIL $lib || :'
7251 for ac_header in dlfcn.h
7253 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7254 echo "$as_me:$LINENO: checking for $ac_header" >&5
7255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7257 echo $ECHO_N "(cached) $ECHO_C" >&6
7259 cat >conftest.$ac_ext <<_ACEOF
7262 cat confdefs.h >>conftest.$ac_ext
7263 cat >>conftest.$ac_ext <<_ACEOF
7264 /* end confdefs.h. */
7265 $ac_includes_default
7267 #include <$ac_header>
7269 rm -f conftest.$ac_objext
7270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7271 (eval $ac_compile) 2>conftest.er1
7273 grep -v '^ *+' conftest.er1 >conftest.err
7275 cat conftest.err >&5
7276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7277 (exit $ac_status); } &&
7278 { ac_try='test -z "$ac_c_werror_flag"
7279 || test ! -s conftest.err'
7280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284 (exit $ac_status); }; } &&
7285 { ac_try='test -s conftest.$ac_objext'
7286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7290 (exit $ac_status); }; }; then
7291 eval "$as_ac_Header=yes"
7293 echo "$as_me: failed program was:" >&5
7294 sed 's/^/| /' conftest.$ac_ext >&5
7296 eval "$as_ac_Header=no"
7298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7302 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7303 cat >>confdefs.h <<_ACEOF
7304 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7323 # Check whether --enable-static or --disable-static was given.
7324 if test "${enable_static+set}" = set; then
7325 enableval="$enable_static"
7326 p=${PACKAGE-default}
7328 yes) enable_static=yes ;;
7329 no) enable_static=no ;;
7332 # Look at the argument we got. We use all the common list separators.
7333 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7334 for pkg in $enableval; do
7336 if test "X$pkg" = "X$p"; then
7355 # Check whether --with-pic or --without-pic was given.
7356 if test "${with_pic+set}" = set; then
7363 test -z "$pic_mode" && pic_mode=default
7371 # Check whether --enable-fast-install or --disable-fast-install was given.
7372 if test "${enable_fast_install+set}" = set; then
7373 enableval="$enable_fast_install"
7374 p=${PACKAGE-default}
7376 yes) enable_fast_install=yes ;;
7377 no) enable_fast_install=no ;;
7379 enable_fast_install=no
7380 # Look at the argument we got. We use all the common list separators.
7381 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7382 for pkg in $enableval; do
7384 if test "X$pkg" = "X$p"; then
7385 enable_fast_install=yes
7392 enable_fast_install=yes
7404 # This can be used to rebuild libtool when needed
7405 LIBTOOL_DEPS="$ltmain"
7407 # Always use our own libtool.
7408 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7434 test -z "$LN_S" && LN_S="ln -s"
7449 if test -n "${ZSH_VERSION+set}" ; then
7450 setopt NO_GLOB_SUBST
7453 echo "$as_me:$LINENO: checking for objdir" >&5
7454 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7455 if test "${lt_cv_objdir+set}" = set; then
7456 echo $ECHO_N "(cached) $ECHO_C" >&6
7458 rm -f .libs 2>/dev/null
7459 mkdir .libs 2>/dev/null
7460 if test -d .libs; then
7463 # MS-DOS does not allow filenames that begin with a dot.
7466 rmdir .libs 2>/dev/null
7468 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7469 echo "${ECHO_T}$lt_cv_objdir" >&6
7470 objdir=$lt_cv_objdir
7476 cat >>confdefs.h <<_ACEOF
7477 #define LT_OBJDIR "$lt_cv_objdir/"
7498 # AIX sometimes has problems with the GCC collect2 program. For some
7499 # reason, if we set the COLLECT_NAMES environment variable, the problems
7500 # vanish in a puff of smoke.
7501 if test "X${COLLECT_NAMES+set}" != Xset; then
7503 export COLLECT_NAMES
7508 # Sed substitution that helps us do robust quoting. It backslashifies
7509 # metacharacters that are still active within double-quoted strings.
7510 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7512 # Same as above, but do not quote variable references.
7513 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7515 # Sed substitution to delay expansion of an escaped shell variable in a
7516 # double_quote_subst'ed string.
7517 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7519 # Sed substitution to delay expansion of an escaped single quote.
7520 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7522 # Sed substitution to avoid accidental globbing in evaled expressions
7523 no_glob_subst='s/\*/\\\*/g'
7527 can_build_shared=yes
7529 # All known linkers require a `.a' archive for static linking (except MSVC,
7530 # which needs '.lib').
7533 with_gnu_ld="$lt_cv_prog_gnu_ld"
7536 old_CFLAGS="$CFLAGS"
7538 # Set sane defaults for various variables
7539 test -z "$CC" && CC=cc
7540 test -z "$LTCC" && LTCC=$CC
7541 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7542 test -z "$LD" && LD=ld
7543 test -z "$ac_objext" && ac_objext=o
7545 for cc_temp in $compiler""; do
7547 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7548 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7553 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7556 # Only perform the check for file, if the check method requires it
7557 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7558 case $deplibs_check_method in
7560 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7561 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7562 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7563 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7564 echo $ECHO_N "(cached) $ECHO_C" >&6
7568 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7571 lt_save_MAGIC_CMD="$MAGIC_CMD"
7572 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7573 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7574 for ac_dir in $ac_dummy; do
7576 test -z "$ac_dir" && ac_dir=.
7577 if test -f $ac_dir/${ac_tool_prefix}file; then
7578 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7579 if test -n "$file_magic_test_file"; then
7580 case $deplibs_check_method in
7582 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7583 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7584 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7585 $EGREP "$file_magic_regex" > /dev/null; then
7590 *** Warning: the command libtool uses to detect shared libraries,
7591 *** $file_magic_cmd, produces output that libtool cannot recognize.
7592 *** The result is that libtool may fail to recognize shared libraries
7593 *** as such. This will affect the creation of libtool libraries that
7594 *** depend on shared libraries, but programs linked with such libtool
7595 *** libraries will work regardless of this problem. Nevertheless, you
7596 *** may want to report the problem to your system manager and/or to
7607 MAGIC_CMD="$lt_save_MAGIC_CMD"
7612 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7613 if test -n "$MAGIC_CMD"; then
7614 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7615 echo "${ECHO_T}$MAGIC_CMD" >&6
7617 echo "$as_me:$LINENO: result: no" >&5
7618 echo "${ECHO_T}no" >&6
7625 if test -z "$lt_cv_path_MAGIC_CMD"; then
7626 if test -n "$ac_tool_prefix"; then
7627 echo "$as_me:$LINENO: checking for file" >&5
7628 echo $ECHO_N "checking for file... $ECHO_C" >&6
7629 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7630 echo $ECHO_N "(cached) $ECHO_C" >&6
7634 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7637 lt_save_MAGIC_CMD="$MAGIC_CMD"
7638 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7639 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7640 for ac_dir in $ac_dummy; do
7642 test -z "$ac_dir" && ac_dir=.
7643 if test -f $ac_dir/file; then
7644 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7645 if test -n "$file_magic_test_file"; then
7646 case $deplibs_check_method in
7648 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7649 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7650 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7651 $EGREP "$file_magic_regex" > /dev/null; then
7656 *** Warning: the command libtool uses to detect shared libraries,
7657 *** $file_magic_cmd, produces output that libtool cannot recognize.
7658 *** The result is that libtool may fail to recognize shared libraries
7659 *** as such. This will affect the creation of libtool libraries that
7660 *** depend on shared libraries, but programs linked with such libtool
7661 *** libraries will work regardless of this problem. Nevertheless, you
7662 *** may want to report the problem to your system manager and/or to
7673 MAGIC_CMD="$lt_save_MAGIC_CMD"
7678 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7679 if test -n "$MAGIC_CMD"; then
7680 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7681 echo "${ECHO_T}$MAGIC_CMD" >&6
7683 echo "$as_me:$LINENO: result: no" >&5
7684 echo "${ECHO_T}no" >&6
7697 # Use C for the default configuration in the libtool script
7701 ac_cpp='$CPP $CPPFLAGS'
7702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7707 # Source file extension for C test sources.
7710 # Object file extension for compiled C test sources.
7714 # Code to be used in simple compile tests
7715 lt_simple_compile_test_code="int some_variable = 0;"
7717 # Code to be used in simple link tests
7718 lt_simple_link_test_code='int main(){return(0);}'
7726 # If no C compiler was specified, use CC.
7729 # If no C compiler flags were specified, use CFLAGS.
7730 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7732 # Allow CC to be a program name with arguments.
7735 # Save the default compiler, since it gets overwritten when the other
7736 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7737 compiler_DEFAULT=$CC
7739 # save warnings/boilerplate of simple test code
7740 ac_outfile=conftest.$ac_objext
7741 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7742 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7743 _lt_compiler_boilerplate=`cat conftest.err`
7746 ac_outfile=conftest.$ac_objext
7747 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7748 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7749 _lt_linker_boilerplate=`cat conftest.err`
7754 ## There is no encapsulation within the following macros, do not change
7755 ## the running order or otherwise move them around unless you know exactly
7756 ## what you are doing...
7757 if test -n "$compiler"; then
7759 lt_prog_compiler_no_builtin_flag=
7761 if test "$GCC" = yes; then
7762 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7764 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7765 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7766 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7767 echo $ECHO_N "(cached) $ECHO_C" >&6
7769 lt_cv_prog_compiler_rtti_exceptions=no
7770 ac_outfile=conftest.$ac_objext
7771 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7772 lt_compiler_flag="-fno-rtti -fno-exceptions"
7773 # Insert the option either (1) after the last *FLAGS variable, or
7774 # (2) before a word containing "conftest.", or (3) at the end.
7775 # Note that $ac_compile itself does not contain backslashes and begins
7776 # with a dollar sign (not a hyphen), so the echo should work correctly.
7777 # The option is referenced via a variable to avoid confusing sed.
7778 lt_compile=`echo "$ac_compile" | $SED \
7779 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7780 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7781 -e 's:$: $lt_compiler_flag:'`
7782 (eval echo "\"\$as_me:7782: $lt_compile\"" >&5)
7783 (eval "$lt_compile" 2>conftest.err)
7785 cat conftest.err >&5
7786 echo "$as_me:7786: \$? = $ac_status" >&5
7787 if (exit $ac_status) && test -s "$ac_outfile"; then
7788 # The compiler can only warn and ignore the option if not recognized
7789 # So say no if there are warnings other than the usual output.
7790 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7791 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7792 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7793 lt_cv_prog_compiler_rtti_exceptions=yes
7799 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7800 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7802 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7803 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7815 lt_prog_compiler_wl=
7816 lt_prog_compiler_pic=
7817 lt_prog_compiler_static=
7819 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7820 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7822 if test "$GCC" = yes; then
7823 lt_prog_compiler_wl='-Wl,'
7824 lt_prog_compiler_static='-static'
7828 # All AIX code is PIC.
7829 if test "$host_cpu" = ia64; then
7830 # AIX 5 now supports IA64 processor
7831 lt_prog_compiler_static='-Bstatic'
7838 # see comment about AmigaOS4 .so support
7839 lt_prog_compiler_pic='-fPIC'
7842 # FIXME: we need at least 68020 code to build shared libraries, but
7843 # adding the `-m68020' flag to GCC prevents building anything better,
7845 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7850 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7851 # PIC is the default for these OSes.
7854 mingw* | cygwin* | pw32* | os2* | cegcc*)
7855 # This hack is so that the source file can tell whether it is being
7856 # built for inclusion in a dll (and should export symbols for example).
7857 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7858 # (--disable-auto-import) libraries
7859 lt_prog_compiler_pic='-DDLL_EXPORT'
7862 darwin* | rhapsody*)
7863 # PIC is the default on this platform
7864 # Common symbols not allowed in MH_DYLIB files
7865 lt_prog_compiler_pic='-fno-common'
7869 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7870 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7871 # sets the default TLS model and affects inlining.
7877 lt_prog_compiler_pic='-fPIC'
7883 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7884 # Instead, we relocate shared libraries at runtime.
7888 # Just because we use GCC doesn't mean we suddenly get shared libraries
7889 # on systems that don't support them.
7890 lt_prog_compiler_can_build_shared=no
7895 # QNX uses GNU C++, but need to define -shared option too, otherwise
7897 lt_prog_compiler_pic='-fPIC -shared'
7901 if test -d /usr/nec; then
7902 lt_prog_compiler_pic=-Kconform_pic
7907 lt_prog_compiler_pic='-fPIC'
7911 # PORTME Check for flag to pass linker flags through the system compiler.
7914 lt_prog_compiler_wl='-Wl,'
7915 if test "$host_cpu" = ia64; then
7916 # AIX 5 now supports IA64 processor
7917 lt_prog_compiler_static='-Bstatic'
7919 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7923 mingw* | cygwin* | pw32* | os2* | cegcc*)
7924 # This hack is so that the source file can tell whether it is being
7925 # built for inclusion in a dll (and should export symbols for example).
7926 lt_prog_compiler_pic='-DDLL_EXPORT'
7929 hpux9* | hpux10* | hpux11*)
7930 lt_prog_compiler_wl='-Wl,'
7931 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7938 lt_prog_compiler_pic='+Z'
7941 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7942 lt_prog_compiler_static='${wl}-a ${wl}archive'
7945 irix5* | irix6* | nonstopux*)
7946 lt_prog_compiler_wl='-Wl,'
7947 # PIC (with -KPIC) is the default.
7948 lt_prog_compiler_static='-non_shared'
7951 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7952 case $cc_basename in
7953 # old Intel for x86_64 which still supported -KPIC.
7955 lt_prog_compiler_wl='-Wl,'
7956 lt_prog_compiler_pic='-KPIC'
7957 lt_prog_compiler_static='-static'
7959 # icc used to be incompatible with GCC.
7960 # ICC 10 doesn't accept -KPIC any more.
7962 lt_prog_compiler_wl='-Wl,'
7963 lt_prog_compiler_pic='-fPIC'
7964 lt_prog_compiler_static='-static'
7966 # Lahey Fortran 8.1.
7968 lt_prog_compiler_wl='-Wl,'
7969 lt_prog_compiler_pic='--shared'
7970 lt_prog_compiler_static='--static'
7972 pgcc* | pgf77* | pgf90* | pgf95*)
7973 # Portland Group compilers (*not* the Pentium gcc compiler,
7974 # which looks to be a dead project)
7975 lt_prog_compiler_wl='-Wl,'
7976 lt_prog_compiler_pic='-fpic'
7977 lt_prog_compiler_static='-Bstatic'
7980 lt_prog_compiler_wl='-Wl,'
7981 # All Alpha code is PIC.
7982 lt_prog_compiler_static='-non_shared'
7985 # IBM XL C 8.0/Fortran 10.1 on PPC
7986 lt_prog_compiler_wl='-Wl,'
7987 lt_prog_compiler_pic='-qpic'
7988 lt_prog_compiler_static='-qstaticlink'
7991 case `$CC -V 2>&1 | sed 5q` in
7994 lt_prog_compiler_pic='-KPIC'
7995 lt_prog_compiler_static='-Bstatic'
7996 lt_prog_compiler_wl='-Wl,'
7999 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8000 lt_prog_compiler_pic='-KPIC'
8001 lt_prog_compiler_static='-Bstatic'
8002 lt_prog_compiler_wl=''
8010 lt_prog_compiler_pic='-KPIC'
8011 lt_prog_compiler_static='-Bstatic'
8015 # QNX uses GNU C++, but need to define -shared option too, otherwise
8017 lt_prog_compiler_pic='-fPIC -shared'
8020 osf3* | osf4* | osf5*)
8021 lt_prog_compiler_wl='-Wl,'
8022 # All OSF/1 code is PIC.
8023 lt_prog_compiler_static='-non_shared'
8027 lt_prog_compiler_static='-non_shared'
8031 lt_prog_compiler_pic='-KPIC'
8032 lt_prog_compiler_static='-Bstatic'
8033 case $cc_basename in
8035 lt_prog_compiler_wl='-Qoption ld ';;
8037 lt_prog_compiler_wl='-Wl,';;
8042 lt_prog_compiler_wl='-Qoption ld '
8043 lt_prog_compiler_pic='-PIC'
8044 lt_prog_compiler_static='-Bstatic'
8047 sysv4 | sysv4.2uw2* | sysv4.3*)
8048 lt_prog_compiler_wl='-Wl,'
8049 lt_prog_compiler_pic='-KPIC'
8050 lt_prog_compiler_static='-Bstatic'
8054 if test -d /usr/nec ;then
8055 lt_prog_compiler_pic='-Kconform_pic'
8056 lt_prog_compiler_static='-Bstatic'
8060 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8061 lt_prog_compiler_wl='-Wl,'
8062 lt_prog_compiler_pic='-KPIC'
8063 lt_prog_compiler_static='-Bstatic'
8067 lt_prog_compiler_wl='-Wl,'
8068 lt_prog_compiler_can_build_shared=no
8072 lt_prog_compiler_pic='-pic'
8073 lt_prog_compiler_static='-Bstatic'
8077 lt_prog_compiler_can_build_shared=no
8083 # For platforms which do not support PIC, -DPIC is meaningless:
8085 lt_prog_compiler_pic=
8088 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8091 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8092 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8100 # Check to make sure the PIC flag actually works.
8102 if test -n "$lt_prog_compiler_pic"; then
8103 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8104 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8105 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8106 echo $ECHO_N "(cached) $ECHO_C" >&6
8108 lt_cv_prog_compiler_pic_works=no
8109 ac_outfile=conftest.$ac_objext
8110 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8111 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8112 # Insert the option either (1) after the last *FLAGS variable, or
8113 # (2) before a word containing "conftest.", or (3) at the end.
8114 # Note that $ac_compile itself does not contain backslashes and begins
8115 # with a dollar sign (not a hyphen), so the echo should work correctly.
8116 # The option is referenced via a variable to avoid confusing sed.
8117 lt_compile=`echo "$ac_compile" | $SED \
8118 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8119 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8120 -e 's:$: $lt_compiler_flag:'`
8121 (eval echo "\"\$as_me:8121: $lt_compile\"" >&5)
8122 (eval "$lt_compile" 2>conftest.err)
8124 cat conftest.err >&5
8125 echo "$as_me:8125: \$? = $ac_status" >&5
8126 if (exit $ac_status) && test -s "$ac_outfile"; then
8127 # The compiler can only warn and ignore the option if not recognized
8128 # So say no if there are warnings other than the usual output.
8129 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8130 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8131 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8132 lt_cv_prog_compiler_pic_works=yes
8138 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8139 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
8141 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8142 case $lt_prog_compiler_pic in
8144 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8147 lt_prog_compiler_pic=
8148 lt_prog_compiler_can_build_shared=no
8159 # Check to make sure the static flag actually works.
8161 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8162 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8163 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
8164 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8165 echo $ECHO_N "(cached) $ECHO_C" >&6
8167 lt_cv_prog_compiler_static_works=no
8168 save_LDFLAGS="$LDFLAGS"
8169 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8170 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8171 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8172 # The linker can only warn and ignore the option if not recognized
8173 # So say no if there are warnings
8174 if test -s conftest.err; then
8175 # Append any errors to the config.log.
8176 cat conftest.err 1>&5
8177 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8178 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8179 if diff conftest.exp conftest.er2 >/dev/null; then
8180 lt_cv_prog_compiler_static_works=yes
8183 lt_cv_prog_compiler_static_works=yes
8187 LDFLAGS="$save_LDFLAGS"
8190 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8191 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
8193 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8196 lt_prog_compiler_static=
8205 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8206 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8207 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8208 echo $ECHO_N "(cached) $ECHO_C" >&6
8210 lt_cv_prog_compiler_c_o=no
8211 $RM -r conftest 2>/dev/null
8215 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8217 lt_compiler_flag="-o out/conftest2.$ac_objext"
8218 # Insert the option either (1) after the last *FLAGS variable, or
8219 # (2) before a word containing "conftest.", or (3) at the end.
8220 # Note that $ac_compile itself does not contain backslashes and begins
8221 # with a dollar sign (not a hyphen), so the echo should work correctly.
8222 lt_compile=`echo "$ac_compile" | $SED \
8223 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8224 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8225 -e 's:$: $lt_compiler_flag:'`
8226 (eval echo "\"\$as_me:8226: $lt_compile\"" >&5)
8227 (eval "$lt_compile" 2>out/conftest.err)
8229 cat out/conftest.err >&5
8230 echo "$as_me:8230: \$? = $ac_status" >&5
8231 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8233 # The compiler can only warn and ignore the option if not recognized
8234 # So say no if there are warnings
8235 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8236 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8237 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8238 lt_cv_prog_compiler_c_o=yes
8243 # SGI C++ compiler will create directory out/ii_files/ for
8244 # template instantiation
8245 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8246 $RM out/* && rmdir out
8252 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8253 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8260 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8261 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8262 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8263 echo $ECHO_N "(cached) $ECHO_C" >&6
8265 lt_cv_prog_compiler_c_o=no
8266 $RM -r conftest 2>/dev/null
8270 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8272 lt_compiler_flag="-o out/conftest2.$ac_objext"
8273 # Insert the option either (1) after the last *FLAGS variable, or
8274 # (2) before a word containing "conftest.", or (3) at the end.
8275 # Note that $ac_compile itself does not contain backslashes and begins
8276 # with a dollar sign (not a hyphen), so the echo should work correctly.
8277 lt_compile=`echo "$ac_compile" | $SED \
8278 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8279 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8280 -e 's:$: $lt_compiler_flag:'`
8281 (eval echo "\"\$as_me:8281: $lt_compile\"" >&5)
8282 (eval "$lt_compile" 2>out/conftest.err)
8284 cat out/conftest.err >&5
8285 echo "$as_me:8285: \$? = $ac_status" >&5
8286 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8288 # The compiler can only warn and ignore the option if not recognized
8289 # So say no if there are warnings
8290 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8291 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8292 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8293 lt_cv_prog_compiler_c_o=yes
8298 # SGI C++ compiler will create directory out/ii_files/ for
8299 # template instantiation
8300 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8301 $RM out/* && rmdir out
8307 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8308 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8313 hard_links="nottested"
8314 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8315 # do not overwrite the value of need_locks provided by the user
8316 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8317 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8320 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8322 ln conftest.a conftest.b 2>&5 || hard_links=no
8323 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8324 echo "$as_me:$LINENO: result: $hard_links" >&5
8325 echo "${ECHO_T}$hard_links" >&6
8326 if test "$hard_links" = no; then
8327 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8328 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8340 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8341 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8344 allow_undefined_flag=
8345 always_export_symbols=no
8347 archive_expsym_cmds=
8348 compiler_needs_object=no
8349 enable_shared_with_static_runtimes=no
8350 export_dynamic_flag_spec=
8351 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8352 hardcode_automatic=no
8354 hardcode_direct_absolute=no
8355 hardcode_libdir_flag_spec=
8356 hardcode_libdir_flag_spec_ld=
8357 hardcode_libdir_separator=
8359 hardcode_shlibpath_var=unsupported
8361 link_all_deplibs=unknown
8364 old_archive_from_new_cmds=
8365 old_archive_from_expsyms_cmds=
8366 thread_safe_flag_spec=
8367 whole_archive_flag_spec=
8368 # include_expsyms should be a list of space-separated symbols to be *always*
8369 # included in the symbol list
8371 # exclude_expsyms can be an extended regexp of symbols to exclude
8372 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8373 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8374 # as well as any symbol that contains `d'.
8375 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8376 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8377 # platforms (ab)use it in PIC code, but their linkers get confused if
8378 # the symbol is explicitly referenced. Since portable code cannot
8379 # rely on this symbol name, it's probably fine to never include it in
8380 # preloaded symbol tables.
8381 # Exclude shared library initialization/finalization symbols.
8382 extract_expsyms_cmds=
8385 cygwin* | mingw* | pw32* | cegcc*)
8386 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8387 # When not using gcc, we currently assume that we are using
8388 # Microsoft Visual C++.
8389 if test "$GCC" != yes; then
8394 # we just hope/assume this is gcc and not c89 (= MSVC++)
8403 if test "$with_gnu_ld" = yes; then
8404 # If archive_cmds runs LD, not CC, wlarc should be empty
8407 # Set some defaults for GNU ld with shared library support. These
8408 # are reset later if shared libraries are not supported. Putting them
8409 # here allows them to be overridden if necessary.
8410 runpath_var=LD_RUN_PATH
8411 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8412 export_dynamic_flag_spec='${wl}--export-dynamic'
8413 # ancient GNU ld didn't support --whole-archive et. al.
8414 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8415 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8417 whole_archive_flag_spec=
8419 supports_anon_versioning=no
8420 case `$LD -v 2>&1` in
8421 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8422 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8423 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8424 *\ 2.11.*) ;; # other 2.11 versions
8425 *) supports_anon_versioning=yes ;;
8428 # See if GNU ld supports shared libraries.
8431 # On AIX/PPC, the GNU linker is very broken
8432 if test "$host_cpu" != ia64; then
8436 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8437 *** to be unable to reliably create shared libraries on AIX.
8438 *** Therefore, libtool is disabling shared libraries support. If you
8439 *** really care for shared libraries, you may want to modify your PATH
8440 *** so that a non-GNU linker is found, and then restart.
8449 # see comment about AmigaOS4 .so support
8450 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8451 archive_expsym_cmds=''
8454 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)'
8455 hardcode_libdir_flag_spec='-L$libdir'
8456 hardcode_minus_L=yes
8462 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8463 allow_undefined_flag=unsupported
8465 # support --undefined. This deserves some investigation. FIXME
8466 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8472 cygwin* | mingw* | pw32* | cegcc*)
8473 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8474 # as there is no search path for DLLs.
8475 hardcode_libdir_flag_spec='-L$libdir'
8476 allow_undefined_flag=unsupported
8477 always_export_symbols=no
8478 enable_shared_with_static_runtimes=yes
8479 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8481 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8482 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8483 # If the export-symbols file already is a .def file (1st line
8484 # is EXPORTS), use it as is; otherwise, prepend...
8485 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8486 cp $export_symbols $output_objdir/$soname.def;
8488 echo EXPORTS > $output_objdir/$soname.def;
8489 cat $export_symbols >> $output_objdir/$soname.def;
8491 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8499 hardcode_shlibpath_var=no
8500 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8501 export_dynamic_flag_spec='${wl}-E'
8502 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8503 # Instead, shared libraries are loaded at an image base (0x10000000 by
8504 # default) and relocated if they conflict, which is a slow very memory
8505 # consuming and fragmenting process. To avoid this, we pick a random,
8506 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8507 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8508 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8509 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'
8512 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8514 if test "$host_os" = linux-dietlibc; then
8515 case $cc_basename in
8516 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8519 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8520 && test "$tmp_diet" = no
8523 tmp_sharedflag='-shared'
8524 case $cc_basename,$host_cpu in
8525 pgcc*) # Portland Group C compiler
8526 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'
8527 tmp_addflag=' $pic_flag'
8529 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8530 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'
8531 tmp_addflag=' $pic_flag -Mnomain' ;;
8532 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8533 tmp_addflag=' -i_dynamic' ;;
8534 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8535 tmp_addflag=' -i_dynamic -nofor_main' ;;
8536 ifc* | ifort*) # Intel Fortran compiler
8537 tmp_addflag=' -nofor_main' ;;
8538 lf95*) # Lahey Fortran 8.1
8539 whole_archive_flag_spec=
8540 tmp_sharedflag='--shared' ;;
8541 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8542 tmp_sharedflag='-qmkshrobj'
8545 case `$CC -V 2>&1 | sed 5q` in
8546 *Sun\ C*) # Sun C 5.9
8547 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'
8548 compiler_needs_object=yes
8549 tmp_sharedflag='-G' ;;
8550 *Sun\ F*) # Sun Fortran 8.3
8551 tmp_sharedflag='-G' ;;
8553 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8555 if test "x$supports_anon_versioning" = xyes; then
8556 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8557 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8558 echo "local: *; };" >> $output_objdir/$libname.ver~
8559 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8562 case $cc_basename in
8564 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8565 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8566 hardcode_libdir_flag_spec=
8567 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8568 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8569 if test "x$supports_anon_versioning" = xyes; then
8570 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8571 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8572 echo "local: *; };" >> $output_objdir/$libname.ver~
8573 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8583 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8584 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8587 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8588 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8593 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8597 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8598 *** create shared libraries on Solaris systems. Therefore, libtool
8599 *** is disabling shared libraries support. We urge you to upgrade GNU
8600 *** binutils to release 2.9.1 or newer. Another option is to modify
8601 *** your PATH or compiler configuration so that the native linker is
8602 *** used, and then restart.
8605 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8606 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8607 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8613 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8614 case `$LD -v 2>&1` in
8615 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8619 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8620 *** reliably create shared libraries on SCO systems. Therefore, libtool
8621 *** is disabling shared libraries support. We urge you to upgrade GNU
8622 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8623 *** your PATH or compiler configuration so that the native linker is
8624 *** used, and then restart.
8629 # For security reasons, it is highly recommended that you always
8630 # use absolute paths for naming shared libraries, and exclude the
8631 # DT_RUNPATH tag from executables and libraries. But doing so
8632 # requires that you compile everything twice, which is a pain.
8633 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8634 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8635 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8636 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8645 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8648 hardcode_shlibpath_var=no
8652 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8653 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8654 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8661 if test "$ld_shlibs" = no; then
8663 hardcode_libdir_flag_spec=
8664 export_dynamic_flag_spec=
8665 whole_archive_flag_spec=
8668 # PORTME fill in a description of your system's linker (not GNU ld)
8671 allow_undefined_flag=unsupported
8672 always_export_symbols=yes
8673 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'
8674 # Note: this linker hardcodes the directories in LIBPATH if there
8675 # are no directories specified by -L.
8676 hardcode_minus_L=yes
8677 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8678 # Neither direct hardcoding nor static linking is supported with a
8680 hardcode_direct=unsupported
8685 if test "$host_cpu" = ia64; then
8686 # On IA64, the linker does run time linking by default, so we don't
8687 # have to do anything special.
8688 aix_use_runtimelinking=no
8689 exp_sym_flag='-Bexport'
8692 # If we're using GNU nm, then we don't want the "-C" option.
8693 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8694 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8695 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'
8697 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'
8699 aix_use_runtimelinking=no
8701 # Test if we are trying to use run time linking or normal
8702 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8703 # need to do runtime linking.
8704 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8705 for ld_flag in $LDFLAGS; do
8706 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8707 aix_use_runtimelinking=yes
8714 exp_sym_flag='-bexport'
8715 no_entry_flag='-bnoentry'
8718 # When large executables or shared objects are built, AIX ld can
8719 # have problems creating the table of contents. If linking a library
8720 # or program results in "error TOC overflow" add -mminimal-toc to
8721 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8722 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8726 hardcode_direct_absolute=yes
8727 hardcode_libdir_separator=':'
8728 link_all_deplibs=yes
8729 file_list_spec='${wl}-f,'
8731 if test "$GCC" = yes; then
8732 case $host_os in aix4.[012]|aix4.[012].*)
8733 # We only want to do this on AIX 4.2 and lower, the check
8734 # below for broken collect2 doesn't work under 4.3+
8735 collect2name=`${CC} -print-prog-name=collect2`
8736 if test -f "$collect2name" &&
8737 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8739 # We have reworked collect2
8742 # We have old collect2
8743 hardcode_direct=unsupported
8744 # It fails to find uninstalled libraries when the uninstalled
8745 # path is not listed in the libpath. Setting hardcode_minus_L
8746 # to unsupported forces relinking
8747 hardcode_minus_L=yes
8748 hardcode_libdir_flag_spec='-L$libdir'
8749 hardcode_libdir_separator=
8753 shared_flag='-shared'
8754 if test "$aix_use_runtimelinking" = yes; then
8755 shared_flag="$shared_flag "'${wl}-G'
8759 if test "$host_cpu" = ia64; then
8760 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8761 # chokes on -Wl,-G. The following line is correct:
8764 if test "$aix_use_runtimelinking" = yes; then
8765 shared_flag='${wl}-G'
8767 shared_flag='${wl}-bM:SRE'
8772 export_dynamic_flag_spec='${wl}-bexpall'
8773 # It seems that -bexpall does not export symbols beginning with
8774 # underscore (_), so it is better to generate a list of symbols to export.
8775 always_export_symbols=yes
8776 if test "$aix_use_runtimelinking" = yes; then
8777 # Warning - without using the other runtime loading flags (-brtl),
8778 # -berok will link without error, but may produce a broken library.
8779 allow_undefined_flag='-berok'
8780 # Determine the default libpath from the value encoded in an
8782 cat >conftest.$ac_ext <<_ACEOF
8785 cat confdefs.h >>conftest.$ac_ext
8786 cat >>conftest.$ac_ext <<_ACEOF
8787 /* end confdefs.h. */
8797 rm -f conftest.$ac_objext conftest$ac_exeext
8798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8799 (eval $ac_link) 2>conftest.er1
8801 grep -v '^ *+' conftest.er1 >conftest.err
8803 cat conftest.err >&5
8804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8805 (exit $ac_status); } &&
8806 { ac_try='test -z "$ac_c_werror_flag"
8807 || test ! -s conftest.err'
8808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); }; } &&
8813 { ac_try='test -s conftest$ac_exeext'
8814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 (exit $ac_status); }; }; then
8820 lt_aix_libpath_sed='
8821 /Import File Strings/,/^$/ {
8827 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8828 # Check for a 64-bit object if we didn't find anything.
8829 if test -z "$aix_libpath"; then
8830 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8833 echo "$as_me: failed program was:" >&5
8834 sed 's/^/| /' conftest.$ac_ext >&5
8837 rm -f conftest.err conftest.$ac_objext \
8838 conftest$ac_exeext conftest.$ac_ext
8839 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8841 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8842 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"
8844 if test "$host_cpu" = ia64; then
8845 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8846 allow_undefined_flag="-z nodefs"
8847 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"
8849 # Determine the default libpath from the value encoded in an
8851 cat >conftest.$ac_ext <<_ACEOF
8854 cat confdefs.h >>conftest.$ac_ext
8855 cat >>conftest.$ac_ext <<_ACEOF
8856 /* end confdefs.h. */
8866 rm -f conftest.$ac_objext conftest$ac_exeext
8867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8868 (eval $ac_link) 2>conftest.er1
8870 grep -v '^ *+' conftest.er1 >conftest.err
8872 cat conftest.err >&5
8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874 (exit $ac_status); } &&
8875 { ac_try='test -z "$ac_c_werror_flag"
8876 || test ! -s conftest.err'
8877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8881 (exit $ac_status); }; } &&
8882 { ac_try='test -s conftest$ac_exeext'
8883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887 (exit $ac_status); }; }; then
8889 lt_aix_libpath_sed='
8890 /Import File Strings/,/^$/ {
8896 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8897 # Check for a 64-bit object if we didn't find anything.
8898 if test -z "$aix_libpath"; then
8899 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8902 echo "$as_me: failed program was:" >&5
8903 sed 's/^/| /' conftest.$ac_ext >&5
8906 rm -f conftest.err conftest.$ac_objext \
8907 conftest$ac_exeext conftest.$ac_ext
8908 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8910 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8911 # Warning - without using the other run time loading flags,
8912 # -berok will link without error, but may produce a broken library.
8913 no_undefined_flag=' ${wl}-bernotok'
8914 allow_undefined_flag=' ${wl}-berok'
8915 # Exported symbols can be pulled into shared objects from archives
8916 whole_archive_flag_spec='$convenience'
8917 archive_cmds_need_lc=yes
8918 # This is similar to how AIX traditionally builds its shared libraries.
8919 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'
8927 # see comment about AmigaOS4 .so support
8928 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8929 archive_expsym_cmds=''
8932 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)'
8933 hardcode_libdir_flag_spec='-L$libdir'
8934 hardcode_minus_L=yes
8940 export_dynamic_flag_spec=-rdynamic
8943 cygwin* | mingw* | pw32* | cegcc*)
8944 # When not using gcc, we currently assume that we are using
8945 # Microsoft Visual C++.
8946 # hardcode_libdir_flag_spec is actually meaningless, as there is
8947 # no search path for DLLs.
8948 hardcode_libdir_flag_spec=' '
8949 allow_undefined_flag=unsupported
8950 # Tell ltmain to make .lib files, not .a files.
8952 # Tell ltmain to make .dll files, not .so files.
8954 # FIXME: Setting linknames here is a bad hack.
8955 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8956 # The linker will automatically build a .lib file if we build a DLL.
8957 old_archive_from_new_cmds='true'
8958 # FIXME: Should let the user specify the lib program.
8959 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8960 fix_srcfile_path='`cygpath -w "$srcfile"`'
8961 enable_shared_with_static_runtimes=yes
8964 darwin* | rhapsody*)
8967 archive_cmds_need_lc=no
8969 hardcode_automatic=yes
8970 hardcode_shlibpath_var=unsupported
8971 whole_archive_flag_spec=''
8972 link_all_deplibs=yes
8973 allow_undefined_flag="$_lt_dar_allow_undefined"
8974 case $cc_basename in
8975 ifort*) _lt_dar_can_shared=yes ;;
8976 *) _lt_dar_can_shared=$GCC ;;
8978 if test "$_lt_dar_can_shared" = "yes"; then
8979 output_verbose_link_cmd=echo
8980 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8981 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8982 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}"
8983 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}"
8992 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8993 hardcode_libdir_flag_spec='-L$libdir'
8994 hardcode_shlibpath_var=no
9001 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9002 # support. Future versions do this automatically, but an explicit c++rt0.o
9003 # does not break anything, and helps significantly (at the cost of a little
9006 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9007 hardcode_libdir_flag_spec='-R$libdir'
9009 hardcode_shlibpath_var=no
9012 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9014 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9016 hardcode_minus_L=yes
9017 hardcode_shlibpath_var=no
9020 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9021 freebsd* | dragonfly*)
9022 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9023 hardcode_libdir_flag_spec='-R$libdir'
9025 hardcode_shlibpath_var=no
9029 if test "$GCC" = yes; then
9030 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'
9032 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'
9034 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9035 hardcode_libdir_separator=:
9038 # hardcode_minus_L: Not really in the search PATH,
9039 # but as the default location of the library.
9040 hardcode_minus_L=yes
9041 export_dynamic_flag_spec='${wl}-E'
9045 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9046 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9048 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9050 if test "$with_gnu_ld" = no; then
9051 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9052 hardcode_libdir_flag_spec_ld='+b $libdir'
9053 hardcode_libdir_separator=:
9055 hardcode_direct_absolute=yes
9056 export_dynamic_flag_spec='${wl}-E'
9057 # hardcode_minus_L: Not really in the search PATH,
9058 # but as the default location of the library.
9059 hardcode_minus_L=yes
9064 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9067 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9070 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9073 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9079 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9082 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9085 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9089 if test "$with_gnu_ld" = no; then
9090 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9091 hardcode_libdir_separator=:
9096 hardcode_shlibpath_var=no
9100 hardcode_direct_absolute=yes
9101 export_dynamic_flag_spec='${wl}-E'
9103 # hardcode_minus_L: Not really in the search PATH,
9104 # but as the default location of the library.
9105 hardcode_minus_L=yes
9111 irix5* | irix6* | nonstopux*)
9112 if test "$GCC" = yes; then
9113 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'
9114 # Try to use the -exported_symbol ld option, if it does not
9115 # work, assume that -exports_file does not work either and
9116 # implicitly export all symbols.
9117 save_LDFLAGS="$LDFLAGS"
9118 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9119 cat >conftest.$ac_ext <<_ACEOF
9122 rm -f conftest.$ac_objext conftest$ac_exeext
9123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9124 (eval $ac_link) 2>conftest.er1
9126 grep -v '^ *+' conftest.er1 >conftest.err
9128 cat conftest.err >&5
9129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9130 (exit $ac_status); } &&
9131 { ac_try='test -z "$ac_c_werror_flag"
9132 || test ! -s conftest.err'
9133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9137 (exit $ac_status); }; } &&
9138 { ac_try='test -s conftest$ac_exeext'
9139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9143 (exit $ac_status); }; }; then
9144 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'
9147 echo "$as_me: failed program was:" >&5
9148 sed 's/^/| /' conftest.$ac_ext >&5
9151 rm -f conftest.err conftest.$ac_objext \
9152 conftest$ac_exeext conftest.$ac_ext
9153 LDFLAGS="$save_LDFLAGS"
9155 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'
9156 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'
9158 archive_cmds_need_lc='no'
9159 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9160 hardcode_libdir_separator=:
9162 link_all_deplibs=yes
9166 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9167 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9169 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9171 hardcode_libdir_flag_spec='-R$libdir'
9173 hardcode_shlibpath_var=no
9177 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9179 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9180 hardcode_libdir_separator=:
9181 hardcode_shlibpath_var=no
9188 if test -f /usr/libexec/ld.so; then
9190 hardcode_shlibpath_var=no
9191 hardcode_direct_absolute=yes
9192 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9193 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9194 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9195 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9196 export_dynamic_flag_spec='${wl}-E'
9199 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9200 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9201 hardcode_libdir_flag_spec='-R$libdir'
9204 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9205 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9215 hardcode_libdir_flag_spec='-L$libdir'
9216 hardcode_minus_L=yes
9217 allow_undefined_flag=unsupported
9218 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'
9219 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9223 if test "$GCC" = yes; then
9224 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9225 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'
9227 allow_undefined_flag=' -expect_unresolved \*'
9228 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'
9230 archive_cmds_need_lc='no'
9231 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9232 hardcode_libdir_separator=:
9235 osf4* | osf5*) # as osf3* with the addition of -msym flag
9236 if test "$GCC" = yes; then
9237 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9238 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'
9239 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9241 allow_undefined_flag=' -expect_unresolved \*'
9242 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'
9243 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~
9244 $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'
9246 # Both c and cxx compiler support -rpath directly
9247 hardcode_libdir_flag_spec='-rpath $libdir'
9249 archive_cmds_need_lc='no'
9250 hardcode_libdir_separator=:
9254 no_undefined_flag=' -z defs'
9255 if test "$GCC" = yes; then
9257 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9258 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9259 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9261 case `$CC -V 2>&1` in
9264 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9265 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9266 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9270 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9271 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9272 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9276 hardcode_libdir_flag_spec='-R$libdir'
9277 hardcode_shlibpath_var=no
9279 solaris2.[0-5] | solaris2.[0-5].*) ;;
9281 # The compiler driver will combine and reorder linker options,
9282 # but understands `-z linker_flag'. GCC discards it without `$wl',
9283 # but is careful enough not to reorder.
9284 # Supported since Solaris 2.6 (maybe 2.5.1?)
9285 if test "$GCC" = yes; then
9286 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9288 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9292 link_all_deplibs=yes
9296 if test "x$host_vendor" = xsequent; then
9297 # Use $CC to link under sequent, because it throws in some extra .o
9298 # files that make .init and .fini sections work.
9299 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9301 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9303 hardcode_libdir_flag_spec='-L$libdir'
9305 hardcode_minus_L=yes
9306 hardcode_shlibpath_var=no
9310 case $host_vendor in
9312 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9313 hardcode_direct=yes # is this really true???
9316 ## LD is ld it makes a PLAMLIB
9317 ## CC just makes a GrossModule.
9318 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9319 reload_cmds='$CC -r -o $output$reload_objs'
9323 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9324 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9327 runpath_var='LD_RUN_PATH'
9328 hardcode_shlibpath_var=no
9332 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9333 hardcode_shlibpath_var=no
9334 export_dynamic_flag_spec='-Bexport'
9338 if test -d /usr/nec; then
9339 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9340 hardcode_shlibpath_var=no
9341 runpath_var=LD_RUN_PATH
9342 hardcode_runpath_var=yes
9347 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9348 no_undefined_flag='${wl}-z,text'
9349 archive_cmds_need_lc=no
9350 hardcode_shlibpath_var=no
9351 runpath_var='LD_RUN_PATH'
9353 if test "$GCC" = yes; then
9354 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9355 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9357 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9358 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9362 sysv5* | sco3.2v5* | sco5v6*)
9363 # Note: We can NOT use -z defs as we might desire, because we do not
9364 # link with -lc, and that would cause any symbols used from libc to
9365 # always be unresolved, which means just about no library would
9366 # ever link correctly. If we're not using GNU ld we use -z text
9367 # though, which does catch some bad symbols but isn't as heavy-handed
9369 no_undefined_flag='${wl}-z,text'
9370 allow_undefined_flag='${wl}-z,nodefs'
9371 archive_cmds_need_lc=no
9372 hardcode_shlibpath_var=no
9373 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9374 hardcode_libdir_separator=':'
9375 link_all_deplibs=yes
9376 export_dynamic_flag_spec='${wl}-Bexport'
9377 runpath_var='LD_RUN_PATH'
9379 if test "$GCC" = yes; then
9380 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9381 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9383 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9384 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9389 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9390 hardcode_libdir_flag_spec='-L$libdir'
9391 hardcode_shlibpath_var=no
9399 if test x$host_vendor = xsni; then
9401 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9402 export_dynamic_flag_spec='${wl}-Blargedynsym'
9408 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9409 echo "${ECHO_T}$ld_shlibs" >&6
9410 test "$ld_shlibs" = no && can_build_shared=no
9412 with_gnu_ld=$with_gnu_ld
9429 # Do we need to explicitly link libc?
9431 case "x$archive_cmds_need_lc" in
9433 # Assume -lc should be added
9434 archive_cmds_need_lc=yes
9436 if test "$enable_shared" = yes && test "$GCC" = yes; then
9437 case $archive_cmds in
9439 # FIXME: we may have to deal with multi-command sequences.
9442 # Test whether the compiler implicitly links with -lc since on some
9443 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9444 # to ld, don't add -lc before -lgcc.
9445 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9446 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9447 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
9448 echo $ECHO_N "(cached) $ECHO_C" >&6
9451 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9454 (eval $ac_compile) 2>&5
9456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9457 (exit $ac_status); } 2>conftest.err; then
9460 libobjs=conftest.$ac_objext
9462 wl=$lt_prog_compiler_wl
9463 pic_flag=$lt_prog_compiler_pic
9469 lt_save_allow_undefined_flag=$allow_undefined_flag
9470 allow_undefined_flag=
9471 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9472 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475 (exit $ac_status); }
9477 lt_cv_archive_cmds_need_lc=no
9479 lt_cv_archive_cmds_need_lc=yes
9481 allow_undefined_flag=$lt_save_allow_undefined_flag
9483 cat conftest.err 1>&5
9488 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
9489 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
9490 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9653 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9654 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9656 if test "$GCC" = yes; then
9658 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9659 *) lt_awk_arg="/^libraries:/" ;;
9661 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9662 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9663 # if the path contains ";" then we assume it to be the separator
9664 # otherwise default to the standard path separator (i.e. ":") - it is
9665 # assumed that no part of a normal pathname contains ";" but that should
9666 # okay in the real world where ";" in dirpaths is itself problematic.
9667 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9669 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9671 # Ok, now we have the path, separated by spaces, we can step through it
9672 # and add multilib dir if necessary.
9673 lt_tmp_lt_search_path_spec=
9674 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9675 for lt_sys_path in $lt_search_path_spec; do
9676 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9677 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9679 test -d "$lt_sys_path" && \
9680 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9683 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9684 BEGIN {RS=" "; FS="/|\n";} {
9687 for (lt_i = NF; lt_i > 0; lt_i--) {
9688 if ($lt_i != "" && $lt_i != ".") {
9689 if ($lt_i == "..") {
9692 if (lt_count == 0) {
9693 lt_foo="/" $lt_i lt_foo;
9700 if (lt_foo != "") { lt_freq[lt_foo]++; }
9701 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9703 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9705 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9708 libname_spec='lib$name'
9716 shlibpath_overrides_runpath=unknown
9718 dynamic_linker="$host_os ld.so"
9719 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9720 need_lib_prefix=unknown
9721 hardcode_into_libs=no
9723 # when you set need_version to no, make sure it does not cause -set_version
9724 # flags to be left without arguments
9725 need_version=unknown
9730 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9731 shlibpath_var=LIBPATH
9733 # AIX 3 has no versioning support, so we append a major version to the name.
9734 soname_spec='${libname}${release}${shared_ext}$major'
9741 hardcode_into_libs=yes
9742 if test "$host_cpu" = ia64; then
9743 # AIX 5 supports IA64
9744 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9745 shlibpath_var=LD_LIBRARY_PATH
9747 # With GCC up to 2.95.x, collect2 would create an import file
9748 # for dependence libraries. The import file would start with
9749 # the line `#! .'. This would cause the generated library to
9750 # depend on `.', always an invalid library. This was fixed in
9751 # development snapshots of GCC prior to 3.0.
9753 aix4 | aix4.[01] | aix4.[01].*)
9754 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9756 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9763 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9764 # soname into executable. Probably we can add versioning support to
9765 # collect2, so additional links can be useful in future.
9766 if test "$aix_use_runtimelinking" = yes; then
9767 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9768 # instead of lib<name>.a to let people know that these are not
9769 # typical AIX shared libraries.
9770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9772 # We preserve .a as extension for shared libraries through AIX4.2
9773 # and later when we are not doing run time linking.
9774 library_names_spec='${libname}${release}.a $libname.a'
9775 soname_spec='${libname}${release}${shared_ext}$major'
9777 shlibpath_var=LIBPATH
9784 # Since July 2007 AmigaOS4 officially supports .so libraries.
9785 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9789 library_names_spec='$libname.ixlibrary $libname.a'
9790 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9791 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'
9797 library_names_spec='${libname}${shared_ext}'
9798 dynamic_linker="$host_os ld.so"
9799 shlibpath_var=LIBRARY_PATH
9805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9806 soname_spec='${libname}${release}${shared_ext}$major'
9807 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9808 shlibpath_var=LD_LIBRARY_PATH
9809 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9810 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9811 # the default ld.so.conf also contains /usr/contrib/lib and
9812 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9813 # libtool to hard-code these into programs
9816 cygwin* | mingw* | pw32* | cegcc*)
9817 version_type=windows
9822 case $GCC,$host_os in
9823 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9824 library_names_spec='$libname.dll.a'
9825 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9826 postinstall_cmds='base_file=`basename \${file}`~
9827 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9828 dldir=$destdir/`dirname \$dlpath`~
9829 test -d \$dldir || mkdir -p \$dldir~
9830 $install_prog $dir/$dlname \$dldir/$dlname~
9831 chmod a+x \$dldir/$dlname~
9832 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9833 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9835 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9836 dlpath=$dir/\$dldll~
9838 shlibpath_overrides_runpath=yes
9842 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9843 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9844 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9847 # MinGW DLLs use traditional 'lib' prefix
9848 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9849 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9850 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9851 # It is most probably a Windows format PATH printed by
9852 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9853 # path with ; separators, and with drive letters. We can handle the
9854 # drive letters (cygwin fileutils understands them), so leave them,
9855 # especially as we might pass files found there to a mingw objdump,
9856 # which wouldn't understand a cygwinified path. Ahh.
9857 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9859 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9863 # pw32 DLLs use 'pw' prefix rather than 'lib'
9864 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9870 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9873 dynamic_linker='Win32 ld.exe'
9874 # FIXME: first we should search . and the directory the executable is in
9878 darwin* | rhapsody*)
9879 dynamic_linker="$host_os dyld"
9883 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9884 soname_spec='${libname}${release}${major}$shared_ext'
9885 shlibpath_overrides_runpath=yes
9886 shlibpath_var=DYLD_LIBRARY_PATH
9887 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9889 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9890 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9898 soname_spec='${libname}${release}${shared_ext}$major'
9899 shlibpath_var=LD_LIBRARY_PATH
9906 freebsd* | dragonfly*)
9907 # DragonFly does not have aout. When/if they implement a new
9908 # versioning mechanism, adjust this.
9909 if test -x /usr/bin/objformat; then
9910 objformat=`/usr/bin/objformat`
9913 freebsd[123]*) objformat=aout ;;
9917 version_type=freebsd-$objformat
9918 case $version_type in
9920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9925 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9929 shlibpath_var=LD_LIBRARY_PATH
9932 shlibpath_overrides_runpath=yes
9934 freebsd3.[01]* | freebsdelf3.[01]*)
9935 shlibpath_overrides_runpath=yes
9936 hardcode_into_libs=yes
9938 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9939 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9940 shlibpath_overrides_runpath=no
9941 hardcode_into_libs=yes
9943 *) # from 4.6 on, and DragonFly
9944 shlibpath_overrides_runpath=yes
9945 hardcode_into_libs=yes
9954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9955 soname_spec='${libname}${release}${shared_ext}$major'
9956 shlibpath_var=LD_LIBRARY_PATH
9957 hardcode_into_libs=yes
9960 hpux9* | hpux10* | hpux11*)
9961 # Give a soname corresponding to the major version so that dld.sl refuses to
9962 # link against other versions.
9969 hardcode_into_libs=yes
9970 dynamic_linker="$host_os dld.so"
9971 shlibpath_var=LD_LIBRARY_PATH
9972 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9974 soname_spec='${libname}${release}${shared_ext}$major'
9975 if test "X$HPUX_IA64_MODE" = X32; then
9976 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9978 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9980 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9984 hardcode_into_libs=yes
9985 dynamic_linker="$host_os dld.sl"
9986 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9987 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9989 soname_spec='${libname}${release}${shared_ext}$major'
9990 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9991 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9995 dynamic_linker="$host_os dld.sl"
9996 shlibpath_var=SHLIB_PATH
9997 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9999 soname_spec='${libname}${release}${shared_ext}$major'
10002 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10003 postinstall_cmds='chmod 555 $lib'
10010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10011 soname_spec='${libname}${release}${shared_ext}$major'
10012 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10013 shlibpath_var=LD_LIBRARY_PATH
10014 shlibpath_overrides_runpath=no
10015 hardcode_into_libs=yes
10018 irix5* | irix6* | nonstopux*)
10020 nonstopux*) version_type=nonstopux ;;
10022 if test "$lt_cv_prog_gnu_ld" = yes; then
10030 soname_spec='${libname}${release}${shared_ext}$major'
10031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10033 irix5* | nonstopux*)
10034 libsuff= shlibsuff=
10037 case $LD in # libtool.m4 will add one of these switches to LD
10038 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10039 libsuff= shlibsuff= libmagic=32-bit;;
10040 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10041 libsuff=32 shlibsuff=N32 libmagic=N32;;
10042 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10043 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10044 *) libsuff= shlibsuff= libmagic=never-match;;
10048 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10049 shlibpath_overrides_runpath=no
10050 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10051 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10052 hardcode_into_libs=yes
10055 # No shared lib support for Linux oldld, aout, or coff.
10056 linux*oldld* | linux*aout* | linux*coff*)
10060 # This must be Linux ELF.
10061 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10066 soname_spec='${libname}${release}${shared_ext}$major'
10067 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10068 shlibpath_var=LD_LIBRARY_PATH
10069 shlibpath_overrides_runpath=no
10071 # Some binutils ld are patched to set DT_RUNPATH
10072 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
10073 echo $ECHO_N "(cached) $ECHO_C" >&6
10075 lt_cv_shlibpath_overrides_runpath=no
10076 save_LDFLAGS=$LDFLAGS
10077 save_libdir=$libdir
10078 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10079 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10080 cat >conftest.$ac_ext <<_ACEOF
10083 cat confdefs.h >>conftest.$ac_ext
10084 cat >>conftest.$ac_ext <<_ACEOF
10085 /* end confdefs.h. */
10095 rm -f conftest.$ac_objext conftest$ac_exeext
10096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10097 (eval $ac_link) 2>conftest.er1
10099 grep -v '^ *+' conftest.er1 >conftest.err
10101 cat conftest.err >&5
10102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10103 (exit $ac_status); } &&
10104 { ac_try='test -z "$ac_c_werror_flag"
10105 || test ! -s conftest.err'
10106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10107 (eval $ac_try) 2>&5
10109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10110 (exit $ac_status); }; } &&
10111 { ac_try='test -s conftest$ac_exeext'
10112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10113 (eval $ac_try) 2>&5
10115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10116 (exit $ac_status); }; }; then
10117 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10118 lt_cv_shlibpath_overrides_runpath=yes
10122 echo "$as_me: failed program was:" >&5
10123 sed 's/^/| /' conftest.$ac_ext >&5
10126 rm -f conftest.err conftest.$ac_objext \
10127 conftest$ac_exeext conftest.$ac_ext
10128 LDFLAGS=$save_LDFLAGS
10129 libdir=$save_libdir
10133 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10135 # This implies no fast_install, which is unacceptable.
10136 # Some rework will be needed to allow for fast_install
10137 # before this can be enabled.
10138 hardcode_into_libs=yes
10140 # Append ld.so.conf contents to the search path
10141 if test -f /etc/ld.so.conf; then
10142 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' ' '`
10143 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10146 # We used to test for /lib/ld.so.1 and disable shared libraries on
10147 # powerpc, because MkLinux only supported shared libraries with the
10148 # GNU dynamic linker. Since this was broken with cross compilers,
10149 # most powerpc-linux boxes support dynamic linking these days and
10150 # people can always --disable-shared, the test was removed, and we
10151 # assume the GNU/Linux dynamic linker is in use.
10152 dynamic_linker='GNU/Linux ld.so'
10159 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10161 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10162 dynamic_linker='NetBSD (a.out) ld.so'
10164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10165 soname_spec='${libname}${release}${shared_ext}$major'
10166 dynamic_linker='NetBSD ld.elf_so'
10168 shlibpath_var=LD_LIBRARY_PATH
10169 shlibpath_overrides_runpath=yes
10170 hardcode_into_libs=yes
10175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10176 shlibpath_var=LD_LIBRARY_PATH
10177 shlibpath_overrides_runpath=yes
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 shlibpath_var=LD_LIBRARY_PATH
10187 shlibpath_overrides_runpath=no
10188 hardcode_into_libs=yes
10189 dynamic_linker='ldqnx.so'
10194 sys_lib_dlsearch_path_spec="/usr/lib"
10196 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10198 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10199 *) need_version=no ;;
10201 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10202 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10203 shlibpath_var=LD_LIBRARY_PATH
10204 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10206 openbsd2.[89] | openbsd2.[89].*)
10207 shlibpath_overrides_runpath=no
10210 shlibpath_overrides_runpath=yes
10214 shlibpath_overrides_runpath=yes
10219 libname_spec='$name'
10222 library_names_spec='$libname${shared_ext} $libname.a'
10223 dynamic_linker='OS/2 ld.exe'
10224 shlibpath_var=LIBPATH
10227 osf3* | osf4* | osf5*)
10231 soname_spec='${libname}${release}${shared_ext}$major'
10232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10233 shlibpath_var=LD_LIBRARY_PATH
10234 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10235 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10246 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10247 soname_spec='${libname}${release}${shared_ext}$major'
10248 shlibpath_var=LD_LIBRARY_PATH
10249 shlibpath_overrides_runpath=yes
10250 hardcode_into_libs=yes
10251 # ldd complains unless libraries are executable
10252 postinstall_cmds='chmod +x $lib'
10257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10258 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10259 shlibpath_var=LD_LIBRARY_PATH
10260 shlibpath_overrides_runpath=yes
10261 if test "$with_gnu_ld" = yes; then
10269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10270 soname_spec='${libname}${release}${shared_ext}$major'
10271 shlibpath_var=LD_LIBRARY_PATH
10272 case $host_vendor in
10274 shlibpath_overrides_runpath=no
10276 runpath_var=LD_RUN_PATH
10284 shlibpath_overrides_runpath=no
10285 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10291 if test -d /usr/nec ;then
10293 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10294 soname_spec='$libname${shared_ext}.$major'
10295 shlibpath_var=LD_LIBRARY_PATH
10299 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10300 version_type=freebsd-elf
10303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10304 soname_spec='${libname}${release}${shared_ext}$major'
10305 shlibpath_var=LD_LIBRARY_PATH
10306 shlibpath_overrides_runpath=yes
10307 hardcode_into_libs=yes
10308 if test "$with_gnu_ld" = yes; then
10309 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10311 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10314 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10318 sys_lib_dlsearch_path_spec='/usr/lib'
10322 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10327 shlibpath_var=LD_LIBRARY_PATH
10328 shlibpath_overrides_runpath=no
10329 hardcode_into_libs=yes
10334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10335 soname_spec='${libname}${release}${shared_ext}$major'
10336 shlibpath_var=LD_LIBRARY_PATH
10343 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10344 echo "${ECHO_T}$dynamic_linker" >&6
10345 test "$dynamic_linker" = no && can_build_shared=no
10347 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10348 if test "$GCC" = yes; then
10349 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10352 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10353 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10355 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10356 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10445 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10446 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10448 if test -n "$hardcode_libdir_flag_spec" ||
10449 test -n "$runpath_var" ||
10450 test "X$hardcode_automatic" = "Xyes" ; then
10452 # We can hardcode non-existent directories.
10453 if test "$hardcode_direct" != no &&
10454 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10455 # have to relink, otherwise we might link with an installed library
10456 # when we should be linking with a yet-to-be-installed one
10457 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10458 test "$hardcode_minus_L" != no; then
10459 # Linking always hardcodes the temporary library directory.
10460 hardcode_action=relink
10462 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10463 hardcode_action=immediate
10466 # We cannot hardcode anything, or else we can only hardcode existing
10468 hardcode_action=unsupported
10470 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10471 echo "${ECHO_T}$hardcode_action" >&6
10473 if test "$hardcode_action" = relink ||
10474 test "$inherit_rpath" = yes; then
10475 # Fast installation is not supported
10476 enable_fast_install=no
10477 elif test "$shlibpath_overrides_runpath" = yes ||
10478 test "$enable_shared" = no; then
10479 # Fast installation is not necessary
10480 enable_fast_install=needless
10488 if test "x$enable_dlopen" != xyes; then
10489 enable_dlopen=unknown
10490 enable_dlopen_self=unknown
10491 enable_dlopen_self_static=unknown
10498 lt_cv_dlopen="load_add_on"
10500 lt_cv_dlopen_self=yes
10503 mingw* | pw32* | cegcc*)
10504 lt_cv_dlopen="LoadLibrary"
10509 lt_cv_dlopen="dlopen"
10514 # if libdl is installed we need to link against it
10515 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10516 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10517 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10518 echo $ECHO_N "(cached) $ECHO_C" >&6
10520 ac_check_lib_save_LIBS=$LIBS
10522 cat >conftest.$ac_ext <<_ACEOF
10525 cat confdefs.h >>conftest.$ac_ext
10526 cat >>conftest.$ac_ext <<_ACEOF
10527 /* end confdefs.h. */
10529 /* Override any gcc2 internal prototype to avoid an error. */
10533 /* We use char because int might match the return type of a gcc2
10534 builtin and then its argument prototype would still apply. */
10544 rm -f conftest.$ac_objext conftest$ac_exeext
10545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10546 (eval $ac_link) 2>conftest.er1
10548 grep -v '^ *+' conftest.er1 >conftest.err
10550 cat conftest.err >&5
10551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10552 (exit $ac_status); } &&
10553 { ac_try='test -z "$ac_c_werror_flag"
10554 || test ! -s conftest.err'
10555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10556 (eval $ac_try) 2>&5
10558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559 (exit $ac_status); }; } &&
10560 { ac_try='test -s conftest$ac_exeext'
10561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10562 (eval $ac_try) 2>&5
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); }; }; then
10566 ac_cv_lib_dl_dlopen=yes
10568 echo "$as_me: failed program was:" >&5
10569 sed 's/^/| /' conftest.$ac_ext >&5
10571 ac_cv_lib_dl_dlopen=no
10573 rm -f conftest.err conftest.$ac_objext \
10574 conftest$ac_exeext conftest.$ac_ext
10575 LIBS=$ac_check_lib_save_LIBS
10577 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10578 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10579 if test $ac_cv_lib_dl_dlopen = yes; then
10580 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10583 lt_cv_dlopen="dyld"
10585 lt_cv_dlopen_self=yes
10592 echo "$as_me:$LINENO: checking for shl_load" >&5
10593 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10594 if test "${ac_cv_func_shl_load+set}" = set; then
10595 echo $ECHO_N "(cached) $ECHO_C" >&6
10597 cat >conftest.$ac_ext <<_ACEOF
10600 cat confdefs.h >>conftest.$ac_ext
10601 cat >>conftest.$ac_ext <<_ACEOF
10602 /* end confdefs.h. */
10603 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10605 #define shl_load innocuous_shl_load
10607 /* System header to define __stub macros and hopefully few prototypes,
10608 which can conflict with char shl_load (); below.
10609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10610 <limits.h> exists even on freestanding compilers. */
10613 # include <limits.h>
10615 # include <assert.h>
10620 /* Override any gcc2 internal prototype to avoid an error. */
10625 /* We use char because int might match the return type of a gcc2
10626 builtin and then its argument prototype would still apply. */
10628 /* The GNU C library defines this for functions which it implements
10629 to always fail with ENOSYS. Some functions are actually named
10630 something starting with __ and the normal name is an alias. */
10631 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10634 char (*f) () = shl_load;
10643 return f != shl_load;
10648 rm -f conftest.$ac_objext conftest$ac_exeext
10649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10650 (eval $ac_link) 2>conftest.er1
10652 grep -v '^ *+' conftest.er1 >conftest.err
10654 cat conftest.err >&5
10655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656 (exit $ac_status); } &&
10657 { ac_try='test -z "$ac_c_werror_flag"
10658 || test ! -s conftest.err'
10659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10660 (eval $ac_try) 2>&5
10662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); }; } &&
10664 { ac_try='test -s conftest$ac_exeext'
10665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10666 (eval $ac_try) 2>&5
10668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10669 (exit $ac_status); }; }; then
10670 ac_cv_func_shl_load=yes
10672 echo "$as_me: failed program was:" >&5
10673 sed 's/^/| /' conftest.$ac_ext >&5
10675 ac_cv_func_shl_load=no
10677 rm -f conftest.err conftest.$ac_objext \
10678 conftest$ac_exeext conftest.$ac_ext
10680 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10681 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10682 if test $ac_cv_func_shl_load = yes; then
10683 lt_cv_dlopen="shl_load"
10685 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10686 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10687 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10688 echo $ECHO_N "(cached) $ECHO_C" >&6
10690 ac_check_lib_save_LIBS=$LIBS
10692 cat >conftest.$ac_ext <<_ACEOF
10695 cat confdefs.h >>conftest.$ac_ext
10696 cat >>conftest.$ac_ext <<_ACEOF
10697 /* end confdefs.h. */
10699 /* Override any gcc2 internal prototype to avoid an error. */
10703 /* We use char because int might match the return type of a gcc2
10704 builtin and then its argument prototype would still apply. */
10714 rm -f conftest.$ac_objext conftest$ac_exeext
10715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10716 (eval $ac_link) 2>conftest.er1
10718 grep -v '^ *+' conftest.er1 >conftest.err
10720 cat conftest.err >&5
10721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10722 (exit $ac_status); } &&
10723 { ac_try='test -z "$ac_c_werror_flag"
10724 || test ! -s conftest.err'
10725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10726 (eval $ac_try) 2>&5
10728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10729 (exit $ac_status); }; } &&
10730 { ac_try='test -s conftest$ac_exeext'
10731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10732 (eval $ac_try) 2>&5
10734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10735 (exit $ac_status); }; }; then
10736 ac_cv_lib_dld_shl_load=yes
10738 echo "$as_me: failed program was:" >&5
10739 sed 's/^/| /' conftest.$ac_ext >&5
10741 ac_cv_lib_dld_shl_load=no
10743 rm -f conftest.err conftest.$ac_objext \
10744 conftest$ac_exeext conftest.$ac_ext
10745 LIBS=$ac_check_lib_save_LIBS
10747 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10748 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10749 if test $ac_cv_lib_dld_shl_load = yes; then
10750 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10752 echo "$as_me:$LINENO: checking for dlopen" >&5
10753 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10754 if test "${ac_cv_func_dlopen+set}" = set; then
10755 echo $ECHO_N "(cached) $ECHO_C" >&6
10757 cat >conftest.$ac_ext <<_ACEOF
10760 cat confdefs.h >>conftest.$ac_ext
10761 cat >>conftest.$ac_ext <<_ACEOF
10762 /* end confdefs.h. */
10763 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10765 #define dlopen innocuous_dlopen
10767 /* System header to define __stub macros and hopefully few prototypes,
10768 which can conflict with char dlopen (); below.
10769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10770 <limits.h> exists even on freestanding compilers. */
10773 # include <limits.h>
10775 # include <assert.h>
10780 /* Override any gcc2 internal prototype to avoid an error. */
10785 /* We use char because int might match the return type of a gcc2
10786 builtin and then its argument prototype would still apply. */
10788 /* The GNU C library defines this for functions which it implements
10789 to always fail with ENOSYS. Some functions are actually named
10790 something starting with __ and the normal name is an alias. */
10791 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10794 char (*f) () = dlopen;
10803 return f != dlopen;
10808 rm -f conftest.$ac_objext conftest$ac_exeext
10809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10810 (eval $ac_link) 2>conftest.er1
10812 grep -v '^ *+' conftest.er1 >conftest.err
10814 cat conftest.err >&5
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); } &&
10817 { ac_try='test -z "$ac_c_werror_flag"
10818 || test ! -s conftest.err'
10819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10820 (eval $ac_try) 2>&5
10822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10823 (exit $ac_status); }; } &&
10824 { ac_try='test -s conftest$ac_exeext'
10825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10826 (eval $ac_try) 2>&5
10828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); }; }; then
10830 ac_cv_func_dlopen=yes
10832 echo "$as_me: failed program was:" >&5
10833 sed 's/^/| /' conftest.$ac_ext >&5
10835 ac_cv_func_dlopen=no
10837 rm -f conftest.err conftest.$ac_objext \
10838 conftest$ac_exeext conftest.$ac_ext
10840 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10841 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10842 if test $ac_cv_func_dlopen = yes; then
10843 lt_cv_dlopen="dlopen"
10845 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10846 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10847 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10848 echo $ECHO_N "(cached) $ECHO_C" >&6
10850 ac_check_lib_save_LIBS=$LIBS
10852 cat >conftest.$ac_ext <<_ACEOF
10855 cat confdefs.h >>conftest.$ac_ext
10856 cat >>conftest.$ac_ext <<_ACEOF
10857 /* end confdefs.h. */
10859 /* Override any gcc2 internal prototype to avoid an error. */
10863 /* We use char because int might match the return type of a gcc2
10864 builtin and then its argument prototype would still apply. */
10874 rm -f conftest.$ac_objext conftest$ac_exeext
10875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10876 (eval $ac_link) 2>conftest.er1
10878 grep -v '^ *+' conftest.er1 >conftest.err
10880 cat conftest.err >&5
10881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10882 (exit $ac_status); } &&
10883 { ac_try='test -z "$ac_c_werror_flag"
10884 || test ! -s conftest.err'
10885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10886 (eval $ac_try) 2>&5
10888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10889 (exit $ac_status); }; } &&
10890 { ac_try='test -s conftest$ac_exeext'
10891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10892 (eval $ac_try) 2>&5
10894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10895 (exit $ac_status); }; }; then
10896 ac_cv_lib_dl_dlopen=yes
10898 echo "$as_me: failed program was:" >&5
10899 sed 's/^/| /' conftest.$ac_ext >&5
10901 ac_cv_lib_dl_dlopen=no
10903 rm -f conftest.err conftest.$ac_objext \
10904 conftest$ac_exeext conftest.$ac_ext
10905 LIBS=$ac_check_lib_save_LIBS
10907 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10908 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10909 if test $ac_cv_lib_dl_dlopen = yes; then
10910 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10912 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10913 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10914 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10915 echo $ECHO_N "(cached) $ECHO_C" >&6
10917 ac_check_lib_save_LIBS=$LIBS
10918 LIBS="-lsvld $LIBS"
10919 cat >conftest.$ac_ext <<_ACEOF
10922 cat confdefs.h >>conftest.$ac_ext
10923 cat >>conftest.$ac_ext <<_ACEOF
10924 /* end confdefs.h. */
10926 /* Override any gcc2 internal prototype to avoid an error. */
10930 /* We use char because int might match the return type of a gcc2
10931 builtin and then its argument prototype would still apply. */
10941 rm -f conftest.$ac_objext conftest$ac_exeext
10942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10943 (eval $ac_link) 2>conftest.er1
10945 grep -v '^ *+' conftest.er1 >conftest.err
10947 cat conftest.err >&5
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); } &&
10950 { ac_try='test -z "$ac_c_werror_flag"
10951 || test ! -s conftest.err'
10952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10953 (eval $ac_try) 2>&5
10955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10956 (exit $ac_status); }; } &&
10957 { ac_try='test -s conftest$ac_exeext'
10958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10959 (eval $ac_try) 2>&5
10961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10962 (exit $ac_status); }; }; then
10963 ac_cv_lib_svld_dlopen=yes
10965 echo "$as_me: failed program was:" >&5
10966 sed 's/^/| /' conftest.$ac_ext >&5
10968 ac_cv_lib_svld_dlopen=no
10970 rm -f conftest.err conftest.$ac_objext \
10971 conftest$ac_exeext conftest.$ac_ext
10972 LIBS=$ac_check_lib_save_LIBS
10974 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10975 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10976 if test $ac_cv_lib_svld_dlopen = yes; then
10977 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10979 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10980 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10981 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10982 echo $ECHO_N "(cached) $ECHO_C" >&6
10984 ac_check_lib_save_LIBS=$LIBS
10986 cat >conftest.$ac_ext <<_ACEOF
10989 cat confdefs.h >>conftest.$ac_ext
10990 cat >>conftest.$ac_ext <<_ACEOF
10991 /* end confdefs.h. */
10993 /* Override any gcc2 internal prototype to avoid an error. */
10997 /* We use char because int might match the return type of a gcc2
10998 builtin and then its argument prototype would still apply. */
11008 rm -f conftest.$ac_objext conftest$ac_exeext
11009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11010 (eval $ac_link) 2>conftest.er1
11012 grep -v '^ *+' conftest.er1 >conftest.err
11014 cat conftest.err >&5
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); } &&
11017 { ac_try='test -z "$ac_c_werror_flag"
11018 || test ! -s conftest.err'
11019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11020 (eval $ac_try) 2>&5
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); }; } &&
11024 { ac_try='test -s conftest$ac_exeext'
11025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11026 (eval $ac_try) 2>&5
11028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11029 (exit $ac_status); }; }; then
11030 ac_cv_lib_dld_dld_link=yes
11032 echo "$as_me: failed program was:" >&5
11033 sed 's/^/| /' conftest.$ac_ext >&5
11035 ac_cv_lib_dld_dld_link=no
11037 rm -f conftest.err conftest.$ac_objext \
11038 conftest$ac_exeext conftest.$ac_ext
11039 LIBS=$ac_check_lib_save_LIBS
11041 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11042 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11043 if test $ac_cv_lib_dld_dld_link = yes; then
11044 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11065 if test "x$lt_cv_dlopen" != xno; then
11071 case $lt_cv_dlopen in
11073 save_CPPFLAGS="$CPPFLAGS"
11074 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11076 save_LDFLAGS="$LDFLAGS"
11077 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11080 LIBS="$lt_cv_dlopen_libs $LIBS"
11082 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11083 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11084 if test "${lt_cv_dlopen_self+set}" = set; then
11085 echo $ECHO_N "(cached) $ECHO_C" >&6
11087 if test "$cross_compiling" = yes; then :
11088 lt_cv_dlopen_self=cross
11090 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11091 lt_status=$lt_dlunknown
11092 cat > conftest.$ac_ext <<_LT_EOF
11093 #line 11093 "configure"
11094 #include "confdefs.h"
11103 # define LT_DLGLOBAL RTLD_GLOBAL
11106 # define LT_DLGLOBAL DL_GLOBAL
11108 # define LT_DLGLOBAL 0
11112 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11113 find out it does not work in some platform. */
11114 #ifndef LT_DLLAZY_OR_NOW
11116 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11119 # define LT_DLLAZY_OR_NOW DL_LAZY
11122 # define LT_DLLAZY_OR_NOW RTLD_NOW
11125 # define LT_DLLAZY_OR_NOW DL_NOW
11127 # define LT_DLLAZY_OR_NOW 0
11134 void fnord() { int i=42;}
11137 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11138 int status = $lt_dlunknown;
11142 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11143 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11144 /* dlclose (self); */
11152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11153 (eval $ac_link) 2>&5
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11157 (./conftest; exit; ) >&5 2>/dev/null
11159 case x$lt_status in
11160 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11161 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11162 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11165 # compilation failed
11166 lt_cv_dlopen_self=no
11173 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11174 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11176 if test "x$lt_cv_dlopen_self" = xyes; then
11177 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11178 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11179 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11180 if test "${lt_cv_dlopen_self_static+set}" = set; then
11181 echo $ECHO_N "(cached) $ECHO_C" >&6
11183 if test "$cross_compiling" = yes; then :
11184 lt_cv_dlopen_self_static=cross
11186 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11187 lt_status=$lt_dlunknown
11188 cat > conftest.$ac_ext <<_LT_EOF
11189 #line 11189 "configure"
11190 #include "confdefs.h"
11199 # define LT_DLGLOBAL RTLD_GLOBAL
11202 # define LT_DLGLOBAL DL_GLOBAL
11204 # define LT_DLGLOBAL 0
11208 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11209 find out it does not work in some platform. */
11210 #ifndef LT_DLLAZY_OR_NOW
11212 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11215 # define LT_DLLAZY_OR_NOW DL_LAZY
11218 # define LT_DLLAZY_OR_NOW RTLD_NOW
11221 # define LT_DLLAZY_OR_NOW DL_NOW
11223 # define LT_DLLAZY_OR_NOW 0
11230 void fnord() { int i=42;}
11233 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11234 int status = $lt_dlunknown;
11238 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11239 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11240 /* dlclose (self); */
11248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11249 (eval $ac_link) 2>&5
11251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11252 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11253 (./conftest; exit; ) >&5 2>/dev/null
11255 case x$lt_status in
11256 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11257 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11258 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11261 # compilation failed
11262 lt_cv_dlopen_self_static=no
11269 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11270 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11273 CPPFLAGS="$save_CPPFLAGS"
11274 LDFLAGS="$save_LDFLAGS"
11279 case $lt_cv_dlopen_self in
11280 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11281 *) enable_dlopen_self=unknown ;;
11284 case $lt_cv_dlopen_self_static in
11285 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11286 *) enable_dlopen_self_static=unknown ;;
11308 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11309 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11310 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11311 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11312 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11313 echo "$as_me:$LINENO: result: yes" >&5
11314 echo "${ECHO_T}yes" >&6
11316 # FIXME - insert some real tests, host_os isn't really good enough
11319 if test -n "$STRIP" ; then
11320 striplib="$STRIP -x"
11321 old_striplib="$STRIP -S"
11322 echo "$as_me:$LINENO: result: yes" >&5
11323 echo "${ECHO_T}yes" >&6
11325 echo "$as_me:$LINENO: result: no" >&5
11326 echo "${ECHO_T}no" >&6
11330 echo "$as_me:$LINENO: result: no" >&5
11331 echo "${ECHO_T}no" >&6
11347 # Report which library types will actually be built
11348 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11349 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11350 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11351 echo "${ECHO_T}$can_build_shared" >&6
11353 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11354 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11355 test "$can_build_shared" = "no" && enable_shared=no
11357 # On AIX, shared libraries and static libraries use the same namespace, and
11358 # are all built from PIC.
11361 test "$enable_shared" = yes && enable_static=no
11362 if test -n "$RANLIB"; then
11363 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11364 postinstall_cmds='$RANLIB $lib'
11369 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11370 test "$enable_shared" = yes && enable_static=no
11374 echo "$as_me:$LINENO: result: $enable_shared" >&5
11375 echo "${ECHO_T}$enable_shared" >&6
11377 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11378 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11379 # Make sure either enable_shared or enable_static is yes.
11380 test "$enable_shared" = yes || enable_static=yes
11381 echo "$as_me:$LINENO: result: $enable_static" >&5
11382 echo "${ECHO_T}$enable_static" >&6
11389 ac_cpp='$CPP $CPPFLAGS'
11390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11408 ac_config_commands="$ac_config_commands libtool"
11413 # Only expand once:
11418 # Check whether --enable-plugins or --disable-plugins was given.
11419 if test "${enable_plugins+set}" = set; then
11420 enableval="$enable_plugins"
11421 case "${enableval}" in
11422 yes | "") plugins=yes ;;
11433 if test "$plugins" = "yes"; then
11442 if test "$plugins" = "yes"; then
11443 if test "$enable_dlopen" != "yes" ; then
11444 { { echo "$as_me:$LINENO: error:
11445 Building BFD with plugin support requires a host that supports -ldl." >&5
11446 echo "$as_me: error:
11447 Building BFD with plugin support requires a host that supports -ldl." >&2;}
11448 { (exit 1); exit 1; }; }
11450 enable_targets="$enable_targets plugin"
11453 case "${target}" in
11454 sparc-*-solaris*|i[3-7]86-*-solaris*)
11455 # On native 32bit sparc and ia32 solaris, large-file and procfs support
11456 # are mutually exclusive; and without procfs support, the elf module
11457 # cannot provide certain routines such as elfcore_write_prpsinfo
11458 # or elfcore_write_prstatus. So unless the user explicitly requested
11459 # large-file support through the --enable-largefile switch, disable
11460 # large-file support in favor of procfs support.
11461 if test "${target}" = "${host}" -a "$enable_largefile" != 'yes'; then
11462 if test "$plugins" = "no"; then
11463 enable_largefile="no"
11469 # Check whether --enable-largefile or --disable-largefile was given.
11470 if test "${enable_largefile+set}" = set; then
11471 enableval="$enable_largefile"
11474 if test "$enable_largefile" != no; then
11476 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
11477 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
11478 if test "${ac_cv_sys_largefile_CC+set}" = set; then
11479 echo $ECHO_N "(cached) $ECHO_C" >&6
11481 ac_cv_sys_largefile_CC=no
11482 if test "$GCC" != yes; then
11485 # IRIX 6.2 and later do not support large files by default,
11486 # so use the C compiler's -n32 option if that helps.
11487 cat >conftest.$ac_ext <<_ACEOF
11490 cat confdefs.h >>conftest.$ac_ext
11491 cat >>conftest.$ac_ext <<_ACEOF
11492 /* end confdefs.h. */
11493 #include <sys/types.h>
11494 /* Check that off_t can represent 2**63 - 1 correctly.
11495 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11496 since some C++ compilers masquerading as C compilers
11497 incorrectly reject 9223372036854775807. */
11498 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11499 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11500 && LARGE_OFF_T % 2147483647 == 1)
11510 rm -f conftest.$ac_objext
11511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11512 (eval $ac_compile) 2>conftest.er1
11514 grep -v '^ *+' conftest.er1 >conftest.err
11516 cat conftest.err >&5
11517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11518 (exit $ac_status); } &&
11519 { ac_try='test -z "$ac_c_werror_flag"
11520 || test ! -s conftest.err'
11521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11522 (eval $ac_try) 2>&5
11524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); }; } &&
11526 { ac_try='test -s conftest.$ac_objext'
11527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11528 (eval $ac_try) 2>&5
11530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11531 (exit $ac_status); }; }; then
11534 echo "$as_me: failed program was:" >&5
11535 sed 's/^/| /' conftest.$ac_ext >&5
11538 rm -f conftest.err conftest.$ac_objext
11540 rm -f conftest.$ac_objext
11541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11542 (eval $ac_compile) 2>conftest.er1
11544 grep -v '^ *+' conftest.er1 >conftest.err
11546 cat conftest.err >&5
11547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11548 (exit $ac_status); } &&
11549 { ac_try='test -z "$ac_c_werror_flag"
11550 || test ! -s conftest.err'
11551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11552 (eval $ac_try) 2>&5
11554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11555 (exit $ac_status); }; } &&
11556 { ac_try='test -s conftest.$ac_objext'
11557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11558 (eval $ac_try) 2>&5
11560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11561 (exit $ac_status); }; }; then
11562 ac_cv_sys_largefile_CC=' -n32'; break
11564 echo "$as_me: failed program was:" >&5
11565 sed 's/^/| /' conftest.$ac_ext >&5
11568 rm -f conftest.err conftest.$ac_objext
11572 rm -f conftest.$ac_ext
11575 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
11576 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
11577 if test "$ac_cv_sys_largefile_CC" != no; then
11578 CC=$CC$ac_cv_sys_largefile_CC
11581 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11582 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
11583 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
11584 echo $ECHO_N "(cached) $ECHO_C" >&6
11587 ac_cv_sys_file_offset_bits=no
11588 cat >conftest.$ac_ext <<_ACEOF
11591 cat confdefs.h >>conftest.$ac_ext
11592 cat >>conftest.$ac_ext <<_ACEOF
11593 /* end confdefs.h. */
11594 #include <sys/types.h>
11595 /* Check that off_t can represent 2**63 - 1 correctly.
11596 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11597 since some C++ compilers masquerading as C compilers
11598 incorrectly reject 9223372036854775807. */
11599 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11600 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11601 && LARGE_OFF_T % 2147483647 == 1)
11611 rm -f conftest.$ac_objext
11612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11613 (eval $ac_compile) 2>conftest.er1
11615 grep -v '^ *+' conftest.er1 >conftest.err
11617 cat conftest.err >&5
11618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619 (exit $ac_status); } &&
11620 { ac_try='test -z "$ac_c_werror_flag"
11621 || test ! -s conftest.err'
11622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11623 (eval $ac_try) 2>&5
11625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11626 (exit $ac_status); }; } &&
11627 { ac_try='test -s conftest.$ac_objext'
11628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11629 (eval $ac_try) 2>&5
11631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 (exit $ac_status); }; }; then
11635 echo "$as_me: failed program was:" >&5
11636 sed 's/^/| /' conftest.$ac_ext >&5
11639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11640 cat >conftest.$ac_ext <<_ACEOF
11643 cat confdefs.h >>conftest.$ac_ext
11644 cat >>conftest.$ac_ext <<_ACEOF
11645 /* end confdefs.h. */
11646 #define _FILE_OFFSET_BITS 64
11647 #include <sys/types.h>
11648 /* Check that off_t can represent 2**63 - 1 correctly.
11649 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11650 since some C++ compilers masquerading as C compilers
11651 incorrectly reject 9223372036854775807. */
11652 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11653 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11654 && LARGE_OFF_T % 2147483647 == 1)
11664 rm -f conftest.$ac_objext
11665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11666 (eval $ac_compile) 2>conftest.er1
11668 grep -v '^ *+' conftest.er1 >conftest.err
11670 cat conftest.err >&5
11671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11672 (exit $ac_status); } &&
11673 { ac_try='test -z "$ac_c_werror_flag"
11674 || test ! -s conftest.err'
11675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11676 (eval $ac_try) 2>&5
11678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11679 (exit $ac_status); }; } &&
11680 { ac_try='test -s conftest.$ac_objext'
11681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11682 (eval $ac_try) 2>&5
11684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11685 (exit $ac_status); }; }; then
11686 ac_cv_sys_file_offset_bits=64; break
11688 echo "$as_me: failed program was:" >&5
11689 sed 's/^/| /' conftest.$ac_ext >&5
11692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11696 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
11697 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
11698 if test "$ac_cv_sys_file_offset_bits" != no; then
11700 cat >>confdefs.h <<_ACEOF
11701 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11706 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
11707 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
11708 if test "${ac_cv_sys_large_files+set}" = set; then
11709 echo $ECHO_N "(cached) $ECHO_C" >&6
11712 ac_cv_sys_large_files=no
11713 cat >conftest.$ac_ext <<_ACEOF
11716 cat confdefs.h >>conftest.$ac_ext
11717 cat >>conftest.$ac_ext <<_ACEOF
11718 /* end confdefs.h. */
11719 #include <sys/types.h>
11720 /* Check that off_t can represent 2**63 - 1 correctly.
11721 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11722 since some C++ compilers masquerading as C compilers
11723 incorrectly reject 9223372036854775807. */
11724 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11725 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11726 && LARGE_OFF_T % 2147483647 == 1)
11736 rm -f conftest.$ac_objext
11737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11738 (eval $ac_compile) 2>conftest.er1
11740 grep -v '^ *+' conftest.er1 >conftest.err
11742 cat conftest.err >&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); } &&
11745 { ac_try='test -z "$ac_c_werror_flag"
11746 || test ! -s conftest.err'
11747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11748 (eval $ac_try) 2>&5
11750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751 (exit $ac_status); }; } &&
11752 { ac_try='test -s conftest.$ac_objext'
11753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11754 (eval $ac_try) 2>&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); }; }; then
11760 echo "$as_me: failed program was:" >&5
11761 sed 's/^/| /' conftest.$ac_ext >&5
11764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11765 cat >conftest.$ac_ext <<_ACEOF
11768 cat confdefs.h >>conftest.$ac_ext
11769 cat >>conftest.$ac_ext <<_ACEOF
11770 /* end confdefs.h. */
11771 #define _LARGE_FILES 1
11772 #include <sys/types.h>
11773 /* Check that off_t can represent 2**63 - 1 correctly.
11774 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11775 since some C++ compilers masquerading as C compilers
11776 incorrectly reject 9223372036854775807. */
11777 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11778 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11779 && LARGE_OFF_T % 2147483647 == 1)
11789 rm -f conftest.$ac_objext
11790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11791 (eval $ac_compile) 2>conftest.er1
11793 grep -v '^ *+' conftest.er1 >conftest.err
11795 cat conftest.err >&5
11796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11797 (exit $ac_status); } &&
11798 { ac_try='test -z "$ac_c_werror_flag"
11799 || test ! -s conftest.err'
11800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11801 (eval $ac_try) 2>&5
11803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11804 (exit $ac_status); }; } &&
11805 { ac_try='test -s conftest.$ac_objext'
11806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11807 (eval $ac_try) 2>&5
11809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11810 (exit $ac_status); }; }; then
11811 ac_cv_sys_large_files=1; break
11813 echo "$as_me: failed program was:" >&5
11814 sed 's/^/| /' conftest.$ac_ext >&5
11817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11821 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
11822 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
11823 if test "$ac_cv_sys_large_files" != no; then
11825 cat >>confdefs.h <<_ACEOF
11826 #define _LARGE_FILES $ac_cv_sys_large_files
11834 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
11835 if test "${enable_64_bit_bfd+set}" = set; then
11836 enableval="$enable_64_bit_bfd"
11837 case "${enableval}" in
11838 yes) want64=true ;;
11839 no) want64=false ;;
11840 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
11841 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
11842 { (exit 1); exit 1; }; } ;;
11847 # Check whether --enable-targets or --disable-targets was given.
11848 if test "${enable_targets+set}" = set; then
11849 enableval="$enable_targets"
11850 case "${enableval}" in
11851 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
11852 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
11853 { (exit 1); exit 1; }; }
11855 no) enable_targets= ;;
11856 *) enable_targets=$enableval ;;
11860 # Check whether --with-mmap or --without-mmap was given.
11861 if test "${with_mmap+set}" = set; then
11862 withval="$with_mmap"
11863 case "${withval}" in
11864 yes) want_mmap=true ;;
11865 no) want_mmap=false ;;
11866 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
11867 echo "$as_me: error: bad value ${withval} for BFD with-mmap option" >&2;}
11868 { (exit 1); exit 1; }; } ;;
11873 # Check whether --enable-secureplt or --disable-secureplt was given.
11874 if test "${enable_secureplt+set}" = set; then
11875 enableval="$enable_secureplt"
11876 case "${enableval}" in
11877 yes) use_secureplt=true ;;
11878 no) use_secureplt=false ;;
11879 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for secureplt option" >&5
11880 echo "$as_me: error: bad value ${enableval} for secureplt option" >&2;}
11881 { (exit 1); exit 1; }; } ;;
11884 use_secureplt=false
11885 fi; if test $use_secureplt = true; then
11887 cat >>confdefs.h <<\_ACEOF
11888 #define USE_SECUREPLT 1
11893 DEBUGDIR=${libdir}/debug
11895 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
11896 if test "${with_separate_debug_dir+set}" = set; then
11897 withval="$with_separate_debug_dir"
11898 DEBUGDIR="${withval}"
11902 # Check to see if we should allow the generation of
11903 # symbols with the ELF standard's STT_COMMON type.
11904 # Check whether --enable-elf-stt-common or --disable-elf-stt-common was given.
11905 if test "${enable_elf_stt_common+set}" = set; then
11906 enableval="$enable_elf_stt_common"
11907 case "${enableval}" in
11908 yes) want_elf_stt_common=true ;;
11909 no) want_elf_stt_common=false ;;
11910 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for ELF STT_COMMON option" >&5
11911 echo "$as_me: error: bad value ${enableval} for ELF STT_COMMON option" >&2;}
11912 { (exit 1); exit 1; }; } ;;
11915 # We have to choose a default behaviour. For native builds we could
11916 # test whether the loader supports the STT_COMMON type, but that would
11917 # mean that built binaries could not be exported to older systems where
11918 # the loader does not support it. So by default we always choose to
11919 # disable this feature.
11920 want_elf_stt_common=false
11921 fi; if test $want_elf_stt_common = true; then
11923 cat >>confdefs.h <<\_ACEOF
11924 #define USE_STT_COMMON 1
11931 # Check whether --with-pkgversion or --without-pkgversion was given.
11932 if test "${with_pkgversion+set}" = set; then
11933 withval="$with_pkgversion"
11935 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
11936 echo "$as_me: error: package version not specified" >&2;}
11937 { (exit 1); exit 1; }; } ;;
11939 *) PKGVERSION="($withval) " ;;
11942 PKGVERSION="(GNU Binutils) "
11949 # Check whether --with-bugurl or --without-bugurl was given.
11950 if test "${with_bugurl+set}" = set; then
11951 withval="$with_bugurl"
11953 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
11954 echo "$as_me: error: bug URL not specified" >&2;}
11955 { (exit 1); exit 1; }; } ;;
11958 *) BUGURL="$withval"
11962 BUGURL="http://www.sourceware.org/bugzilla/"
11971 REPORT_BUGS_TO="<$BUGURL>"
11972 REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" | sed 's/@/@@/g'`}
11980 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11982 # Check whether --enable-werror or --disable-werror was given.
11983 if test "${enable_werror+set}" = set; then
11984 enableval="$enable_werror"
11985 case "${enableval}" in
11986 yes | y) ERROR_ON_WARNING="yes" ;;
11987 no | n) ERROR_ON_WARNING="no" ;;
11988 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
11989 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
11990 { (exit 1); exit 1; }; } ;;
11994 # Enable -Wno-format by default when using gcc on mingw
11997 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11998 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
12004 # Enable -Werror by default when using gcc
12005 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
12006 ERROR_ON_WARNING=yes
12010 if test "${ERROR_ON_WARNING}" = yes ; then
12011 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
12012 NO_WERROR="-Wno-error"
12015 if test "${GCC}" = yes ; then
12016 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
12019 # Check whether --enable-build-warnings or --disable-build-warnings was given.
12020 if test "${enable_build_warnings+set}" = set; then
12021 enableval="$enable_build_warnings"
12022 case "${enableval}" in
12023 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
12024 no) if test "${GCC}" = yes ; then
12027 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
12028 WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
12029 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
12030 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
12031 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
12035 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
12036 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
12043 ac_config_headers="$ac_config_headers config.h:config.in"
12046 if test -z "$target" ; then
12047 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
12048 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
12049 { (exit 1); exit 1; }; }
12052 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
12053 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
12054 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12055 if test "${enable_maintainer_mode+set}" = set; then
12056 enableval="$enable_maintainer_mode"
12057 USE_MAINTAINER_MODE=$enableval
12059 USE_MAINTAINER_MODE=no
12061 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
12062 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12065 if test $USE_MAINTAINER_MODE = yes; then
12066 MAINTAINER_MODE_TRUE=
12067 MAINTAINER_MODE_FALSE='#'
12069 MAINTAINER_MODE_TRUE='#'
12070 MAINTAINER_MODE_FALSE=
12073 MAINT=$MAINTAINER_MODE_TRUE
12079 GENINSRC_NEVER_TRUE=
12080 GENINSRC_NEVER_FALSE='#'
12082 GENINSRC_NEVER_TRUE='#'
12083 GENINSRC_NEVER_FALSE=
12086 case ${build_alias} in
12087 "") build_noncanonical=${build} ;;
12088 *) build_noncanonical=${build_alias} ;;
12091 case ${host_alias} in
12092 "") host_noncanonical=${build_noncanonical} ;;
12093 *) host_noncanonical=${host_alias} ;;
12096 case ${target_alias} in
12097 "") target_noncanonical=${host_noncanonical} ;;
12098 *) target_noncanonical=${target_alias} ;;
12101 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
12102 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
12103 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
12104 if test "${enable_install_libbfd+set}" = set; then
12105 enableval="$enable_install_libbfd"
12106 install_libbfd_p=$enableval
12108 if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
12109 install_libbfd_p=yes
12111 install_libbfd_p=no
12114 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
12115 echo "${ECHO_T}$install_libbfd_p" >&6
12118 if test $install_libbfd_p = yes; then
12119 INSTALL_LIBBFD_TRUE=
12120 INSTALL_LIBBFD_FALSE='#'
12122 INSTALL_LIBBFD_TRUE='#'
12123 INSTALL_LIBBFD_FALSE=
12126 # Need _noncanonical variables for this.
12131 # libbfd.a is a host library containing target dependent code
12132 bfdlibdir='$(libdir)'
12133 bfdincludedir='$(includedir)'
12134 if test "${host}" != "${target}"; then
12135 bfdlibdir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
12136 bfdincludedir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
12146 bfd_default_target_size=32
12150 ALL_LINGUAS="fr tr ja es sv da zh_CN ro rw vi fi id ru"
12151 # If we haven't got the data from the intl directory,
12152 # assume NLS is disabled.
12161 if test -f ../intl/config.intl; then
12162 . ../intl/config.intl
12164 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
12165 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
12166 if test x"$USE_NLS" != xyes; then
12167 echo "$as_me:$LINENO: result: no" >&5
12168 echo "${ECHO_T}no" >&6
12170 echo "$as_me:$LINENO: result: yes" >&5
12171 echo "${ECHO_T}yes" >&6
12173 cat >>confdefs.h <<\_ACEOF
12174 #define ENABLE_NLS 1
12178 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
12179 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
12180 # Look for .po and .gmo files in the source directory.
12183 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
12184 # If there aren't any .gmo files the shell will give us the
12185 # literal string "../path/to/srcdir/po/*.gmo" which has to be
12187 case "$cat" in *\**)
12190 # The quadruple backslash is collapsed to a double backslash
12191 # by the backticks, then collapsed again by the double quotes,
12192 # leaving us with one backslash in the sed expression (right
12193 # before the dot that mustn't act as a wildcard).
12194 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
12195 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
12196 # The user is allowed to set LINGUAS to a list of languages to
12197 # install catalogs for. If it's empty that means "all of them."
12198 if test "x$LINGUAS" = x; then
12199 CATALOGS="$CATALOGS $cat"
12200 XLINGUAS="$XLINGUAS $lang"
12202 case "$LINGUAS" in *$lang*)
12203 CATALOGS="$CATALOGS $cat"
12204 XLINGUAS="$XLINGUAS $lang"
12209 LINGUAS="$XLINGUAS"
12210 echo "$as_me:$LINENO: result: $LINGUAS" >&5
12211 echo "${ECHO_T}$LINGUAS" >&6
12225 if test -n "$ac_aux_dir"; then
12226 case "$ac_aux_dir" in
12227 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
12228 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
12231 if test -z "$MKINSTALLDIRS"; then
12232 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
12237 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
12238 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
12239 # Check whether --enable-nls or --disable-nls was given.
12240 if test "${enable_nls+set}" = set; then
12241 enableval="$enable_nls"
12246 echo "$as_me:$LINENO: result: $USE_NLS" >&5
12247 echo "${ECHO_T}$USE_NLS" >&6
12254 # Prepare PATH_SEPARATOR.
12255 # The user is always right.
12256 if test "${PATH_SEPARATOR+set}" != set; then
12257 echo "#! /bin/sh" >conf$$.sh
12258 echo "exit 0" >>conf$$.sh
12260 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12268 # Find out how to test for executable files. Don't use a zero-byte file,
12269 # as systems may use methods other than mode bits to determine executability.
12270 cat >conf$$.file <<_ASEOF
12274 chmod +x conf$$.file
12275 if test -x conf$$.file >/dev/null 2>&1; then
12276 ac_executable_p="test -x"
12278 ac_executable_p="test -f"
12282 # Extract the first word of "msgfmt", so it can be a program name with args.
12283 set dummy msgfmt; ac_word=$2
12284 echo "$as_me:$LINENO: checking for $ac_word" >&5
12285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12286 if test "${ac_cv_path_MSGFMT+set}" = set; then
12287 echo $ECHO_N "(cached) $ECHO_C" >&6
12291 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12294 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12295 for ac_dir in $PATH; do
12297 test -z "$ac_dir" && ac_dir=.
12298 for ac_exec_ext in '' $ac_executable_extensions; do
12299 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12300 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
12301 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12302 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
12309 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
12313 MSGFMT="$ac_cv_path_MSGFMT"
12314 if test "$MSGFMT" != ":"; then
12315 echo "$as_me:$LINENO: result: $MSGFMT" >&5
12316 echo "${ECHO_T}$MSGFMT" >&6
12318 echo "$as_me:$LINENO: result: no" >&5
12319 echo "${ECHO_T}no" >&6
12322 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12323 set dummy gmsgfmt; ac_word=$2
12324 echo "$as_me:$LINENO: checking for $ac_word" >&5
12325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12326 if test "${ac_cv_path_GMSGFMT+set}" = set; then
12327 echo $ECHO_N "(cached) $ECHO_C" >&6
12331 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12335 for as_dir in $PATH
12338 test -z "$as_dir" && as_dir=.
12339 for ac_exec_ext in '' $ac_executable_extensions; do
12340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12341 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12348 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12352 GMSGFMT=$ac_cv_path_GMSGFMT
12354 if test -n "$GMSGFMT"; then
12355 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
12356 echo "${ECHO_T}$GMSGFMT" >&6
12358 echo "$as_me:$LINENO: result: no" >&5
12359 echo "${ECHO_T}no" >&6
12364 # Prepare PATH_SEPARATOR.
12365 # The user is always right.
12366 if test "${PATH_SEPARATOR+set}" != set; then
12367 echo "#! /bin/sh" >conf$$.sh
12368 echo "exit 0" >>conf$$.sh
12370 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12378 # Find out how to test for executable files. Don't use a zero-byte file,
12379 # as systems may use methods other than mode bits to determine executability.
12380 cat >conf$$.file <<_ASEOF
12384 chmod +x conf$$.file
12385 if test -x conf$$.file >/dev/null 2>&1; then
12386 ac_executable_p="test -x"
12388 ac_executable_p="test -f"
12392 # Extract the first word of "xgettext", so it can be a program name with args.
12393 set dummy xgettext; ac_word=$2
12394 echo "$as_me:$LINENO: checking for $ac_word" >&5
12395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12396 if test "${ac_cv_path_XGETTEXT+set}" = set; then
12397 echo $ECHO_N "(cached) $ECHO_C" >&6
12399 case "$XGETTEXT" in
12401 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12404 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12405 for ac_dir in $PATH; do
12407 test -z "$ac_dir" && ac_dir=.
12408 for ac_exec_ext in '' $ac_executable_extensions; do
12409 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12410 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
12411 (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
12412 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
12419 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12423 XGETTEXT="$ac_cv_path_XGETTEXT"
12424 if test "$XGETTEXT" != ":"; then
12425 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
12426 echo "${ECHO_T}$XGETTEXT" >&6
12428 echo "$as_me:$LINENO: result: no" >&5
12429 echo "${ECHO_T}no" >&6
12435 # Prepare PATH_SEPARATOR.
12436 # The user is always right.
12437 if test "${PATH_SEPARATOR+set}" != set; then
12438 echo "#! /bin/sh" >conf$$.sh
12439 echo "exit 0" >>conf$$.sh
12441 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12449 # Find out how to test for executable files. Don't use a zero-byte file,
12450 # as systems may use methods other than mode bits to determine executability.
12451 cat >conf$$.file <<_ASEOF
12455 chmod +x conf$$.file
12456 if test -x conf$$.file >/dev/null 2>&1; then
12457 ac_executable_p="test -x"
12459 ac_executable_p="test -f"
12463 # Extract the first word of "msgmerge", so it can be a program name with args.
12464 set dummy msgmerge; ac_word=$2
12465 echo "$as_me:$LINENO: checking for $ac_word" >&5
12466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12467 if test "${ac_cv_path_MSGMERGE+set}" = set; then
12468 echo $ECHO_N "(cached) $ECHO_C" >&6
12470 case "$MSGMERGE" in
12472 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12475 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12476 for ac_dir in $PATH; do
12478 test -z "$ac_dir" && ac_dir=.
12479 for ac_exec_ext in '' $ac_executable_extensions; do
12480 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12481 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
12482 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12489 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12493 MSGMERGE="$ac_cv_path_MSGMERGE"
12494 if test "$MSGMERGE" != ":"; then
12495 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
12496 echo "${ECHO_T}$MSGMERGE" >&6
12498 echo "$as_me:$LINENO: result: no" >&5
12499 echo "${ECHO_T}no" >&6
12503 if test "$GMSGFMT" != ":"; then
12504 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
12505 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12508 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
12509 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
12510 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
12515 if test "$XGETTEXT" != ":"; then
12516 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
12517 (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
12520 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
12521 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
12527 ac_config_commands="$ac_config_commands default-1"
12531 # Permit host specific settings.
12532 . ${srcdir}/configure.host
12535 # Find a good install program. We prefer a C program (faster),
12536 # so one script is as good as another. But avoid the broken or
12537 # incompatible versions:
12538 # SysV /etc/install, /usr/sbin/install
12539 # SunOS /usr/etc/install
12540 # IRIX /sbin/install
12542 # AmigaOS /C/install, which installs bootblocks on floppy discs
12543 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12544 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12545 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12546 # OS/2's system install, which has a completely different semantic
12547 # ./install, which can be erroneously created by make from ./install.sh.
12548 # Reject install programs that cannot install multiple files.
12549 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12550 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12551 if test -z "$INSTALL"; then
12552 if test "${ac_cv_path_install+set}" = set; then
12553 echo $ECHO_N "(cached) $ECHO_C" >&6
12555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12556 for as_dir in $PATH
12559 test -z "$as_dir" && as_dir=.
12560 # Account for people who put trailing slashes in PATH elements.
12562 ./ | .// | /cC/* | \
12563 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12564 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12567 # OSF1 and SCO ODT 3.0 have their own names for install.
12568 # Don't use installbsd from OSF since it installs stuff as root
12570 for ac_prog in ginstall scoinst install; do
12571 for ac_exec_ext in '' $ac_executable_extensions; do
12572 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12573 if test $ac_prog = install &&
12574 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12575 # AIX install. It has an incompatible calling convention.
12577 elif test $ac_prog = install &&
12578 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12579 # program-specific install script used by HP pwplus--don't use.
12582 rm -rf conftest.one conftest.two conftest.dir
12583 echo one > conftest.one
12584 echo two > conftest.two
12586 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
12587 test -s conftest.one && test -s conftest.two &&
12588 test -s conftest.dir/conftest.one &&
12589 test -s conftest.dir/conftest.two
12591 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12602 rm -rf conftest.one conftest.two conftest.dir
12605 if test "${ac_cv_path_install+set}" = set; then
12606 INSTALL=$ac_cv_path_install
12608 # As a last resort, use the slow shell script. Don't cache a
12609 # value for INSTALL within a source directory, because that will
12610 # break other packages using the cache if that directory is
12611 # removed, or if the value is a relative name.
12612 INSTALL=$ac_install_sh
12615 echo "$as_me:$LINENO: result: $INSTALL" >&5
12616 echo "${ECHO_T}$INSTALL" >&6
12618 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12619 # It thinks the first close brace ends the variable substitution.
12620 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12622 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12624 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12627 BFD_HOST_64BIT_LONG=0
12628 BFD_HOST_64BIT_LONG_LONG=0
12629 BFD_HOST_64_BIT_DEFINED=0
12632 BFD_HOSTPTR_T="unsigned long"
12634 echo "$as_me:$LINENO: checking for long long" >&5
12635 echo $ECHO_N "checking for long long... $ECHO_C" >&6
12636 if test "${ac_cv_type_long_long+set}" = set; then
12637 echo $ECHO_N "(cached) $ECHO_C" >&6
12639 cat >conftest.$ac_ext <<_ACEOF
12642 cat confdefs.h >>conftest.$ac_ext
12643 cat >>conftest.$ac_ext <<_ACEOF
12644 /* end confdefs.h. */
12645 $ac_includes_default
12649 if ((long long *) 0)
12651 if (sizeof (long long))
12657 rm -f conftest.$ac_objext
12658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12659 (eval $ac_compile) 2>conftest.er1
12661 grep -v '^ *+' conftest.er1 >conftest.err
12663 cat conftest.err >&5
12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); } &&
12666 { ac_try='test -z "$ac_c_werror_flag"
12667 || test ! -s conftest.err'
12668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12669 (eval $ac_try) 2>&5
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); }; } &&
12673 { ac_try='test -s conftest.$ac_objext'
12674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12675 (eval $ac_try) 2>&5
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); }; }; then
12679 ac_cv_type_long_long=yes
12681 echo "$as_me: failed program was:" >&5
12682 sed 's/^/| /' conftest.$ac_ext >&5
12684 ac_cv_type_long_long=no
12686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12688 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
12689 echo "${ECHO_T}$ac_cv_type_long_long" >&6
12691 echo "$as_me:$LINENO: checking size of long long" >&5
12692 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
12693 if test "${ac_cv_sizeof_long_long+set}" = set; then
12694 echo $ECHO_N "(cached) $ECHO_C" >&6
12696 if test "$ac_cv_type_long_long" = yes; then
12697 # The cast to unsigned long works around a bug in the HP C Compiler
12698 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12699 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12700 # This bug is HP SR number 8606223364.
12701 if test "$cross_compiling" = yes; then
12702 # Depending upon the size, compute the lo and hi bounds.
12703 cat >conftest.$ac_ext <<_ACEOF
12706 cat confdefs.h >>conftest.$ac_ext
12707 cat >>conftest.$ac_ext <<_ACEOF
12708 /* end confdefs.h. */
12709 $ac_includes_default
12713 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
12720 rm -f conftest.$ac_objext
12721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12722 (eval $ac_compile) 2>conftest.er1
12724 grep -v '^ *+' conftest.er1 >conftest.err
12726 cat conftest.err >&5
12727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12728 (exit $ac_status); } &&
12729 { ac_try='test -z "$ac_c_werror_flag"
12730 || test ! -s conftest.err'
12731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12732 (eval $ac_try) 2>&5
12734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); }; } &&
12736 { ac_try='test -s conftest.$ac_objext'
12737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12738 (eval $ac_try) 2>&5
12740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12741 (exit $ac_status); }; }; then
12744 cat >conftest.$ac_ext <<_ACEOF
12747 cat confdefs.h >>conftest.$ac_ext
12748 cat >>conftest.$ac_ext <<_ACEOF
12749 /* end confdefs.h. */
12750 $ac_includes_default
12754 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
12761 rm -f conftest.$ac_objext
12762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12763 (eval $ac_compile) 2>conftest.er1
12765 grep -v '^ *+' conftest.er1 >conftest.err
12767 cat conftest.err >&5
12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); } &&
12770 { ac_try='test -z "$ac_c_werror_flag"
12771 || test ! -s conftest.err'
12772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12773 (eval $ac_try) 2>&5
12775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776 (exit $ac_status); }; } &&
12777 { ac_try='test -s conftest.$ac_objext'
12778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12779 (eval $ac_try) 2>&5
12781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12782 (exit $ac_status); }; }; then
12783 ac_hi=$ac_mid; break
12785 echo "$as_me: failed program was:" >&5
12786 sed 's/^/| /' conftest.$ac_ext >&5
12788 ac_lo=`expr $ac_mid + 1`
12789 if test $ac_lo -le $ac_mid; then
12793 ac_mid=`expr 2 '*' $ac_mid + 1`
12795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12798 echo "$as_me: failed program was:" >&5
12799 sed 's/^/| /' conftest.$ac_ext >&5
12801 cat >conftest.$ac_ext <<_ACEOF
12804 cat confdefs.h >>conftest.$ac_ext
12805 cat >>conftest.$ac_ext <<_ACEOF
12806 /* end confdefs.h. */
12807 $ac_includes_default
12811 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
12818 rm -f conftest.$ac_objext
12819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12820 (eval $ac_compile) 2>conftest.er1
12822 grep -v '^ *+' conftest.er1 >conftest.err
12824 cat conftest.err >&5
12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 (exit $ac_status); } &&
12827 { ac_try='test -z "$ac_c_werror_flag"
12828 || test ! -s conftest.err'
12829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12830 (eval $ac_try) 2>&5
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); }; } &&
12834 { ac_try='test -s conftest.$ac_objext'
12835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12836 (eval $ac_try) 2>&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); }; }; then
12842 cat >conftest.$ac_ext <<_ACEOF
12845 cat confdefs.h >>conftest.$ac_ext
12846 cat >>conftest.$ac_ext <<_ACEOF
12847 /* end confdefs.h. */
12848 $ac_includes_default
12852 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
12859 rm -f conftest.$ac_objext
12860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12861 (eval $ac_compile) 2>conftest.er1
12863 grep -v '^ *+' conftest.er1 >conftest.err
12865 cat conftest.err >&5
12866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867 (exit $ac_status); } &&
12868 { ac_try='test -z "$ac_c_werror_flag"
12869 || test ! -s conftest.err'
12870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12871 (eval $ac_try) 2>&5
12873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874 (exit $ac_status); }; } &&
12875 { ac_try='test -s conftest.$ac_objext'
12876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12877 (eval $ac_try) 2>&5
12879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12880 (exit $ac_status); }; }; then
12881 ac_lo=$ac_mid; break
12883 echo "$as_me: failed program was:" >&5
12884 sed 's/^/| /' conftest.$ac_ext >&5
12886 ac_hi=`expr '(' $ac_mid ')' - 1`
12887 if test $ac_mid -le $ac_hi; then
12891 ac_mid=`expr 2 '*' $ac_mid`
12893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12896 echo "$as_me: failed program was:" >&5
12897 sed 's/^/| /' conftest.$ac_ext >&5
12901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12904 # Binary search between lo and hi bounds.
12905 while test "x$ac_lo" != "x$ac_hi"; do
12906 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12907 cat >conftest.$ac_ext <<_ACEOF
12910 cat confdefs.h >>conftest.$ac_ext
12911 cat >>conftest.$ac_ext <<_ACEOF
12912 /* end confdefs.h. */
12913 $ac_includes_default
12917 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
12924 rm -f conftest.$ac_objext
12925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12926 (eval $ac_compile) 2>conftest.er1
12928 grep -v '^ *+' conftest.er1 >conftest.err
12930 cat conftest.err >&5
12931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12932 (exit $ac_status); } &&
12933 { ac_try='test -z "$ac_c_werror_flag"
12934 || test ! -s conftest.err'
12935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12936 (eval $ac_try) 2>&5
12938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939 (exit $ac_status); }; } &&
12940 { ac_try='test -s conftest.$ac_objext'
12941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12942 (eval $ac_try) 2>&5
12944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945 (exit $ac_status); }; }; then
12948 echo "$as_me: failed program was:" >&5
12949 sed 's/^/| /' conftest.$ac_ext >&5
12951 ac_lo=`expr '(' $ac_mid ')' + 1`
12953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12956 ?*) ac_cv_sizeof_long_long=$ac_lo;;
12957 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12958 echo "$as_me: error: in \`$ac_pwd':" >&2;}
12959 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
12960 See \`config.log' for more details." >&5
12961 echo "$as_me: error: cannot compute sizeof (long long), 77
12962 See \`config.log' for more details." >&2;}
12963 { (exit 1); exit 1; }; }; } ;;
12966 if test "$cross_compiling" = yes; then
12967 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12968 echo "$as_me: error: in \`$ac_pwd':" >&2;}
12969 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12970 See \`config.log' for more details." >&5
12971 echo "$as_me: error: cannot run test program while cross compiling
12972 See \`config.log' for more details." >&2;}
12973 { (exit 1); exit 1; }; }; }
12975 cat >conftest.$ac_ext <<_ACEOF
12978 cat confdefs.h >>conftest.$ac_ext
12979 cat >>conftest.$ac_ext <<_ACEOF
12980 /* end confdefs.h. */
12981 $ac_includes_default
12982 long longval () { return (long) (sizeof (long long)); }
12983 unsigned long ulongval () { return (long) (sizeof (long long)); }
12985 #include <stdlib.h>
12990 FILE *f = fopen ("conftest.val", "w");
12993 if (((long) (sizeof (long long))) < 0)
12995 long i = longval ();
12996 if (i != ((long) (sizeof (long long))))
12998 fprintf (f, "%ld\n", i);
13002 unsigned long i = ulongval ();
13003 if (i != ((long) (sizeof (long long))))
13005 fprintf (f, "%lu\n", i);
13007 exit (ferror (f) || fclose (f) != 0);
13013 rm -f conftest$ac_exeext
13014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13015 (eval $ac_link) 2>&5
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13020 (eval $ac_try) 2>&5
13022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13023 (exit $ac_status); }; }; then
13024 ac_cv_sizeof_long_long=`cat conftest.val`
13026 echo "$as_me: program exited with status $ac_status" >&5
13027 echo "$as_me: failed program was:" >&5
13028 sed 's/^/| /' conftest.$ac_ext >&5
13030 ( exit $ac_status )
13031 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13032 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13033 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
13034 See \`config.log' for more details." >&5
13035 echo "$as_me: error: cannot compute sizeof (long long), 77
13036 See \`config.log' for more details." >&2;}
13037 { (exit 1); exit 1; }; }; }
13039 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13044 ac_cv_sizeof_long_long=0
13047 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
13048 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
13049 cat >>confdefs.h <<_ACEOF
13050 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13054 echo "$as_me:$LINENO: checking for void *" >&5
13055 echo $ECHO_N "checking for void *... $ECHO_C" >&6
13056 if test "${ac_cv_type_void_p+set}" = set; then
13057 echo $ECHO_N "(cached) $ECHO_C" >&6
13059 cat >conftest.$ac_ext <<_ACEOF
13062 cat confdefs.h >>conftest.$ac_ext
13063 cat >>conftest.$ac_ext <<_ACEOF
13064 /* end confdefs.h. */
13065 $ac_includes_default
13071 if (sizeof (void *))
13077 rm -f conftest.$ac_objext
13078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13079 (eval $ac_compile) 2>conftest.er1
13081 grep -v '^ *+' conftest.er1 >conftest.err
13083 cat conftest.err >&5
13084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13085 (exit $ac_status); } &&
13086 { ac_try='test -z "$ac_c_werror_flag"
13087 || test ! -s conftest.err'
13088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13089 (eval $ac_try) 2>&5
13091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13092 (exit $ac_status); }; } &&
13093 { ac_try='test -s conftest.$ac_objext'
13094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13095 (eval $ac_try) 2>&5
13097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13098 (exit $ac_status); }; }; then
13099 ac_cv_type_void_p=yes
13101 echo "$as_me: failed program was:" >&5
13102 sed 's/^/| /' conftest.$ac_ext >&5
13104 ac_cv_type_void_p=no
13106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13108 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
13109 echo "${ECHO_T}$ac_cv_type_void_p" >&6
13111 echo "$as_me:$LINENO: checking size of void *" >&5
13112 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
13113 if test "${ac_cv_sizeof_void_p+set}" = set; then
13114 echo $ECHO_N "(cached) $ECHO_C" >&6
13116 if test "$ac_cv_type_void_p" = yes; then
13117 # The cast to unsigned long works around a bug in the HP C Compiler
13118 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13119 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13120 # This bug is HP SR number 8606223364.
13121 if test "$cross_compiling" = yes; then
13122 # Depending upon the size, compute the lo and hi bounds.
13123 cat >conftest.$ac_ext <<_ACEOF
13126 cat confdefs.h >>conftest.$ac_ext
13127 cat >>conftest.$ac_ext <<_ACEOF
13128 /* end confdefs.h. */
13129 $ac_includes_default
13133 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
13140 rm -f conftest.$ac_objext
13141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13142 (eval $ac_compile) 2>conftest.er1
13144 grep -v '^ *+' conftest.er1 >conftest.err
13146 cat conftest.err >&5
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); } &&
13149 { ac_try='test -z "$ac_c_werror_flag"
13150 || test ! -s conftest.err'
13151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13152 (eval $ac_try) 2>&5
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); }; } &&
13156 { ac_try='test -s conftest.$ac_objext'
13157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13158 (eval $ac_try) 2>&5
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); }; }; then
13164 cat >conftest.$ac_ext <<_ACEOF
13167 cat confdefs.h >>conftest.$ac_ext
13168 cat >>conftest.$ac_ext <<_ACEOF
13169 /* end confdefs.h. */
13170 $ac_includes_default
13174 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
13181 rm -f conftest.$ac_objext
13182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13183 (eval $ac_compile) 2>conftest.er1
13185 grep -v '^ *+' conftest.er1 >conftest.err
13187 cat conftest.err >&5
13188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189 (exit $ac_status); } &&
13190 { ac_try='test -z "$ac_c_werror_flag"
13191 || test ! -s conftest.err'
13192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13193 (eval $ac_try) 2>&5
13195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13196 (exit $ac_status); }; } &&
13197 { ac_try='test -s conftest.$ac_objext'
13198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13199 (eval $ac_try) 2>&5
13201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13202 (exit $ac_status); }; }; then
13203 ac_hi=$ac_mid; break
13205 echo "$as_me: failed program was:" >&5
13206 sed 's/^/| /' conftest.$ac_ext >&5
13208 ac_lo=`expr $ac_mid + 1`
13209 if test $ac_lo -le $ac_mid; then
13213 ac_mid=`expr 2 '*' $ac_mid + 1`
13215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13218 echo "$as_me: failed program was:" >&5
13219 sed 's/^/| /' conftest.$ac_ext >&5
13221 cat >conftest.$ac_ext <<_ACEOF
13224 cat confdefs.h >>conftest.$ac_ext
13225 cat >>conftest.$ac_ext <<_ACEOF
13226 /* end confdefs.h. */
13227 $ac_includes_default
13231 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
13238 rm -f conftest.$ac_objext
13239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13240 (eval $ac_compile) 2>conftest.er1
13242 grep -v '^ *+' conftest.er1 >conftest.err
13244 cat conftest.err >&5
13245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13246 (exit $ac_status); } &&
13247 { ac_try='test -z "$ac_c_werror_flag"
13248 || test ! -s conftest.err'
13249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13250 (eval $ac_try) 2>&5
13252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13253 (exit $ac_status); }; } &&
13254 { ac_try='test -s conftest.$ac_objext'
13255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13256 (eval $ac_try) 2>&5
13258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13259 (exit $ac_status); }; }; then
13262 cat >conftest.$ac_ext <<_ACEOF
13265 cat confdefs.h >>conftest.$ac_ext
13266 cat >>conftest.$ac_ext <<_ACEOF
13267 /* end confdefs.h. */
13268 $ac_includes_default
13272 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
13279 rm -f conftest.$ac_objext
13280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13281 (eval $ac_compile) 2>conftest.er1
13283 grep -v '^ *+' conftest.er1 >conftest.err
13285 cat conftest.err >&5
13286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13287 (exit $ac_status); } &&
13288 { ac_try='test -z "$ac_c_werror_flag"
13289 || test ! -s conftest.err'
13290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13291 (eval $ac_try) 2>&5
13293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13294 (exit $ac_status); }; } &&
13295 { ac_try='test -s conftest.$ac_objext'
13296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13297 (eval $ac_try) 2>&5
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); }; }; then
13301 ac_lo=$ac_mid; break
13303 echo "$as_me: failed program was:" >&5
13304 sed 's/^/| /' conftest.$ac_ext >&5
13306 ac_hi=`expr '(' $ac_mid ')' - 1`
13307 if test $ac_mid -le $ac_hi; then
13311 ac_mid=`expr 2 '*' $ac_mid`
13313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13316 echo "$as_me: failed program was:" >&5
13317 sed 's/^/| /' conftest.$ac_ext >&5
13321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13324 # Binary search between lo and hi bounds.
13325 while test "x$ac_lo" != "x$ac_hi"; do
13326 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13327 cat >conftest.$ac_ext <<_ACEOF
13330 cat confdefs.h >>conftest.$ac_ext
13331 cat >>conftest.$ac_ext <<_ACEOF
13332 /* end confdefs.h. */
13333 $ac_includes_default
13337 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
13344 rm -f conftest.$ac_objext
13345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13346 (eval $ac_compile) 2>conftest.er1
13348 grep -v '^ *+' conftest.er1 >conftest.err
13350 cat conftest.err >&5
13351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13352 (exit $ac_status); } &&
13353 { ac_try='test -z "$ac_c_werror_flag"
13354 || test ! -s conftest.err'
13355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13356 (eval $ac_try) 2>&5
13358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13359 (exit $ac_status); }; } &&
13360 { ac_try='test -s conftest.$ac_objext'
13361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13362 (eval $ac_try) 2>&5
13364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13365 (exit $ac_status); }; }; then
13368 echo "$as_me: failed program was:" >&5
13369 sed 's/^/| /' conftest.$ac_ext >&5
13371 ac_lo=`expr '(' $ac_mid ')' + 1`
13373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13376 ?*) ac_cv_sizeof_void_p=$ac_lo;;
13377 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13378 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13379 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
13380 See \`config.log' for more details." >&5
13381 echo "$as_me: error: cannot compute sizeof (void *), 77
13382 See \`config.log' for more details." >&2;}
13383 { (exit 1); exit 1; }; }; } ;;
13386 if test "$cross_compiling" = yes; then
13387 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13388 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13389 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13390 See \`config.log' for more details." >&5
13391 echo "$as_me: error: cannot run test program while cross compiling
13392 See \`config.log' for more details." >&2;}
13393 { (exit 1); exit 1; }; }; }
13395 cat >conftest.$ac_ext <<_ACEOF
13398 cat confdefs.h >>conftest.$ac_ext
13399 cat >>conftest.$ac_ext <<_ACEOF
13400 /* end confdefs.h. */
13401 $ac_includes_default
13402 long longval () { return (long) (sizeof (void *)); }
13403 unsigned long ulongval () { return (long) (sizeof (void *)); }
13405 #include <stdlib.h>
13410 FILE *f = fopen ("conftest.val", "w");
13413 if (((long) (sizeof (void *))) < 0)
13415 long i = longval ();
13416 if (i != ((long) (sizeof (void *))))
13418 fprintf (f, "%ld\n", i);
13422 unsigned long i = ulongval ();
13423 if (i != ((long) (sizeof (void *))))
13425 fprintf (f, "%lu\n", i);
13427 exit (ferror (f) || fclose (f) != 0);
13433 rm -f conftest$ac_exeext
13434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13435 (eval $ac_link) 2>&5
13437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13438 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13440 (eval $ac_try) 2>&5
13442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13443 (exit $ac_status); }; }; then
13444 ac_cv_sizeof_void_p=`cat conftest.val`
13446 echo "$as_me: program exited with status $ac_status" >&5
13447 echo "$as_me: failed program was:" >&5
13448 sed 's/^/| /' conftest.$ac_ext >&5
13450 ( exit $ac_status )
13451 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13452 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13453 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
13454 See \`config.log' for more details." >&5
13455 echo "$as_me: error: cannot compute sizeof (void *), 77
13456 See \`config.log' for more details." >&2;}
13457 { (exit 1); exit 1; }; }; }
13459 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13464 ac_cv_sizeof_void_p=0
13467 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
13468 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
13469 cat >>confdefs.h <<_ACEOF
13470 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13474 echo "$as_me:$LINENO: checking for long" >&5
13475 echo $ECHO_N "checking for long... $ECHO_C" >&6
13476 if test "${ac_cv_type_long+set}" = set; then
13477 echo $ECHO_N "(cached) $ECHO_C" >&6
13479 cat >conftest.$ac_ext <<_ACEOF
13482 cat confdefs.h >>conftest.$ac_ext
13483 cat >>conftest.$ac_ext <<_ACEOF
13484 /* end confdefs.h. */
13485 $ac_includes_default
13497 rm -f conftest.$ac_objext
13498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13499 (eval $ac_compile) 2>conftest.er1
13501 grep -v '^ *+' conftest.er1 >conftest.err
13503 cat conftest.err >&5
13504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13505 (exit $ac_status); } &&
13506 { ac_try='test -z "$ac_c_werror_flag"
13507 || test ! -s conftest.err'
13508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13509 (eval $ac_try) 2>&5
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); }; } &&
13513 { ac_try='test -s conftest.$ac_objext'
13514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13515 (eval $ac_try) 2>&5
13517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13518 (exit $ac_status); }; }; then
13519 ac_cv_type_long=yes
13521 echo "$as_me: failed program was:" >&5
13522 sed 's/^/| /' conftest.$ac_ext >&5
13526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13528 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
13529 echo "${ECHO_T}$ac_cv_type_long" >&6
13531 echo "$as_me:$LINENO: checking size of long" >&5
13532 echo $ECHO_N "checking size of long... $ECHO_C" >&6
13533 if test "${ac_cv_sizeof_long+set}" = set; then
13534 echo $ECHO_N "(cached) $ECHO_C" >&6
13536 if test "$ac_cv_type_long" = yes; then
13537 # The cast to unsigned long works around a bug in the HP C Compiler
13538 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13539 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13540 # This bug is HP SR number 8606223364.
13541 if test "$cross_compiling" = yes; then
13542 # Depending upon the size, compute the lo and hi bounds.
13543 cat >conftest.$ac_ext <<_ACEOF
13546 cat confdefs.h >>conftest.$ac_ext
13547 cat >>conftest.$ac_ext <<_ACEOF
13548 /* end confdefs.h. */
13549 $ac_includes_default
13553 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
13560 rm -f conftest.$ac_objext
13561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13562 (eval $ac_compile) 2>conftest.er1
13564 grep -v '^ *+' conftest.er1 >conftest.err
13566 cat conftest.err >&5
13567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13568 (exit $ac_status); } &&
13569 { ac_try='test -z "$ac_c_werror_flag"
13570 || test ! -s conftest.err'
13571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13572 (eval $ac_try) 2>&5
13574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13575 (exit $ac_status); }; } &&
13576 { ac_try='test -s conftest.$ac_objext'
13577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13578 (eval $ac_try) 2>&5
13580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13581 (exit $ac_status); }; }; then
13584 cat >conftest.$ac_ext <<_ACEOF
13587 cat confdefs.h >>conftest.$ac_ext
13588 cat >>conftest.$ac_ext <<_ACEOF
13589 /* end confdefs.h. */
13590 $ac_includes_default
13594 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
13601 rm -f conftest.$ac_objext
13602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13603 (eval $ac_compile) 2>conftest.er1
13605 grep -v '^ *+' conftest.er1 >conftest.err
13607 cat conftest.err >&5
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); } &&
13610 { ac_try='test -z "$ac_c_werror_flag"
13611 || test ! -s conftest.err'
13612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13613 (eval $ac_try) 2>&5
13615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616 (exit $ac_status); }; } &&
13617 { ac_try='test -s conftest.$ac_objext'
13618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13619 (eval $ac_try) 2>&5
13621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622 (exit $ac_status); }; }; then
13623 ac_hi=$ac_mid; break
13625 echo "$as_me: failed program was:" >&5
13626 sed 's/^/| /' conftest.$ac_ext >&5
13628 ac_lo=`expr $ac_mid + 1`
13629 if test $ac_lo -le $ac_mid; then
13633 ac_mid=`expr 2 '*' $ac_mid + 1`
13635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13638 echo "$as_me: failed program was:" >&5
13639 sed 's/^/| /' conftest.$ac_ext >&5
13641 cat >conftest.$ac_ext <<_ACEOF
13644 cat confdefs.h >>conftest.$ac_ext
13645 cat >>conftest.$ac_ext <<_ACEOF
13646 /* end confdefs.h. */
13647 $ac_includes_default
13651 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
13658 rm -f conftest.$ac_objext
13659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13660 (eval $ac_compile) 2>conftest.er1
13662 grep -v '^ *+' conftest.er1 >conftest.err
13664 cat conftest.err >&5
13665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666 (exit $ac_status); } &&
13667 { ac_try='test -z "$ac_c_werror_flag"
13668 || test ! -s conftest.err'
13669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13670 (eval $ac_try) 2>&5
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 (exit $ac_status); }; } &&
13674 { ac_try='test -s conftest.$ac_objext'
13675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13676 (eval $ac_try) 2>&5
13678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13679 (exit $ac_status); }; }; then
13682 cat >conftest.$ac_ext <<_ACEOF
13685 cat confdefs.h >>conftest.$ac_ext
13686 cat >>conftest.$ac_ext <<_ACEOF
13687 /* end confdefs.h. */
13688 $ac_includes_default
13692 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
13699 rm -f conftest.$ac_objext
13700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13701 (eval $ac_compile) 2>conftest.er1
13703 grep -v '^ *+' conftest.er1 >conftest.err
13705 cat conftest.err >&5
13706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13707 (exit $ac_status); } &&
13708 { ac_try='test -z "$ac_c_werror_flag"
13709 || test ! -s conftest.err'
13710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13711 (eval $ac_try) 2>&5
13713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13714 (exit $ac_status); }; } &&
13715 { ac_try='test -s conftest.$ac_objext'
13716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13717 (eval $ac_try) 2>&5
13719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13720 (exit $ac_status); }; }; then
13721 ac_lo=$ac_mid; break
13723 echo "$as_me: failed program was:" >&5
13724 sed 's/^/| /' conftest.$ac_ext >&5
13726 ac_hi=`expr '(' $ac_mid ')' - 1`
13727 if test $ac_mid -le $ac_hi; then
13731 ac_mid=`expr 2 '*' $ac_mid`
13733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13736 echo "$as_me: failed program was:" >&5
13737 sed 's/^/| /' conftest.$ac_ext >&5
13741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13744 # Binary search between lo and hi bounds.
13745 while test "x$ac_lo" != "x$ac_hi"; do
13746 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13747 cat >conftest.$ac_ext <<_ACEOF
13750 cat confdefs.h >>conftest.$ac_ext
13751 cat >>conftest.$ac_ext <<_ACEOF
13752 /* end confdefs.h. */
13753 $ac_includes_default
13757 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
13764 rm -f conftest.$ac_objext
13765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13766 (eval $ac_compile) 2>conftest.er1
13768 grep -v '^ *+' conftest.er1 >conftest.err
13770 cat conftest.err >&5
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); } &&
13773 { ac_try='test -z "$ac_c_werror_flag"
13774 || test ! -s conftest.err'
13775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13776 (eval $ac_try) 2>&5
13778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13779 (exit $ac_status); }; } &&
13780 { ac_try='test -s conftest.$ac_objext'
13781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13782 (eval $ac_try) 2>&5
13784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13785 (exit $ac_status); }; }; then
13788 echo "$as_me: failed program was:" >&5
13789 sed 's/^/| /' conftest.$ac_ext >&5
13791 ac_lo=`expr '(' $ac_mid ')' + 1`
13793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13796 ?*) ac_cv_sizeof_long=$ac_lo;;
13797 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13798 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13799 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
13800 See \`config.log' for more details." >&5
13801 echo "$as_me: error: cannot compute sizeof (long), 77
13802 See \`config.log' for more details." >&2;}
13803 { (exit 1); exit 1; }; }; } ;;
13806 if test "$cross_compiling" = yes; then
13807 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13808 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13809 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13810 See \`config.log' for more details." >&5
13811 echo "$as_me: error: cannot run test program while cross compiling
13812 See \`config.log' for more details." >&2;}
13813 { (exit 1); exit 1; }; }; }
13815 cat >conftest.$ac_ext <<_ACEOF
13818 cat confdefs.h >>conftest.$ac_ext
13819 cat >>conftest.$ac_ext <<_ACEOF
13820 /* end confdefs.h. */
13821 $ac_includes_default
13822 long longval () { return (long) (sizeof (long)); }
13823 unsigned long ulongval () { return (long) (sizeof (long)); }
13825 #include <stdlib.h>
13830 FILE *f = fopen ("conftest.val", "w");
13833 if (((long) (sizeof (long))) < 0)
13835 long i = longval ();
13836 if (i != ((long) (sizeof (long))))
13838 fprintf (f, "%ld\n", i);
13842 unsigned long i = ulongval ();
13843 if (i != ((long) (sizeof (long))))
13845 fprintf (f, "%lu\n", i);
13847 exit (ferror (f) || fclose (f) != 0);
13853 rm -f conftest$ac_exeext
13854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13855 (eval $ac_link) 2>&5
13857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13858 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13860 (eval $ac_try) 2>&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); }; }; then
13864 ac_cv_sizeof_long=`cat conftest.val`
13866 echo "$as_me: program exited with status $ac_status" >&5
13867 echo "$as_me: failed program was:" >&5
13868 sed 's/^/| /' conftest.$ac_ext >&5
13870 ( exit $ac_status )
13871 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13872 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13873 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
13874 See \`config.log' for more details." >&5
13875 echo "$as_me: error: cannot compute sizeof (long), 77
13876 See \`config.log' for more details." >&2;}
13877 { (exit 1); exit 1; }; }; }
13879 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13884 ac_cv_sizeof_long=0
13887 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
13888 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
13889 cat >>confdefs.h <<_ACEOF
13890 #define SIZEOF_LONG $ac_cv_sizeof_long
13895 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
13899 if test "x${ac_cv_sizeof_long}" = "x8"; then
13900 BFD_HOST_64BIT_LONG=1
13901 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long"
13902 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long"
13903 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
13904 BFD_HOST_64BIT_LONG_LONG=1
13905 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long long"
13906 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long long"
13907 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
13908 BFD_HOSTPTR_T="unsigned long long"
13912 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
13913 BFD_HOST_64_BIT_DEFINED=1
13914 BFD_HOST_64_BIT="${HOST_64BIT_TYPE}"
13915 BFD_HOST_U_64_BIT="${HOST_U_64BIT_TYPE}"
13925 # Put a plausible default for CC_FOR_BUILD in Makefile.
13926 if test -z "$CC_FOR_BUILD"; then
13927 if test "x$cross_compiling" = "xno"; then
13928 CC_FOR_BUILD='$(CC)'
13934 # Also set EXEEXT_FOR_BUILD.
13935 if test "x$cross_compiling" = "xno"; then
13936 EXEEXT_FOR_BUILD='$(EXEEXT)'
13938 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
13939 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
13940 if test "${bfd_cv_build_exeext+set}" = set; then
13941 echo $ECHO_N "(cached) $ECHO_C" >&6
13944 echo 'int main () { return 0; }' > conftest.c
13945 bfd_cv_build_exeext=
13946 ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
13947 for file in conftest.*; do
13949 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
13950 *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
13954 test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
13956 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
13957 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
13958 EXEEXT_FOR_BUILD=""
13959 test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
13970 for ac_header in alloca.h stddef.h string.h strings.h stdlib.h time.h unistd.h
13972 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13974 echo "$as_me:$LINENO: checking for $ac_header" >&5
13975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13977 echo $ECHO_N "(cached) $ECHO_C" >&6
13979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13980 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13982 # Is the header compilable?
13983 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13984 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13985 cat >conftest.$ac_ext <<_ACEOF
13988 cat confdefs.h >>conftest.$ac_ext
13989 cat >>conftest.$ac_ext <<_ACEOF
13990 /* end confdefs.h. */
13991 $ac_includes_default
13992 #include <$ac_header>
13994 rm -f conftest.$ac_objext
13995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13996 (eval $ac_compile) 2>conftest.er1
13998 grep -v '^ *+' conftest.er1 >conftest.err
14000 cat conftest.err >&5
14001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14002 (exit $ac_status); } &&
14003 { ac_try='test -z "$ac_c_werror_flag"
14004 || test ! -s conftest.err'
14005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14006 (eval $ac_try) 2>&5
14008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14009 (exit $ac_status); }; } &&
14010 { ac_try='test -s conftest.$ac_objext'
14011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14012 (eval $ac_try) 2>&5
14014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); }; }; then
14016 ac_header_compiler=yes
14018 echo "$as_me: failed program was:" >&5
14019 sed 's/^/| /' conftest.$ac_ext >&5
14021 ac_header_compiler=no
14023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14024 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14025 echo "${ECHO_T}$ac_header_compiler" >&6
14027 # Is the header present?
14028 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14029 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14030 cat >conftest.$ac_ext <<_ACEOF
14033 cat confdefs.h >>conftest.$ac_ext
14034 cat >>conftest.$ac_ext <<_ACEOF
14035 /* end confdefs.h. */
14036 #include <$ac_header>
14038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14039 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14041 grep -v '^ *+' conftest.er1 >conftest.err
14043 cat conftest.err >&5
14044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14045 (exit $ac_status); } >/dev/null; then
14046 if test -s conftest.err; then
14047 ac_cpp_err=$ac_c_preproc_warn_flag
14048 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14055 if test -z "$ac_cpp_err"; then
14056 ac_header_preproc=yes
14058 echo "$as_me: failed program was:" >&5
14059 sed 's/^/| /' conftest.$ac_ext >&5
14061 ac_header_preproc=no
14063 rm -f conftest.err conftest.$ac_ext
14064 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14065 echo "${ECHO_T}$ac_header_preproc" >&6
14067 # So? What about this header?
14068 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14070 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14071 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14072 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14073 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14074 ac_header_preproc=yes
14077 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14078 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14079 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14080 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14081 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14082 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14083 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14084 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14085 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14086 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14087 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14088 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14091 ## ------------------------------------------ ##
14092 ## Report this to the AC_PACKAGE_NAME lists. ##
14093 ## ------------------------------------------ ##
14096 sed "s/^/$as_me: WARNING: /" >&2
14099 echo "$as_me:$LINENO: checking for $ac_header" >&5
14100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14102 echo $ECHO_N "(cached) $ECHO_C" >&6
14104 eval "$as_ac_Header=\$ac_header_preproc"
14106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14110 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14111 cat >>confdefs.h <<_ACEOF
14112 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14123 for ac_header in fcntl.h sys/file.h sys/time.h sys/stat.h
14125 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14127 echo "$as_me:$LINENO: checking for $ac_header" >&5
14128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14130 echo $ECHO_N "(cached) $ECHO_C" >&6
14132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14133 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14135 # Is the header compilable?
14136 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14137 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14138 cat >conftest.$ac_ext <<_ACEOF
14141 cat confdefs.h >>conftest.$ac_ext
14142 cat >>conftest.$ac_ext <<_ACEOF
14143 /* end confdefs.h. */
14144 $ac_includes_default
14145 #include <$ac_header>
14147 rm -f conftest.$ac_objext
14148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14149 (eval $ac_compile) 2>conftest.er1
14151 grep -v '^ *+' conftest.er1 >conftest.err
14153 cat conftest.err >&5
14154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14155 (exit $ac_status); } &&
14156 { ac_try='test -z "$ac_c_werror_flag"
14157 || test ! -s conftest.err'
14158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14159 (eval $ac_try) 2>&5
14161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162 (exit $ac_status); }; } &&
14163 { ac_try='test -s conftest.$ac_objext'
14164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14165 (eval $ac_try) 2>&5
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); }; }; then
14169 ac_header_compiler=yes
14171 echo "$as_me: failed program was:" >&5
14172 sed 's/^/| /' conftest.$ac_ext >&5
14174 ac_header_compiler=no
14176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14177 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14178 echo "${ECHO_T}$ac_header_compiler" >&6
14180 # Is the header present?
14181 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14182 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14183 cat >conftest.$ac_ext <<_ACEOF
14186 cat confdefs.h >>conftest.$ac_ext
14187 cat >>conftest.$ac_ext <<_ACEOF
14188 /* end confdefs.h. */
14189 #include <$ac_header>
14191 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14192 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14194 grep -v '^ *+' conftest.er1 >conftest.err
14196 cat conftest.err >&5
14197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14198 (exit $ac_status); } >/dev/null; then
14199 if test -s conftest.err; then
14200 ac_cpp_err=$ac_c_preproc_warn_flag
14201 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14208 if test -z "$ac_cpp_err"; then
14209 ac_header_preproc=yes
14211 echo "$as_me: failed program was:" >&5
14212 sed 's/^/| /' conftest.$ac_ext >&5
14214 ac_header_preproc=no
14216 rm -f conftest.err conftest.$ac_ext
14217 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14218 echo "${ECHO_T}$ac_header_preproc" >&6
14220 # So? What about this header?
14221 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14223 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14224 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14226 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14227 ac_header_preproc=yes
14230 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14231 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14232 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14233 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14234 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14235 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14236 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14237 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14239 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14240 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14241 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14244 ## ------------------------------------------ ##
14245 ## Report this to the AC_PACKAGE_NAME lists. ##
14246 ## ------------------------------------------ ##
14249 sed "s/^/$as_me: WARNING: /" >&2
14252 echo "$as_me:$LINENO: checking for $ac_header" >&5
14253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14255 echo $ECHO_N "(cached) $ECHO_C" >&6
14257 eval "$as_ac_Header=\$ac_header_preproc"
14259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14264 cat >>confdefs.h <<_ACEOF
14265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14274 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
14276 acx_cv_header_stdint=stddef.h
14277 acx_cv_header_stdint_kind="(already complete)"
14278 for i in stdint.h $inttype_headers; do
14279 unset ac_cv_type_uintptr_t
14280 unset ac_cv_type_uintmax_t
14281 unset ac_cv_type_int_least32_t
14282 unset ac_cv_type_int_fast32_t
14283 unset ac_cv_type_uint64_t
14284 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
14285 echo "$as_me:$LINENO: checking for uintmax_t" >&5
14286 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
14287 if test "${ac_cv_type_uintmax_t+set}" = set; then
14288 echo $ECHO_N "(cached) $ECHO_C" >&6
14290 cat >conftest.$ac_ext <<_ACEOF
14293 cat confdefs.h >>conftest.$ac_ext
14294 cat >>conftest.$ac_ext <<_ACEOF
14295 /* end confdefs.h. */
14296 #include <sys/types.h>
14302 if ((uintmax_t *) 0)
14304 if (sizeof (uintmax_t))
14310 rm -f conftest.$ac_objext
14311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14312 (eval $ac_compile) 2>conftest.er1
14314 grep -v '^ *+' conftest.er1 >conftest.err
14316 cat conftest.err >&5
14317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14318 (exit $ac_status); } &&
14319 { ac_try='test -z "$ac_c_werror_flag"
14320 || test ! -s conftest.err'
14321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14322 (eval $ac_try) 2>&5
14324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14325 (exit $ac_status); }; } &&
14326 { ac_try='test -s conftest.$ac_objext'
14327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14328 (eval $ac_try) 2>&5
14330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14331 (exit $ac_status); }; }; then
14332 ac_cv_type_uintmax_t=yes
14334 echo "$as_me: failed program was:" >&5
14335 sed 's/^/| /' conftest.$ac_ext >&5
14337 ac_cv_type_uintmax_t=no
14339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14341 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
14342 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
14343 if test $ac_cv_type_uintmax_t = yes; then
14344 acx_cv_header_stdint=$i
14349 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14350 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14351 if test "${ac_cv_type_uintptr_t+set}" = set; then
14352 echo $ECHO_N "(cached) $ECHO_C" >&6
14354 cat >conftest.$ac_ext <<_ACEOF
14357 cat confdefs.h >>conftest.$ac_ext
14358 cat >>conftest.$ac_ext <<_ACEOF
14359 /* end confdefs.h. */
14360 #include <sys/types.h>
14366 if ((uintptr_t *) 0)
14368 if (sizeof (uintptr_t))
14374 rm -f conftest.$ac_objext
14375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14376 (eval $ac_compile) 2>conftest.er1
14378 grep -v '^ *+' conftest.er1 >conftest.err
14380 cat conftest.err >&5
14381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14382 (exit $ac_status); } &&
14383 { ac_try='test -z "$ac_c_werror_flag"
14384 || test ! -s conftest.err'
14385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14386 (eval $ac_try) 2>&5
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); }; } &&
14390 { ac_try='test -s conftest.$ac_objext'
14391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14392 (eval $ac_try) 2>&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); }; }; then
14396 ac_cv_type_uintptr_t=yes
14398 echo "$as_me: failed program was:" >&5
14399 sed 's/^/| /' conftest.$ac_ext >&5
14401 ac_cv_type_uintptr_t=no
14403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14405 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14406 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14407 if test $ac_cv_type_uintptr_t = yes; then
14410 acx_cv_header_stdint_kind="(mostly complete)"
14413 echo "$as_me:$LINENO: checking for int_least32_t" >&5
14414 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
14415 if test "${ac_cv_type_int_least32_t+set}" = set; then
14416 echo $ECHO_N "(cached) $ECHO_C" >&6
14418 cat >conftest.$ac_ext <<_ACEOF
14421 cat confdefs.h >>conftest.$ac_ext
14422 cat >>conftest.$ac_ext <<_ACEOF
14423 /* end confdefs.h. */
14424 #include <sys/types.h>
14430 if ((int_least32_t *) 0)
14432 if (sizeof (int_least32_t))
14438 rm -f conftest.$ac_objext
14439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14440 (eval $ac_compile) 2>conftest.er1
14442 grep -v '^ *+' conftest.er1 >conftest.err
14444 cat conftest.err >&5
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); } &&
14447 { ac_try='test -z "$ac_c_werror_flag"
14448 || test ! -s conftest.err'
14449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14450 (eval $ac_try) 2>&5
14452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14453 (exit $ac_status); }; } &&
14454 { ac_try='test -s conftest.$ac_objext'
14455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14456 (eval $ac_try) 2>&5
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); }; }; then
14460 ac_cv_type_int_least32_t=yes
14462 echo "$as_me: failed program was:" >&5
14463 sed 's/^/| /' conftest.$ac_ext >&5
14465 ac_cv_type_int_least32_t=no
14467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14469 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
14470 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
14471 if test $ac_cv_type_int_least32_t = yes; then
14474 acx_cv_header_stdint_kind="(mostly complete)"
14477 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
14478 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
14479 if test "${ac_cv_type_int_fast32_t+set}" = set; then
14480 echo $ECHO_N "(cached) $ECHO_C" >&6
14482 cat >conftest.$ac_ext <<_ACEOF
14485 cat confdefs.h >>conftest.$ac_ext
14486 cat >>conftest.$ac_ext <<_ACEOF
14487 /* end confdefs.h. */
14488 #include <sys/types.h>
14494 if ((int_fast32_t *) 0)
14496 if (sizeof (int_fast32_t))
14502 rm -f conftest.$ac_objext
14503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14504 (eval $ac_compile) 2>conftest.er1
14506 grep -v '^ *+' conftest.er1 >conftest.err
14508 cat conftest.err >&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); } &&
14511 { ac_try='test -z "$ac_c_werror_flag"
14512 || test ! -s conftest.err'
14513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14514 (eval $ac_try) 2>&5
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); }; } &&
14518 { ac_try='test -s conftest.$ac_objext'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; }; then
14524 ac_cv_type_int_fast32_t=yes
14526 echo "$as_me: failed program was:" >&5
14527 sed 's/^/| /' conftest.$ac_ext >&5
14529 ac_cv_type_int_fast32_t=no
14531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14533 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
14534 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
14535 if test $ac_cv_type_int_fast32_t = yes; then
14538 acx_cv_header_stdint_kind="(mostly complete)"
14541 echo "$as_me:$LINENO: checking for uint64_t" >&5
14542 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
14543 if test "${ac_cv_type_uint64_t+set}" = set; then
14544 echo $ECHO_N "(cached) $ECHO_C" >&6
14546 cat >conftest.$ac_ext <<_ACEOF
14549 cat confdefs.h >>conftest.$ac_ext
14550 cat >>conftest.$ac_ext <<_ACEOF
14551 /* end confdefs.h. */
14552 #include <sys/types.h>
14558 if ((uint64_t *) 0)
14560 if (sizeof (uint64_t))
14566 rm -f conftest.$ac_objext
14567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14568 (eval $ac_compile) 2>conftest.er1
14570 grep -v '^ *+' conftest.er1 >conftest.err
14572 cat conftest.err >&5
14573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14574 (exit $ac_status); } &&
14575 { ac_try='test -z "$ac_c_werror_flag"
14576 || test ! -s conftest.err'
14577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14578 (eval $ac_try) 2>&5
14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581 (exit $ac_status); }; } &&
14582 { ac_try='test -s conftest.$ac_objext'
14583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14584 (eval $ac_try) 2>&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); }; }; then
14588 ac_cv_type_uint64_t=yes
14590 echo "$as_me: failed program was:" >&5
14591 sed 's/^/| /' conftest.$ac_ext >&5
14593 ac_cv_type_uint64_t=no
14595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14597 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
14598 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
14599 if test $ac_cv_type_uint64_t = yes; then
14602 acx_cv_header_stdint_kind="(lacks uint64_t)"
14607 if test "$acx_cv_header_stdint" = stddef.h; then
14608 acx_cv_header_stdint_kind="(lacks uintmax_t)"
14609 for i in stdint.h $inttype_headers; do
14610 unset ac_cv_type_uintptr_t
14611 unset ac_cv_type_uint32_t
14612 unset ac_cv_type_uint64_t
14613 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
14614 echo "$as_me:$LINENO: checking for uint32_t" >&5
14615 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
14616 if test "${ac_cv_type_uint32_t+set}" = set; then
14617 echo $ECHO_N "(cached) $ECHO_C" >&6
14619 cat >conftest.$ac_ext <<_ACEOF
14622 cat confdefs.h >>conftest.$ac_ext
14623 cat >>conftest.$ac_ext <<_ACEOF
14624 /* end confdefs.h. */
14625 #include <sys/types.h>
14631 if ((uint32_t *) 0)
14633 if (sizeof (uint32_t))
14639 rm -f conftest.$ac_objext
14640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14641 (eval $ac_compile) 2>conftest.er1
14643 grep -v '^ *+' conftest.er1 >conftest.err
14645 cat conftest.err >&5
14646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647 (exit $ac_status); } &&
14648 { ac_try='test -z "$ac_c_werror_flag"
14649 || test ! -s conftest.err'
14650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14651 (eval $ac_try) 2>&5
14653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14654 (exit $ac_status); }; } &&
14655 { ac_try='test -s conftest.$ac_objext'
14656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14657 (eval $ac_try) 2>&5
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); }; }; then
14661 ac_cv_type_uint32_t=yes
14663 echo "$as_me: failed program was:" >&5
14664 sed 's/^/| /' conftest.$ac_ext >&5
14666 ac_cv_type_uint32_t=no
14668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14670 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
14671 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
14672 if test $ac_cv_type_uint32_t = yes; then
14673 acx_cv_header_stdint=$i
14678 echo "$as_me:$LINENO: checking for uint64_t" >&5
14679 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
14680 if test "${ac_cv_type_uint64_t+set}" = set; then
14681 echo $ECHO_N "(cached) $ECHO_C" >&6
14683 cat >conftest.$ac_ext <<_ACEOF
14686 cat confdefs.h >>conftest.$ac_ext
14687 cat >>conftest.$ac_ext <<_ACEOF
14688 /* end confdefs.h. */
14689 #include <sys/types.h>
14695 if ((uint64_t *) 0)
14697 if (sizeof (uint64_t))
14703 rm -f conftest.$ac_objext
14704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14705 (eval $ac_compile) 2>conftest.er1
14707 grep -v '^ *+' conftest.er1 >conftest.err
14709 cat conftest.err >&5
14710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14711 (exit $ac_status); } &&
14712 { ac_try='test -z "$ac_c_werror_flag"
14713 || test ! -s conftest.err'
14714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14715 (eval $ac_try) 2>&5
14717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14718 (exit $ac_status); }; } &&
14719 { ac_try='test -s conftest.$ac_objext'
14720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14721 (eval $ac_try) 2>&5
14723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14724 (exit $ac_status); }; }; then
14725 ac_cv_type_uint64_t=yes
14727 echo "$as_me: failed program was:" >&5
14728 sed 's/^/| /' conftest.$ac_ext >&5
14730 ac_cv_type_uint64_t=no
14732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14734 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
14735 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
14737 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14738 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14739 if test "${ac_cv_type_uintptr_t+set}" = set; then
14740 echo $ECHO_N "(cached) $ECHO_C" >&6
14742 cat >conftest.$ac_ext <<_ACEOF
14745 cat confdefs.h >>conftest.$ac_ext
14746 cat >>conftest.$ac_ext <<_ACEOF
14747 /* end confdefs.h. */
14748 #include <sys/types.h>
14754 if ((uintptr_t *) 0)
14756 if (sizeof (uintptr_t))
14762 rm -f conftest.$ac_objext
14763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14764 (eval $ac_compile) 2>conftest.er1
14766 grep -v '^ *+' conftest.er1 >conftest.err
14768 cat conftest.err >&5
14769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14770 (exit $ac_status); } &&
14771 { ac_try='test -z "$ac_c_werror_flag"
14772 || test ! -s conftest.err'
14773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14774 (eval $ac_try) 2>&5
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777 (exit $ac_status); }; } &&
14778 { ac_try='test -s conftest.$ac_objext'
14779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14780 (eval $ac_try) 2>&5
14782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14783 (exit $ac_status); }; }; then
14784 ac_cv_type_uintptr_t=yes
14786 echo "$as_me: failed program was:" >&5
14787 sed 's/^/| /' conftest.$ac_ext >&5
14789 ac_cv_type_uintptr_t=no
14791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14793 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14794 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14799 if test "$acx_cv_header_stdint" = stddef.h; then
14800 acx_cv_header_stdint_kind="(u_intXX_t style)"
14801 for i in sys/types.h $inttype_headers; do
14802 unset ac_cv_type_u_int32_t
14803 unset ac_cv_type_u_int64_t
14804 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
14805 echo "$as_me:$LINENO: checking for u_int32_t" >&5
14806 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
14807 if test "${ac_cv_type_u_int32_t+set}" = set; then
14808 echo $ECHO_N "(cached) $ECHO_C" >&6
14810 cat >conftest.$ac_ext <<_ACEOF
14813 cat confdefs.h >>conftest.$ac_ext
14814 cat >>conftest.$ac_ext <<_ACEOF
14815 /* end confdefs.h. */
14816 #include <sys/types.h>
14822 if ((u_int32_t *) 0)
14824 if (sizeof (u_int32_t))
14830 rm -f conftest.$ac_objext
14831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14832 (eval $ac_compile) 2>conftest.er1
14834 grep -v '^ *+' conftest.er1 >conftest.err
14836 cat conftest.err >&5
14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); } &&
14839 { ac_try='test -z "$ac_c_werror_flag"
14840 || test ! -s conftest.err'
14841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14842 (eval $ac_try) 2>&5
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); }; } &&
14846 { ac_try='test -s conftest.$ac_objext'
14847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14848 (eval $ac_try) 2>&5
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); }; }; then
14852 ac_cv_type_u_int32_t=yes
14854 echo "$as_me: failed program was:" >&5
14855 sed 's/^/| /' conftest.$ac_ext >&5
14857 ac_cv_type_u_int32_t=no
14859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14861 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
14862 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
14863 if test $ac_cv_type_u_int32_t = yes; then
14864 acx_cv_header_stdint=$i
14869 echo "$as_me:$LINENO: checking for u_int64_t" >&5
14870 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
14871 if test "${ac_cv_type_u_int64_t+set}" = set; then
14872 echo $ECHO_N "(cached) $ECHO_C" >&6
14874 cat >conftest.$ac_ext <<_ACEOF
14877 cat confdefs.h >>conftest.$ac_ext
14878 cat >>conftest.$ac_ext <<_ACEOF
14879 /* end confdefs.h. */
14880 #include <sys/types.h>
14886 if ((u_int64_t *) 0)
14888 if (sizeof (u_int64_t))
14894 rm -f conftest.$ac_objext
14895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14896 (eval $ac_compile) 2>conftest.er1
14898 grep -v '^ *+' conftest.er1 >conftest.err
14900 cat conftest.err >&5
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); } &&
14903 { ac_try='test -z "$ac_c_werror_flag"
14904 || test ! -s conftest.err'
14905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14906 (eval $ac_try) 2>&5
14908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14909 (exit $ac_status); }; } &&
14910 { ac_try='test -s conftest.$ac_objext'
14911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14912 (eval $ac_try) 2>&5
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); }; }; then
14916 ac_cv_type_u_int64_t=yes
14918 echo "$as_me: failed program was:" >&5
14919 sed 's/^/| /' conftest.$ac_ext >&5
14921 ac_cv_type_u_int64_t=no
14923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14925 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
14926 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
14931 if test "$acx_cv_header_stdint" = stddef.h; then
14932 acx_cv_header_stdint_kind="(using manual detection)"
14935 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
14936 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
14937 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
14938 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
14939 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
14941 # ----------------- Summarize what we found so far
14943 echo "$as_me:$LINENO: checking what to include in bfd_stdint.h" >&5
14944 echo $ECHO_N "checking what to include in bfd_stdint.h... $ECHO_C" >&6
14946 case `$as_basename bfd_stdint.h ||
14947 $as_expr X/bfd_stdint.h : '.*/\([^/][^/]*\)/*$' \| \
14948 Xbfd_stdint.h : 'X\(//\)$' \| \
14949 Xbfd_stdint.h : 'X\(/\)$' \| \
14950 . : '\(.\)' 2>/dev/null ||
14951 echo X/bfd_stdint.h |
14952 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14953 /^X\/\(\/\/\)$/{ s//\1/; q; }
14954 /^X\/\(\/\).*/{ s//\1/; q; }
14956 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
14957 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
14958 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
14959 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
14963 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
14964 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
14966 # ----------------- done included file, check C basic types --------
14968 # Lacking an uintptr_t? Test size of void *
14969 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
14970 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
14971 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14972 if test "${ac_cv_type_void_p+set}" = set; then
14973 echo $ECHO_N "(cached) $ECHO_C" >&6
14975 cat >conftest.$ac_ext <<_ACEOF
14978 cat confdefs.h >>conftest.$ac_ext
14979 cat >>conftest.$ac_ext <<_ACEOF
14980 /* end confdefs.h. */
14981 $ac_includes_default
14987 if (sizeof (void *))
14993 rm -f conftest.$ac_objext
14994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14995 (eval $ac_compile) 2>conftest.er1
14997 grep -v '^ *+' conftest.er1 >conftest.err
14999 cat conftest.err >&5
15000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); } &&
15002 { ac_try='test -z "$ac_c_werror_flag"
15003 || test ! -s conftest.err'
15004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15005 (eval $ac_try) 2>&5
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); }; } &&
15009 { ac_try='test -s conftest.$ac_objext'
15010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15011 (eval $ac_try) 2>&5
15013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15014 (exit $ac_status); }; }; then
15015 ac_cv_type_void_p=yes
15017 echo "$as_me: failed program was:" >&5
15018 sed 's/^/| /' conftest.$ac_ext >&5
15020 ac_cv_type_void_p=no
15022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15024 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15025 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15027 echo "$as_me:$LINENO: checking size of void *" >&5
15028 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15029 if test "${ac_cv_sizeof_void_p+set}" = set; then
15030 echo $ECHO_N "(cached) $ECHO_C" >&6
15032 if test "$ac_cv_type_void_p" = yes; then
15033 # The cast to unsigned long works around a bug in the HP C Compiler
15034 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15035 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15036 # This bug is HP SR number 8606223364.
15037 if test "$cross_compiling" = yes; then
15038 # Depending upon the size, compute the lo and hi bounds.
15039 cat >conftest.$ac_ext <<_ACEOF
15042 cat confdefs.h >>conftest.$ac_ext
15043 cat >>conftest.$ac_ext <<_ACEOF
15044 /* end confdefs.h. */
15045 $ac_includes_default
15049 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15056 rm -f conftest.$ac_objext
15057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15058 (eval $ac_compile) 2>conftest.er1
15060 grep -v '^ *+' conftest.er1 >conftest.err
15062 cat conftest.err >&5
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); } &&
15065 { ac_try='test -z "$ac_c_werror_flag"
15066 || test ! -s conftest.err'
15067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15068 (eval $ac_try) 2>&5
15070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071 (exit $ac_status); }; } &&
15072 { ac_try='test -s conftest.$ac_objext'
15073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15074 (eval $ac_try) 2>&5
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); }; }; then
15080 cat >conftest.$ac_ext <<_ACEOF
15083 cat confdefs.h >>conftest.$ac_ext
15084 cat >>conftest.$ac_ext <<_ACEOF
15085 /* end confdefs.h. */
15086 $ac_includes_default
15090 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15097 rm -f conftest.$ac_objext
15098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15099 (eval $ac_compile) 2>conftest.er1
15101 grep -v '^ *+' conftest.er1 >conftest.err
15103 cat conftest.err >&5
15104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15105 (exit $ac_status); } &&
15106 { ac_try='test -z "$ac_c_werror_flag"
15107 || test ! -s conftest.err'
15108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15109 (eval $ac_try) 2>&5
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); }; } &&
15113 { ac_try='test -s conftest.$ac_objext'
15114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15115 (eval $ac_try) 2>&5
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); }; }; then
15119 ac_hi=$ac_mid; break
15121 echo "$as_me: failed program was:" >&5
15122 sed 's/^/| /' conftest.$ac_ext >&5
15124 ac_lo=`expr $ac_mid + 1`
15125 if test $ac_lo -le $ac_mid; then
15129 ac_mid=`expr 2 '*' $ac_mid + 1`
15131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15134 echo "$as_me: failed program was:" >&5
15135 sed 's/^/| /' conftest.$ac_ext >&5
15137 cat >conftest.$ac_ext <<_ACEOF
15140 cat confdefs.h >>conftest.$ac_ext
15141 cat >>conftest.$ac_ext <<_ACEOF
15142 /* end confdefs.h. */
15143 $ac_includes_default
15147 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15154 rm -f conftest.$ac_objext
15155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15156 (eval $ac_compile) 2>conftest.er1
15158 grep -v '^ *+' conftest.er1 >conftest.err
15160 cat conftest.err >&5
15161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15162 (exit $ac_status); } &&
15163 { ac_try='test -z "$ac_c_werror_flag"
15164 || test ! -s conftest.err'
15165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15166 (eval $ac_try) 2>&5
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); }; } &&
15170 { ac_try='test -s conftest.$ac_objext'
15171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15172 (eval $ac_try) 2>&5
15174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15175 (exit $ac_status); }; }; then
15178 cat >conftest.$ac_ext <<_ACEOF
15181 cat confdefs.h >>conftest.$ac_ext
15182 cat >>conftest.$ac_ext <<_ACEOF
15183 /* end confdefs.h. */
15184 $ac_includes_default
15188 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15195 rm -f conftest.$ac_objext
15196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15197 (eval $ac_compile) 2>conftest.er1
15199 grep -v '^ *+' conftest.er1 >conftest.err
15201 cat conftest.err >&5
15202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15203 (exit $ac_status); } &&
15204 { ac_try='test -z "$ac_c_werror_flag"
15205 || test ! -s conftest.err'
15206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15207 (eval $ac_try) 2>&5
15209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15210 (exit $ac_status); }; } &&
15211 { ac_try='test -s conftest.$ac_objext'
15212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15213 (eval $ac_try) 2>&5
15215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15216 (exit $ac_status); }; }; then
15217 ac_lo=$ac_mid; break
15219 echo "$as_me: failed program was:" >&5
15220 sed 's/^/| /' conftest.$ac_ext >&5
15222 ac_hi=`expr '(' $ac_mid ')' - 1`
15223 if test $ac_mid -le $ac_hi; then
15227 ac_mid=`expr 2 '*' $ac_mid`
15229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15232 echo "$as_me: failed program was:" >&5
15233 sed 's/^/| /' conftest.$ac_ext >&5
15237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15240 # Binary search between lo and hi bounds.
15241 while test "x$ac_lo" != "x$ac_hi"; do
15242 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15243 cat >conftest.$ac_ext <<_ACEOF
15246 cat confdefs.h >>conftest.$ac_ext
15247 cat >>conftest.$ac_ext <<_ACEOF
15248 /* end confdefs.h. */
15249 $ac_includes_default
15253 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15260 rm -f conftest.$ac_objext
15261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15262 (eval $ac_compile) 2>conftest.er1
15264 grep -v '^ *+' conftest.er1 >conftest.err
15266 cat conftest.err >&5
15267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); } &&
15269 { ac_try='test -z "$ac_c_werror_flag"
15270 || test ! -s conftest.err'
15271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15272 (eval $ac_try) 2>&5
15274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15275 (exit $ac_status); }; } &&
15276 { ac_try='test -s conftest.$ac_objext'
15277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15278 (eval $ac_try) 2>&5
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); }; }; then
15284 echo "$as_me: failed program was:" >&5
15285 sed 's/^/| /' conftest.$ac_ext >&5
15287 ac_lo=`expr '(' $ac_mid ')' + 1`
15289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15292 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15293 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15294 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15295 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15296 See \`config.log' for more details." >&5
15297 echo "$as_me: error: cannot compute sizeof (void *), 77
15298 See \`config.log' for more details." >&2;}
15299 { (exit 1); exit 1; }; }; } ;;
15302 if test "$cross_compiling" = yes; then
15303 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15304 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15305 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15306 See \`config.log' for more details." >&5
15307 echo "$as_me: error: cannot run test program while cross compiling
15308 See \`config.log' for more details." >&2;}
15309 { (exit 1); exit 1; }; }; }
15311 cat >conftest.$ac_ext <<_ACEOF
15314 cat confdefs.h >>conftest.$ac_ext
15315 cat >>conftest.$ac_ext <<_ACEOF
15316 /* end confdefs.h. */
15317 $ac_includes_default
15318 long longval () { return (long) (sizeof (void *)); }
15319 unsigned long ulongval () { return (long) (sizeof (void *)); }
15321 #include <stdlib.h>
15326 FILE *f = fopen ("conftest.val", "w");
15329 if (((long) (sizeof (void *))) < 0)
15331 long i = longval ();
15332 if (i != ((long) (sizeof (void *))))
15334 fprintf (f, "%ld\n", i);
15338 unsigned long i = ulongval ();
15339 if (i != ((long) (sizeof (void *))))
15341 fprintf (f, "%lu\n", i);
15343 exit (ferror (f) || fclose (f) != 0);
15349 rm -f conftest$ac_exeext
15350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15351 (eval $ac_link) 2>&5
15353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15354 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15356 (eval $ac_try) 2>&5
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); }; }; then
15360 ac_cv_sizeof_void_p=`cat conftest.val`
15362 echo "$as_me: program exited with status $ac_status" >&5
15363 echo "$as_me: failed program was:" >&5
15364 sed 's/^/| /' conftest.$ac_ext >&5
15366 ( exit $ac_status )
15367 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15368 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15369 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15370 See \`config.log' for more details." >&5
15371 echo "$as_me: error: cannot compute sizeof (void *), 77
15372 See \`config.log' for more details." >&2;}
15373 { (exit 1); exit 1; }; }; }
15375 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15380 ac_cv_sizeof_void_p=0
15383 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15384 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15385 cat >>confdefs.h <<_ACEOF
15386 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15392 # Lacking an uint64_t? Test size of long
15393 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15394 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
15395 echo $ECHO_N "checking for long... $ECHO_C" >&6
15396 if test "${ac_cv_type_long+set}" = set; then
15397 echo $ECHO_N "(cached) $ECHO_C" >&6
15399 cat >conftest.$ac_ext <<_ACEOF
15402 cat confdefs.h >>conftest.$ac_ext
15403 cat >>conftest.$ac_ext <<_ACEOF
15404 /* end confdefs.h. */
15405 $ac_includes_default
15417 rm -f conftest.$ac_objext
15418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15419 (eval $ac_compile) 2>conftest.er1
15421 grep -v '^ *+' conftest.er1 >conftest.err
15423 cat conftest.err >&5
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); } &&
15426 { ac_try='test -z "$ac_c_werror_flag"
15427 || test ! -s conftest.err'
15428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15429 (eval $ac_try) 2>&5
15431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15432 (exit $ac_status); }; } &&
15433 { ac_try='test -s conftest.$ac_objext'
15434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15435 (eval $ac_try) 2>&5
15437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15438 (exit $ac_status); }; }; then
15439 ac_cv_type_long=yes
15441 echo "$as_me: failed program was:" >&5
15442 sed 's/^/| /' conftest.$ac_ext >&5
15446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15448 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15449 echo "${ECHO_T}$ac_cv_type_long" >&6
15451 echo "$as_me:$LINENO: checking size of long" >&5
15452 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15453 if test "${ac_cv_sizeof_long+set}" = set; then
15454 echo $ECHO_N "(cached) $ECHO_C" >&6
15456 if test "$ac_cv_type_long" = yes; then
15457 # The cast to unsigned long works around a bug in the HP C Compiler
15458 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15459 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15460 # This bug is HP SR number 8606223364.
15461 if test "$cross_compiling" = yes; then
15462 # Depending upon the size, compute the lo and hi bounds.
15463 cat >conftest.$ac_ext <<_ACEOF
15466 cat confdefs.h >>conftest.$ac_ext
15467 cat >>conftest.$ac_ext <<_ACEOF
15468 /* end confdefs.h. */
15469 $ac_includes_default
15473 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15480 rm -f conftest.$ac_objext
15481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15482 (eval $ac_compile) 2>conftest.er1
15484 grep -v '^ *+' conftest.er1 >conftest.err
15486 cat conftest.err >&5
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); } &&
15489 { ac_try='test -z "$ac_c_werror_flag"
15490 || test ! -s conftest.err'
15491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15492 (eval $ac_try) 2>&5
15494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15495 (exit $ac_status); }; } &&
15496 { ac_try='test -s conftest.$ac_objext'
15497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15498 (eval $ac_try) 2>&5
15500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15501 (exit $ac_status); }; }; then
15504 cat >conftest.$ac_ext <<_ACEOF
15507 cat confdefs.h >>conftest.$ac_ext
15508 cat >>conftest.$ac_ext <<_ACEOF
15509 /* end confdefs.h. */
15510 $ac_includes_default
15514 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15521 rm -f conftest.$ac_objext
15522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15523 (eval $ac_compile) 2>conftest.er1
15525 grep -v '^ *+' conftest.er1 >conftest.err
15527 cat conftest.err >&5
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); } &&
15530 { ac_try='test -z "$ac_c_werror_flag"
15531 || test ! -s conftest.err'
15532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15533 (eval $ac_try) 2>&5
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); }; } &&
15537 { ac_try='test -s conftest.$ac_objext'
15538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15539 (eval $ac_try) 2>&5
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); }; }; then
15543 ac_hi=$ac_mid; break
15545 echo "$as_me: failed program was:" >&5
15546 sed 's/^/| /' conftest.$ac_ext >&5
15548 ac_lo=`expr $ac_mid + 1`
15549 if test $ac_lo -le $ac_mid; then
15553 ac_mid=`expr 2 '*' $ac_mid + 1`
15555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15558 echo "$as_me: failed program was:" >&5
15559 sed 's/^/| /' conftest.$ac_ext >&5
15561 cat >conftest.$ac_ext <<_ACEOF
15564 cat confdefs.h >>conftest.$ac_ext
15565 cat >>conftest.$ac_ext <<_ACEOF
15566 /* end confdefs.h. */
15567 $ac_includes_default
15571 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15578 rm -f conftest.$ac_objext
15579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15580 (eval $ac_compile) 2>conftest.er1
15582 grep -v '^ *+' conftest.er1 >conftest.err
15584 cat conftest.err >&5
15585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15586 (exit $ac_status); } &&
15587 { ac_try='test -z "$ac_c_werror_flag"
15588 || test ! -s conftest.err'
15589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15590 (eval $ac_try) 2>&5
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); }; } &&
15594 { ac_try='test -s conftest.$ac_objext'
15595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15596 (eval $ac_try) 2>&5
15598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599 (exit $ac_status); }; }; then
15602 cat >conftest.$ac_ext <<_ACEOF
15605 cat confdefs.h >>conftest.$ac_ext
15606 cat >>conftest.$ac_ext <<_ACEOF
15607 /* end confdefs.h. */
15608 $ac_includes_default
15612 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15619 rm -f conftest.$ac_objext
15620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15621 (eval $ac_compile) 2>conftest.er1
15623 grep -v '^ *+' conftest.er1 >conftest.err
15625 cat conftest.err >&5
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); } &&
15628 { ac_try='test -z "$ac_c_werror_flag"
15629 || test ! -s conftest.err'
15630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15631 (eval $ac_try) 2>&5
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); }; } &&
15635 { ac_try='test -s conftest.$ac_objext'
15636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15637 (eval $ac_try) 2>&5
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); }; }; then
15641 ac_lo=$ac_mid; break
15643 echo "$as_me: failed program was:" >&5
15644 sed 's/^/| /' conftest.$ac_ext >&5
15646 ac_hi=`expr '(' $ac_mid ')' - 1`
15647 if test $ac_mid -le $ac_hi; then
15651 ac_mid=`expr 2 '*' $ac_mid`
15653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15656 echo "$as_me: failed program was:" >&5
15657 sed 's/^/| /' conftest.$ac_ext >&5
15661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15664 # Binary search between lo and hi bounds.
15665 while test "x$ac_lo" != "x$ac_hi"; do
15666 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15667 cat >conftest.$ac_ext <<_ACEOF
15670 cat confdefs.h >>conftest.$ac_ext
15671 cat >>conftest.$ac_ext <<_ACEOF
15672 /* end confdefs.h. */
15673 $ac_includes_default
15677 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15684 rm -f conftest.$ac_objext
15685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15686 (eval $ac_compile) 2>conftest.er1
15688 grep -v '^ *+' conftest.er1 >conftest.err
15690 cat conftest.err >&5
15691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15692 (exit $ac_status); } &&
15693 { ac_try='test -z "$ac_c_werror_flag"
15694 || test ! -s conftest.err'
15695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15696 (eval $ac_try) 2>&5
15698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 (exit $ac_status); }; } &&
15700 { ac_try='test -s conftest.$ac_objext'
15701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15702 (eval $ac_try) 2>&5
15704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); }; }; then
15708 echo "$as_me: failed program was:" >&5
15709 sed 's/^/| /' conftest.$ac_ext >&5
15711 ac_lo=`expr '(' $ac_mid ')' + 1`
15713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15716 ?*) ac_cv_sizeof_long=$ac_lo;;
15717 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15718 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15719 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15720 See \`config.log' for more details." >&5
15721 echo "$as_me: error: cannot compute sizeof (long), 77
15722 See \`config.log' for more details." >&2;}
15723 { (exit 1); exit 1; }; }; } ;;
15726 if test "$cross_compiling" = yes; then
15727 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15728 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15729 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15730 See \`config.log' for more details." >&5
15731 echo "$as_me: error: cannot run test program while cross compiling
15732 See \`config.log' for more details." >&2;}
15733 { (exit 1); exit 1; }; }; }
15735 cat >conftest.$ac_ext <<_ACEOF
15738 cat confdefs.h >>conftest.$ac_ext
15739 cat >>conftest.$ac_ext <<_ACEOF
15740 /* end confdefs.h. */
15741 $ac_includes_default
15742 long longval () { return (long) (sizeof (long)); }
15743 unsigned long ulongval () { return (long) (sizeof (long)); }
15745 #include <stdlib.h>
15750 FILE *f = fopen ("conftest.val", "w");
15753 if (((long) (sizeof (long))) < 0)
15755 long i = longval ();
15756 if (i != ((long) (sizeof (long))))
15758 fprintf (f, "%ld\n", i);
15762 unsigned long i = ulongval ();
15763 if (i != ((long) (sizeof (long))))
15765 fprintf (f, "%lu\n", i);
15767 exit (ferror (f) || fclose (f) != 0);
15773 rm -f conftest$ac_exeext
15774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15775 (eval $ac_link) 2>&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15780 (eval $ac_try) 2>&5
15782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783 (exit $ac_status); }; }; then
15784 ac_cv_sizeof_long=`cat conftest.val`
15786 echo "$as_me: program exited with status $ac_status" >&5
15787 echo "$as_me: failed program was:" >&5
15788 sed 's/^/| /' conftest.$ac_ext >&5
15790 ( exit $ac_status )
15791 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15792 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15793 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15794 See \`config.log' for more details." >&5
15795 echo "$as_me: error: cannot compute sizeof (long), 77
15796 See \`config.log' for more details." >&2;}
15797 { (exit 1); exit 1; }; }; }
15799 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15804 ac_cv_sizeof_long=0
15807 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15808 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15809 cat >>confdefs.h <<_ACEOF
15810 #define SIZEOF_LONG $ac_cv_sizeof_long
15816 if test $acx_cv_header_stdint = stddef.h; then
15817 # Lacking a good header? Test size of everything and deduce all types.
15818 echo "$as_me:$LINENO: checking for int" >&5
15819 echo $ECHO_N "checking for int... $ECHO_C" >&6
15820 if test "${ac_cv_type_int+set}" = set; then
15821 echo $ECHO_N "(cached) $ECHO_C" >&6
15823 cat >conftest.$ac_ext <<_ACEOF
15826 cat confdefs.h >>conftest.$ac_ext
15827 cat >>conftest.$ac_ext <<_ACEOF
15828 /* end confdefs.h. */
15829 $ac_includes_default
15841 rm -f conftest.$ac_objext
15842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15843 (eval $ac_compile) 2>conftest.er1
15845 grep -v '^ *+' conftest.er1 >conftest.err
15847 cat conftest.err >&5
15848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15849 (exit $ac_status); } &&
15850 { ac_try='test -z "$ac_c_werror_flag"
15851 || test ! -s conftest.err'
15852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15853 (eval $ac_try) 2>&5
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); }; } &&
15857 { ac_try='test -s conftest.$ac_objext'
15858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15859 (eval $ac_try) 2>&5
15861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862 (exit $ac_status); }; }; then
15865 echo "$as_me: failed program was:" >&5
15866 sed 's/^/| /' conftest.$ac_ext >&5
15870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15872 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15873 echo "${ECHO_T}$ac_cv_type_int" >&6
15875 echo "$as_me:$LINENO: checking size of int" >&5
15876 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15877 if test "${ac_cv_sizeof_int+set}" = set; then
15878 echo $ECHO_N "(cached) $ECHO_C" >&6
15880 if test "$ac_cv_type_int" = yes; then
15881 # The cast to unsigned long works around a bug in the HP C Compiler
15882 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15883 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15884 # This bug is HP SR number 8606223364.
15885 if test "$cross_compiling" = yes; then
15886 # Depending upon the size, compute the lo and hi bounds.
15887 cat >conftest.$ac_ext <<_ACEOF
15890 cat confdefs.h >>conftest.$ac_ext
15891 cat >>conftest.$ac_ext <<_ACEOF
15892 /* end confdefs.h. */
15893 $ac_includes_default
15897 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15904 rm -f conftest.$ac_objext
15905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15906 (eval $ac_compile) 2>conftest.er1
15908 grep -v '^ *+' conftest.er1 >conftest.err
15910 cat conftest.err >&5
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); } &&
15913 { ac_try='test -z "$ac_c_werror_flag"
15914 || test ! -s conftest.err'
15915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15916 (eval $ac_try) 2>&5
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); }; } &&
15920 { ac_try='test -s conftest.$ac_objext'
15921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15922 (eval $ac_try) 2>&5
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); }; }; then
15928 cat >conftest.$ac_ext <<_ACEOF
15931 cat confdefs.h >>conftest.$ac_ext
15932 cat >>conftest.$ac_ext <<_ACEOF
15933 /* end confdefs.h. */
15934 $ac_includes_default
15938 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15945 rm -f conftest.$ac_objext
15946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15947 (eval $ac_compile) 2>conftest.er1
15949 grep -v '^ *+' conftest.er1 >conftest.err
15951 cat conftest.err >&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); } &&
15954 { ac_try='test -z "$ac_c_werror_flag"
15955 || test ! -s conftest.err'
15956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15957 (eval $ac_try) 2>&5
15959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960 (exit $ac_status); }; } &&
15961 { ac_try='test -s conftest.$ac_objext'
15962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15963 (eval $ac_try) 2>&5
15965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); }; }; then
15967 ac_hi=$ac_mid; break
15969 echo "$as_me: failed program was:" >&5
15970 sed 's/^/| /' conftest.$ac_ext >&5
15972 ac_lo=`expr $ac_mid + 1`
15973 if test $ac_lo -le $ac_mid; then
15977 ac_mid=`expr 2 '*' $ac_mid + 1`
15979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15982 echo "$as_me: failed program was:" >&5
15983 sed 's/^/| /' conftest.$ac_ext >&5
15985 cat >conftest.$ac_ext <<_ACEOF
15988 cat confdefs.h >>conftest.$ac_ext
15989 cat >>conftest.$ac_ext <<_ACEOF
15990 /* end confdefs.h. */
15991 $ac_includes_default
15995 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16002 rm -f conftest.$ac_objext
16003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16004 (eval $ac_compile) 2>conftest.er1
16006 grep -v '^ *+' conftest.er1 >conftest.err
16008 cat conftest.err >&5
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); } &&
16011 { ac_try='test -z "$ac_c_werror_flag"
16012 || test ! -s conftest.err'
16013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16014 (eval $ac_try) 2>&5
16016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16017 (exit $ac_status); }; } &&
16018 { ac_try='test -s conftest.$ac_objext'
16019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16020 (eval $ac_try) 2>&5
16022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16023 (exit $ac_status); }; }; then
16026 cat >conftest.$ac_ext <<_ACEOF
16029 cat confdefs.h >>conftest.$ac_ext
16030 cat >>conftest.$ac_ext <<_ACEOF
16031 /* end confdefs.h. */
16032 $ac_includes_default
16036 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16043 rm -f conftest.$ac_objext
16044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16045 (eval $ac_compile) 2>conftest.er1
16047 grep -v '^ *+' conftest.er1 >conftest.err
16049 cat conftest.err >&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); } &&
16052 { ac_try='test -z "$ac_c_werror_flag"
16053 || test ! -s conftest.err'
16054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16055 (eval $ac_try) 2>&5
16057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16058 (exit $ac_status); }; } &&
16059 { ac_try='test -s conftest.$ac_objext'
16060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16061 (eval $ac_try) 2>&5
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); }; }; then
16065 ac_lo=$ac_mid; break
16067 echo "$as_me: failed program was:" >&5
16068 sed 's/^/| /' conftest.$ac_ext >&5
16070 ac_hi=`expr '(' $ac_mid ')' - 1`
16071 if test $ac_mid -le $ac_hi; then
16075 ac_mid=`expr 2 '*' $ac_mid`
16077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16080 echo "$as_me: failed program was:" >&5
16081 sed 's/^/| /' conftest.$ac_ext >&5
16085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16088 # Binary search between lo and hi bounds.
16089 while test "x$ac_lo" != "x$ac_hi"; do
16090 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16091 cat >conftest.$ac_ext <<_ACEOF
16094 cat confdefs.h >>conftest.$ac_ext
16095 cat >>conftest.$ac_ext <<_ACEOF
16096 /* end confdefs.h. */
16097 $ac_includes_default
16101 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16108 rm -f conftest.$ac_objext
16109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16110 (eval $ac_compile) 2>conftest.er1
16112 grep -v '^ *+' conftest.er1 >conftest.err
16114 cat conftest.err >&5
16115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116 (exit $ac_status); } &&
16117 { ac_try='test -z "$ac_c_werror_flag"
16118 || test ! -s conftest.err'
16119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16120 (eval $ac_try) 2>&5
16122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16123 (exit $ac_status); }; } &&
16124 { ac_try='test -s conftest.$ac_objext'
16125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16126 (eval $ac_try) 2>&5
16128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16129 (exit $ac_status); }; }; then
16132 echo "$as_me: failed program was:" >&5
16133 sed 's/^/| /' conftest.$ac_ext >&5
16135 ac_lo=`expr '(' $ac_mid ')' + 1`
16137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16140 ?*) ac_cv_sizeof_int=$ac_lo;;
16141 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16142 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16143 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16144 See \`config.log' for more details." >&5
16145 echo "$as_me: error: cannot compute sizeof (int), 77
16146 See \`config.log' for more details." >&2;}
16147 { (exit 1); exit 1; }; }; } ;;
16150 if test "$cross_compiling" = yes; then
16151 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16152 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16153 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16154 See \`config.log' for more details." >&5
16155 echo "$as_me: error: cannot run test program while cross compiling
16156 See \`config.log' for more details." >&2;}
16157 { (exit 1); exit 1; }; }; }
16159 cat >conftest.$ac_ext <<_ACEOF
16162 cat confdefs.h >>conftest.$ac_ext
16163 cat >>conftest.$ac_ext <<_ACEOF
16164 /* end confdefs.h. */
16165 $ac_includes_default
16166 long longval () { return (long) (sizeof (int)); }
16167 unsigned long ulongval () { return (long) (sizeof (int)); }
16169 #include <stdlib.h>
16174 FILE *f = fopen ("conftest.val", "w");
16177 if (((long) (sizeof (int))) < 0)
16179 long i = longval ();
16180 if (i != ((long) (sizeof (int))))
16182 fprintf (f, "%ld\n", i);
16186 unsigned long i = ulongval ();
16187 if (i != ((long) (sizeof (int))))
16189 fprintf (f, "%lu\n", i);
16191 exit (ferror (f) || fclose (f) != 0);
16197 rm -f conftest$ac_exeext
16198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16199 (eval $ac_link) 2>&5
16201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16202 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16204 (eval $ac_try) 2>&5
16206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16207 (exit $ac_status); }; }; then
16208 ac_cv_sizeof_int=`cat conftest.val`
16210 echo "$as_me: program exited with status $ac_status" >&5
16211 echo "$as_me: failed program was:" >&5
16212 sed 's/^/| /' conftest.$ac_ext >&5
16214 ( exit $ac_status )
16215 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16216 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16217 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16218 See \`config.log' for more details." >&5
16219 echo "$as_me: error: cannot compute sizeof (int), 77
16220 See \`config.log' for more details." >&2;}
16221 { (exit 1); exit 1; }; }; }
16223 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16231 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16232 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16233 cat >>confdefs.h <<_ACEOF
16234 #define SIZEOF_INT $ac_cv_sizeof_int
16238 echo "$as_me:$LINENO: checking for short" >&5
16239 echo $ECHO_N "checking for short... $ECHO_C" >&6
16240 if test "${ac_cv_type_short+set}" = set; then
16241 echo $ECHO_N "(cached) $ECHO_C" >&6
16243 cat >conftest.$ac_ext <<_ACEOF
16246 cat confdefs.h >>conftest.$ac_ext
16247 cat >>conftest.$ac_ext <<_ACEOF
16248 /* end confdefs.h. */
16249 $ac_includes_default
16255 if (sizeof (short))
16261 rm -f conftest.$ac_objext
16262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16263 (eval $ac_compile) 2>conftest.er1
16265 grep -v '^ *+' conftest.er1 >conftest.err
16267 cat conftest.err >&5
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); } &&
16270 { ac_try='test -z "$ac_c_werror_flag"
16271 || test ! -s conftest.err'
16272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16273 (eval $ac_try) 2>&5
16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); }; } &&
16277 { ac_try='test -s conftest.$ac_objext'
16278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16279 (eval $ac_try) 2>&5
16281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282 (exit $ac_status); }; }; then
16283 ac_cv_type_short=yes
16285 echo "$as_me: failed program was:" >&5
16286 sed 's/^/| /' conftest.$ac_ext >&5
16288 ac_cv_type_short=no
16290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16292 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16293 echo "${ECHO_T}$ac_cv_type_short" >&6
16295 echo "$as_me:$LINENO: checking size of short" >&5
16296 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16297 if test "${ac_cv_sizeof_short+set}" = set; then
16298 echo $ECHO_N "(cached) $ECHO_C" >&6
16300 if test "$ac_cv_type_short" = yes; then
16301 # The cast to unsigned long works around a bug in the HP C Compiler
16302 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16303 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16304 # This bug is HP SR number 8606223364.
16305 if test "$cross_compiling" = yes; then
16306 # Depending upon the size, compute the lo and hi bounds.
16307 cat >conftest.$ac_ext <<_ACEOF
16310 cat confdefs.h >>conftest.$ac_ext
16311 cat >>conftest.$ac_ext <<_ACEOF
16312 /* end confdefs.h. */
16313 $ac_includes_default
16317 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16324 rm -f conftest.$ac_objext
16325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16326 (eval $ac_compile) 2>conftest.er1
16328 grep -v '^ *+' conftest.er1 >conftest.err
16330 cat conftest.err >&5
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); } &&
16333 { ac_try='test -z "$ac_c_werror_flag"
16334 || test ! -s conftest.err'
16335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16336 (eval $ac_try) 2>&5
16338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16339 (exit $ac_status); }; } &&
16340 { ac_try='test -s conftest.$ac_objext'
16341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16342 (eval $ac_try) 2>&5
16344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16345 (exit $ac_status); }; }; then
16348 cat >conftest.$ac_ext <<_ACEOF
16351 cat confdefs.h >>conftest.$ac_ext
16352 cat >>conftest.$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16354 $ac_includes_default
16358 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16365 rm -f conftest.$ac_objext
16366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16367 (eval $ac_compile) 2>conftest.er1
16369 grep -v '^ *+' conftest.er1 >conftest.err
16371 cat conftest.err >&5
16372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373 (exit $ac_status); } &&
16374 { ac_try='test -z "$ac_c_werror_flag"
16375 || test ! -s conftest.err'
16376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16377 (eval $ac_try) 2>&5
16379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16380 (exit $ac_status); }; } &&
16381 { ac_try='test -s conftest.$ac_objext'
16382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16383 (eval $ac_try) 2>&5
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); }; }; then
16387 ac_hi=$ac_mid; break
16389 echo "$as_me: failed program was:" >&5
16390 sed 's/^/| /' conftest.$ac_ext >&5
16392 ac_lo=`expr $ac_mid + 1`
16393 if test $ac_lo -le $ac_mid; then
16397 ac_mid=`expr 2 '*' $ac_mid + 1`
16399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16402 echo "$as_me: failed program was:" >&5
16403 sed 's/^/| /' conftest.$ac_ext >&5
16405 cat >conftest.$ac_ext <<_ACEOF
16408 cat confdefs.h >>conftest.$ac_ext
16409 cat >>conftest.$ac_ext <<_ACEOF
16410 /* end confdefs.h. */
16411 $ac_includes_default
16415 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16422 rm -f conftest.$ac_objext
16423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16424 (eval $ac_compile) 2>conftest.er1
16426 grep -v '^ *+' conftest.er1 >conftest.err
16428 cat conftest.err >&5
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); } &&
16431 { ac_try='test -z "$ac_c_werror_flag"
16432 || test ! -s conftest.err'
16433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16434 (eval $ac_try) 2>&5
16436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16437 (exit $ac_status); }; } &&
16438 { ac_try='test -s conftest.$ac_objext'
16439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16440 (eval $ac_try) 2>&5
16442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16443 (exit $ac_status); }; }; then
16446 cat >conftest.$ac_ext <<_ACEOF
16449 cat confdefs.h >>conftest.$ac_ext
16450 cat >>conftest.$ac_ext <<_ACEOF
16451 /* end confdefs.h. */
16452 $ac_includes_default
16456 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16463 rm -f conftest.$ac_objext
16464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16465 (eval $ac_compile) 2>conftest.er1
16467 grep -v '^ *+' conftest.er1 >conftest.err
16469 cat conftest.err >&5
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); } &&
16472 { ac_try='test -z "$ac_c_werror_flag"
16473 || test ! -s conftest.err'
16474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16475 (eval $ac_try) 2>&5
16477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16478 (exit $ac_status); }; } &&
16479 { ac_try='test -s conftest.$ac_objext'
16480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16481 (eval $ac_try) 2>&5
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); }; }; then
16485 ac_lo=$ac_mid; break
16487 echo "$as_me: failed program was:" >&5
16488 sed 's/^/| /' conftest.$ac_ext >&5
16490 ac_hi=`expr '(' $ac_mid ')' - 1`
16491 if test $ac_mid -le $ac_hi; then
16495 ac_mid=`expr 2 '*' $ac_mid`
16497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16500 echo "$as_me: failed program was:" >&5
16501 sed 's/^/| /' conftest.$ac_ext >&5
16505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16508 # Binary search between lo and hi bounds.
16509 while test "x$ac_lo" != "x$ac_hi"; do
16510 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16511 cat >conftest.$ac_ext <<_ACEOF
16514 cat confdefs.h >>conftest.$ac_ext
16515 cat >>conftest.$ac_ext <<_ACEOF
16516 /* end confdefs.h. */
16517 $ac_includes_default
16521 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16528 rm -f conftest.$ac_objext
16529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16530 (eval $ac_compile) 2>conftest.er1
16532 grep -v '^ *+' conftest.er1 >conftest.err
16534 cat conftest.err >&5
16535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16536 (exit $ac_status); } &&
16537 { ac_try='test -z "$ac_c_werror_flag"
16538 || test ! -s conftest.err'
16539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16540 (eval $ac_try) 2>&5
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); }; } &&
16544 { ac_try='test -s conftest.$ac_objext'
16545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16546 (eval $ac_try) 2>&5
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); }; }; then
16552 echo "$as_me: failed program was:" >&5
16553 sed 's/^/| /' conftest.$ac_ext >&5
16555 ac_lo=`expr '(' $ac_mid ')' + 1`
16557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16560 ?*) ac_cv_sizeof_short=$ac_lo;;
16561 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16562 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16563 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16564 See \`config.log' for more details." >&5
16565 echo "$as_me: error: cannot compute sizeof (short), 77
16566 See \`config.log' for more details." >&2;}
16567 { (exit 1); exit 1; }; }; } ;;
16570 if test "$cross_compiling" = yes; then
16571 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16572 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16573 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16574 See \`config.log' for more details." >&5
16575 echo "$as_me: error: cannot run test program while cross compiling
16576 See \`config.log' for more details." >&2;}
16577 { (exit 1); exit 1; }; }; }
16579 cat >conftest.$ac_ext <<_ACEOF
16582 cat confdefs.h >>conftest.$ac_ext
16583 cat >>conftest.$ac_ext <<_ACEOF
16584 /* end confdefs.h. */
16585 $ac_includes_default
16586 long longval () { return (long) (sizeof (short)); }
16587 unsigned long ulongval () { return (long) (sizeof (short)); }
16589 #include <stdlib.h>
16594 FILE *f = fopen ("conftest.val", "w");
16597 if (((long) (sizeof (short))) < 0)
16599 long i = longval ();
16600 if (i != ((long) (sizeof (short))))
16602 fprintf (f, "%ld\n", i);
16606 unsigned long i = ulongval ();
16607 if (i != ((long) (sizeof (short))))
16609 fprintf (f, "%lu\n", i);
16611 exit (ferror (f) || fclose (f) != 0);
16617 rm -f conftest$ac_exeext
16618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16619 (eval $ac_link) 2>&5
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16624 (eval $ac_try) 2>&5
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); }; }; then
16628 ac_cv_sizeof_short=`cat conftest.val`
16630 echo "$as_me: program exited with status $ac_status" >&5
16631 echo "$as_me: failed program was:" >&5
16632 sed 's/^/| /' conftest.$ac_ext >&5
16634 ( exit $ac_status )
16635 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16636 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16637 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16638 See \`config.log' for more details." >&5
16639 echo "$as_me: error: cannot compute sizeof (short), 77
16640 See \`config.log' for more details." >&2;}
16641 { (exit 1); exit 1; }; }; }
16643 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16648 ac_cv_sizeof_short=0
16651 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16652 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16653 cat >>confdefs.h <<_ACEOF
16654 #define SIZEOF_SHORT $ac_cv_sizeof_short
16658 echo "$as_me:$LINENO: checking for char" >&5
16659 echo $ECHO_N "checking for char... $ECHO_C" >&6
16660 if test "${ac_cv_type_char+set}" = set; then
16661 echo $ECHO_N "(cached) $ECHO_C" >&6
16663 cat >conftest.$ac_ext <<_ACEOF
16666 cat confdefs.h >>conftest.$ac_ext
16667 cat >>conftest.$ac_ext <<_ACEOF
16668 /* end confdefs.h. */
16669 $ac_includes_default
16681 rm -f conftest.$ac_objext
16682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16683 (eval $ac_compile) 2>conftest.er1
16685 grep -v '^ *+' conftest.er1 >conftest.err
16687 cat conftest.err >&5
16688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16689 (exit $ac_status); } &&
16690 { ac_try='test -z "$ac_c_werror_flag"
16691 || test ! -s conftest.err'
16692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16693 (eval $ac_try) 2>&5
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); }; } &&
16697 { ac_try='test -s conftest.$ac_objext'
16698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16699 (eval $ac_try) 2>&5
16701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702 (exit $ac_status); }; }; then
16703 ac_cv_type_char=yes
16705 echo "$as_me: failed program was:" >&5
16706 sed 's/^/| /' conftest.$ac_ext >&5
16710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16712 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16713 echo "${ECHO_T}$ac_cv_type_char" >&6
16715 echo "$as_me:$LINENO: checking size of char" >&5
16716 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16717 if test "${ac_cv_sizeof_char+set}" = set; then
16718 echo $ECHO_N "(cached) $ECHO_C" >&6
16720 if test "$ac_cv_type_char" = yes; then
16721 # The cast to unsigned long works around a bug in the HP C Compiler
16722 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16723 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16724 # This bug is HP SR number 8606223364.
16725 if test "$cross_compiling" = yes; then
16726 # Depending upon the size, compute the lo and hi bounds.
16727 cat >conftest.$ac_ext <<_ACEOF
16730 cat confdefs.h >>conftest.$ac_ext
16731 cat >>conftest.$ac_ext <<_ACEOF
16732 /* end confdefs.h. */
16733 $ac_includes_default
16737 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16744 rm -f conftest.$ac_objext
16745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16746 (eval $ac_compile) 2>conftest.er1
16748 grep -v '^ *+' conftest.er1 >conftest.err
16750 cat conftest.err >&5
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); } &&
16753 { ac_try='test -z "$ac_c_werror_flag"
16754 || test ! -s conftest.err'
16755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16756 (eval $ac_try) 2>&5
16758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16759 (exit $ac_status); }; } &&
16760 { ac_try='test -s conftest.$ac_objext'
16761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16762 (eval $ac_try) 2>&5
16764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16765 (exit $ac_status); }; }; then
16768 cat >conftest.$ac_ext <<_ACEOF
16771 cat confdefs.h >>conftest.$ac_ext
16772 cat >>conftest.$ac_ext <<_ACEOF
16773 /* end confdefs.h. */
16774 $ac_includes_default
16778 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16785 rm -f conftest.$ac_objext
16786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16787 (eval $ac_compile) 2>conftest.er1
16789 grep -v '^ *+' conftest.er1 >conftest.err
16791 cat conftest.err >&5
16792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16793 (exit $ac_status); } &&
16794 { ac_try='test -z "$ac_c_werror_flag"
16795 || test ! -s conftest.err'
16796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16797 (eval $ac_try) 2>&5
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); }; } &&
16801 { ac_try='test -s conftest.$ac_objext'
16802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16803 (eval $ac_try) 2>&5
16805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806 (exit $ac_status); }; }; then
16807 ac_hi=$ac_mid; break
16809 echo "$as_me: failed program was:" >&5
16810 sed 's/^/| /' conftest.$ac_ext >&5
16812 ac_lo=`expr $ac_mid + 1`
16813 if test $ac_lo -le $ac_mid; then
16817 ac_mid=`expr 2 '*' $ac_mid + 1`
16819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16822 echo "$as_me: failed program was:" >&5
16823 sed 's/^/| /' conftest.$ac_ext >&5
16825 cat >conftest.$ac_ext <<_ACEOF
16828 cat confdefs.h >>conftest.$ac_ext
16829 cat >>conftest.$ac_ext <<_ACEOF
16830 /* end confdefs.h. */
16831 $ac_includes_default
16835 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16842 rm -f conftest.$ac_objext
16843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16844 (eval $ac_compile) 2>conftest.er1
16846 grep -v '^ *+' conftest.er1 >conftest.err
16848 cat conftest.err >&5
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); } &&
16851 { ac_try='test -z "$ac_c_werror_flag"
16852 || test ! -s conftest.err'
16853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16854 (eval $ac_try) 2>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); }; } &&
16858 { ac_try='test -s conftest.$ac_objext'
16859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16860 (eval $ac_try) 2>&5
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; }; then
16866 cat >conftest.$ac_ext <<_ACEOF
16869 cat confdefs.h >>conftest.$ac_ext
16870 cat >>conftest.$ac_ext <<_ACEOF
16871 /* end confdefs.h. */
16872 $ac_includes_default
16876 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16883 rm -f conftest.$ac_objext
16884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16885 (eval $ac_compile) 2>conftest.er1
16887 grep -v '^ *+' conftest.er1 >conftest.err
16889 cat conftest.err >&5
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); } &&
16892 { ac_try='test -z "$ac_c_werror_flag"
16893 || test ! -s conftest.err'
16894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16895 (eval $ac_try) 2>&5
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); }; } &&
16899 { ac_try='test -s conftest.$ac_objext'
16900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16901 (eval $ac_try) 2>&5
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); }; }; then
16905 ac_lo=$ac_mid; break
16907 echo "$as_me: failed program was:" >&5
16908 sed 's/^/| /' conftest.$ac_ext >&5
16910 ac_hi=`expr '(' $ac_mid ')' - 1`
16911 if test $ac_mid -le $ac_hi; then
16915 ac_mid=`expr 2 '*' $ac_mid`
16917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16920 echo "$as_me: failed program was:" >&5
16921 sed 's/^/| /' conftest.$ac_ext >&5
16925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16928 # Binary search between lo and hi bounds.
16929 while test "x$ac_lo" != "x$ac_hi"; do
16930 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16931 cat >conftest.$ac_ext <<_ACEOF
16934 cat confdefs.h >>conftest.$ac_ext
16935 cat >>conftest.$ac_ext <<_ACEOF
16936 /* end confdefs.h. */
16937 $ac_includes_default
16941 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16948 rm -f conftest.$ac_objext
16949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16950 (eval $ac_compile) 2>conftest.er1
16952 grep -v '^ *+' conftest.er1 >conftest.err
16954 cat conftest.err >&5
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); } &&
16957 { ac_try='test -z "$ac_c_werror_flag"
16958 || test ! -s conftest.err'
16959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16960 (eval $ac_try) 2>&5
16962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16963 (exit $ac_status); }; } &&
16964 { ac_try='test -s conftest.$ac_objext'
16965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16966 (eval $ac_try) 2>&5
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); }; }; then
16972 echo "$as_me: failed program was:" >&5
16973 sed 's/^/| /' conftest.$ac_ext >&5
16975 ac_lo=`expr '(' $ac_mid ')' + 1`
16977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16980 ?*) ac_cv_sizeof_char=$ac_lo;;
16981 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16982 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16983 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16984 See \`config.log' for more details." >&5
16985 echo "$as_me: error: cannot compute sizeof (char), 77
16986 See \`config.log' for more details." >&2;}
16987 { (exit 1); exit 1; }; }; } ;;
16990 if test "$cross_compiling" = yes; then
16991 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16992 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16993 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16994 See \`config.log' for more details." >&5
16995 echo "$as_me: error: cannot run test program while cross compiling
16996 See \`config.log' for more details." >&2;}
16997 { (exit 1); exit 1; }; }; }
16999 cat >conftest.$ac_ext <<_ACEOF
17002 cat confdefs.h >>conftest.$ac_ext
17003 cat >>conftest.$ac_ext <<_ACEOF
17004 /* end confdefs.h. */
17005 $ac_includes_default
17006 long longval () { return (long) (sizeof (char)); }
17007 unsigned long ulongval () { return (long) (sizeof (char)); }
17009 #include <stdlib.h>
17014 FILE *f = fopen ("conftest.val", "w");
17017 if (((long) (sizeof (char))) < 0)
17019 long i = longval ();
17020 if (i != ((long) (sizeof (char))))
17022 fprintf (f, "%ld\n", i);
17026 unsigned long i = ulongval ();
17027 if (i != ((long) (sizeof (char))))
17029 fprintf (f, "%lu\n", i);
17031 exit (ferror (f) || fclose (f) != 0);
17037 rm -f conftest$ac_exeext
17038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17039 (eval $ac_link) 2>&5
17041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17042 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17044 (eval $ac_try) 2>&5
17046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17047 (exit $ac_status); }; }; then
17048 ac_cv_sizeof_char=`cat conftest.val`
17050 echo "$as_me: program exited with status $ac_status" >&5
17051 echo "$as_me: failed program was:" >&5
17052 sed 's/^/| /' conftest.$ac_ext >&5
17054 ( exit $ac_status )
17055 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17056 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17057 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17058 See \`config.log' for more details." >&5
17059 echo "$as_me: error: cannot compute sizeof (char), 77
17060 See \`config.log' for more details." >&2;}
17061 { (exit 1); exit 1; }; }; }
17063 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17068 ac_cv_sizeof_char=0
17071 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17072 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17073 cat >>confdefs.h <<_ACEOF
17074 #define SIZEOF_CHAR $ac_cv_sizeof_char
17079 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
17080 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
17081 case "$ac_cv_sizeof_char" in
17082 1) acx_cv_type_int8_t=char ;;
17083 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
17084 echo "$as_me: error: no 8-bit type" >&2;}
17085 { (exit please report a bug); exit please report a bug; }; }
17087 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
17088 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
17090 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
17091 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
17092 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
17093 2:*) acx_cv_type_int16_t=int ;;
17094 *:2) acx_cv_type_int16_t=short ;;
17095 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
17096 echo "$as_me: error: no 16-bit type" >&2;}
17097 { (exit please report a bug); exit please report a bug; }; }
17099 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
17100 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
17102 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
17103 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
17104 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
17105 4:*) acx_cv_type_int32_t=int ;;
17106 *:4) acx_cv_type_int32_t=long ;;
17107 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
17108 echo "$as_me: error: no 32-bit type" >&2;}
17109 { (exit please report a bug); exit please report a bug; }; }
17111 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
17112 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
17115 # These tests are here to make the output prettier
17117 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17118 case "$ac_cv_sizeof_long" in
17119 8) acx_cv_type_int64_t=long ;;
17121 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
17122 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
17123 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17124 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
17127 # Now we can use the above types
17129 if test "$ac_cv_type_uintptr_t" != yes; then
17130 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
17131 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
17132 case $ac_cv_sizeof_void_p in
17133 2) acx_cv_type_intptr_t=int16_t ;;
17134 4) acx_cv_type_intptr_t=int32_t ;;
17135 8) acx_cv_type_intptr_t=int64_t ;;
17136 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
17137 echo "$as_me: error: no equivalent for intptr_t" >&2;}
17138 { (exit please report a bug); exit please report a bug; }; }
17140 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
17141 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
17144 # ----------------- done all checks, emit header -------------
17145 ac_config_commands="$ac_config_commands bfd_stdint.h"
17149 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
17150 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
17151 if test "${ac_cv_header_time+set}" = set; then
17152 echo $ECHO_N "(cached) $ECHO_C" >&6
17154 cat >conftest.$ac_ext <<_ACEOF
17157 cat confdefs.h >>conftest.$ac_ext
17158 cat >>conftest.$ac_ext <<_ACEOF
17159 /* end confdefs.h. */
17160 #include <sys/types.h>
17161 #include <sys/time.h>
17167 if ((struct tm *) 0)
17173 rm -f conftest.$ac_objext
17174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17175 (eval $ac_compile) 2>conftest.er1
17177 grep -v '^ *+' conftest.er1 >conftest.err
17179 cat conftest.err >&5
17180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181 (exit $ac_status); } &&
17182 { ac_try='test -z "$ac_c_werror_flag"
17183 || test ! -s conftest.err'
17184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17185 (eval $ac_try) 2>&5
17187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17188 (exit $ac_status); }; } &&
17189 { ac_try='test -s conftest.$ac_objext'
17190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17191 (eval $ac_try) 2>&5
17193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194 (exit $ac_status); }; }; then
17195 ac_cv_header_time=yes
17197 echo "$as_me: failed program was:" >&5
17198 sed 's/^/| /' conftest.$ac_ext >&5
17200 ac_cv_header_time=no
17202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17204 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
17205 echo "${ECHO_T}$ac_cv_header_time" >&6
17206 if test $ac_cv_header_time = yes; then
17208 cat >>confdefs.h <<\_ACEOF
17209 #define TIME_WITH_SYS_TIME 1
17219 ac_header_dirent=no
17220 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
17221 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
17222 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
17223 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
17224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17225 echo $ECHO_N "(cached) $ECHO_C" >&6
17227 cat >conftest.$ac_ext <<_ACEOF
17230 cat confdefs.h >>conftest.$ac_ext
17231 cat >>conftest.$ac_ext <<_ACEOF
17232 /* end confdefs.h. */
17233 #include <sys/types.h>
17245 rm -f conftest.$ac_objext
17246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17247 (eval $ac_compile) 2>conftest.er1
17249 grep -v '^ *+' conftest.er1 >conftest.err
17251 cat conftest.err >&5
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); } &&
17254 { ac_try='test -z "$ac_c_werror_flag"
17255 || test ! -s conftest.err'
17256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17257 (eval $ac_try) 2>&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); }; } &&
17261 { ac_try='test -s conftest.$ac_objext'
17262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17263 (eval $ac_try) 2>&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); }; }; then
17267 eval "$as_ac_Header=yes"
17269 echo "$as_me: failed program was:" >&5
17270 sed 's/^/| /' conftest.$ac_ext >&5
17272 eval "$as_ac_Header=no"
17274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17279 cat >>confdefs.h <<_ACEOF
17280 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
17283 ac_header_dirent=$ac_hdr; break
17287 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
17288 if test $ac_header_dirent = dirent.h; then
17289 echo "$as_me:$LINENO: checking for library containing opendir" >&5
17290 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
17291 if test "${ac_cv_search_opendir+set}" = set; then
17292 echo $ECHO_N "(cached) $ECHO_C" >&6
17294 ac_func_search_save_LIBS=$LIBS
17295 ac_cv_search_opendir=no
17296 cat >conftest.$ac_ext <<_ACEOF
17299 cat confdefs.h >>conftest.$ac_ext
17300 cat >>conftest.$ac_ext <<_ACEOF
17301 /* end confdefs.h. */
17303 /* Override any gcc2 internal prototype to avoid an error. */
17307 /* We use char because int might match the return type of a gcc2
17308 builtin and then its argument prototype would still apply. */
17318 rm -f conftest.$ac_objext conftest$ac_exeext
17319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17320 (eval $ac_link) 2>conftest.er1
17322 grep -v '^ *+' conftest.er1 >conftest.err
17324 cat conftest.err >&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); } &&
17327 { ac_try='test -z "$ac_c_werror_flag"
17328 || test ! -s conftest.err'
17329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17330 (eval $ac_try) 2>&5
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); }; } &&
17334 { ac_try='test -s conftest$ac_exeext'
17335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17336 (eval $ac_try) 2>&5
17338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339 (exit $ac_status); }; }; then
17340 ac_cv_search_opendir="none required"
17342 echo "$as_me: failed program was:" >&5
17343 sed 's/^/| /' conftest.$ac_ext >&5
17346 rm -f conftest.err conftest.$ac_objext \
17347 conftest$ac_exeext conftest.$ac_ext
17348 if test "$ac_cv_search_opendir" = no; then
17349 for ac_lib in dir; do
17350 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17351 cat >conftest.$ac_ext <<_ACEOF
17354 cat confdefs.h >>conftest.$ac_ext
17355 cat >>conftest.$ac_ext <<_ACEOF
17356 /* end confdefs.h. */
17358 /* Override any gcc2 internal prototype to avoid an error. */
17362 /* We use char because int might match the return type of a gcc2
17363 builtin and then its argument prototype would still apply. */
17373 rm -f conftest.$ac_objext conftest$ac_exeext
17374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17375 (eval $ac_link) 2>conftest.er1
17377 grep -v '^ *+' conftest.er1 >conftest.err
17379 cat conftest.err >&5
17380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17381 (exit $ac_status); } &&
17382 { ac_try='test -z "$ac_c_werror_flag"
17383 || test ! -s conftest.err'
17384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17385 (eval $ac_try) 2>&5
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); }; } &&
17389 { ac_try='test -s conftest$ac_exeext'
17390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391 (eval $ac_try) 2>&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; }; then
17395 ac_cv_search_opendir="-l$ac_lib"
17398 echo "$as_me: failed program was:" >&5
17399 sed 's/^/| /' conftest.$ac_ext >&5
17402 rm -f conftest.err conftest.$ac_objext \
17403 conftest$ac_exeext conftest.$ac_ext
17406 LIBS=$ac_func_search_save_LIBS
17408 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
17409 echo "${ECHO_T}$ac_cv_search_opendir" >&6
17410 if test "$ac_cv_search_opendir" != no; then
17411 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
17416 echo "$as_me:$LINENO: checking for library containing opendir" >&5
17417 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
17418 if test "${ac_cv_search_opendir+set}" = set; then
17419 echo $ECHO_N "(cached) $ECHO_C" >&6
17421 ac_func_search_save_LIBS=$LIBS
17422 ac_cv_search_opendir=no
17423 cat >conftest.$ac_ext <<_ACEOF
17426 cat confdefs.h >>conftest.$ac_ext
17427 cat >>conftest.$ac_ext <<_ACEOF
17428 /* end confdefs.h. */
17430 /* Override any gcc2 internal prototype to avoid an error. */
17434 /* We use char because int might match the return type of a gcc2
17435 builtin and then its argument prototype would still apply. */
17445 rm -f conftest.$ac_objext conftest$ac_exeext
17446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17447 (eval $ac_link) 2>conftest.er1
17449 grep -v '^ *+' conftest.er1 >conftest.err
17451 cat conftest.err >&5
17452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17453 (exit $ac_status); } &&
17454 { ac_try='test -z "$ac_c_werror_flag"
17455 || test ! -s conftest.err'
17456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17457 (eval $ac_try) 2>&5
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); }; } &&
17461 { ac_try='test -s conftest$ac_exeext'
17462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17463 (eval $ac_try) 2>&5
17465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466 (exit $ac_status); }; }; then
17467 ac_cv_search_opendir="none required"
17469 echo "$as_me: failed program was:" >&5
17470 sed 's/^/| /' conftest.$ac_ext >&5
17473 rm -f conftest.err conftest.$ac_objext \
17474 conftest$ac_exeext conftest.$ac_ext
17475 if test "$ac_cv_search_opendir" = no; then
17476 for ac_lib in x; do
17477 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17478 cat >conftest.$ac_ext <<_ACEOF
17481 cat confdefs.h >>conftest.$ac_ext
17482 cat >>conftest.$ac_ext <<_ACEOF
17483 /* end confdefs.h. */
17485 /* Override any gcc2 internal prototype to avoid an error. */
17489 /* We use char because int might match the return type of a gcc2
17490 builtin and then its argument prototype would still apply. */
17500 rm -f conftest.$ac_objext conftest$ac_exeext
17501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17502 (eval $ac_link) 2>conftest.er1
17504 grep -v '^ *+' conftest.er1 >conftest.err
17506 cat conftest.err >&5
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); } &&
17509 { ac_try='test -z "$ac_c_werror_flag"
17510 || test ! -s conftest.err'
17511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17512 (eval $ac_try) 2>&5
17514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); }; } &&
17516 { ac_try='test -s conftest$ac_exeext'
17517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17518 (eval $ac_try) 2>&5
17520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17521 (exit $ac_status); }; }; then
17522 ac_cv_search_opendir="-l$ac_lib"
17525 echo "$as_me: failed program was:" >&5
17526 sed 's/^/| /' conftest.$ac_ext >&5
17529 rm -f conftest.err conftest.$ac_objext \
17530 conftest$ac_exeext conftest.$ac_ext
17533 LIBS=$ac_func_search_save_LIBS
17535 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
17536 echo "${ECHO_T}$ac_cv_search_opendir" >&6
17537 if test "$ac_cv_search_opendir" != no; then
17538 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
17544 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
17545 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
17546 if test "${gcc_cv_header_string+set}" = set; then
17547 echo $ECHO_N "(cached) $ECHO_C" >&6
17549 cat >conftest.$ac_ext <<_ACEOF
17552 cat confdefs.h >>conftest.$ac_ext
17553 cat >>conftest.$ac_ext <<_ACEOF
17554 /* end confdefs.h. */
17555 #include <string.h>
17556 #include <strings.h>
17565 rm -f conftest.$ac_objext
17566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17567 (eval $ac_compile) 2>conftest.er1
17569 grep -v '^ *+' conftest.er1 >conftest.err
17571 cat conftest.err >&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); } &&
17574 { ac_try='test -z "$ac_c_werror_flag"
17575 || test ! -s conftest.err'
17576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17577 (eval $ac_try) 2>&5
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); }; } &&
17581 { ac_try='test -s conftest.$ac_objext'
17582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17583 (eval $ac_try) 2>&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); }; }; then
17587 gcc_cv_header_string=yes
17589 echo "$as_me: failed program was:" >&5
17590 sed 's/^/| /' conftest.$ac_ext >&5
17592 gcc_cv_header_string=no
17594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17596 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
17597 echo "${ECHO_T}$gcc_cv_header_string" >&6
17598 if test $gcc_cv_header_string = yes; then
17600 cat >>confdefs.h <<\_ACEOF
17601 #define STRING_WITH_STRINGS 1
17614 for ac_func in fcntl getpagesize setitimer sysconf fdopen getuid getgid fileno
17616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17617 echo "$as_me:$LINENO: checking for $ac_func" >&5
17618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17619 if eval "test \"\${$as_ac_var+set}\" = set"; then
17620 echo $ECHO_N "(cached) $ECHO_C" >&6
17622 cat >conftest.$ac_ext <<_ACEOF
17625 cat confdefs.h >>conftest.$ac_ext
17626 cat >>conftest.$ac_ext <<_ACEOF
17627 /* end confdefs.h. */
17628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17630 #define $ac_func innocuous_$ac_func
17632 /* System header to define __stub macros and hopefully few prototypes,
17633 which can conflict with char $ac_func (); below.
17634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17635 <limits.h> exists even on freestanding compilers. */
17638 # include <limits.h>
17640 # include <assert.h>
17645 /* Override any gcc2 internal prototype to avoid an error. */
17650 /* We use char because int might match the return type of a gcc2
17651 builtin and then its argument prototype would still apply. */
17653 /* The GNU C library defines this for functions which it implements
17654 to always fail with ENOSYS. Some functions are actually named
17655 something starting with __ and the normal name is an alias. */
17656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17659 char (*f) () = $ac_func;
17668 return f != $ac_func;
17673 rm -f conftest.$ac_objext conftest$ac_exeext
17674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17675 (eval $ac_link) 2>conftest.er1
17677 grep -v '^ *+' conftest.er1 >conftest.err
17679 cat conftest.err >&5
17680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 (exit $ac_status); } &&
17682 { ac_try='test -z "$ac_c_werror_flag"
17683 || test ! -s conftest.err'
17684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17685 (eval $ac_try) 2>&5
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); }; } &&
17689 { ac_try='test -s conftest$ac_exeext'
17690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17691 (eval $ac_try) 2>&5
17693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17694 (exit $ac_status); }; }; then
17695 eval "$as_ac_var=yes"
17697 echo "$as_me: failed program was:" >&5
17698 sed 's/^/| /' conftest.$ac_ext >&5
17700 eval "$as_ac_var=no"
17702 rm -f conftest.err conftest.$ac_objext \
17703 conftest$ac_exeext conftest.$ac_ext
17705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17707 if test `eval echo '${'$as_ac_var'}'` = yes; then
17708 cat >>confdefs.h <<_ACEOF
17709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17716 for ac_func in strtoull
17718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17719 echo "$as_me:$LINENO: checking for $ac_func" >&5
17720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17721 if eval "test \"\${$as_ac_var+set}\" = set"; then
17722 echo $ECHO_N "(cached) $ECHO_C" >&6
17724 cat >conftest.$ac_ext <<_ACEOF
17727 cat confdefs.h >>conftest.$ac_ext
17728 cat >>conftest.$ac_ext <<_ACEOF
17729 /* end confdefs.h. */
17730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17732 #define $ac_func innocuous_$ac_func
17734 /* System header to define __stub macros and hopefully few prototypes,
17735 which can conflict with char $ac_func (); below.
17736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17737 <limits.h> exists even on freestanding compilers. */
17740 # include <limits.h>
17742 # include <assert.h>
17747 /* Override any gcc2 internal prototype to avoid an error. */
17752 /* We use char because int might match the return type of a gcc2
17753 builtin and then its argument prototype would still apply. */
17755 /* The GNU C library defines this for functions which it implements
17756 to always fail with ENOSYS. Some functions are actually named
17757 something starting with __ and the normal name is an alias. */
17758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17761 char (*f) () = $ac_func;
17770 return f != $ac_func;
17775 rm -f conftest.$ac_objext conftest$ac_exeext
17776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17777 (eval $ac_link) 2>conftest.er1
17779 grep -v '^ *+' conftest.er1 >conftest.err
17781 cat conftest.err >&5
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); } &&
17784 { ac_try='test -z "$ac_c_werror_flag"
17785 || test ! -s conftest.err'
17786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17787 (eval $ac_try) 2>&5
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); }; } &&
17791 { ac_try='test -s conftest$ac_exeext'
17792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17793 (eval $ac_try) 2>&5
17795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17796 (exit $ac_status); }; }; then
17797 eval "$as_ac_var=yes"
17799 echo "$as_me: failed program was:" >&5
17800 sed 's/^/| /' conftest.$ac_ext >&5
17802 eval "$as_ac_var=no"
17804 rm -f conftest.err conftest.$ac_objext \
17805 conftest$ac_exeext conftest.$ac_ext
17807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17809 if test `eval echo '${'$as_ac_var'}'` = yes; then
17810 cat >>confdefs.h <<_ACEOF
17811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17818 echo "$as_me:$LINENO: checking whether basename is declared" >&5
17819 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
17820 if test "${ac_cv_have_decl_basename+set}" = set; then
17821 echo $ECHO_N "(cached) $ECHO_C" >&6
17823 cat >conftest.$ac_ext <<_ACEOF
17826 cat confdefs.h >>conftest.$ac_ext
17827 cat >>conftest.$ac_ext <<_ACEOF
17828 /* end confdefs.h. */
17829 $ac_includes_default
17834 char *p = (char *) basename;
17841 rm -f conftest.$ac_objext
17842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17843 (eval $ac_compile) 2>conftest.er1
17845 grep -v '^ *+' conftest.er1 >conftest.err
17847 cat conftest.err >&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); } &&
17850 { ac_try='test -z "$ac_c_werror_flag"
17851 || test ! -s conftest.err'
17852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17853 (eval $ac_try) 2>&5
17855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856 (exit $ac_status); }; } &&
17857 { ac_try='test -s conftest.$ac_objext'
17858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17859 (eval $ac_try) 2>&5
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); }; }; then
17863 ac_cv_have_decl_basename=yes
17865 echo "$as_me: failed program was:" >&5
17866 sed 's/^/| /' conftest.$ac_ext >&5
17868 ac_cv_have_decl_basename=no
17870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17872 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
17873 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
17874 if test $ac_cv_have_decl_basename = yes; then
17876 cat >>confdefs.h <<_ACEOF
17877 #define HAVE_DECL_BASENAME 1
17882 cat >>confdefs.h <<_ACEOF
17883 #define HAVE_DECL_BASENAME 0
17890 echo "$as_me:$LINENO: checking whether ftello is declared" >&5
17891 echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6
17892 if test "${ac_cv_have_decl_ftello+set}" = set; then
17893 echo $ECHO_N "(cached) $ECHO_C" >&6
17895 cat >conftest.$ac_ext <<_ACEOF
17898 cat confdefs.h >>conftest.$ac_ext
17899 cat >>conftest.$ac_ext <<_ACEOF
17900 /* end confdefs.h. */
17901 $ac_includes_default
17906 char *p = (char *) ftello;
17913 rm -f conftest.$ac_objext
17914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17915 (eval $ac_compile) 2>conftest.er1
17917 grep -v '^ *+' conftest.er1 >conftest.err
17919 cat conftest.err >&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); } &&
17922 { ac_try='test -z "$ac_c_werror_flag"
17923 || test ! -s conftest.err'
17924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17925 (eval $ac_try) 2>&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); }; } &&
17929 { ac_try='test -s conftest.$ac_objext'
17930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17931 (eval $ac_try) 2>&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); }; }; then
17935 ac_cv_have_decl_ftello=yes
17937 echo "$as_me: failed program was:" >&5
17938 sed 's/^/| /' conftest.$ac_ext >&5
17940 ac_cv_have_decl_ftello=no
17942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17944 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
17945 echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6
17946 if test $ac_cv_have_decl_ftello = yes; then
17948 cat >>confdefs.h <<_ACEOF
17949 #define HAVE_DECL_FTELLO 1
17954 cat >>confdefs.h <<_ACEOF
17955 #define HAVE_DECL_FTELLO 0
17962 echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
17963 echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6
17964 if test "${ac_cv_have_decl_ftello64+set}" = set; then
17965 echo $ECHO_N "(cached) $ECHO_C" >&6
17967 cat >conftest.$ac_ext <<_ACEOF
17970 cat confdefs.h >>conftest.$ac_ext
17971 cat >>conftest.$ac_ext <<_ACEOF
17972 /* end confdefs.h. */
17973 $ac_includes_default
17978 char *p = (char *) ftello64;
17985 rm -f conftest.$ac_objext
17986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17987 (eval $ac_compile) 2>conftest.er1
17989 grep -v '^ *+' conftest.er1 >conftest.err
17991 cat conftest.err >&5
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); } &&
17994 { ac_try='test -z "$ac_c_werror_flag"
17995 || test ! -s conftest.err'
17996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17997 (eval $ac_try) 2>&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); }; } &&
18001 { ac_try='test -s conftest.$ac_objext'
18002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18003 (eval $ac_try) 2>&5
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); }; }; then
18007 ac_cv_have_decl_ftello64=yes
18009 echo "$as_me: failed program was:" >&5
18010 sed 's/^/| /' conftest.$ac_ext >&5
18012 ac_cv_have_decl_ftello64=no
18014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18016 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
18017 echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6
18018 if test $ac_cv_have_decl_ftello64 = yes; then
18020 cat >>confdefs.h <<_ACEOF
18021 #define HAVE_DECL_FTELLO64 1
18026 cat >>confdefs.h <<_ACEOF
18027 #define HAVE_DECL_FTELLO64 0
18034 echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
18035 echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6
18036 if test "${ac_cv_have_decl_fseeko+set}" = set; then
18037 echo $ECHO_N "(cached) $ECHO_C" >&6
18039 cat >conftest.$ac_ext <<_ACEOF
18042 cat confdefs.h >>conftest.$ac_ext
18043 cat >>conftest.$ac_ext <<_ACEOF
18044 /* end confdefs.h. */
18045 $ac_includes_default
18050 char *p = (char *) fseeko;
18057 rm -f conftest.$ac_objext
18058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18059 (eval $ac_compile) 2>conftest.er1
18061 grep -v '^ *+' conftest.er1 >conftest.err
18063 cat conftest.err >&5
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); } &&
18066 { ac_try='test -z "$ac_c_werror_flag"
18067 || test ! -s conftest.err'
18068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069 (eval $ac_try) 2>&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); }; } &&
18073 { ac_try='test -s conftest.$ac_objext'
18074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075 (eval $ac_try) 2>&5
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); }; }; then
18079 ac_cv_have_decl_fseeko=yes
18081 echo "$as_me: failed program was:" >&5
18082 sed 's/^/| /' conftest.$ac_ext >&5
18084 ac_cv_have_decl_fseeko=no
18086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18088 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
18089 echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6
18090 if test $ac_cv_have_decl_fseeko = yes; then
18092 cat >>confdefs.h <<_ACEOF
18093 #define HAVE_DECL_FSEEKO 1
18098 cat >>confdefs.h <<_ACEOF
18099 #define HAVE_DECL_FSEEKO 0
18106 echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
18107 echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6
18108 if test "${ac_cv_have_decl_fseeko64+set}" = set; then
18109 echo $ECHO_N "(cached) $ECHO_C" >&6
18111 cat >conftest.$ac_ext <<_ACEOF
18114 cat confdefs.h >>conftest.$ac_ext
18115 cat >>conftest.$ac_ext <<_ACEOF
18116 /* end confdefs.h. */
18117 $ac_includes_default
18122 char *p = (char *) fseeko64;
18129 rm -f conftest.$ac_objext
18130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18131 (eval $ac_compile) 2>conftest.er1
18133 grep -v '^ *+' conftest.er1 >conftest.err
18135 cat conftest.err >&5
18136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18137 (exit $ac_status); } &&
18138 { ac_try='test -z "$ac_c_werror_flag"
18139 || test ! -s conftest.err'
18140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18141 (eval $ac_try) 2>&5
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); }; } &&
18145 { ac_try='test -s conftest.$ac_objext'
18146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18147 (eval $ac_try) 2>&5
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); }; }; then
18151 ac_cv_have_decl_fseeko64=yes
18153 echo "$as_me: failed program was:" >&5
18154 sed 's/^/| /' conftest.$ac_ext >&5
18156 ac_cv_have_decl_fseeko64=no
18158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18160 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
18161 echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6
18162 if test $ac_cv_have_decl_fseeko64 = yes; then
18164 cat >>confdefs.h <<_ACEOF
18165 #define HAVE_DECL_FSEEKO64 1
18170 cat >>confdefs.h <<_ACEOF
18171 #define HAVE_DECL_FSEEKO64 0
18181 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
18183 cat >>confdefs.h <<\_ACEOF
18184 #define USE_BINARY_FOPEN 1
18189 echo "$as_me:$LINENO: checking whether ffs is declared" >&5
18190 echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
18191 if test "${ac_cv_have_decl_ffs+set}" = set; then
18192 echo $ECHO_N "(cached) $ECHO_C" >&6
18194 cat >conftest.$ac_ext <<_ACEOF
18197 cat confdefs.h >>conftest.$ac_ext
18198 cat >>conftest.$ac_ext <<_ACEOF
18199 /* end confdefs.h. */
18200 $ac_includes_default
18205 char *p = (char *) ffs;
18212 rm -f conftest.$ac_objext
18213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18214 (eval $ac_compile) 2>conftest.er1
18216 grep -v '^ *+' conftest.er1 >conftest.err
18218 cat conftest.err >&5
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); } &&
18221 { ac_try='test -z "$ac_c_werror_flag"
18222 || test ! -s conftest.err'
18223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18224 (eval $ac_try) 2>&5
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); }; } &&
18228 { ac_try='test -s conftest.$ac_objext'
18229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18230 (eval $ac_try) 2>&5
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); }; }; then
18234 ac_cv_have_decl_ffs=yes
18236 echo "$as_me: failed program was:" >&5
18237 sed 's/^/| /' conftest.$ac_ext >&5
18239 ac_cv_have_decl_ffs=no
18241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18243 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
18244 echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
18245 if test $ac_cv_have_decl_ffs = yes; then
18247 cat >>confdefs.h <<_ACEOF
18248 #define HAVE_DECL_FFS 1
18253 cat >>confdefs.h <<_ACEOF
18254 #define HAVE_DECL_FFS 0
18261 echo "$as_me:$LINENO: checking whether free is declared" >&5
18262 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
18263 if test "${ac_cv_have_decl_free+set}" = set; then
18264 echo $ECHO_N "(cached) $ECHO_C" >&6
18266 cat >conftest.$ac_ext <<_ACEOF
18269 cat confdefs.h >>conftest.$ac_ext
18270 cat >>conftest.$ac_ext <<_ACEOF
18271 /* end confdefs.h. */
18272 $ac_includes_default
18277 char *p = (char *) free;
18284 rm -f conftest.$ac_objext
18285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18286 (eval $ac_compile) 2>conftest.er1
18288 grep -v '^ *+' conftest.er1 >conftest.err
18290 cat conftest.err >&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); } &&
18293 { ac_try='test -z "$ac_c_werror_flag"
18294 || test ! -s conftest.err'
18295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18296 (eval $ac_try) 2>&5
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); }; } &&
18300 { ac_try='test -s conftest.$ac_objext'
18301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18302 (eval $ac_try) 2>&5
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); }; }; then
18306 ac_cv_have_decl_free=yes
18308 echo "$as_me: failed program was:" >&5
18309 sed 's/^/| /' conftest.$ac_ext >&5
18311 ac_cv_have_decl_free=no
18313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18315 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
18316 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
18317 if test $ac_cv_have_decl_free = yes; then
18319 cat >>confdefs.h <<_ACEOF
18320 #define HAVE_DECL_FREE 1
18325 cat >>confdefs.h <<_ACEOF
18326 #define HAVE_DECL_FREE 0
18333 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
18334 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
18335 if test "${ac_cv_have_decl_getenv+set}" = set; then
18336 echo $ECHO_N "(cached) $ECHO_C" >&6
18338 cat >conftest.$ac_ext <<_ACEOF
18341 cat confdefs.h >>conftest.$ac_ext
18342 cat >>conftest.$ac_ext <<_ACEOF
18343 /* end confdefs.h. */
18344 $ac_includes_default
18349 char *p = (char *) getenv;
18356 rm -f conftest.$ac_objext
18357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18358 (eval $ac_compile) 2>conftest.er1
18360 grep -v '^ *+' conftest.er1 >conftest.err
18362 cat conftest.err >&5
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); } &&
18365 { ac_try='test -z "$ac_c_werror_flag"
18366 || test ! -s conftest.err'
18367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18368 (eval $ac_try) 2>&5
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); }; } &&
18372 { ac_try='test -s conftest.$ac_objext'
18373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18374 (eval $ac_try) 2>&5
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); }; }; then
18378 ac_cv_have_decl_getenv=yes
18380 echo "$as_me: failed program was:" >&5
18381 sed 's/^/| /' conftest.$ac_ext >&5
18383 ac_cv_have_decl_getenv=no
18385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18387 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
18388 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
18389 if test $ac_cv_have_decl_getenv = yes; then
18391 cat >>confdefs.h <<_ACEOF
18392 #define HAVE_DECL_GETENV 1
18397 cat >>confdefs.h <<_ACEOF
18398 #define HAVE_DECL_GETENV 0
18405 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
18406 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
18407 if test "${ac_cv_have_decl_malloc+set}" = set; then
18408 echo $ECHO_N "(cached) $ECHO_C" >&6
18410 cat >conftest.$ac_ext <<_ACEOF
18413 cat confdefs.h >>conftest.$ac_ext
18414 cat >>conftest.$ac_ext <<_ACEOF
18415 /* end confdefs.h. */
18416 $ac_includes_default
18421 char *p = (char *) malloc;
18428 rm -f conftest.$ac_objext
18429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18430 (eval $ac_compile) 2>conftest.er1
18432 grep -v '^ *+' conftest.er1 >conftest.err
18434 cat conftest.err >&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); } &&
18437 { ac_try='test -z "$ac_c_werror_flag"
18438 || test ! -s conftest.err'
18439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18440 (eval $ac_try) 2>&5
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); }; } &&
18444 { ac_try='test -s conftest.$ac_objext'
18445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18446 (eval $ac_try) 2>&5
18448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18449 (exit $ac_status); }; }; then
18450 ac_cv_have_decl_malloc=yes
18452 echo "$as_me: failed program was:" >&5
18453 sed 's/^/| /' conftest.$ac_ext >&5
18455 ac_cv_have_decl_malloc=no
18457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18459 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
18460 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
18461 if test $ac_cv_have_decl_malloc = yes; then
18463 cat >>confdefs.h <<_ACEOF
18464 #define HAVE_DECL_MALLOC 1
18469 cat >>confdefs.h <<_ACEOF
18470 #define HAVE_DECL_MALLOC 0
18477 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
18478 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
18479 if test "${ac_cv_have_decl_realloc+set}" = set; then
18480 echo $ECHO_N "(cached) $ECHO_C" >&6
18482 cat >conftest.$ac_ext <<_ACEOF
18485 cat confdefs.h >>conftest.$ac_ext
18486 cat >>conftest.$ac_ext <<_ACEOF
18487 /* end confdefs.h. */
18488 $ac_includes_default
18493 char *p = (char *) realloc;
18500 rm -f conftest.$ac_objext
18501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18502 (eval $ac_compile) 2>conftest.er1
18504 grep -v '^ *+' conftest.er1 >conftest.err
18506 cat conftest.err >&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); } &&
18509 { ac_try='test -z "$ac_c_werror_flag"
18510 || test ! -s conftest.err'
18511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18512 (eval $ac_try) 2>&5
18514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515 (exit $ac_status); }; } &&
18516 { ac_try='test -s conftest.$ac_objext'
18517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18518 (eval $ac_try) 2>&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); }; }; then
18522 ac_cv_have_decl_realloc=yes
18524 echo "$as_me: failed program was:" >&5
18525 sed 's/^/| /' conftest.$ac_ext >&5
18527 ac_cv_have_decl_realloc=no
18529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18531 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
18532 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
18533 if test $ac_cv_have_decl_realloc = yes; then
18535 cat >>confdefs.h <<_ACEOF
18536 #define HAVE_DECL_REALLOC 1
18541 cat >>confdefs.h <<_ACEOF
18542 #define HAVE_DECL_REALLOC 0
18549 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
18550 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
18551 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
18552 echo $ECHO_N "(cached) $ECHO_C" >&6
18554 cat >conftest.$ac_ext <<_ACEOF
18557 cat confdefs.h >>conftest.$ac_ext
18558 cat >>conftest.$ac_ext <<_ACEOF
18559 /* end confdefs.h. */
18560 $ac_includes_default
18565 char *p = (char *) stpcpy;
18572 rm -f conftest.$ac_objext
18573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18574 (eval $ac_compile) 2>conftest.er1
18576 grep -v '^ *+' conftest.er1 >conftest.err
18578 cat conftest.err >&5
18579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580 (exit $ac_status); } &&
18581 { ac_try='test -z "$ac_c_werror_flag"
18582 || test ! -s conftest.err'
18583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18584 (eval $ac_try) 2>&5
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); }; } &&
18588 { ac_try='test -s conftest.$ac_objext'
18589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18590 (eval $ac_try) 2>&5
18592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593 (exit $ac_status); }; }; then
18594 ac_cv_have_decl_stpcpy=yes
18596 echo "$as_me: failed program was:" >&5
18597 sed 's/^/| /' conftest.$ac_ext >&5
18599 ac_cv_have_decl_stpcpy=no
18601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18603 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
18604 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
18605 if test $ac_cv_have_decl_stpcpy = yes; then
18607 cat >>confdefs.h <<_ACEOF
18608 #define HAVE_DECL_STPCPY 1
18613 cat >>confdefs.h <<_ACEOF
18614 #define HAVE_DECL_STPCPY 0
18621 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
18622 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
18623 if test "${ac_cv_have_decl_strstr+set}" = set; then
18624 echo $ECHO_N "(cached) $ECHO_C" >&6
18626 cat >conftest.$ac_ext <<_ACEOF
18629 cat confdefs.h >>conftest.$ac_ext
18630 cat >>conftest.$ac_ext <<_ACEOF
18631 /* end confdefs.h. */
18632 $ac_includes_default
18637 char *p = (char *) strstr;
18644 rm -f conftest.$ac_objext
18645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18646 (eval $ac_compile) 2>conftest.er1
18648 grep -v '^ *+' conftest.er1 >conftest.err
18650 cat conftest.err >&5
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); } &&
18653 { ac_try='test -z "$ac_c_werror_flag"
18654 || test ! -s conftest.err'
18655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18656 (eval $ac_try) 2>&5
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); }; } &&
18660 { ac_try='test -s conftest.$ac_objext'
18661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18662 (eval $ac_try) 2>&5
18664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18665 (exit $ac_status); }; }; then
18666 ac_cv_have_decl_strstr=yes
18668 echo "$as_me: failed program was:" >&5
18669 sed 's/^/| /' conftest.$ac_ext >&5
18671 ac_cv_have_decl_strstr=no
18673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18675 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
18676 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
18677 if test $ac_cv_have_decl_strstr = yes; then
18679 cat >>confdefs.h <<_ACEOF
18680 #define HAVE_DECL_STRSTR 1
18685 cat >>confdefs.h <<_ACEOF
18686 #define HAVE_DECL_STRSTR 0
18693 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
18694 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
18695 if test "${ac_cv_have_decl_snprintf+set}" = set; then
18696 echo $ECHO_N "(cached) $ECHO_C" >&6
18698 cat >conftest.$ac_ext <<_ACEOF
18701 cat confdefs.h >>conftest.$ac_ext
18702 cat >>conftest.$ac_ext <<_ACEOF
18703 /* end confdefs.h. */
18704 $ac_includes_default
18709 char *p = (char *) snprintf;
18716 rm -f conftest.$ac_objext
18717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18718 (eval $ac_compile) 2>conftest.er1
18720 grep -v '^ *+' conftest.er1 >conftest.err
18722 cat conftest.err >&5
18723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18724 (exit $ac_status); } &&
18725 { ac_try='test -z "$ac_c_werror_flag"
18726 || test ! -s conftest.err'
18727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18728 (eval $ac_try) 2>&5
18730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731 (exit $ac_status); }; } &&
18732 { ac_try='test -s conftest.$ac_objext'
18733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18734 (eval $ac_try) 2>&5
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); }; }; then
18738 ac_cv_have_decl_snprintf=yes
18740 echo "$as_me: failed program was:" >&5
18741 sed 's/^/| /' conftest.$ac_ext >&5
18743 ac_cv_have_decl_snprintf=no
18745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18747 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
18748 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
18749 if test $ac_cv_have_decl_snprintf = yes; then
18751 cat >>confdefs.h <<_ACEOF
18752 #define HAVE_DECL_SNPRINTF 1
18757 cat >>confdefs.h <<_ACEOF
18758 #define HAVE_DECL_SNPRINTF 0
18765 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
18766 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
18767 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
18768 echo $ECHO_N "(cached) $ECHO_C" >&6
18770 cat >conftest.$ac_ext <<_ACEOF
18773 cat confdefs.h >>conftest.$ac_ext
18774 cat >>conftest.$ac_ext <<_ACEOF
18775 /* end confdefs.h. */
18776 $ac_includes_default
18781 char *p = (char *) vsnprintf;
18788 rm -f conftest.$ac_objext
18789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18790 (eval $ac_compile) 2>conftest.er1
18792 grep -v '^ *+' conftest.er1 >conftest.err
18794 cat conftest.err >&5
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); } &&
18797 { ac_try='test -z "$ac_c_werror_flag"
18798 || test ! -s conftest.err'
18799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18800 (eval $ac_try) 2>&5
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); }; } &&
18804 { ac_try='test -s conftest.$ac_objext'
18805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18806 (eval $ac_try) 2>&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); }; }; then
18810 ac_cv_have_decl_vsnprintf=yes
18812 echo "$as_me: failed program was:" >&5
18813 sed 's/^/| /' conftest.$ac_ext >&5
18815 ac_cv_have_decl_vsnprintf=no
18817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18819 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
18820 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
18821 if test $ac_cv_have_decl_vsnprintf = yes; then
18823 cat >>confdefs.h <<_ACEOF
18824 #define HAVE_DECL_VSNPRINTF 1
18829 cat >>confdefs.h <<_ACEOF
18830 #define HAVE_DECL_VSNPRINTF 0
18838 # Support for VMS timestamps via cross compile
18840 if test "$ac_cv_header_time_h" = yes; then
18841 echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff in time.h" >&5
18842 echo $ECHO_N "checking for struct tm.tm_gmtoff in time.h... $ECHO_C" >&6
18843 if test "${bfd_cv_have_time_type_member_tm_gmtoff+set}" = set; then
18844 echo $ECHO_N "(cached) $ECHO_C" >&6
18846 cat >conftest.$ac_ext <<_ACEOF
18849 cat confdefs.h >>conftest.$ac_ext
18850 cat >>conftest.$ac_ext <<_ACEOF
18851 /* end confdefs.h. */
18853 #define _BSD_SOURCE 1
18858 struct tm avar; void* aref = (void*) &avar.tm_gmtoff
18863 rm -f conftest.$ac_objext
18864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18865 (eval $ac_compile) 2>conftest.er1
18867 grep -v '^ *+' conftest.er1 >conftest.err
18869 cat conftest.err >&5
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); } &&
18872 { ac_try='test -z "$ac_c_werror_flag"
18873 || test ! -s conftest.err'
18874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18875 (eval $ac_try) 2>&5
18877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 (exit $ac_status); }; } &&
18879 { ac_try='test -s conftest.$ac_objext'
18880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18881 (eval $ac_try) 2>&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); }; }; then
18885 bfd_cv_have_time_type_member_tm_gmtoff=yes
18887 echo "$as_me: failed program was:" >&5
18888 sed 's/^/| /' conftest.$ac_ext >&5
18890 bfd_cv_have_time_type_member_tm_gmtoff=no
18893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18896 if test $bfd_cv_have_time_type_member_tm_gmtoff = yes; then
18898 cat >>confdefs.h <<\_ACEOF
18899 #define HAVE_TM_GMTOFF 1
18903 echo "$as_me:$LINENO: result: $bfd_cv_have_time_type_member_tm_gmtoff" >&5
18904 echo "${ECHO_T}$bfd_cv_have_time_type_member_tm_gmtoff" >&6
18908 if test "$ac_cv_header_sys_stat_h" = yes; then
18909 echo "$as_me:$LINENO: checking for struct stat.st_mtim.tv_sec in sys/stat.h" >&5
18910 echo $ECHO_N "checking for struct stat.st_mtim.tv_sec in sys/stat.h... $ECHO_C" >&6
18911 if test "${bfd_cv_have_sys_stat_type_member_st_mtim_tv_sec+set}" = set; then
18912 echo $ECHO_N "(cached) $ECHO_C" >&6
18914 cat >conftest.$ac_ext <<_ACEOF
18917 cat confdefs.h >>conftest.$ac_ext
18918 cat >>conftest.$ac_ext <<_ACEOF
18919 /* end confdefs.h. */
18921 #define _BSD_SOURCE 1
18922 #include <sys/stat.h>
18926 struct stat avar; void* aref = (void*) &avar.st_mtim.tv_sec
18931 rm -f conftest.$ac_objext
18932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18933 (eval $ac_compile) 2>conftest.er1
18935 grep -v '^ *+' conftest.er1 >conftest.err
18937 cat conftest.err >&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); } &&
18940 { ac_try='test -z "$ac_c_werror_flag"
18941 || test ! -s conftest.err'
18942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18943 (eval $ac_try) 2>&5
18945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946 (exit $ac_status); }; } &&
18947 { ac_try='test -s conftest.$ac_objext'
18948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18949 (eval $ac_try) 2>&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); }; }; then
18953 bfd_cv_have_sys_stat_type_member_st_mtim_tv_sec=yes
18955 echo "$as_me: failed program was:" >&5
18956 sed 's/^/| /' conftest.$ac_ext >&5
18958 bfd_cv_have_sys_stat_type_member_st_mtim_tv_sec=no
18961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18964 if test $bfd_cv_have_sys_stat_type_member_st_mtim_tv_sec = yes; then
18966 cat >>confdefs.h <<\_ACEOF
18967 #define HAVE_ST_MTIM_TV_SEC 1
18971 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_stat_type_member_st_mtim_tv_sec" >&5
18972 echo "${ECHO_T}$bfd_cv_have_sys_stat_type_member_st_mtim_tv_sec" >&6
18974 echo "$as_me:$LINENO: checking for struct stat.st_mtim.tv_nsec in sys/stat.h" >&5
18975 echo $ECHO_N "checking for struct stat.st_mtim.tv_nsec in sys/stat.h... $ECHO_C" >&6
18976 if test "${bfd_cv_have_sys_stat_type_member_st_mtim_tv_nsec+set}" = set; then
18977 echo $ECHO_N "(cached) $ECHO_C" >&6
18979 cat >conftest.$ac_ext <<_ACEOF
18982 cat confdefs.h >>conftest.$ac_ext
18983 cat >>conftest.$ac_ext <<_ACEOF
18984 /* end confdefs.h. */
18986 #define _BSD_SOURCE 1
18987 #include <sys/stat.h>
18991 struct stat avar; void* aref = (void*) &avar.st_mtim.tv_nsec
18996 rm -f conftest.$ac_objext
18997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18998 (eval $ac_compile) 2>conftest.er1
19000 grep -v '^ *+' conftest.er1 >conftest.err
19002 cat conftest.err >&5
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); } &&
19005 { ac_try='test -z "$ac_c_werror_flag"
19006 || test ! -s conftest.err'
19007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19008 (eval $ac_try) 2>&5
19010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19011 (exit $ac_status); }; } &&
19012 { ac_try='test -s conftest.$ac_objext'
19013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19014 (eval $ac_try) 2>&5
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); }; }; then
19018 bfd_cv_have_sys_stat_type_member_st_mtim_tv_nsec=yes
19020 echo "$as_me: failed program was:" >&5
19021 sed 's/^/| /' conftest.$ac_ext >&5
19023 bfd_cv_have_sys_stat_type_member_st_mtim_tv_nsec=no
19026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19029 if test $bfd_cv_have_sys_stat_type_member_st_mtim_tv_nsec = yes; then
19031 cat >>confdefs.h <<\_ACEOF
19032 #define HAVE_ST_MTIM_TV_NSEC 1
19036 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_stat_type_member_st_mtim_tv_nsec" >&5
19037 echo "${ECHO_T}$bfd_cv_have_sys_stat_type_member_st_mtim_tv_nsec" >&6
19041 # Link in zlib if we can. This allows us to read compressed debug sections.
19042 # This is used only by compress.c.
19043 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
19044 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
19045 if test "${ac_cv_search_zlibVersion+set}" = set; then
19046 echo $ECHO_N "(cached) $ECHO_C" >&6
19048 ac_func_search_save_LIBS=$LIBS
19049 ac_cv_search_zlibVersion=no
19050 cat >conftest.$ac_ext <<_ACEOF
19053 cat confdefs.h >>conftest.$ac_ext
19054 cat >>conftest.$ac_ext <<_ACEOF
19055 /* end confdefs.h. */
19057 /* Override any gcc2 internal prototype to avoid an error. */
19061 /* We use char because int might match the return type of a gcc2
19062 builtin and then its argument prototype would still apply. */
19063 char zlibVersion ();
19072 rm -f conftest.$ac_objext conftest$ac_exeext
19073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19074 (eval $ac_link) 2>conftest.er1
19076 grep -v '^ *+' conftest.er1 >conftest.err
19078 cat conftest.err >&5
19079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080 (exit $ac_status); } &&
19081 { ac_try='test -z "$ac_c_werror_flag"
19082 || test ! -s conftest.err'
19083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19084 (eval $ac_try) 2>&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); }; } &&
19088 { ac_try='test -s conftest$ac_exeext'
19089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19090 (eval $ac_try) 2>&5
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); }; }; then
19094 ac_cv_search_zlibVersion="none required"
19096 echo "$as_me: failed program was:" >&5
19097 sed 's/^/| /' conftest.$ac_ext >&5
19100 rm -f conftest.err conftest.$ac_objext \
19101 conftest$ac_exeext conftest.$ac_ext
19102 if test "$ac_cv_search_zlibVersion" = no; then
19103 for ac_lib in z; do
19104 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19105 cat >conftest.$ac_ext <<_ACEOF
19108 cat confdefs.h >>conftest.$ac_ext
19109 cat >>conftest.$ac_ext <<_ACEOF
19110 /* end confdefs.h. */
19112 /* Override any gcc2 internal prototype to avoid an error. */
19116 /* We use char because int might match the return type of a gcc2
19117 builtin and then its argument prototype would still apply. */
19118 char zlibVersion ();
19127 rm -f conftest.$ac_objext conftest$ac_exeext
19128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19129 (eval $ac_link) 2>conftest.er1
19131 grep -v '^ *+' conftest.er1 >conftest.err
19133 cat conftest.err >&5
19134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135 (exit $ac_status); } &&
19136 { ac_try='test -z "$ac_c_werror_flag"
19137 || test ! -s conftest.err'
19138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19139 (eval $ac_try) 2>&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); }; } &&
19143 { ac_try='test -s conftest$ac_exeext'
19144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19145 (eval $ac_try) 2>&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); }; }; then
19149 ac_cv_search_zlibVersion="-l$ac_lib"
19152 echo "$as_me: failed program was:" >&5
19153 sed 's/^/| /' conftest.$ac_ext >&5
19156 rm -f conftest.err conftest.$ac_objext \
19157 conftest$ac_exeext conftest.$ac_ext
19160 LIBS=$ac_func_search_save_LIBS
19162 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
19163 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
19164 if test "$ac_cv_search_zlibVersion" != no; then
19165 test "$ac_cv_search_zlibVersion" = "none required" || LIBS="$ac_cv_search_zlibVersion $LIBS"
19167 for ac_header in zlib.h
19169 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19171 echo "$as_me:$LINENO: checking for $ac_header" >&5
19172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19174 echo $ECHO_N "(cached) $ECHO_C" >&6
19176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19177 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19179 # Is the header compilable?
19180 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19181 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19182 cat >conftest.$ac_ext <<_ACEOF
19185 cat confdefs.h >>conftest.$ac_ext
19186 cat >>conftest.$ac_ext <<_ACEOF
19187 /* end confdefs.h. */
19188 $ac_includes_default
19189 #include <$ac_header>
19191 rm -f conftest.$ac_objext
19192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19193 (eval $ac_compile) 2>conftest.er1
19195 grep -v '^ *+' conftest.er1 >conftest.err
19197 cat conftest.err >&5
19198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19199 (exit $ac_status); } &&
19200 { ac_try='test -z "$ac_c_werror_flag"
19201 || test ! -s conftest.err'
19202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19203 (eval $ac_try) 2>&5
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206 (exit $ac_status); }; } &&
19207 { ac_try='test -s conftest.$ac_objext'
19208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19209 (eval $ac_try) 2>&5
19211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212 (exit $ac_status); }; }; then
19213 ac_header_compiler=yes
19215 echo "$as_me: failed program was:" >&5
19216 sed 's/^/| /' conftest.$ac_ext >&5
19218 ac_header_compiler=no
19220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19221 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19222 echo "${ECHO_T}$ac_header_compiler" >&6
19224 # Is the header present?
19225 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19226 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19227 cat >conftest.$ac_ext <<_ACEOF
19230 cat confdefs.h >>conftest.$ac_ext
19231 cat >>conftest.$ac_ext <<_ACEOF
19232 /* end confdefs.h. */
19233 #include <$ac_header>
19235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19236 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19238 grep -v '^ *+' conftest.er1 >conftest.err
19240 cat conftest.err >&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); } >/dev/null; then
19243 if test -s conftest.err; then
19244 ac_cpp_err=$ac_c_preproc_warn_flag
19245 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19252 if test -z "$ac_cpp_err"; then
19253 ac_header_preproc=yes
19255 echo "$as_me: failed program was:" >&5
19256 sed 's/^/| /' conftest.$ac_ext >&5
19258 ac_header_preproc=no
19260 rm -f conftest.err conftest.$ac_ext
19261 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19262 echo "${ECHO_T}$ac_header_preproc" >&6
19264 # So? What about this header?
19265 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19267 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19268 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19269 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19270 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19271 ac_header_preproc=yes
19274 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19275 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19276 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19277 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19278 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19279 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19280 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19281 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19283 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19284 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19285 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19288 ## ------------------------------------------ ##
19289 ## Report this to the AC_PACKAGE_NAME lists. ##
19290 ## ------------------------------------------ ##
19293 sed "s/^/$as_me: WARNING: /" >&2
19296 echo "$as_me:$LINENO: checking for $ac_header" >&5
19297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19299 echo $ECHO_N "(cached) $ECHO_C" >&6
19301 eval "$as_ac_Header=\$ac_header_preproc"
19303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19307 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19308 cat >>confdefs.h <<_ACEOF
19309 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19319 # If we are configured native, pick a core file support file.
19323 if test "${target}" = "${host}"; then
19325 alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
19329 COREFILE=trad-core.lo
19330 TRAD_HEADER='"hosts/alphalinux.h"'
19332 alpha*-*-netbsd* | alpha*-*-openbsd*)
19333 COREFILE=netbsd-core.lo
19335 alpha*-*-*) COREFILE=osf-core.lo ;;
19336 arm-*-freebsd* | arm-*-kfreebsd*-gnu)
19338 arm-*-netbsd* | arm-*-openbsd*)
19339 COREFILE=netbsd-core.lo
19341 arm-*-riscix) COREFILE=trad-core.lo ;;
19342 hppa*-*-hpux*) COREFILE=hpux-core.lo ;;
19343 hppa*-*-hiux*) COREFILE=hpux-core.lo ;;
19344 hppa*-*-mpeix*) COREFILE=hpux-core.lo ;;
19345 hppa*-*-bsd*) COREFILE="hpux-core.lo hppabsd-core.lo"
19346 COREFLAG="-DHPUX_CORE -DHPPABSD_CORE" ;;
19347 hppa*-*-netbsd* | hppa*-*-openbsd*)
19348 COREFILE=netbsd-core.lo
19352 COREFILE=trad-core.lo
19353 TRAD_HEADER='"hosts/i370linux.h"'
19356 i[3-7]86-sequent-bsd*)
19357 COREFILE=trad-core.lo
19358 TRAD_HEADER='"hosts/symmetry.h"'
19360 i[3-7]86-sequent-sysv4*) ;;
19361 i[3-7]86-sequent-sysv*)
19362 COREFILE=trad-core.lo
19363 TRAD_HEADER='"hosts/symmetry.h"'
19368 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*)
19369 COREFILE=trad-core.lo
19370 TRAD_HEADER='"hosts/i386bsd.h"'
19372 i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu | i[3-7]86-*-dragonfly*)
19374 TRAD_HEADER='"hosts/i386bsd.h"'
19376 i[3-7]86-*-netbsd* | i[3-7]86-*-knetbsd*-gnu | i[3-7]86-*-openbsd*)
19377 COREFILE=netbsd-core.lo
19379 i[3-7]86-esix-sysv3*)
19380 COREFILE=trad-core.lo
19381 TRAD_HEADER='"hosts/esix.h"'
19383 i[3-7]86-*-sco3.2v5*)
19384 COREFILE=sco5-core.lo
19386 i[3-7]86-*-sco* | i[3-7]86-*-isc*)
19387 COREFILE=trad-core.lo
19388 TRAD_HEADER='"hosts/i386sco.h"'
19391 COREFILE=trad-core.lo
19392 TRAD_HEADER='"hosts/i386mach3.h"'
19394 i[3-7]86-*-linux-*)
19395 COREFILE=trad-core.lo
19396 TRAD_HEADER='"hosts/i386linux.h"'
19398 i[3-7]86-*-isc*) COREFILE=trad-core.lo ;;
19399 i[3-7]86-*-aix*) COREFILE=aix386-core.lo ;;
19400 i860-*-mach3* | i860-*-osf1*)
19401 COREFILE=trad-core.lo
19402 TRAD_HEADER='"hosts/i860mach3.h"'
19404 mips-*-netbsd* | mips*-*-openbsd*)
19405 COREFILE=netbsd-core.lo
19408 COREFILE=trad-core.lo
19409 TRAD_HEADER='"hosts/decstation.h"'
19411 mips-sgi-irix4*) COREFILE=irix-core.lo ;;
19412 mips-sgi-irix5*) COREFILE=irix-core.lo ;;
19413 mips-sgi-irix6*) COREFILE=irix-core.lo ;;
19415 mips-*-sysv* | mips-*-riscos*)
19416 COREFILE=trad-core.lo
19417 TRAD_HEADER='"hosts/riscos.h"'
19420 COREFILE=trad-core.lo
19421 TRAD_HEADER='"hosts/news-mips.h"'
19424 COREFILE=trad-core.lo
19425 TRAD_HEADER='"hosts/dpx2.h"'
19427 m68*-hp-hpux*) COREFILE=hpux-core.lo ;;
19429 COREFILE=trad-core.lo
19430 TRAD_HEADER='"hosts/hp300bsd.h"'
19433 COREFILE=trad-core.lo
19434 TRAD_HEADER='"hosts/m68klinux.h"'
19436 m68*-motorola-sysv*)
19437 COREFILE=trad-core.lo
19438 TRAD_HEADER='"hosts/delta68.h"'
19441 COREFILE=trad-core.lo
19442 TRAD_HEADER='"hosts/news.h"'
19444 m68*-*-netbsd* | m68*-*-openbsd*)
19445 COREFILE=netbsd-core.lo
19448 COREFILE=trad-core.lo
19449 TRAD_HEADER='"hosts/m68kaux.h"'
19453 m88*-motorola-sysv*)
19454 COREFILE=ptrace-core.lo
19457 COREFILE=trad-core.lo
19458 TRAD_HEADER='"hosts/m88kmach3.h"'
19461 COREFILE=netbsd-core.lo
19464 COREFILE=trad-core.lo
19465 TRAD_HEADER='"hosts/pc532mach.h"'
19467 ns32k-*-netbsd* | ns32k-*-openbsd*)
19468 COREFILE=netbsd-core.lo
19471 COREFILE=lynx-core.lo
19473 rs6000-*-aix[5-9].* | powerpc-*-aix[5-9].*)
19474 COREFILE=rs6000-core.lo
19475 COREFLAG="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
19477 rs6000-*-aix4.[3-9]* | powerpc-*-aix4.[3-9]*)
19478 COREFILE=rs6000-core.lo
19479 COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE"
19480 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
19481 # have c_impl as a member of struct core_dumpx
19482 echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
19483 echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
19484 cat >conftest.$ac_ext <<_ACEOF
19487 cat confdefs.h >>conftest.$ac_ext
19488 cat >>conftest.$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19494 struct core_dumpx c; c.c_impl = 0;
19499 rm -f conftest.$ac_objext
19500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19501 (eval $ac_compile) 2>conftest.er1
19503 grep -v '^ *+' conftest.er1 >conftest.err
19505 cat conftest.err >&5
19506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19507 (exit $ac_status); } &&
19508 { ac_try='test -z "$ac_c_werror_flag"
19509 || test ! -s conftest.err'
19510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19511 (eval $ac_try) 2>&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); }; } &&
19515 { ac_try='test -s conftest.$ac_objext'
19516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19517 (eval $ac_try) 2>&5
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); }; }; then
19522 cat >>confdefs.h <<\_ACEOF
19523 #define HAVE_ST_C_IMPL 1
19526 echo "$as_me:$LINENO: result: yes" >&5
19527 echo "${ECHO_T}yes" >&6
19529 echo "$as_me: failed program was:" >&5
19530 sed 's/^/| /' conftest.$ac_ext >&5
19532 echo "$as_me:$LINENO: result: no" >&5
19533 echo "${ECHO_T}no" >&6
19535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19537 rs6000-*-aix4*) COREFILE=rs6000-core.lo ;;
19538 rs6000-*-*) COREFILE=rs6000-core.lo ;;
19539 powerpc-*-aix4*) COREFILE=rs6000-core.lo ;;
19540 powerpc-*-aix*) COREFILE=rs6000-core.lo ;;
19541 powerpc-*-beos*) ;;
19542 powerpc-*-freebsd* | powerpc-*-kfreebsd*-gnu)
19544 powerpc-*-netbsd*) COREFILE=netbsd-core.lo ;;
19545 powerpc-*-*bsd*) COREFILE=netbsd-core.lo ;;
19546 s390*-*-*) COREFILE=trad-core.lo ;;
19547 sh*-*-netbsd* | sh*-*-openbsd*)
19548 COREFILE=netbsd-core.lo
19550 sparc-*-netbsd* | sparc*-*-openbsd*)
19551 COREFILE=netbsd-core.lo
19554 COREFILE=trad-core.lo
19555 TRAD_HEADER='"hosts/tahoe.h"'
19557 vax-*-netbsd* | vax-*-openbsd*)
19558 COREFILE=netbsd-core.lo
19561 COREFILE=trad-core.lo
19562 TRAD_HEADER='"hosts/vaxult2.h"'
19565 COREFILE=trad-core.lo
19566 TRAD_HEADER='"hosts/vaxult2.h"'
19569 COREFILE=trad-core.lo
19570 TRAD_HEADER='"hosts/vaxlinux.h"'
19573 COREFILE=trad-core.lo
19574 TRAD_HEADER='"hosts/vaxbsd.h"'
19576 x86_64-*-netbsd* | x86_64-*-openbsd*)
19577 COREFILE=netbsd-core.lo
19581 case "$COREFILE" in
19582 aix386-core.lo) COREFLAG=-DAIX386_CORE ;;
19583 hppabsd-core.lo) COREFLAG=-DHPPABSD_CORE ;;
19584 hpux-core.lo) COREFLAG=-DHPUX_CORE ;;
19585 irix-core.lo) COREFLAG=-DIRIX_CORE ;;
19586 lynx-core.lo) COREFLAG=-DLYNX_CORE ;;
19587 netbsd-core.lo) COREFLAG=-DNETBSD_CORE ;;
19588 osf-core.lo) COREFLAG=-DOSF_CORE ;;
19589 ptrace-core.lo) COREFLAG=-DPTRACE_CORE ;;
19590 rs6000-core.lo) COREFLAG="$COREFLAG -DAIX_CORE" ;;
19591 sco5-core.lo) COREFLAG="$COREFLAG -DSCO5_CORE" ;;
19592 trad-core.lo) COREFLAG="$COREFLAG -DTRAD_CORE" ;;
19595 # ELF corefile support has several flavors, but all of
19596 # them use something called <sys/procfs.h>
19598 for ac_header in sys/procfs.h
19600 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19602 echo "$as_me:$LINENO: checking for $ac_header" >&5
19603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19604 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19605 echo $ECHO_N "(cached) $ECHO_C" >&6
19607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19610 # Is the header compilable?
19611 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19612 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19613 cat >conftest.$ac_ext <<_ACEOF
19616 cat confdefs.h >>conftest.$ac_ext
19617 cat >>conftest.$ac_ext <<_ACEOF
19618 /* end confdefs.h. */
19619 $ac_includes_default
19620 #include <$ac_header>
19622 rm -f conftest.$ac_objext
19623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19624 (eval $ac_compile) 2>conftest.er1
19626 grep -v '^ *+' conftest.er1 >conftest.err
19628 cat conftest.err >&5
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630 (exit $ac_status); } &&
19631 { ac_try='test -z "$ac_c_werror_flag"
19632 || test ! -s conftest.err'
19633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19634 (eval $ac_try) 2>&5
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); }; } &&
19638 { ac_try='test -s conftest.$ac_objext'
19639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19640 (eval $ac_try) 2>&5
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); }; }; then
19644 ac_header_compiler=yes
19646 echo "$as_me: failed program was:" >&5
19647 sed 's/^/| /' conftest.$ac_ext >&5
19649 ac_header_compiler=no
19651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19652 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19653 echo "${ECHO_T}$ac_header_compiler" >&6
19655 # Is the header present?
19656 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19657 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19658 cat >conftest.$ac_ext <<_ACEOF
19661 cat confdefs.h >>conftest.$ac_ext
19662 cat >>conftest.$ac_ext <<_ACEOF
19663 /* end confdefs.h. */
19664 #include <$ac_header>
19666 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19667 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19669 grep -v '^ *+' conftest.er1 >conftest.err
19671 cat conftest.err >&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); } >/dev/null; then
19674 if test -s conftest.err; then
19675 ac_cpp_err=$ac_c_preproc_warn_flag
19676 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19683 if test -z "$ac_cpp_err"; then
19684 ac_header_preproc=yes
19686 echo "$as_me: failed program was:" >&5
19687 sed 's/^/| /' conftest.$ac_ext >&5
19689 ac_header_preproc=no
19691 rm -f conftest.err conftest.$ac_ext
19692 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19693 echo "${ECHO_T}$ac_header_preproc" >&6
19695 # So? What about this header?
19696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19698 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19699 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19701 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19702 ac_header_preproc=yes
19705 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19706 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19707 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19708 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19709 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19710 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19711 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19712 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19714 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19715 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19716 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19719 ## ------------------------------------------ ##
19720 ## Report this to the AC_PACKAGE_NAME lists. ##
19721 ## ------------------------------------------ ##
19724 sed "s/^/$as_me: WARNING: /" >&2
19727 echo "$as_me:$LINENO: checking for $ac_header" >&5
19728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19730 echo $ECHO_N "(cached) $ECHO_C" >&6
19732 eval "$as_ac_Header=\$ac_header_preproc"
19734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19739 cat >>confdefs.h <<_ACEOF
19740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19747 if test "$ac_cv_header_sys_procfs_h" = yes; then
19748 echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
19749 echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
19750 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
19751 echo $ECHO_N "(cached) $ECHO_C" >&6
19753 cat >conftest.$ac_ext <<_ACEOF
19756 cat confdefs.h >>conftest.$ac_ext
19757 cat >>conftest.$ac_ext <<_ACEOF
19758 /* end confdefs.h. */
19761 #include <sys/procfs.h>
19770 rm -f conftest.$ac_objext
19771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19772 (eval $ac_compile) 2>conftest.er1
19774 grep -v '^ *+' conftest.er1 >conftest.err
19776 cat conftest.err >&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); } &&
19779 { ac_try='test -z "$ac_c_werror_flag"
19780 || test ! -s conftest.err'
19781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19782 (eval $ac_try) 2>&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; } &&
19786 { ac_try='test -s conftest.$ac_objext'
19787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19788 (eval $ac_try) 2>&5
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); }; }; then
19792 bfd_cv_have_sys_procfs_type_prstatus_t=yes
19794 echo "$as_me: failed program was:" >&5
19795 sed 's/^/| /' conftest.$ac_ext >&5
19797 bfd_cv_have_sys_procfs_type_prstatus_t=no
19800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19803 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
19805 cat >>confdefs.h <<\_ACEOF
19806 #define HAVE_PRSTATUS_T 1
19810 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
19811 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
19813 echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
19814 echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
19815 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
19816 echo $ECHO_N "(cached) $ECHO_C" >&6
19818 cat >conftest.$ac_ext <<_ACEOF
19821 cat confdefs.h >>conftest.$ac_ext
19822 cat >>conftest.$ac_ext <<_ACEOF
19823 /* end confdefs.h. */
19826 #include <sys/procfs.h>
19835 rm -f conftest.$ac_objext
19836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19837 (eval $ac_compile) 2>conftest.er1
19839 grep -v '^ *+' conftest.er1 >conftest.err
19841 cat conftest.err >&5
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); } &&
19844 { ac_try='test -z "$ac_c_werror_flag"
19845 || test ! -s conftest.err'
19846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19847 (eval $ac_try) 2>&5
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); }; } &&
19851 { ac_try='test -s conftest.$ac_objext'
19852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19853 (eval $ac_try) 2>&5
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); }; }; then
19857 bfd_cv_have_sys_procfs_type_prstatus32_t=yes
19859 echo "$as_me: failed program was:" >&5
19860 sed 's/^/| /' conftest.$ac_ext >&5
19862 bfd_cv_have_sys_procfs_type_prstatus32_t=no
19865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19868 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
19870 cat >>confdefs.h <<\_ACEOF
19871 #define HAVE_PRSTATUS32_T 1
19875 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
19876 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
19878 echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
19879 echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
19880 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
19881 echo $ECHO_N "(cached) $ECHO_C" >&6
19883 cat >conftest.$ac_ext <<_ACEOF
19886 cat confdefs.h >>conftest.$ac_ext
19887 cat >>conftest.$ac_ext <<_ACEOF
19888 /* end confdefs.h. */
19891 #include <sys/procfs.h>
19895 prstatus_t avar; void* aref = (void*) &avar.pr_who
19900 rm -f conftest.$ac_objext
19901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19902 (eval $ac_compile) 2>conftest.er1
19904 grep -v '^ *+' conftest.er1 >conftest.err
19906 cat conftest.err >&5
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); } &&
19909 { ac_try='test -z "$ac_c_werror_flag"
19910 || test ! -s conftest.err'
19911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19912 (eval $ac_try) 2>&5
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); }; } &&
19916 { ac_try='test -s conftest.$ac_objext'
19917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19918 (eval $ac_try) 2>&5
19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921 (exit $ac_status); }; }; then
19922 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes
19924 echo "$as_me: failed program was:" >&5
19925 sed 's/^/| /' conftest.$ac_ext >&5
19927 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=no
19930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19933 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
19935 cat >>confdefs.h <<\_ACEOF
19936 #define HAVE_PRSTATUS_T_PR_WHO 1
19940 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
19941 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
19943 echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
19944 echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
19945 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
19946 echo $ECHO_N "(cached) $ECHO_C" >&6
19948 cat >conftest.$ac_ext <<_ACEOF
19951 cat confdefs.h >>conftest.$ac_ext
19952 cat >>conftest.$ac_ext <<_ACEOF
19953 /* end confdefs.h. */
19956 #include <sys/procfs.h>
19960 prstatus32_t avar; void* aref = (void*) &avar.pr_who
19965 rm -f conftest.$ac_objext
19966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19967 (eval $ac_compile) 2>conftest.er1
19969 grep -v '^ *+' conftest.er1 >conftest.err
19971 cat conftest.err >&5
19972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19973 (exit $ac_status); } &&
19974 { ac_try='test -z "$ac_c_werror_flag"
19975 || test ! -s conftest.err'
19976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19977 (eval $ac_try) 2>&5
19979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19980 (exit $ac_status); }; } &&
19981 { ac_try='test -s conftest.$ac_objext'
19982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19983 (eval $ac_try) 2>&5
19985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986 (exit $ac_status); }; }; then
19987 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes
19989 echo "$as_me: failed program was:" >&5
19990 sed 's/^/| /' conftest.$ac_ext >&5
19992 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=no
19995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19998 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
20000 cat >>confdefs.h <<\_ACEOF
20001 #define HAVE_PRSTATUS32_T_PR_WHO 1
20005 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
20006 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
20008 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
20009 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
20010 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
20011 echo $ECHO_N "(cached) $ECHO_C" >&6
20013 cat >conftest.$ac_ext <<_ACEOF
20016 cat confdefs.h >>conftest.$ac_ext
20017 cat >>conftest.$ac_ext <<_ACEOF
20018 /* end confdefs.h. */
20021 #include <sys/procfs.h>
20030 rm -f conftest.$ac_objext
20031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20032 (eval $ac_compile) 2>conftest.er1
20034 grep -v '^ *+' conftest.er1 >conftest.err
20036 cat conftest.err >&5
20037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20038 (exit $ac_status); } &&
20039 { ac_try='test -z "$ac_c_werror_flag"
20040 || test ! -s conftest.err'
20041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20042 (eval $ac_try) 2>&5
20044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045 (exit $ac_status); }; } &&
20046 { ac_try='test -s conftest.$ac_objext'
20047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20048 (eval $ac_try) 2>&5
20050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20051 (exit $ac_status); }; }; then
20052 bfd_cv_have_sys_procfs_type_pstatus_t=yes
20054 echo "$as_me: failed program was:" >&5
20055 sed 's/^/| /' conftest.$ac_ext >&5
20057 bfd_cv_have_sys_procfs_type_pstatus_t=no
20060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20063 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
20065 cat >>confdefs.h <<\_ACEOF
20066 #define HAVE_PSTATUS_T 1
20070 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
20071 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
20073 echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
20074 echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
20075 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
20076 echo $ECHO_N "(cached) $ECHO_C" >&6
20078 cat >conftest.$ac_ext <<_ACEOF
20081 cat confdefs.h >>conftest.$ac_ext
20082 cat >>conftest.$ac_ext <<_ACEOF
20083 /* end confdefs.h. */
20086 #include <sys/procfs.h>
20095 rm -f conftest.$ac_objext
20096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20097 (eval $ac_compile) 2>conftest.er1
20099 grep -v '^ *+' conftest.er1 >conftest.err
20101 cat conftest.err >&5
20102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20103 (exit $ac_status); } &&
20104 { ac_try='test -z "$ac_c_werror_flag"
20105 || test ! -s conftest.err'
20106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20107 (eval $ac_try) 2>&5
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); }; } &&
20111 { ac_try='test -s conftest.$ac_objext'
20112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20113 (eval $ac_try) 2>&5
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); }; }; then
20117 bfd_cv_have_sys_procfs_type_pxstatus_t=yes
20119 echo "$as_me: failed program was:" >&5
20120 sed 's/^/| /' conftest.$ac_ext >&5
20122 bfd_cv_have_sys_procfs_type_pxstatus_t=no
20125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20128 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
20130 cat >>confdefs.h <<\_ACEOF
20131 #define HAVE_PXSTATUS_T 1
20135 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
20136 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
20138 echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
20139 echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
20140 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
20141 echo $ECHO_N "(cached) $ECHO_C" >&6
20143 cat >conftest.$ac_ext <<_ACEOF
20146 cat confdefs.h >>conftest.$ac_ext
20147 cat >>conftest.$ac_ext <<_ACEOF
20148 /* end confdefs.h. */
20151 #include <sys/procfs.h>
20160 rm -f conftest.$ac_objext
20161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20162 (eval $ac_compile) 2>conftest.er1
20164 grep -v '^ *+' conftest.er1 >conftest.err
20166 cat conftest.err >&5
20167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); } &&
20169 { ac_try='test -z "$ac_c_werror_flag"
20170 || test ! -s conftest.err'
20171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20172 (eval $ac_try) 2>&5
20174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175 (exit $ac_status); }; } &&
20176 { ac_try='test -s conftest.$ac_objext'
20177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20178 (eval $ac_try) 2>&5
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); }; }; then
20182 bfd_cv_have_sys_procfs_type_pstatus32_t=yes
20184 echo "$as_me: failed program was:" >&5
20185 sed 's/^/| /' conftest.$ac_ext >&5
20187 bfd_cv_have_sys_procfs_type_pstatus32_t=no
20190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20193 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
20195 cat >>confdefs.h <<\_ACEOF
20196 #define HAVE_PSTATUS32_T 1
20200 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
20201 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
20203 echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
20204 echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
20205 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
20206 echo $ECHO_N "(cached) $ECHO_C" >&6
20208 cat >conftest.$ac_ext <<_ACEOF
20211 cat confdefs.h >>conftest.$ac_ext
20212 cat >>conftest.$ac_ext <<_ACEOF
20213 /* end confdefs.h. */
20216 #include <sys/procfs.h>
20225 rm -f conftest.$ac_objext
20226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20227 (eval $ac_compile) 2>conftest.er1
20229 grep -v '^ *+' conftest.er1 >conftest.err
20231 cat conftest.err >&5
20232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233 (exit $ac_status); } &&
20234 { ac_try='test -z "$ac_c_werror_flag"
20235 || test ! -s conftest.err'
20236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20237 (eval $ac_try) 2>&5
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); }; } &&
20241 { ac_try='test -s conftest.$ac_objext'
20242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20243 (eval $ac_try) 2>&5
20245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20246 (exit $ac_status); }; }; then
20247 bfd_cv_have_sys_procfs_type_prpsinfo_t=yes
20249 echo "$as_me: failed program was:" >&5
20250 sed 's/^/| /' conftest.$ac_ext >&5
20252 bfd_cv_have_sys_procfs_type_prpsinfo_t=no
20255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20258 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
20260 cat >>confdefs.h <<\_ACEOF
20261 #define HAVE_PRPSINFO_T 1
20265 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
20266 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
20268 echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
20269 echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
20270 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
20271 echo $ECHO_N "(cached) $ECHO_C" >&6
20273 cat >conftest.$ac_ext <<_ACEOF
20276 cat confdefs.h >>conftest.$ac_ext
20277 cat >>conftest.$ac_ext <<_ACEOF
20278 /* end confdefs.h. */
20281 #include <sys/procfs.h>
20290 rm -f conftest.$ac_objext
20291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20292 (eval $ac_compile) 2>conftest.er1
20294 grep -v '^ *+' conftest.er1 >conftest.err
20296 cat conftest.err >&5
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); } &&
20299 { ac_try='test -z "$ac_c_werror_flag"
20300 || test ! -s conftest.err'
20301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20302 (eval $ac_try) 2>&5
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); }; } &&
20306 { ac_try='test -s conftest.$ac_objext'
20307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20308 (eval $ac_try) 2>&5
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); }; }; then
20312 bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes
20314 echo "$as_me: failed program was:" >&5
20315 sed 's/^/| /' conftest.$ac_ext >&5
20317 bfd_cv_have_sys_procfs_type_prpsinfo32_t=no
20320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20323 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
20325 cat >>confdefs.h <<\_ACEOF
20326 #define HAVE_PRPSINFO32_T 1
20330 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
20331 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
20333 echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
20334 echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
20335 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
20336 echo $ECHO_N "(cached) $ECHO_C" >&6
20338 cat >conftest.$ac_ext <<_ACEOF
20341 cat confdefs.h >>conftest.$ac_ext
20342 cat >>conftest.$ac_ext <<_ACEOF
20343 /* end confdefs.h. */
20346 #include <sys/procfs.h>
20355 rm -f conftest.$ac_objext
20356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20357 (eval $ac_compile) 2>conftest.er1
20359 grep -v '^ *+' conftest.er1 >conftest.err
20361 cat conftest.err >&5
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); } &&
20364 { ac_try='test -z "$ac_c_werror_flag"
20365 || test ! -s conftest.err'
20366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20367 (eval $ac_try) 2>&5
20369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20370 (exit $ac_status); }; } &&
20371 { ac_try='test -s conftest.$ac_objext'
20372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20373 (eval $ac_try) 2>&5
20375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20376 (exit $ac_status); }; }; then
20377 bfd_cv_have_sys_procfs_type_psinfo_t=yes
20379 echo "$as_me: failed program was:" >&5
20380 sed 's/^/| /' conftest.$ac_ext >&5
20382 bfd_cv_have_sys_procfs_type_psinfo_t=no
20385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20388 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
20390 cat >>confdefs.h <<\_ACEOF
20391 #define HAVE_PSINFO_T 1
20395 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
20396 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
20398 echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
20399 echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
20400 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
20401 echo $ECHO_N "(cached) $ECHO_C" >&6
20403 cat >conftest.$ac_ext <<_ACEOF
20406 cat confdefs.h >>conftest.$ac_ext
20407 cat >>conftest.$ac_ext <<_ACEOF
20408 /* end confdefs.h. */
20411 #include <sys/procfs.h>
20420 rm -f conftest.$ac_objext
20421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20422 (eval $ac_compile) 2>conftest.er1
20424 grep -v '^ *+' conftest.er1 >conftest.err
20426 cat conftest.err >&5
20427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20428 (exit $ac_status); } &&
20429 { ac_try='test -z "$ac_c_werror_flag"
20430 || test ! -s conftest.err'
20431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20432 (eval $ac_try) 2>&5
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); }; } &&
20436 { ac_try='test -s conftest.$ac_objext'
20437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20438 (eval $ac_try) 2>&5
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); }; }; then
20442 bfd_cv_have_sys_procfs_type_psinfo32_t=yes
20444 echo "$as_me: failed program was:" >&5
20445 sed 's/^/| /' conftest.$ac_ext >&5
20447 bfd_cv_have_sys_procfs_type_psinfo32_t=no
20450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20453 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
20455 cat >>confdefs.h <<\_ACEOF
20456 #define HAVE_PSINFO32_T 1
20460 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
20461 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
20463 echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
20464 echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
20465 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
20466 echo $ECHO_N "(cached) $ECHO_C" >&6
20468 cat >conftest.$ac_ext <<_ACEOF
20471 cat confdefs.h >>conftest.$ac_ext
20472 cat >>conftest.$ac_ext <<_ACEOF
20473 /* end confdefs.h. */
20476 #include <sys/procfs.h>
20485 rm -f conftest.$ac_objext
20486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20487 (eval $ac_compile) 2>conftest.er1
20489 grep -v '^ *+' conftest.er1 >conftest.err
20491 cat conftest.err >&5
20492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20493 (exit $ac_status); } &&
20494 { ac_try='test -z "$ac_c_werror_flag"
20495 || test ! -s conftest.err'
20496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20497 (eval $ac_try) 2>&5
20499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); }; } &&
20501 { ac_try='test -s conftest.$ac_objext'
20502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20503 (eval $ac_try) 2>&5
20505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20506 (exit $ac_status); }; }; then
20507 bfd_cv_have_sys_procfs_type_lwpstatus_t=yes
20509 echo "$as_me: failed program was:" >&5
20510 sed 's/^/| /' conftest.$ac_ext >&5
20512 bfd_cv_have_sys_procfs_type_lwpstatus_t=no
20515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20518 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
20520 cat >>confdefs.h <<\_ACEOF
20521 #define HAVE_LWPSTATUS_T 1
20525 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
20526 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
20528 echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
20529 echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
20530 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
20531 echo $ECHO_N "(cached) $ECHO_C" >&6
20533 cat >conftest.$ac_ext <<_ACEOF
20536 cat confdefs.h >>conftest.$ac_ext
20537 cat >>conftest.$ac_ext <<_ACEOF
20538 /* end confdefs.h. */
20541 #include <sys/procfs.h>
20550 rm -f conftest.$ac_objext
20551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20552 (eval $ac_compile) 2>conftest.er1
20554 grep -v '^ *+' conftest.er1 >conftest.err
20556 cat conftest.err >&5
20557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20558 (exit $ac_status); } &&
20559 { ac_try='test -z "$ac_c_werror_flag"
20560 || test ! -s conftest.err'
20561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20562 (eval $ac_try) 2>&5
20564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565 (exit $ac_status); }; } &&
20566 { ac_try='test -s conftest.$ac_objext'
20567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20568 (eval $ac_try) 2>&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); }; }; then
20572 bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes
20574 echo "$as_me: failed program was:" >&5
20575 sed 's/^/| /' conftest.$ac_ext >&5
20577 bfd_cv_have_sys_procfs_type_lwpxstatus_t=no
20580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20583 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
20585 cat >>confdefs.h <<\_ACEOF
20586 #define HAVE_LWPXSTATUS_T 1
20590 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
20591 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
20593 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
20594 echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
20595 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
20596 echo $ECHO_N "(cached) $ECHO_C" >&6
20598 cat >conftest.$ac_ext <<_ACEOF
20601 cat confdefs.h >>conftest.$ac_ext
20602 cat >>conftest.$ac_ext <<_ACEOF
20603 /* end confdefs.h. */
20606 #include <sys/procfs.h>
20610 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
20615 rm -f conftest.$ac_objext
20616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20617 (eval $ac_compile) 2>conftest.er1
20619 grep -v '^ *+' conftest.er1 >conftest.err
20621 cat conftest.err >&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); } &&
20624 { ac_try='test -z "$ac_c_werror_flag"
20625 || test ! -s conftest.err'
20626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20627 (eval $ac_try) 2>&5
20629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630 (exit $ac_status); }; } &&
20631 { ac_try='test -s conftest.$ac_objext'
20632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20633 (eval $ac_try) 2>&5
20635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636 (exit $ac_status); }; }; then
20637 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes
20639 echo "$as_me: failed program was:" >&5
20640 sed 's/^/| /' conftest.$ac_ext >&5
20642 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=no
20645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20648 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
20650 cat >>confdefs.h <<\_ACEOF
20651 #define HAVE_LWPSTATUS_T_PR_CONTEXT 1
20655 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
20656 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
20658 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
20659 echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
20660 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
20661 echo $ECHO_N "(cached) $ECHO_C" >&6
20663 cat >conftest.$ac_ext <<_ACEOF
20666 cat confdefs.h >>conftest.$ac_ext
20667 cat >>conftest.$ac_ext <<_ACEOF
20668 /* end confdefs.h. */
20671 #include <sys/procfs.h>
20675 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
20680 rm -f conftest.$ac_objext
20681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20682 (eval $ac_compile) 2>conftest.er1
20684 grep -v '^ *+' conftest.er1 >conftest.err
20686 cat conftest.err >&5
20687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20688 (exit $ac_status); } &&
20689 { ac_try='test -z "$ac_c_werror_flag"
20690 || test ! -s conftest.err'
20691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20692 (eval $ac_try) 2>&5
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); }; } &&
20696 { ac_try='test -s conftest.$ac_objext'
20697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20698 (eval $ac_try) 2>&5
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); }; }; then
20702 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes
20704 echo "$as_me: failed program was:" >&5
20705 sed 's/^/| /' conftest.$ac_ext >&5
20707 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=no
20710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20713 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
20715 cat >>confdefs.h <<\_ACEOF
20716 #define HAVE_LWPSTATUS_T_PR_REG 1
20720 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
20721 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
20723 echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
20724 echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
20725 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
20726 echo $ECHO_N "(cached) $ECHO_C" >&6
20728 cat >conftest.$ac_ext <<_ACEOF
20731 cat confdefs.h >>conftest.$ac_ext
20732 cat >>conftest.$ac_ext <<_ACEOF
20733 /* end confdefs.h. */
20736 #include <sys/procfs.h>
20740 win32_pstatus_t avar
20745 rm -f conftest.$ac_objext
20746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20747 (eval $ac_compile) 2>conftest.er1
20749 grep -v '^ *+' conftest.er1 >conftest.err
20751 cat conftest.err >&5
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); } &&
20754 { ac_try='test -z "$ac_c_werror_flag"
20755 || test ! -s conftest.err'
20756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20757 (eval $ac_try) 2>&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); }; } &&
20761 { ac_try='test -s conftest.$ac_objext'
20762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20763 (eval $ac_try) 2>&5
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); }; }; then
20767 bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes
20769 echo "$as_me: failed program was:" >&5
20770 sed 's/^/| /' conftest.$ac_ext >&5
20772 bfd_cv_have_sys_procfs_type_win32_pstatus_t=no
20775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20778 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
20780 cat >>confdefs.h <<\_ACEOF
20781 #define HAVE_WIN32_PSTATUS_T 1
20785 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
20786 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
20792 if test -n "$TRAD_HEADER"; then
20794 cat >>confdefs.h <<_ACEOF
20795 #define TRAD_HEADER $TRAD_HEADER
20800 # Check if linker supports --as-needed and --no-as-needed options
20801 echo "$as_me:$LINENO: checking linker --as-needed support" >&5
20802 echo $ECHO_N "checking linker --as-needed support... $ECHO_C" >&6
20803 if test "${bfd_cv_ld_as_needed+set}" = set; then
20804 echo $ECHO_N "(cached) $ECHO_C" >&6
20806 bfd_cv_ld_as_needed=no
20807 if $LD --help 2>/dev/null | grep as-needed > /dev/null; then
20808 bfd_cv_ld_as_needed=yes
20812 echo "$as_me:$LINENO: result: $bfd_cv_ld_as_needed" >&5
20813 echo "${ECHO_T}$bfd_cv_ld_as_needed" >&6
20817 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
20818 # These system don't have libm, or don't need it
20821 echo "$as_me:$LINENO: checking for _mwvalidcheckl in -lmw" >&5
20822 echo $ECHO_N "checking for _mwvalidcheckl in -lmw... $ECHO_C" >&6
20823 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then
20824 echo $ECHO_N "(cached) $ECHO_C" >&6
20826 ac_check_lib_save_LIBS=$LIBS
20828 cat >conftest.$ac_ext <<_ACEOF
20831 cat confdefs.h >>conftest.$ac_ext
20832 cat >>conftest.$ac_ext <<_ACEOF
20833 /* end confdefs.h. */
20835 /* Override any gcc2 internal prototype to avoid an error. */
20839 /* We use char because int might match the return type of a gcc2
20840 builtin and then its argument prototype would still apply. */
20841 char _mwvalidcheckl ();
20850 rm -f conftest.$ac_objext conftest$ac_exeext
20851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20852 (eval $ac_link) 2>conftest.er1
20854 grep -v '^ *+' conftest.er1 >conftest.err
20856 cat conftest.err >&5
20857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20858 (exit $ac_status); } &&
20859 { ac_try='test -z "$ac_c_werror_flag"
20860 || test ! -s conftest.err'
20861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20862 (eval $ac_try) 2>&5
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); }; } &&
20866 { ac_try='test -s conftest$ac_exeext'
20867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20868 (eval $ac_try) 2>&5
20870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20871 (exit $ac_status); }; }; then
20872 ac_cv_lib_mw__mwvalidcheckl=yes
20874 echo "$as_me: failed program was:" >&5
20875 sed 's/^/| /' conftest.$ac_ext >&5
20877 ac_cv_lib_mw__mwvalidcheckl=no
20879 rm -f conftest.err conftest.$ac_objext \
20880 conftest$ac_exeext conftest.$ac_ext
20881 LIBS=$ac_check_lib_save_LIBS
20883 echo "$as_me:$LINENO: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
20884 echo "${ECHO_T}$ac_cv_lib_mw__mwvalidcheckl" >&6
20885 if test $ac_cv_lib_mw__mwvalidcheckl = yes; then
20889 echo "$as_me:$LINENO: checking for cos in -lm" >&5
20890 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
20891 if test "${ac_cv_lib_m_cos+set}" = set; then
20892 echo $ECHO_N "(cached) $ECHO_C" >&6
20894 ac_check_lib_save_LIBS=$LIBS
20896 cat >conftest.$ac_ext <<_ACEOF
20899 cat confdefs.h >>conftest.$ac_ext
20900 cat >>conftest.$ac_ext <<_ACEOF
20901 /* end confdefs.h. */
20903 /* Override any gcc2 internal prototype to avoid an error. */
20907 /* We use char because int might match the return type of a gcc2
20908 builtin and then its argument prototype would still apply. */
20918 rm -f conftest.$ac_objext conftest$ac_exeext
20919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20920 (eval $ac_link) 2>conftest.er1
20922 grep -v '^ *+' conftest.er1 >conftest.err
20924 cat conftest.err >&5
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); } &&
20927 { ac_try='test -z "$ac_c_werror_flag"
20928 || test ! -s conftest.err'
20929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20930 (eval $ac_try) 2>&5
20932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20933 (exit $ac_status); }; } &&
20934 { ac_try='test -s conftest$ac_exeext'
20935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20936 (eval $ac_try) 2>&5
20938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20939 (exit $ac_status); }; }; then
20940 ac_cv_lib_m_cos=yes
20942 echo "$as_me: failed program was:" >&5
20943 sed 's/^/| /' conftest.$ac_ext >&5
20947 rm -f conftest.err conftest.$ac_objext \
20948 conftest$ac_exeext conftest.$ac_ext
20949 LIBS=$ac_check_lib_save_LIBS
20951 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
20952 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
20953 if test $ac_cv_lib_m_cos = yes; then
20959 echo "$as_me:$LINENO: checking for cos in -lm" >&5
20960 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
20961 if test "${ac_cv_lib_m_cos+set}" = set; then
20962 echo $ECHO_N "(cached) $ECHO_C" >&6
20964 ac_check_lib_save_LIBS=$LIBS
20966 cat >conftest.$ac_ext <<_ACEOF
20969 cat confdefs.h >>conftest.$ac_ext
20970 cat >>conftest.$ac_ext <<_ACEOF
20971 /* end confdefs.h. */
20973 /* Override any gcc2 internal prototype to avoid an error. */
20977 /* We use char because int might match the return type of a gcc2
20978 builtin and then its argument prototype would still apply. */
20988 rm -f conftest.$ac_objext conftest$ac_exeext
20989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20990 (eval $ac_link) 2>conftest.er1
20992 grep -v '^ *+' conftest.er1 >conftest.err
20994 cat conftest.err >&5
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); } &&
20997 { ac_try='test -z "$ac_c_werror_flag"
20998 || test ! -s conftest.err'
20999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21000 (eval $ac_try) 2>&5
21002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21003 (exit $ac_status); }; } &&
21004 { ac_try='test -s conftest$ac_exeext'
21005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21006 (eval $ac_try) 2>&5
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); }; }; then
21010 ac_cv_lib_m_cos=yes
21012 echo "$as_me: failed program was:" >&5
21013 sed 's/^/| /' conftest.$ac_ext >&5
21017 rm -f conftest.err conftest.$ac_objext \
21018 conftest$ac_exeext conftest.$ac_ext
21019 LIBS=$ac_check_lib_save_LIBS
21021 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
21022 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
21023 if test $ac_cv_lib_m_cos = yes; then
21032 # When building a shared libbfd, link against the pic version of libiberty
21033 # so that apps that use libbfd won't need libiberty just to satisfy any
21034 # libbfd references.
21035 # We can't do that if a pic libiberty is unavailable since including non-pic
21036 # code would insert text relocations into libbfd.
21039 if test "$enable_shared" = "yes"; then
21040 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
21041 if test -n "$x"; then
21042 SHARED_LIBADD="-L`pwd`/../libiberty/pic -liberty"
21045 # More hacks to build DLLs on Windows.
21048 SHARED_LDFLAGS="-no-undefined"
21049 SHARED_LIBADD="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
21053 if test -n "$SHARED_LIBADD"; then
21054 if test -n "$LIBM"; then
21055 if test x"$bfd_cv_ld_as_needed" = xyes; then
21056 # Link against libm only when needed. Put -lc, -lm inside -Wl
21057 # to stop libtool reordering these options.
21058 SHARED_LIBADD="$SHARED_LIBADD -Wl,-lc,--as-needed,`echo $LIBM | sed 's/ /,/g'`,--no-as-needed"
21060 SHARED_LIBADD="$SHARED_LIBADD $LIBM"
21070 # Canonicalize the secondary target names.
21071 if test -n "$enable_targets" ; then
21072 for targ in `echo $enable_targets | sed 's/,/ /g'`
21074 result=`$ac_config_sub $targ 2>/dev/null`
21075 if test -n "$result" ; then
21076 canon_targets="$canon_targets $result"
21078 # Allow targets that config.sub doesn't recognize, like "all".
21079 canon_targets="$canon_targets $targ"
21090 for targ in $target $canon_targets
21092 if test "x$targ" = "xall"; then
21094 assocvecs="$assocvecs $targ_defvec $targ_selvecs"
21096 . $srcdir/config.bfd
21097 if test "x$targ" = "x$target"; then
21098 defvec=$targ_defvec
21100 selvecs="$selvecs $targ_defvec $targ_selvecs"
21101 selarchs="$selarchs $targ_archs"
21102 TDEFINES="$TDEFINES $targ_cflags"
21107 # This processing still needs to be done if we're to decide properly whether
21108 # 64-bit support needs to be compiled in. Currently, it will be included if
21109 # the default or any other explicitly requested target requires it; it
21110 # will not be included on a 32-bit host if no 64-bit target is requested, and
21111 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
21114 # uniq the default and selected vectors in all the configured targets.
21116 for i in $selvecs ; do
21125 # uniq the associated vectors in all the configured targets.
21127 for i in $assocvecs ; do
21136 # uniq the architectures in all the configured targets.
21138 for i in $selarchs ; do
21146 # Target backend .o files.
21149 elf="elf.lo elflink.lo elf-attrs.lo elf-strtab.lo
21150 elf-eh-frame.lo dwarf1.lo"
21152 for vec in $selvecs
21156 # This list is alphabetized to make it easy to compare
21157 # with the two vector lists in targets.c. For the same reason,
21158 # use one entry per line, even though this leads to long lines.
21159 a_out_adobe_vec) tb="$tb aout-adobe.lo aout32.lo" ;;
21160 aix5coff64_vec) tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
21161 aout0_big_vec) tb="$tb aout0.lo aout32.lo" ;;
21162 aout_arm_big_vec) tb="$tb aout-arm.lo aout32.lo" ;;
21163 aout_arm_little_vec) tb="$tb aout-arm.lo aout32.lo" ;;
21164 apollocoff_vec) tb="$tb coff-apollo.lo" ;;
21165 arm_epoc_pe_big_vec) tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
21166 arm_epoc_pe_little_vec) tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
21167 arm_epoc_pei_big_vec) tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
21168 arm_epoc_pei_little_vec) tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
21169 arm_wince_pe_big_vec) tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
21170 arm_wince_pe_little_vec) tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
21171 arm_wince_pei_big_vec) tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
21172 arm_wince_pei_little_vec) tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
21173 armcoff_big_vec) tb="$tb coff-arm.lo cofflink.lo " ;;
21174 armcoff_little_vec) tb="$tb coff-arm.lo cofflink.lo " ;;
21175 armnetbsd_vec) tb="$tb armnetbsd.lo aout32.lo" ;;
21176 armpe_big_vec) tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
21177 armpe_little_vec) tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
21178 armpei_big_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
21179 armpei_little_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
21180 b_out_vec_big_host) tb="$tb bout.lo aout32.lo" ;;
21181 b_out_vec_little_host) tb="$tb bout.lo aout32.lo" ;;
21182 bfd_pei_ia64_vec) tb="$tb pei-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
21183 bfd_elf32_am33lin_vec) tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
21184 bfd_elf32_avr_vec) tb="$tb elf32-avr.lo elf32.lo $elf" ;;
21185 bfd_elf32_bfin_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
21186 bfd_elf32_bfinfdpic_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
21187 bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
21188 bfd_elf32_bigarc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;;
21189 bfd_elf32_bigarm_vec) tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
21190 bfd_elf32_bigarm_symbian_vec)
21191 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
21192 bfd_elf32_bigarm_vxworks_vec)
21193 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
21194 bfd_elf32_bigmips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
21195 bfd_elf32_bigmips_vxworks_vec)
21196 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
21197 bfd_elf32_cr16_vec) tb="$tb elf32-cr16.lo elf32.lo $elf" ;;
21198 bfd_elf32_cr16c_vec) tb="$tb elf32-cr16c.lo elf32.lo $elf" ;;
21199 bfd_elf32_cris_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;;
21200 bfd_elf32_crx_vec) tb="$tb elf32-crx.lo elf32.lo $elf" ;;
21201 bfd_elf32_d10v_vec) tb="$tb elf32-d10v.lo elf32.lo $elf" ;;
21202 bfd_elf32_d30v_vec) tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
21203 bfd_elf32_dlx_big_vec) tb="$tb elf32-dlx.lo elf32.lo $elf" ;;
21204 bfd_elf32_fr30_vec) tb="$tb elf32-fr30.lo elf32.lo $elf" ;;
21205 bfd_elf32_frv_vec) tb="$tb elf32-frv.lo elf32.lo $elf" ;;
21206 bfd_elf32_frvfdpic_vec) tb="$tb elf32-frv.lo elf32.lo $elf" ;;
21207 bfd_elf32_moxie_vec) tb="$tb elf32-moxie.lo elf32.lo $elf" ;;
21208 bfd_elf32_h8300_vec) tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
21209 bfd_elf32_hppa_linux_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
21210 bfd_elf32_hppa_nbsd_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
21211 bfd_elf32_hppa_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
21212 bfd_elf32_i370_vec) tb="$tb elf32-i370.lo elf32.lo $elf" ;;
21213 bfd_elf32_i386_dragonfly_vec)
21214 tb="$tb elf32-i386.lo elf-ifunc.lo elf-vxworks.lo elf32.lo $elf" ;;
21215 bfd_elf32_i386_freebsd_vec) tb="$tb elf32-i386.lo elf-ifunc.lo elf-vxworks.lo elf32.lo $elf" ;;
21216 bfd_elf32_i386_vxworks_vec) tb="$tb elf32-i386.lo elf-ifunc.lo elf-vxworks.lo elf32.lo $elf" ;;
21217 bfd_elf32_i386_vec) tb="$tb elf32-i386.lo elf-ifunc.lo elf-vxworks.lo elf32.lo $elf" ;;
21218 bfd_elf32_i860_little_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;
21219 bfd_elf32_i860_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;
21220 bfd_elf32_i960_vec) tb="$tb elf32-i960.lo elf32.lo $elf" ;;
21221 bfd_elf32_ia64_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf" ;;
21222 bfd_elf32_ia64_hpux_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf";;
21223 bfd_elf32_ip2k_vec) tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
21224 bfd_elf32_iq2000_vec) tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
21225 bfd_elf32_lm32_vec) tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
21226 bfd_elf32_lm32fdpic_vec) tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
21227 bfd_elf32_little_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
21228 bfd_elf32_littlearc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;;
21229 bfd_elf32_littlearm_symbian_vec)
21230 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
21231 bfd_elf32_littlearm_vxworks_vec)
21232 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
21233 bfd_elf32_littlearm_vec) tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
21234 bfd_elf32_littlemips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
21235 bfd_elf32_littlemips_vxworks_vec)
21236 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
21237 bfd_elf32_m32c_vec) tb="$tb elf32-m32c.lo elf32.lo $elf" ;;
21238 bfd_elf32_m32r_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
21239 bfd_elf32_m32rle_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
21240 bfd_elf32_m32rlin_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
21241 bfd_elf32_m32rlelin_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
21242 bfd_elf32_m68hc11_vec) tb="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
21243 bfd_elf32_m68hc12_vec) tb="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
21244 bfd_elf32_m68k_vec) tb="$tb elf32-m68k.lo elf32.lo $elf" ;;
21245 bfd_elf32_m88k_vec) tb="$tb elf32-m88k.lo elf32.lo $elf" ;;
21246 bfd_elf32_mcore_big_vec) tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
21247 bfd_elf32_mcore_little_vec) tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
21248 bfd_elf32_mep_vec) tb="$tb elf32-mep.lo elf32.lo $elf" ;;
21249 bfd_elf32_mep_little_vec) tb="$tb elf32-mep.lo elf32.lo $elf" ;;
21250 bfd_elf32_microblaze_vec) tb="$tb elf32-microblaze.lo elf32.lo $elf" ;;
21251 bfd_elf32_mn10200_vec) tb="$tb elf-m10200.lo elf32.lo $elf" ;;
21252 bfd_elf32_mn10300_vec) tb="$tb elf-m10300.lo elf32.lo $elf" ;;
21253 bfd_elf32_mt_vec) tb="$tb elf32-mt.lo elf32.lo $elf" ;;
21254 bfd_elf32_msp430_vec) tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
21255 bfd_elf32_nbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
21256 bfd_elf32_nlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
21257 bfd_elf32_ntradbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
21258 bfd_elf32_ntradlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
21259 bfd_elf32_openrisc_vec) tb="$tb elf32-openrisc.lo elf32.lo $elf" ;;
21260 bfd_elf32_or32_big_vec) tb="$tb elf32-or32.lo elf32.lo $elf" ;;
21261 bfd_elf32_pj_vec) tb="$tb elf32-pj.lo elf32.lo $elf";;
21262 bfd_elf32_pjl_vec) tb="$tb elf32-pj.lo elf32.lo $elf";;
21263 bfd_elf32_powerpc_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
21264 bfd_elf32_powerpcle_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
21265 bfd_elf32_powerpc_vxworks_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
21266 bfd_elf32_s390_vec) tb="$tb elf32-s390.lo elf32.lo $elf" ;;
21267 bfd_elf32_bigscore_vec) tb="$tb elf32-score.lo elf32-score7.lo elf32.lo $elf"; want64=true; target_size=64;;
21268 bfd_elf32_littlescore_vec) tb="$tb elf32-score.lo elf32-score7.lo elf32.lo $elf"; want64=true; target_size=64;;
21269 # FIXME: We include cofflink.lo not because it's needed for
21270 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
21271 # which needs it but does not list it. Should be fixed in right place.
21272 bfd_elf32_sh64_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
21273 bfd_elf32_sh64l_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
21274 bfd_elf32_sh64lin_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
21275 bfd_elf32_sh64blin_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
21276 bfd_elf32_sh64lnbsd_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
21277 bfd_elf32_sh64nbsd_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
21278 bfd_elf32_sh_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
21279 bfd_elf32_shblin_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
21280 bfd_elf32_shl_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
21281 bfd_elf32_shl_symbian_vec) tb="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
21282 bfd_elf32_shlin_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
21283 bfd_elf32_shlnbsd_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
21284 bfd_elf32_shlvxworks_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
21285 bfd_elf32_shnbsd_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
21286 bfd_elf32_shvxworks_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
21287 bfd_elf32_sparc_vec) tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
21288 bfd_elf32_sparc_vxworks_vec) tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
21289 bfd_elf32_spu_vec) tb="$tb elf32-spu.lo elf32.lo $elf" ;;
21290 bfd_elf32_tradbigmips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
21291 bfd_elf32_tradlittlemips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
21292 bfd_elf32_us_cris_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;;
21293 bfd_elf32_v850_vec) tb="$tb elf32-v850.lo elf32.lo $elf" ;;
21294 bfd_elf32_vax_vec) tb="$tb elf32-vax.lo elf32.lo $elf" ;;
21295 bfd_elf32_xstormy16_vec) tb="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
21296 bfd_elf32_xc16x_vec) tb="$tb elf32-xc16x.lo elf32.lo $elf" ;;
21297 bfd_elf32_xtensa_le_vec) tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
21298 bfd_elf32_xtensa_be_vec) tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
21299 bfd_elf64_alpha_freebsd_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
21300 bfd_elf64_alpha_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
21301 bfd_elf64_big_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
21302 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 ;;
21303 bfd_elf64_hppa_linux_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
21304 bfd_elf64_hppa_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
21305 bfd_elf64_ia64_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
21306 bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
21307 bfd_elf64_ia64_little_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
21308 bfd_elf64_ia64_vms_vec) tb="$tb elf64-ia64.lo elf64.lo $elf vmsutil.lo"; target_size=64 ;;
21309 bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
21310 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 ;;
21311 bfd_elf64_mmix_vec) tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
21312 bfd_elf64_powerpc_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
21313 bfd_elf64_powerpcle_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
21314 bfd_elf64_s390_vec) tb="$tb elf64-s390.lo elf64.lo $elf"; target_size=64 ;;
21315 bfd_elf64_sh64_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
21316 bfd_elf64_sh64l_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
21317 bfd_elf64_sh64lin_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
21318 bfd_elf64_sh64blin_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
21319 bfd_elf64_sh64lnbsd_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
21320 bfd_elf64_sh64nbsd_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
21321 bfd_elf64_sparc_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
21322 bfd_elf64_sparc_freebsd_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
21323 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 ;;
21324 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 ;;
21325 bfd_elf64_x86_64_freebsd_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
21326 bfd_elf64_x86_64_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
21327 bfd_elf64_l1om_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
21328 bfd_elf64_l1om_freebsd_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
21329 bfd_mmo_vec) tb="$tb mmo.lo" target_size=64 ;;
21330 bfd_powerpc_pe_vec) tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
21331 bfd_powerpc_pei_vec) tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
21332 bfd_powerpcle_pe_vec) tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
21333 bfd_powerpcle_pei_vec) tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
21334 cris_aout_vec) tb="$tb aout-cris.lo" ;;
21335 demo_64_vec) tb="$tb demo64.lo aout64.lo"; target_size=64 ;;
21336 ecoff_big_vec) tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
21337 ecoff_biglittle_vec) tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
21338 ecoff_little_vec) tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
21339 ecoffalpha_little_vec) tb="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size=64 ;;
21340 go32coff_vec) tb="$tb coff-go32.lo cofflink.lo" ;;
21341 go32stubbedcoff_vec) tb="$tb coff-stgo32.lo cofflink.lo" ;;
21342 h8300coff_vec) tb="$tb coff-h8300.lo reloc16.lo" ;;
21343 h8500coff_vec) tb="$tb coff-h8500.lo reloc16.lo" ;;
21344 host_aout_vec) tb="$tb host-aout.lo aout32.lo" ;;
21345 hp300bsd_vec) tb="$tb hp300bsd.lo aout32.lo" ;;
21346 hp300hpux_vec) tb="$tb hp300hpux.lo aout32.lo" ;;
21347 i386aout_vec) tb="$tb i386aout.lo aout32.lo" ;;
21348 i386bsd_vec) tb="$tb i386bsd.lo aout32.lo" ;;
21349 i386coff_vec) tb="$tb coff-i386.lo cofflink.lo" ;;
21350 x86_64coff_vec) tb="$tb coff-x86_64.lo cofflink.lo"; target_size=64 ;;
21351 i386dynix_vec) tb="$tb i386dynix.lo aout32.lo" ;;
21352 i386freebsd_vec) tb="$tb i386freebsd.lo aout32.lo" ;;
21353 i386linux_vec) tb="$tb i386linux.lo aout32.lo" ;;
21354 i386lynx_aout_vec) tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
21355 i386lynx_coff_vec) tb="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
21356 i386mach3_vec) tb="$tb i386mach3.lo aout32.lo" ;;
21357 i386msdos_vec) tb="$tb i386msdos.lo" ;;
21358 i386netbsd_vec) tb="$tb i386netbsd.lo aout32.lo" ;;
21359 i386os9k_vec) tb="$tb i386os9k.lo aout32.lo" ;;
21360 i386pe_vec) tb="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
21361 i386pei_vec) tb="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
21362 x86_64pe_vec) tb="$tb pe-x86_64.lo pex64igen.lo cofflink.lo"; target_size=64 ;;
21363 x86_64pei_vec) tb="$tb pei-x86_64.lo pex64igen.lo cofflink.lo"; target_size=64 ;;
21364 i860coff_vec) tb="$tb coff-i860.lo cofflink.lo" ;;
21365 icoff_big_vec) tb="$tb coff-i960.lo cofflink.lo" ;;
21366 icoff_little_vec) tb="$tb coff-i960.lo cofflink.lo" ;;
21367 ieee_vec) tb="$tb ieee.lo" ;;
21368 m68k4knetbsd_vec) tb="$tb m68k4knetbsd.lo aout32.lo" ;;
21369 m68kaux_coff_vec) tb="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
21370 m68kcoff_vec) tb="$tb coff-m68k.lo cofflink.lo" ;;
21371 m68kcoffun_vec) tb="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
21372 m68klinux_vec) tb="$tb m68klinux.lo aout32.lo" ;;
21373 m68knetbsd_vec) tb="$tb m68knetbsd.lo aout32.lo" ;;
21374 m68ksysvcoff_vec) tb="$tb coff-svm68k.lo cofflink.lo" ;;
21375 m88kbcs_vec) tb="$tb coff-m88k.lo" ;;
21376 m88kmach3_vec) tb="$tb m88kmach3.lo aout32.lo" ;;
21377 m88kopenbsd_vec) tb="$tb m88kopenbsd.lo aout32.lo" ;;
21378 maxqcoff_vec) tb="$tb coff-maxq.lo" ;;
21379 mach_o_be_vec) tb="$tb mach-o.lo" ;;
21380 mach_o_le_vec) tb="$tb mach-o.lo" ;;
21381 mach_o_fat_vec) tb="$tb mach-o.lo" ;;
21382 mach_o_i386_vec) tb="$tb mach-o-i386.lo" ;;
21383 mcore_pe_big_vec) tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
21384 mcore_pe_little_vec) tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
21385 mcore_pei_big_vec) tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
21386 mcore_pei_little_vec) tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
21387 mipslpe_vec) tb="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
21388 mipslpei_vec) tb="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
21389 newsos3_vec) tb="$tb newsos3.lo aout32.lo" ;;
21390 nlm32_alpha_vec) tb="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size=64 ;;
21391 nlm32_i386_vec) tb="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
21392 nlm32_powerpc_vec) tb="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
21393 nlm32_sparc_vec) tb="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
21394 or32coff_big_vec) tb="$tb coff-or32.lo cofflink.lo" ;;
21395 pc532machaout_vec) tb="$tb pc532-mach.lo aout-ns32k.lo" ;;
21396 pc532netbsd_vec) tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
21397 pef_vec) tb="$tb pef.lo" ;;
21398 pef_xlib_vec) tb="$tb pef.lo" ;;
21399 pdp11_aout_vec) tb="$tb pdp11.lo" ;;
21400 plugin_vec) tb="$tb plugin.lo" ;;
21401 pmac_xcoff_vec) tb="$tb coff-rs6000.lo xcofflink.lo" ;;
21402 ppcboot_vec) tb="$tb ppcboot.lo" ;;
21403 riscix_vec) tb="$tb aout32.lo riscix.lo" ;;
21404 rs6000coff64_vec) tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
21405 rs6000coff_vec) tb="$tb coff-rs6000.lo xcofflink.lo" ;;
21406 shcoff_small_vec) tb="$tb coff-sh.lo cofflink.lo" ;;
21407 shcoff_vec) tb="$tb coff-sh.lo cofflink.lo" ;;
21408 shlcoff_small_vec) tb="$tb coff-sh.lo cofflink.lo" ;;
21409 shlcoff_vec) tb="$tb coff-sh.lo cofflink.lo" ;;
21410 shlpe_vec) tb="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
21411 shlpei_vec) tb="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
21412 som_vec) tb="$tb som.lo" ;;
21413 sparccoff_vec) tb="$tb coff-sparc.lo" ;;
21414 sparcle_aout_vec) tb="$tb aout-sparcle.lo aout32.lo" ;;
21415 sparclinux_vec) tb="$tb sparclinux.lo aout32.lo" ;;
21416 sparclynx_aout_vec) tb="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
21417 sparclynx_coff_vec) tb="$tb cf-sparclynx.lo lynx-core.lo" ;;
21418 sparcnetbsd_vec) tb="$tb sparcnetbsd.lo aout32.lo" ;;
21419 sunos_big_vec) tb="$tb sunos.lo aout32.lo" ;;
21420 sym_vec) tb="$tb xsym.lo" ;;
21421 tic30_aout_vec) tb="$tb aout-tic30.lo" ;;
21422 tic30_coff_vec) tb="$tb coff-tic30.lo" ;;
21423 tic4x_coff0_vec) tb="$tb coff-tic4x.lo" ;;
21424 tic4x_coff0_beh_vec) tb="$tb coff-tic4x.lo" ;;
21425 tic4x_coff1_vec) tb="$tb coff-tic4x.lo" ;;
21426 tic4x_coff1_beh_vec) tb="$tb coff-tic4x.lo" ;;
21427 tic4x_coff2_vec) tb="$tb coff-tic4x.lo" ;;
21428 tic4x_coff2_beh_vec) tb="$tb coff-tic4x.lo" ;;
21429 tic54x_coff0_beh_vec) tb="$tb coff-tic54x.lo" ;;
21430 tic54x_coff0_vec) tb="$tb coff-tic54x.lo" ;;
21431 tic54x_coff1_beh_vec) tb="$tb coff-tic54x.lo" ;;
21432 tic54x_coff1_vec) tb="$tb coff-tic54x.lo" ;;
21433 tic54x_coff2_beh_vec) tb="$tb coff-tic54x.lo" ;;
21434 tic54x_coff2_vec) tb="$tb coff-tic54x.lo" ;;
21435 tic80coff_vec) tb="$tb coff-tic80.lo cofflink.lo" ;;
21436 vaxnetbsd_vec) tb="$tb vaxnetbsd.lo aout32.lo" ;;
21437 vax1knetbsd_vec) tb="$tb vax1knetbsd.lo aout32.lo" ;;
21438 vaxbsd_vec) tb="$tb vaxbsd.lo aout32.lo" ;;
21439 versados_vec) tb="$tb versados.lo" ;;
21440 vms_alpha_vec) tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size=64 ;;
21441 vms_vax_vec) tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
21442 w65_vec) tb="$tb coff-w65.lo reloc16.lo" ;;
21443 we32kcoff_vec) tb="$tb coff-we32k.lo" ;;
21444 z80coff_vec) tb="$tb coff-z80.lo reloc16.lo" ;;
21445 z8kcoff_vec) tb="$tb coff-z8k.lo reloc16.lo cofflink.lo" ;;
21447 # These appear out of order in targets.c
21448 srec_vec) tb="$tb srec.lo" ;;
21449 symbolsrec_vec) tb="$tb srec.lo" ;;
21450 tekhex_vec) tb="$tb tekhex.lo" ;;
21451 cisco_core_big_vec) tb="$tb cisco-core.lo" ;;
21452 cisco_core_little_vec) tb="$tb cisco-core.lo" ;;
21455 *) { { echo "$as_me:$LINENO: error: *** unknown target vector $vec" >&5
21456 echo "$as_me: error: *** unknown target vector $vec" >&2;}
21457 { (exit 1); exit 1; }; } ;;
21460 if test ${target_size} = 64; then
21463 if test x"${vec}" = x"${defvec}"; then
21464 bfd_default_target_size=${target_size}
21468 # Target architecture .o files.
21469 # A couple of CPUs use shorter file names to avoid problems on DOS
21471 ta=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
21473 # Weed out duplicate .o files.
21495 if test x${all_targets} = xtrue ; then
21496 bfd_backends="${bfd_backends}"' $(ALL_BACKENDS)'
21497 bfd_machines="${bfd_machines}"' $(ALL_MACHINES)'
21501 test -n "$assocvecs" &&
21502 assocvecs=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
21503 else # all_targets is true
21504 # Only set these if they will be nonempty, for the clever echo.
21507 test -n "$selvecs" &&
21508 havevecs=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
21509 test -n "$selvecs" &&
21510 selvecs=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
21511 test -n "$selarchs" &&
21512 selarchs=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
21513 fi # all_targets is true
21515 case ${host64}-${target64}-${want64} in
21518 bfd64_libs='$(BFD64_LIBS)'
21519 all_backends='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
21520 if test $BFD_HOST_64_BIT_DEFINED = 0; then
21521 { echo "$as_me:$LINENO: WARNING: You have requested a 64 bit BFD configuration, but" >&5
21522 echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
21523 { echo "$as_me:$LINENO: WARNING: your compiler may not have a 64 bit integral type" >&5
21524 echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
21526 if test -n "$GCC" ; then
21528 echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
21529 echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
21530 # Add more tests for gcc versions with non-working 64-bit support here.
21531 cat >conftest.$ac_ext <<_ACEOF
21534 cat confdefs.h >>conftest.$ac_ext
21535 cat >>conftest.$ac_ext <<_ACEOF
21536 /* end confdefs.h. */
21537 :__GNUC__:__GNUC_MINOR__:__i386__:
21539 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21540 $EGREP ": 2 : 91 : 1 :" >/dev/null 2>&1; then
21542 echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
21543 echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
21545 echo "$as_me:$LINENO: result: no" >&5
21546 echo "${ECHO_T}no" >&6
21550 if test $bad_64bit_gcc = yes ; then
21551 { { echo "$as_me:$LINENO: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&5
21552 echo "$as_me: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&2;}
21553 { (exit 1); exit 1; }; }
21559 all_backends='$(BFD32_BACKENDS)'
21570 if test "$plugins" = "yes"; then
21577 # Determine the host dependant file_ptr a.k.a. off_t type. In order
21578 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
21579 # fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
21580 # Hopefully a reasonable assumption since fseeko et.al. should be
21581 # upward compatible.
21587 for ac_func in ftello ftello64 fseeko fseeko64 fopen64
21589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21590 echo "$as_me:$LINENO: checking for $ac_func" >&5
21591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21592 if eval "test \"\${$as_ac_var+set}\" = set"; then
21593 echo $ECHO_N "(cached) $ECHO_C" >&6
21595 cat >conftest.$ac_ext <<_ACEOF
21598 cat confdefs.h >>conftest.$ac_ext
21599 cat >>conftest.$ac_ext <<_ACEOF
21600 /* end confdefs.h. */
21601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21603 #define $ac_func innocuous_$ac_func
21605 /* System header to define __stub macros and hopefully few prototypes,
21606 which can conflict with char $ac_func (); below.
21607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21608 <limits.h> exists even on freestanding compilers. */
21611 # include <limits.h>
21613 # include <assert.h>
21618 /* Override any gcc2 internal prototype to avoid an error. */
21623 /* We use char because int might match the return type of a gcc2
21624 builtin and then its argument prototype would still apply. */
21626 /* The GNU C library defines this for functions which it implements
21627 to always fail with ENOSYS. Some functions are actually named
21628 something starting with __ and the normal name is an alias. */
21629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21632 char (*f) () = $ac_func;
21641 return f != $ac_func;
21646 rm -f conftest.$ac_objext conftest$ac_exeext
21647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21648 (eval $ac_link) 2>conftest.er1
21650 grep -v '^ *+' conftest.er1 >conftest.err
21652 cat conftest.err >&5
21653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21654 (exit $ac_status); } &&
21655 { ac_try='test -z "$ac_c_werror_flag"
21656 || test ! -s conftest.err'
21657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21658 (eval $ac_try) 2>&5
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); }; } &&
21662 { ac_try='test -s conftest$ac_exeext'
21663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21664 (eval $ac_try) 2>&5
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); }; }; then
21668 eval "$as_ac_var=yes"
21670 echo "$as_me: failed program was:" >&5
21671 sed 's/^/| /' conftest.$ac_ext >&5
21673 eval "$as_ac_var=no"
21675 rm -f conftest.err conftest.$ac_objext \
21676 conftest$ac_exeext conftest.$ac_ext
21678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21680 if test `eval echo '${'$as_ac_var'}'` = yes; then
21681 cat >>confdefs.h <<_ACEOF
21682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21688 if test x"$ac_cv_func_ftello" = xyes -a x"$ac_cv_func_fseeko" = xyes; then
21689 echo "$as_me:$LINENO: checking for off_t" >&5
21690 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
21691 if test "${ac_cv_type_off_t+set}" = set; then
21692 echo $ECHO_N "(cached) $ECHO_C" >&6
21694 cat >conftest.$ac_ext <<_ACEOF
21697 cat confdefs.h >>conftest.$ac_ext
21698 cat >>conftest.$ac_ext <<_ACEOF
21699 /* end confdefs.h. */
21700 $ac_includes_default
21706 if (sizeof (off_t))
21712 rm -f conftest.$ac_objext
21713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21714 (eval $ac_compile) 2>conftest.er1
21716 grep -v '^ *+' conftest.er1 >conftest.err
21718 cat conftest.err >&5
21719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21720 (exit $ac_status); } &&
21721 { ac_try='test -z "$ac_c_werror_flag"
21722 || test ! -s conftest.err'
21723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21724 (eval $ac_try) 2>&5
21726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727 (exit $ac_status); }; } &&
21728 { ac_try='test -s conftest.$ac_objext'
21729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21730 (eval $ac_try) 2>&5
21732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21733 (exit $ac_status); }; }; then
21734 ac_cv_type_off_t=yes
21736 echo "$as_me: failed program was:" >&5
21737 sed 's/^/| /' conftest.$ac_ext >&5
21739 ac_cv_type_off_t=no
21741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21743 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
21744 echo "${ECHO_T}$ac_cv_type_off_t" >&6
21746 echo "$as_me:$LINENO: checking size of off_t" >&5
21747 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
21748 if test "${ac_cv_sizeof_off_t+set}" = set; then
21749 echo $ECHO_N "(cached) $ECHO_C" >&6
21751 if test "$ac_cv_type_off_t" = yes; then
21752 # The cast to unsigned long works around a bug in the HP C Compiler
21753 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21754 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21755 # This bug is HP SR number 8606223364.
21756 if test "$cross_compiling" = yes; then
21757 # Depending upon the size, compute the lo and hi bounds.
21758 cat >conftest.$ac_ext <<_ACEOF
21761 cat confdefs.h >>conftest.$ac_ext
21762 cat >>conftest.$ac_ext <<_ACEOF
21763 /* end confdefs.h. */
21764 $ac_includes_default
21768 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)];
21775 rm -f conftest.$ac_objext
21776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21777 (eval $ac_compile) 2>conftest.er1
21779 grep -v '^ *+' conftest.er1 >conftest.err
21781 cat conftest.err >&5
21782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21783 (exit $ac_status); } &&
21784 { ac_try='test -z "$ac_c_werror_flag"
21785 || test ! -s conftest.err'
21786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21787 (eval $ac_try) 2>&5
21789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21790 (exit $ac_status); }; } &&
21791 { ac_try='test -s conftest.$ac_objext'
21792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21793 (eval $ac_try) 2>&5
21795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21796 (exit $ac_status); }; }; then
21799 cat >conftest.$ac_ext <<_ACEOF
21802 cat confdefs.h >>conftest.$ac_ext
21803 cat >>conftest.$ac_ext <<_ACEOF
21804 /* end confdefs.h. */
21805 $ac_includes_default
21809 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
21816 rm -f conftest.$ac_objext
21817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21818 (eval $ac_compile) 2>conftest.er1
21820 grep -v '^ *+' conftest.er1 >conftest.err
21822 cat conftest.err >&5
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); } &&
21825 { ac_try='test -z "$ac_c_werror_flag"
21826 || test ! -s conftest.err'
21827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21828 (eval $ac_try) 2>&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); }; } &&
21832 { ac_try='test -s conftest.$ac_objext'
21833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21834 (eval $ac_try) 2>&5
21836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21837 (exit $ac_status); }; }; then
21838 ac_hi=$ac_mid; break
21840 echo "$as_me: failed program was:" >&5
21841 sed 's/^/| /' conftest.$ac_ext >&5
21843 ac_lo=`expr $ac_mid + 1`
21844 if test $ac_lo -le $ac_mid; then
21848 ac_mid=`expr 2 '*' $ac_mid + 1`
21850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21853 echo "$as_me: failed program was:" >&5
21854 sed 's/^/| /' conftest.$ac_ext >&5
21856 cat >conftest.$ac_ext <<_ACEOF
21859 cat confdefs.h >>conftest.$ac_ext
21860 cat >>conftest.$ac_ext <<_ACEOF
21861 /* end confdefs.h. */
21862 $ac_includes_default
21866 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)];
21873 rm -f conftest.$ac_objext
21874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21875 (eval $ac_compile) 2>conftest.er1
21877 grep -v '^ *+' conftest.er1 >conftest.err
21879 cat conftest.err >&5
21880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21881 (exit $ac_status); } &&
21882 { ac_try='test -z "$ac_c_werror_flag"
21883 || test ! -s conftest.err'
21884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21885 (eval $ac_try) 2>&5
21887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21888 (exit $ac_status); }; } &&
21889 { ac_try='test -s conftest.$ac_objext'
21890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21891 (eval $ac_try) 2>&5
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); }; }; then
21897 cat >conftest.$ac_ext <<_ACEOF
21900 cat confdefs.h >>conftest.$ac_ext
21901 cat >>conftest.$ac_ext <<_ACEOF
21902 /* end confdefs.h. */
21903 $ac_includes_default
21907 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)];
21914 rm -f conftest.$ac_objext
21915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21916 (eval $ac_compile) 2>conftest.er1
21918 grep -v '^ *+' conftest.er1 >conftest.err
21920 cat conftest.err >&5
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); } &&
21923 { ac_try='test -z "$ac_c_werror_flag"
21924 || test ! -s conftest.err'
21925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21926 (eval $ac_try) 2>&5
21928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21929 (exit $ac_status); }; } &&
21930 { ac_try='test -s conftest.$ac_objext'
21931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21932 (eval $ac_try) 2>&5
21934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935 (exit $ac_status); }; }; then
21936 ac_lo=$ac_mid; break
21938 echo "$as_me: failed program was:" >&5
21939 sed 's/^/| /' conftest.$ac_ext >&5
21941 ac_hi=`expr '(' $ac_mid ')' - 1`
21942 if test $ac_mid -le $ac_hi; then
21946 ac_mid=`expr 2 '*' $ac_mid`
21948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21951 echo "$as_me: failed program was:" >&5
21952 sed 's/^/| /' conftest.$ac_ext >&5
21956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21959 # Binary search between lo and hi bounds.
21960 while test "x$ac_lo" != "x$ac_hi"; do
21961 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21962 cat >conftest.$ac_ext <<_ACEOF
21965 cat confdefs.h >>conftest.$ac_ext
21966 cat >>conftest.$ac_ext <<_ACEOF
21967 /* end confdefs.h. */
21968 $ac_includes_default
21972 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
21979 rm -f conftest.$ac_objext
21980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21981 (eval $ac_compile) 2>conftest.er1
21983 grep -v '^ *+' conftest.er1 >conftest.err
21985 cat conftest.err >&5
21986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21987 (exit $ac_status); } &&
21988 { ac_try='test -z "$ac_c_werror_flag"
21989 || test ! -s conftest.err'
21990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21991 (eval $ac_try) 2>&5
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); }; } &&
21995 { ac_try='test -s conftest.$ac_objext'
21996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21997 (eval $ac_try) 2>&5
21999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000 (exit $ac_status); }; }; then
22003 echo "$as_me: failed program was:" >&5
22004 sed 's/^/| /' conftest.$ac_ext >&5
22006 ac_lo=`expr '(' $ac_mid ')' + 1`
22008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22011 ?*) ac_cv_sizeof_off_t=$ac_lo;;
22012 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
22013 echo "$as_me: error: in \`$ac_pwd':" >&2;}
22014 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
22015 See \`config.log' for more details." >&5
22016 echo "$as_me: error: cannot compute sizeof (off_t), 77
22017 See \`config.log' for more details." >&2;}
22018 { (exit 1); exit 1; }; }; } ;;
22021 if test "$cross_compiling" = yes; then
22022 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
22023 echo "$as_me: error: in \`$ac_pwd':" >&2;}
22024 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22025 See \`config.log' for more details." >&5
22026 echo "$as_me: error: cannot run test program while cross compiling
22027 See \`config.log' for more details." >&2;}
22028 { (exit 1); exit 1; }; }; }
22030 cat >conftest.$ac_ext <<_ACEOF
22033 cat confdefs.h >>conftest.$ac_ext
22034 cat >>conftest.$ac_ext <<_ACEOF
22035 /* end confdefs.h. */
22036 $ac_includes_default
22037 long longval () { return (long) (sizeof (off_t)); }
22038 unsigned long ulongval () { return (long) (sizeof (off_t)); }
22040 #include <stdlib.h>
22045 FILE *f = fopen ("conftest.val", "w");
22048 if (((long) (sizeof (off_t))) < 0)
22050 long i = longval ();
22051 if (i != ((long) (sizeof (off_t))))
22053 fprintf (f, "%ld\n", i);
22057 unsigned long i = ulongval ();
22058 if (i != ((long) (sizeof (off_t))))
22060 fprintf (f, "%lu\n", i);
22062 exit (ferror (f) || fclose (f) != 0);
22068 rm -f conftest$ac_exeext
22069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22070 (eval $ac_link) 2>&5
22072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22073 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22075 (eval $ac_try) 2>&5
22077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22078 (exit $ac_status); }; }; then
22079 ac_cv_sizeof_off_t=`cat conftest.val`
22081 echo "$as_me: program exited with status $ac_status" >&5
22082 echo "$as_me: failed program was:" >&5
22083 sed 's/^/| /' conftest.$ac_ext >&5
22085 ( exit $ac_status )
22086 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
22087 echo "$as_me: error: in \`$ac_pwd':" >&2;}
22088 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
22089 See \`config.log' for more details." >&5
22090 echo "$as_me: error: cannot compute sizeof (off_t), 77
22091 See \`config.log' for more details." >&2;}
22092 { (exit 1); exit 1; }; }; }
22094 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22099 ac_cv_sizeof_off_t=0
22102 echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
22103 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
22104 cat >>confdefs.h <<_ACEOF
22105 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
22110 echo "$as_me:$LINENO: checking file_ptr type" >&5
22111 echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
22112 bfd_file_ptr="long"
22113 bfd_ufile_ptr="unsigned long"
22114 if test x"$ac_cv_func_ftello64" = xyes -a x"$ac_cv_func_fseeko64" = xyes \
22115 -o x"${ac_cv_sizeof_off_t}" = x8; then
22116 bfd_file_ptr=BFD_HOST_64_BIT
22117 bfd_ufile_ptr=BFD_HOST_U_64_BIT
22119 echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
22120 echo "${ECHO_T}$bfd_file_ptr" >&6
22126 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
22127 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
22128 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
22129 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
22130 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
22135 for ac_header in stdlib.h unistd.h
22137 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22139 echo "$as_me:$LINENO: checking for $ac_header" >&5
22140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22142 echo $ECHO_N "(cached) $ECHO_C" >&6
22144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22147 # Is the header compilable?
22148 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22149 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22150 cat >conftest.$ac_ext <<_ACEOF
22153 cat confdefs.h >>conftest.$ac_ext
22154 cat >>conftest.$ac_ext <<_ACEOF
22155 /* end confdefs.h. */
22156 $ac_includes_default
22157 #include <$ac_header>
22159 rm -f conftest.$ac_objext
22160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22161 (eval $ac_compile) 2>conftest.er1
22163 grep -v '^ *+' conftest.er1 >conftest.err
22165 cat conftest.err >&5
22166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22167 (exit $ac_status); } &&
22168 { ac_try='test -z "$ac_c_werror_flag"
22169 || test ! -s conftest.err'
22170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22171 (eval $ac_try) 2>&5
22173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22174 (exit $ac_status); }; } &&
22175 { ac_try='test -s conftest.$ac_objext'
22176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22177 (eval $ac_try) 2>&5
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); }; }; then
22181 ac_header_compiler=yes
22183 echo "$as_me: failed program was:" >&5
22184 sed 's/^/| /' conftest.$ac_ext >&5
22186 ac_header_compiler=no
22188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22189 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22190 echo "${ECHO_T}$ac_header_compiler" >&6
22192 # Is the header present?
22193 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22194 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22195 cat >conftest.$ac_ext <<_ACEOF
22198 cat confdefs.h >>conftest.$ac_ext
22199 cat >>conftest.$ac_ext <<_ACEOF
22200 /* end confdefs.h. */
22201 #include <$ac_header>
22203 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22204 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22206 grep -v '^ *+' conftest.er1 >conftest.err
22208 cat conftest.err >&5
22209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22210 (exit $ac_status); } >/dev/null; then
22211 if test -s conftest.err; then
22212 ac_cpp_err=$ac_c_preproc_warn_flag
22213 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22220 if test -z "$ac_cpp_err"; then
22221 ac_header_preproc=yes
22223 echo "$as_me: failed program was:" >&5
22224 sed 's/^/| /' conftest.$ac_ext >&5
22226 ac_header_preproc=no
22228 rm -f conftest.err conftest.$ac_ext
22229 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22230 echo "${ECHO_T}$ac_header_preproc" >&6
22232 # So? What about this header?
22233 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22235 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22236 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22237 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22238 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22239 ac_header_preproc=yes
22242 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22243 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22244 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22245 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22246 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22247 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22248 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22249 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22251 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22252 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22253 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22256 ## ------------------------------------------ ##
22257 ## Report this to the AC_PACKAGE_NAME lists. ##
22258 ## ------------------------------------------ ##
22261 sed "s/^/$as_me: WARNING: /" >&2
22264 echo "$as_me:$LINENO: checking for $ac_header" >&5
22265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22267 echo $ECHO_N "(cached) $ECHO_C" >&6
22269 eval "$as_ac_Header=\$ac_header_preproc"
22271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22272 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22276 cat >>confdefs.h <<_ACEOF
22277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22285 for ac_func in getpagesize
22287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22288 echo "$as_me:$LINENO: checking for $ac_func" >&5
22289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22290 if eval "test \"\${$as_ac_var+set}\" = set"; then
22291 echo $ECHO_N "(cached) $ECHO_C" >&6
22293 cat >conftest.$ac_ext <<_ACEOF
22296 cat confdefs.h >>conftest.$ac_ext
22297 cat >>conftest.$ac_ext <<_ACEOF
22298 /* end confdefs.h. */
22299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22301 #define $ac_func innocuous_$ac_func
22303 /* System header to define __stub macros and hopefully few prototypes,
22304 which can conflict with char $ac_func (); below.
22305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22306 <limits.h> exists even on freestanding compilers. */
22309 # include <limits.h>
22311 # include <assert.h>
22316 /* Override any gcc2 internal prototype to avoid an error. */
22321 /* We use char because int might match the return type of a gcc2
22322 builtin and then its argument prototype would still apply. */
22324 /* The GNU C library defines this for functions which it implements
22325 to always fail with ENOSYS. Some functions are actually named
22326 something starting with __ and the normal name is an alias. */
22327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22330 char (*f) () = $ac_func;
22339 return f != $ac_func;
22344 rm -f conftest.$ac_objext conftest$ac_exeext
22345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22346 (eval $ac_link) 2>conftest.er1
22348 grep -v '^ *+' conftest.er1 >conftest.err
22350 cat conftest.err >&5
22351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352 (exit $ac_status); } &&
22353 { ac_try='test -z "$ac_c_werror_flag"
22354 || test ! -s conftest.err'
22355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22356 (eval $ac_try) 2>&5
22358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22359 (exit $ac_status); }; } &&
22360 { ac_try='test -s conftest$ac_exeext'
22361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22362 (eval $ac_try) 2>&5
22364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22365 (exit $ac_status); }; }; then
22366 eval "$as_ac_var=yes"
22368 echo "$as_me: failed program was:" >&5
22369 sed 's/^/| /' conftest.$ac_ext >&5
22371 eval "$as_ac_var=no"
22373 rm -f conftest.err conftest.$ac_objext \
22374 conftest$ac_exeext conftest.$ac_ext
22376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22378 if test `eval echo '${'$as_ac_var'}'` = yes; then
22379 cat >>confdefs.h <<_ACEOF
22380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22386 echo "$as_me:$LINENO: checking for working mmap" >&5
22387 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
22388 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22389 echo $ECHO_N "(cached) $ECHO_C" >&6
22391 if test "$cross_compiling" = yes; then
22392 ac_cv_func_mmap_fixed_mapped=no
22394 cat >conftest.$ac_ext <<_ACEOF
22397 cat confdefs.h >>conftest.$ac_ext
22398 cat >>conftest.$ac_ext <<_ACEOF
22399 /* end confdefs.h. */
22400 $ac_includes_default
22401 /* malloc might have been renamed as rpl_malloc. */
22404 /* Thanks to Mike Haertel and Jim Avera for this test.
22405 Here is a matrix of mmap possibilities:
22406 mmap private not fixed
22407 mmap private fixed at somewhere currently unmapped
22408 mmap private fixed at somewhere already mapped
22409 mmap shared not fixed
22410 mmap shared fixed at somewhere currently unmapped
22411 mmap shared fixed at somewhere already mapped
22412 For private mappings, we should verify that changes cannot be read()
22413 back from the file, nor mmap's back from the file at a different
22414 address. (There have been systems where private was not correctly
22415 implemented like the infamous i386 svr4.0, and systems where the
22416 VM page cache was not coherent with the file system buffer cache
22417 like early versions of FreeBSD and possibly contemporary NetBSD.)
22418 For shared mappings, we should conversely verify that changes get
22419 propagated back to all the places they're supposed to be.
22421 Grep wants private fixed already mapped.
22422 The main things grep needs to know about mmap are:
22423 * does it exist and is it safe to write into the mmap'd area
22424 * how to use it (BSD variants) */
22427 #include <sys/mman.h>
22429 #if !STDC_HEADERS && !HAVE_STDLIB_H
22433 /* This mess was copied from the GNU getpagesize.h. */
22434 #if !HAVE_GETPAGESIZE
22435 /* Assume that all systems that can run configure have sys/param.h. */
22436 # if !HAVE_SYS_PARAM_H
22437 # define HAVE_SYS_PARAM_H 1
22440 # ifdef _SC_PAGESIZE
22441 # define getpagesize() sysconf(_SC_PAGESIZE)
22442 # else /* no _SC_PAGESIZE */
22443 # if HAVE_SYS_PARAM_H
22444 # include <sys/param.h>
22445 # ifdef EXEC_PAGESIZE
22446 # define getpagesize() EXEC_PAGESIZE
22447 # else /* no EXEC_PAGESIZE */
22449 # define getpagesize() NBPG * CLSIZE
22452 # endif /* no CLSIZE */
22453 # else /* no NBPG */
22455 # define getpagesize() NBPC
22456 # else /* no NBPC */
22458 # define getpagesize() PAGESIZE
22459 # endif /* PAGESIZE */
22460 # endif /* no NBPC */
22461 # endif /* no NBPG */
22462 # endif /* no EXEC_PAGESIZE */
22463 # else /* no HAVE_SYS_PARAM_H */
22464 # define getpagesize() 8192 /* punt totally */
22465 # endif /* no HAVE_SYS_PARAM_H */
22466 # endif /* no _SC_PAGESIZE */
22468 #endif /* no HAVE_GETPAGESIZE */
22473 char *data, *data2, *data3;
22477 pagesize = getpagesize ();
22479 /* First, make a file with some known garbage in it. */
22480 data = (char *) malloc (pagesize);
22483 for (i = 0; i < pagesize; ++i)
22484 *(data + i) = rand ();
22486 fd = creat ("conftest.mmap", 0600);
22489 if (write (fd, data, pagesize) != pagesize)
22493 /* Next, try to mmap the file at a fixed address which already has
22494 something else allocated at it. If we can, also make sure that
22495 we see the same garbage. */
22496 fd = open ("conftest.mmap", O_RDWR);
22499 data2 = (char *) malloc (2 * pagesize);
22502 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
22503 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22504 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22506 for (i = 0; i < pagesize; ++i)
22507 if (*(data + i) != *(data2 + i))
22510 /* Finally, make sure that changes to the mapped area do not
22511 percolate back to the file as seen by read(). (This is a bug on
22512 some variants of i386 svr4.0.) */
22513 for (i = 0; i < pagesize; ++i)
22514 *(data2 + i) = *(data2 + i) + 1;
22515 data3 = (char *) malloc (pagesize);
22518 if (read (fd, data3, pagesize) != pagesize)
22520 for (i = 0; i < pagesize; ++i)
22521 if (*(data + i) != *(data3 + i))
22527 rm -f conftest$ac_exeext
22528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22529 (eval $ac_link) 2>&5
22531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22534 (eval $ac_try) 2>&5
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); }; }; then
22538 ac_cv_func_mmap_fixed_mapped=yes
22540 echo "$as_me: program exited with status $ac_status" >&5
22541 echo "$as_me: failed program was:" >&5
22542 sed 's/^/| /' conftest.$ac_ext >&5
22544 ( exit $ac_status )
22545 ac_cv_func_mmap_fixed_mapped=no
22547 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22550 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22551 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22552 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22554 cat >>confdefs.h <<\_ACEOF
22555 #define HAVE_MMAP 1
22559 rm -f conftest.mmap
22563 for ac_func in madvise mprotect
22565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22566 echo "$as_me:$LINENO: checking for $ac_func" >&5
22567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22568 if eval "test \"\${$as_ac_var+set}\" = set"; then
22569 echo $ECHO_N "(cached) $ECHO_C" >&6
22571 cat >conftest.$ac_ext <<_ACEOF
22574 cat confdefs.h >>conftest.$ac_ext
22575 cat >>conftest.$ac_ext <<_ACEOF
22576 /* end confdefs.h. */
22577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22579 #define $ac_func innocuous_$ac_func
22581 /* System header to define __stub macros and hopefully few prototypes,
22582 which can conflict with char $ac_func (); below.
22583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22584 <limits.h> exists even on freestanding compilers. */
22587 # include <limits.h>
22589 # include <assert.h>
22594 /* Override any gcc2 internal prototype to avoid an error. */
22599 /* We use char because int might match the return type of a gcc2
22600 builtin and then its argument prototype would still apply. */
22602 /* The GNU C library defines this for functions which it implements
22603 to always fail with ENOSYS. Some functions are actually named
22604 something starting with __ and the normal name is an alias. */
22605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22608 char (*f) () = $ac_func;
22617 return f != $ac_func;
22622 rm -f conftest.$ac_objext conftest$ac_exeext
22623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22624 (eval $ac_link) 2>conftest.er1
22626 grep -v '^ *+' conftest.er1 >conftest.err
22628 cat conftest.err >&5
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); } &&
22631 { ac_try='test -z "$ac_c_werror_flag"
22632 || test ! -s conftest.err'
22633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22634 (eval $ac_try) 2>&5
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); }; } &&
22638 { ac_try='test -s conftest$ac_exeext'
22639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22640 (eval $ac_try) 2>&5
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); }; }; then
22644 eval "$as_ac_var=yes"
22646 echo "$as_me: failed program was:" >&5
22647 sed 's/^/| /' conftest.$ac_ext >&5
22649 eval "$as_ac_var=no"
22651 rm -f conftest.err conftest.$ac_objext \
22652 conftest$ac_exeext conftest.$ac_ext
22654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22656 if test `eval echo '${'$as_ac_var'}'` = yes; then
22657 cat >>confdefs.h <<_ACEOF
22658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22664 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
22666 cat >>confdefs.h <<\_ACEOF
22672 rm -f doc/config.status
22673 ac_config_files="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
22676 ac_config_commands="$ac_config_commands default"
22684 cat >confcache <<\_ACEOF
22685 # This file is a shell script that caches the results of configure
22686 # tests run on this system so they can be shared between configure
22687 # scripts and configure runs, see configure's option --config-cache.
22688 # It is not useful on other systems. If it contains results you don't
22689 # want to keep, you may remove or edit it.
22691 # config.status only pays attention to the cache file if you give it
22692 # the --recheck option to rerun configure.
22694 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22695 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22696 # following values.
22700 # The following way of writing the cache mishandles newlines in values,
22701 # but we know of no workaround that is simple, portable, and efficient.
22702 # So, don't put newlines in cache variables' values.
22703 # Ultrix sh set writes to stderr and can't be redirected directly,
22704 # and sets the high bit in the cache file unless we assign to the vars.
22707 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22709 # `set' does not quote correctly, so add quotes (double-quote
22710 # substitution turns \\\\ into \\, and sed turns \\ into \).
22713 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22716 # `set' quotes correctly as required by POSIX, so do not add quotes.
22718 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22725 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22727 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22729 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22730 if test -w $cache_file; then
22731 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22732 cat confcache >$cache_file
22734 echo "not updating unwritable cache $cache_file"
22739 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22740 # Let make expand exec_prefix.
22741 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22743 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22744 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22745 # trailing colons and then remove the whole line if VPATH becomes empty
22746 # (actually we leave an empty line to preserve line numbers).
22747 if test "x$srcdir" = x.; then
22748 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22749 s/:*\$(srcdir):*/:/;
22750 s/:*\${srcdir}:*/:/;
22752 s/^\([^=]*=[ ]*\):*/\1/;
22758 DEFS=-DHAVE_CONFIG_H
22762 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22763 # 1. Remove the extension, and $U if already installed.
22764 ac_i=`echo "$ac_i" |
22765 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22767 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22768 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22770 LIBOBJS=$ac_libobjs
22772 LTLIBOBJS=$ac_ltlibobjs
22775 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22776 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22777 Usually this means the macro was only invoked conditionally." >&5
22778 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22779 Usually this means the macro was only invoked conditionally." >&2;}
22780 { (exit 1); exit 1; }; }
22782 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22783 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22784 Usually this means the macro was only invoked conditionally." >&5
22785 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22786 Usually this means the macro was only invoked conditionally." >&2;}
22787 { (exit 1); exit 1; }; }
22789 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
22790 { { echo "$as_me:$LINENO: error: conditional \"PLUGINS\" was never defined.
22791 Usually this means the macro was only invoked conditionally." >&5
22792 echo "$as_me: error: conditional \"PLUGINS\" was never defined.
22793 Usually this means the macro was only invoked conditionally." >&2;}
22794 { (exit 1); exit 1; }; }
22796 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22797 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
22798 Usually this means the macro was only invoked conditionally." >&5
22799 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
22800 Usually this means the macro was only invoked conditionally." >&2;}
22801 { (exit 1); exit 1; }; }
22803 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
22804 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
22805 Usually this means the macro was only invoked conditionally." >&5
22806 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
22807 Usually this means the macro was only invoked conditionally." >&2;}
22808 { (exit 1); exit 1; }; }
22810 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
22811 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
22812 Usually this means the macro was only invoked conditionally." >&5
22813 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
22814 Usually this means the macro was only invoked conditionally." >&2;}
22815 { (exit 1); exit 1; }; }
22818 : ${CONFIG_STATUS=./config.status}
22819 ac_clean_files_save=$ac_clean_files
22820 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22821 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22822 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22823 cat >$CONFIG_STATUS <<_ACEOF
22825 # Generated by $as_me.
22826 # Run this file to recreate the current configuration.
22827 # Compiler output produced by configure, useful for debugging
22828 # configure, is in config.log if it exists.
22831 ac_cs_recheck=false
22833 SHELL=\${CONFIG_SHELL-$SHELL}
22836 cat >>$CONFIG_STATUS <<\_ACEOF
22837 ## --------------------- ##
22838 ## M4sh Initialization. ##
22839 ## --------------------- ##
22841 # Be Bourne compatible
22842 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22845 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22846 # is contrary to our usage. Disable this feature.
22847 alias -g '${1+"$@"}'='"$@"'
22848 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22851 DUALCASE=1; export DUALCASE # for MKS sh
22853 # Support unset when possible.
22854 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22861 # Work around bugs in pre-3.0 UWIN ksh.
22862 $as_unset ENV MAIL MAILPATH
22869 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22870 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22871 LC_TELEPHONE LC_TIME
22873 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22874 eval $as_var=C; export $as_var
22880 # Required to use basename.
22881 if expr a : '\(a\)' >/dev/null 2>&1; then
22887 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
22888 as_basename=basename
22894 # Name of the executable.
22895 as_me=`$as_basename "$0" ||
22896 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22897 X"$0" : 'X\(//\)$' \| \
22898 X"$0" : 'X\(/\)$' \| \
22899 . : '\(.\)' 2>/dev/null ||
22901 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22902 /^X\/\(\/\/\)$/{ s//\1/; q; }
22903 /^X\/\(\/\).*/{ s//\1/; q; }
22907 # PATH needs CR, and LINENO needs CR and PATH.
22908 # Avoid depending upon Character Ranges.
22909 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22910 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22911 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22912 as_cr_digits='0123456789'
22913 as_cr_alnum=$as_cr_Letters$as_cr_digits
22915 # The user is always right.
22916 if test "${PATH_SEPARATOR+set}" != set; then
22917 echo "#! /bin/sh" >conf$$.sh
22918 echo "exit 0" >>conf$$.sh
22920 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22929 as_lineno_1=$LINENO
22930 as_lineno_2=$LINENO
22931 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22932 test "x$as_lineno_1" != "x$as_lineno_2" &&
22933 test "x$as_lineno_3" = "x$as_lineno_2" || {
22934 # Find who we are. Look in the path if we contain no path at all
22937 *[\\/]* ) as_myself=$0 ;;
22938 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22939 for as_dir in $PATH
22942 test -z "$as_dir" && as_dir=.
22943 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22948 # We did not find ourselves, most probably we were run as `sh COMMAND'
22949 # in which case we are not to be found in the path.
22950 if test "x$as_myself" = x; then
22953 if test ! -f "$as_myself"; then
22954 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22955 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22956 { (exit 1); exit 1; }; }
22958 case $CONFIG_SHELL in
22960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22961 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22964 test -z "$as_dir" && as_dir=.
22965 for as_base in sh bash ksh sh5; do
22968 if ("$as_dir/$as_base" -c '
22969 as_lineno_1=$LINENO
22970 as_lineno_2=$LINENO
22971 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22972 test "x$as_lineno_1" != "x$as_lineno_2" &&
22973 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
22974 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
22975 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
22976 CONFIG_SHELL=$as_dir/$as_base
22977 export CONFIG_SHELL
22978 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22986 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22987 # uniformly replaced by the line number. The first 'sed' inserts a
22988 # line-number line before each line; the second 'sed' does the real
22989 # work. The second script uses 'N' to pair each line-number line
22990 # with the numbered line, and appends trailing '-' during
22991 # substitution so that $LINENO is not a special case at line end.
22992 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22993 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22994 sed '=' <$as_myself |
22999 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23002 s,^['$as_cr_digits']*\n,,
23003 ' >$as_me.lineno &&
23004 chmod +x $as_me.lineno ||
23005 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23006 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23007 { (exit 1); exit 1; }; }
23009 # Don't try to exec as it changes $[0], causing all sort of problems
23010 # (the dirname of $[0] is not the place where we might find the
23011 # original and so on. Autoconf is especially sensible to this).
23013 # Exit status is that of the last command.
23018 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23019 *c*,-n*) ECHO_N= ECHO_C='
23021 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23022 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23025 if expr a : '\(a\)' >/dev/null 2>&1; then
23031 rm -f conf$$ conf$$.exe conf$$.file
23033 if ln -s conf$$.file conf$$ 2>/dev/null; then
23034 # We could just check for DJGPP; but this test a) works b) is more generic
23035 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23036 if test -f conf$$.exe; then
23037 # Don't use ln at all; we don't have any links
23042 elif ln conf$$.file conf$$ 2>/dev/null; then
23047 rm -f conf$$ conf$$.exe conf$$.file
23049 if mkdir -p . 2>/dev/null; then
23052 test -d ./-p && rmdir ./-p
23056 as_executable_p="test -f"
23058 # Sed expression to map a string onto a valid CPP name.
23059 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23061 # Sed expression to map a string onto a valid variable name.
23062 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23066 # We need space, tab and new line, in precisely that order.
23076 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23077 # report actual input values of CONFIG_FILES etc. instead of their
23078 # values after options handling. Logging --version etc. is OK.
23082 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23083 ## Running $as_me. ##
23088 This file was extended by $as_me, which was
23089 generated by GNU Autoconf 2.59. Invocation command line was
23091 CONFIG_FILES = $CONFIG_FILES
23092 CONFIG_HEADERS = $CONFIG_HEADERS
23093 CONFIG_LINKS = $CONFIG_LINKS
23094 CONFIG_COMMANDS = $CONFIG_COMMANDS
23098 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23102 # Files that config.status was made for.
23103 if test -n "$ac_config_files"; then
23104 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23107 if test -n "$ac_config_headers"; then
23108 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23111 if test -n "$ac_config_links"; then
23112 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23115 if test -n "$ac_config_commands"; then
23116 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23119 cat >>$CONFIG_STATUS <<\_ACEOF
23122 \`$as_me' instantiates files from templates according to the
23123 current configuration.
23125 Usage: $0 [OPTIONS] [FILE]...
23127 -h, --help print this help, then exit
23128 -V, --version print version number, then exit
23129 -q, --quiet do not print progress messages
23130 -d, --debug don't remove temporary files
23131 --recheck update $as_me by reconfiguring in the same conditions
23132 --file=FILE[:TEMPLATE]
23133 instantiate the configuration file FILE
23134 --header=FILE[:TEMPLATE]
23135 instantiate the configuration header FILE
23137 Configuration files:
23140 Configuration headers:
23143 Configuration commands:
23149 cat >>$CONFIG_STATUS <<_ACEOF
23152 configured by $0, generated by GNU Autoconf 2.59,
23153 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23155 Copyright (C) 2003 Free Software Foundation, Inc.
23156 This config.status script is free software; the Free Software Foundation
23157 gives unlimited permission to copy, distribute and modify it."
23162 cat >>$CONFIG_STATUS <<\_ACEOF
23163 # If no file are specified by the user, then we need to provide default
23164 # value. By we need to know if files were specified by the user.
23170 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23171 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23179 *) # This is not an option, so the user has probably given explicit
23182 ac_need_defaults=false;;
23186 # Handling of the options.
23188 cat >>$CONFIG_STATUS <<\_ACEOF
23189 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23191 --version | --vers* | -V )
23192 echo "$ac_cs_version"; exit 0 ;;
23194 # Conflict between --help and --header
23195 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23196 Try \`$0 --help' for more information." >&5
23197 echo "$as_me: error: ambiguous option: $1
23198 Try \`$0 --help' for more information." >&2;}
23199 { (exit 1); exit 1; }; };;
23200 --help | --hel | -h )
23201 echo "$ac_cs_usage"; exit 0 ;;
23202 --debug | --d* | -d )
23204 --file | --fil | --fi | --f )
23206 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23207 ac_need_defaults=false;;
23208 --header | --heade | --head | --hea )
23210 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23211 ac_need_defaults=false;;
23212 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23213 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23216 # This is an error.
23217 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23218 Try \`$0 --help' for more information." >&5
23219 echo "$as_me: error: unrecognized option: $1
23220 Try \`$0 --help' for more information." >&2;}
23221 { (exit 1); exit 1; }; } ;;
23223 *) ac_config_targets="$ac_config_targets $1" ;;
23229 ac_configure_extra_args=
23231 if $ac_cs_silent; then
23233 ac_configure_extra_args="$ac_configure_extra_args --silent"
23237 cat >>$CONFIG_STATUS <<_ACEOF
23238 if \$ac_cs_recheck; then
23239 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23240 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23245 cat >>$CONFIG_STATUS <<_ACEOF
23247 # INIT-COMMANDS section.
23250 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23253 # The HP-UX ksh and POSIX shell print the target directory to stdout
23254 # if CDPATH is set.
23255 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23257 sed_quote_subst='$sed_quote_subst'
23258 double_quote_subst='$double_quote_subst'
23259 delay_variable_subst='$delay_variable_subst'
23260 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
23261 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
23262 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
23263 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
23264 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
23265 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
23266 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
23267 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
23268 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
23269 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
23270 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
23271 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
23272 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
23273 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
23274 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
23275 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
23276 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
23277 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
23278 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
23279 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
23280 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
23281 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
23282 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
23283 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
23284 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
23285 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
23286 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
23287 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23288 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
23289 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
23290 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
23291 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
23292 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
23293 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
23294 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
23295 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23296 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23297 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23298 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
23299 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
23300 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
23301 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
23302 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
23303 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
23304 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"`'
23305 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"`'
23306 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
23307 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
23308 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
23309 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
23310 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
23311 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
23312 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
23313 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
23314 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
23315 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
23316 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
23317 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
23318 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
23319 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
23320 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
23321 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
23322 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23323 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23324 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
23325 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
23326 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
23327 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
23328 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
23329 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23330 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23331 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23332 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23333 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23334 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23335 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
23336 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
23337 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
23338 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
23339 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
23340 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
23341 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
23342 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
23343 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
23344 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23345 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
23346 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
23347 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
23348 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
23349 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
23350 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23351 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
23352 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
23353 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23354 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
23355 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
23356 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
23357 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
23358 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
23359 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23360 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23361 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
23362 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
23363 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
23364 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
23365 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23366 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23367 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23368 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
23369 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
23370 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
23371 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
23372 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
23373 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
23374 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
23375 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
23376 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
23377 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
23380 LTCFLAGS='$LTCFLAGS'
23381 compiler='$compiler_DEFAULT'
23383 # Quote evaled strings.
23395 deplibs_check_method \
23404 lt_cv_sys_global_symbol_pipe \
23405 lt_cv_sys_global_symbol_to_cdecl \
23406 lt_cv_sys_global_symbol_to_c_name_address \
23407 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
23410 lt_prog_compiler_no_builtin_flag \
23411 lt_prog_compiler_wl \
23412 lt_prog_compiler_pic \
23413 lt_prog_compiler_static \
23414 lt_cv_prog_compiler_c_o \
23422 export_dynamic_flag_spec \
23423 whole_archive_flag_spec \
23424 compiler_needs_object \
23426 allow_undefined_flag \
23427 no_undefined_flag \
23428 hardcode_libdir_flag_spec \
23429 hardcode_libdir_flag_spec_ld \
23430 hardcode_libdir_separator \
23435 variables_saved_for_relink \
23437 library_names_spec \
23442 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
23443 *[\\\\\\\`\\"\\\$]*)
23444 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
23447 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23452 # Double-quote double-evaled strings.
23453 for var in reload_cmds \
23454 old_postinstall_cmds \
23455 old_postuninstall_cmds \
23457 extract_expsyms_cmds \
23458 old_archive_from_new_cmds \
23459 old_archive_from_expsyms_cmds \
23461 archive_expsym_cmds \
23463 module_expsym_cmds \
23464 export_symbols_cmds \
23467 postuninstall_cmds \
23469 sys_lib_search_path_spec \
23470 sys_lib_dlsearch_path_spec; do
23471 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
23472 *[\\\\\\\`\\"\\\$]*)
23473 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
23476 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23481 # Fix-up fallback echo if it was mangled by the above quoting rules.
23483 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
23487 ac_aux_dir='$ac_aux_dir'
23488 xsi_shell='$xsi_shell'
23489 lt_shell_append='$lt_shell_append'
23491 # See if we are running on zsh, and set the options which allow our
23492 # commands through without removal of \ escapes INIT.
23493 if test -n "\${ZSH_VERSION+set}" ; then
23494 setopt NO_GLOB_SUBST
23500 TIMESTAMP='$TIMESTAMP'
23506 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
23507 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
23509 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
23510 # Capture the value of LINGUAS because we need it to compute CATALOGS.
23511 LINGUAS="${LINGUAS-%UNSET%}"
23516 acx_cv_header_stdint="$acx_cv_header_stdint"
23517 acx_cv_type_int8_t="$acx_cv_type_int8_t"
23518 acx_cv_type_int16_t="$acx_cv_type_int16_t"
23519 acx_cv_type_int32_t="$acx_cv_type_int32_t"
23520 acx_cv_type_int64_t="$acx_cv_type_int64_t"
23521 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
23522 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
23523 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
23524 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
23525 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
23526 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
23527 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
23528 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
23529 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
23537 cat >>$CONFIG_STATUS <<\_ACEOF
23538 for ac_config_target in $ac_config_targets
23540 case "$ac_config_target" in
23541 # Handling of arguments.
23542 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23543 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
23544 "bfd-in3.h" ) CONFIG_FILES="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
23545 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
23546 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
23547 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
23548 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
23549 "bfd_stdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS bfd_stdint.h" ;;
23550 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
23551 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
23552 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23553 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23554 { (exit 1); exit 1; }; };;
23558 # If the user did not use the arguments to specify the items to instantiate,
23559 # then the envvar interface is used. Set only those that are not.
23560 # We use the long form for the default assignment because of an extremely
23561 # bizarre bug on SunOS 4.1.3.
23562 if $ac_need_defaults; then
23563 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23564 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23565 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23568 # Have a temporary directory for convenience. Make it in the build tree
23569 # simply because there is no reason to put it here, and in addition,
23570 # creating and moving files from /tmp can sometimes cause problems.
23571 # Create a temporary directory, and hook for its removal unless debugging.
23574 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23575 trap '{ (exit 1); exit 1; }' 1 2 13 15
23578 # Create a (secure) tmp directory for tmp files.
23581 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23582 test -n "$tmp" && test -d "$tmp"
23585 tmp=./confstat$$-$RANDOM
23586 (umask 077 && mkdir $tmp)
23589 echo "$me: cannot create a temporary directory in ." >&2
23590 { (exit 1); exit 1; }
23595 cat >>$CONFIG_STATUS <<_ACEOF
23598 # CONFIG_FILES section.
23601 # No need to generate the scripts if there are no CONFIG_FILES.
23602 # This happens for instance when ./config.status config.h
23603 if test -n "\$CONFIG_FILES"; then
23604 # Protect against being on the right side of a sed subst in config.status.
23605 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23606 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23607 s,@SHELL@,$SHELL,;t t
23608 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23609 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23610 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23611 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23612 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23613 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23614 s,@exec_prefix@,$exec_prefix,;t t
23615 s,@prefix@,$prefix,;t t
23616 s,@program_transform_name@,$program_transform_name,;t t
23617 s,@bindir@,$bindir,;t t
23618 s,@sbindir@,$sbindir,;t t
23619 s,@libexecdir@,$libexecdir,;t t
23620 s,@datadir@,$datadir,;t t
23621 s,@sysconfdir@,$sysconfdir,;t t
23622 s,@sharedstatedir@,$sharedstatedir,;t t
23623 s,@localstatedir@,$localstatedir,;t t
23624 s,@libdir@,$libdir,;t t
23625 s,@includedir@,$includedir,;t t
23626 s,@oldincludedir@,$oldincludedir,;t t
23627 s,@infodir@,$infodir,;t t
23628 s,@mandir@,$mandir,;t t
23629 s,@build_alias@,$build_alias,;t t
23630 s,@host_alias@,$host_alias,;t t
23631 s,@target_alias@,$target_alias,;t t
23632 s,@DEFS@,$DEFS,;t t
23633 s,@ECHO_C@,$ECHO_C,;t t
23634 s,@ECHO_N@,$ECHO_N,;t t
23635 s,@ECHO_T@,$ECHO_T,;t t
23636 s,@LIBS@,$LIBS,;t t
23637 s,@build@,$build,;t t
23638 s,@build_cpu@,$build_cpu,;t t
23639 s,@build_vendor@,$build_vendor,;t t
23640 s,@build_os@,$build_os,;t t
23641 s,@host@,$host,;t t
23642 s,@host_cpu@,$host_cpu,;t t
23643 s,@host_vendor@,$host_vendor,;t t
23644 s,@host_os@,$host_os,;t t
23645 s,@target@,$target,;t t
23646 s,@target_cpu@,$target_cpu,;t t
23647 s,@target_vendor@,$target_vendor,;t t
23648 s,@target_os@,$target_os,;t t
23650 s,@CFLAGS@,$CFLAGS,;t t
23651 s,@LDFLAGS@,$LDFLAGS,;t t
23652 s,@CPPFLAGS@,$CPPFLAGS,;t t
23653 s,@ac_ct_CC@,$ac_ct_CC,;t t
23654 s,@EXEEXT@,$EXEEXT,;t t
23655 s,@OBJEXT@,$OBJEXT,;t t
23656 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23657 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23658 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23659 s,@CYGPATH_W@,$CYGPATH_W,;t t
23660 s,@PACKAGE@,$PACKAGE,;t t
23661 s,@VERSION@,$VERSION,;t t
23662 s,@ACLOCAL@,$ACLOCAL,;t t
23663 s,@AUTOCONF@,$AUTOCONF,;t t
23664 s,@AUTOMAKE@,$AUTOMAKE,;t t
23665 s,@AUTOHEADER@,$AUTOHEADER,;t t
23666 s,@MAKEINFO@,$MAKEINFO,;t t
23667 s,@install_sh@,$install_sh,;t t
23668 s,@STRIP@,$STRIP,;t t
23669 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23670 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
23671 s,@mkdir_p@,$mkdir_p,;t t
23673 s,@SET_MAKE@,$SET_MAKE,;t t
23674 s,@am__leading_dot@,$am__leading_dot,;t t
23675 s,@AMTAR@,$AMTAR,;t t
23676 s,@am__tar@,$am__tar,;t t
23677 s,@am__untar@,$am__untar,;t t
23678 s,@DEPDIR@,$DEPDIR,;t t
23679 s,@am__include@,$am__include,;t t
23680 s,@am__quote@,$am__quote,;t t
23681 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
23682 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
23683 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
23684 s,@CCDEPMODE@,$CCDEPMODE,;t t
23685 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
23686 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
23688 s,@ac_ct_AR@,$ac_ct_AR,;t t
23689 s,@RANLIB@,$RANLIB,;t t
23690 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23692 s,@EGREP@,$EGREP,;t t
23693 s,@LIBTOOL@,$LIBTOOL,;t t
23695 s,@FGREP@,$FGREP,;t t
23696 s,@GREP@,$GREP,;t t
23698 s,@DUMPBIN@,$DUMPBIN,;t t
23699 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
23701 s,@LN_S@,$LN_S,;t t
23702 s,@OBJDUMP@,$OBJDUMP,;t t
23703 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
23704 s,@lt_ECHO@,$lt_ECHO,;t t
23705 s,@DSYMUTIL@,$DSYMUTIL,;t t
23706 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
23707 s,@NMEDIT@,$NMEDIT,;t t
23708 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
23709 s,@LIPO@,$LIPO,;t t
23710 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
23711 s,@OTOOL@,$OTOOL,;t t
23712 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
23713 s,@OTOOL64@,$OTOOL64,;t t
23714 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
23715 s,@PLUGINS_TRUE@,$PLUGINS_TRUE,;t t
23716 s,@PLUGINS_FALSE@,$PLUGINS_FALSE,;t t
23717 s,@DEBUGDIR@,$DEBUGDIR,;t t
23718 s,@PKGVERSION@,$PKGVERSION,;t t
23719 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
23720 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t
23721 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
23722 s,@NO_WERROR@,$NO_WERROR,;t t
23723 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
23724 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
23725 s,@MAINT@,$MAINT,;t t
23726 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
23727 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
23728 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
23729 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
23730 s,@host_noncanonical@,$host_noncanonical,;t t
23731 s,@target_noncanonical@,$target_noncanonical,;t t
23732 s,@bfdlibdir@,$bfdlibdir,;t t
23733 s,@bfdincludedir@,$bfdincludedir,;t t
23734 s,@USE_NLS@,$USE_NLS,;t t
23735 s,@LIBINTL@,$LIBINTL,;t t
23736 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
23737 s,@INCINTL@,$INCINTL,;t t
23738 s,@XGETTEXT@,$XGETTEXT,;t t
23739 s,@GMSGFMT@,$GMSGFMT,;t t
23740 s,@POSUB@,$POSUB,;t t
23741 s,@CATALOGS@,$CATALOGS,;t t
23742 s,@DATADIRNAME@,$DATADIRNAME,;t t
23743 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
23744 s,@GENCAT@,$GENCAT,;t t
23745 s,@CATOBJEXT@,$CATOBJEXT,;t t
23746 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
23747 s,@MSGFMT@,$MSGFMT,;t t
23748 s,@MSGMERGE@,$MSGMERGE,;t t
23749 s,@HDEFINES@,$HDEFINES,;t t
23750 s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
23751 s,@BFD_HOST_64BIT_LONG_LONG@,$BFD_HOST_64BIT_LONG_LONG,;t t
23752 s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
23753 s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
23754 s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
23755 s,@BFD_HOSTPTR_T@,$BFD_HOSTPTR_T,;t t
23756 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
23757 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
23758 s,@COREFILE@,$COREFILE,;t t
23759 s,@COREFLAG@,$COREFLAG,;t t
23760 s,@LIBM@,$LIBM,;t t
23761 s,@SHARED_LDFLAGS@,$SHARED_LDFLAGS,;t t
23762 s,@SHARED_LIBADD@,$SHARED_LIBADD,;t t
23763 s,@TDEFINES@,$TDEFINES,;t t
23764 s,@wordsize@,$wordsize,;t t
23765 s,@bfd64_libs@,$bfd64_libs,;t t
23766 s,@all_backends@,$all_backends,;t t
23767 s,@bfd_backends@,$bfd_backends,;t t
23768 s,@bfd_machines@,$bfd_machines,;t t
23769 s,@bfd_default_target_size@,$bfd_default_target_size,;t t
23770 s,@supports_plugins@,$supports_plugins,;t t
23771 s,@bfd_file_ptr@,$bfd_file_ptr,;t t
23772 s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
23773 s,@tdefaults@,$tdefaults,;t t
23774 s,@datarootdir@,$datarootdir,;t t
23775 s,@docdir@,$docdir,;t t
23776 s,@htmldir@,$htmldir,;t t
23777 s,@pdfdir@,$pdfdir,;t t
23778 s,@LIBOBJS@,$LIBOBJS,;t t
23779 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23784 cat >>$CONFIG_STATUS <<\_ACEOF
23785 # Split the substitutions into bite-sized pieces for seds with
23786 # small command number limits, like on Digital OSF/1 and HP-UX.
23787 ac_max_sed_lines=48
23788 ac_sed_frag=1 # Number of current file.
23789 ac_beg=1 # First line for current file.
23790 ac_end=$ac_max_sed_lines # Line after last line for current file.
23793 while $ac_more_lines; do
23794 if test $ac_beg -gt 1; then
23795 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23797 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23799 if test ! -s $tmp/subs.frag; then
23800 ac_more_lines=false
23802 # The purpose of the label and of the branching condition is to
23803 # speed up the sed processing (if there are no `@' at all, there
23804 # is no need to browse any of the substitutions).
23805 # These are the two extra sed commands mentioned above.
23807 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23808 if test -z "$ac_sed_cmds"; then
23809 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23811 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23813 ac_sed_frag=`expr $ac_sed_frag + 1`
23815 ac_end=`expr $ac_end + $ac_max_sed_lines`
23818 if test -z "$ac_sed_cmds"; then
23821 fi # test -n "$CONFIG_FILES"
23824 cat >>$CONFIG_STATUS <<\_ACEOF
23825 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23826 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23828 - | *:- | *:-:* ) # input from stdin
23830 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23831 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23832 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23833 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23834 * ) ac_file_in=$ac_file.in ;;
23837 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23838 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23839 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23840 X"$ac_file" : 'X\(//\)[^/]' \| \
23841 X"$ac_file" : 'X\(//\)$' \| \
23842 X"$ac_file" : 'X\(/\)' \| \
23843 . : '\(.\)' 2>/dev/null ||
23845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23846 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23847 /^X\(\/\/\)$/{ s//\1/; q; }
23848 /^X\(\/\).*/{ s//\1/; q; }
23850 { if $as_mkdir_p; then
23855 while test ! -d "$as_dir"; do
23856 as_dirs="$as_dir $as_dirs"
23857 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23858 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23859 X"$as_dir" : 'X\(//\)[^/]' \| \
23860 X"$as_dir" : 'X\(//\)$' \| \
23861 X"$as_dir" : 'X\(/\)' \| \
23862 . : '\(.\)' 2>/dev/null ||
23864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23865 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23866 /^X\(\/\/\)$/{ s//\1/; q; }
23867 /^X\(\/\).*/{ s//\1/; q; }
23870 test ! -n "$as_dirs" || mkdir $as_dirs
23871 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23872 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23873 { (exit 1); exit 1; }; }; }
23877 if test "$ac_dir" != .; then
23878 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23879 # A "../" for each directory in $ac_dir_suffix.
23880 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23882 ac_dir_suffix= ac_top_builddir=
23886 .) # No --srcdir option. We are building in place.
23888 if test -z "$ac_top_builddir"; then
23891 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23893 [\\/]* | ?:[\\/]* ) # Absolute path.
23894 ac_srcdir=$srcdir$ac_dir_suffix;
23895 ac_top_srcdir=$srcdir ;;
23896 *) # Relative path.
23897 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23898 ac_top_srcdir=$ac_top_builddir$srcdir ;;
23901 # Do not use `cd foo && pwd` to compute absolute paths, because
23902 # the directories may not exist.
23904 .) ac_abs_builddir="$ac_dir";;
23907 .) ac_abs_builddir=`pwd`;;
23908 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23909 *) ac_abs_builddir=`pwd`/"$ac_dir";;
23912 case $ac_abs_builddir in
23913 .) ac_abs_top_builddir=${ac_top_builddir}.;;
23915 case ${ac_top_builddir}. in
23916 .) ac_abs_top_builddir=$ac_abs_builddir;;
23917 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23918 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23921 case $ac_abs_builddir in
23922 .) ac_abs_srcdir=$ac_srcdir;;
23925 .) ac_abs_srcdir=$ac_abs_builddir;;
23926 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23927 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23930 case $ac_abs_builddir in
23931 .) ac_abs_top_srcdir=$ac_top_srcdir;;
23933 case $ac_top_srcdir in
23934 .) ac_abs_top_srcdir=$ac_abs_builddir;;
23935 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23936 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23942 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23943 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
23946 if test x"$ac_file" != x-; then
23947 { echo "$as_me:$LINENO: creating $ac_file" >&5
23948 echo "$as_me: creating $ac_file" >&6;}
23951 # Let's still pretend it is `configure' which instantiates (i.e., don't
23952 # use $as_me), people would be surprised to read:
23953 # /* config.h. Generated by config.status. */
23954 if test x"$ac_file" = x-; then
23957 configure_input="$ac_file. "
23959 configure_input=$configure_input"Generated from `echo $ac_file_in |
23960 sed 's,.*/,,'` by configure."
23962 # First look for the input files in the build tree, otherwise in the
23964 ac_file_inputs=`IFS=:
23965 for f in $ac_file_in; do
23967 -) echo $tmp/stdin ;;
23969 # Absolute (can't be DOS-style, as IFS=:)
23970 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23971 echo "$as_me: error: cannot find input file: $f" >&2;}
23972 { (exit 1); exit 1; }; }
23975 if test -f "$f"; then
23978 elif test -f "$srcdir/$f"; then
23983 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23984 echo "$as_me: error: cannot find input file: $f" >&2;}
23985 { (exit 1); exit 1; }; }
23988 done` || { (exit 1); exit 1; }
23990 cat >>$CONFIG_STATUS <<_ACEOF
23994 cat >>$CONFIG_STATUS <<\_ACEOF
23996 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23997 s,@configure_input@,$configure_input,;t t
23998 s,@srcdir@,$ac_srcdir,;t t
23999 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24000 s,@top_srcdir@,$ac_top_srcdir,;t t
24001 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24002 s,@builddir@,$ac_builddir,;t t
24003 s,@abs_builddir@,$ac_abs_builddir,;t t
24004 s,@top_builddir@,$ac_top_builddir,;t t
24005 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24006 s,@INSTALL@,$ac_INSTALL,;t t
24007 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24009 if test x"$ac_file" != x-; then
24010 mv $tmp/out $ac_file
24018 cat >>$CONFIG_STATUS <<\_ACEOF
24021 # CONFIG_HEADER section.
24024 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24025 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24027 # ac_d sets the value in "#define NAME VALUE" lines.
24028 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24029 ac_dB='[ ].*$,\1#\2'
24032 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24033 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24034 ac_uB='$,\1#\2define\3'
24038 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24039 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24041 - | *:- | *:-:* ) # input from stdin
24043 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24044 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24045 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24046 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24047 * ) ac_file_in=$ac_file.in ;;
24050 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24051 echo "$as_me: creating $ac_file" >&6;}
24053 # First look for the input files in the build tree, otherwise in the
24055 ac_file_inputs=`IFS=:
24056 for f in $ac_file_in; do
24058 -) echo $tmp/stdin ;;
24060 # Absolute (can't be DOS-style, as IFS=:)
24061 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24062 echo "$as_me: error: cannot find input file: $f" >&2;}
24063 { (exit 1); exit 1; }; }
24064 # Do quote $f, to prevent DOS paths from being IFS'd.
24067 if test -f "$f"; then
24070 elif test -f "$srcdir/$f"; then
24075 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24076 echo "$as_me: error: cannot find input file: $f" >&2;}
24077 { (exit 1); exit 1; }; }
24080 done` || { (exit 1); exit 1; }
24081 # Remove the trailing spaces.
24082 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24086 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24087 # `conftest.undefs', that substitutes the proper values into
24088 # config.h.in to produce config.h. The first handles `#define'
24089 # templates, and the second `#undef' templates.
24090 # And first: Protect against being on the right side of a sed subst in
24091 # config.status. Protect against being in an unquoted here document
24092 # in config.status.
24093 rm -f conftest.defines conftest.undefs
24094 # Using a here document instead of a string reduces the quoting nightmare.
24095 # Putting comments in sed scripts is not portable.
24097 # `end' is used to avoid that the second main sed command (meant for
24098 # 0-ary CPP macros) applies to n-ary macro definitions.
24099 # See the Autoconf documentation for `clear'.
24100 cat >confdef2sed.sed <<\_ACEOF
24105 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24107 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24110 # If some macros were called several times there might be several times
24111 # the same #defines, which is useless. Nevertheless, we may not want to
24112 # sort them, since we want the *last* AC-DEFINE to be honored.
24113 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24114 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24115 rm -f confdef2sed.sed
24117 # This sed command replaces #undef with comments. This is necessary, for
24118 # example, in the case of _POSIX_SOURCE, which is predefined and required
24119 # on some systems where configure will not decide to define it.
24120 cat >>conftest.undefs <<\_ACEOF
24121 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24124 # Break up conftest.defines because some shells have a limit on the size
24125 # of here documents, and old seds have small limits too (100 cmds).
24126 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24127 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24128 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24129 echo ' :' >>$CONFIG_STATUS
24130 rm -f conftest.tail
24131 while grep . conftest.defines >/dev/null
24133 # Write a limited-size here document to $tmp/defines.sed.
24134 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24135 # Speed up: don't consider the non `#define' lines.
24136 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24137 # Work around the forget-to-reset-the-flag bug.
24138 echo 't clr' >>$CONFIG_STATUS
24139 echo ': clr' >>$CONFIG_STATUS
24140 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24142 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24144 mv $tmp/out $tmp/in
24146 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24147 rm -f conftest.defines
24148 mv conftest.tail conftest.defines
24150 rm -f conftest.defines
24151 echo ' fi # grep' >>$CONFIG_STATUS
24152 echo >>$CONFIG_STATUS
24154 # Break up conftest.undefs because some shells have a limit on the size
24155 # of here documents, and old seds have small limits too (100 cmds).
24156 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24157 rm -f conftest.tail
24158 while grep . conftest.undefs >/dev/null
24160 # Write a limited-size here document to $tmp/undefs.sed.
24161 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24162 # Speed up: don't consider the non `#undef'
24163 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24164 # Work around the forget-to-reset-the-flag bug.
24165 echo 't clr' >>$CONFIG_STATUS
24166 echo ': clr' >>$CONFIG_STATUS
24167 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24169 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24171 mv $tmp/out $tmp/in
24173 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24174 rm -f conftest.undefs
24175 mv conftest.tail conftest.undefs
24177 rm -f conftest.undefs
24179 cat >>$CONFIG_STATUS <<\_ACEOF
24180 # Let's still pretend it is `configure' which instantiates (i.e., don't
24181 # use $as_me), people would be surprised to read:
24182 # /* config.h. Generated by config.status. */
24183 if test x"$ac_file" = x-; then
24184 echo "/* Generated by configure. */" >$tmp/config.h
24186 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24188 cat $tmp/in >>$tmp/config.h
24190 if test x"$ac_file" != x-; then
24191 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24192 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24193 echo "$as_me: $ac_file is unchanged" >&6;}
24195 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24196 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24197 X"$ac_file" : 'X\(//\)[^/]' \| \
24198 X"$ac_file" : 'X\(//\)$' \| \
24199 X"$ac_file" : 'X\(/\)' \| \
24200 . : '\(.\)' 2>/dev/null ||
24202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24203 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24204 /^X\(\/\/\)$/{ s//\1/; q; }
24205 /^X\(\/\).*/{ s//\1/; q; }
24207 { if $as_mkdir_p; then
24212 while test ! -d "$as_dir"; do
24213 as_dirs="$as_dir $as_dirs"
24214 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24215 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24216 X"$as_dir" : 'X\(//\)[^/]' \| \
24217 X"$as_dir" : 'X\(//\)$' \| \
24218 X"$as_dir" : 'X\(/\)' \| \
24219 . : '\(.\)' 2>/dev/null ||
24221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24222 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24223 /^X\(\/\/\)$/{ s//\1/; q; }
24224 /^X\(\/\).*/{ s//\1/; q; }
24227 test ! -n "$as_dirs" || mkdir $as_dirs
24228 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24229 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24230 { (exit 1); exit 1; }; }; }
24233 mv $tmp/config.h $ac_file
24237 rm -f $tmp/config.h
24239 # Compute $ac_file's index in $config_headers.
24241 for _am_header in $config_headers :; do
24242 case $_am_header in
24243 $ac_file | $ac_file:* )
24246 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24249 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
24250 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24251 X$ac_file : 'X\(//\)[^/]' \| \
24252 X$ac_file : 'X\(//\)$' \| \
24253 X$ac_file : 'X\(/\)' \| \
24254 . : '\(.\)' 2>/dev/null ||
24256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24257 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24258 /^X\(\/\/\)$/{ s//\1/; q; }
24259 /^X\(\/\).*/{ s//\1/; q; }
24260 s/.*/./; q'`/stamp-h$_am_stamp_count
24263 cat >>$CONFIG_STATUS <<\_ACEOF
24266 # CONFIG_COMMANDS section.
24268 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24269 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24270 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24271 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24272 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24273 X"$ac_dest" : 'X\(//\)[^/]' \| \
24274 X"$ac_dest" : 'X\(//\)$' \| \
24275 X"$ac_dest" : 'X\(/\)' \| \
24276 . : '\(.\)' 2>/dev/null ||
24278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24279 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24280 /^X\(\/\/\)$/{ s//\1/; q; }
24281 /^X\(\/\).*/{ s//\1/; q; }
24283 { if $as_mkdir_p; then
24288 while test ! -d "$as_dir"; do
24289 as_dirs="$as_dir $as_dirs"
24290 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24292 X"$as_dir" : 'X\(//\)[^/]' \| \
24293 X"$as_dir" : 'X\(//\)$' \| \
24294 X"$as_dir" : 'X\(/\)' \| \
24295 . : '\(.\)' 2>/dev/null ||
24297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24298 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24299 /^X\(\/\/\)$/{ s//\1/; q; }
24300 /^X\(\/\).*/{ s//\1/; q; }
24303 test ! -n "$as_dirs" || mkdir $as_dirs
24304 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24305 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24306 { (exit 1); exit 1; }; }; }
24310 if test "$ac_dir" != .; then
24311 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24312 # A "../" for each directory in $ac_dir_suffix.
24313 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24315 ac_dir_suffix= ac_top_builddir=
24319 .) # No --srcdir option. We are building in place.
24321 if test -z "$ac_top_builddir"; then
24324 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24326 [\\/]* | ?:[\\/]* ) # Absolute path.
24327 ac_srcdir=$srcdir$ac_dir_suffix;
24328 ac_top_srcdir=$srcdir ;;
24329 *) # Relative path.
24330 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24331 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24334 # Do not use `cd foo && pwd` to compute absolute paths, because
24335 # the directories may not exist.
24337 .) ac_abs_builddir="$ac_dir";;
24340 .) ac_abs_builddir=`pwd`;;
24341 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
24342 *) ac_abs_builddir=`pwd`/"$ac_dir";;
24345 case $ac_abs_builddir in
24346 .) ac_abs_top_builddir=${ac_top_builddir}.;;
24348 case ${ac_top_builddir}. in
24349 .) ac_abs_top_builddir=$ac_abs_builddir;;
24350 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24351 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24354 case $ac_abs_builddir in
24355 .) ac_abs_srcdir=$ac_srcdir;;
24358 .) ac_abs_srcdir=$ac_abs_builddir;;
24359 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
24360 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
24363 case $ac_abs_builddir in
24364 .) ac_abs_top_srcdir=$ac_top_srcdir;;
24366 case $ac_top_srcdir in
24367 .) ac_abs_top_srcdir=$ac_abs_builddir;;
24368 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24369 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24374 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24375 echo "$as_me: executing $ac_dest commands" >&6;}
24377 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
24378 # Strip MF so we end up with the name of the file.
24379 mf=`echo "$mf" | sed -e 's/:.*$//'`
24380 # Check whether this is an Automake generated Makefile or not.
24381 # We used to match only the files named `Makefile.in', but
24382 # some people rename them; so instead we look at the file content.
24383 # Grep'ing the first line is not enough: some people post-process
24384 # each Makefile.in and add a new line on top of each file to say so.
24385 # So let's grep whole file.
24386 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
24387 dirpart=`(dirname "$mf") 2>/dev/null ||
24388 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24389 X"$mf" : 'X\(//\)[^/]' \| \
24390 X"$mf" : 'X\(//\)$' \| \
24391 X"$mf" : 'X\(/\)' \| \
24392 . : '\(.\)' 2>/dev/null ||
24394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24395 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24396 /^X\(\/\/\)$/{ s//\1/; q; }
24397 /^X\(\/\).*/{ s//\1/; q; }
24402 # Extract the definition of DEPDIR, am__include, and am__quote
24403 # from the Makefile without running `make'.
24404 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
24405 test -z "$DEPDIR" && continue
24406 am__include=`sed -n 's/^am__include = //p' < "$mf"`
24407 test -z "am__include" && continue
24408 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
24409 # When using ansi2knr, U may be empty or an underscore; expand it
24410 U=`sed -n 's/^U = //p' < "$mf"`
24411 # Find all dependency output files, they are included files with
24412 # $(DEPDIR) in their names. We invoke sed twice because it is the
24413 # simplest approach to changing $(DEPDIR) to its actual value in the
24415 for file in `sed -n "
24416 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24417 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24418 # Make sure the directory exists.
24419 test -f "$dirpart/$file" && continue
24420 fdir=`(dirname "$file") 2>/dev/null ||
24421 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24422 X"$file" : 'X\(//\)[^/]' \| \
24423 X"$file" : 'X\(//\)$' \| \
24424 X"$file" : 'X\(/\)' \| \
24425 . : '\(.\)' 2>/dev/null ||
24427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24428 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24429 /^X\(\/\/\)$/{ s//\1/; q; }
24430 /^X\(\/\).*/{ s//\1/; q; }
24432 { if $as_mkdir_p; then
24433 mkdir -p $dirpart/$fdir
24435 as_dir=$dirpart/$fdir
24437 while test ! -d "$as_dir"; do
24438 as_dirs="$as_dir $as_dirs"
24439 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24440 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24441 X"$as_dir" : 'X\(//\)[^/]' \| \
24442 X"$as_dir" : 'X\(//\)$' \| \
24443 X"$as_dir" : 'X\(/\)' \| \
24444 . : '\(.\)' 2>/dev/null ||
24446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24447 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24448 /^X\(\/\/\)$/{ s//\1/; q; }
24449 /^X\(\/\).*/{ s//\1/; q; }
24452 test ! -n "$as_dirs" || mkdir $as_dirs
24453 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
24454 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
24455 { (exit 1); exit 1; }; }; }
24457 # echo "creating $dirpart/$file"
24458 echo '# dummy' > "$dirpart/$file"
24464 # See if we are running on zsh, and set the options which allow our
24465 # commands through without removal of \ escapes.
24466 if test -n "${ZSH_VERSION+set}" ; then
24467 setopt NO_GLOB_SUBST
24470 cfgfile="${ofile}T"
24471 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
24474 cat <<_LT_EOF >> "$cfgfile"
24477 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
24478 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
24479 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24480 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
24482 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
24483 # 2006, 2007, 2008 Free Software Foundation, Inc.
24484 # Written by Gordon Matzigkeit, 1996
24486 # This file is part of GNU Libtool.
24488 # GNU Libtool is free software; you can redistribute it and/or
24489 # modify it under the terms of the GNU General Public License as
24490 # published by the Free Software Foundation; either version 2 of
24491 # the License, or (at your option) any later version.
24493 # As a special exception to the GNU General Public License,
24494 # if you distribute this file as part of a program or library that
24495 # is built using GNU Libtool, you may include this file under the
24496 # same distribution terms that you use for the rest of that program.
24498 # GNU Libtool is distributed in the hope that it will be useful,
24499 # but WITHOUT ANY WARRANTY; without even the implied warranty of
24500 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24501 # GNU General Public License for more details.
24503 # You should have received a copy of the GNU General Public License
24504 # along with GNU Libtool; see the file COPYING. If not, a copy
24505 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
24506 # obtained by writing to the Free Software Foundation, Inc.,
24507 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24510 # The names of the tagged configurations supported by this script.
24513 # ### BEGIN LIBTOOL CONFIG
24515 # Whether or not to build shared libraries.
24516 build_libtool_libs=$enable_shared
24518 # Which release of libtool.m4 was used?
24519 macro_version=$macro_version
24520 macro_revision=$macro_revision
24522 # Whether or not to build static libraries.
24523 build_old_libs=$enable_static
24525 # What type of objects to build.
24528 # Whether or not to optimize for fast installation.
24529 fast_install=$enable_fast_install
24532 host_alias=$host_alias
24536 # The build system.
24537 build_alias=$build_alias
24541 # A sed program that does not truncate output.
24544 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
24545 Xsed="\$SED -e 1s/^X//"
24547 # A grep program that handles long lines.
24553 # A literal string matcher.
24556 # A BSD- or MS-compatible name lister.
24559 # Whether we need soft or hard links.
24562 # What is the maximum length of a command?
24563 max_cmd_len=$max_cmd_len
24565 # Object file suffix (normally "o").
24568 # Executable file suffix (normally "").
24571 # whether the shell understands "unset".
24574 # turn spaces into newlines.
24577 # turn newlines into spaces.
24580 # How to create reloadable object files.
24581 reload_flag=$lt_reload_flag
24582 reload_cmds=$lt_reload_cmds
24584 # An object symbol dumper.
24585 OBJDUMP=$lt_OBJDUMP
24587 # Method to check whether dependent libraries are shared objects.
24588 deplibs_check_method=$lt_deplibs_check_method
24590 # Command to use when deplibs_check_method == "file_magic".
24591 file_magic_cmd=$lt_file_magic_cmd
24595 AR_FLAGS=$lt_AR_FLAGS
24597 # A symbol stripping program.
24600 # Commands used to install an old-style archive.
24602 old_postinstall_cmds=$lt_old_postinstall_cmds
24603 old_postuninstall_cmds=$lt_old_postuninstall_cmds
24608 # LTCC compiler flags.
24609 LTCFLAGS=$lt_CFLAGS
24611 # Take the output of nm and produce a listing of raw symbols and C names.
24612 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24614 # Transform the output of nm in a proper C declaration.
24615 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24617 # Transform the output of nm in a C name address pair.
24618 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24620 # Transform the output of nm in a C name address pair when lib prefix is needed.
24621 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
24623 # The name of the directory that contains temporary libtool files.
24626 # Shell to use when invoking shell scripts.
24629 # An echo program that does not interpret backslashes.
24632 # Used to examine libraries when file_magic_cmd begins with "file".
24633 MAGIC_CMD=$MAGIC_CMD
24635 # Must we lock files when doing compilation?
24636 need_locks=$lt_need_locks
24638 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
24639 DSYMUTIL=$lt_DSYMUTIL
24641 # Tool to change global to local symbols on Mac OS X.
24644 # Tool to manipulate fat objects and archives on Mac OS X.
24647 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
24650 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
24651 OTOOL64=$lt_OTOOL64
24653 # Old archive suffix (normally "a").
24656 # Shared library suffix (normally ".so").
24657 shrext_cmds=$lt_shrext_cmds
24659 # The commands to extract the exported symbol list from a shared archive.
24660 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24662 # Variables whose values should be saved in libtool wrapper scripts and
24663 # restored at link time.
24664 variables_saved_for_relink=$lt_variables_saved_for_relink
24666 # Do we need the "lib" prefix for modules?
24667 need_lib_prefix=$need_lib_prefix
24669 # Do we need a version for libraries?
24670 need_version=$need_version
24672 # Library versioning type.
24673 version_type=$version_type
24675 # Shared library runtime path variable.
24676 runpath_var=$runpath_var
24678 # Shared library path variable.
24679 shlibpath_var=$shlibpath_var
24681 # Is shlibpath searched before the hard-coded library search path?
24682 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24684 # Format of library name prefix.
24685 libname_spec=$lt_libname_spec
24687 # List of archive names. First name is the real one, the rest are links.
24688 # The last name is the one that the linker finds with -lNAME
24689 library_names_spec=$lt_library_names_spec
24691 # The coded name of the library, if different from the real name.
24692 soname_spec=$lt_soname_spec
24694 # Command to use after installation of a shared archive.
24695 postinstall_cmds=$lt_postinstall_cmds
24697 # Command to use after uninstallation of a shared archive.
24698 postuninstall_cmds=$lt_postuninstall_cmds
24700 # Commands used to finish a libtool library installation in a directory.
24701 finish_cmds=$lt_finish_cmds
24703 # As "finish_cmds", except a single script fragment to be evaled but
24705 finish_eval=$lt_finish_eval
24707 # Whether we should hardcode library paths into libraries.
24708 hardcode_into_libs=$hardcode_into_libs
24710 # Compile-time system search path for libraries.
24711 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24713 # Run-time system search path for libraries.
24714 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24716 # Whether dlopen is supported.
24717 dlopen_support=$enable_dlopen
24719 # Whether dlopen of programs is supported.
24720 dlopen_self=$enable_dlopen_self
24722 # Whether dlopen of statically linked programs is supported.
24723 dlopen_self_static=$enable_dlopen_self_static
24725 # Commands to strip libraries.
24726 old_striplib=$lt_old_striplib
24727 striplib=$lt_striplib
24730 # The linker used to build libraries.
24733 # Commands used to build an old-style archive.
24734 old_archive_cmds=$lt_old_archive_cmds
24736 # A language specific compiler.
24739 # Is the compiler the GNU compiler?
24742 # Compiler flag to turn off builtin functions.
24743 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24745 # How to pass a linker flag through the compiler.
24746 wl=$lt_lt_prog_compiler_wl
24748 # Additional compiler flags for building library objects.
24749 pic_flag=$lt_lt_prog_compiler_pic
24751 # Compiler flag to prevent dynamic linking.
24752 link_static_flag=$lt_lt_prog_compiler_static
24754 # Does compiler simultaneously support -c and -o options?
24755 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24757 # Whether or not to add -lc for building shared libraries.
24758 build_libtool_need_lc=$archive_cmds_need_lc
24760 # Whether or not to disallow shared libs when runtime libs are static.
24761 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24763 # Compiler flag to allow reflexive dlopens.
24764 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24766 # Compiler flag to generate shared objects directly from archives.
24767 whole_archive_flag_spec=$lt_whole_archive_flag_spec
24769 # Whether the compiler copes with passing no objects directly.
24770 compiler_needs_object=$lt_compiler_needs_object
24772 # Create an old-style archive from a shared archive.
24773 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24775 # Create a temporary old-style archive to link instead of a shared archive.
24776 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24778 # Commands used to build a shared archive.
24779 archive_cmds=$lt_archive_cmds
24780 archive_expsym_cmds=$lt_archive_expsym_cmds
24782 # Commands used to build a loadable module if different from building
24783 # a shared archive.
24784 module_cmds=$lt_module_cmds
24785 module_expsym_cmds=$lt_module_expsym_cmds
24787 # Whether we are building with GNU ld or not.
24788 with_gnu_ld=$lt_with_gnu_ld
24790 # Flag that allows shared libraries with undefined symbols to be built.
24791 allow_undefined_flag=$lt_allow_undefined_flag
24793 # Flag that enforces no undefined symbols.
24794 no_undefined_flag=$lt_no_undefined_flag
24796 # Flag to hardcode \$libdir into a binary during linking.
24797 # This must work even if \$libdir does not exist
24798 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24800 # If ld is used when linking, flag to hardcode \$libdir into a binary
24801 # during linking. This must work even if \$libdir does not exist.
24802 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
24804 # Whether we need a single "-rpath" flag with a separated argument.
24805 hardcode_libdir_separator=$lt_hardcode_libdir_separator
24807 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24808 # DIR into the resulting binary.
24809 hardcode_direct=$hardcode_direct
24811 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24812 # DIR into the resulting binary and the resulting library dependency is
24813 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24814 # library is relocated.
24815 hardcode_direct_absolute=$hardcode_direct_absolute
24817 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24818 # into the resulting binary.
24819 hardcode_minus_L=$hardcode_minus_L
24821 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24822 # into the resulting binary.
24823 hardcode_shlibpath_var=$hardcode_shlibpath_var
24825 # Set to "yes" if building a shared library automatically hardcodes DIR
24826 # into the library and all subsequent libraries and executables linked
24828 hardcode_automatic=$hardcode_automatic
24830 # Set to yes if linker adds runtime paths of dependent libraries
24831 # to runtime path list.
24832 inherit_rpath=$inherit_rpath
24834 # Whether libtool must link a program against all its dependency libraries.
24835 link_all_deplibs=$link_all_deplibs
24837 # Fix the shell variable \$srcfile for the compiler.
24838 fix_srcfile_path=$lt_fix_srcfile_path
24840 # Set to "yes" if exported symbols are required.
24841 always_export_symbols=$always_export_symbols
24843 # The commands to list exported symbols.
24844 export_symbols_cmds=$lt_export_symbols_cmds
24846 # Symbols that should not be listed in the preloaded symbols.
24847 exclude_expsyms=$lt_exclude_expsyms
24849 # Symbols that must always be exported.
24850 include_expsyms=$lt_include_expsyms
24852 # Commands necessary for linking programs (against libraries) with templates.
24853 prelink_cmds=$lt_prelink_cmds
24855 # Specify filename containing input files.
24856 file_list_spec=$lt_file_list_spec
24858 # How to hardcode a shared library path into an executable.
24859 hardcode_action=$hardcode_action
24861 # ### END LIBTOOL CONFIG
24867 cat <<\_LT_EOF >> "$cfgfile"
24868 # AIX sometimes has problems with the GCC collect2 program. For some
24869 # reason, if we set the COLLECT_NAMES environment variable, the problems
24870 # vanish in a puff of smoke.
24871 if test "X${COLLECT_NAMES+set}" != Xset; then
24873 export COLLECT_NAMES
24880 ltmain="$ac_aux_dir/ltmain.sh"
24883 # We use sed instead of cat because bash on DJGPP gets confused if
24884 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24885 # text mode, it properly converts lines to CR/LF. This bash problem
24886 # is reportedly fixed, but why not run on old versions too?
24887 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
24888 || (rm -f "$cfgfile"; exit 1)
24892 cat << \_LT_EOF >> "$cfgfile"
24894 # func_dirname file append nondir_replacement
24895 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
24896 # otherwise set result to NONDIR_REPLACEMENT.
24900 */*) func_dirname_result="${1%/*}${2}" ;;
24901 * ) func_dirname_result="${3}" ;;
24905 # func_basename file
24908 func_basename_result="${1##*/}"
24911 # func_dirname_and_basename file append nondir_replacement
24912 # perform func_basename and func_dirname in a single function
24914 # dirname: Compute the dirname of FILE. If nonempty,
24915 # add APPEND to the result, otherwise set result
24916 # to NONDIR_REPLACEMENT.
24917 # value returned in "$func_dirname_result"
24918 # basename: Compute filename of FILE.
24919 # value retuned in "$func_basename_result"
24920 # Implementation must be kept synchronized with func_dirname
24921 # and func_basename. For efficiency, we do not delegate to
24922 # those functions but instead duplicate the functionality here.
24923 func_dirname_and_basename ()
24926 */*) func_dirname_result="${1%/*}${2}" ;;
24927 * ) func_dirname_result="${3}" ;;
24929 func_basename_result="${1##*/}"
24932 # func_stripname prefix suffix name
24933 # strip PREFIX and SUFFIX off of NAME.
24934 # PREFIX and SUFFIX must not contain globbing or regex special
24935 # characters, hashes, percent signs, but SUFFIX may contain a leading
24936 # dot (in which case that matches only a dot).
24939 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
24940 # positional parameters, so assign one to ordinary parameter first.
24941 func_stripname_result=${3}
24942 func_stripname_result=${func_stripname_result#"${1}"}
24943 func_stripname_result=${func_stripname_result%"${2}"}
24949 func_opt_split_opt=${1%%=*}
24950 func_opt_split_arg=${1#*=}
24957 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
24958 *) func_lo2o_result=${1} ;;
24962 # func_xform libobj-or-source
24965 func_xform_result=${1%.*}.lo
24968 # func_arith arithmetic-term...
24971 func_arith_result=$(( $* ))
24975 # STRING may not start with a hyphen.
24978 func_len_result=${#1}
24983 *) # Bourne compatible functions.
24984 cat << \_LT_EOF >> "$cfgfile"
24986 # func_dirname file append nondir_replacement
24987 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
24988 # otherwise set result to NONDIR_REPLACEMENT.
24991 # Extract subdirectory from the argument.
24992 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
24993 if test "X$func_dirname_result" = "X${1}"; then
24994 func_dirname_result="${3}"
24996 func_dirname_result="$func_dirname_result${2}"
25000 # func_basename file
25003 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
25007 # func_stripname prefix suffix name
25008 # strip PREFIX and SUFFIX off of NAME.
25009 # PREFIX and SUFFIX must not contain globbing or regex special
25010 # characters, hashes, percent signs, but SUFFIX may contain a leading
25011 # dot (in which case that matches only a dot).
25012 # func_strip_suffix prefix name
25016 .*) func_stripname_result=`$ECHO "X${3}" \
25017 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
25018 *) func_stripname_result=`$ECHO "X${3}" \
25019 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
25024 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
25025 my_sed_long_arg='1s/^-[^=]*=//'
25030 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
25031 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
25037 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
25040 # func_xform libobj-or-source
25043 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
25046 # func_arith arithmetic-term...
25049 func_arith_result=`expr "$@"`
25053 # STRING may not start with a hyphen.
25056 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
25062 case $lt_shell_append in
25064 cat << \_LT_EOF >> "$cfgfile"
25066 # func_append var value
25067 # Append VALUE to the end of shell variable VAR.
25075 cat << \_LT_EOF >> "$cfgfile"
25077 # func_append var value
25078 # Append VALUE to the end of shell variable VAR.
25089 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
25090 || (rm -f "$cfgfile"; exit 1)
25092 mv -f "$cfgfile" "$ofile" ||
25093 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
25098 for ac_file in $CONFIG_FILES; do
25099 # Support "outfile[:infile[:infile...]]"
25101 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
25103 # PO directories have a Makefile.in generated from Makefile.in.in.
25104 case "$ac_file" in */Makefile.in)
25105 # Adjust a relative srcdir.
25106 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
25107 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
25108 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
25109 # In autoconf-2.13 it is called $ac_given_srcdir.
25110 # In autoconf-2.50 it is called $srcdir.
25111 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
25112 case "$ac_given_srcdir" in
25113 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
25114 /*) top_srcdir="$ac_given_srcdir" ;;
25115 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
25117 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
25118 rm -f "$ac_dir/POTFILES"
25119 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
25120 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
25121 POMAKEFILEDEPS="POTFILES.in"
25122 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
25123 # on $ac_dir but don't depend on user-specified configuration
25125 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
25126 # The LINGUAS file contains the set of available languages.
25127 if test -n "$OBSOLETE_ALL_LINGUAS"; then
25128 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
25130 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
25131 # Hide the ALL_LINGUAS assigment from automake.
25132 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
25133 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
25135 # The set of available languages was given in configure.in.
25136 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
25138 case "$ac_given_srcdir" in
25140 *) srcdirpre='$(srcdir)/' ;;
25146 for lang in $ALL_LINGUAS; do
25147 POFILES="$POFILES $srcdirpre$lang.po"
25148 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
25149 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
25150 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
25152 # CATALOGS depends on both $ac_dir and the user's LINGUAS
25153 # environment variable.
25155 if test -n "$ALL_LINGUAS"; then
25156 for presentlang in $ALL_LINGUAS; do
25158 if test "%UNSET%" != "$LINGUAS"; then
25159 desiredlanguages="$LINGUAS"
25161 desiredlanguages="$ALL_LINGUAS"
25163 for desiredlang in $desiredlanguages; do
25164 # Use the presentlang catalog if desiredlang is
25165 # a. equal to presentlang, or
25166 # b. a variant of presentlang (because in this case,
25167 # presentlang can be used as a fallback for messages
25168 # which are not translated in the desiredlang catalog).
25169 case "$desiredlang" in
25170 "$presentlang"*) useit=yes;;
25173 if test $useit = yes; then
25174 INST_LINGUAS="$INST_LINGUAS $presentlang"
25179 if test -n "$INST_LINGUAS"; then
25180 for lang in $INST_LINGUAS; do
25181 CATALOGS="$CATALOGS $lang.gmo"
25184 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
25185 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"
25186 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
25187 if test -f "$f"; then
25189 *.orig | *.bak | *~) ;;
25190 *) cat "$f" >> "$ac_dir/Makefile" ;;
25199 if test "$GCC" = yes; then
25200 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
25202 echo "/* generated for $CC */" > tmp-stdint.h
25205 sed 's/^ *//' >> tmp-stdint.h <<EOF
25207 #ifndef GCC_GENERATED_STDINT_H
25208 #define GCC_GENERATED_STDINT_H 1
25210 #include <sys/types.h>
25213 if test "$acx_cv_header_stdint" != stdint.h; then
25214 echo "#include <stddef.h>" >> tmp-stdint.h
25216 if test "$acx_cv_header_stdint" != stddef.h; then
25217 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
25220 sed 's/^ *//' >> tmp-stdint.h <<EOF
25221 /* glibc uses these symbols as guards to prevent redefinitions. */
25222 #ifdef __int8_t_defined
25227 #ifdef __uint32_t_defined
25233 # ----------------- done header, emit basic int types -------------
25234 if test "$acx_cv_header_stdint" = stddef.h; then
25235 sed 's/^ *//' >> tmp-stdint.h <<EOF
25239 #ifndef __uint8_t_defined
25240 #define __uint8_t_defined
25241 typedef unsigned $acx_cv_type_int8_t uint8_t;
25247 #ifndef __uint16_t_defined
25248 #define __uint16_t_defined
25249 typedef unsigned $acx_cv_type_int16_t uint16_t;
25255 #ifndef __uint32_t_defined
25256 #define __uint32_t_defined
25257 typedef unsigned $acx_cv_type_int32_t uint32_t;
25263 #ifndef __int8_t_defined
25264 #define __int8_t_defined
25265 typedef $acx_cv_type_int8_t int8_t;
25271 #ifndef __int16_t_defined
25272 #define __int16_t_defined
25273 typedef $acx_cv_type_int16_t int16_t;
25279 #ifndef __int32_t_defined
25280 #define __int32_t_defined
25281 typedef $acx_cv_type_int32_t int32_t;
25285 elif test "$ac_cv_type_u_int32_t" = yes; then
25286 sed 's/^ *//' >> tmp-stdint.h <<EOF
25288 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
25301 #ifndef __uint8_t_defined
25302 #define __uint8_t_defined
25303 typedef u_int8_t uint8_t;
25309 #ifndef __uint16_t_defined
25310 #define __uint16_t_defined
25311 typedef u_int16_t uint16_t;
25317 #ifndef __uint32_t_defined
25318 #define __uint32_t_defined
25319 typedef u_int32_t uint32_t;
25324 sed 's/^ *//' >> tmp-stdint.h <<EOF
25326 /* Some systems have guard macros to prevent redefinitions, define them. */
25348 # ------------- done basic int types, emit int64_t types ------------
25349 if test "$ac_cv_type_uint64_t" = yes; then
25350 sed 's/^ *//' >> tmp-stdint.h <<EOF
25352 /* system headers have good uint64_t and int64_t */
25360 elif test "$ac_cv_type_u_int64_t" = yes; then
25361 sed 's/^ *//' >> tmp-stdint.h <<EOF
25363 /* system headers have an u_int64_t (and int64_t) */
25369 #ifndef __uint64_t_defined
25370 #define __uint64_t_defined
25371 typedef u_int64_t uint64_t;
25375 elif test -n "$acx_cv_type_int64_t"; then
25376 sed 's/^ *//' >> tmp-stdint.h <<EOF
25378 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
25381 typedef $acx_cv_type_int64_t int64_t;
25385 #ifndef __uint64_t_defined
25386 #define __uint64_t_defined
25387 typedef unsigned $acx_cv_type_int64_t uint64_t;
25392 sed 's/^ *//' >> tmp-stdint.h <<EOF
25394 /* some common heuristics for int64_t, using compiler-specific tests */
25395 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
25398 #ifndef __int64_t_defined
25399 typedef long long int64_t;
25404 typedef unsigned long long uint64_t;
25407 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
25408 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
25409 does not implement __extension__. But that compiler doesn't define
25411 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
25412 # define __extension__
25417 __extension__ typedef long long int64_t;
25421 __extension__ typedef unsigned long long uint64_t;
25424 #elif !defined __STRICT_ANSI__
25425 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
25429 typedef __int64 int64_t;
25433 typedef unsigned __int64 uint64_t;
25435 # endif /* compiler */
25437 #endif /* ANSI version */
25441 # ------------- done int64_t types, emit intptr types ------------
25442 if test "$ac_cv_type_uintptr_t" != yes; then
25443 sed 's/^ *//' >> tmp-stdint.h <<EOF
25445 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
25446 #ifndef __uintptr_t_defined
25447 typedef u$acx_cv_type_intptr_t uintptr_t;
25449 #ifndef __intptr_t_defined
25450 typedef $acx_cv_type_intptr_t intptr_t;
25455 # ------------- done intptr types, emit int_least types ------------
25456 if test "$ac_cv_type_int_least32_t" != yes; then
25457 sed 's/^ *//' >> tmp-stdint.h <<EOF
25459 /* Define int_least types */
25460 typedef int8_t int_least8_t;
25461 typedef int16_t int_least16_t;
25462 typedef int32_t int_least32_t;
25464 typedef int64_t int_least64_t;
25467 typedef uint8_t uint_least8_t;
25468 typedef uint16_t uint_least16_t;
25469 typedef uint32_t uint_least32_t;
25471 typedef uint64_t uint_least64_t;
25476 # ------------- done intptr types, emit int_fast types ------------
25477 if test "$ac_cv_type_int_fast32_t" != yes; then
25478 sed 's/^ *//' >> tmp-stdint.h <<EOF
25480 /* Define int_fast types. short is often slow */
25481 typedef int8_t int_fast8_t;
25482 typedef int int_fast16_t;
25483 typedef int32_t int_fast32_t;
25485 typedef int64_t int_fast64_t;
25488 typedef uint8_t uint_fast8_t;
25489 typedef unsigned int uint_fast16_t;
25490 typedef uint32_t uint_fast32_t;
25492 typedef uint64_t uint_fast64_t;
25497 if test "$ac_cv_type_uintmax_t" != yes; then
25498 sed 's/^ *//' >> tmp-stdint.h <<EOF
25500 /* Define intmax based on what we found */
25502 typedef int64_t intmax_t;
25504 typedef long intmax_t;
25507 typedef uint64_t uintmax_t;
25509 typedef unsigned long uintmax_t;
25514 sed 's/^ *//' >> tmp-stdint.h <<EOF
25516 #endif /* GCC_GENERATED_STDINT_H */
25519 if test -r bfd_stdint.h && cmp -s tmp-stdint.h bfd_stdint.h; then
25522 mv -f tmp-stdint.h bfd_stdint.h
25529 *) srcdirpre='$(srcdir)/' ;;
25533 for lang in dummy $OBSOLETE_ALL_LINGUAS; do
25534 if test $lang != dummy; then
25535 POFILES="$POFILES $srcdirpre$lang.po"
25536 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
25539 sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' \
25540 -e '/BLD-POTFILES =/r po/BLD-POTFILES' \
25541 -e "s,@POFILES@,$POFILES," \
25542 -e "s,@GMOFILES@,$GMOFILES," \
25543 po/Makefile.in > po/Makefile ;;
25548 cat >>$CONFIG_STATUS <<\_ACEOF
25550 { (exit 0); exit 0; }
25552 chmod +x $CONFIG_STATUS
25553 ac_clean_files=$ac_clean_files_save
25556 # configure is writing to config.log, and then calls config.status.
25557 # config.status does its own redirection, appending to config.log.
25558 # Unfortunately, on DOS this fails, as config.log is still kept open
25559 # by configure, so config.status won't be able to write to it; its
25560 # output is simply discarded. So we exec the FD to /dev/null,
25561 # effectively closing config.log, so it can be properly (re)opened and
25562 # appended to by config.status. When coming back to configure, we
25563 # need to make the FD available again.
25564 if test "$no_create" != yes; then
25566 ac_config_status_args=
25567 test "$silent" = yes &&
25568 ac_config_status_args="$ac_config_status_args --quiet"
25570 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25572 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25573 # would make configure fail if this is the last instruction.
25574 $ac_cs_success || { (exit 1); exit 1; }