2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308 for dir in $PATH /usr/ucb; do
310 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
320 if test "X$ECHO" = Xecho; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
327 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X/bin/ksh; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL=/bin/ksh
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
343 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
349 SHELL="$CONFIG_SHELL"
351 ECHO="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO="$CONFIG_SHELL $0 --fallback-echo"
358 # maybe with a smaller string...
361 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 # Oops. We lost completely, so just stick with echo.
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
409 SHELL=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
423 ac_unique_file="libbfd.c"
424 # Factoring default headers for most tests.
425 ac_includes_default="\
428 # include <sys/types.h>
431 # include <sys/stat.h>
442 # if !STDC_HEADERS && HAVE_MEMORY_H
448 # include <strings.h>
451 # include <inttypes.h>
461 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AR ac_ct_AR RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 DEBUGDIR PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE HDEFINES BFD_HOST_64BIT_LONG BFD_HOST_64BIT_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT BFD_HOSTPTR_T CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG WIN32LDFLAGS WIN32LIBADD TDEFINES wordsize bfd64_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
465 # Initialize some variables set by options.
467 ac_init_version=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
477 program_transform_name=s,x,x,
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir='${exec_prefix}/bin'
491 sbindir='${exec_prefix}/sbin'
492 libexecdir='${exec_prefix}/libexec'
493 datadir='${prefix}/share'
494 sysconfdir='${prefix}/etc'
495 sharedstatedir='${prefix}/com'
496 localstatedir='${prefix}/var'
497 libdir='${exec_prefix}/lib'
498 includedir='${prefix}/include'
499 oldincludedir='/usr/include'
500 infodir='${prefix}/info'
501 mandir='${prefix}/man'
506 # If the previous option needs an argument, assign it.
507 if test -n "$ac_prev"; then
508 eval "$ac_prev=\$ac_option"
513 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
515 # Accept the important Cygnus configure options, so we can diagnose typos.
519 -bindir | --bindir | --bindi | --bind | --bin | --bi)
521 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
524 -build | --build | --buil | --bui | --bu)
525 ac_prev=build_alias ;;
526 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
527 build_alias=$ac_optarg ;;
529 -cache-file | --cache-file | --cache-fil | --cache-fi \
530 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
531 ac_prev=cache_file ;;
532 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
533 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
534 cache_file=$ac_optarg ;;
537 cache_file=config.cache ;;
539 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
541 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
543 datadir=$ac_optarg ;;
545 -disable-* | --disable-*)
546 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547 # Reject names that are not valid shell variable names.
548 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
549 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550 { (exit 1); exit 1; }; }
551 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
552 eval "enable_$ac_feature=no" ;;
554 -enable-* | --enable-*)
555 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556 # Reject names that are not valid shell variable names.
557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559 { (exit 1); exit 1; }; }
560 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
562 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
565 eval "enable_$ac_feature='$ac_optarg'" ;;
567 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
568 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
569 | --exec | --exe | --ex)
570 ac_prev=exec_prefix ;;
571 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
572 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
573 | --exec=* | --exe=* | --ex=*)
574 exec_prefix=$ac_optarg ;;
576 -gas | --gas | --ga | --g)
577 # Obsolete; use --with-gas.
580 -help | --help | --hel | --he | -h)
582 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
583 ac_init_help=recursive ;;
584 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
585 ac_init_help=short ;;
587 -host | --host | --hos | --ho)
588 ac_prev=host_alias ;;
589 -host=* | --host=* | --hos=* | --ho=*)
590 host_alias=$ac_optarg ;;
592 -includedir | --includedir | --includedi | --included | --include \
593 | --includ | --inclu | --incl | --inc)
594 ac_prev=includedir ;;
595 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
596 | --includ=* | --inclu=* | --incl=* | --inc=*)
597 includedir=$ac_optarg ;;
599 -infodir | --infodir | --infodi | --infod | --info | --inf)
601 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
602 infodir=$ac_optarg ;;
604 -libdir | --libdir | --libdi | --libd)
606 -libdir=* | --libdir=* | --libdi=* | --libd=*)
609 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
610 | --libexe | --libex | --libe)
611 ac_prev=libexecdir ;;
612 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
613 | --libexe=* | --libex=* | --libe=*)
614 libexecdir=$ac_optarg ;;
616 -localstatedir | --localstatedir | --localstatedi | --localstated \
617 | --localstate | --localstat | --localsta | --localst \
618 | --locals | --local | --loca | --loc | --lo)
619 ac_prev=localstatedir ;;
620 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
621 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
622 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
623 localstatedir=$ac_optarg ;;
625 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
627 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
631 # Obsolete; use --without-fp.
634 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
635 | --no-cr | --no-c | -n)
638 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
639 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
642 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
643 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
644 | --oldin | --oldi | --old | --ol | --o)
645 ac_prev=oldincludedir ;;
646 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
647 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
648 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
649 oldincludedir=$ac_optarg ;;
651 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
653 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
656 -program-prefix | --program-prefix | --program-prefi | --program-pref \
657 | --program-pre | --program-pr | --program-p)
658 ac_prev=program_prefix ;;
659 -program-prefix=* | --program-prefix=* | --program-prefi=* \
660 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
661 program_prefix=$ac_optarg ;;
663 -program-suffix | --program-suffix | --program-suffi | --program-suff \
664 | --program-suf | --program-su | --program-s)
665 ac_prev=program_suffix ;;
666 -program-suffix=* | --program-suffix=* | --program-suffi=* \
667 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
668 program_suffix=$ac_optarg ;;
670 -program-transform-name | --program-transform-name \
671 | --program-transform-nam | --program-transform-na \
672 | --program-transform-n | --program-transform- \
673 | --program-transform | --program-transfor \
674 | --program-transfo | --program-transf \
675 | --program-trans | --program-tran \
676 | --progr-tra | --program-tr | --program-t)
677 ac_prev=program_transform_name ;;
678 -program-transform-name=* | --program-transform-name=* \
679 | --program-transform-nam=* | --program-transform-na=* \
680 | --program-transform-n=* | --program-transform-=* \
681 | --program-transform=* | --program-transfor=* \
682 | --program-transfo=* | --program-transf=* \
683 | --program-trans=* | --program-tran=* \
684 | --progr-tra=* | --program-tr=* | --program-t=*)
685 program_transform_name=$ac_optarg ;;
687 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
688 | -silent | --silent | --silen | --sile | --sil)
691 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
693 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
695 sbindir=$ac_optarg ;;
697 -sharedstatedir | --sharedstatedir | --sharedstatedi \
698 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
699 | --sharedst | --shareds | --shared | --share | --shar \
701 ac_prev=sharedstatedir ;;
702 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
703 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
704 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
706 sharedstatedir=$ac_optarg ;;
708 -site | --site | --sit)
710 -site=* | --site=* | --sit=*)
713 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
715 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
718 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
719 | --syscon | --sysco | --sysc | --sys | --sy)
720 ac_prev=sysconfdir ;;
721 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
722 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
723 sysconfdir=$ac_optarg ;;
725 -target | --target | --targe | --targ | --tar | --ta | --t)
726 ac_prev=target_alias ;;
727 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
728 target_alias=$ac_optarg ;;
730 -v | -verbose | --verbose | --verbos | --verbo | --verb)
733 -version | --version | --versio | --versi | --vers | -V)
737 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
740 { echo "$as_me: error: invalid package name: $ac_package" >&2
741 { (exit 1); exit 1; }; }
742 ac_package=`echo $ac_package| sed 's/-/_/g'`
744 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
747 eval "with_$ac_package='$ac_optarg'" ;;
749 -without-* | --without-*)
750 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
753 { echo "$as_me: error: invalid package name: $ac_package" >&2
754 { (exit 1); exit 1; }; }
755 ac_package=`echo $ac_package | sed 's/-/_/g'`
756 eval "with_$ac_package=no" ;;
759 # Obsolete; use --with-x.
762 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
763 | --x-incl | --x-inc | --x-in | --x-i)
764 ac_prev=x_includes ;;
765 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
766 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
767 x_includes=$ac_optarg ;;
769 -x-libraries | --x-libraries | --x-librarie | --x-librari \
770 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
771 ac_prev=x_libraries ;;
772 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
773 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
774 x_libraries=$ac_optarg ;;
776 -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778 { (exit 1); exit 1; }; }
782 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
785 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786 { (exit 1); exit 1; }; }
787 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788 eval "$ac_envvar='$ac_optarg'"
792 # FIXME: should be removed in autoconf 3.0.
793 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
795 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
802 if test -n "$ac_prev"; then
803 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
804 { echo "$as_me: error: missing argument to $ac_option" >&2
805 { (exit 1); exit 1; }; }
808 # Be sure to have absolute paths.
809 for ac_var in exec_prefix prefix
811 eval ac_val=$`echo $ac_var`
813 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
814 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815 { (exit 1); exit 1; }; };;
819 # Be sure to have absolute paths.
820 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821 localstatedir libdir includedir oldincludedir infodir mandir
823 eval ac_val=$`echo $ac_var`
825 [\\/$]* | ?:[\\/]* ) ;;
826 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827 { (exit 1); exit 1; }; };;
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x; then
840 if test "x$build_alias" = x; then
841 cross_compiling=maybe
842 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843 If a cross compiler is detected then cross compile mode will be used." >&2
844 elif test "x$build_alias" != "x$host_alias"; then
850 test -n "$host_alias" && ac_tool_prefix=$host_alias-
852 test "$silent" = yes && exec 6>/dev/null
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857 ac_srcdir_defaulted=yes
858 # Try the directory containing this script, then its parent.
859 ac_confdir=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861 X"$0" : 'X\(//\)[^/]' \| \
862 X"$0" : 'X\(//\)$' \| \
863 X"$0" : 'X\(/\)' \| \
864 . : '\(.\)' 2>/dev/null ||
866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868 /^X\(\/\/\)$/{ s//\1/; q; }
869 /^X\(\/\).*/{ s//\1/; q; }
872 if test ! -r $srcdir/$ac_unique_file; then
876 ac_srcdir_defaulted=no
878 if test ! -r $srcdir/$ac_unique_file; then
879 if test "$ac_srcdir_defaulted" = yes; then
880 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881 { (exit 1); exit 1; }; }
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884 { (exit 1); exit 1; }; }
887 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
888 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889 { (exit 1); exit 1; }; }
890 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set=${build_alias+set}
892 ac_env_build_alias_value=$build_alias
893 ac_cv_env_build_alias_set=${build_alias+set}
894 ac_cv_env_build_alias_value=$build_alias
895 ac_env_host_alias_set=${host_alias+set}
896 ac_env_host_alias_value=$host_alias
897 ac_cv_env_host_alias_set=${host_alias+set}
898 ac_cv_env_host_alias_value=$host_alias
899 ac_env_target_alias_set=${target_alias+set}
900 ac_env_target_alias_value=$target_alias
901 ac_cv_env_target_alias_set=${target_alias+set}
902 ac_cv_env_target_alias_value=$target_alias
903 ac_env_CC_set=${CC+set}
905 ac_cv_env_CC_set=${CC+set}
906 ac_cv_env_CC_value=$CC
907 ac_env_CFLAGS_set=${CFLAGS+set}
908 ac_env_CFLAGS_value=$CFLAGS
909 ac_cv_env_CFLAGS_set=${CFLAGS+set}
910 ac_cv_env_CFLAGS_value=$CFLAGS
911 ac_env_LDFLAGS_set=${LDFLAGS+set}
912 ac_env_LDFLAGS_value=$LDFLAGS
913 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
914 ac_cv_env_LDFLAGS_value=$LDFLAGS
915 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
916 ac_env_CPPFLAGS_value=$CPPFLAGS
917 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
918 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
919 ac_env_CPP_set=${CPP+set}
920 ac_env_CPP_value=$CPP
921 ac_cv_env_CPP_set=${CPP+set}
922 ac_cv_env_CPP_value=$CPP
925 # Report the --help message.
927 if test "$ac_init_help" = "long"; then
928 # Omit some internal or obsolete options to make the list less imposing.
929 # This message is too long to be a string in the A/UX 3.1 sh.
931 \`configure' configures this package to adapt to many kinds of systems.
933 Usage: $0 [OPTION]... [VAR=VALUE]...
935 To assign environment variables (e.g., CC, CFLAGS...), specify them as
936 VAR=VALUE. See below for descriptions of some of the useful variables.
938 Defaults for the options are specified in brackets.
941 -h, --help display this help and exit
942 --help=short display options specific to this package
943 --help=recursive display the short help of all the included packages
944 -V, --version display version information and exit
945 -q, --quiet, --silent do not print \`checking...' messages
946 --cache-file=FILE cache test results in FILE [disabled]
947 -C, --config-cache alias for \`--cache-file=config.cache'
948 -n, --no-create do not create output files
949 --srcdir=DIR find the sources in DIR [configure dir or \`..']
954 Installation directories:
955 --prefix=PREFIX install architecture-independent files in PREFIX
957 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
960 By default, \`make install' will install all the files in
961 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
962 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
963 for instance \`--prefix=\$HOME'.
965 For better control, use the options below.
967 Fine tuning of the installation directories:
968 --bindir=DIR user executables [EPREFIX/bin]
969 --sbindir=DIR system admin executables [EPREFIX/sbin]
970 --libexecdir=DIR program executables [EPREFIX/libexec]
971 --datadir=DIR read-only architecture-independent data [PREFIX/share]
972 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
973 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
974 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
975 --libdir=DIR object code libraries [EPREFIX/lib]
976 --includedir=DIR C header files [PREFIX/include]
977 --oldincludedir=DIR C header files for non-gcc [/usr/include]
978 --infodir=DIR info documentation [PREFIX/info]
979 --mandir=DIR man documentation [PREFIX/man]
985 --program-prefix=PREFIX prepend PREFIX to installed program names
986 --program-suffix=SUFFIX append SUFFIX to installed program names
987 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
990 --build=BUILD configure for building on BUILD [guessed]
991 --host=HOST cross-compile to build programs to run on HOST [BUILD]
992 --target=TARGET configure for building compilers for TARGET [HOST]
996 if test -n "$ac_init_help"; then
1001 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1002 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1003 --disable-dependency-tracking speeds up one-time build
1004 --enable-dependency-tracking do not reject slow dependency extractors
1005 --enable-shared[=PKGS]
1006 build shared libraries [default=no]
1007 --disable-largefile omit support for large files
1008 --enable-static[=PKGS]
1009 build static libraries [default=yes]
1010 --enable-fast-install[=PKGS]
1011 optimize for fast installation [default=yes]
1012 --disable-libtool-lock avoid locking (might break parallel builds)
1013 --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)
1014 --enable-targets alternative target configurations
1015 --enable-commonbfdlib build shared BFD/opcodes/libiberty library
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
4939 sparc-*-solaris*|i[3-7]86-*-solaris*)
4940 # On native 32bit sparc and ia32 solaris, large-file and procfs support
4941 # are mutually exclusive; and without procfs support, the elf module
4942 # cannot provide certain routines such as elfcore_write_prpsinfo
4943 # or elfcore_write_prstatus. So unless the user explicitly requested
4944 # large-file support through the --enable-largefile switch, disable
4945 # large-file support in favor of procfs support.
4946 if test "${target}" = "${host}" -a "$enable_largefile" != 'yes'; then
4947 enable_largefile="no"
4952 # Check whether --enable-largefile or --disable-largefile was given.
4953 if test "${enable_largefile+set}" = set; then
4954 enableval="$enable_largefile"
4957 if test "$enable_largefile" != no; then
4959 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4960 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4961 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4962 echo $ECHO_N "(cached) $ECHO_C" >&6
4964 ac_cv_sys_largefile_CC=no
4965 if test "$GCC" != yes; then
4968 # IRIX 6.2 and later do not support large files by default,
4969 # so use the C compiler's -n32 option if that helps.
4970 cat >conftest.$ac_ext <<_ACEOF
4973 cat confdefs.h >>conftest.$ac_ext
4974 cat >>conftest.$ac_ext <<_ACEOF
4975 /* end confdefs.h. */
4976 #include <sys/types.h>
4977 /* Check that off_t can represent 2**63 - 1 correctly.
4978 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4979 since some C++ compilers masquerading as C compilers
4980 incorrectly reject 9223372036854775807. */
4981 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4982 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4983 && LARGE_OFF_T % 2147483647 == 1)
4993 rm -f conftest.$ac_objext
4994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4995 (eval $ac_compile) 2>conftest.er1
4997 grep -v '^ *+' conftest.er1 >conftest.err
4999 cat conftest.err >&5
5000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5001 (exit $ac_status); } &&
5002 { ac_try='test -z "$ac_c_werror_flag"
5003 || test ! -s conftest.err'
5004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5008 (exit $ac_status); }; } &&
5009 { ac_try='test -s conftest.$ac_objext'
5010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 (exit $ac_status); }; }; then
5017 echo "$as_me: failed program was:" >&5
5018 sed 's/^/| /' conftest.$ac_ext >&5
5021 rm -f conftest.err conftest.$ac_objext
5023 rm -f conftest.$ac_objext
5024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5025 (eval $ac_compile) 2>conftest.er1
5027 grep -v '^ *+' conftest.er1 >conftest.err
5029 cat conftest.err >&5
5030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5031 (exit $ac_status); } &&
5032 { ac_try='test -z "$ac_c_werror_flag"
5033 || test ! -s conftest.err'
5034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5038 (exit $ac_status); }; } &&
5039 { ac_try='test -s conftest.$ac_objext'
5040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044 (exit $ac_status); }; }; then
5045 ac_cv_sys_largefile_CC=' -n32'; break
5047 echo "$as_me: failed program was:" >&5
5048 sed 's/^/| /' conftest.$ac_ext >&5
5051 rm -f conftest.err conftest.$ac_objext
5055 rm -f conftest.$ac_ext
5058 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
5059 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
5060 if test "$ac_cv_sys_largefile_CC" != no; then
5061 CC=$CC$ac_cv_sys_largefile_CC
5064 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5065 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
5066 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
5067 echo $ECHO_N "(cached) $ECHO_C" >&6
5070 ac_cv_sys_file_offset_bits=no
5071 cat >conftest.$ac_ext <<_ACEOF
5074 cat confdefs.h >>conftest.$ac_ext
5075 cat >>conftest.$ac_ext <<_ACEOF
5076 /* end confdefs.h. */
5077 #include <sys/types.h>
5078 /* Check that off_t can represent 2**63 - 1 correctly.
5079 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5080 since some C++ compilers masquerading as C compilers
5081 incorrectly reject 9223372036854775807. */
5082 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5083 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5084 && LARGE_OFF_T % 2147483647 == 1)
5094 rm -f conftest.$ac_objext
5095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5096 (eval $ac_compile) 2>conftest.er1
5098 grep -v '^ *+' conftest.er1 >conftest.err
5100 cat conftest.err >&5
5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 (exit $ac_status); } &&
5103 { ac_try='test -z "$ac_c_werror_flag"
5104 || test ! -s conftest.err'
5105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); }; } &&
5110 { ac_try='test -s conftest.$ac_objext'
5111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); }; }; then
5118 echo "$as_me: failed program was:" >&5
5119 sed 's/^/| /' conftest.$ac_ext >&5
5122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5123 cat >conftest.$ac_ext <<_ACEOF
5126 cat confdefs.h >>conftest.$ac_ext
5127 cat >>conftest.$ac_ext <<_ACEOF
5128 /* end confdefs.h. */
5129 #define _FILE_OFFSET_BITS 64
5130 #include <sys/types.h>
5131 /* Check that off_t can represent 2**63 - 1 correctly.
5132 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5133 since some C++ compilers masquerading as C compilers
5134 incorrectly reject 9223372036854775807. */
5135 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5136 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5137 && LARGE_OFF_T % 2147483647 == 1)
5147 rm -f conftest.$ac_objext
5148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5149 (eval $ac_compile) 2>conftest.er1
5151 grep -v '^ *+' conftest.er1 >conftest.err
5153 cat conftest.err >&5
5154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5155 (exit $ac_status); } &&
5156 { ac_try='test -z "$ac_c_werror_flag"
5157 || test ! -s conftest.err'
5158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5162 (exit $ac_status); }; } &&
5163 { ac_try='test -s conftest.$ac_objext'
5164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5168 (exit $ac_status); }; }; then
5169 ac_cv_sys_file_offset_bits=64; break
5171 echo "$as_me: failed program was:" >&5
5172 sed 's/^/| /' conftest.$ac_ext >&5
5175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5179 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
5180 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
5181 if test "$ac_cv_sys_file_offset_bits" != no; then
5183 cat >>confdefs.h <<_ACEOF
5184 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5189 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
5190 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
5191 if test "${ac_cv_sys_large_files+set}" = set; then
5192 echo $ECHO_N "(cached) $ECHO_C" >&6
5195 ac_cv_sys_large_files=no
5196 cat >conftest.$ac_ext <<_ACEOF
5199 cat confdefs.h >>conftest.$ac_ext
5200 cat >>conftest.$ac_ext <<_ACEOF
5201 /* end confdefs.h. */
5202 #include <sys/types.h>
5203 /* Check that off_t can represent 2**63 - 1 correctly.
5204 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5205 since some C++ compilers masquerading as C compilers
5206 incorrectly reject 9223372036854775807. */
5207 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5208 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5209 && LARGE_OFF_T % 2147483647 == 1)
5219 rm -f conftest.$ac_objext
5220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5221 (eval $ac_compile) 2>conftest.er1
5223 grep -v '^ *+' conftest.er1 >conftest.err
5225 cat conftest.err >&5
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); } &&
5228 { ac_try='test -z "$ac_c_werror_flag"
5229 || test ! -s conftest.err'
5230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234 (exit $ac_status); }; } &&
5235 { ac_try='test -s conftest.$ac_objext'
5236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240 (exit $ac_status); }; }; then
5243 echo "$as_me: failed program was:" >&5
5244 sed 's/^/| /' conftest.$ac_ext >&5
5247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5248 cat >conftest.$ac_ext <<_ACEOF
5251 cat confdefs.h >>conftest.$ac_ext
5252 cat >>conftest.$ac_ext <<_ACEOF
5253 /* end confdefs.h. */
5254 #define _LARGE_FILES 1
5255 #include <sys/types.h>
5256 /* Check that off_t can represent 2**63 - 1 correctly.
5257 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5258 since some C++ compilers masquerading as C compilers
5259 incorrectly reject 9223372036854775807. */
5260 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5261 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5262 && LARGE_OFF_T % 2147483647 == 1)
5272 rm -f conftest.$ac_objext
5273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5274 (eval $ac_compile) 2>conftest.er1
5276 grep -v '^ *+' conftest.er1 >conftest.err
5278 cat conftest.err >&5
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); } &&
5281 { ac_try='test -z "$ac_c_werror_flag"
5282 || test ! -s conftest.err'
5283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 (exit $ac_status); }; } &&
5288 { ac_try='test -s conftest.$ac_objext'
5289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293 (exit $ac_status); }; }; then
5294 ac_cv_sys_large_files=1; break
5296 echo "$as_me: failed program was:" >&5
5297 sed 's/^/| /' conftest.$ac_ext >&5
5300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5304 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5305 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5306 if test "$ac_cv_sys_large_files" != no; then
5308 cat >>confdefs.h <<_ACEOF
5309 #define _LARGE_FILES $ac_cv_sys_large_files
5319 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5320 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5325 macro_version='2.2.6'
5326 macro_revision='1.3012'
5340 ltmain="$ac_aux_dir/ltmain.sh"
5342 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5343 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5344 if test "${lt_cv_path_SED+set}" = set; then
5345 echo $ECHO_N "(cached) $ECHO_C" >&6
5347 # Loop through the user's path and test for sed and gsed.
5348 # Then use that list of sed's as ones to test for truncation.
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5353 test -z "$as_dir" && as_dir=.
5354 for lt_ac_prog in sed gsed; do
5355 for ac_exec_ext in '' $ac_executable_extensions; do
5356 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5357 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5365 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5366 # along with /bin/sed that truncates output.
5367 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5368 test ! -f $lt_ac_sed && continue
5369 cat /dev/null > conftest.in
5371 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5372 # Check for GNU sed and select it if it is found.
5373 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5374 lt_cv_path_SED=$lt_ac_sed
5378 cat conftest.in conftest.in >conftest.tmp
5379 mv conftest.tmp conftest.in
5380 cp conftest.in conftest.nl
5382 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5383 cmp -s conftest.out conftest.nl || break
5384 # 10000 chars as input seems more than enough
5385 test $lt_ac_count -gt 10 && break
5386 lt_ac_count=`expr $lt_ac_count + 1`
5387 if test $lt_ac_count -gt $lt_ac_max; then
5388 lt_ac_max=$lt_ac_count
5389 lt_cv_path_SED=$lt_ac_sed
5398 echo "$as_me:$LINENO: result: $SED" >&5
5399 echo "${ECHO_T}$SED" >&6
5401 test -z "$SED" && SED=sed
5402 Xsed="$SED -e 1s/^X//"
5414 echo "$as_me:$LINENO: checking for fgrep" >&5
5415 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5416 if test "${ac_cv_prog_fgrep+set}" = set; then
5417 echo $ECHO_N "(cached) $ECHO_C" >&6
5419 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
5420 then ac_cv_prog_fgrep='grep -F'
5421 else ac_cv_prog_fgrep='fgrep'
5424 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5425 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5426 FGREP=$ac_cv_prog_fgrep
5429 test -z "$GREP" && GREP=grep
5449 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5450 if test "${with_gnu_ld+set}" = set; then
5451 withval="$with_gnu_ld"
5452 test "$withval" = no || with_gnu_ld=yes
5457 if test "$GCC" = yes; then
5458 # Check if gcc -print-prog-name=ld gives a path.
5459 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5460 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5463 # gcc leaves a trailing carriage return which upsets mingw
5464 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5466 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5469 # Accept absolute paths.
5471 re_direlt='/[^/][^/]*/\.\./'
5472 # Canonicalize the pathname of ld
5473 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5474 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5475 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5477 test -z "$LD" && LD="$ac_prog"
5480 # If it fails, then pretend we aren't using GCC.
5484 # If it is relative, then search for the first ld in PATH.
5488 elif test "$with_gnu_ld" = yes; then
5489 echo "$as_me:$LINENO: checking for GNU ld" >&5
5490 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5492 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5493 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5495 if test "${lt_cv_path_LD+set}" = set; then
5496 echo $ECHO_N "(cached) $ECHO_C" >&6
5498 if test -z "$LD"; then
5499 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5500 for ac_dir in $PATH; do
5502 test -z "$ac_dir" && ac_dir=.
5503 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5504 lt_cv_path_LD="$ac_dir/$ac_prog"
5505 # Check to see if the program is GNU ld. I'd rather use --version,
5506 # but apparently some variants of GNU ld only accept -v.
5507 # Break only if it was the GNU/non-GNU ld that we prefer.
5508 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5509 *GNU* | *'with BFD'*)
5510 test "$with_gnu_ld" != no && break
5513 test "$with_gnu_ld" != yes && break
5520 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5525 if test -n "$LD"; then
5526 echo "$as_me:$LINENO: result: $LD" >&5
5527 echo "${ECHO_T}$LD" >&6
5529 echo "$as_me:$LINENO: result: no" >&5
5530 echo "${ECHO_T}no" >&6
5532 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5533 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5534 { (exit 1); exit 1; }; }
5535 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5536 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5537 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5538 echo $ECHO_N "(cached) $ECHO_C" >&6
5540 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5541 case `$LD -v 2>&1 </dev/null` in
5542 *GNU* | *'with BFD'*)
5543 lt_cv_prog_gnu_ld=yes
5546 lt_cv_prog_gnu_ld=no
5550 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5551 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5552 with_gnu_ld=$lt_cv_prog_gnu_ld
5562 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5563 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5564 if test "${lt_cv_path_NM+set}" = set; then
5565 echo $ECHO_N "(cached) $ECHO_C" >&6
5567 if test -n "$NM"; then
5568 # Let the user override the test.
5571 lt_nm_to_check="${ac_tool_prefix}nm"
5572 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5573 lt_nm_to_check="$lt_nm_to_check nm"
5575 for lt_tmp_nm in $lt_nm_to_check; do
5576 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5577 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5579 test -z "$ac_dir" && ac_dir=.
5580 tmp_nm="$ac_dir/$lt_tmp_nm"
5581 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5582 # Check to see if the nm accepts a BSD-compat flag.
5583 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5584 # nm: unknown option "B" ignored
5585 # Tru64's nm complains that /dev/null is an invalid object file
5586 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5587 */dev/null* | *'Invalid file or object type'*)
5588 lt_cv_path_NM="$tmp_nm -B"
5592 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5594 lt_cv_path_NM="$tmp_nm -p"
5598 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5599 continue # so that we can try to find one that supports BSD flags
5608 : ${lt_cv_path_NM=no}
5611 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5612 echo "${ECHO_T}$lt_cv_path_NM" >&6
5613 if test "$lt_cv_path_NM" != "no"; then
5616 # Didn't find any BSD compatible name lister, look for dumpbin.
5617 if test -n "$ac_tool_prefix"; then
5618 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5620 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5621 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5622 echo "$as_me:$LINENO: checking for $ac_word" >&5
5623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5624 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5625 echo $ECHO_N "(cached) $ECHO_C" >&6
5627 if test -n "$DUMPBIN"; then
5628 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 test -z "$as_dir" && as_dir=.
5635 for ac_exec_ext in '' $ac_executable_extensions; do
5636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5637 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5646 DUMPBIN=$ac_cv_prog_DUMPBIN
5647 if test -n "$DUMPBIN"; then
5648 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5649 echo "${ECHO_T}$DUMPBIN" >&6
5651 echo "$as_me:$LINENO: result: no" >&5
5652 echo "${ECHO_T}no" >&6
5655 test -n "$DUMPBIN" && break
5658 if test -z "$DUMPBIN"; then
5659 ac_ct_DUMPBIN=$DUMPBIN
5660 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5662 # Extract the first word of "$ac_prog", so it can be a program name with args.
5663 set dummy $ac_prog; ac_word=$2
5664 echo "$as_me:$LINENO: checking for $ac_word" >&5
5665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5666 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5667 echo $ECHO_N "(cached) $ECHO_C" >&6
5669 if test -n "$ac_ct_DUMPBIN"; then
5670 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5676 test -z "$as_dir" && as_dir=.
5677 for ac_exec_ext in '' $ac_executable_extensions; do
5678 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5679 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5688 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5689 if test -n "$ac_ct_DUMPBIN"; then
5690 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5691 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5693 echo "$as_me:$LINENO: result: no" >&5
5694 echo "${ECHO_T}no" >&6
5697 test -n "$ac_ct_DUMPBIN" && break
5699 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
5701 DUMPBIN=$ac_ct_DUMPBIN
5705 if test "$DUMPBIN" != ":"; then
5709 test -z "$NM" && NM=nm
5716 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5717 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5718 if test "${lt_cv_nm_interface+set}" = set; then
5719 echo $ECHO_N "(cached) $ECHO_C" >&6
5721 lt_cv_nm_interface="BSD nm"
5722 echo "int some_variable = 0;" > conftest.$ac_ext
5723 (eval echo "\"\$as_me:5723: $ac_compile\"" >&5)
5724 (eval "$ac_compile" 2>conftest.err)
5725 cat conftest.err >&5
5726 (eval echo "\"\$as_me:5726: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5727 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5728 cat conftest.err >&5
5729 (eval echo "\"\$as_me:5729: output\"" >&5)
5730 cat conftest.out >&5
5731 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5732 lt_cv_nm_interface="MS dumpbin"
5736 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5737 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5739 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5740 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5742 if test "$LN_S" = "ln -s"; then
5743 echo "$as_me:$LINENO: result: yes" >&5
5744 echo "${ECHO_T}yes" >&6
5746 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5747 echo "${ECHO_T}no, using $LN_S" >&6
5750 # find the maximum length of command line arguments
5751 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5752 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5753 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5754 echo $ECHO_N "(cached) $ECHO_C" >&6
5761 # On DJGPP, this test can blow up pretty badly due to problems in libc
5762 # (any single argument exceeding 2000 bytes causes a buffer overrun
5763 # during glob expansion). Even if it were fixed, the result of this
5764 # check would be larger than it should be.
5765 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5769 # Under GNU Hurd, this test is not required because there is
5770 # no limit to the length of command line arguments.
5771 # Libtool will interpret -1 as no limit whatsoever
5772 lt_cv_sys_max_cmd_len=-1;
5775 cygwin* | mingw* | cegcc*)
5776 # On Win9x/ME, this test blows up -- it succeeds, but takes
5777 # about 5 minutes as the teststring grows exponentially.
5778 # Worse, since 9x/ME are not pre-emptively multitasking,
5779 # you end up with a "frozen" computer, even though with patience
5780 # the test eventually succeeds (with a max line length of 256k).
5781 # Instead, let's just punt: use the minimum linelength reported by
5782 # all of the supported platforms: 8192 (on NT/2K/XP).
5783 lt_cv_sys_max_cmd_len=8192;
5787 # On AmigaOS with pdksh, this test takes hours, literally.
5788 # So we just punt and use a minimum line length of 8192.
5789 lt_cv_sys_max_cmd_len=8192;
5792 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5793 # This has been around since 386BSD, at least. Likely further.
5794 if test -x /sbin/sysctl; then
5795 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5796 elif test -x /usr/sbin/sysctl; then
5797 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5799 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5801 # And add a safety zone
5802 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5803 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5807 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5808 lt_cv_sys_max_cmd_len=196608
5812 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5813 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5814 # nice to cause kernel panics so lets avoid the loop below.
5815 # First set a reasonable default.
5816 lt_cv_sys_max_cmd_len=16384
5818 if test -x /sbin/sysconfig; then
5819 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5820 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5825 lt_cv_sys_max_cmd_len=102400
5827 sysv5* | sco5v6* | sysv4.2uw2*)
5828 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5829 if test -n "$kargmax"; then
5830 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5832 lt_cv_sys_max_cmd_len=32768
5836 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5837 if test -n "$lt_cv_sys_max_cmd_len"; then
5838 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5839 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5841 # Make teststring a little bigger before we do anything with it.
5842 # a 1K string should be a reasonable start.
5843 for i in 1 2 3 4 5 6 7 8 ; do
5844 teststring=$teststring$teststring
5846 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5847 # If test is not a shell built-in, we'll probably end up computing a
5848 # maximum length that is only half of the actual maximum length, but
5850 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5851 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5852 test $i != 17 # 1/2 MB should be enough
5855 teststring=$teststring$teststring
5857 # Only check the string length outside the loop.
5858 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5860 # Add a significant safety factor because C++ compilers can tack on
5861 # massive amounts of additional arguments before passing them to the
5862 # linker. It appears as though 1/2 is a usable value.
5863 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5870 if test -n $lt_cv_sys_max_cmd_len ; then
5871 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5872 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5874 echo "$as_me:$LINENO: result: none" >&5
5875 echo "${ECHO_T}none" >&6
5877 max_cmd_len=$lt_cv_sys_max_cmd_len
5888 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5889 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
5890 # Try some XSI features
5893 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5895 && eval 'test $(( 1 + 1 )) -eq 2 \
5896 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5898 echo "$as_me:$LINENO: result: $xsi_shell" >&5
5899 echo "${ECHO_T}$xsi_shell" >&6
5902 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5903 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
5905 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5907 && lt_shell_append=yes
5908 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5909 echo "${ECHO_T}$lt_shell_append" >&6
5912 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5922 # test EBCDIC or ASCII
5923 case `echo X|tr X '\101'` in
5924 A) # ASCII based system
5925 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5926 lt_SP2NL='tr \040 \012'
5927 lt_NL2SP='tr \015\012 \040\040'
5929 *) # EBCDIC based system
5930 lt_SP2NL='tr \100 \n'
5931 lt_NL2SP='tr \r\n \100\100'
5943 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5944 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5945 if test "${lt_cv_ld_reload_flag+set}" = set; then
5946 echo $ECHO_N "(cached) $ECHO_C" >&6
5948 lt_cv_ld_reload_flag='-r'
5950 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5951 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5952 reload_flag=$lt_cv_ld_reload_flag
5953 case $reload_flag in
5955 *) reload_flag=" $reload_flag" ;;
5957 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5960 if test "$GCC" = yes; then
5961 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5963 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5976 if test -n "$ac_tool_prefix"; then
5977 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5978 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5979 echo "$as_me:$LINENO: checking for $ac_word" >&5
5980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5981 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5982 echo $ECHO_N "(cached) $ECHO_C" >&6
5984 if test -n "$OBJDUMP"; then
5985 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5991 test -z "$as_dir" && as_dir=.
5992 for ac_exec_ext in '' $ac_executable_extensions; do
5993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5994 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6003 OBJDUMP=$ac_cv_prog_OBJDUMP
6004 if test -n "$OBJDUMP"; then
6005 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6006 echo "${ECHO_T}$OBJDUMP" >&6
6008 echo "$as_me:$LINENO: result: no" >&5
6009 echo "${ECHO_T}no" >&6
6013 if test -z "$ac_cv_prog_OBJDUMP"; then
6014 ac_ct_OBJDUMP=$OBJDUMP
6015 # Extract the first word of "objdump", so it can be a program name with args.
6016 set dummy objdump; ac_word=$2
6017 echo "$as_me:$LINENO: checking for $ac_word" >&5
6018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6019 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6020 echo $ECHO_N "(cached) $ECHO_C" >&6
6022 if test -n "$ac_ct_OBJDUMP"; then
6023 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6029 test -z "$as_dir" && as_dir=.
6030 for ac_exec_ext in '' $ac_executable_extensions; do
6031 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6032 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6039 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
6042 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6043 if test -n "$ac_ct_OBJDUMP"; then
6044 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
6045 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
6047 echo "$as_me:$LINENO: result: no" >&5
6048 echo "${ECHO_T}no" >&6
6051 OBJDUMP=$ac_ct_OBJDUMP
6053 OBJDUMP="$ac_cv_prog_OBJDUMP"
6056 test -z "$OBJDUMP" && OBJDUMP=objdump
6066 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6067 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
6068 if test "${lt_cv_deplibs_check_method+set}" = set; then
6069 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 lt_cv_file_magic_cmd='$MAGIC_CMD'
6072 lt_cv_file_magic_test_file=
6073 lt_cv_deplibs_check_method='unknown'
6074 # Need to set the preceding variable on all platforms that support
6075 # interlibrary dependencies.
6076 # 'none' -- dependencies not supported.
6077 # `unknown' -- same as none, but documents that we really don't know.
6078 # 'pass_all' -- all dependencies passed with no checks.
6079 # 'test_compile' -- check by making test program.
6080 # 'file_magic [[regex]]' -- check by looking for files in library path
6081 # which responds to the $file_magic_cmd with a given extended regex.
6082 # If you have `file' or equivalent on your system and you're not sure
6083 # whether `pass_all' will *always* work, you probably want this one.
6087 lt_cv_deplibs_check_method=pass_all
6091 lt_cv_deplibs_check_method=pass_all
6095 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6096 lt_cv_file_magic_cmd='/usr/bin/file -L'
6097 lt_cv_file_magic_test_file=/shlib/libc.so
6101 # func_win32_libid is a shell function defined in ltmain.sh
6102 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6103 lt_cv_file_magic_cmd='func_win32_libid'
6107 # Base MSYS/MinGW do not provide the 'file' command needed by
6108 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6109 # unless we find 'file', for example because we are cross-compiling.
6110 if ( file / ) >/dev/null 2>&1; then
6111 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6112 lt_cv_file_magic_cmd='func_win32_libid'
6114 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6115 lt_cv_file_magic_cmd='$OBJDUMP -f'
6120 # use the weaker test based on 'objdump'. See mingw*.
6121 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6122 lt_cv_file_magic_cmd='$OBJDUMP -f'
6125 darwin* | rhapsody*)
6126 lt_cv_deplibs_check_method=pass_all
6129 freebsd* | dragonfly*)
6130 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6133 # Not sure whether the presence of OpenBSD here was a mistake.
6134 # Let's accept both of them until this is cleared up.
6135 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6136 lt_cv_file_magic_cmd=/usr/bin/file
6137 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6141 lt_cv_deplibs_check_method=pass_all
6146 lt_cv_deplibs_check_method=pass_all
6149 hpux10.20* | hpux11*)
6150 lt_cv_file_magic_cmd=/usr/bin/file
6153 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6154 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6157 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]'
6158 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6161 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6162 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6168 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6169 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6172 irix5* | irix6* | nonstopux*)
6174 *-32|*"-32 ") libmagic=32-bit;;
6175 *-n32|*"-n32 ") libmagic=N32;;
6176 *-64|*"-64 ") libmagic=64-bit;;
6177 *) libmagic=never-match;;
6179 lt_cv_deplibs_check_method=pass_all
6182 # This must be Linux ELF.
6183 linux* | k*bsd*-gnu)
6184 lt_cv_deplibs_check_method=pass_all
6188 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6189 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6191 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6196 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6197 lt_cv_file_magic_cmd=/usr/bin/file
6198 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6202 lt_cv_deplibs_check_method=pass_all
6206 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6207 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6209 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6213 osf3* | osf4* | osf5*)
6214 lt_cv_deplibs_check_method=pass_all
6218 lt_cv_deplibs_check_method=pass_all
6222 lt_cv_deplibs_check_method=pass_all
6225 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6226 lt_cv_deplibs_check_method=pass_all
6230 case $host_vendor in
6232 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]'
6233 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6236 lt_cv_deplibs_check_method=pass_all
6239 lt_cv_file_magic_cmd='/bin/file'
6240 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6243 lt_cv_file_magic_cmd='/bin/file'
6244 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6245 lt_cv_file_magic_test_file=/lib/libc.so
6248 lt_cv_deplibs_check_method=pass_all
6251 lt_cv_deplibs_check_method=pass_all
6257 lt_cv_deplibs_check_method=pass_all
6262 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6263 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6264 file_magic_cmd=$lt_cv_file_magic_cmd
6265 deplibs_check_method=$lt_cv_deplibs_check_method
6266 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6279 if test -n "$ac_tool_prefix"; then
6280 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6281 set dummy ${ac_tool_prefix}ar; ac_word=$2
6282 echo "$as_me:$LINENO: checking for $ac_word" >&5
6283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6284 if test "${ac_cv_prog_AR+set}" = set; then
6285 echo $ECHO_N "(cached) $ECHO_C" >&6
6287 if test -n "$AR"; then
6288 ac_cv_prog_AR="$AR" # Let the user override the test.
6290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6294 test -z "$as_dir" && as_dir=.
6295 for ac_exec_ext in '' $ac_executable_extensions; do
6296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6297 ac_cv_prog_AR="${ac_tool_prefix}ar"
6298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6307 if test -n "$AR"; then
6308 echo "$as_me:$LINENO: result: $AR" >&5
6309 echo "${ECHO_T}$AR" >&6
6311 echo "$as_me:$LINENO: result: no" >&5
6312 echo "${ECHO_T}no" >&6
6316 if test -z "$ac_cv_prog_AR"; then
6318 # Extract the first word of "ar", so it can be a program name with args.
6319 set dummy ar; ac_word=$2
6320 echo "$as_me:$LINENO: checking for $ac_word" >&5
6321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6322 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6323 echo $ECHO_N "(cached) $ECHO_C" >&6
6325 if test -n "$ac_ct_AR"; then
6326 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6332 test -z "$as_dir" && as_dir=.
6333 for ac_exec_ext in '' $ac_executable_extensions; do
6334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6335 ac_cv_prog_ac_ct_AR="ar"
6336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6342 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
6345 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6346 if test -n "$ac_ct_AR"; then
6347 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6348 echo "${ECHO_T}$ac_ct_AR" >&6
6350 echo "$as_me:$LINENO: result: no" >&5
6351 echo "${ECHO_T}no" >&6
6359 test -z "$AR" && AR=ar
6360 test -z "$AR_FLAGS" && AR_FLAGS=cru
6372 if test -n "$ac_tool_prefix"; then
6373 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6374 set dummy ${ac_tool_prefix}strip; ac_word=$2
6375 echo "$as_me:$LINENO: checking for $ac_word" >&5
6376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6377 if test "${ac_cv_prog_STRIP+set}" = set; then
6378 echo $ECHO_N "(cached) $ECHO_C" >&6
6380 if test -n "$STRIP"; then
6381 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6387 test -z "$as_dir" && as_dir=.
6388 for ac_exec_ext in '' $ac_executable_extensions; do
6389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6390 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6399 STRIP=$ac_cv_prog_STRIP
6400 if test -n "$STRIP"; then
6401 echo "$as_me:$LINENO: result: $STRIP" >&5
6402 echo "${ECHO_T}$STRIP" >&6
6404 echo "$as_me:$LINENO: result: no" >&5
6405 echo "${ECHO_T}no" >&6
6409 if test -z "$ac_cv_prog_STRIP"; then
6411 # Extract the first word of "strip", so it can be a program name with args.
6412 set dummy strip; ac_word=$2
6413 echo "$as_me:$LINENO: checking for $ac_word" >&5
6414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6415 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6416 echo $ECHO_N "(cached) $ECHO_C" >&6
6418 if test -n "$ac_ct_STRIP"; then
6419 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6425 test -z "$as_dir" && as_dir=.
6426 for ac_exec_ext in '' $ac_executable_extensions; do
6427 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6428 ac_cv_prog_ac_ct_STRIP="strip"
6429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6435 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6438 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6439 if test -n "$ac_ct_STRIP"; then
6440 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6441 echo "${ECHO_T}$ac_ct_STRIP" >&6
6443 echo "$as_me:$LINENO: result: no" >&5
6444 echo "${ECHO_T}no" >&6
6449 STRIP="$ac_cv_prog_STRIP"
6452 test -z "$STRIP" && STRIP=:
6459 if test -n "$ac_tool_prefix"; then
6460 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6461 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6462 echo "$as_me:$LINENO: checking for $ac_word" >&5
6463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6464 if test "${ac_cv_prog_RANLIB+set}" = set; then
6465 echo $ECHO_N "(cached) $ECHO_C" >&6
6467 if test -n "$RANLIB"; then
6468 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6474 test -z "$as_dir" && as_dir=.
6475 for ac_exec_ext in '' $ac_executable_extensions; do
6476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6477 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6486 RANLIB=$ac_cv_prog_RANLIB
6487 if test -n "$RANLIB"; then
6488 echo "$as_me:$LINENO: result: $RANLIB" >&5
6489 echo "${ECHO_T}$RANLIB" >&6
6491 echo "$as_me:$LINENO: result: no" >&5
6492 echo "${ECHO_T}no" >&6
6496 if test -z "$ac_cv_prog_RANLIB"; then
6497 ac_ct_RANLIB=$RANLIB
6498 # Extract the first word of "ranlib", so it can be a program name with args.
6499 set dummy ranlib; ac_word=$2
6500 echo "$as_me:$LINENO: checking for $ac_word" >&5
6501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6502 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6503 echo $ECHO_N "(cached) $ECHO_C" >&6
6505 if test -n "$ac_ct_RANLIB"; then
6506 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6512 test -z "$as_dir" && as_dir=.
6513 for ac_exec_ext in '' $ac_executable_extensions; do
6514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6515 ac_cv_prog_ac_ct_RANLIB="ranlib"
6516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6522 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6525 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6526 if test -n "$ac_ct_RANLIB"; then
6527 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6528 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6530 echo "$as_me:$LINENO: result: no" >&5
6531 echo "${ECHO_T}no" >&6
6534 RANLIB=$ac_ct_RANLIB
6536 RANLIB="$ac_cv_prog_RANLIB"
6539 test -z "$RANLIB" && RANLIB=:
6546 # Determine commands to create old-style static archives.
6547 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6548 old_postinstall_cmds='chmod 644 $oldlib'
6549 old_postuninstall_cmds=
6551 if test -n "$RANLIB"; then
6554 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6557 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6560 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6596 # If no C compiler was specified, use CC.
6599 # If no C compiler flags were specified, use CFLAGS.
6600 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6602 # Allow CC to be a program name with arguments.
6606 # Check for command to grab the raw symbol name followed by C symbol from nm.
6607 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6608 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
6609 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6610 echo $ECHO_N "(cached) $ECHO_C" >&6
6613 # These are sane defaults that work on at least a few old systems.
6614 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6616 # Character class describing NM global symbol codes.
6617 symcode='[BCDEGRST]'
6619 # Regexp to match symbols that can be accessed directly from C.
6620 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6622 # Define system-specific variables.
6627 cygwin* | mingw* | pw32* | cegcc*)
6628 symcode='[ABCDGISTW]'
6631 if test "$host_cpu" = ia64; then
6632 symcode='[ABCDEGRST]'
6636 symcode='[BCDEGRST]'
6639 symcode='[BCDEGQRST]'
6650 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6658 # If we're using GNU nm, then use its standard symbol codes.
6659 case `$NM -V 2>&1` in
6660 *GNU* | *'with BFD'*)
6661 symcode='[ABCDGIRSTW]' ;;
6664 # Transform an extracted symbol line into a proper C declaration.
6665 # Some systems (esp. on ia64) link data and code symbols differently,
6666 # so use this general approach.
6667 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6669 # Transform an extracted symbol line into symbol name and symbol address
6670 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6671 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'"
6673 # Handle CRLF in mingw tool chain
6677 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6681 # Try without a prefix underscore, then with it.
6682 for ac_symprfx in "" "_"; do
6684 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6685 symxfrm="\\1 $ac_symprfx\\2 \\2"
6687 # Write the raw and C identifiers.
6688 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6689 # Fake it for dumpbin and say T for any non-static function
6690 # and D for any global variable.
6691 # Also find C++ and __fastcall symbols from MSVC++,
6692 # which start with @ or ?.
6693 lt_cv_sys_global_symbol_pipe="$AWK '"\
6694 " {last_section=section; section=\$ 3};"\
6695 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6696 " \$ 0!~/External *\|/{next};"\
6697 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6698 " {if(hide[section]) next};"\
6699 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6700 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6701 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6702 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6703 " ' prfx=^$ac_symprfx"
6705 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6708 # Check to see that the pipe works correctly.
6712 cat > conftest.$ac_ext <<_LT_EOF
6717 void nm_test_func(void);
6718 void nm_test_func(void){}
6722 int main(){nm_test_var='a';nm_test_func();return(0);}
6725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6726 (eval $ac_compile) 2>&5
6728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6729 (exit $ac_status); }; then
6730 # Now try to grab the symbols.
6732 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6733 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6736 (exit $ac_status); } && test -s "$nlist"; then
6737 # Try sorting and uniquifying the output.
6738 if sort "$nlist" | uniq > "$nlist"T; then
6739 mv -f "$nlist"T "$nlist"
6744 # Make sure that we snagged all the symbols we need.
6745 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6746 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6747 cat <<_LT_EOF > conftest.$ac_ext
6753 # Now generate the symbol file.
6754 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6756 cat <<_LT_EOF >> conftest.$ac_ext
6758 /* The mapping between symbol names and symbols. */
6763 lt__PROGRAM__LTX_preloaded_symbols[] =
6765 { "@PROGRAM@", (void *) 0 },
6767 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6768 cat <<\_LT_EOF >> conftest.$ac_ext
6772 /* This works around a problem in FreeBSD linker */
6773 #ifdef FREEBSD_WORKAROUND
6774 static const void *lt_preloaded_setup() {
6775 return lt__PROGRAM__LTX_preloaded_symbols;
6783 # Now try linking the two files.
6784 mv conftest.$ac_objext conftstm.$ac_objext
6785 lt_save_LIBS="$LIBS"
6786 lt_save_CFLAGS="$CFLAGS"
6787 LIBS="conftstm.$ac_objext"
6788 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6790 (eval $ac_link) 2>&5
6792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6793 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6796 LIBS="$lt_save_LIBS"
6797 CFLAGS="$lt_save_CFLAGS"
6799 echo "cannot find nm_test_func in $nlist" >&5
6802 echo "cannot find nm_test_var in $nlist" >&5
6805 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6808 echo "$progname: failed program was:" >&5
6809 cat conftest.$ac_ext >&5
6811 rm -rf conftest* conftst*
6813 # Do not use the global_symbol_pipe unless it works.
6814 if test "$pipe_works" = yes; then
6817 lt_cv_sys_global_symbol_pipe=
6823 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6824 lt_cv_sys_global_symbol_to_cdecl=
6826 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6827 echo "$as_me:$LINENO: result: failed" >&5
6828 echo "${ECHO_T}failed" >&6
6830 echo "$as_me:$LINENO: result: ok" >&5
6831 echo "${ECHO_T}ok" >&6
6855 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6856 if test "${enable_libtool_lock+set}" = set; then
6857 enableval="$enable_libtool_lock"
6860 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6862 # Some flags need to be propagated to the compiler or linker for good
6866 # Find out which ABI we are using.
6867 echo 'int i;' > conftest.$ac_ext
6868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6869 (eval $ac_compile) 2>&5
6871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6872 (exit $ac_status); }; then
6873 case `/usr/bin/file conftest.$ac_objext` in
6885 # Find out which ABI we are using.
6886 echo '#line 6886 "configure"' > conftest.$ac_ext
6887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6888 (eval $ac_compile) 2>&5
6890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6891 (exit $ac_status); }; then
6892 if test "$lt_cv_prog_gnu_ld" = yes; then
6893 case `/usr/bin/file conftest.$ac_objext` in
6895 LD="${LD-ld} -melf32bsmip"
6898 LD="${LD-ld} -melf32bmipn32"
6901 LD="${LD-ld} -melf64bmip"
6905 case `/usr/bin/file conftest.$ac_objext` in
6921 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6922 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6923 # Find out which ABI we are using.
6924 echo 'int i;' > conftest.$ac_ext
6925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6926 (eval $ac_compile) 2>&5
6928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6929 (exit $ac_status); }; then
6930 case `/usr/bin/file conftest.o` in
6933 x86_64-*kfreebsd*-gnu)
6934 LD="${LD-ld} -m elf_i386_fbsd"
6937 LD="${LD-ld} -m elf_i386"
6939 ppc64-*linux*|powerpc64-*linux*)
6940 LD="${LD-ld} -m elf32ppclinux"
6943 LD="${LD-ld} -m elf_s390"
6946 LD="${LD-ld} -m elf32_sparc"
6952 x86_64-*kfreebsd*-gnu)
6953 LD="${LD-ld} -m elf_x86_64_fbsd"
6956 LD="${LD-ld} -m elf_x86_64"
6958 ppc*-*linux*|powerpc*-*linux*)
6959 LD="${LD-ld} -m elf64ppc"
6961 s390*-*linux*|s390*-*tpf*)
6962 LD="${LD-ld} -m elf64_s390"
6965 LD="${LD-ld} -m elf64_sparc"
6975 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6976 SAVE_CFLAGS="$CFLAGS"
6977 CFLAGS="$CFLAGS -belf"
6978 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6979 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
6980 if test "${lt_cv_cc_needs_belf+set}" = set; then
6981 echo $ECHO_N "(cached) $ECHO_C" >&6
6984 ac_cpp='$CPP $CPPFLAGS'
6985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6989 cat >conftest.$ac_ext <<_ACEOF
6992 cat confdefs.h >>conftest.$ac_ext
6993 cat >>conftest.$ac_ext <<_ACEOF
6994 /* end confdefs.h. */
7004 rm -f conftest.$ac_objext conftest$ac_exeext
7005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7006 (eval $ac_link) 2>conftest.er1
7008 grep -v '^ *+' conftest.er1 >conftest.err
7010 cat conftest.err >&5
7011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7012 (exit $ac_status); } &&
7013 { ac_try='test -z "$ac_c_werror_flag"
7014 || test ! -s conftest.err'
7015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7019 (exit $ac_status); }; } &&
7020 { ac_try='test -s conftest$ac_exeext'
7021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7025 (exit $ac_status); }; }; then
7026 lt_cv_cc_needs_belf=yes
7028 echo "$as_me: failed program was:" >&5
7029 sed 's/^/| /' conftest.$ac_ext >&5
7031 lt_cv_cc_needs_belf=no
7033 rm -f conftest.err conftest.$ac_objext \
7034 conftest$ac_exeext conftest.$ac_ext
7036 ac_cpp='$CPP $CPPFLAGS'
7037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7042 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7043 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7044 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7045 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7046 CFLAGS="$SAVE_CFLAGS"
7050 # Find out which ABI we are using.
7051 echo 'int i;' > conftest.$ac_ext
7052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7053 (eval $ac_compile) 2>&5
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); }; then
7057 case `/usr/bin/file conftest.o` in
7059 case $lt_cv_prog_gnu_ld in
7060 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7062 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7074 need_locks="$enable_libtool_lock"
7078 rhapsody* | darwin*)
7079 if test -n "$ac_tool_prefix"; then
7080 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7081 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7082 echo "$as_me:$LINENO: checking for $ac_word" >&5
7083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7084 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7085 echo $ECHO_N "(cached) $ECHO_C" >&6
7087 if test -n "$DSYMUTIL"; then
7088 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7094 test -z "$as_dir" && as_dir=.
7095 for ac_exec_ext in '' $ac_executable_extensions; do
7096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7097 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7106 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7107 if test -n "$DSYMUTIL"; then
7108 echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7109 echo "${ECHO_T}$DSYMUTIL" >&6
7111 echo "$as_me:$LINENO: result: no" >&5
7112 echo "${ECHO_T}no" >&6
7116 if test -z "$ac_cv_prog_DSYMUTIL"; then
7117 ac_ct_DSYMUTIL=$DSYMUTIL
7118 # Extract the first word of "dsymutil", so it can be a program name with args.
7119 set dummy dsymutil; ac_word=$2
7120 echo "$as_me:$LINENO: checking for $ac_word" >&5
7121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7122 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7123 echo $ECHO_N "(cached) $ECHO_C" >&6
7125 if test -n "$ac_ct_DSYMUTIL"; then
7126 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7132 test -z "$as_dir" && as_dir=.
7133 for ac_exec_ext in '' $ac_executable_extensions; do
7134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7135 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7142 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
7145 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7146 if test -n "$ac_ct_DSYMUTIL"; then
7147 echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7148 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
7150 echo "$as_me:$LINENO: result: no" >&5
7151 echo "${ECHO_T}no" >&6
7154 DSYMUTIL=$ac_ct_DSYMUTIL
7156 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7159 if test -n "$ac_tool_prefix"; then
7160 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7161 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7162 echo "$as_me:$LINENO: checking for $ac_word" >&5
7163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7164 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7165 echo $ECHO_N "(cached) $ECHO_C" >&6
7167 if test -n "$NMEDIT"; then
7168 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7174 test -z "$as_dir" && as_dir=.
7175 for ac_exec_ext in '' $ac_executable_extensions; do
7176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7177 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7186 NMEDIT=$ac_cv_prog_NMEDIT
7187 if test -n "$NMEDIT"; then
7188 echo "$as_me:$LINENO: result: $NMEDIT" >&5
7189 echo "${ECHO_T}$NMEDIT" >&6
7191 echo "$as_me:$LINENO: result: no" >&5
7192 echo "${ECHO_T}no" >&6
7196 if test -z "$ac_cv_prog_NMEDIT"; then
7197 ac_ct_NMEDIT=$NMEDIT
7198 # Extract the first word of "nmedit", so it can be a program name with args.
7199 set dummy nmedit; ac_word=$2
7200 echo "$as_me:$LINENO: checking for $ac_word" >&5
7201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7202 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7203 echo $ECHO_N "(cached) $ECHO_C" >&6
7205 if test -n "$ac_ct_NMEDIT"; then
7206 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7212 test -z "$as_dir" && as_dir=.
7213 for ac_exec_ext in '' $ac_executable_extensions; do
7214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7215 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7222 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
7225 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7226 if test -n "$ac_ct_NMEDIT"; then
7227 echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7228 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
7230 echo "$as_me:$LINENO: result: no" >&5
7231 echo "${ECHO_T}no" >&6
7234 NMEDIT=$ac_ct_NMEDIT
7236 NMEDIT="$ac_cv_prog_NMEDIT"
7239 if test -n "$ac_tool_prefix"; then
7240 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7241 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7242 echo "$as_me:$LINENO: checking for $ac_word" >&5
7243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7244 if test "${ac_cv_prog_LIPO+set}" = set; then
7245 echo $ECHO_N "(cached) $ECHO_C" >&6
7247 if test -n "$LIPO"; then
7248 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7254 test -z "$as_dir" && as_dir=.
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7257 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7266 LIPO=$ac_cv_prog_LIPO
7267 if test -n "$LIPO"; then
7268 echo "$as_me:$LINENO: result: $LIPO" >&5
7269 echo "${ECHO_T}$LIPO" >&6
7271 echo "$as_me:$LINENO: result: no" >&5
7272 echo "${ECHO_T}no" >&6
7276 if test -z "$ac_cv_prog_LIPO"; then
7278 # Extract the first word of "lipo", so it can be a program name with args.
7279 set dummy lipo; ac_word=$2
7280 echo "$as_me:$LINENO: checking for $ac_word" >&5
7281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7282 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7283 echo $ECHO_N "(cached) $ECHO_C" >&6
7285 if test -n "$ac_ct_LIPO"; then
7286 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7292 test -z "$as_dir" && as_dir=.
7293 for ac_exec_ext in '' $ac_executable_extensions; do
7294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7295 ac_cv_prog_ac_ct_LIPO="lipo"
7296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7302 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
7305 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7306 if test -n "$ac_ct_LIPO"; then
7307 echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
7308 echo "${ECHO_T}$ac_ct_LIPO" >&6
7310 echo "$as_me:$LINENO: result: no" >&5
7311 echo "${ECHO_T}no" >&6
7316 LIPO="$ac_cv_prog_LIPO"
7319 if test -n "$ac_tool_prefix"; then
7320 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7321 set dummy ${ac_tool_prefix}otool; ac_word=$2
7322 echo "$as_me:$LINENO: checking for $ac_word" >&5
7323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7324 if test "${ac_cv_prog_OTOOL+set}" = set; then
7325 echo $ECHO_N "(cached) $ECHO_C" >&6
7327 if test -n "$OTOOL"; then
7328 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 test -z "$as_dir" && as_dir=.
7335 for ac_exec_ext in '' $ac_executable_extensions; do
7336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7337 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7346 OTOOL=$ac_cv_prog_OTOOL
7347 if test -n "$OTOOL"; then
7348 echo "$as_me:$LINENO: result: $OTOOL" >&5
7349 echo "${ECHO_T}$OTOOL" >&6
7351 echo "$as_me:$LINENO: result: no" >&5
7352 echo "${ECHO_T}no" >&6
7356 if test -z "$ac_cv_prog_OTOOL"; then
7358 # Extract the first word of "otool", so it can be a program name with args.
7359 set dummy otool; ac_word=$2
7360 echo "$as_me:$LINENO: checking for $ac_word" >&5
7361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7362 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7363 echo $ECHO_N "(cached) $ECHO_C" >&6
7365 if test -n "$ac_ct_OTOOL"; then
7366 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7372 test -z "$as_dir" && as_dir=.
7373 for ac_exec_ext in '' $ac_executable_extensions; do
7374 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7375 ac_cv_prog_ac_ct_OTOOL="otool"
7376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7382 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
7385 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7386 if test -n "$ac_ct_OTOOL"; then
7387 echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
7388 echo "${ECHO_T}$ac_ct_OTOOL" >&6
7390 echo "$as_me:$LINENO: result: no" >&5
7391 echo "${ECHO_T}no" >&6
7396 OTOOL="$ac_cv_prog_OTOOL"
7399 if test -n "$ac_tool_prefix"; then
7400 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7401 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7402 echo "$as_me:$LINENO: checking for $ac_word" >&5
7403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7404 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7405 echo $ECHO_N "(cached) $ECHO_C" >&6
7407 if test -n "$OTOOL64"; then
7408 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7414 test -z "$as_dir" && as_dir=.
7415 for ac_exec_ext in '' $ac_executable_extensions; do
7416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7417 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7426 OTOOL64=$ac_cv_prog_OTOOL64
7427 if test -n "$OTOOL64"; then
7428 echo "$as_me:$LINENO: result: $OTOOL64" >&5
7429 echo "${ECHO_T}$OTOOL64" >&6
7431 echo "$as_me:$LINENO: result: no" >&5
7432 echo "${ECHO_T}no" >&6
7436 if test -z "$ac_cv_prog_OTOOL64"; then
7437 ac_ct_OTOOL64=$OTOOL64
7438 # Extract the first word of "otool64", so it can be a program name with args.
7439 set dummy otool64; ac_word=$2
7440 echo "$as_me:$LINENO: checking for $ac_word" >&5
7441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7442 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7443 echo $ECHO_N "(cached) $ECHO_C" >&6
7445 if test -n "$ac_ct_OTOOL64"; then
7446 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7452 test -z "$as_dir" && as_dir=.
7453 for ac_exec_ext in '' $ac_executable_extensions; do
7454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7455 ac_cv_prog_ac_ct_OTOOL64="otool64"
7456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7462 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
7465 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7466 if test -n "$ac_ct_OTOOL64"; then
7467 echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
7468 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
7470 echo "$as_me:$LINENO: result: no" >&5
7471 echo "${ECHO_T}no" >&6
7474 OTOOL64=$ac_ct_OTOOL64
7476 OTOOL64="$ac_cv_prog_OTOOL64"
7505 echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7506 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
7507 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7508 echo $ECHO_N "(cached) $ECHO_C" >&6
7510 lt_cv_apple_cc_single_mod=no
7511 if test -z "${LT_MULTI_MODULE}"; then
7512 # By default we will add the -single_module flag. You can override
7513 # by either setting the environment variable LT_MULTI_MODULE
7514 # non-empty at configure time, or by adding -multi_module to the
7516 rm -rf libconftest.dylib*
7517 echo "int foo(void){return 1;}" > conftest.c
7518 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7519 -dynamiclib -Wl,-single_module conftest.c" >&5
7520 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7521 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7523 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7524 lt_cv_apple_cc_single_mod=yes
7526 cat conftest.err >&5
7528 rm -rf libconftest.dylib*
7532 echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7533 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
7534 echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7535 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
7536 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7537 echo $ECHO_N "(cached) $ECHO_C" >&6
7539 lt_cv_ld_exported_symbols_list=no
7540 save_LDFLAGS=$LDFLAGS
7541 echo "_main" > conftest.sym
7542 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7543 cat >conftest.$ac_ext <<_ACEOF
7546 cat confdefs.h >>conftest.$ac_ext
7547 cat >>conftest.$ac_ext <<_ACEOF
7548 /* end confdefs.h. */
7558 rm -f conftest.$ac_objext conftest$ac_exeext
7559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7560 (eval $ac_link) 2>conftest.er1
7562 grep -v '^ *+' conftest.er1 >conftest.err
7564 cat conftest.err >&5
7565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566 (exit $ac_status); } &&
7567 { ac_try='test -z "$ac_c_werror_flag"
7568 || test ! -s conftest.err'
7569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573 (exit $ac_status); }; } &&
7574 { ac_try='test -s conftest$ac_exeext'
7575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7579 (exit $ac_status); }; }; then
7580 lt_cv_ld_exported_symbols_list=yes
7582 echo "$as_me: failed program was:" >&5
7583 sed 's/^/| /' conftest.$ac_ext >&5
7585 lt_cv_ld_exported_symbols_list=no
7587 rm -f conftest.err conftest.$ac_objext \
7588 conftest$ac_exeext conftest.$ac_ext
7589 LDFLAGS="$save_LDFLAGS"
7592 echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7593 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
7595 rhapsody* | darwin1.[012])
7596 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7598 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7599 darwin*) # darwin 5.x on
7600 # if running on 10.5 or later, the deployment target defaults
7601 # to the OS version, if on x86, and 10.4, the deployment
7602 # target defaults to 10.4. Don't you love it?
7603 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7604 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7605 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7607 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7609 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7613 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7614 _lt_dar_single_mod='$single_module'
7616 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7617 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7619 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7621 if test "$DSYMUTIL" != ":"; then
7622 _lt_dsymutil='~$DSYMUTIL $lib || :'
7630 for ac_header in dlfcn.h
7632 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7633 echo "$as_me:$LINENO: checking for $ac_header" >&5
7634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7636 echo $ECHO_N "(cached) $ECHO_C" >&6
7638 cat >conftest.$ac_ext <<_ACEOF
7641 cat confdefs.h >>conftest.$ac_ext
7642 cat >>conftest.$ac_ext <<_ACEOF
7643 /* end confdefs.h. */
7644 $ac_includes_default
7646 #include <$ac_header>
7648 rm -f conftest.$ac_objext
7649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7650 (eval $ac_compile) 2>conftest.er1
7652 grep -v '^ *+' conftest.er1 >conftest.err
7654 cat conftest.err >&5
7655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7656 (exit $ac_status); } &&
7657 { ac_try='test -z "$ac_c_werror_flag"
7658 || test ! -s conftest.err'
7659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663 (exit $ac_status); }; } &&
7664 { ac_try='test -s conftest.$ac_objext'
7665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669 (exit $ac_status); }; }; then
7670 eval "$as_ac_Header=yes"
7672 echo "$as_me: failed program was:" >&5
7673 sed 's/^/| /' conftest.$ac_ext >&5
7675 eval "$as_ac_Header=no"
7677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7681 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7682 cat >>confdefs.h <<_ACEOF
7683 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7703 # Check whether --enable-static or --disable-static was given.
7704 if test "${enable_static+set}" = set; then
7705 enableval="$enable_static"
7706 p=${PACKAGE-default}
7708 yes) enable_static=yes ;;
7709 no) enable_static=no ;;
7712 # Look at the argument we got. We use all the common list separators.
7713 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7714 for pkg in $enableval; do
7716 if test "X$pkg" = "X$p"; then
7735 # Check whether --with-pic or --without-pic was given.
7736 if test "${with_pic+set}" = set; then
7743 test -z "$pic_mode" && pic_mode=default
7751 # Check whether --enable-fast-install or --disable-fast-install was given.
7752 if test "${enable_fast_install+set}" = set; then
7753 enableval="$enable_fast_install"
7754 p=${PACKAGE-default}
7756 yes) enable_fast_install=yes ;;
7757 no) enable_fast_install=no ;;
7759 enable_fast_install=no
7760 # Look at the argument we got. We use all the common list separators.
7761 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7762 for pkg in $enableval; do
7764 if test "X$pkg" = "X$p"; then
7765 enable_fast_install=yes
7772 enable_fast_install=yes
7784 # This can be used to rebuild libtool when needed
7785 LIBTOOL_DEPS="$ltmain"
7787 # Always use our own libtool.
7788 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7814 test -z "$LN_S" && LN_S="ln -s"
7829 if test -n "${ZSH_VERSION+set}" ; then
7830 setopt NO_GLOB_SUBST
7833 echo "$as_me:$LINENO: checking for objdir" >&5
7834 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7835 if test "${lt_cv_objdir+set}" = set; then
7836 echo $ECHO_N "(cached) $ECHO_C" >&6
7838 rm -f .libs 2>/dev/null
7839 mkdir .libs 2>/dev/null
7840 if test -d .libs; then
7843 # MS-DOS does not allow filenames that begin with a dot.
7846 rmdir .libs 2>/dev/null
7848 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7849 echo "${ECHO_T}$lt_cv_objdir" >&6
7850 objdir=$lt_cv_objdir
7856 cat >>confdefs.h <<_ACEOF
7857 #define LT_OBJDIR "$lt_cv_objdir/"
7878 # AIX sometimes has problems with the GCC collect2 program. For some
7879 # reason, if we set the COLLECT_NAMES environment variable, the problems
7880 # vanish in a puff of smoke.
7881 if test "X${COLLECT_NAMES+set}" != Xset; then
7883 export COLLECT_NAMES
7888 # Sed substitution that helps us do robust quoting. It backslashifies
7889 # metacharacters that are still active within double-quoted strings.
7890 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7892 # Same as above, but do not quote variable references.
7893 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7895 # Sed substitution to delay expansion of an escaped shell variable in a
7896 # double_quote_subst'ed string.
7897 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7899 # Sed substitution to delay expansion of an escaped single quote.
7900 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7902 # Sed substitution to avoid accidental globbing in evaled expressions
7903 no_glob_subst='s/\*/\\\*/g'
7907 can_build_shared=yes
7909 # All known linkers require a `.a' archive for static linking (except MSVC,
7910 # which needs '.lib').
7913 with_gnu_ld="$lt_cv_prog_gnu_ld"
7916 old_CFLAGS="$CFLAGS"
7918 # Set sane defaults for various variables
7919 test -z "$CC" && CC=cc
7920 test -z "$LTCC" && LTCC=$CC
7921 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7922 test -z "$LD" && LD=ld
7923 test -z "$ac_objext" && ac_objext=o
7925 for cc_temp in $compiler""; do
7927 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7928 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7933 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7936 # Only perform the check for file, if the check method requires it
7937 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7938 case $deplibs_check_method in
7940 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7941 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7942 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7943 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7944 echo $ECHO_N "(cached) $ECHO_C" >&6
7948 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7951 lt_save_MAGIC_CMD="$MAGIC_CMD"
7952 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7953 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7954 for ac_dir in $ac_dummy; do
7956 test -z "$ac_dir" && ac_dir=.
7957 if test -f $ac_dir/${ac_tool_prefix}file; then
7958 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7959 if test -n "$file_magic_test_file"; then
7960 case $deplibs_check_method in
7962 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7963 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7964 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7965 $EGREP "$file_magic_regex" > /dev/null; then
7970 *** Warning: the command libtool uses to detect shared libraries,
7971 *** $file_magic_cmd, produces output that libtool cannot recognize.
7972 *** The result is that libtool may fail to recognize shared libraries
7973 *** as such. This will affect the creation of libtool libraries that
7974 *** depend on shared libraries, but programs linked with such libtool
7975 *** libraries will work regardless of this problem. Nevertheless, you
7976 *** may want to report the problem to your system manager and/or to
7977 *** bug-libtool@gnu.org
7987 MAGIC_CMD="$lt_save_MAGIC_CMD"
7992 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7993 if test -n "$MAGIC_CMD"; then
7994 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7995 echo "${ECHO_T}$MAGIC_CMD" >&6
7997 echo "$as_me:$LINENO: result: no" >&5
7998 echo "${ECHO_T}no" >&6
8005 if test -z "$lt_cv_path_MAGIC_CMD"; then
8006 if test -n "$ac_tool_prefix"; then
8007 echo "$as_me:$LINENO: checking for file" >&5
8008 echo $ECHO_N "checking for file... $ECHO_C" >&6
8009 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8010 echo $ECHO_N "(cached) $ECHO_C" >&6
8014 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8017 lt_save_MAGIC_CMD="$MAGIC_CMD"
8018 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8019 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8020 for ac_dir in $ac_dummy; do
8022 test -z "$ac_dir" && ac_dir=.
8023 if test -f $ac_dir/file; then
8024 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8025 if test -n "$file_magic_test_file"; then
8026 case $deplibs_check_method in
8028 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8029 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8030 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8031 $EGREP "$file_magic_regex" > /dev/null; then
8036 *** Warning: the command libtool uses to detect shared libraries,
8037 *** $file_magic_cmd, produces output that libtool cannot recognize.
8038 *** The result is that libtool may fail to recognize shared libraries
8039 *** as such. This will affect the creation of libtool libraries that
8040 *** depend on shared libraries, but programs linked with such libtool
8041 *** libraries will work regardless of this problem. Nevertheless, you
8042 *** may want to report the problem to your system manager and/or to
8043 *** bug-libtool@gnu.org
8053 MAGIC_CMD="$lt_save_MAGIC_CMD"
8058 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8059 if test -n "$MAGIC_CMD"; then
8060 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8061 echo "${ECHO_T}$MAGIC_CMD" >&6
8063 echo "$as_me:$LINENO: result: no" >&5
8064 echo "${ECHO_T}no" >&6
8077 # Use C for the default configuration in the libtool script
8081 ac_cpp='$CPP $CPPFLAGS'
8082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8087 # Source file extension for C test sources.
8090 # Object file extension for compiled C test sources.
8094 # Code to be used in simple compile tests
8095 lt_simple_compile_test_code="int some_variable = 0;"
8097 # Code to be used in simple link tests
8098 lt_simple_link_test_code='int main(){return(0);}'
8106 # If no C compiler was specified, use CC.
8109 # If no C compiler flags were specified, use CFLAGS.
8110 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8112 # Allow CC to be a program name with arguments.
8115 # Save the default compiler, since it gets overwritten when the other
8116 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8117 compiler_DEFAULT=$CC
8119 # save warnings/boilerplate of simple test code
8120 ac_outfile=conftest.$ac_objext
8121 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8122 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8123 _lt_compiler_boilerplate=`cat conftest.err`
8126 ac_outfile=conftest.$ac_objext
8127 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8128 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8129 _lt_linker_boilerplate=`cat conftest.err`
8134 ## There is no encapsulation within the following macros, do not change
8135 ## the running order or otherwise move them around unless you know exactly
8136 ## what you are doing...
8137 if test -n "$compiler"; then
8139 lt_prog_compiler_no_builtin_flag=
8141 if test "$GCC" = yes; then
8142 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8144 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8145 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
8146 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8147 echo $ECHO_N "(cached) $ECHO_C" >&6
8149 lt_cv_prog_compiler_rtti_exceptions=no
8150 ac_outfile=conftest.$ac_objext
8151 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8152 lt_compiler_flag="-fno-rtti -fno-exceptions"
8153 # Insert the option either (1) after the last *FLAGS variable, or
8154 # (2) before a word containing "conftest.", or (3) at the end.
8155 # Note that $ac_compile itself does not contain backslashes and begins
8156 # with a dollar sign (not a hyphen), so the echo should work correctly.
8157 # The option is referenced via a variable to avoid confusing sed.
8158 lt_compile=`echo "$ac_compile" | $SED \
8159 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8160 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8161 -e 's:$: $lt_compiler_flag:'`
8162 (eval echo "\"\$as_me:8162: $lt_compile\"" >&5)
8163 (eval "$lt_compile" 2>conftest.err)
8165 cat conftest.err >&5
8166 echo "$as_me:8166: \$? = $ac_status" >&5
8167 if (exit $ac_status) && test -s "$ac_outfile"; then
8168 # The compiler can only warn and ignore the option if not recognized
8169 # So say no if there are warnings other than the usual output.
8170 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8171 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8172 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8173 lt_cv_prog_compiler_rtti_exceptions=yes
8179 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8180 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
8182 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8183 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8195 lt_prog_compiler_wl=
8196 lt_prog_compiler_pic=
8197 lt_prog_compiler_static=
8199 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8200 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8202 if test "$GCC" = yes; then
8203 lt_prog_compiler_wl='-Wl,'
8204 lt_prog_compiler_static='-static'
8208 # All AIX code is PIC.
8209 if test "$host_cpu" = ia64; then
8210 # AIX 5 now supports IA64 processor
8211 lt_prog_compiler_static='-Bstatic'
8218 # see comment about AmigaOS4 .so support
8219 lt_prog_compiler_pic='-fPIC'
8222 # FIXME: we need at least 68020 code to build shared libraries, but
8223 # adding the `-m68020' flag to GCC prevents building anything better,
8225 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8230 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8231 # PIC is the default for these OSes.
8234 mingw* | cygwin* | pw32* | os2* | cegcc*)
8235 # This hack is so that the source file can tell whether it is being
8236 # built for inclusion in a dll (and should export symbols for example).
8237 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8238 # (--disable-auto-import) libraries
8239 lt_prog_compiler_pic='-DDLL_EXPORT'
8242 darwin* | rhapsody*)
8243 # PIC is the default on this platform
8244 # Common symbols not allowed in MH_DYLIB files
8245 lt_prog_compiler_pic='-fno-common'
8249 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8250 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8251 # sets the default TLS model and affects inlining.
8257 lt_prog_compiler_pic='-fPIC'
8263 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8264 # Instead, we relocate shared libraries at runtime.
8268 # Just because we use GCC doesn't mean we suddenly get shared libraries
8269 # on systems that don't support them.
8270 lt_prog_compiler_can_build_shared=no
8275 # QNX uses GNU C++, but need to define -shared option too, otherwise
8277 lt_prog_compiler_pic='-fPIC -shared'
8281 if test -d /usr/nec; then
8282 lt_prog_compiler_pic=-Kconform_pic
8287 lt_prog_compiler_pic='-fPIC'
8291 # PORTME Check for flag to pass linker flags through the system compiler.
8294 lt_prog_compiler_wl='-Wl,'
8295 if test "$host_cpu" = ia64; then
8296 # AIX 5 now supports IA64 processor
8297 lt_prog_compiler_static='-Bstatic'
8299 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8303 mingw* | cygwin* | pw32* | os2* | cegcc*)
8304 # This hack is so that the source file can tell whether it is being
8305 # built for inclusion in a dll (and should export symbols for example).
8306 lt_prog_compiler_pic='-DDLL_EXPORT'
8309 hpux9* | hpux10* | hpux11*)
8310 lt_prog_compiler_wl='-Wl,'
8311 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8318 lt_prog_compiler_pic='+Z'
8321 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8322 lt_prog_compiler_static='${wl}-a ${wl}archive'
8325 irix5* | irix6* | nonstopux*)
8326 lt_prog_compiler_wl='-Wl,'
8327 # PIC (with -KPIC) is the default.
8328 lt_prog_compiler_static='-non_shared'
8331 linux* | k*bsd*-gnu)
8332 case $cc_basename in
8333 # old Intel for x86_64 which still supported -KPIC.
8335 lt_prog_compiler_wl='-Wl,'
8336 lt_prog_compiler_pic='-KPIC'
8337 lt_prog_compiler_static='-static'
8339 # icc used to be incompatible with GCC.
8340 # ICC 10 doesn't accept -KPIC any more.
8342 lt_prog_compiler_wl='-Wl,'
8343 lt_prog_compiler_pic='-fPIC'
8344 lt_prog_compiler_static='-static'
8346 # Lahey Fortran 8.1.
8348 lt_prog_compiler_wl='-Wl,'
8349 lt_prog_compiler_pic='--shared'
8350 lt_prog_compiler_static='--static'
8352 pgcc* | pgf77* | pgf90* | pgf95*)
8353 # Portland Group compilers (*not* the Pentium gcc compiler,
8354 # which looks to be a dead project)
8355 lt_prog_compiler_wl='-Wl,'
8356 lt_prog_compiler_pic='-fpic'
8357 lt_prog_compiler_static='-Bstatic'
8360 lt_prog_compiler_wl='-Wl,'
8361 # All Alpha code is PIC.
8362 lt_prog_compiler_static='-non_shared'
8365 # IBM XL C 8.0/Fortran 10.1 on PPC
8366 lt_prog_compiler_wl='-Wl,'
8367 lt_prog_compiler_pic='-qpic'
8368 lt_prog_compiler_static='-qstaticlink'
8371 case `$CC -V 2>&1 | sed 5q` in
8374 lt_prog_compiler_pic='-KPIC'
8375 lt_prog_compiler_static='-Bstatic'
8376 lt_prog_compiler_wl='-Wl,'
8379 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8380 lt_prog_compiler_pic='-KPIC'
8381 lt_prog_compiler_static='-Bstatic'
8382 lt_prog_compiler_wl=''
8390 lt_prog_compiler_pic='-KPIC'
8391 lt_prog_compiler_static='-Bstatic'
8395 # QNX uses GNU C++, but need to define -shared option too, otherwise
8397 lt_prog_compiler_pic='-fPIC -shared'
8400 osf3* | osf4* | osf5*)
8401 lt_prog_compiler_wl='-Wl,'
8402 # All OSF/1 code is PIC.
8403 lt_prog_compiler_static='-non_shared'
8407 lt_prog_compiler_static='-non_shared'
8411 lt_prog_compiler_pic='-KPIC'
8412 lt_prog_compiler_static='-Bstatic'
8413 case $cc_basename in
8415 lt_prog_compiler_wl='-Qoption ld ';;
8417 lt_prog_compiler_wl='-Wl,';;
8422 lt_prog_compiler_wl='-Qoption ld '
8423 lt_prog_compiler_pic='-PIC'
8424 lt_prog_compiler_static='-Bstatic'
8427 sysv4 | sysv4.2uw2* | sysv4.3*)
8428 lt_prog_compiler_wl='-Wl,'
8429 lt_prog_compiler_pic='-KPIC'
8430 lt_prog_compiler_static='-Bstatic'
8434 if test -d /usr/nec ;then
8435 lt_prog_compiler_pic='-Kconform_pic'
8436 lt_prog_compiler_static='-Bstatic'
8440 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8441 lt_prog_compiler_wl='-Wl,'
8442 lt_prog_compiler_pic='-KPIC'
8443 lt_prog_compiler_static='-Bstatic'
8447 lt_prog_compiler_wl='-Wl,'
8448 lt_prog_compiler_can_build_shared=no
8452 lt_prog_compiler_pic='-pic'
8453 lt_prog_compiler_static='-Bstatic'
8457 lt_prog_compiler_can_build_shared=no
8463 # For platforms which do not support PIC, -DPIC is meaningless:
8465 lt_prog_compiler_pic=
8468 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8471 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8472 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8480 # Check to make sure the PIC flag actually works.
8482 if test -n "$lt_prog_compiler_pic"; then
8483 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8484 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8485 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8486 echo $ECHO_N "(cached) $ECHO_C" >&6
8488 lt_cv_prog_compiler_pic_works=no
8489 ac_outfile=conftest.$ac_objext
8490 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8491 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8492 # Insert the option either (1) after the last *FLAGS variable, or
8493 # (2) before a word containing "conftest.", or (3) at the end.
8494 # Note that $ac_compile itself does not contain backslashes and begins
8495 # with a dollar sign (not a hyphen), so the echo should work correctly.
8496 # The option is referenced via a variable to avoid confusing sed.
8497 lt_compile=`echo "$ac_compile" | $SED \
8498 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8499 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8500 -e 's:$: $lt_compiler_flag:'`
8501 (eval echo "\"\$as_me:8501: $lt_compile\"" >&5)
8502 (eval "$lt_compile" 2>conftest.err)
8504 cat conftest.err >&5
8505 echo "$as_me:8505: \$? = $ac_status" >&5
8506 if (exit $ac_status) && test -s "$ac_outfile"; then
8507 # The compiler can only warn and ignore the option if not recognized
8508 # So say no if there are warnings other than the usual output.
8509 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8510 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8511 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8512 lt_cv_prog_compiler_pic_works=yes
8518 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8519 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
8521 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8522 case $lt_prog_compiler_pic in
8524 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8527 lt_prog_compiler_pic=
8528 lt_prog_compiler_can_build_shared=no
8539 # Check to make sure the static flag actually works.
8541 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8542 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8543 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
8544 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8545 echo $ECHO_N "(cached) $ECHO_C" >&6
8547 lt_cv_prog_compiler_static_works=no
8548 save_LDFLAGS="$LDFLAGS"
8549 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8550 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8551 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8552 # The linker can only warn and ignore the option if not recognized
8553 # So say no if there are warnings
8554 if test -s conftest.err; then
8555 # Append any errors to the config.log.
8556 cat conftest.err 1>&5
8557 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8558 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8559 if diff conftest.exp conftest.er2 >/dev/null; then
8560 lt_cv_prog_compiler_static_works=yes
8563 lt_cv_prog_compiler_static_works=yes
8567 LDFLAGS="$save_LDFLAGS"
8570 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8571 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
8573 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8576 lt_prog_compiler_static=
8585 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8586 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8587 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8588 echo $ECHO_N "(cached) $ECHO_C" >&6
8590 lt_cv_prog_compiler_c_o=no
8591 $RM -r conftest 2>/dev/null
8595 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8597 lt_compiler_flag="-o out/conftest2.$ac_objext"
8598 # Insert the option either (1) after the last *FLAGS variable, or
8599 # (2) before a word containing "conftest.", or (3) at the end.
8600 # Note that $ac_compile itself does not contain backslashes and begins
8601 # with a dollar sign (not a hyphen), so the echo should work correctly.
8602 lt_compile=`echo "$ac_compile" | $SED \
8603 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8604 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8605 -e 's:$: $lt_compiler_flag:'`
8606 (eval echo "\"\$as_me:8606: $lt_compile\"" >&5)
8607 (eval "$lt_compile" 2>out/conftest.err)
8609 cat out/conftest.err >&5
8610 echo "$as_me:8610: \$? = $ac_status" >&5
8611 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8613 # The compiler can only warn and ignore the option if not recognized
8614 # So say no if there are warnings
8615 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8616 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8617 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8618 lt_cv_prog_compiler_c_o=yes
8623 # SGI C++ compiler will create directory out/ii_files/ for
8624 # template instantiation
8625 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8626 $RM out/* && rmdir out
8632 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8633 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8640 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8641 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8642 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8643 echo $ECHO_N "(cached) $ECHO_C" >&6
8645 lt_cv_prog_compiler_c_o=no
8646 $RM -r conftest 2>/dev/null
8650 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8652 lt_compiler_flag="-o out/conftest2.$ac_objext"
8653 # Insert the option either (1) after the last *FLAGS variable, or
8654 # (2) before a word containing "conftest.", or (3) at the end.
8655 # Note that $ac_compile itself does not contain backslashes and begins
8656 # with a dollar sign (not a hyphen), so the echo should work correctly.
8657 lt_compile=`echo "$ac_compile" | $SED \
8658 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8659 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8660 -e 's:$: $lt_compiler_flag:'`
8661 (eval echo "\"\$as_me:8661: $lt_compile\"" >&5)
8662 (eval "$lt_compile" 2>out/conftest.err)
8664 cat out/conftest.err >&5
8665 echo "$as_me:8665: \$? = $ac_status" >&5
8666 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8668 # The compiler can only warn and ignore the option if not recognized
8669 # So say no if there are warnings
8670 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8671 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8672 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8673 lt_cv_prog_compiler_c_o=yes
8678 # SGI C++ compiler will create directory out/ii_files/ for
8679 # template instantiation
8680 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8681 $RM out/* && rmdir out
8687 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8688 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8693 hard_links="nottested"
8694 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8695 # do not overwrite the value of need_locks provided by the user
8696 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8697 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8700 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8702 ln conftest.a conftest.b 2>&5 || hard_links=no
8703 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8704 echo "$as_me:$LINENO: result: $hard_links" >&5
8705 echo "${ECHO_T}$hard_links" >&6
8706 if test "$hard_links" = no; then
8707 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8708 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8720 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8721 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8724 allow_undefined_flag=
8725 always_export_symbols=no
8727 archive_expsym_cmds=
8728 compiler_needs_object=no
8729 enable_shared_with_static_runtimes=no
8730 export_dynamic_flag_spec=
8731 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8732 hardcode_automatic=no
8734 hardcode_direct_absolute=no
8735 hardcode_libdir_flag_spec=
8736 hardcode_libdir_flag_spec_ld=
8737 hardcode_libdir_separator=
8739 hardcode_shlibpath_var=unsupported
8741 link_all_deplibs=unknown
8744 old_archive_from_new_cmds=
8745 old_archive_from_expsyms_cmds=
8746 thread_safe_flag_spec=
8747 whole_archive_flag_spec=
8748 # include_expsyms should be a list of space-separated symbols to be *always*
8749 # included in the symbol list
8751 # exclude_expsyms can be an extended regexp of symbols to exclude
8752 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8753 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8754 # as well as any symbol that contains `d'.
8755 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8756 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8757 # platforms (ab)use it in PIC code, but their linkers get confused if
8758 # the symbol is explicitly referenced. Since portable code cannot
8759 # rely on this symbol name, it's probably fine to never include it in
8760 # preloaded symbol tables.
8761 # Exclude shared library initialization/finalization symbols.
8762 extract_expsyms_cmds=
8765 cygwin* | mingw* | pw32* | cegcc*)
8766 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8767 # When not using gcc, we currently assume that we are using
8768 # Microsoft Visual C++.
8769 if test "$GCC" != yes; then
8774 # we just hope/assume this is gcc and not c89 (= MSVC++)
8783 if test "$with_gnu_ld" = yes; then
8784 # If archive_cmds runs LD, not CC, wlarc should be empty
8787 # Set some defaults for GNU ld with shared library support. These
8788 # are reset later if shared libraries are not supported. Putting them
8789 # here allows them to be overridden if necessary.
8790 runpath_var=LD_RUN_PATH
8791 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8792 export_dynamic_flag_spec='${wl}--export-dynamic'
8793 # ancient GNU ld didn't support --whole-archive et. al.
8794 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8795 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8797 whole_archive_flag_spec=
8799 supports_anon_versioning=no
8800 case `$LD -v 2>&1` in
8801 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8802 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8803 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8804 *\ 2.11.*) ;; # other 2.11 versions
8805 *) supports_anon_versioning=yes ;;
8808 # See if GNU ld supports shared libraries.
8811 # On AIX/PPC, the GNU linker is very broken
8812 if test "$host_cpu" != ia64; then
8816 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8817 *** to be unable to reliably create shared libraries on AIX.
8818 *** Therefore, libtool is disabling shared libraries support. If you
8819 *** really care for shared libraries, you may want to modify your PATH
8820 *** so that a non-GNU linker is found, and then restart.
8829 # see comment about AmigaOS4 .so support
8830 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8831 archive_expsym_cmds=''
8834 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)'
8835 hardcode_libdir_flag_spec='-L$libdir'
8836 hardcode_minus_L=yes
8842 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8843 allow_undefined_flag=unsupported
8844 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8845 # support --undefined. This deserves some investigation. FIXME
8846 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8852 cygwin* | mingw* | pw32* | cegcc*)
8853 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8854 # as there is no search path for DLLs.
8855 hardcode_libdir_flag_spec='-L$libdir'
8856 allow_undefined_flag=unsupported
8857 always_export_symbols=no
8858 enable_shared_with_static_runtimes=yes
8859 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8861 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8862 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8863 # If the export-symbols file already is a .def file (1st line
8864 # is EXPORTS), use it as is; otherwise, prepend...
8865 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8866 cp $export_symbols $output_objdir/$soname.def;
8868 echo EXPORTS > $output_objdir/$soname.def;
8869 cat $export_symbols >> $output_objdir/$soname.def;
8871 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8879 hardcode_shlibpath_var=no
8880 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8881 export_dynamic_flag_spec='${wl}-E'
8882 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8883 # Instead, shared libraries are loaded at an image base (0x10000000 by
8884 # default) and relocated if they conflict, which is a slow very memory
8885 # consuming and fragmenting process. To avoid this, we pick a random,
8886 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8887 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8888 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8889 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'
8892 gnu* | linux* | tpf* | k*bsd*-gnu)
8894 if test "$host_os" = linux-dietlibc; then
8895 case $cc_basename in
8896 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8899 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8900 && test "$tmp_diet" = no
8903 tmp_sharedflag='-shared'
8904 case $cc_basename,$host_cpu in
8905 pgcc*) # Portland Group C compiler
8906 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'
8907 tmp_addflag=' $pic_flag'
8909 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8910 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'
8911 tmp_addflag=' $pic_flag -Mnomain' ;;
8912 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8913 tmp_addflag=' -i_dynamic' ;;
8914 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8915 tmp_addflag=' -i_dynamic -nofor_main' ;;
8916 ifc* | ifort*) # Intel Fortran compiler
8917 tmp_addflag=' -nofor_main' ;;
8918 lf95*) # Lahey Fortran 8.1
8919 whole_archive_flag_spec=
8920 tmp_sharedflag='--shared' ;;
8921 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8922 tmp_sharedflag='-qmkshrobj'
8925 case `$CC -V 2>&1 | sed 5q` in
8926 *Sun\ C*) # Sun C 5.9
8927 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'
8928 compiler_needs_object=yes
8929 tmp_sharedflag='-G' ;;
8930 *Sun\ F*) # Sun Fortran 8.3
8931 tmp_sharedflag='-G' ;;
8933 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8935 if test "x$supports_anon_versioning" = xyes; then
8936 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8937 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8938 echo "local: *; };" >> $output_objdir/$libname.ver~
8939 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8942 case $cc_basename in
8944 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8945 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8946 hardcode_libdir_flag_spec=
8947 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8948 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8949 if test "x$supports_anon_versioning" = xyes; then
8950 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8951 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8952 echo "local: *; };" >> $output_objdir/$libname.ver~
8953 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8963 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8964 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8967 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8968 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8973 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8977 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8978 *** create shared libraries on Solaris systems. Therefore, libtool
8979 *** is disabling shared libraries support. We urge you to upgrade GNU
8980 *** binutils to release 2.9.1 or newer. Another option is to modify
8981 *** your PATH or compiler configuration so that the native linker is
8982 *** used, and then restart.
8985 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8986 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8987 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8993 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8994 case `$LD -v 2>&1` in
8995 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8999 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9000 *** reliably create shared libraries on SCO systems. Therefore, libtool
9001 *** is disabling shared libraries support. We urge you to upgrade GNU
9002 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9003 *** your PATH or compiler configuration so that the native linker is
9004 *** used, and then restart.
9009 # For security reasons, it is highly recommended that you always
9010 # use absolute paths for naming shared libraries, and exclude the
9011 # DT_RUNPATH tag from executables and libraries. But doing so
9012 # requires that you compile everything twice, which is a pain.
9013 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9014 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9015 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9016 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9025 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9028 hardcode_shlibpath_var=no
9032 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9033 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9034 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9041 if test "$ld_shlibs" = no; then
9043 hardcode_libdir_flag_spec=
9044 export_dynamic_flag_spec=
9045 whole_archive_flag_spec=
9048 # PORTME fill in a description of your system's linker (not GNU ld)
9051 allow_undefined_flag=unsupported
9052 always_export_symbols=yes
9053 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'
9054 # Note: this linker hardcodes the directories in LIBPATH if there
9055 # are no directories specified by -L.
9056 hardcode_minus_L=yes
9057 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9058 # Neither direct hardcoding nor static linking is supported with a
9060 hardcode_direct=unsupported
9065 if test "$host_cpu" = ia64; then
9066 # On IA64, the linker does run time linking by default, so we don't
9067 # have to do anything special.
9068 aix_use_runtimelinking=no
9069 exp_sym_flag='-Bexport'
9072 # If we're using GNU nm, then we don't want the "-C" option.
9073 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9074 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9075 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'
9077 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'
9079 aix_use_runtimelinking=no
9081 # Test if we are trying to use run time linking or normal
9082 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9083 # need to do runtime linking.
9084 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9085 for ld_flag in $LDFLAGS; do
9086 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9087 aix_use_runtimelinking=yes
9094 exp_sym_flag='-bexport'
9095 no_entry_flag='-bnoentry'
9098 # When large executables or shared objects are built, AIX ld can
9099 # have problems creating the table of contents. If linking a library
9100 # or program results in "error TOC overflow" add -mminimal-toc to
9101 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9102 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9106 hardcode_direct_absolute=yes
9107 hardcode_libdir_separator=':'
9108 link_all_deplibs=yes
9109 file_list_spec='${wl}-f,'
9111 if test "$GCC" = yes; then
9112 case $host_os in aix4.[012]|aix4.[012].*)
9113 # We only want to do this on AIX 4.2 and lower, the check
9114 # below for broken collect2 doesn't work under 4.3+
9115 collect2name=`${CC} -print-prog-name=collect2`
9116 if test -f "$collect2name" &&
9117 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9119 # We have reworked collect2
9122 # We have old collect2
9123 hardcode_direct=unsupported
9124 # It fails to find uninstalled libraries when the uninstalled
9125 # path is not listed in the libpath. Setting hardcode_minus_L
9126 # to unsupported forces relinking
9127 hardcode_minus_L=yes
9128 hardcode_libdir_flag_spec='-L$libdir'
9129 hardcode_libdir_separator=
9133 shared_flag='-shared'
9134 if test "$aix_use_runtimelinking" = yes; then
9135 shared_flag="$shared_flag "'${wl}-G'
9139 if test "$host_cpu" = ia64; then
9140 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9141 # chokes on -Wl,-G. The following line is correct:
9144 if test "$aix_use_runtimelinking" = yes; then
9145 shared_flag='${wl}-G'
9147 shared_flag='${wl}-bM:SRE'
9152 export_dynamic_flag_spec='${wl}-bexpall'
9153 # It seems that -bexpall does not export symbols beginning with
9154 # underscore (_), so it is better to generate a list of symbols to export.
9155 always_export_symbols=yes
9156 if test "$aix_use_runtimelinking" = yes; then
9157 # Warning - without using the other runtime loading flags (-brtl),
9158 # -berok will link without error, but may produce a broken library.
9159 allow_undefined_flag='-berok'
9160 # Determine the default libpath from the value encoded in an
9162 cat >conftest.$ac_ext <<_ACEOF
9165 cat confdefs.h >>conftest.$ac_ext
9166 cat >>conftest.$ac_ext <<_ACEOF
9167 /* end confdefs.h. */
9177 rm -f conftest.$ac_objext conftest$ac_exeext
9178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9179 (eval $ac_link) 2>conftest.er1
9181 grep -v '^ *+' conftest.er1 >conftest.err
9183 cat conftest.err >&5
9184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9185 (exit $ac_status); } &&
9186 { ac_try='test -z "$ac_c_werror_flag"
9187 || test ! -s conftest.err'
9188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192 (exit $ac_status); }; } &&
9193 { ac_try='test -s conftest$ac_exeext'
9194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9198 (exit $ac_status); }; }; then
9200 lt_aix_libpath_sed='
9201 /Import File Strings/,/^$/ {
9207 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9208 # Check for a 64-bit object if we didn't find anything.
9209 if test -z "$aix_libpath"; then
9210 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9213 echo "$as_me: failed program was:" >&5
9214 sed 's/^/| /' conftest.$ac_ext >&5
9217 rm -f conftest.err conftest.$ac_objext \
9218 conftest$ac_exeext conftest.$ac_ext
9219 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9221 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9222 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"
9224 if test "$host_cpu" = ia64; then
9225 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9226 allow_undefined_flag="-z nodefs"
9227 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"
9229 # Determine the default libpath from the value encoded in an
9231 cat >conftest.$ac_ext <<_ACEOF
9234 cat confdefs.h >>conftest.$ac_ext
9235 cat >>conftest.$ac_ext <<_ACEOF
9236 /* end confdefs.h. */
9246 rm -f conftest.$ac_objext conftest$ac_exeext
9247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9248 (eval $ac_link) 2>conftest.er1
9250 grep -v '^ *+' conftest.er1 >conftest.err
9252 cat conftest.err >&5
9253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9254 (exit $ac_status); } &&
9255 { ac_try='test -z "$ac_c_werror_flag"
9256 || test ! -s conftest.err'
9257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9261 (exit $ac_status); }; } &&
9262 { ac_try='test -s conftest$ac_exeext'
9263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267 (exit $ac_status); }; }; then
9269 lt_aix_libpath_sed='
9270 /Import File Strings/,/^$/ {
9276 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9277 # Check for a 64-bit object if we didn't find anything.
9278 if test -z "$aix_libpath"; then
9279 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9282 echo "$as_me: failed program was:" >&5
9283 sed 's/^/| /' conftest.$ac_ext >&5
9286 rm -f conftest.err conftest.$ac_objext \
9287 conftest$ac_exeext conftest.$ac_ext
9288 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9290 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9291 # Warning - without using the other run time loading flags,
9292 # -berok will link without error, but may produce a broken library.
9293 no_undefined_flag=' ${wl}-bernotok'
9294 allow_undefined_flag=' ${wl}-berok'
9295 # Exported symbols can be pulled into shared objects from archives
9296 whole_archive_flag_spec='$convenience'
9297 archive_cmds_need_lc=yes
9298 # This is similar to how AIX traditionally builds its shared libraries.
9299 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'
9307 # see comment about AmigaOS4 .so support
9308 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9309 archive_expsym_cmds=''
9312 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)'
9313 hardcode_libdir_flag_spec='-L$libdir'
9314 hardcode_minus_L=yes
9320 export_dynamic_flag_spec=-rdynamic
9323 cygwin* | mingw* | pw32* | cegcc*)
9324 # When not using gcc, we currently assume that we are using
9325 # Microsoft Visual C++.
9326 # hardcode_libdir_flag_spec is actually meaningless, as there is
9327 # no search path for DLLs.
9328 hardcode_libdir_flag_spec=' '
9329 allow_undefined_flag=unsupported
9330 # Tell ltmain to make .lib files, not .a files.
9332 # Tell ltmain to make .dll files, not .so files.
9334 # FIXME: Setting linknames here is a bad hack.
9335 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9336 # The linker will automatically build a .lib file if we build a DLL.
9337 old_archive_from_new_cmds='true'
9338 # FIXME: Should let the user specify the lib program.
9339 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9340 fix_srcfile_path='`cygpath -w "$srcfile"`'
9341 enable_shared_with_static_runtimes=yes
9344 darwin* | rhapsody*)
9347 archive_cmds_need_lc=no
9349 hardcode_automatic=yes
9350 hardcode_shlibpath_var=unsupported
9351 whole_archive_flag_spec=''
9352 link_all_deplibs=yes
9353 allow_undefined_flag="$_lt_dar_allow_undefined"
9354 case $cc_basename in
9355 ifort*) _lt_dar_can_shared=yes ;;
9356 *) _lt_dar_can_shared=$GCC ;;
9358 if test "$_lt_dar_can_shared" = "yes"; then
9359 output_verbose_link_cmd=echo
9360 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9361 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9362 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}"
9363 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}"
9372 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9373 hardcode_libdir_flag_spec='-L$libdir'
9374 hardcode_shlibpath_var=no
9381 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9382 # support. Future versions do this automatically, but an explicit c++rt0.o
9383 # does not break anything, and helps significantly (at the cost of a little
9386 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9387 hardcode_libdir_flag_spec='-R$libdir'
9389 hardcode_shlibpath_var=no
9392 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9394 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9396 hardcode_minus_L=yes
9397 hardcode_shlibpath_var=no
9400 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9401 freebsd* | dragonfly*)
9402 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9403 hardcode_libdir_flag_spec='-R$libdir'
9405 hardcode_shlibpath_var=no
9409 if test "$GCC" = yes; then
9410 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'
9412 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'
9414 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9415 hardcode_libdir_separator=:
9418 # hardcode_minus_L: Not really in the search PATH,
9419 # but as the default location of the library.
9420 hardcode_minus_L=yes
9421 export_dynamic_flag_spec='${wl}-E'
9425 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9426 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9428 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9430 if test "$with_gnu_ld" = no; then
9431 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9432 hardcode_libdir_flag_spec_ld='+b $libdir'
9433 hardcode_libdir_separator=:
9435 hardcode_direct_absolute=yes
9436 export_dynamic_flag_spec='${wl}-E'
9437 # hardcode_minus_L: Not really in the search PATH,
9438 # but as the default location of the library.
9439 hardcode_minus_L=yes
9444 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9447 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9450 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9453 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9459 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9462 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9465 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9469 if test "$with_gnu_ld" = no; then
9470 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9471 hardcode_libdir_separator=:
9476 hardcode_shlibpath_var=no
9480 hardcode_direct_absolute=yes
9481 export_dynamic_flag_spec='${wl}-E'
9483 # hardcode_minus_L: Not really in the search PATH,
9484 # but as the default location of the library.
9485 hardcode_minus_L=yes
9491 irix5* | irix6* | nonstopux*)
9492 if test "$GCC" = yes; then
9493 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'
9494 # Try to use the -exported_symbol ld option, if it does not
9495 # work, assume that -exports_file does not work either and
9496 # implicitly export all symbols.
9497 save_LDFLAGS="$LDFLAGS"
9498 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9499 cat >conftest.$ac_ext <<_ACEOF
9502 rm -f conftest.$ac_objext conftest$ac_exeext
9503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9504 (eval $ac_link) 2>conftest.er1
9506 grep -v '^ *+' conftest.er1 >conftest.err
9508 cat conftest.err >&5
9509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510 (exit $ac_status); } &&
9511 { ac_try='test -z "$ac_c_werror_flag"
9512 || test ! -s conftest.err'
9513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 (exit $ac_status); }; } &&
9518 { ac_try='test -s conftest$ac_exeext'
9519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); }; }; then
9524 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'
9527 echo "$as_me: failed program was:" >&5
9528 sed 's/^/| /' conftest.$ac_ext >&5
9531 rm -f conftest.err conftest.$ac_objext \
9532 conftest$ac_exeext conftest.$ac_ext
9533 LDFLAGS="$save_LDFLAGS"
9535 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'
9536 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'
9538 archive_cmds_need_lc='no'
9539 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9540 hardcode_libdir_separator=:
9542 link_all_deplibs=yes
9546 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9547 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9549 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9551 hardcode_libdir_flag_spec='-R$libdir'
9553 hardcode_shlibpath_var=no
9557 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9559 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9560 hardcode_libdir_separator=:
9561 hardcode_shlibpath_var=no
9568 if test -f /usr/libexec/ld.so; then
9570 hardcode_shlibpath_var=no
9571 hardcode_direct_absolute=yes
9572 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9573 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9574 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9575 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9576 export_dynamic_flag_spec='${wl}-E'
9579 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9580 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9581 hardcode_libdir_flag_spec='-R$libdir'
9584 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9585 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9595 hardcode_libdir_flag_spec='-L$libdir'
9596 hardcode_minus_L=yes
9597 allow_undefined_flag=unsupported
9598 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'
9599 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9603 if test "$GCC" = yes; then
9604 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9605 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'
9607 allow_undefined_flag=' -expect_unresolved \*'
9608 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'
9610 archive_cmds_need_lc='no'
9611 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9612 hardcode_libdir_separator=:
9615 osf4* | osf5*) # as osf3* with the addition of -msym flag
9616 if test "$GCC" = yes; then
9617 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9618 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'
9619 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9621 allow_undefined_flag=' -expect_unresolved \*'
9622 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'
9623 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~
9624 $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'
9626 # Both c and cxx compiler support -rpath directly
9627 hardcode_libdir_flag_spec='-rpath $libdir'
9629 archive_cmds_need_lc='no'
9630 hardcode_libdir_separator=:
9634 no_undefined_flag=' -z defs'
9635 if test "$GCC" = yes; then
9637 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9638 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9639 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9641 case `$CC -V 2>&1` in
9644 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9645 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9646 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9650 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9651 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9652 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9656 hardcode_libdir_flag_spec='-R$libdir'
9657 hardcode_shlibpath_var=no
9659 solaris2.[0-5] | solaris2.[0-5].*) ;;
9661 # The compiler driver will combine and reorder linker options,
9662 # but understands `-z linker_flag'. GCC discards it without `$wl',
9663 # but is careful enough not to reorder.
9664 # Supported since Solaris 2.6 (maybe 2.5.1?)
9665 if test "$GCC" = yes; then
9666 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9668 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9672 link_all_deplibs=yes
9676 if test "x$host_vendor" = xsequent; then
9677 # Use $CC to link under sequent, because it throws in some extra .o
9678 # files that make .init and .fini sections work.
9679 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9681 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9683 hardcode_libdir_flag_spec='-L$libdir'
9685 hardcode_minus_L=yes
9686 hardcode_shlibpath_var=no
9690 case $host_vendor in
9692 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9693 hardcode_direct=yes # is this really true???
9696 ## LD is ld it makes a PLAMLIB
9697 ## CC just makes a GrossModule.
9698 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9699 reload_cmds='$CC -r -o $output$reload_objs'
9703 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9704 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9707 runpath_var='LD_RUN_PATH'
9708 hardcode_shlibpath_var=no
9712 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9713 hardcode_shlibpath_var=no
9714 export_dynamic_flag_spec='-Bexport'
9718 if test -d /usr/nec; then
9719 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9720 hardcode_shlibpath_var=no
9721 runpath_var=LD_RUN_PATH
9722 hardcode_runpath_var=yes
9727 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9728 no_undefined_flag='${wl}-z,text'
9729 archive_cmds_need_lc=no
9730 hardcode_shlibpath_var=no
9731 runpath_var='LD_RUN_PATH'
9733 if test "$GCC" = yes; then
9734 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9735 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9737 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9738 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9742 sysv5* | sco3.2v5* | sco5v6*)
9743 # Note: We can NOT use -z defs as we might desire, because we do not
9744 # link with -lc, and that would cause any symbols used from libc to
9745 # always be unresolved, which means just about no library would
9746 # ever link correctly. If we're not using GNU ld we use -z text
9747 # though, which does catch some bad symbols but isn't as heavy-handed
9749 no_undefined_flag='${wl}-z,text'
9750 allow_undefined_flag='${wl}-z,nodefs'
9751 archive_cmds_need_lc=no
9752 hardcode_shlibpath_var=no
9753 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9754 hardcode_libdir_separator=':'
9755 link_all_deplibs=yes
9756 export_dynamic_flag_spec='${wl}-Bexport'
9757 runpath_var='LD_RUN_PATH'
9759 if test "$GCC" = yes; then
9760 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9761 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9763 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9764 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9769 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9770 hardcode_libdir_flag_spec='-L$libdir'
9771 hardcode_shlibpath_var=no
9779 if test x$host_vendor = xsni; then
9781 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9782 export_dynamic_flag_spec='${wl}-Blargedynsym'
9788 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9789 echo "${ECHO_T}$ld_shlibs" >&6
9790 test "$ld_shlibs" = no && can_build_shared=no
9792 with_gnu_ld=$with_gnu_ld
9809 # Do we need to explicitly link libc?
9811 case "x$archive_cmds_need_lc" in
9813 # Assume -lc should be added
9814 archive_cmds_need_lc=yes
9816 if test "$enable_shared" = yes && test "$GCC" = yes; then
9817 case $archive_cmds in
9819 # FIXME: we may have to deal with multi-command sequences.
9822 # Test whether the compiler implicitly links with -lc since on some
9823 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9824 # to ld, don't add -lc before -lgcc.
9825 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9826 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9827 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
9828 echo $ECHO_N "(cached) $ECHO_C" >&6
9831 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9834 (eval $ac_compile) 2>&5
9836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9837 (exit $ac_status); } 2>conftest.err; then
9840 libobjs=conftest.$ac_objext
9842 wl=$lt_prog_compiler_wl
9843 pic_flag=$lt_prog_compiler_pic
9849 lt_save_allow_undefined_flag=$allow_undefined_flag
9850 allow_undefined_flag=
9851 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9852 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9855 (exit $ac_status); }
9857 lt_cv_archive_cmds_need_lc=no
9859 lt_cv_archive_cmds_need_lc=yes
9861 allow_undefined_flag=$lt_save_allow_undefined_flag
9863 cat conftest.err 1>&5
9868 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
9869 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
9870 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10033 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10034 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10036 if test "$GCC" = yes; then
10038 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10039 *) lt_awk_arg="/^libraries:/" ;;
10041 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10042 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10043 # if the path contains ";" then we assume it to be the separator
10044 # otherwise default to the standard path separator (i.e. ":") - it is
10045 # assumed that no part of a normal pathname contains ";" but that should
10046 # okay in the real world where ";" in dirpaths is itself problematic.
10047 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10049 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10051 # Ok, now we have the path, separated by spaces, we can step through it
10052 # and add multilib dir if necessary.
10053 lt_tmp_lt_search_path_spec=
10054 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10055 for lt_sys_path in $lt_search_path_spec; do
10056 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10057 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10059 test -d "$lt_sys_path" && \
10060 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10063 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10064 BEGIN {RS=" "; FS="/|\n";} {
10067 for (lt_i = NF; lt_i > 0; lt_i--) {
10068 if ($lt_i != "" && $lt_i != ".") {
10069 if ($lt_i == "..") {
10072 if (lt_count == 0) {
10073 lt_foo="/" $lt_i lt_foo;
10080 if (lt_foo != "") { lt_freq[lt_foo]++; }
10081 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10083 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10085 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10087 library_names_spec=
10088 libname_spec='lib$name'
10092 postuninstall_cmds=
10096 shlibpath_overrides_runpath=unknown
10098 dynamic_linker="$host_os ld.so"
10099 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10100 need_lib_prefix=unknown
10101 hardcode_into_libs=no
10103 # when you set need_version to no, make sure it does not cause -set_version
10104 # flags to be left without arguments
10105 need_version=unknown
10110 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10111 shlibpath_var=LIBPATH
10113 # AIX 3 has no versioning support, so we append a major version to the name.
10114 soname_spec='${libname}${release}${shared_ext}$major'
10121 hardcode_into_libs=yes
10122 if test "$host_cpu" = ia64; then
10123 # AIX 5 supports IA64
10124 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10125 shlibpath_var=LD_LIBRARY_PATH
10127 # With GCC up to 2.95.x, collect2 would create an import file
10128 # for dependence libraries. The import file would start with
10129 # the line `#! .'. This would cause the generated library to
10130 # depend on `.', always an invalid library. This was fixed in
10131 # development snapshots of GCC prior to 3.0.
10133 aix4 | aix4.[01] | aix4.[01].*)
10134 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10136 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10139 can_build_shared=no
10143 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10144 # soname into executable. Probably we can add versioning support to
10145 # collect2, so additional links can be useful in future.
10146 if test "$aix_use_runtimelinking" = yes; then
10147 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10148 # instead of lib<name>.a to let people know that these are not
10149 # typical AIX shared libraries.
10150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10152 # We preserve .a as extension for shared libraries through AIX4.2
10153 # and later when we are not doing run time linking.
10154 library_names_spec='${libname}${release}.a $libname.a'
10155 soname_spec='${libname}${release}${shared_ext}$major'
10157 shlibpath_var=LIBPATH
10164 # Since July 2007 AmigaOS4 officially supports .so libraries.
10165 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10169 library_names_spec='$libname.ixlibrary $libname.a'
10170 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10171 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'
10177 library_names_spec='${libname}${shared_ext}'
10178 dynamic_linker="$host_os ld.so"
10179 shlibpath_var=LIBRARY_PATH
10185 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10186 soname_spec='${libname}${release}${shared_ext}$major'
10187 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10188 shlibpath_var=LD_LIBRARY_PATH
10189 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10190 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10191 # the default ld.so.conf also contains /usr/contrib/lib and
10192 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10193 # libtool to hard-code these into programs
10196 cygwin* | mingw* | pw32* | cegcc*)
10197 version_type=windows
10202 case $GCC,$host_os in
10203 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10204 library_names_spec='$libname.dll.a'
10205 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10206 postinstall_cmds='base_file=`basename \${file}`~
10207 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10208 dldir=$destdir/`dirname \$dlpath`~
10209 test -d \$dldir || mkdir -p \$dldir~
10210 $install_prog $dir/$dlname \$dldir/$dlname~
10211 chmod a+x \$dldir/$dlname~
10212 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10213 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10215 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10216 dlpath=$dir/\$dldll~
10218 shlibpath_overrides_runpath=yes
10222 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10223 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10224 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10227 # MinGW DLLs use traditional 'lib' prefix
10228 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10229 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10230 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10231 # It is most probably a Windows format PATH printed by
10232 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10233 # path with ; separators, and with drive letters. We can handle the
10234 # drive letters (cygwin fileutils understands them), so leave them,
10235 # especially as we might pass files found there to a mingw objdump,
10236 # which wouldn't understand a cygwinified path. Ahh.
10237 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10239 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10243 # pw32 DLLs use 'pw' prefix rather than 'lib'
10244 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10250 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10253 dynamic_linker='Win32 ld.exe'
10254 # FIXME: first we should search . and the directory the executable is in
10258 darwin* | rhapsody*)
10259 dynamic_linker="$host_os dyld"
10260 version_type=darwin
10263 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10264 soname_spec='${libname}${release}${major}$shared_ext'
10265 shlibpath_overrides_runpath=yes
10266 shlibpath_var=DYLD_LIBRARY_PATH
10267 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10269 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10270 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10278 soname_spec='${libname}${release}${shared_ext}$major'
10279 shlibpath_var=LD_LIBRARY_PATH
10286 freebsd* | dragonfly*)
10287 # DragonFly does not have aout. When/if they implement a new
10288 # versioning mechanism, adjust this.
10289 if test -x /usr/bin/objformat; then
10290 objformat=`/usr/bin/objformat`
10293 freebsd[123]*) objformat=aout ;;
10294 *) objformat=elf ;;
10297 version_type=freebsd-$objformat
10298 case $version_type in
10300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10305 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10309 shlibpath_var=LD_LIBRARY_PATH
10312 shlibpath_overrides_runpath=yes
10314 freebsd3.[01]* | freebsdelf3.[01]*)
10315 shlibpath_overrides_runpath=yes
10316 hardcode_into_libs=yes
10318 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10319 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10320 shlibpath_overrides_runpath=no
10321 hardcode_into_libs=yes
10323 *) # from 4.6 on, and DragonFly
10324 shlibpath_overrides_runpath=yes
10325 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
10337 hardcode_into_libs=yes
10340 hpux9* | hpux10* | hpux11*)
10341 # Give a soname corresponding to the major version so that dld.sl refuses to
10342 # link against other versions.
10349 hardcode_into_libs=yes
10350 dynamic_linker="$host_os dld.so"
10351 shlibpath_var=LD_LIBRARY_PATH
10352 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10354 soname_spec='${libname}${release}${shared_ext}$major'
10355 if test "X$HPUX_IA64_MODE" = X32; then
10356 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10358 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10360 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10364 hardcode_into_libs=yes
10365 dynamic_linker="$host_os dld.sl"
10366 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10367 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10369 soname_spec='${libname}${release}${shared_ext}$major'
10370 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10371 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10375 dynamic_linker="$host_os dld.sl"
10376 shlibpath_var=SHLIB_PATH
10377 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10379 soname_spec='${libname}${release}${shared_ext}$major'
10382 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10383 postinstall_cmds='chmod 555 $lib'
10390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10391 soname_spec='${libname}${release}${shared_ext}$major'
10392 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10393 shlibpath_var=LD_LIBRARY_PATH
10394 shlibpath_overrides_runpath=no
10395 hardcode_into_libs=yes
10398 irix5* | irix6* | nonstopux*)
10400 nonstopux*) version_type=nonstopux ;;
10402 if test "$lt_cv_prog_gnu_ld" = yes; then
10410 soname_spec='${libname}${release}${shared_ext}$major'
10411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10413 irix5* | nonstopux*)
10414 libsuff= shlibsuff=
10417 case $LD in # libtool.m4 will add one of these switches to LD
10418 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10419 libsuff= shlibsuff= libmagic=32-bit;;
10420 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10421 libsuff=32 shlibsuff=N32 libmagic=N32;;
10422 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10423 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10424 *) libsuff= shlibsuff= libmagic=never-match;;
10428 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10429 shlibpath_overrides_runpath=no
10430 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10431 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10432 hardcode_into_libs=yes
10435 # No shared lib support for Linux oldld, aout, or coff.
10436 linux*oldld* | linux*aout* | linux*coff*)
10440 # This must be Linux ELF.
10441 linux* | k*bsd*-gnu)
10445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10446 soname_spec='${libname}${release}${shared_ext}$major'
10447 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10448 shlibpath_var=LD_LIBRARY_PATH
10449 shlibpath_overrides_runpath=no
10451 # Some binutils ld are patched to set DT_RUNPATH
10452 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
10453 echo $ECHO_N "(cached) $ECHO_C" >&6
10455 lt_cv_shlibpath_overrides_runpath=no
10456 save_LDFLAGS=$LDFLAGS
10457 save_libdir=$libdir
10458 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10459 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10460 cat >conftest.$ac_ext <<_ACEOF
10463 cat confdefs.h >>conftest.$ac_ext
10464 cat >>conftest.$ac_ext <<_ACEOF
10465 /* end confdefs.h. */
10475 rm -f conftest.$ac_objext conftest$ac_exeext
10476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10477 (eval $ac_link) 2>conftest.er1
10479 grep -v '^ *+' conftest.er1 >conftest.err
10481 cat conftest.err >&5
10482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10483 (exit $ac_status); } &&
10484 { ac_try='test -z "$ac_c_werror_flag"
10485 || test ! -s conftest.err'
10486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10487 (eval $ac_try) 2>&5
10489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10490 (exit $ac_status); }; } &&
10491 { ac_try='test -s conftest$ac_exeext'
10492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10493 (eval $ac_try) 2>&5
10495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10496 (exit $ac_status); }; }; then
10497 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10498 lt_cv_shlibpath_overrides_runpath=yes
10502 echo "$as_me: failed program was:" >&5
10503 sed 's/^/| /' conftest.$ac_ext >&5
10506 rm -f conftest.err conftest.$ac_objext \
10507 conftest$ac_exeext conftest.$ac_ext
10508 LDFLAGS=$save_LDFLAGS
10509 libdir=$save_libdir
10513 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10515 # This implies no fast_install, which is unacceptable.
10516 # Some rework will be needed to allow for fast_install
10517 # before this can be enabled.
10518 hardcode_into_libs=yes
10520 # Append ld.so.conf contents to the search path
10521 if test -f /etc/ld.so.conf; then
10522 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' ' '`
10523 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10526 # We used to test for /lib/ld.so.1 and disable shared libraries on
10527 # powerpc, because MkLinux only supported shared libraries with the
10528 # GNU dynamic linker. Since this was broken with cross compilers,
10529 # most powerpc-linux boxes support dynamic linking these days and
10530 # people can always --disable-shared, the test was removed, and we
10531 # assume the GNU/Linux dynamic linker is in use.
10532 dynamic_linker='GNU/Linux ld.so'
10539 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10541 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10542 dynamic_linker='NetBSD (a.out) ld.so'
10544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10545 soname_spec='${libname}${release}${shared_ext}$major'
10546 dynamic_linker='NetBSD ld.elf_so'
10548 shlibpath_var=LD_LIBRARY_PATH
10549 shlibpath_overrides_runpath=yes
10550 hardcode_into_libs=yes
10555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10556 shlibpath_var=LD_LIBRARY_PATH
10557 shlibpath_overrides_runpath=yes
10564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10565 soname_spec='${libname}${release}${shared_ext}$major'
10566 shlibpath_var=LD_LIBRARY_PATH
10567 shlibpath_overrides_runpath=no
10568 hardcode_into_libs=yes
10569 dynamic_linker='ldqnx.so'
10574 sys_lib_dlsearch_path_spec="/usr/lib"
10576 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10578 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10579 *) need_version=no ;;
10581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10582 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10583 shlibpath_var=LD_LIBRARY_PATH
10584 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10586 openbsd2.[89] | openbsd2.[89].*)
10587 shlibpath_overrides_runpath=no
10590 shlibpath_overrides_runpath=yes
10594 shlibpath_overrides_runpath=yes
10599 libname_spec='$name'
10602 library_names_spec='$libname${shared_ext} $libname.a'
10603 dynamic_linker='OS/2 ld.exe'
10604 shlibpath_var=LIBPATH
10607 osf3* | osf4* | osf5*)
10611 soname_spec='${libname}${release}${shared_ext}$major'
10612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10613 shlibpath_var=LD_LIBRARY_PATH
10614 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10615 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10627 soname_spec='${libname}${release}${shared_ext}$major'
10628 shlibpath_var=LD_LIBRARY_PATH
10629 shlibpath_overrides_runpath=yes
10630 hardcode_into_libs=yes
10631 # ldd complains unless libraries are executable
10632 postinstall_cmds='chmod +x $lib'
10637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10638 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10639 shlibpath_var=LD_LIBRARY_PATH
10640 shlibpath_overrides_runpath=yes
10641 if test "$with_gnu_ld" = yes; then
10649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10650 soname_spec='${libname}${release}${shared_ext}$major'
10651 shlibpath_var=LD_LIBRARY_PATH
10652 case $host_vendor in
10654 shlibpath_overrides_runpath=no
10656 runpath_var=LD_RUN_PATH
10664 shlibpath_overrides_runpath=no
10665 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10671 if test -d /usr/nec ;then
10673 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10674 soname_spec='$libname${shared_ext}.$major'
10675 shlibpath_var=LD_LIBRARY_PATH
10679 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10680 version_type=freebsd-elf
10683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10684 soname_spec='${libname}${release}${shared_ext}$major'
10685 shlibpath_var=LD_LIBRARY_PATH
10686 shlibpath_overrides_runpath=yes
10687 hardcode_into_libs=yes
10688 if test "$with_gnu_ld" = yes; then
10689 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10691 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10694 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10698 sys_lib_dlsearch_path_spec='/usr/lib'
10702 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10707 shlibpath_var=LD_LIBRARY_PATH
10708 shlibpath_overrides_runpath=no
10709 hardcode_into_libs=yes
10714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10715 soname_spec='${libname}${release}${shared_ext}$major'
10716 shlibpath_var=LD_LIBRARY_PATH
10723 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10724 echo "${ECHO_T}$dynamic_linker" >&6
10725 test "$dynamic_linker" = no && can_build_shared=no
10727 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10728 if test "$GCC" = yes; then
10729 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10732 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10733 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10735 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10736 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10825 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10826 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10828 if test -n "$hardcode_libdir_flag_spec" ||
10829 test -n "$runpath_var" ||
10830 test "X$hardcode_automatic" = "Xyes" ; then
10832 # We can hardcode non-existent directories.
10833 if test "$hardcode_direct" != no &&
10834 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10835 # have to relink, otherwise we might link with an installed library
10836 # when we should be linking with a yet-to-be-installed one
10837 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10838 test "$hardcode_minus_L" != no; then
10839 # Linking always hardcodes the temporary library directory.
10840 hardcode_action=relink
10842 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10843 hardcode_action=immediate
10846 # We cannot hardcode anything, or else we can only hardcode existing
10848 hardcode_action=unsupported
10850 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10851 echo "${ECHO_T}$hardcode_action" >&6
10853 if test "$hardcode_action" = relink ||
10854 test "$inherit_rpath" = yes; then
10855 # Fast installation is not supported
10856 enable_fast_install=no
10857 elif test "$shlibpath_overrides_runpath" = yes ||
10858 test "$enable_shared" = no; then
10859 # Fast installation is not necessary
10860 enable_fast_install=needless
10868 if test "x$enable_dlopen" != xyes; then
10869 enable_dlopen=unknown
10870 enable_dlopen_self=unknown
10871 enable_dlopen_self_static=unknown
10878 lt_cv_dlopen="load_add_on"
10880 lt_cv_dlopen_self=yes
10883 mingw* | pw32* | cegcc*)
10884 lt_cv_dlopen="LoadLibrary"
10889 lt_cv_dlopen="dlopen"
10894 # if libdl is installed we need to link against it
10895 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10896 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10897 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10898 echo $ECHO_N "(cached) $ECHO_C" >&6
10900 ac_check_lib_save_LIBS=$LIBS
10902 cat >conftest.$ac_ext <<_ACEOF
10905 cat confdefs.h >>conftest.$ac_ext
10906 cat >>conftest.$ac_ext <<_ACEOF
10907 /* end confdefs.h. */
10909 /* Override any gcc2 internal prototype to avoid an error. */
10913 /* We use char because int might match the return type of a gcc2
10914 builtin and then its argument prototype would still apply. */
10924 rm -f conftest.$ac_objext conftest$ac_exeext
10925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10926 (eval $ac_link) 2>conftest.er1
10928 grep -v '^ *+' conftest.er1 >conftest.err
10930 cat conftest.err >&5
10931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10932 (exit $ac_status); } &&
10933 { ac_try='test -z "$ac_c_werror_flag"
10934 || test ! -s conftest.err'
10935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10936 (eval $ac_try) 2>&5
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); }; } &&
10940 { ac_try='test -s conftest$ac_exeext'
10941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10942 (eval $ac_try) 2>&5
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); }; }; then
10946 ac_cv_lib_dl_dlopen=yes
10948 echo "$as_me: failed program was:" >&5
10949 sed 's/^/| /' conftest.$ac_ext >&5
10951 ac_cv_lib_dl_dlopen=no
10953 rm -f conftest.err conftest.$ac_objext \
10954 conftest$ac_exeext conftest.$ac_ext
10955 LIBS=$ac_check_lib_save_LIBS
10957 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10958 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10959 if test $ac_cv_lib_dl_dlopen = yes; then
10960 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10963 lt_cv_dlopen="dyld"
10965 lt_cv_dlopen_self=yes
10972 echo "$as_me:$LINENO: checking for shl_load" >&5
10973 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10974 if test "${ac_cv_func_shl_load+set}" = set; then
10975 echo $ECHO_N "(cached) $ECHO_C" >&6
10977 cat >conftest.$ac_ext <<_ACEOF
10980 cat confdefs.h >>conftest.$ac_ext
10981 cat >>conftest.$ac_ext <<_ACEOF
10982 /* end confdefs.h. */
10983 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10985 #define shl_load innocuous_shl_load
10987 /* System header to define __stub macros and hopefully few prototypes,
10988 which can conflict with char shl_load (); below.
10989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10990 <limits.h> exists even on freestanding compilers. */
10993 # include <limits.h>
10995 # include <assert.h>
11000 /* Override any gcc2 internal prototype to avoid an error. */
11005 /* We use char because int might match the return type of a gcc2
11006 builtin and then its argument prototype would still apply. */
11008 /* The GNU C library defines this for functions which it implements
11009 to always fail with ENOSYS. Some functions are actually named
11010 something starting with __ and the normal name is an alias. */
11011 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11014 char (*f) () = shl_load;
11023 return f != shl_load;
11028 rm -f conftest.$ac_objext conftest$ac_exeext
11029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11030 (eval $ac_link) 2>conftest.er1
11032 grep -v '^ *+' conftest.er1 >conftest.err
11034 cat conftest.err >&5
11035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 (exit $ac_status); } &&
11037 { ac_try='test -z "$ac_c_werror_flag"
11038 || test ! -s conftest.err'
11039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11040 (eval $ac_try) 2>&5
11042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11043 (exit $ac_status); }; } &&
11044 { ac_try='test -s conftest$ac_exeext'
11045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11046 (eval $ac_try) 2>&5
11048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049 (exit $ac_status); }; }; then
11050 ac_cv_func_shl_load=yes
11052 echo "$as_me: failed program was:" >&5
11053 sed 's/^/| /' conftest.$ac_ext >&5
11055 ac_cv_func_shl_load=no
11057 rm -f conftest.err conftest.$ac_objext \
11058 conftest$ac_exeext conftest.$ac_ext
11060 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11061 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11062 if test $ac_cv_func_shl_load = yes; then
11063 lt_cv_dlopen="shl_load"
11065 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11066 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11067 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11068 echo $ECHO_N "(cached) $ECHO_C" >&6
11070 ac_check_lib_save_LIBS=$LIBS
11072 cat >conftest.$ac_ext <<_ACEOF
11075 cat confdefs.h >>conftest.$ac_ext
11076 cat >>conftest.$ac_ext <<_ACEOF
11077 /* end confdefs.h. */
11079 /* Override any gcc2 internal prototype to avoid an error. */
11083 /* We use char because int might match the return type of a gcc2
11084 builtin and then its argument prototype would still apply. */
11094 rm -f conftest.$ac_objext conftest$ac_exeext
11095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11096 (eval $ac_link) 2>conftest.er1
11098 grep -v '^ *+' conftest.er1 >conftest.err
11100 cat conftest.err >&5
11101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102 (exit $ac_status); } &&
11103 { ac_try='test -z "$ac_c_werror_flag"
11104 || test ! -s conftest.err'
11105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11106 (eval $ac_try) 2>&5
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 (exit $ac_status); }; } &&
11110 { ac_try='test -s conftest$ac_exeext'
11111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11112 (eval $ac_try) 2>&5
11114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11115 (exit $ac_status); }; }; then
11116 ac_cv_lib_dld_shl_load=yes
11118 echo "$as_me: failed program was:" >&5
11119 sed 's/^/| /' conftest.$ac_ext >&5
11121 ac_cv_lib_dld_shl_load=no
11123 rm -f conftest.err conftest.$ac_objext \
11124 conftest$ac_exeext conftest.$ac_ext
11125 LIBS=$ac_check_lib_save_LIBS
11127 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11128 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11129 if test $ac_cv_lib_dld_shl_load = yes; then
11130 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11132 echo "$as_me:$LINENO: checking for dlopen" >&5
11133 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11134 if test "${ac_cv_func_dlopen+set}" = set; then
11135 echo $ECHO_N "(cached) $ECHO_C" >&6
11137 cat >conftest.$ac_ext <<_ACEOF
11140 cat confdefs.h >>conftest.$ac_ext
11141 cat >>conftest.$ac_ext <<_ACEOF
11142 /* end confdefs.h. */
11143 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11145 #define dlopen innocuous_dlopen
11147 /* System header to define __stub macros and hopefully few prototypes,
11148 which can conflict with char dlopen (); below.
11149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11150 <limits.h> exists even on freestanding compilers. */
11153 # include <limits.h>
11155 # include <assert.h>
11160 /* Override any gcc2 internal prototype to avoid an error. */
11165 /* We use char because int might match the return type of a gcc2
11166 builtin and then its argument prototype would still apply. */
11168 /* The GNU C library defines this for functions which it implements
11169 to always fail with ENOSYS. Some functions are actually named
11170 something starting with __ and the normal name is an alias. */
11171 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11174 char (*f) () = dlopen;
11183 return f != dlopen;
11188 rm -f conftest.$ac_objext conftest$ac_exeext
11189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11190 (eval $ac_link) 2>conftest.er1
11192 grep -v '^ *+' conftest.er1 >conftest.err
11194 cat conftest.err >&5
11195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11196 (exit $ac_status); } &&
11197 { ac_try='test -z "$ac_c_werror_flag"
11198 || test ! -s conftest.err'
11199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11200 (eval $ac_try) 2>&5
11202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11203 (exit $ac_status); }; } &&
11204 { ac_try='test -s conftest$ac_exeext'
11205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11206 (eval $ac_try) 2>&5
11208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209 (exit $ac_status); }; }; then
11210 ac_cv_func_dlopen=yes
11212 echo "$as_me: failed program was:" >&5
11213 sed 's/^/| /' conftest.$ac_ext >&5
11215 ac_cv_func_dlopen=no
11217 rm -f conftest.err conftest.$ac_objext \
11218 conftest$ac_exeext conftest.$ac_ext
11220 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11221 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11222 if test $ac_cv_func_dlopen = yes; then
11223 lt_cv_dlopen="dlopen"
11225 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11226 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11227 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11228 echo $ECHO_N "(cached) $ECHO_C" >&6
11230 ac_check_lib_save_LIBS=$LIBS
11232 cat >conftest.$ac_ext <<_ACEOF
11235 cat confdefs.h >>conftest.$ac_ext
11236 cat >>conftest.$ac_ext <<_ACEOF
11237 /* end confdefs.h. */
11239 /* Override any gcc2 internal prototype to avoid an error. */
11243 /* We use char because int might match the return type of a gcc2
11244 builtin and then its argument prototype would still apply. */
11254 rm -f conftest.$ac_objext conftest$ac_exeext
11255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11256 (eval $ac_link) 2>conftest.er1
11258 grep -v '^ *+' conftest.er1 >conftest.err
11260 cat conftest.err >&5
11261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11262 (exit $ac_status); } &&
11263 { ac_try='test -z "$ac_c_werror_flag"
11264 || test ! -s conftest.err'
11265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11266 (eval $ac_try) 2>&5
11268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11269 (exit $ac_status); }; } &&
11270 { ac_try='test -s conftest$ac_exeext'
11271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11272 (eval $ac_try) 2>&5
11274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11275 (exit $ac_status); }; }; then
11276 ac_cv_lib_dl_dlopen=yes
11278 echo "$as_me: failed program was:" >&5
11279 sed 's/^/| /' conftest.$ac_ext >&5
11281 ac_cv_lib_dl_dlopen=no
11283 rm -f conftest.err conftest.$ac_objext \
11284 conftest$ac_exeext conftest.$ac_ext
11285 LIBS=$ac_check_lib_save_LIBS
11287 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11288 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11289 if test $ac_cv_lib_dl_dlopen = yes; then
11290 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11292 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11293 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11294 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11295 echo $ECHO_N "(cached) $ECHO_C" >&6
11297 ac_check_lib_save_LIBS=$LIBS
11298 LIBS="-lsvld $LIBS"
11299 cat >conftest.$ac_ext <<_ACEOF
11302 cat confdefs.h >>conftest.$ac_ext
11303 cat >>conftest.$ac_ext <<_ACEOF
11304 /* end confdefs.h. */
11306 /* Override any gcc2 internal prototype to avoid an error. */
11310 /* We use char because int might match the return type of a gcc2
11311 builtin and then its argument prototype would still apply. */
11321 rm -f conftest.$ac_objext conftest$ac_exeext
11322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11323 (eval $ac_link) 2>conftest.er1
11325 grep -v '^ *+' conftest.er1 >conftest.err
11327 cat conftest.err >&5
11328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11329 (exit $ac_status); } &&
11330 { ac_try='test -z "$ac_c_werror_flag"
11331 || test ! -s conftest.err'
11332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11333 (eval $ac_try) 2>&5
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); }; } &&
11337 { ac_try='test -s conftest$ac_exeext'
11338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11339 (eval $ac_try) 2>&5
11341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11342 (exit $ac_status); }; }; then
11343 ac_cv_lib_svld_dlopen=yes
11345 echo "$as_me: failed program was:" >&5
11346 sed 's/^/| /' conftest.$ac_ext >&5
11348 ac_cv_lib_svld_dlopen=no
11350 rm -f conftest.err conftest.$ac_objext \
11351 conftest$ac_exeext conftest.$ac_ext
11352 LIBS=$ac_check_lib_save_LIBS
11354 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11355 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11356 if test $ac_cv_lib_svld_dlopen = yes; then
11357 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11359 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11360 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11361 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11362 echo $ECHO_N "(cached) $ECHO_C" >&6
11364 ac_check_lib_save_LIBS=$LIBS
11366 cat >conftest.$ac_ext <<_ACEOF
11369 cat confdefs.h >>conftest.$ac_ext
11370 cat >>conftest.$ac_ext <<_ACEOF
11371 /* end confdefs.h. */
11373 /* Override any gcc2 internal prototype to avoid an error. */
11377 /* We use char because int might match the return type of a gcc2
11378 builtin and then its argument prototype would still apply. */
11388 rm -f conftest.$ac_objext conftest$ac_exeext
11389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11390 (eval $ac_link) 2>conftest.er1
11392 grep -v '^ *+' conftest.er1 >conftest.err
11394 cat conftest.err >&5
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); } &&
11397 { ac_try='test -z "$ac_c_werror_flag"
11398 || test ! -s conftest.err'
11399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11400 (eval $ac_try) 2>&5
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); }; } &&
11404 { ac_try='test -s conftest$ac_exeext'
11405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11406 (eval $ac_try) 2>&5
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); }; }; then
11410 ac_cv_lib_dld_dld_link=yes
11412 echo "$as_me: failed program was:" >&5
11413 sed 's/^/| /' conftest.$ac_ext >&5
11415 ac_cv_lib_dld_dld_link=no
11417 rm -f conftest.err conftest.$ac_objext \
11418 conftest$ac_exeext conftest.$ac_ext
11419 LIBS=$ac_check_lib_save_LIBS
11421 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11422 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11423 if test $ac_cv_lib_dld_dld_link = yes; then
11424 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11445 if test "x$lt_cv_dlopen" != xno; then
11451 case $lt_cv_dlopen in
11453 save_CPPFLAGS="$CPPFLAGS"
11454 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11456 save_LDFLAGS="$LDFLAGS"
11457 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11460 LIBS="$lt_cv_dlopen_libs $LIBS"
11462 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11463 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11464 if test "${lt_cv_dlopen_self+set}" = set; then
11465 echo $ECHO_N "(cached) $ECHO_C" >&6
11467 if test "$cross_compiling" = yes; then :
11468 lt_cv_dlopen_self=cross
11470 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11471 lt_status=$lt_dlunknown
11472 cat > conftest.$ac_ext <<_LT_EOF
11473 #line 11473 "configure"
11474 #include "confdefs.h"
11483 # define LT_DLGLOBAL RTLD_GLOBAL
11486 # define LT_DLGLOBAL DL_GLOBAL
11488 # define LT_DLGLOBAL 0
11492 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11493 find out it does not work in some platform. */
11494 #ifndef LT_DLLAZY_OR_NOW
11496 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11499 # define LT_DLLAZY_OR_NOW DL_LAZY
11502 # define LT_DLLAZY_OR_NOW RTLD_NOW
11505 # define LT_DLLAZY_OR_NOW DL_NOW
11507 # define LT_DLLAZY_OR_NOW 0
11514 void fnord() { int i=42;}
11517 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11518 int status = $lt_dlunknown;
11522 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11523 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11524 /* dlclose (self); */
11532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11533 (eval $ac_link) 2>&5
11535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11536 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11537 (./conftest; exit; ) >&5 2>/dev/null
11539 case x$lt_status in
11540 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11541 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11542 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11545 # compilation failed
11546 lt_cv_dlopen_self=no
11553 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11554 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11556 if test "x$lt_cv_dlopen_self" = xyes; then
11557 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11558 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11559 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11560 if test "${lt_cv_dlopen_self_static+set}" = set; then
11561 echo $ECHO_N "(cached) $ECHO_C" >&6
11563 if test "$cross_compiling" = yes; then :
11564 lt_cv_dlopen_self_static=cross
11566 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11567 lt_status=$lt_dlunknown
11568 cat > conftest.$ac_ext <<_LT_EOF
11569 #line 11569 "configure"
11570 #include "confdefs.h"
11579 # define LT_DLGLOBAL RTLD_GLOBAL
11582 # define LT_DLGLOBAL DL_GLOBAL
11584 # define LT_DLGLOBAL 0
11588 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11589 find out it does not work in some platform. */
11590 #ifndef LT_DLLAZY_OR_NOW
11592 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11595 # define LT_DLLAZY_OR_NOW DL_LAZY
11598 # define LT_DLLAZY_OR_NOW RTLD_NOW
11601 # define LT_DLLAZY_OR_NOW DL_NOW
11603 # define LT_DLLAZY_OR_NOW 0
11610 void fnord() { int i=42;}
11613 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11614 int status = $lt_dlunknown;
11618 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11619 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11620 /* dlclose (self); */
11628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11629 (eval $ac_link) 2>&5
11631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11633 (./conftest; exit; ) >&5 2>/dev/null
11635 case x$lt_status in
11636 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11637 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11638 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11641 # compilation failed
11642 lt_cv_dlopen_self_static=no
11649 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11650 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11653 CPPFLAGS="$save_CPPFLAGS"
11654 LDFLAGS="$save_LDFLAGS"
11659 case $lt_cv_dlopen_self in
11660 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11661 *) enable_dlopen_self=unknown ;;
11664 case $lt_cv_dlopen_self_static in
11665 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11666 *) enable_dlopen_self_static=unknown ;;
11688 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11689 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11690 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11691 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11692 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11693 echo "$as_me:$LINENO: result: yes" >&5
11694 echo "${ECHO_T}yes" >&6
11696 # FIXME - insert some real tests, host_os isn't really good enough
11699 if test -n "$STRIP" ; then
11700 striplib="$STRIP -x"
11701 old_striplib="$STRIP -S"
11702 echo "$as_me:$LINENO: result: yes" >&5
11703 echo "${ECHO_T}yes" >&6
11705 echo "$as_me:$LINENO: result: no" >&5
11706 echo "${ECHO_T}no" >&6
11710 echo "$as_me:$LINENO: result: no" >&5
11711 echo "${ECHO_T}no" >&6
11727 # Report which library types will actually be built
11728 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11729 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11730 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11731 echo "${ECHO_T}$can_build_shared" >&6
11733 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11734 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11735 test "$can_build_shared" = "no" && enable_shared=no
11737 # On AIX, shared libraries and static libraries use the same namespace, and
11738 # are all built from PIC.
11741 test "$enable_shared" = yes && enable_static=no
11742 if test -n "$RANLIB"; then
11743 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11744 postinstall_cmds='$RANLIB $lib'
11749 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11750 test "$enable_shared" = yes && enable_static=no
11754 echo "$as_me:$LINENO: result: $enable_shared" >&5
11755 echo "${ECHO_T}$enable_shared" >&6
11757 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11758 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11759 # Make sure either enable_shared or enable_static is yes.
11760 test "$enable_shared" = yes || enable_static=yes
11761 echo "$as_me:$LINENO: result: $enable_static" >&5
11762 echo "${ECHO_T}$enable_static" >&6
11769 ac_cpp='$CPP $CPPFLAGS'
11770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11788 ac_config_commands="$ac_config_commands libtool"
11793 # Only expand once:
11797 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
11798 if test "${enable_64_bit_bfd+set}" = set; then
11799 enableval="$enable_64_bit_bfd"
11800 case "${enableval}" in
11801 yes) want64=true ;;
11802 no) want64=false ;;
11803 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
11804 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
11805 { (exit 1); exit 1; }; } ;;
11810 # Check whether --enable-targets or --disable-targets was given.
11811 if test "${enable_targets+set}" = set; then
11812 enableval="$enable_targets"
11813 case "${enableval}" in
11814 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
11815 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
11816 { (exit 1); exit 1; }; }
11818 no) enable_targets= ;;
11819 *) enable_targets=$enableval ;;
11822 # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
11823 if test "${enable_commonbfdlib+set}" = set; then
11824 enableval="$enable_commonbfdlib"
11825 case "${enableval}" in
11826 yes) commonbfdlib=true ;;
11827 no) commonbfdlib=false ;;
11828 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
11829 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
11830 { (exit 1); exit 1; }; } ;;
11834 # Check whether --with-mmap or --without-mmap was given.
11835 if test "${with_mmap+set}" = set; then
11836 withval="$with_mmap"
11837 case "${withval}" in
11838 yes) want_mmap=true ;;
11839 no) want_mmap=false ;;
11840 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
11841 echo "$as_me: error: bad value ${withval} for BFD with-mmap option" >&2;}
11842 { (exit 1); exit 1; }; } ;;
11847 # Check whether --enable-secureplt or --disable-secureplt was given.
11848 if test "${enable_secureplt+set}" = set; then
11849 enableval="$enable_secureplt"
11850 case "${enableval}" in
11851 yes) use_secureplt=true ;;
11852 no) use_secureplt=false ;;
11853 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for secureplt option" >&5
11854 echo "$as_me: error: bad value ${enableval} for secureplt option" >&2;}
11855 { (exit 1); exit 1; }; } ;;
11858 use_secureplt=false
11859 fi; if test $use_secureplt = true; then
11861 cat >>confdefs.h <<\_ACEOF
11862 #define USE_SECUREPLT 1
11867 DEBUGDIR=${libdir}/debug
11869 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
11870 if test "${with_separate_debug_dir+set}" = set; then
11871 withval="$with_separate_debug_dir"
11872 DEBUGDIR="${withval}"
11876 # Check to see if we should allow the generation of
11877 # symbols with the ELF standard's STT_COMMON type.
11878 # Check whether --enable-elf-stt-common or --disable-elf-stt-common was given.
11879 if test "${enable_elf_stt_common+set}" = set; then
11880 enableval="$enable_elf_stt_common"
11881 case "${enableval}" in
11882 yes) want_elf_stt_common=true ;;
11883 no) want_elf_stt_common=false ;;
11884 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for ELF STT_COMMON option" >&5
11885 echo "$as_me: error: bad value ${enableval} for ELF STT_COMMON option" >&2;}
11886 { (exit 1); exit 1; }; } ;;
11889 # We have to choose a default behaviour. For native builds we could
11890 # test whether the loader supports the STT_COMMON type, but that would
11891 # mean that built binaries could not be exported to older systems where
11892 # the loader does not support it. So by default we always choose to
11893 # disable this feature.
11894 want_elf_stt_common=false
11895 fi; if test $want_elf_stt_common = true; then
11897 cat >>confdefs.h <<\_ACEOF
11898 #define USE_STT_COMMON 1
11905 # Check whether --with-pkgversion or --without-pkgversion was given.
11906 if test "${with_pkgversion+set}" = set; then
11907 withval="$with_pkgversion"
11909 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
11910 echo "$as_me: error: package version not specified" >&2;}
11911 { (exit 1); exit 1; }; } ;;
11913 *) PKGVERSION="($withval) " ;;
11916 PKGVERSION="(GNU Binutils) "
11923 # Check whether --with-bugurl or --without-bugurl was given.
11924 if test "${with_bugurl+set}" = set; then
11925 withval="$with_bugurl"
11927 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
11928 echo "$as_me: error: bug URL not specified" >&2;}
11929 { (exit 1); exit 1; }; } ;;
11932 *) BUGURL="$withval"
11936 BUGURL="http://www.sourceware.org/bugzilla/"
11945 REPORT_BUGS_TO="<$BUGURL>"
11946 REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" | sed 's/@/@@/g'`}
11954 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11956 # Check whether --enable-werror or --disable-werror was given.
11957 if test "${enable_werror+set}" = set; then
11958 enableval="$enable_werror"
11959 case "${enableval}" in
11960 yes | y) ERROR_ON_WARNING="yes" ;;
11961 no | n) ERROR_ON_WARNING="no" ;;
11962 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
11963 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
11964 { (exit 1); exit 1; }; } ;;
11968 # Enable -Wno-format by default when using gcc on mingw
11971 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11972 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
11978 # Enable -Werror by default when using gcc
11979 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11980 ERROR_ON_WARNING=yes
11984 if test "${ERROR_ON_WARNING}" = yes ; then
11985 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
11986 NO_WERROR="-Wno-error"
11989 if test "${GCC}" = yes ; then
11990 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
11993 # Check whether --enable-build-warnings or --disable-build-warnings was given.
11994 if test "${enable_build_warnings+set}" = set; then
11995 enableval="$enable_build_warnings"
11996 case "${enableval}" in
11997 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
11998 no) if test "${GCC}" = yes ; then
12001 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
12002 WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
12003 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
12004 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
12005 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
12009 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
12010 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
12017 ac_config_headers="$ac_config_headers config.h:config.in"
12020 if test -z "$target" ; then
12021 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
12022 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
12023 { (exit 1); exit 1; }; }
12026 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
12027 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
12028 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12029 if test "${enable_maintainer_mode+set}" = set; then
12030 enableval="$enable_maintainer_mode"
12031 USE_MAINTAINER_MODE=$enableval
12033 USE_MAINTAINER_MODE=no
12035 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
12036 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12039 if test $USE_MAINTAINER_MODE = yes; then
12040 MAINTAINER_MODE_TRUE=
12041 MAINTAINER_MODE_FALSE='#'
12043 MAINTAINER_MODE_TRUE='#'
12044 MAINTAINER_MODE_FALSE=
12047 MAINT=$MAINTAINER_MODE_TRUE
12053 GENINSRC_NEVER_TRUE=
12054 GENINSRC_NEVER_FALSE='#'
12056 GENINSRC_NEVER_TRUE='#'
12057 GENINSRC_NEVER_FALSE=
12060 case ${build_alias} in
12061 "") build_noncanonical=${build} ;;
12062 *) build_noncanonical=${build_alias} ;;
12065 case ${host_alias} in
12066 "") host_noncanonical=${build_noncanonical} ;;
12067 *) host_noncanonical=${host_alias} ;;
12070 case ${target_alias} in
12071 "") target_noncanonical=${host_noncanonical} ;;
12072 *) target_noncanonical=${target_alias} ;;
12075 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
12076 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
12077 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
12078 if test "${enable_install_libbfd+set}" = set; then
12079 enableval="$enable_install_libbfd"
12080 install_libbfd_p=$enableval
12082 if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
12083 install_libbfd_p=yes
12085 install_libbfd_p=no
12088 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
12089 echo "${ECHO_T}$install_libbfd_p" >&6
12092 if test $install_libbfd_p = yes; then
12093 INSTALL_LIBBFD_TRUE=
12094 INSTALL_LIBBFD_FALSE='#'
12096 INSTALL_LIBBFD_TRUE='#'
12097 INSTALL_LIBBFD_FALSE=
12100 # Need _noncanonical variables for this.
12105 # libbfd.a is a host library containing target dependent code
12106 bfdlibdir='$(libdir)'
12107 bfdincludedir='$(includedir)'
12108 if test "${host}" != "${target}"; then
12109 bfdlibdir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
12110 bfdincludedir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
12120 bfd_default_target_size=32
12124 ALL_LINGUAS="fr tr ja es sv da zh_CN ro rw vi fi id"
12125 # If we haven't got the data from the intl directory,
12126 # assume NLS is disabled.
12135 if test -f ../intl/config.intl; then
12136 . ../intl/config.intl
12138 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
12139 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
12140 if test x"$USE_NLS" != xyes; then
12141 echo "$as_me:$LINENO: result: no" >&5
12142 echo "${ECHO_T}no" >&6
12144 echo "$as_me:$LINENO: result: yes" >&5
12145 echo "${ECHO_T}yes" >&6
12147 cat >>confdefs.h <<\_ACEOF
12148 #define ENABLE_NLS 1
12152 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
12153 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
12154 # Look for .po and .gmo files in the source directory.
12157 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
12158 # If there aren't any .gmo files the shell will give us the
12159 # literal string "../path/to/srcdir/po/*.gmo" which has to be
12161 case "$cat" in *\**)
12164 # The quadruple backslash is collapsed to a double backslash
12165 # by the backticks, then collapsed again by the double quotes,
12166 # leaving us with one backslash in the sed expression (right
12167 # before the dot that mustn't act as a wildcard).
12168 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
12169 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
12170 # The user is allowed to set LINGUAS to a list of languages to
12171 # install catalogs for. If it's empty that means "all of them."
12172 if test "x$LINGUAS" = x; then
12173 CATALOGS="$CATALOGS $cat"
12174 XLINGUAS="$XLINGUAS $lang"
12176 case "$LINGUAS" in *$lang*)
12177 CATALOGS="$CATALOGS $cat"
12178 XLINGUAS="$XLINGUAS $lang"
12183 LINGUAS="$XLINGUAS"
12184 echo "$as_me:$LINENO: result: $LINGUAS" >&5
12185 echo "${ECHO_T}$LINGUAS" >&6
12199 if test -n "$ac_aux_dir"; then
12200 case "$ac_aux_dir" in
12201 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
12202 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
12205 if test -z "$MKINSTALLDIRS"; then
12206 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
12211 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
12212 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
12213 # Check whether --enable-nls or --disable-nls was given.
12214 if test "${enable_nls+set}" = set; then
12215 enableval="$enable_nls"
12220 echo "$as_me:$LINENO: result: $USE_NLS" >&5
12221 echo "${ECHO_T}$USE_NLS" >&6
12228 # Prepare PATH_SEPARATOR.
12229 # The user is always right.
12230 if test "${PATH_SEPARATOR+set}" != set; then
12231 echo "#! /bin/sh" >conf$$.sh
12232 echo "exit 0" >>conf$$.sh
12234 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12242 # Find out how to test for executable files. Don't use a zero-byte file,
12243 # as systems may use methods other than mode bits to determine executability.
12244 cat >conf$$.file <<_ASEOF
12248 chmod +x conf$$.file
12249 if test -x conf$$.file >/dev/null 2>&1; then
12250 ac_executable_p="test -x"
12252 ac_executable_p="test -f"
12256 # Extract the first word of "msgfmt", so it can be a program name with args.
12257 set dummy msgfmt; ac_word=$2
12258 echo "$as_me:$LINENO: checking for $ac_word" >&5
12259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12260 if test "${ac_cv_path_MSGFMT+set}" = set; then
12261 echo $ECHO_N "(cached) $ECHO_C" >&6
12265 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12268 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12269 for ac_dir in $PATH; do
12271 test -z "$ac_dir" && ac_dir=.
12272 for ac_exec_ext in '' $ac_executable_extensions; do
12273 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12274 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
12275 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12276 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
12283 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
12287 MSGFMT="$ac_cv_path_MSGFMT"
12288 if test "$MSGFMT" != ":"; then
12289 echo "$as_me:$LINENO: result: $MSGFMT" >&5
12290 echo "${ECHO_T}$MSGFMT" >&6
12292 echo "$as_me:$LINENO: result: no" >&5
12293 echo "${ECHO_T}no" >&6
12296 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12297 set dummy gmsgfmt; ac_word=$2
12298 echo "$as_me:$LINENO: checking for $ac_word" >&5
12299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12300 if test "${ac_cv_path_GMSGFMT+set}" = set; then
12301 echo $ECHO_N "(cached) $ECHO_C" >&6
12305 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12309 for as_dir in $PATH
12312 test -z "$as_dir" && as_dir=.
12313 for ac_exec_ext in '' $ac_executable_extensions; do
12314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12315 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12322 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12326 GMSGFMT=$ac_cv_path_GMSGFMT
12328 if test -n "$GMSGFMT"; then
12329 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
12330 echo "${ECHO_T}$GMSGFMT" >&6
12332 echo "$as_me:$LINENO: result: no" >&5
12333 echo "${ECHO_T}no" >&6
12338 # Prepare PATH_SEPARATOR.
12339 # The user is always right.
12340 if test "${PATH_SEPARATOR+set}" != set; then
12341 echo "#! /bin/sh" >conf$$.sh
12342 echo "exit 0" >>conf$$.sh
12344 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12352 # Find out how to test for executable files. Don't use a zero-byte file,
12353 # as systems may use methods other than mode bits to determine executability.
12354 cat >conf$$.file <<_ASEOF
12358 chmod +x conf$$.file
12359 if test -x conf$$.file >/dev/null 2>&1; then
12360 ac_executable_p="test -x"
12362 ac_executable_p="test -f"
12366 # Extract the first word of "xgettext", so it can be a program name with args.
12367 set dummy xgettext; ac_word=$2
12368 echo "$as_me:$LINENO: checking for $ac_word" >&5
12369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12370 if test "${ac_cv_path_XGETTEXT+set}" = set; then
12371 echo $ECHO_N "(cached) $ECHO_C" >&6
12373 case "$XGETTEXT" in
12375 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12378 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12379 for ac_dir in $PATH; do
12381 test -z "$ac_dir" && ac_dir=.
12382 for ac_exec_ext in '' $ac_executable_extensions; do
12383 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12384 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
12385 (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
12386 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
12393 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12397 XGETTEXT="$ac_cv_path_XGETTEXT"
12398 if test "$XGETTEXT" != ":"; then
12399 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
12400 echo "${ECHO_T}$XGETTEXT" >&6
12402 echo "$as_me:$LINENO: result: no" >&5
12403 echo "${ECHO_T}no" >&6
12409 # Prepare PATH_SEPARATOR.
12410 # The user is always right.
12411 if test "${PATH_SEPARATOR+set}" != set; then
12412 echo "#! /bin/sh" >conf$$.sh
12413 echo "exit 0" >>conf$$.sh
12415 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12423 # Find out how to test for executable files. Don't use a zero-byte file,
12424 # as systems may use methods other than mode bits to determine executability.
12425 cat >conf$$.file <<_ASEOF
12429 chmod +x conf$$.file
12430 if test -x conf$$.file >/dev/null 2>&1; then
12431 ac_executable_p="test -x"
12433 ac_executable_p="test -f"
12437 # Extract the first word of "msgmerge", so it can be a program name with args.
12438 set dummy msgmerge; ac_word=$2
12439 echo "$as_me:$LINENO: checking for $ac_word" >&5
12440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12441 if test "${ac_cv_path_MSGMERGE+set}" = set; then
12442 echo $ECHO_N "(cached) $ECHO_C" >&6
12444 case "$MSGMERGE" in
12446 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12449 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12450 for ac_dir in $PATH; do
12452 test -z "$ac_dir" && ac_dir=.
12453 for ac_exec_ext in '' $ac_executable_extensions; do
12454 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12455 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
12456 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12463 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12467 MSGMERGE="$ac_cv_path_MSGMERGE"
12468 if test "$MSGMERGE" != ":"; then
12469 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
12470 echo "${ECHO_T}$MSGMERGE" >&6
12472 echo "$as_me:$LINENO: result: no" >&5
12473 echo "${ECHO_T}no" >&6
12477 if test "$GMSGFMT" != ":"; then
12478 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
12479 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12482 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
12483 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
12484 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
12489 if test "$XGETTEXT" != ":"; then
12490 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
12491 (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
12494 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
12495 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
12501 ac_config_commands="$ac_config_commands default-1"
12505 # Permit host specific settings.
12506 . ${srcdir}/configure.host
12509 # Find a good install program. We prefer a C program (faster),
12510 # so one script is as good as another. But avoid the broken or
12511 # incompatible versions:
12512 # SysV /etc/install, /usr/sbin/install
12513 # SunOS /usr/etc/install
12514 # IRIX /sbin/install
12516 # AmigaOS /C/install, which installs bootblocks on floppy discs
12517 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12518 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12519 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12520 # OS/2's system install, which has a completely different semantic
12521 # ./install, which can be erroneously created by make from ./install.sh.
12522 # Reject install programs that cannot install multiple files.
12523 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12524 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12525 if test -z "$INSTALL"; then
12526 if test "${ac_cv_path_install+set}" = set; then
12527 echo $ECHO_N "(cached) $ECHO_C" >&6
12529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12530 for as_dir in $PATH
12533 test -z "$as_dir" && as_dir=.
12534 # Account for people who put trailing slashes in PATH elements.
12536 ./ | .// | /cC/* | \
12537 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12538 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12541 # OSF1 and SCO ODT 3.0 have their own names for install.
12542 # Don't use installbsd from OSF since it installs stuff as root
12544 for ac_prog in ginstall scoinst install; do
12545 for ac_exec_ext in '' $ac_executable_extensions; do
12546 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12547 if test $ac_prog = install &&
12548 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12549 # AIX install. It has an incompatible calling convention.
12551 elif test $ac_prog = install &&
12552 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12553 # program-specific install script used by HP pwplus--don't use.
12556 rm -rf conftest.one conftest.two conftest.dir
12557 echo one > conftest.one
12558 echo two > conftest.two
12560 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
12561 test -s conftest.one && test -s conftest.two &&
12562 test -s conftest.dir/conftest.one &&
12563 test -s conftest.dir/conftest.two
12565 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12576 rm -rf conftest.one conftest.two conftest.dir
12579 if test "${ac_cv_path_install+set}" = set; then
12580 INSTALL=$ac_cv_path_install
12582 # As a last resort, use the slow shell script. Don't cache a
12583 # value for INSTALL within a source directory, because that will
12584 # break other packages using the cache if that directory is
12585 # removed, or if the value is a relative name.
12586 INSTALL=$ac_install_sh
12589 echo "$as_me:$LINENO: result: $INSTALL" >&5
12590 echo "${ECHO_T}$INSTALL" >&6
12592 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12593 # It thinks the first close brace ends the variable substitution.
12594 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12596 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12598 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12601 BFD_HOST_64BIT_LONG=0
12602 BFD_HOST_64BIT_LONG_LONG=0
12603 BFD_HOST_64_BIT_DEFINED=0
12606 BFD_HOSTPTR_T="unsigned long"
12608 echo "$as_me:$LINENO: checking for long long" >&5
12609 echo $ECHO_N "checking for long long... $ECHO_C" >&6
12610 if test "${ac_cv_type_long_long+set}" = set; then
12611 echo $ECHO_N "(cached) $ECHO_C" >&6
12613 cat >conftest.$ac_ext <<_ACEOF
12616 cat confdefs.h >>conftest.$ac_ext
12617 cat >>conftest.$ac_ext <<_ACEOF
12618 /* end confdefs.h. */
12619 $ac_includes_default
12623 if ((long long *) 0)
12625 if (sizeof (long long))
12631 rm -f conftest.$ac_objext
12632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12633 (eval $ac_compile) 2>conftest.er1
12635 grep -v '^ *+' conftest.er1 >conftest.err
12637 cat conftest.err >&5
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); } &&
12640 { ac_try='test -z "$ac_c_werror_flag"
12641 || test ! -s conftest.err'
12642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12643 (eval $ac_try) 2>&5
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); }; } &&
12647 { ac_try='test -s conftest.$ac_objext'
12648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12649 (eval $ac_try) 2>&5
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); }; }; then
12653 ac_cv_type_long_long=yes
12655 echo "$as_me: failed program was:" >&5
12656 sed 's/^/| /' conftest.$ac_ext >&5
12658 ac_cv_type_long_long=no
12660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12662 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
12663 echo "${ECHO_T}$ac_cv_type_long_long" >&6
12665 echo "$as_me:$LINENO: checking size of long long" >&5
12666 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
12667 if test "${ac_cv_sizeof_long_long+set}" = set; then
12668 echo $ECHO_N "(cached) $ECHO_C" >&6
12670 if test "$ac_cv_type_long_long" = yes; then
12671 # The cast to unsigned long works around a bug in the HP C Compiler
12672 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12673 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12674 # This bug is HP SR number 8606223364.
12675 if test "$cross_compiling" = yes; then
12676 # Depending upon the size, compute the lo and hi bounds.
12677 cat >conftest.$ac_ext <<_ACEOF
12680 cat confdefs.h >>conftest.$ac_ext
12681 cat >>conftest.$ac_ext <<_ACEOF
12682 /* end confdefs.h. */
12683 $ac_includes_default
12687 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
12694 rm -f conftest.$ac_objext
12695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12696 (eval $ac_compile) 2>conftest.er1
12698 grep -v '^ *+' conftest.er1 >conftest.err
12700 cat conftest.err >&5
12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); } &&
12703 { ac_try='test -z "$ac_c_werror_flag"
12704 || test ! -s conftest.err'
12705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12706 (eval $ac_try) 2>&5
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); }; } &&
12710 { ac_try='test -s conftest.$ac_objext'
12711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12712 (eval $ac_try) 2>&5
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); }; }; then
12718 cat >conftest.$ac_ext <<_ACEOF
12721 cat confdefs.h >>conftest.$ac_ext
12722 cat >>conftest.$ac_ext <<_ACEOF
12723 /* end confdefs.h. */
12724 $ac_includes_default
12728 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
12735 rm -f conftest.$ac_objext
12736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12737 (eval $ac_compile) 2>conftest.er1
12739 grep -v '^ *+' conftest.er1 >conftest.err
12741 cat conftest.err >&5
12742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); } &&
12744 { ac_try='test -z "$ac_c_werror_flag"
12745 || test ! -s conftest.err'
12746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12747 (eval $ac_try) 2>&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); }; } &&
12751 { ac_try='test -s conftest.$ac_objext'
12752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12753 (eval $ac_try) 2>&5
12755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756 (exit $ac_status); }; }; then
12757 ac_hi=$ac_mid; break
12759 echo "$as_me: failed program was:" >&5
12760 sed 's/^/| /' conftest.$ac_ext >&5
12762 ac_lo=`expr $ac_mid + 1`
12763 if test $ac_lo -le $ac_mid; then
12767 ac_mid=`expr 2 '*' $ac_mid + 1`
12769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12772 echo "$as_me: failed program was:" >&5
12773 sed 's/^/| /' conftest.$ac_ext >&5
12775 cat >conftest.$ac_ext <<_ACEOF
12778 cat confdefs.h >>conftest.$ac_ext
12779 cat >>conftest.$ac_ext <<_ACEOF
12780 /* end confdefs.h. */
12781 $ac_includes_default
12785 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
12792 rm -f conftest.$ac_objext
12793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12794 (eval $ac_compile) 2>conftest.er1
12796 grep -v '^ *+' conftest.er1 >conftest.err
12798 cat conftest.err >&5
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 (exit $ac_status); } &&
12801 { ac_try='test -z "$ac_c_werror_flag"
12802 || test ! -s conftest.err'
12803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12804 (eval $ac_try) 2>&5
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); }; } &&
12808 { ac_try='test -s conftest.$ac_objext'
12809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12810 (eval $ac_try) 2>&5
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); }; }; then
12816 cat >conftest.$ac_ext <<_ACEOF
12819 cat confdefs.h >>conftest.$ac_ext
12820 cat >>conftest.$ac_ext <<_ACEOF
12821 /* end confdefs.h. */
12822 $ac_includes_default
12826 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
12833 rm -f conftest.$ac_objext
12834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12835 (eval $ac_compile) 2>conftest.er1
12837 grep -v '^ *+' conftest.er1 >conftest.err
12839 cat conftest.err >&5
12840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12841 (exit $ac_status); } &&
12842 { ac_try='test -z "$ac_c_werror_flag"
12843 || test ! -s conftest.err'
12844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12845 (eval $ac_try) 2>&5
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); }; } &&
12849 { ac_try='test -s conftest.$ac_objext'
12850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12851 (eval $ac_try) 2>&5
12853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12854 (exit $ac_status); }; }; then
12855 ac_lo=$ac_mid; break
12857 echo "$as_me: failed program was:" >&5
12858 sed 's/^/| /' conftest.$ac_ext >&5
12860 ac_hi=`expr '(' $ac_mid ')' - 1`
12861 if test $ac_mid -le $ac_hi; then
12865 ac_mid=`expr 2 '*' $ac_mid`
12867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12870 echo "$as_me: failed program was:" >&5
12871 sed 's/^/| /' conftest.$ac_ext >&5
12875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12878 # Binary search between lo and hi bounds.
12879 while test "x$ac_lo" != "x$ac_hi"; do
12880 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12881 cat >conftest.$ac_ext <<_ACEOF
12884 cat confdefs.h >>conftest.$ac_ext
12885 cat >>conftest.$ac_ext <<_ACEOF
12886 /* end confdefs.h. */
12887 $ac_includes_default
12891 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
12898 rm -f conftest.$ac_objext
12899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12900 (eval $ac_compile) 2>conftest.er1
12902 grep -v '^ *+' conftest.er1 >conftest.err
12904 cat conftest.err >&5
12905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12906 (exit $ac_status); } &&
12907 { ac_try='test -z "$ac_c_werror_flag"
12908 || test ! -s conftest.err'
12909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12910 (eval $ac_try) 2>&5
12912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913 (exit $ac_status); }; } &&
12914 { ac_try='test -s conftest.$ac_objext'
12915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12916 (eval $ac_try) 2>&5
12918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919 (exit $ac_status); }; }; then
12922 echo "$as_me: failed program was:" >&5
12923 sed 's/^/| /' conftest.$ac_ext >&5
12925 ac_lo=`expr '(' $ac_mid ')' + 1`
12927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12930 ?*) ac_cv_sizeof_long_long=$ac_lo;;
12931 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12932 echo "$as_me: error: in \`$ac_pwd':" >&2;}
12933 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
12934 See \`config.log' for more details." >&5
12935 echo "$as_me: error: cannot compute sizeof (long long), 77
12936 See \`config.log' for more details." >&2;}
12937 { (exit 1); exit 1; }; }; } ;;
12940 if test "$cross_compiling" = yes; then
12941 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12942 echo "$as_me: error: in \`$ac_pwd':" >&2;}
12943 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12944 See \`config.log' for more details." >&5
12945 echo "$as_me: error: cannot run test program while cross compiling
12946 See \`config.log' for more details." >&2;}
12947 { (exit 1); exit 1; }; }; }
12949 cat >conftest.$ac_ext <<_ACEOF
12952 cat confdefs.h >>conftest.$ac_ext
12953 cat >>conftest.$ac_ext <<_ACEOF
12954 /* end confdefs.h. */
12955 $ac_includes_default
12956 long longval () { return (long) (sizeof (long long)); }
12957 unsigned long ulongval () { return (long) (sizeof (long long)); }
12959 #include <stdlib.h>
12964 FILE *f = fopen ("conftest.val", "w");
12967 if (((long) (sizeof (long long))) < 0)
12969 long i = longval ();
12970 if (i != ((long) (sizeof (long long))))
12972 fprintf (f, "%ld\n", i);
12976 unsigned long i = ulongval ();
12977 if (i != ((long) (sizeof (long long))))
12979 fprintf (f, "%lu\n", i);
12981 exit (ferror (f) || fclose (f) != 0);
12987 rm -f conftest$ac_exeext
12988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12989 (eval $ac_link) 2>&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12994 (eval $ac_try) 2>&5
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); }; }; then
12998 ac_cv_sizeof_long_long=`cat conftest.val`
13000 echo "$as_me: program exited with status $ac_status" >&5
13001 echo "$as_me: failed program was:" >&5
13002 sed 's/^/| /' conftest.$ac_ext >&5
13004 ( exit $ac_status )
13005 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13006 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13007 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
13008 See \`config.log' for more details." >&5
13009 echo "$as_me: error: cannot compute sizeof (long long), 77
13010 See \`config.log' for more details." >&2;}
13011 { (exit 1); exit 1; }; }; }
13013 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13018 ac_cv_sizeof_long_long=0
13021 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
13022 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
13023 cat >>confdefs.h <<_ACEOF
13024 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13028 echo "$as_me:$LINENO: checking for void *" >&5
13029 echo $ECHO_N "checking for void *... $ECHO_C" >&6
13030 if test "${ac_cv_type_void_p+set}" = set; then
13031 echo $ECHO_N "(cached) $ECHO_C" >&6
13033 cat >conftest.$ac_ext <<_ACEOF
13036 cat confdefs.h >>conftest.$ac_ext
13037 cat >>conftest.$ac_ext <<_ACEOF
13038 /* end confdefs.h. */
13039 $ac_includes_default
13045 if (sizeof (void *))
13051 rm -f conftest.$ac_objext
13052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13053 (eval $ac_compile) 2>conftest.er1
13055 grep -v '^ *+' conftest.er1 >conftest.err
13057 cat conftest.err >&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); } &&
13060 { ac_try='test -z "$ac_c_werror_flag"
13061 || test ! -s conftest.err'
13062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13063 (eval $ac_try) 2>&5
13065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 (exit $ac_status); }; } &&
13067 { ac_try='test -s conftest.$ac_objext'
13068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13069 (eval $ac_try) 2>&5
13071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072 (exit $ac_status); }; }; then
13073 ac_cv_type_void_p=yes
13075 echo "$as_me: failed program was:" >&5
13076 sed 's/^/| /' conftest.$ac_ext >&5
13078 ac_cv_type_void_p=no
13080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13082 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
13083 echo "${ECHO_T}$ac_cv_type_void_p" >&6
13085 echo "$as_me:$LINENO: checking size of void *" >&5
13086 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
13087 if test "${ac_cv_sizeof_void_p+set}" = set; then
13088 echo $ECHO_N "(cached) $ECHO_C" >&6
13090 if test "$ac_cv_type_void_p" = yes; then
13091 # The cast to unsigned long works around a bug in the HP C Compiler
13092 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13093 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13094 # This bug is HP SR number 8606223364.
13095 if test "$cross_compiling" = yes; then
13096 # Depending upon the size, compute the lo and hi bounds.
13097 cat >conftest.$ac_ext <<_ACEOF
13100 cat confdefs.h >>conftest.$ac_ext
13101 cat >>conftest.$ac_ext <<_ACEOF
13102 /* end confdefs.h. */
13103 $ac_includes_default
13107 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
13114 rm -f conftest.$ac_objext
13115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13116 (eval $ac_compile) 2>conftest.er1
13118 grep -v '^ *+' conftest.er1 >conftest.err
13120 cat conftest.err >&5
13121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13122 (exit $ac_status); } &&
13123 { ac_try='test -z "$ac_c_werror_flag"
13124 || test ! -s conftest.err'
13125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13126 (eval $ac_try) 2>&5
13128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129 (exit $ac_status); }; } &&
13130 { ac_try='test -s conftest.$ac_objext'
13131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13132 (eval $ac_try) 2>&5
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); }; }; then
13138 cat >conftest.$ac_ext <<_ACEOF
13141 cat confdefs.h >>conftest.$ac_ext
13142 cat >>conftest.$ac_ext <<_ACEOF
13143 /* end confdefs.h. */
13144 $ac_includes_default
13148 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
13155 rm -f conftest.$ac_objext
13156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13157 (eval $ac_compile) 2>conftest.er1
13159 grep -v '^ *+' conftest.er1 >conftest.err
13161 cat conftest.err >&5
13162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 (exit $ac_status); } &&
13164 { ac_try='test -z "$ac_c_werror_flag"
13165 || test ! -s conftest.err'
13166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13167 (eval $ac_try) 2>&5
13169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13170 (exit $ac_status); }; } &&
13171 { ac_try='test -s conftest.$ac_objext'
13172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13173 (eval $ac_try) 2>&5
13175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13176 (exit $ac_status); }; }; then
13177 ac_hi=$ac_mid; break
13179 echo "$as_me: failed program was:" >&5
13180 sed 's/^/| /' conftest.$ac_ext >&5
13182 ac_lo=`expr $ac_mid + 1`
13183 if test $ac_lo -le $ac_mid; then
13187 ac_mid=`expr 2 '*' $ac_mid + 1`
13189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13192 echo "$as_me: failed program was:" >&5
13193 sed 's/^/| /' conftest.$ac_ext >&5
13195 cat >conftest.$ac_ext <<_ACEOF
13198 cat confdefs.h >>conftest.$ac_ext
13199 cat >>conftest.$ac_ext <<_ACEOF
13200 /* end confdefs.h. */
13201 $ac_includes_default
13205 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
13212 rm -f conftest.$ac_objext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13214 (eval $ac_compile) 2>conftest.er1
13216 grep -v '^ *+' conftest.er1 >conftest.err
13218 cat conftest.err >&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } &&
13221 { ac_try='test -z "$ac_c_werror_flag"
13222 || test ! -s conftest.err'
13223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13224 (eval $ac_try) 2>&5
13226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); }; } &&
13228 { ac_try='test -s conftest.$ac_objext'
13229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13230 (eval $ac_try) 2>&5
13232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13233 (exit $ac_status); }; }; then
13236 cat >conftest.$ac_ext <<_ACEOF
13239 cat confdefs.h >>conftest.$ac_ext
13240 cat >>conftest.$ac_ext <<_ACEOF
13241 /* end confdefs.h. */
13242 $ac_includes_default
13246 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
13253 rm -f conftest.$ac_objext
13254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13255 (eval $ac_compile) 2>conftest.er1
13257 grep -v '^ *+' conftest.er1 >conftest.err
13259 cat conftest.err >&5
13260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); } &&
13262 { ac_try='test -z "$ac_c_werror_flag"
13263 || test ! -s conftest.err'
13264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13265 (eval $ac_try) 2>&5
13267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13268 (exit $ac_status); }; } &&
13269 { ac_try='test -s conftest.$ac_objext'
13270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13271 (eval $ac_try) 2>&5
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); }; }; then
13275 ac_lo=$ac_mid; break
13277 echo "$as_me: failed program was:" >&5
13278 sed 's/^/| /' conftest.$ac_ext >&5
13280 ac_hi=`expr '(' $ac_mid ')' - 1`
13281 if test $ac_mid -le $ac_hi; then
13285 ac_mid=`expr 2 '*' $ac_mid`
13287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13290 echo "$as_me: failed program was:" >&5
13291 sed 's/^/| /' conftest.$ac_ext >&5
13295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13298 # Binary search between lo and hi bounds.
13299 while test "x$ac_lo" != "x$ac_hi"; do
13300 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13301 cat >conftest.$ac_ext <<_ACEOF
13304 cat confdefs.h >>conftest.$ac_ext
13305 cat >>conftest.$ac_ext <<_ACEOF
13306 /* end confdefs.h. */
13307 $ac_includes_default
13311 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
13318 rm -f conftest.$ac_objext
13319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13320 (eval $ac_compile) 2>conftest.er1
13322 grep -v '^ *+' conftest.er1 >conftest.err
13324 cat conftest.err >&5
13325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13326 (exit $ac_status); } &&
13327 { ac_try='test -z "$ac_c_werror_flag"
13328 || test ! -s conftest.err'
13329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13330 (eval $ac_try) 2>&5
13332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13333 (exit $ac_status); }; } &&
13334 { ac_try='test -s conftest.$ac_objext'
13335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13336 (eval $ac_try) 2>&5
13338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13339 (exit $ac_status); }; }; then
13342 echo "$as_me: failed program was:" >&5
13343 sed 's/^/| /' conftest.$ac_ext >&5
13345 ac_lo=`expr '(' $ac_mid ')' + 1`
13347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13350 ?*) ac_cv_sizeof_void_p=$ac_lo;;
13351 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13352 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13353 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
13354 See \`config.log' for more details." >&5
13355 echo "$as_me: error: cannot compute sizeof (void *), 77
13356 See \`config.log' for more details." >&2;}
13357 { (exit 1); exit 1; }; }; } ;;
13360 if test "$cross_compiling" = yes; then
13361 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13362 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13363 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13364 See \`config.log' for more details." >&5
13365 echo "$as_me: error: cannot run test program while cross compiling
13366 See \`config.log' for more details." >&2;}
13367 { (exit 1); exit 1; }; }; }
13369 cat >conftest.$ac_ext <<_ACEOF
13372 cat confdefs.h >>conftest.$ac_ext
13373 cat >>conftest.$ac_ext <<_ACEOF
13374 /* end confdefs.h. */
13375 $ac_includes_default
13376 long longval () { return (long) (sizeof (void *)); }
13377 unsigned long ulongval () { return (long) (sizeof (void *)); }
13379 #include <stdlib.h>
13384 FILE *f = fopen ("conftest.val", "w");
13387 if (((long) (sizeof (void *))) < 0)
13389 long i = longval ();
13390 if (i != ((long) (sizeof (void *))))
13392 fprintf (f, "%ld\n", i);
13396 unsigned long i = ulongval ();
13397 if (i != ((long) (sizeof (void *))))
13399 fprintf (f, "%lu\n", i);
13401 exit (ferror (f) || fclose (f) != 0);
13407 rm -f conftest$ac_exeext
13408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13409 (eval $ac_link) 2>&5
13411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13412 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13414 (eval $ac_try) 2>&5
13416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13417 (exit $ac_status); }; }; then
13418 ac_cv_sizeof_void_p=`cat conftest.val`
13420 echo "$as_me: program exited with status $ac_status" >&5
13421 echo "$as_me: failed program was:" >&5
13422 sed 's/^/| /' conftest.$ac_ext >&5
13424 ( exit $ac_status )
13425 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13426 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13427 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
13428 See \`config.log' for more details." >&5
13429 echo "$as_me: error: cannot compute sizeof (void *), 77
13430 See \`config.log' for more details." >&2;}
13431 { (exit 1); exit 1; }; }; }
13433 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13438 ac_cv_sizeof_void_p=0
13441 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
13442 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
13443 cat >>confdefs.h <<_ACEOF
13444 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13448 echo "$as_me:$LINENO: checking for long" >&5
13449 echo $ECHO_N "checking for long... $ECHO_C" >&6
13450 if test "${ac_cv_type_long+set}" = set; then
13451 echo $ECHO_N "(cached) $ECHO_C" >&6
13453 cat >conftest.$ac_ext <<_ACEOF
13456 cat confdefs.h >>conftest.$ac_ext
13457 cat >>conftest.$ac_ext <<_ACEOF
13458 /* end confdefs.h. */
13459 $ac_includes_default
13471 rm -f conftest.$ac_objext
13472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13473 (eval $ac_compile) 2>conftest.er1
13475 grep -v '^ *+' conftest.er1 >conftest.err
13477 cat conftest.err >&5
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); } &&
13480 { ac_try='test -z "$ac_c_werror_flag"
13481 || test ! -s conftest.err'
13482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13483 (eval $ac_try) 2>&5
13485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13486 (exit $ac_status); }; } &&
13487 { ac_try='test -s conftest.$ac_objext'
13488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13489 (eval $ac_try) 2>&5
13491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492 (exit $ac_status); }; }; then
13493 ac_cv_type_long=yes
13495 echo "$as_me: failed program was:" >&5
13496 sed 's/^/| /' conftest.$ac_ext >&5
13500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13502 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
13503 echo "${ECHO_T}$ac_cv_type_long" >&6
13505 echo "$as_me:$LINENO: checking size of long" >&5
13506 echo $ECHO_N "checking size of long... $ECHO_C" >&6
13507 if test "${ac_cv_sizeof_long+set}" = set; then
13508 echo $ECHO_N "(cached) $ECHO_C" >&6
13510 if test "$ac_cv_type_long" = yes; then
13511 # The cast to unsigned long works around a bug in the HP C Compiler
13512 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13513 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13514 # This bug is HP SR number 8606223364.
13515 if test "$cross_compiling" = yes; then
13516 # Depending upon the size, compute the lo and hi bounds.
13517 cat >conftest.$ac_ext <<_ACEOF
13520 cat confdefs.h >>conftest.$ac_ext
13521 cat >>conftest.$ac_ext <<_ACEOF
13522 /* end confdefs.h. */
13523 $ac_includes_default
13527 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
13534 rm -f conftest.$ac_objext
13535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13536 (eval $ac_compile) 2>conftest.er1
13538 grep -v '^ *+' conftest.er1 >conftest.err
13540 cat conftest.err >&5
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); } &&
13543 { ac_try='test -z "$ac_c_werror_flag"
13544 || test ! -s conftest.err'
13545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13546 (eval $ac_try) 2>&5
13548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13549 (exit $ac_status); }; } &&
13550 { ac_try='test -s conftest.$ac_objext'
13551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13552 (eval $ac_try) 2>&5
13554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13555 (exit $ac_status); }; }; then
13558 cat >conftest.$ac_ext <<_ACEOF
13561 cat confdefs.h >>conftest.$ac_ext
13562 cat >>conftest.$ac_ext <<_ACEOF
13563 /* end confdefs.h. */
13564 $ac_includes_default
13568 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
13575 rm -f conftest.$ac_objext
13576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13577 (eval $ac_compile) 2>conftest.er1
13579 grep -v '^ *+' conftest.er1 >conftest.err
13581 cat conftest.err >&5
13582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13583 (exit $ac_status); } &&
13584 { ac_try='test -z "$ac_c_werror_flag"
13585 || test ! -s conftest.err'
13586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13587 (eval $ac_try) 2>&5
13589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13590 (exit $ac_status); }; } &&
13591 { ac_try='test -s conftest.$ac_objext'
13592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13593 (eval $ac_try) 2>&5
13595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13596 (exit $ac_status); }; }; then
13597 ac_hi=$ac_mid; break
13599 echo "$as_me: failed program was:" >&5
13600 sed 's/^/| /' conftest.$ac_ext >&5
13602 ac_lo=`expr $ac_mid + 1`
13603 if test $ac_lo -le $ac_mid; then
13607 ac_mid=`expr 2 '*' $ac_mid + 1`
13609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13612 echo "$as_me: failed program was:" >&5
13613 sed 's/^/| /' conftest.$ac_ext >&5
13615 cat >conftest.$ac_ext <<_ACEOF
13618 cat confdefs.h >>conftest.$ac_ext
13619 cat >>conftest.$ac_ext <<_ACEOF
13620 /* end confdefs.h. */
13621 $ac_includes_default
13625 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
13632 rm -f conftest.$ac_objext
13633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13634 (eval $ac_compile) 2>conftest.er1
13636 grep -v '^ *+' conftest.er1 >conftest.err
13638 cat conftest.err >&5
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); } &&
13641 { ac_try='test -z "$ac_c_werror_flag"
13642 || test ! -s conftest.err'
13643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13644 (eval $ac_try) 2>&5
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); }; } &&
13648 { ac_try='test -s conftest.$ac_objext'
13649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13650 (eval $ac_try) 2>&5
13652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13653 (exit $ac_status); }; }; then
13656 cat >conftest.$ac_ext <<_ACEOF
13659 cat confdefs.h >>conftest.$ac_ext
13660 cat >>conftest.$ac_ext <<_ACEOF
13661 /* end confdefs.h. */
13662 $ac_includes_default
13666 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
13673 rm -f conftest.$ac_objext
13674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13675 (eval $ac_compile) 2>conftest.er1
13677 grep -v '^ *+' conftest.er1 >conftest.err
13679 cat conftest.err >&5
13680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13681 (exit $ac_status); } &&
13682 { ac_try='test -z "$ac_c_werror_flag"
13683 || test ! -s conftest.err'
13684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13685 (eval $ac_try) 2>&5
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 (exit $ac_status); }; } &&
13689 { ac_try='test -s conftest.$ac_objext'
13690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13691 (eval $ac_try) 2>&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); }; }; then
13695 ac_lo=$ac_mid; break
13697 echo "$as_me: failed program was:" >&5
13698 sed 's/^/| /' conftest.$ac_ext >&5
13700 ac_hi=`expr '(' $ac_mid ')' - 1`
13701 if test $ac_mid -le $ac_hi; then
13705 ac_mid=`expr 2 '*' $ac_mid`
13707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13710 echo "$as_me: failed program was:" >&5
13711 sed 's/^/| /' conftest.$ac_ext >&5
13715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13718 # Binary search between lo and hi bounds.
13719 while test "x$ac_lo" != "x$ac_hi"; do
13720 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13721 cat >conftest.$ac_ext <<_ACEOF
13724 cat confdefs.h >>conftest.$ac_ext
13725 cat >>conftest.$ac_ext <<_ACEOF
13726 /* end confdefs.h. */
13727 $ac_includes_default
13731 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
13738 rm -f conftest.$ac_objext
13739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13740 (eval $ac_compile) 2>conftest.er1
13742 grep -v '^ *+' conftest.er1 >conftest.err
13744 cat conftest.err >&5
13745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746 (exit $ac_status); } &&
13747 { ac_try='test -z "$ac_c_werror_flag"
13748 || test ! -s conftest.err'
13749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13750 (eval $ac_try) 2>&5
13752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13753 (exit $ac_status); }; } &&
13754 { ac_try='test -s conftest.$ac_objext'
13755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13756 (eval $ac_try) 2>&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); }; }; then
13762 echo "$as_me: failed program was:" >&5
13763 sed 's/^/| /' conftest.$ac_ext >&5
13765 ac_lo=`expr '(' $ac_mid ')' + 1`
13767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13770 ?*) ac_cv_sizeof_long=$ac_lo;;
13771 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13772 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13773 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
13774 See \`config.log' for more details." >&5
13775 echo "$as_me: error: cannot compute sizeof (long), 77
13776 See \`config.log' for more details." >&2;}
13777 { (exit 1); exit 1; }; }; } ;;
13780 if test "$cross_compiling" = yes; then
13781 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13782 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13783 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13784 See \`config.log' for more details." >&5
13785 echo "$as_me: error: cannot run test program while cross compiling
13786 See \`config.log' for more details." >&2;}
13787 { (exit 1); exit 1; }; }; }
13789 cat >conftest.$ac_ext <<_ACEOF
13792 cat confdefs.h >>conftest.$ac_ext
13793 cat >>conftest.$ac_ext <<_ACEOF
13794 /* end confdefs.h. */
13795 $ac_includes_default
13796 long longval () { return (long) (sizeof (long)); }
13797 unsigned long ulongval () { return (long) (sizeof (long)); }
13799 #include <stdlib.h>
13804 FILE *f = fopen ("conftest.val", "w");
13807 if (((long) (sizeof (long))) < 0)
13809 long i = longval ();
13810 if (i != ((long) (sizeof (long))))
13812 fprintf (f, "%ld\n", i);
13816 unsigned long i = ulongval ();
13817 if (i != ((long) (sizeof (long))))
13819 fprintf (f, "%lu\n", i);
13821 exit (ferror (f) || fclose (f) != 0);
13827 rm -f conftest$ac_exeext
13828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13829 (eval $ac_link) 2>&5
13831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13832 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13834 (eval $ac_try) 2>&5
13836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13837 (exit $ac_status); }; }; then
13838 ac_cv_sizeof_long=`cat conftest.val`
13840 echo "$as_me: program exited with status $ac_status" >&5
13841 echo "$as_me: failed program was:" >&5
13842 sed 's/^/| /' conftest.$ac_ext >&5
13844 ( exit $ac_status )
13845 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13846 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13847 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
13848 See \`config.log' for more details." >&5
13849 echo "$as_me: error: cannot compute sizeof (long), 77
13850 See \`config.log' for more details." >&2;}
13851 { (exit 1); exit 1; }; }; }
13853 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13858 ac_cv_sizeof_long=0
13861 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
13862 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
13863 cat >>confdefs.h <<_ACEOF
13864 #define SIZEOF_LONG $ac_cv_sizeof_long
13869 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
13873 if test "x${ac_cv_sizeof_long}" = "x8"; then
13874 BFD_HOST_64BIT_LONG=1
13875 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long"
13876 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long"
13877 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
13878 BFD_HOST_64BIT_LONG_LONG=1
13879 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long long"
13880 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long long"
13881 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
13882 BFD_HOSTPTR_T="unsigned long long"
13886 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
13887 BFD_HOST_64_BIT_DEFINED=1
13888 BFD_HOST_64_BIT="${HOST_64BIT_TYPE}"
13889 BFD_HOST_U_64_BIT="${HOST_U_64BIT_TYPE}"
13899 # Put a plausible default for CC_FOR_BUILD in Makefile.
13900 if test -z "$CC_FOR_BUILD"; then
13901 if test "x$cross_compiling" = "xno"; then
13902 CC_FOR_BUILD='$(CC)'
13908 # Also set EXEEXT_FOR_BUILD.
13909 if test "x$cross_compiling" = "xno"; then
13910 EXEEXT_FOR_BUILD='$(EXEEXT)'
13912 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
13913 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
13914 if test "${bfd_cv_build_exeext+set}" = set; then
13915 echo $ECHO_N "(cached) $ECHO_C" >&6
13918 echo 'int main () { return 0; }' > conftest.c
13919 bfd_cv_build_exeext=
13920 ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
13921 for file in conftest.*; do
13923 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
13924 *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
13928 test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
13930 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
13931 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
13932 EXEEXT_FOR_BUILD=""
13933 test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
13944 for ac_header in alloca.h stddef.h string.h strings.h stdlib.h time.h unistd.h
13946 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13948 echo "$as_me:$LINENO: checking for $ac_header" >&5
13949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13951 echo $ECHO_N "(cached) $ECHO_C" >&6
13953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13954 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13956 # Is the header compilable?
13957 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13958 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13959 cat >conftest.$ac_ext <<_ACEOF
13962 cat confdefs.h >>conftest.$ac_ext
13963 cat >>conftest.$ac_ext <<_ACEOF
13964 /* end confdefs.h. */
13965 $ac_includes_default
13966 #include <$ac_header>
13968 rm -f conftest.$ac_objext
13969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13970 (eval $ac_compile) 2>conftest.er1
13972 grep -v '^ *+' conftest.er1 >conftest.err
13974 cat conftest.err >&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); } &&
13977 { ac_try='test -z "$ac_c_werror_flag"
13978 || test ! -s conftest.err'
13979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13980 (eval $ac_try) 2>&5
13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983 (exit $ac_status); }; } &&
13984 { ac_try='test -s conftest.$ac_objext'
13985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13986 (eval $ac_try) 2>&5
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); }; }; then
13990 ac_header_compiler=yes
13992 echo "$as_me: failed program was:" >&5
13993 sed 's/^/| /' conftest.$ac_ext >&5
13995 ac_header_compiler=no
13997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13998 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13999 echo "${ECHO_T}$ac_header_compiler" >&6
14001 # Is the header present?
14002 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14003 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14004 cat >conftest.$ac_ext <<_ACEOF
14007 cat confdefs.h >>conftest.$ac_ext
14008 cat >>conftest.$ac_ext <<_ACEOF
14009 /* end confdefs.h. */
14010 #include <$ac_header>
14012 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14013 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14015 grep -v '^ *+' conftest.er1 >conftest.err
14017 cat conftest.err >&5
14018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 (exit $ac_status); } >/dev/null; then
14020 if test -s conftest.err; then
14021 ac_cpp_err=$ac_c_preproc_warn_flag
14022 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14029 if test -z "$ac_cpp_err"; then
14030 ac_header_preproc=yes
14032 echo "$as_me: failed program was:" >&5
14033 sed 's/^/| /' conftest.$ac_ext >&5
14035 ac_header_preproc=no
14037 rm -f conftest.err conftest.$ac_ext
14038 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14039 echo "${ECHO_T}$ac_header_preproc" >&6
14041 # So? What about this header?
14042 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14044 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14045 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14046 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14047 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14048 ac_header_preproc=yes
14051 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14052 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14053 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14054 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14055 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14056 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14057 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14058 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14059 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14060 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14061 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14062 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14065 ## ------------------------------------------ ##
14066 ## Report this to the AC_PACKAGE_NAME lists. ##
14067 ## ------------------------------------------ ##
14070 sed "s/^/$as_me: WARNING: /" >&2
14073 echo "$as_me:$LINENO: checking for $ac_header" >&5
14074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14076 echo $ECHO_N "(cached) $ECHO_C" >&6
14078 eval "$as_ac_Header=\$ac_header_preproc"
14080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14081 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14084 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14085 cat >>confdefs.h <<_ACEOF
14086 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14096 for ac_header in fcntl.h sys/file.h sys/time.h
14098 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14100 echo "$as_me:$LINENO: checking for $ac_header" >&5
14101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14103 echo $ECHO_N "(cached) $ECHO_C" >&6
14105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14106 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14108 # Is the header compilable?
14109 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14110 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14111 cat >conftest.$ac_ext <<_ACEOF
14114 cat confdefs.h >>conftest.$ac_ext
14115 cat >>conftest.$ac_ext <<_ACEOF
14116 /* end confdefs.h. */
14117 $ac_includes_default
14118 #include <$ac_header>
14120 rm -f conftest.$ac_objext
14121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14122 (eval $ac_compile) 2>conftest.er1
14124 grep -v '^ *+' conftest.er1 >conftest.err
14126 cat conftest.err >&5
14127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14128 (exit $ac_status); } &&
14129 { ac_try='test -z "$ac_c_werror_flag"
14130 || test ! -s conftest.err'
14131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14132 (eval $ac_try) 2>&5
14134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14135 (exit $ac_status); }; } &&
14136 { ac_try='test -s conftest.$ac_objext'
14137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14138 (eval $ac_try) 2>&5
14140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14141 (exit $ac_status); }; }; then
14142 ac_header_compiler=yes
14144 echo "$as_me: failed program was:" >&5
14145 sed 's/^/| /' conftest.$ac_ext >&5
14147 ac_header_compiler=no
14149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14150 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14151 echo "${ECHO_T}$ac_header_compiler" >&6
14153 # Is the header present?
14154 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14155 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14156 cat >conftest.$ac_ext <<_ACEOF
14159 cat confdefs.h >>conftest.$ac_ext
14160 cat >>conftest.$ac_ext <<_ACEOF
14161 /* end confdefs.h. */
14162 #include <$ac_header>
14164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14165 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14167 grep -v '^ *+' conftest.er1 >conftest.err
14169 cat conftest.err >&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); } >/dev/null; then
14172 if test -s conftest.err; then
14173 ac_cpp_err=$ac_c_preproc_warn_flag
14174 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14181 if test -z "$ac_cpp_err"; then
14182 ac_header_preproc=yes
14184 echo "$as_me: failed program was:" >&5
14185 sed 's/^/| /' conftest.$ac_ext >&5
14187 ac_header_preproc=no
14189 rm -f conftest.err conftest.$ac_ext
14190 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14191 echo "${ECHO_T}$ac_header_preproc" >&6
14193 # So? What about this header?
14194 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14196 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14197 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14199 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14200 ac_header_preproc=yes
14203 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14204 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14205 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14206 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14207 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14208 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14209 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14210 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14212 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14213 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14214 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14217 ## ------------------------------------------ ##
14218 ## Report this to the AC_PACKAGE_NAME lists. ##
14219 ## ------------------------------------------ ##
14222 sed "s/^/$as_me: WARNING: /" >&2
14225 echo "$as_me:$LINENO: checking for $ac_header" >&5
14226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14227 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14228 echo $ECHO_N "(cached) $ECHO_C" >&6
14230 eval "$as_ac_Header=\$ac_header_preproc"
14232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14233 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14236 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14237 cat >>confdefs.h <<_ACEOF
14238 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14247 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
14249 acx_cv_header_stdint=stddef.h
14250 acx_cv_header_stdint_kind="(already complete)"
14251 for i in stdint.h $inttype_headers; do
14252 unset ac_cv_type_uintptr_t
14253 unset ac_cv_type_uintmax_t
14254 unset ac_cv_type_int_least32_t
14255 unset ac_cv_type_int_fast32_t
14256 unset ac_cv_type_uint64_t
14257 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
14258 echo "$as_me:$LINENO: checking for uintmax_t" >&5
14259 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
14260 if test "${ac_cv_type_uintmax_t+set}" = set; then
14261 echo $ECHO_N "(cached) $ECHO_C" >&6
14263 cat >conftest.$ac_ext <<_ACEOF
14266 cat confdefs.h >>conftest.$ac_ext
14267 cat >>conftest.$ac_ext <<_ACEOF
14268 /* end confdefs.h. */
14269 #include <sys/types.h>
14275 if ((uintmax_t *) 0)
14277 if (sizeof (uintmax_t))
14283 rm -f conftest.$ac_objext
14284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14285 (eval $ac_compile) 2>conftest.er1
14287 grep -v '^ *+' conftest.er1 >conftest.err
14289 cat conftest.err >&5
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); } &&
14292 { ac_try='test -z "$ac_c_werror_flag"
14293 || test ! -s conftest.err'
14294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14295 (eval $ac_try) 2>&5
14297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298 (exit $ac_status); }; } &&
14299 { ac_try='test -s conftest.$ac_objext'
14300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14301 (eval $ac_try) 2>&5
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); }; }; then
14305 ac_cv_type_uintmax_t=yes
14307 echo "$as_me: failed program was:" >&5
14308 sed 's/^/| /' conftest.$ac_ext >&5
14310 ac_cv_type_uintmax_t=no
14312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14314 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
14315 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
14316 if test $ac_cv_type_uintmax_t = yes; then
14317 acx_cv_header_stdint=$i
14322 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14323 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14324 if test "${ac_cv_type_uintptr_t+set}" = set; then
14325 echo $ECHO_N "(cached) $ECHO_C" >&6
14327 cat >conftest.$ac_ext <<_ACEOF
14330 cat confdefs.h >>conftest.$ac_ext
14331 cat >>conftest.$ac_ext <<_ACEOF
14332 /* end confdefs.h. */
14333 #include <sys/types.h>
14339 if ((uintptr_t *) 0)
14341 if (sizeof (uintptr_t))
14347 rm -f conftest.$ac_objext
14348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14349 (eval $ac_compile) 2>conftest.er1
14351 grep -v '^ *+' conftest.er1 >conftest.err
14353 cat conftest.err >&5
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); } &&
14356 { ac_try='test -z "$ac_c_werror_flag"
14357 || test ! -s conftest.err'
14358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14359 (eval $ac_try) 2>&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); }; } &&
14363 { ac_try='test -s conftest.$ac_objext'
14364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14365 (eval $ac_try) 2>&5
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); }; }; then
14369 ac_cv_type_uintptr_t=yes
14371 echo "$as_me: failed program was:" >&5
14372 sed 's/^/| /' conftest.$ac_ext >&5
14374 ac_cv_type_uintptr_t=no
14376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14378 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14379 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14380 if test $ac_cv_type_uintptr_t = yes; then
14383 acx_cv_header_stdint_kind="(mostly complete)"
14386 echo "$as_me:$LINENO: checking for int_least32_t" >&5
14387 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
14388 if test "${ac_cv_type_int_least32_t+set}" = set; then
14389 echo $ECHO_N "(cached) $ECHO_C" >&6
14391 cat >conftest.$ac_ext <<_ACEOF
14394 cat confdefs.h >>conftest.$ac_ext
14395 cat >>conftest.$ac_ext <<_ACEOF
14396 /* end confdefs.h. */
14397 #include <sys/types.h>
14403 if ((int_least32_t *) 0)
14405 if (sizeof (int_least32_t))
14411 rm -f conftest.$ac_objext
14412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14413 (eval $ac_compile) 2>conftest.er1
14415 grep -v '^ *+' conftest.er1 >conftest.err
14417 cat conftest.err >&5
14418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419 (exit $ac_status); } &&
14420 { ac_try='test -z "$ac_c_werror_flag"
14421 || test ! -s conftest.err'
14422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14423 (eval $ac_try) 2>&5
14425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14426 (exit $ac_status); }; } &&
14427 { ac_try='test -s conftest.$ac_objext'
14428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14429 (eval $ac_try) 2>&5
14431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432 (exit $ac_status); }; }; then
14433 ac_cv_type_int_least32_t=yes
14435 echo "$as_me: failed program was:" >&5
14436 sed 's/^/| /' conftest.$ac_ext >&5
14438 ac_cv_type_int_least32_t=no
14440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14442 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
14443 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
14444 if test $ac_cv_type_int_least32_t = yes; then
14447 acx_cv_header_stdint_kind="(mostly complete)"
14450 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
14451 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
14452 if test "${ac_cv_type_int_fast32_t+set}" = set; then
14453 echo $ECHO_N "(cached) $ECHO_C" >&6
14455 cat >conftest.$ac_ext <<_ACEOF
14458 cat confdefs.h >>conftest.$ac_ext
14459 cat >>conftest.$ac_ext <<_ACEOF
14460 /* end confdefs.h. */
14461 #include <sys/types.h>
14467 if ((int_fast32_t *) 0)
14469 if (sizeof (int_fast32_t))
14475 rm -f conftest.$ac_objext
14476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14477 (eval $ac_compile) 2>conftest.er1
14479 grep -v '^ *+' conftest.er1 >conftest.err
14481 cat conftest.err >&5
14482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14483 (exit $ac_status); } &&
14484 { ac_try='test -z "$ac_c_werror_flag"
14485 || test ! -s conftest.err'
14486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14487 (eval $ac_try) 2>&5
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); }; } &&
14491 { ac_try='test -s conftest.$ac_objext'
14492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14493 (eval $ac_try) 2>&5
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); }; }; then
14497 ac_cv_type_int_fast32_t=yes
14499 echo "$as_me: failed program was:" >&5
14500 sed 's/^/| /' conftest.$ac_ext >&5
14502 ac_cv_type_int_fast32_t=no
14504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14506 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
14507 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
14508 if test $ac_cv_type_int_fast32_t = yes; then
14511 acx_cv_header_stdint_kind="(mostly complete)"
14514 echo "$as_me:$LINENO: checking for uint64_t" >&5
14515 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
14516 if test "${ac_cv_type_uint64_t+set}" = set; then
14517 echo $ECHO_N "(cached) $ECHO_C" >&6
14519 cat >conftest.$ac_ext <<_ACEOF
14522 cat confdefs.h >>conftest.$ac_ext
14523 cat >>conftest.$ac_ext <<_ACEOF
14524 /* end confdefs.h. */
14525 #include <sys/types.h>
14531 if ((uint64_t *) 0)
14533 if (sizeof (uint64_t))
14539 rm -f conftest.$ac_objext
14540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14541 (eval $ac_compile) 2>conftest.er1
14543 grep -v '^ *+' conftest.er1 >conftest.err
14545 cat conftest.err >&5
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); } &&
14548 { ac_try='test -z "$ac_c_werror_flag"
14549 || test ! -s conftest.err'
14550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14551 (eval $ac_try) 2>&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); }; } &&
14555 { ac_try='test -s conftest.$ac_objext'
14556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14557 (eval $ac_try) 2>&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); }; }; then
14561 ac_cv_type_uint64_t=yes
14563 echo "$as_me: failed program was:" >&5
14564 sed 's/^/| /' conftest.$ac_ext >&5
14566 ac_cv_type_uint64_t=no
14568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14570 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
14571 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
14572 if test $ac_cv_type_uint64_t = yes; then
14575 acx_cv_header_stdint_kind="(lacks uint64_t)"
14580 if test "$acx_cv_header_stdint" = stddef.h; then
14581 acx_cv_header_stdint_kind="(lacks uintmax_t)"
14582 for i in stdint.h $inttype_headers; do
14583 unset ac_cv_type_uintptr_t
14584 unset ac_cv_type_uint32_t
14585 unset ac_cv_type_uint64_t
14586 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
14587 echo "$as_me:$LINENO: checking for uint32_t" >&5
14588 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
14589 if test "${ac_cv_type_uint32_t+set}" = set; then
14590 echo $ECHO_N "(cached) $ECHO_C" >&6
14592 cat >conftest.$ac_ext <<_ACEOF
14595 cat confdefs.h >>conftest.$ac_ext
14596 cat >>conftest.$ac_ext <<_ACEOF
14597 /* end confdefs.h. */
14598 #include <sys/types.h>
14604 if ((uint32_t *) 0)
14606 if (sizeof (uint32_t))
14612 rm -f conftest.$ac_objext
14613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14614 (eval $ac_compile) 2>conftest.er1
14616 grep -v '^ *+' conftest.er1 >conftest.err
14618 cat conftest.err >&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); } &&
14621 { ac_try='test -z "$ac_c_werror_flag"
14622 || test ! -s conftest.err'
14623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14624 (eval $ac_try) 2>&5
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); }; } &&
14628 { ac_try='test -s conftest.$ac_objext'
14629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630 (eval $ac_try) 2>&5
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; }; then
14634 ac_cv_type_uint32_t=yes
14636 echo "$as_me: failed program was:" >&5
14637 sed 's/^/| /' conftest.$ac_ext >&5
14639 ac_cv_type_uint32_t=no
14641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14643 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
14644 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
14645 if test $ac_cv_type_uint32_t = yes; then
14646 acx_cv_header_stdint=$i
14651 echo "$as_me:$LINENO: checking for uint64_t" >&5
14652 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
14653 if test "${ac_cv_type_uint64_t+set}" = set; then
14654 echo $ECHO_N "(cached) $ECHO_C" >&6
14656 cat >conftest.$ac_ext <<_ACEOF
14659 cat confdefs.h >>conftest.$ac_ext
14660 cat >>conftest.$ac_ext <<_ACEOF
14661 /* end confdefs.h. */
14662 #include <sys/types.h>
14668 if ((uint64_t *) 0)
14670 if (sizeof (uint64_t))
14676 rm -f conftest.$ac_objext
14677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14678 (eval $ac_compile) 2>conftest.er1
14680 grep -v '^ *+' conftest.er1 >conftest.err
14682 cat conftest.err >&5
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); } &&
14685 { ac_try='test -z "$ac_c_werror_flag"
14686 || test ! -s conftest.err'
14687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14688 (eval $ac_try) 2>&5
14690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14691 (exit $ac_status); }; } &&
14692 { ac_try='test -s conftest.$ac_objext'
14693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14694 (eval $ac_try) 2>&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); }; }; then
14698 ac_cv_type_uint64_t=yes
14700 echo "$as_me: failed program was:" >&5
14701 sed 's/^/| /' conftest.$ac_ext >&5
14703 ac_cv_type_uint64_t=no
14705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14707 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
14708 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
14710 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14711 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14712 if test "${ac_cv_type_uintptr_t+set}" = set; then
14713 echo $ECHO_N "(cached) $ECHO_C" >&6
14715 cat >conftest.$ac_ext <<_ACEOF
14718 cat confdefs.h >>conftest.$ac_ext
14719 cat >>conftest.$ac_ext <<_ACEOF
14720 /* end confdefs.h. */
14721 #include <sys/types.h>
14727 if ((uintptr_t *) 0)
14729 if (sizeof (uintptr_t))
14735 rm -f conftest.$ac_objext
14736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14737 (eval $ac_compile) 2>conftest.er1
14739 grep -v '^ *+' conftest.er1 >conftest.err
14741 cat conftest.err >&5
14742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); } &&
14744 { ac_try='test -z "$ac_c_werror_flag"
14745 || test ! -s conftest.err'
14746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14747 (eval $ac_try) 2>&5
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); }; } &&
14751 { ac_try='test -s conftest.$ac_objext'
14752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14753 (eval $ac_try) 2>&5
14755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756 (exit $ac_status); }; }; then
14757 ac_cv_type_uintptr_t=yes
14759 echo "$as_me: failed program was:" >&5
14760 sed 's/^/| /' conftest.$ac_ext >&5
14762 ac_cv_type_uintptr_t=no
14764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14766 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14767 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14772 if test "$acx_cv_header_stdint" = stddef.h; then
14773 acx_cv_header_stdint_kind="(u_intXX_t style)"
14774 for i in sys/types.h $inttype_headers; do
14775 unset ac_cv_type_u_int32_t
14776 unset ac_cv_type_u_int64_t
14777 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
14778 echo "$as_me:$LINENO: checking for u_int32_t" >&5
14779 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
14780 if test "${ac_cv_type_u_int32_t+set}" = set; then
14781 echo $ECHO_N "(cached) $ECHO_C" >&6
14783 cat >conftest.$ac_ext <<_ACEOF
14786 cat confdefs.h >>conftest.$ac_ext
14787 cat >>conftest.$ac_ext <<_ACEOF
14788 /* end confdefs.h. */
14789 #include <sys/types.h>
14795 if ((u_int32_t *) 0)
14797 if (sizeof (u_int32_t))
14803 rm -f conftest.$ac_objext
14804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14805 (eval $ac_compile) 2>conftest.er1
14807 grep -v '^ *+' conftest.er1 >conftest.err
14809 cat conftest.err >&5
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); } &&
14812 { ac_try='test -z "$ac_c_werror_flag"
14813 || test ! -s conftest.err'
14814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14815 (eval $ac_try) 2>&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); }; } &&
14819 { ac_try='test -s conftest.$ac_objext'
14820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14821 (eval $ac_try) 2>&5
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); }; }; then
14825 ac_cv_type_u_int32_t=yes
14827 echo "$as_me: failed program was:" >&5
14828 sed 's/^/| /' conftest.$ac_ext >&5
14830 ac_cv_type_u_int32_t=no
14832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14834 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
14835 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
14836 if test $ac_cv_type_u_int32_t = yes; then
14837 acx_cv_header_stdint=$i
14842 echo "$as_me:$LINENO: checking for u_int64_t" >&5
14843 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
14844 if test "${ac_cv_type_u_int64_t+set}" = set; then
14845 echo $ECHO_N "(cached) $ECHO_C" >&6
14847 cat >conftest.$ac_ext <<_ACEOF
14850 cat confdefs.h >>conftest.$ac_ext
14851 cat >>conftest.$ac_ext <<_ACEOF
14852 /* end confdefs.h. */
14853 #include <sys/types.h>
14859 if ((u_int64_t *) 0)
14861 if (sizeof (u_int64_t))
14867 rm -f conftest.$ac_objext
14868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14869 (eval $ac_compile) 2>conftest.er1
14871 grep -v '^ *+' conftest.er1 >conftest.err
14873 cat conftest.err >&5
14874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 (exit $ac_status); } &&
14876 { ac_try='test -z "$ac_c_werror_flag"
14877 || test ! -s conftest.err'
14878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14879 (eval $ac_try) 2>&5
14881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14882 (exit $ac_status); }; } &&
14883 { ac_try='test -s conftest.$ac_objext'
14884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14885 (eval $ac_try) 2>&5
14887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14888 (exit $ac_status); }; }; then
14889 ac_cv_type_u_int64_t=yes
14891 echo "$as_me: failed program was:" >&5
14892 sed 's/^/| /' conftest.$ac_ext >&5
14894 ac_cv_type_u_int64_t=no
14896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14898 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
14899 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
14904 if test "$acx_cv_header_stdint" = stddef.h; then
14905 acx_cv_header_stdint_kind="(using manual detection)"
14908 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
14909 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
14910 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
14911 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
14912 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
14914 # ----------------- Summarize what we found so far
14916 echo "$as_me:$LINENO: checking what to include in bfd_stdint.h" >&5
14917 echo $ECHO_N "checking what to include in bfd_stdint.h... $ECHO_C" >&6
14919 case `$as_basename bfd_stdint.h ||
14920 $as_expr X/bfd_stdint.h : '.*/\([^/][^/]*\)/*$' \| \
14921 Xbfd_stdint.h : 'X\(//\)$' \| \
14922 Xbfd_stdint.h : 'X\(/\)$' \| \
14923 . : '\(.\)' 2>/dev/null ||
14924 echo X/bfd_stdint.h |
14925 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14926 /^X\/\(\/\/\)$/{ s//\1/; q; }
14927 /^X\/\(\/\).*/{ s//\1/; q; }
14929 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
14930 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
14931 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
14932 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
14936 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
14937 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
14939 # ----------------- done included file, check C basic types --------
14941 # Lacking an uintptr_t? Test size of void *
14942 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
14943 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
14944 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14945 if test "${ac_cv_type_void_p+set}" = set; then
14946 echo $ECHO_N "(cached) $ECHO_C" >&6
14948 cat >conftest.$ac_ext <<_ACEOF
14951 cat confdefs.h >>conftest.$ac_ext
14952 cat >>conftest.$ac_ext <<_ACEOF
14953 /* end confdefs.h. */
14954 $ac_includes_default
14960 if (sizeof (void *))
14966 rm -f conftest.$ac_objext
14967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14968 (eval $ac_compile) 2>conftest.er1
14970 grep -v '^ *+' conftest.er1 >conftest.err
14972 cat conftest.err >&5
14973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14974 (exit $ac_status); } &&
14975 { ac_try='test -z "$ac_c_werror_flag"
14976 || test ! -s conftest.err'
14977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14978 (eval $ac_try) 2>&5
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); }; } &&
14982 { ac_try='test -s conftest.$ac_objext'
14983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14984 (eval $ac_try) 2>&5
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); }; }; then
14988 ac_cv_type_void_p=yes
14990 echo "$as_me: failed program was:" >&5
14991 sed 's/^/| /' conftest.$ac_ext >&5
14993 ac_cv_type_void_p=no
14995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14997 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14998 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15000 echo "$as_me:$LINENO: checking size of void *" >&5
15001 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15002 if test "${ac_cv_sizeof_void_p+set}" = set; then
15003 echo $ECHO_N "(cached) $ECHO_C" >&6
15005 if test "$ac_cv_type_void_p" = yes; then
15006 # The cast to unsigned long works around a bug in the HP C Compiler
15007 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15008 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15009 # This bug is HP SR number 8606223364.
15010 if test "$cross_compiling" = yes; then
15011 # Depending upon the size, compute the lo and hi bounds.
15012 cat >conftest.$ac_ext <<_ACEOF
15015 cat confdefs.h >>conftest.$ac_ext
15016 cat >>conftest.$ac_ext <<_ACEOF
15017 /* end confdefs.h. */
15018 $ac_includes_default
15022 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15029 rm -f conftest.$ac_objext
15030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15031 (eval $ac_compile) 2>conftest.er1
15033 grep -v '^ *+' conftest.er1 >conftest.err
15035 cat conftest.err >&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); } &&
15038 { ac_try='test -z "$ac_c_werror_flag"
15039 || test ! -s conftest.err'
15040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15041 (eval $ac_try) 2>&5
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); }; } &&
15045 { ac_try='test -s conftest.$ac_objext'
15046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047 (eval $ac_try) 2>&5
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); }; }; then
15053 cat >conftest.$ac_ext <<_ACEOF
15056 cat confdefs.h >>conftest.$ac_ext
15057 cat >>conftest.$ac_ext <<_ACEOF
15058 /* end confdefs.h. */
15059 $ac_includes_default
15063 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15070 rm -f conftest.$ac_objext
15071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15072 (eval $ac_compile) 2>conftest.er1
15074 grep -v '^ *+' conftest.er1 >conftest.err
15076 cat conftest.err >&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); } &&
15079 { ac_try='test -z "$ac_c_werror_flag"
15080 || test ! -s conftest.err'
15081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15082 (eval $ac_try) 2>&5
15084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15085 (exit $ac_status); }; } &&
15086 { ac_try='test -s conftest.$ac_objext'
15087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15088 (eval $ac_try) 2>&5
15090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091 (exit $ac_status); }; }; then
15092 ac_hi=$ac_mid; break
15094 echo "$as_me: failed program was:" >&5
15095 sed 's/^/| /' conftest.$ac_ext >&5
15097 ac_lo=`expr $ac_mid + 1`
15098 if test $ac_lo -le $ac_mid; then
15102 ac_mid=`expr 2 '*' $ac_mid + 1`
15104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15107 echo "$as_me: failed program was:" >&5
15108 sed 's/^/| /' conftest.$ac_ext >&5
15110 cat >conftest.$ac_ext <<_ACEOF
15113 cat confdefs.h >>conftest.$ac_ext
15114 cat >>conftest.$ac_ext <<_ACEOF
15115 /* end confdefs.h. */
15116 $ac_includes_default
15120 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15127 rm -f conftest.$ac_objext
15128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15129 (eval $ac_compile) 2>conftest.er1
15131 grep -v '^ *+' conftest.er1 >conftest.err
15133 cat conftest.err >&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); } &&
15136 { ac_try='test -z "$ac_c_werror_flag"
15137 || test ! -s conftest.err'
15138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15139 (eval $ac_try) 2>&5
15141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15142 (exit $ac_status); }; } &&
15143 { ac_try='test -s conftest.$ac_objext'
15144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15145 (eval $ac_try) 2>&5
15147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15148 (exit $ac_status); }; }; then
15151 cat >conftest.$ac_ext <<_ACEOF
15154 cat confdefs.h >>conftest.$ac_ext
15155 cat >>conftest.$ac_ext <<_ACEOF
15156 /* end confdefs.h. */
15157 $ac_includes_default
15161 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15168 rm -f conftest.$ac_objext
15169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15170 (eval $ac_compile) 2>conftest.er1
15172 grep -v '^ *+' conftest.er1 >conftest.err
15174 cat conftest.err >&5
15175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15176 (exit $ac_status); } &&
15177 { ac_try='test -z "$ac_c_werror_flag"
15178 || test ! -s conftest.err'
15179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15180 (eval $ac_try) 2>&5
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); }; } &&
15184 { ac_try='test -s conftest.$ac_objext'
15185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15186 (eval $ac_try) 2>&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); }; }; then
15190 ac_lo=$ac_mid; break
15192 echo "$as_me: failed program was:" >&5
15193 sed 's/^/| /' conftest.$ac_ext >&5
15195 ac_hi=`expr '(' $ac_mid ')' - 1`
15196 if test $ac_mid -le $ac_hi; then
15200 ac_mid=`expr 2 '*' $ac_mid`
15202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15205 echo "$as_me: failed program was:" >&5
15206 sed 's/^/| /' conftest.$ac_ext >&5
15210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15213 # Binary search between lo and hi bounds.
15214 while test "x$ac_lo" != "x$ac_hi"; do
15215 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15216 cat >conftest.$ac_ext <<_ACEOF
15219 cat confdefs.h >>conftest.$ac_ext
15220 cat >>conftest.$ac_ext <<_ACEOF
15221 /* end confdefs.h. */
15222 $ac_includes_default
15226 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15233 rm -f conftest.$ac_objext
15234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15235 (eval $ac_compile) 2>conftest.er1
15237 grep -v '^ *+' conftest.er1 >conftest.err
15239 cat conftest.err >&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); } &&
15242 { ac_try='test -z "$ac_c_werror_flag"
15243 || test ! -s conftest.err'
15244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15245 (eval $ac_try) 2>&5
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); }; } &&
15249 { ac_try='test -s conftest.$ac_objext'
15250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15251 (eval $ac_try) 2>&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); }; }; then
15257 echo "$as_me: failed program was:" >&5
15258 sed 's/^/| /' conftest.$ac_ext >&5
15260 ac_lo=`expr '(' $ac_mid ')' + 1`
15262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15265 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15266 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15267 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15268 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15269 See \`config.log' for more details." >&5
15270 echo "$as_me: error: cannot compute sizeof (void *), 77
15271 See \`config.log' for more details." >&2;}
15272 { (exit 1); exit 1; }; }; } ;;
15275 if test "$cross_compiling" = yes; then
15276 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15277 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15278 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15279 See \`config.log' for more details." >&5
15280 echo "$as_me: error: cannot run test program while cross compiling
15281 See \`config.log' for more details." >&2;}
15282 { (exit 1); exit 1; }; }; }
15284 cat >conftest.$ac_ext <<_ACEOF
15287 cat confdefs.h >>conftest.$ac_ext
15288 cat >>conftest.$ac_ext <<_ACEOF
15289 /* end confdefs.h. */
15290 $ac_includes_default
15291 long longval () { return (long) (sizeof (void *)); }
15292 unsigned long ulongval () { return (long) (sizeof (void *)); }
15294 #include <stdlib.h>
15299 FILE *f = fopen ("conftest.val", "w");
15302 if (((long) (sizeof (void *))) < 0)
15304 long i = longval ();
15305 if (i != ((long) (sizeof (void *))))
15307 fprintf (f, "%ld\n", i);
15311 unsigned long i = ulongval ();
15312 if (i != ((long) (sizeof (void *))))
15314 fprintf (f, "%lu\n", i);
15316 exit (ferror (f) || fclose (f) != 0);
15322 rm -f conftest$ac_exeext
15323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15324 (eval $ac_link) 2>&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15329 (eval $ac_try) 2>&5
15331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15332 (exit $ac_status); }; }; then
15333 ac_cv_sizeof_void_p=`cat conftest.val`
15335 echo "$as_me: program exited with status $ac_status" >&5
15336 echo "$as_me: failed program was:" >&5
15337 sed 's/^/| /' conftest.$ac_ext >&5
15339 ( exit $ac_status )
15340 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15341 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15342 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15343 See \`config.log' for more details." >&5
15344 echo "$as_me: error: cannot compute sizeof (void *), 77
15345 See \`config.log' for more details." >&2;}
15346 { (exit 1); exit 1; }; }; }
15348 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15353 ac_cv_sizeof_void_p=0
15356 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15357 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15358 cat >>confdefs.h <<_ACEOF
15359 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15365 # Lacking an uint64_t? Test size of long
15366 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15367 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
15368 echo $ECHO_N "checking for long... $ECHO_C" >&6
15369 if test "${ac_cv_type_long+set}" = set; then
15370 echo $ECHO_N "(cached) $ECHO_C" >&6
15372 cat >conftest.$ac_ext <<_ACEOF
15375 cat confdefs.h >>conftest.$ac_ext
15376 cat >>conftest.$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15378 $ac_includes_default
15390 rm -f conftest.$ac_objext
15391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15392 (eval $ac_compile) 2>conftest.er1
15394 grep -v '^ *+' conftest.er1 >conftest.err
15396 cat conftest.err >&5
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); } &&
15399 { ac_try='test -z "$ac_c_werror_flag"
15400 || test ! -s conftest.err'
15401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15402 (eval $ac_try) 2>&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); }; } &&
15406 { ac_try='test -s conftest.$ac_objext'
15407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15408 (eval $ac_try) 2>&5
15410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15411 (exit $ac_status); }; }; then
15412 ac_cv_type_long=yes
15414 echo "$as_me: failed program was:" >&5
15415 sed 's/^/| /' conftest.$ac_ext >&5
15419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15421 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15422 echo "${ECHO_T}$ac_cv_type_long" >&6
15424 echo "$as_me:$LINENO: checking size of long" >&5
15425 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15426 if test "${ac_cv_sizeof_long+set}" = set; then
15427 echo $ECHO_N "(cached) $ECHO_C" >&6
15429 if test "$ac_cv_type_long" = yes; then
15430 # The cast to unsigned long works around a bug in the HP C Compiler
15431 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15432 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15433 # This bug is HP SR number 8606223364.
15434 if test "$cross_compiling" = yes; then
15435 # Depending upon the size, compute the lo and hi bounds.
15436 cat >conftest.$ac_ext <<_ACEOF
15439 cat confdefs.h >>conftest.$ac_ext
15440 cat >>conftest.$ac_ext <<_ACEOF
15441 /* end confdefs.h. */
15442 $ac_includes_default
15446 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15453 rm -f conftest.$ac_objext
15454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15455 (eval $ac_compile) 2>conftest.er1
15457 grep -v '^ *+' conftest.er1 >conftest.err
15459 cat conftest.err >&5
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); } &&
15462 { ac_try='test -z "$ac_c_werror_flag"
15463 || test ! -s conftest.err'
15464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15465 (eval $ac_try) 2>&5
15467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15468 (exit $ac_status); }; } &&
15469 { ac_try='test -s conftest.$ac_objext'
15470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15471 (eval $ac_try) 2>&5
15473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15474 (exit $ac_status); }; }; then
15477 cat >conftest.$ac_ext <<_ACEOF
15480 cat confdefs.h >>conftest.$ac_ext
15481 cat >>conftest.$ac_ext <<_ACEOF
15482 /* end confdefs.h. */
15483 $ac_includes_default
15487 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15494 rm -f conftest.$ac_objext
15495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15496 (eval $ac_compile) 2>conftest.er1
15498 grep -v '^ *+' conftest.er1 >conftest.err
15500 cat conftest.err >&5
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); } &&
15503 { ac_try='test -z "$ac_c_werror_flag"
15504 || test ! -s conftest.err'
15505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15506 (eval $ac_try) 2>&5
15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 (exit $ac_status); }; } &&
15510 { ac_try='test -s conftest.$ac_objext'
15511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15512 (eval $ac_try) 2>&5
15514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15515 (exit $ac_status); }; }; then
15516 ac_hi=$ac_mid; break
15518 echo "$as_me: failed program was:" >&5
15519 sed 's/^/| /' conftest.$ac_ext >&5
15521 ac_lo=`expr $ac_mid + 1`
15522 if test $ac_lo -le $ac_mid; then
15526 ac_mid=`expr 2 '*' $ac_mid + 1`
15528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15531 echo "$as_me: failed program was:" >&5
15532 sed 's/^/| /' conftest.$ac_ext >&5
15534 cat >conftest.$ac_ext <<_ACEOF
15537 cat confdefs.h >>conftest.$ac_ext
15538 cat >>conftest.$ac_ext <<_ACEOF
15539 /* end confdefs.h. */
15540 $ac_includes_default
15544 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15551 rm -f conftest.$ac_objext
15552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15553 (eval $ac_compile) 2>conftest.er1
15555 grep -v '^ *+' conftest.er1 >conftest.err
15557 cat conftest.err >&5
15558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559 (exit $ac_status); } &&
15560 { ac_try='test -z "$ac_c_werror_flag"
15561 || test ! -s conftest.err'
15562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15563 (eval $ac_try) 2>&5
15565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566 (exit $ac_status); }; } &&
15567 { ac_try='test -s conftest.$ac_objext'
15568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15569 (eval $ac_try) 2>&5
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); }; }; then
15575 cat >conftest.$ac_ext <<_ACEOF
15578 cat confdefs.h >>conftest.$ac_ext
15579 cat >>conftest.$ac_ext <<_ACEOF
15580 /* end confdefs.h. */
15581 $ac_includes_default
15585 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15592 rm -f conftest.$ac_objext
15593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15594 (eval $ac_compile) 2>conftest.er1
15596 grep -v '^ *+' conftest.er1 >conftest.err
15598 cat conftest.err >&5
15599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 (exit $ac_status); } &&
15601 { ac_try='test -z "$ac_c_werror_flag"
15602 || test ! -s conftest.err'
15603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15604 (eval $ac_try) 2>&5
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); }; } &&
15608 { ac_try='test -s conftest.$ac_objext'
15609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15610 (eval $ac_try) 2>&5
15612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15613 (exit $ac_status); }; }; then
15614 ac_lo=$ac_mid; break
15616 echo "$as_me: failed program was:" >&5
15617 sed 's/^/| /' conftest.$ac_ext >&5
15619 ac_hi=`expr '(' $ac_mid ')' - 1`
15620 if test $ac_mid -le $ac_hi; then
15624 ac_mid=`expr 2 '*' $ac_mid`
15626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15629 echo "$as_me: failed program was:" >&5
15630 sed 's/^/| /' conftest.$ac_ext >&5
15634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15637 # Binary search between lo and hi bounds.
15638 while test "x$ac_lo" != "x$ac_hi"; do
15639 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15640 cat >conftest.$ac_ext <<_ACEOF
15643 cat confdefs.h >>conftest.$ac_ext
15644 cat >>conftest.$ac_ext <<_ACEOF
15645 /* end confdefs.h. */
15646 $ac_includes_default
15650 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15657 rm -f conftest.$ac_objext
15658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15659 (eval $ac_compile) 2>conftest.er1
15661 grep -v '^ *+' conftest.er1 >conftest.err
15663 cat conftest.err >&5
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); } &&
15666 { ac_try='test -z "$ac_c_werror_flag"
15667 || test ! -s conftest.err'
15668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15669 (eval $ac_try) 2>&5
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); }; } &&
15673 { ac_try='test -s conftest.$ac_objext'
15674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15675 (eval $ac_try) 2>&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); }; }; then
15681 echo "$as_me: failed program was:" >&5
15682 sed 's/^/| /' conftest.$ac_ext >&5
15684 ac_lo=`expr '(' $ac_mid ')' + 1`
15686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15689 ?*) ac_cv_sizeof_long=$ac_lo;;
15690 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15691 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15692 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15693 See \`config.log' for more details." >&5
15694 echo "$as_me: error: cannot compute sizeof (long), 77
15695 See \`config.log' for more details." >&2;}
15696 { (exit 1); exit 1; }; }; } ;;
15699 if test "$cross_compiling" = yes; then
15700 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15701 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15702 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15703 See \`config.log' for more details." >&5
15704 echo "$as_me: error: cannot run test program while cross compiling
15705 See \`config.log' for more details." >&2;}
15706 { (exit 1); exit 1; }; }; }
15708 cat >conftest.$ac_ext <<_ACEOF
15711 cat confdefs.h >>conftest.$ac_ext
15712 cat >>conftest.$ac_ext <<_ACEOF
15713 /* end confdefs.h. */
15714 $ac_includes_default
15715 long longval () { return (long) (sizeof (long)); }
15716 unsigned long ulongval () { return (long) (sizeof (long)); }
15718 #include <stdlib.h>
15723 FILE *f = fopen ("conftest.val", "w");
15726 if (((long) (sizeof (long))) < 0)
15728 long i = longval ();
15729 if (i != ((long) (sizeof (long))))
15731 fprintf (f, "%ld\n", i);
15735 unsigned long i = ulongval ();
15736 if (i != ((long) (sizeof (long))))
15738 fprintf (f, "%lu\n", i);
15740 exit (ferror (f) || fclose (f) != 0);
15746 rm -f conftest$ac_exeext
15747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15748 (eval $ac_link) 2>&5
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15753 (eval $ac_try) 2>&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); }; }; then
15757 ac_cv_sizeof_long=`cat conftest.val`
15759 echo "$as_me: program exited with status $ac_status" >&5
15760 echo "$as_me: failed program was:" >&5
15761 sed 's/^/| /' conftest.$ac_ext >&5
15763 ( exit $ac_status )
15764 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15765 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15766 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15767 See \`config.log' for more details." >&5
15768 echo "$as_me: error: cannot compute sizeof (long), 77
15769 See \`config.log' for more details." >&2;}
15770 { (exit 1); exit 1; }; }; }
15772 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15777 ac_cv_sizeof_long=0
15780 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15781 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15782 cat >>confdefs.h <<_ACEOF
15783 #define SIZEOF_LONG $ac_cv_sizeof_long
15789 if test $acx_cv_header_stdint = stddef.h; then
15790 # Lacking a good header? Test size of everything and deduce all types.
15791 echo "$as_me:$LINENO: checking for int" >&5
15792 echo $ECHO_N "checking for int... $ECHO_C" >&6
15793 if test "${ac_cv_type_int+set}" = set; then
15794 echo $ECHO_N "(cached) $ECHO_C" >&6
15796 cat >conftest.$ac_ext <<_ACEOF
15799 cat confdefs.h >>conftest.$ac_ext
15800 cat >>conftest.$ac_ext <<_ACEOF
15801 /* end confdefs.h. */
15802 $ac_includes_default
15814 rm -f conftest.$ac_objext
15815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15816 (eval $ac_compile) 2>conftest.er1
15818 grep -v '^ *+' conftest.er1 >conftest.err
15820 cat conftest.err >&5
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); } &&
15823 { ac_try='test -z "$ac_c_werror_flag"
15824 || test ! -s conftest.err'
15825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15826 (eval $ac_try) 2>&5
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); }; } &&
15830 { ac_try='test -s conftest.$ac_objext'
15831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15832 (eval $ac_try) 2>&5
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); }; }; then
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.$ac_ext >&5
15843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15845 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15846 echo "${ECHO_T}$ac_cv_type_int" >&6
15848 echo "$as_me:$LINENO: checking size of int" >&5
15849 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15850 if test "${ac_cv_sizeof_int+set}" = set; then
15851 echo $ECHO_N "(cached) $ECHO_C" >&6
15853 if test "$ac_cv_type_int" = yes; then
15854 # The cast to unsigned long works around a bug in the HP C Compiler
15855 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15856 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15857 # This bug is HP SR number 8606223364.
15858 if test "$cross_compiling" = yes; then
15859 # Depending upon the size, compute the lo and hi bounds.
15860 cat >conftest.$ac_ext <<_ACEOF
15863 cat confdefs.h >>conftest.$ac_ext
15864 cat >>conftest.$ac_ext <<_ACEOF
15865 /* end confdefs.h. */
15866 $ac_includes_default
15870 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15877 rm -f conftest.$ac_objext
15878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15879 (eval $ac_compile) 2>conftest.er1
15881 grep -v '^ *+' conftest.er1 >conftest.err
15883 cat conftest.err >&5
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); } &&
15886 { ac_try='test -z "$ac_c_werror_flag"
15887 || test ! -s conftest.err'
15888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15889 (eval $ac_try) 2>&5
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); }; } &&
15893 { ac_try='test -s conftest.$ac_objext'
15894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15895 (eval $ac_try) 2>&5
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); }; }; then
15901 cat >conftest.$ac_ext <<_ACEOF
15904 cat confdefs.h >>conftest.$ac_ext
15905 cat >>conftest.$ac_ext <<_ACEOF
15906 /* end confdefs.h. */
15907 $ac_includes_default
15911 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15918 rm -f conftest.$ac_objext
15919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15920 (eval $ac_compile) 2>conftest.er1
15922 grep -v '^ *+' conftest.er1 >conftest.err
15924 cat conftest.err >&5
15925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15926 (exit $ac_status); } &&
15927 { ac_try='test -z "$ac_c_werror_flag"
15928 || test ! -s conftest.err'
15929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15930 (eval $ac_try) 2>&5
15932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15933 (exit $ac_status); }; } &&
15934 { ac_try='test -s conftest.$ac_objext'
15935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15936 (eval $ac_try) 2>&5
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); }; }; then
15940 ac_hi=$ac_mid; break
15942 echo "$as_me: failed program was:" >&5
15943 sed 's/^/| /' conftest.$ac_ext >&5
15945 ac_lo=`expr $ac_mid + 1`
15946 if test $ac_lo -le $ac_mid; then
15950 ac_mid=`expr 2 '*' $ac_mid + 1`
15952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15955 echo "$as_me: failed program was:" >&5
15956 sed 's/^/| /' conftest.$ac_ext >&5
15958 cat >conftest.$ac_ext <<_ACEOF
15961 cat confdefs.h >>conftest.$ac_ext
15962 cat >>conftest.$ac_ext <<_ACEOF
15963 /* end confdefs.h. */
15964 $ac_includes_default
15968 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15975 rm -f conftest.$ac_objext
15976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15977 (eval $ac_compile) 2>conftest.er1
15979 grep -v '^ *+' conftest.er1 >conftest.err
15981 cat conftest.err >&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } &&
15984 { ac_try='test -z "$ac_c_werror_flag"
15985 || test ! -s conftest.err'
15986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15987 (eval $ac_try) 2>&5
15989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15990 (exit $ac_status); }; } &&
15991 { ac_try='test -s conftest.$ac_objext'
15992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15993 (eval $ac_try) 2>&5
15995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15996 (exit $ac_status); }; }; then
15999 cat >conftest.$ac_ext <<_ACEOF
16002 cat confdefs.h >>conftest.$ac_ext
16003 cat >>conftest.$ac_ext <<_ACEOF
16004 /* end confdefs.h. */
16005 $ac_includes_default
16009 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16016 rm -f conftest.$ac_objext
16017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16018 (eval $ac_compile) 2>conftest.er1
16020 grep -v '^ *+' conftest.er1 >conftest.err
16022 cat conftest.err >&5
16023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024 (exit $ac_status); } &&
16025 { ac_try='test -z "$ac_c_werror_flag"
16026 || test ! -s conftest.err'
16027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16028 (eval $ac_try) 2>&5
16030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031 (exit $ac_status); }; } &&
16032 { ac_try='test -s conftest.$ac_objext'
16033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16034 (eval $ac_try) 2>&5
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); }; }; then
16038 ac_lo=$ac_mid; break
16040 echo "$as_me: failed program was:" >&5
16041 sed 's/^/| /' conftest.$ac_ext >&5
16043 ac_hi=`expr '(' $ac_mid ')' - 1`
16044 if test $ac_mid -le $ac_hi; then
16048 ac_mid=`expr 2 '*' $ac_mid`
16050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16053 echo "$as_me: failed program was:" >&5
16054 sed 's/^/| /' conftest.$ac_ext >&5
16058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16061 # Binary search between lo and hi bounds.
16062 while test "x$ac_lo" != "x$ac_hi"; do
16063 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16064 cat >conftest.$ac_ext <<_ACEOF
16067 cat confdefs.h >>conftest.$ac_ext
16068 cat >>conftest.$ac_ext <<_ACEOF
16069 /* end confdefs.h. */
16070 $ac_includes_default
16074 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16081 rm -f conftest.$ac_objext
16082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16083 (eval $ac_compile) 2>conftest.er1
16085 grep -v '^ *+' conftest.er1 >conftest.err
16087 cat conftest.err >&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); } &&
16090 { ac_try='test -z "$ac_c_werror_flag"
16091 || test ! -s conftest.err'
16092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16093 (eval $ac_try) 2>&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); }; } &&
16097 { ac_try='test -s conftest.$ac_objext'
16098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16099 (eval $ac_try) 2>&5
16101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16102 (exit $ac_status); }; }; then
16105 echo "$as_me: failed program was:" >&5
16106 sed 's/^/| /' conftest.$ac_ext >&5
16108 ac_lo=`expr '(' $ac_mid ')' + 1`
16110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16113 ?*) ac_cv_sizeof_int=$ac_lo;;
16114 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16115 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16116 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16117 See \`config.log' for more details." >&5
16118 echo "$as_me: error: cannot compute sizeof (int), 77
16119 See \`config.log' for more details." >&2;}
16120 { (exit 1); exit 1; }; }; } ;;
16123 if test "$cross_compiling" = yes; then
16124 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16125 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16126 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16127 See \`config.log' for more details." >&5
16128 echo "$as_me: error: cannot run test program while cross compiling
16129 See \`config.log' for more details." >&2;}
16130 { (exit 1); exit 1; }; }; }
16132 cat >conftest.$ac_ext <<_ACEOF
16135 cat confdefs.h >>conftest.$ac_ext
16136 cat >>conftest.$ac_ext <<_ACEOF
16137 /* end confdefs.h. */
16138 $ac_includes_default
16139 long longval () { return (long) (sizeof (int)); }
16140 unsigned long ulongval () { return (long) (sizeof (int)); }
16142 #include <stdlib.h>
16147 FILE *f = fopen ("conftest.val", "w");
16150 if (((long) (sizeof (int))) < 0)
16152 long i = longval ();
16153 if (i != ((long) (sizeof (int))))
16155 fprintf (f, "%ld\n", i);
16159 unsigned long i = ulongval ();
16160 if (i != ((long) (sizeof (int))))
16162 fprintf (f, "%lu\n", i);
16164 exit (ferror (f) || fclose (f) != 0);
16170 rm -f conftest$ac_exeext
16171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16172 (eval $ac_link) 2>&5
16174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16177 (eval $ac_try) 2>&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); }; }; then
16181 ac_cv_sizeof_int=`cat conftest.val`
16183 echo "$as_me: program exited with status $ac_status" >&5
16184 echo "$as_me: failed program was:" >&5
16185 sed 's/^/| /' conftest.$ac_ext >&5
16187 ( exit $ac_status )
16188 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16189 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16190 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16191 See \`config.log' for more details." >&5
16192 echo "$as_me: error: cannot compute sizeof (int), 77
16193 See \`config.log' for more details." >&2;}
16194 { (exit 1); exit 1; }; }; }
16196 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16204 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16205 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16206 cat >>confdefs.h <<_ACEOF
16207 #define SIZEOF_INT $ac_cv_sizeof_int
16211 echo "$as_me:$LINENO: checking for short" >&5
16212 echo $ECHO_N "checking for short... $ECHO_C" >&6
16213 if test "${ac_cv_type_short+set}" = set; then
16214 echo $ECHO_N "(cached) $ECHO_C" >&6
16216 cat >conftest.$ac_ext <<_ACEOF
16219 cat confdefs.h >>conftest.$ac_ext
16220 cat >>conftest.$ac_ext <<_ACEOF
16221 /* end confdefs.h. */
16222 $ac_includes_default
16228 if (sizeof (short))
16234 rm -f conftest.$ac_objext
16235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16236 (eval $ac_compile) 2>conftest.er1
16238 grep -v '^ *+' conftest.er1 >conftest.err
16240 cat conftest.err >&5
16241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16242 (exit $ac_status); } &&
16243 { ac_try='test -z "$ac_c_werror_flag"
16244 || test ! -s conftest.err'
16245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16246 (eval $ac_try) 2>&5
16248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16249 (exit $ac_status); }; } &&
16250 { ac_try='test -s conftest.$ac_objext'
16251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16252 (eval $ac_try) 2>&5
16254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16255 (exit $ac_status); }; }; then
16256 ac_cv_type_short=yes
16258 echo "$as_me: failed program was:" >&5
16259 sed 's/^/| /' conftest.$ac_ext >&5
16261 ac_cv_type_short=no
16263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16265 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16266 echo "${ECHO_T}$ac_cv_type_short" >&6
16268 echo "$as_me:$LINENO: checking size of short" >&5
16269 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16270 if test "${ac_cv_sizeof_short+set}" = set; then
16271 echo $ECHO_N "(cached) $ECHO_C" >&6
16273 if test "$ac_cv_type_short" = yes; then
16274 # The cast to unsigned long works around a bug in the HP C Compiler
16275 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16276 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16277 # This bug is HP SR number 8606223364.
16278 if test "$cross_compiling" = yes; then
16279 # Depending upon the size, compute the lo and hi bounds.
16280 cat >conftest.$ac_ext <<_ACEOF
16283 cat confdefs.h >>conftest.$ac_ext
16284 cat >>conftest.$ac_ext <<_ACEOF
16285 /* end confdefs.h. */
16286 $ac_includes_default
16290 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16297 rm -f conftest.$ac_objext
16298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16299 (eval $ac_compile) 2>conftest.er1
16301 grep -v '^ *+' conftest.er1 >conftest.err
16303 cat conftest.err >&5
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); } &&
16306 { ac_try='test -z "$ac_c_werror_flag"
16307 || test ! -s conftest.err'
16308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16309 (eval $ac_try) 2>&5
16311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312 (exit $ac_status); }; } &&
16313 { ac_try='test -s conftest.$ac_objext'
16314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16315 (eval $ac_try) 2>&5
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); }; }; then
16321 cat >conftest.$ac_ext <<_ACEOF
16324 cat confdefs.h >>conftest.$ac_ext
16325 cat >>conftest.$ac_ext <<_ACEOF
16326 /* end confdefs.h. */
16327 $ac_includes_default
16331 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16338 rm -f conftest.$ac_objext
16339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16340 (eval $ac_compile) 2>conftest.er1
16342 grep -v '^ *+' conftest.er1 >conftest.err
16344 cat conftest.err >&5
16345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16346 (exit $ac_status); } &&
16347 { ac_try='test -z "$ac_c_werror_flag"
16348 || test ! -s conftest.err'
16349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16350 (eval $ac_try) 2>&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); }; } &&
16354 { ac_try='test -s conftest.$ac_objext'
16355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16356 (eval $ac_try) 2>&5
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); }; }; then
16360 ac_hi=$ac_mid; break
16362 echo "$as_me: failed program was:" >&5
16363 sed 's/^/| /' conftest.$ac_ext >&5
16365 ac_lo=`expr $ac_mid + 1`
16366 if test $ac_lo -le $ac_mid; then
16370 ac_mid=`expr 2 '*' $ac_mid + 1`
16372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16375 echo "$as_me: failed program was:" >&5
16376 sed 's/^/| /' conftest.$ac_ext >&5
16378 cat >conftest.$ac_ext <<_ACEOF
16381 cat confdefs.h >>conftest.$ac_ext
16382 cat >>conftest.$ac_ext <<_ACEOF
16383 /* end confdefs.h. */
16384 $ac_includes_default
16388 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16395 rm -f conftest.$ac_objext
16396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16397 (eval $ac_compile) 2>conftest.er1
16399 grep -v '^ *+' conftest.er1 >conftest.err
16401 cat conftest.err >&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); } &&
16404 { ac_try='test -z "$ac_c_werror_flag"
16405 || test ! -s conftest.err'
16406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16407 (eval $ac_try) 2>&5
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); }; } &&
16411 { ac_try='test -s conftest.$ac_objext'
16412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16413 (eval $ac_try) 2>&5
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); }; }; then
16419 cat >conftest.$ac_ext <<_ACEOF
16422 cat confdefs.h >>conftest.$ac_ext
16423 cat >>conftest.$ac_ext <<_ACEOF
16424 /* end confdefs.h. */
16425 $ac_includes_default
16429 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16436 rm -f conftest.$ac_objext
16437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16438 (eval $ac_compile) 2>conftest.er1
16440 grep -v '^ *+' conftest.er1 >conftest.err
16442 cat conftest.err >&5
16443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16444 (exit $ac_status); } &&
16445 { ac_try='test -z "$ac_c_werror_flag"
16446 || test ! -s conftest.err'
16447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16448 (eval $ac_try) 2>&5
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); }; } &&
16452 { ac_try='test -s conftest.$ac_objext'
16453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16454 (eval $ac_try) 2>&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); }; }; then
16458 ac_lo=$ac_mid; break
16460 echo "$as_me: failed program was:" >&5
16461 sed 's/^/| /' conftest.$ac_ext >&5
16463 ac_hi=`expr '(' $ac_mid ')' - 1`
16464 if test $ac_mid -le $ac_hi; then
16468 ac_mid=`expr 2 '*' $ac_mid`
16470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16473 echo "$as_me: failed program was:" >&5
16474 sed 's/^/| /' conftest.$ac_ext >&5
16478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16481 # Binary search between lo and hi bounds.
16482 while test "x$ac_lo" != "x$ac_hi"; do
16483 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16484 cat >conftest.$ac_ext <<_ACEOF
16487 cat confdefs.h >>conftest.$ac_ext
16488 cat >>conftest.$ac_ext <<_ACEOF
16489 /* end confdefs.h. */
16490 $ac_includes_default
16494 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16501 rm -f conftest.$ac_objext
16502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16503 (eval $ac_compile) 2>conftest.er1
16505 grep -v '^ *+' conftest.er1 >conftest.err
16507 cat conftest.err >&5
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); } &&
16510 { ac_try='test -z "$ac_c_werror_flag"
16511 || test ! -s conftest.err'
16512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16513 (eval $ac_try) 2>&5
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); }; } &&
16517 { ac_try='test -s conftest.$ac_objext'
16518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16519 (eval $ac_try) 2>&5
16521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16522 (exit $ac_status); }; }; then
16525 echo "$as_me: failed program was:" >&5
16526 sed 's/^/| /' conftest.$ac_ext >&5
16528 ac_lo=`expr '(' $ac_mid ')' + 1`
16530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16533 ?*) ac_cv_sizeof_short=$ac_lo;;
16534 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16535 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16536 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16537 See \`config.log' for more details." >&5
16538 echo "$as_me: error: cannot compute sizeof (short), 77
16539 See \`config.log' for more details." >&2;}
16540 { (exit 1); exit 1; }; }; } ;;
16543 if test "$cross_compiling" = yes; then
16544 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16545 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16546 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16547 See \`config.log' for more details." >&5
16548 echo "$as_me: error: cannot run test program while cross compiling
16549 See \`config.log' for more details." >&2;}
16550 { (exit 1); exit 1; }; }; }
16552 cat >conftest.$ac_ext <<_ACEOF
16555 cat confdefs.h >>conftest.$ac_ext
16556 cat >>conftest.$ac_ext <<_ACEOF
16557 /* end confdefs.h. */
16558 $ac_includes_default
16559 long longval () { return (long) (sizeof (short)); }
16560 unsigned long ulongval () { return (long) (sizeof (short)); }
16562 #include <stdlib.h>
16567 FILE *f = fopen ("conftest.val", "w");
16570 if (((long) (sizeof (short))) < 0)
16572 long i = longval ();
16573 if (i != ((long) (sizeof (short))))
16575 fprintf (f, "%ld\n", i);
16579 unsigned long i = ulongval ();
16580 if (i != ((long) (sizeof (short))))
16582 fprintf (f, "%lu\n", i);
16584 exit (ferror (f) || fclose (f) != 0);
16590 rm -f conftest$ac_exeext
16591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16592 (eval $ac_link) 2>&5
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16597 (eval $ac_try) 2>&5
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); }; }; then
16601 ac_cv_sizeof_short=`cat conftest.val`
16603 echo "$as_me: program exited with status $ac_status" >&5
16604 echo "$as_me: failed program was:" >&5
16605 sed 's/^/| /' conftest.$ac_ext >&5
16607 ( exit $ac_status )
16608 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16609 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16610 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16611 See \`config.log' for more details." >&5
16612 echo "$as_me: error: cannot compute sizeof (short), 77
16613 See \`config.log' for more details." >&2;}
16614 { (exit 1); exit 1; }; }; }
16616 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16621 ac_cv_sizeof_short=0
16624 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16625 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16626 cat >>confdefs.h <<_ACEOF
16627 #define SIZEOF_SHORT $ac_cv_sizeof_short
16631 echo "$as_me:$LINENO: checking for char" >&5
16632 echo $ECHO_N "checking for char... $ECHO_C" >&6
16633 if test "${ac_cv_type_char+set}" = set; then
16634 echo $ECHO_N "(cached) $ECHO_C" >&6
16636 cat >conftest.$ac_ext <<_ACEOF
16639 cat confdefs.h >>conftest.$ac_ext
16640 cat >>conftest.$ac_ext <<_ACEOF
16641 /* end confdefs.h. */
16642 $ac_includes_default
16654 rm -f conftest.$ac_objext
16655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16656 (eval $ac_compile) 2>conftest.er1
16658 grep -v '^ *+' conftest.er1 >conftest.err
16660 cat conftest.err >&5
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); } &&
16663 { ac_try='test -z "$ac_c_werror_flag"
16664 || test ! -s conftest.err'
16665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16666 (eval $ac_try) 2>&5
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); }; } &&
16670 { ac_try='test -s conftest.$ac_objext'
16671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16672 (eval $ac_try) 2>&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); }; }; then
16676 ac_cv_type_char=yes
16678 echo "$as_me: failed program was:" >&5
16679 sed 's/^/| /' conftest.$ac_ext >&5
16683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16685 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16686 echo "${ECHO_T}$ac_cv_type_char" >&6
16688 echo "$as_me:$LINENO: checking size of char" >&5
16689 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16690 if test "${ac_cv_sizeof_char+set}" = set; then
16691 echo $ECHO_N "(cached) $ECHO_C" >&6
16693 if test "$ac_cv_type_char" = yes; then
16694 # The cast to unsigned long works around a bug in the HP C Compiler
16695 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16696 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16697 # This bug is HP SR number 8606223364.
16698 if test "$cross_compiling" = yes; then
16699 # Depending upon the size, compute the lo and hi bounds.
16700 cat >conftest.$ac_ext <<_ACEOF
16703 cat confdefs.h >>conftest.$ac_ext
16704 cat >>conftest.$ac_ext <<_ACEOF
16705 /* end confdefs.h. */
16706 $ac_includes_default
16710 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16717 rm -f conftest.$ac_objext
16718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16719 (eval $ac_compile) 2>conftest.er1
16721 grep -v '^ *+' conftest.er1 >conftest.err
16723 cat conftest.err >&5
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 (exit $ac_status); } &&
16726 { ac_try='test -z "$ac_c_werror_flag"
16727 || test ! -s conftest.err'
16728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16729 (eval $ac_try) 2>&5
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); }; } &&
16733 { ac_try='test -s conftest.$ac_objext'
16734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16735 (eval $ac_try) 2>&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); }; }; then
16741 cat >conftest.$ac_ext <<_ACEOF
16744 cat confdefs.h >>conftest.$ac_ext
16745 cat >>conftest.$ac_ext <<_ACEOF
16746 /* end confdefs.h. */
16747 $ac_includes_default
16751 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16758 rm -f conftest.$ac_objext
16759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16760 (eval $ac_compile) 2>conftest.er1
16762 grep -v '^ *+' conftest.er1 >conftest.err
16764 cat conftest.err >&5
16765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16766 (exit $ac_status); } &&
16767 { ac_try='test -z "$ac_c_werror_flag"
16768 || test ! -s conftest.err'
16769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16770 (eval $ac_try) 2>&5
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); }; } &&
16774 { ac_try='test -s conftest.$ac_objext'
16775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16776 (eval $ac_try) 2>&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); }; }; then
16780 ac_hi=$ac_mid; break
16782 echo "$as_me: failed program was:" >&5
16783 sed 's/^/| /' conftest.$ac_ext >&5
16785 ac_lo=`expr $ac_mid + 1`
16786 if test $ac_lo -le $ac_mid; then
16790 ac_mid=`expr 2 '*' $ac_mid + 1`
16792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16795 echo "$as_me: failed program was:" >&5
16796 sed 's/^/| /' conftest.$ac_ext >&5
16798 cat >conftest.$ac_ext <<_ACEOF
16801 cat confdefs.h >>conftest.$ac_ext
16802 cat >>conftest.$ac_ext <<_ACEOF
16803 /* end confdefs.h. */
16804 $ac_includes_default
16808 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16815 rm -f conftest.$ac_objext
16816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16817 (eval $ac_compile) 2>conftest.er1
16819 grep -v '^ *+' conftest.er1 >conftest.err
16821 cat conftest.err >&5
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); } &&
16824 { ac_try='test -z "$ac_c_werror_flag"
16825 || test ! -s conftest.err'
16826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16827 (eval $ac_try) 2>&5
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); }; } &&
16831 { ac_try='test -s conftest.$ac_objext'
16832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16833 (eval $ac_try) 2>&5
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); }; }; then
16839 cat >conftest.$ac_ext <<_ACEOF
16842 cat confdefs.h >>conftest.$ac_ext
16843 cat >>conftest.$ac_ext <<_ACEOF
16844 /* end confdefs.h. */
16845 $ac_includes_default
16849 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16856 rm -f conftest.$ac_objext
16857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16858 (eval $ac_compile) 2>conftest.er1
16860 grep -v '^ *+' conftest.er1 >conftest.err
16862 cat conftest.err >&5
16863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16864 (exit $ac_status); } &&
16865 { ac_try='test -z "$ac_c_werror_flag"
16866 || test ! -s conftest.err'
16867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16868 (eval $ac_try) 2>&5
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); }; } &&
16872 { ac_try='test -s conftest.$ac_objext'
16873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16874 (eval $ac_try) 2>&5
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); }; }; then
16878 ac_lo=$ac_mid; break
16880 echo "$as_me: failed program was:" >&5
16881 sed 's/^/| /' conftest.$ac_ext >&5
16883 ac_hi=`expr '(' $ac_mid ')' - 1`
16884 if test $ac_mid -le $ac_hi; then
16888 ac_mid=`expr 2 '*' $ac_mid`
16890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16893 echo "$as_me: failed program was:" >&5
16894 sed 's/^/| /' conftest.$ac_ext >&5
16898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16901 # Binary search between lo and hi bounds.
16902 while test "x$ac_lo" != "x$ac_hi"; do
16903 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16904 cat >conftest.$ac_ext <<_ACEOF
16907 cat confdefs.h >>conftest.$ac_ext
16908 cat >>conftest.$ac_ext <<_ACEOF
16909 /* end confdefs.h. */
16910 $ac_includes_default
16914 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16921 rm -f conftest.$ac_objext
16922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16923 (eval $ac_compile) 2>conftest.er1
16925 grep -v '^ *+' conftest.er1 >conftest.err
16927 cat conftest.err >&5
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); } &&
16930 { ac_try='test -z "$ac_c_werror_flag"
16931 || test ! -s conftest.err'
16932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16933 (eval $ac_try) 2>&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); }; } &&
16937 { ac_try='test -s conftest.$ac_objext'
16938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16939 (eval $ac_try) 2>&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); }; }; then
16945 echo "$as_me: failed program was:" >&5
16946 sed 's/^/| /' conftest.$ac_ext >&5
16948 ac_lo=`expr '(' $ac_mid ')' + 1`
16950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16953 ?*) ac_cv_sizeof_char=$ac_lo;;
16954 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16955 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16956 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16957 See \`config.log' for more details." >&5
16958 echo "$as_me: error: cannot compute sizeof (char), 77
16959 See \`config.log' for more details." >&2;}
16960 { (exit 1); exit 1; }; }; } ;;
16963 if test "$cross_compiling" = yes; then
16964 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16965 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16966 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16967 See \`config.log' for more details." >&5
16968 echo "$as_me: error: cannot run test program while cross compiling
16969 See \`config.log' for more details." >&2;}
16970 { (exit 1); exit 1; }; }; }
16972 cat >conftest.$ac_ext <<_ACEOF
16975 cat confdefs.h >>conftest.$ac_ext
16976 cat >>conftest.$ac_ext <<_ACEOF
16977 /* end confdefs.h. */
16978 $ac_includes_default
16979 long longval () { return (long) (sizeof (char)); }
16980 unsigned long ulongval () { return (long) (sizeof (char)); }
16982 #include <stdlib.h>
16987 FILE *f = fopen ("conftest.val", "w");
16990 if (((long) (sizeof (char))) < 0)
16992 long i = longval ();
16993 if (i != ((long) (sizeof (char))))
16995 fprintf (f, "%ld\n", i);
16999 unsigned long i = ulongval ();
17000 if (i != ((long) (sizeof (char))))
17002 fprintf (f, "%lu\n", i);
17004 exit (ferror (f) || fclose (f) != 0);
17010 rm -f conftest$ac_exeext
17011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17012 (eval $ac_link) 2>&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17017 (eval $ac_try) 2>&5
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); }; }; then
17021 ac_cv_sizeof_char=`cat conftest.val`
17023 echo "$as_me: program exited with status $ac_status" >&5
17024 echo "$as_me: failed program was:" >&5
17025 sed 's/^/| /' conftest.$ac_ext >&5
17027 ( exit $ac_status )
17028 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17029 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17030 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17031 See \`config.log' for more details." >&5
17032 echo "$as_me: error: cannot compute sizeof (char), 77
17033 See \`config.log' for more details." >&2;}
17034 { (exit 1); exit 1; }; }; }
17036 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17041 ac_cv_sizeof_char=0
17044 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17045 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17046 cat >>confdefs.h <<_ACEOF
17047 #define SIZEOF_CHAR $ac_cv_sizeof_char
17052 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
17053 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
17054 case "$ac_cv_sizeof_char" in
17055 1) acx_cv_type_int8_t=char ;;
17056 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
17057 echo "$as_me: error: no 8-bit type" >&2;}
17058 { (exit please report a bug); exit please report a bug; }; }
17060 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
17061 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
17063 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
17064 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
17065 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
17066 2:*) acx_cv_type_int16_t=int ;;
17067 *:2) acx_cv_type_int16_t=short ;;
17068 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
17069 echo "$as_me: error: no 16-bit type" >&2;}
17070 { (exit please report a bug); exit please report a bug; }; }
17072 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
17073 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
17075 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
17076 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
17077 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
17078 4:*) acx_cv_type_int32_t=int ;;
17079 *:4) acx_cv_type_int32_t=long ;;
17080 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
17081 echo "$as_me: error: no 32-bit type" >&2;}
17082 { (exit please report a bug); exit please report a bug; }; }
17084 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
17085 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
17088 # These tests are here to make the output prettier
17090 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17091 case "$ac_cv_sizeof_long" in
17092 8) acx_cv_type_int64_t=long ;;
17094 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
17095 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
17096 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17097 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
17100 # Now we can use the above types
17102 if test "$ac_cv_type_uintptr_t" != yes; then
17103 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
17104 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
17105 case $ac_cv_sizeof_void_p in
17106 2) acx_cv_type_intptr_t=int16_t ;;
17107 4) acx_cv_type_intptr_t=int32_t ;;
17108 8) acx_cv_type_intptr_t=int64_t ;;
17109 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
17110 echo "$as_me: error: no equivalent for intptr_t" >&2;}
17111 { (exit please report a bug); exit please report a bug; }; }
17113 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
17114 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
17117 # ----------------- done all checks, emit header -------------
17118 ac_config_commands="$ac_config_commands bfd_stdint.h"
17122 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
17123 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
17124 if test "${ac_cv_header_time+set}" = set; then
17125 echo $ECHO_N "(cached) $ECHO_C" >&6
17127 cat >conftest.$ac_ext <<_ACEOF
17130 cat confdefs.h >>conftest.$ac_ext
17131 cat >>conftest.$ac_ext <<_ACEOF
17132 /* end confdefs.h. */
17133 #include <sys/types.h>
17134 #include <sys/time.h>
17140 if ((struct tm *) 0)
17146 rm -f conftest.$ac_objext
17147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17148 (eval $ac_compile) 2>conftest.er1
17150 grep -v '^ *+' conftest.er1 >conftest.err
17152 cat conftest.err >&5
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); } &&
17155 { ac_try='test -z "$ac_c_werror_flag"
17156 || test ! -s conftest.err'
17157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17158 (eval $ac_try) 2>&5
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); }; } &&
17162 { ac_try='test -s conftest.$ac_objext'
17163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17164 (eval $ac_try) 2>&5
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; }; then
17168 ac_cv_header_time=yes
17170 echo "$as_me: failed program was:" >&5
17171 sed 's/^/| /' conftest.$ac_ext >&5
17173 ac_cv_header_time=no
17175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17177 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
17178 echo "${ECHO_T}$ac_cv_header_time" >&6
17179 if test $ac_cv_header_time = yes; then
17181 cat >>confdefs.h <<\_ACEOF
17182 #define TIME_WITH_SYS_TIME 1
17192 ac_header_dirent=no
17193 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
17194 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
17195 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
17196 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
17197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17198 echo $ECHO_N "(cached) $ECHO_C" >&6
17200 cat >conftest.$ac_ext <<_ACEOF
17203 cat confdefs.h >>conftest.$ac_ext
17204 cat >>conftest.$ac_ext <<_ACEOF
17205 /* end confdefs.h. */
17206 #include <sys/types.h>
17218 rm -f conftest.$ac_objext
17219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17220 (eval $ac_compile) 2>conftest.er1
17222 grep -v '^ *+' conftest.er1 >conftest.err
17224 cat conftest.err >&5
17225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17226 (exit $ac_status); } &&
17227 { ac_try='test -z "$ac_c_werror_flag"
17228 || test ! -s conftest.err'
17229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17230 (eval $ac_try) 2>&5
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); }; } &&
17234 { ac_try='test -s conftest.$ac_objext'
17235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17236 (eval $ac_try) 2>&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); }; }; then
17240 eval "$as_ac_Header=yes"
17242 echo "$as_me: failed program was:" >&5
17243 sed 's/^/| /' conftest.$ac_ext >&5
17245 eval "$as_ac_Header=no"
17247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17251 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17252 cat >>confdefs.h <<_ACEOF
17253 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
17256 ac_header_dirent=$ac_hdr; break
17260 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
17261 if test $ac_header_dirent = dirent.h; then
17262 echo "$as_me:$LINENO: checking for library containing opendir" >&5
17263 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
17264 if test "${ac_cv_search_opendir+set}" = set; then
17265 echo $ECHO_N "(cached) $ECHO_C" >&6
17267 ac_func_search_save_LIBS=$LIBS
17268 ac_cv_search_opendir=no
17269 cat >conftest.$ac_ext <<_ACEOF
17272 cat confdefs.h >>conftest.$ac_ext
17273 cat >>conftest.$ac_ext <<_ACEOF
17274 /* end confdefs.h. */
17276 /* Override any gcc2 internal prototype to avoid an error. */
17280 /* We use char because int might match the return type of a gcc2
17281 builtin and then its argument prototype would still apply. */
17291 rm -f conftest.$ac_objext conftest$ac_exeext
17292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17293 (eval $ac_link) 2>conftest.er1
17295 grep -v '^ *+' conftest.er1 >conftest.err
17297 cat conftest.err >&5
17298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299 (exit $ac_status); } &&
17300 { ac_try='test -z "$ac_c_werror_flag"
17301 || test ! -s conftest.err'
17302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17303 (eval $ac_try) 2>&5
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); }; } &&
17307 { ac_try='test -s conftest$ac_exeext'
17308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17309 (eval $ac_try) 2>&5
17311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17312 (exit $ac_status); }; }; then
17313 ac_cv_search_opendir="none required"
17315 echo "$as_me: failed program was:" >&5
17316 sed 's/^/| /' conftest.$ac_ext >&5
17319 rm -f conftest.err conftest.$ac_objext \
17320 conftest$ac_exeext conftest.$ac_ext
17321 if test "$ac_cv_search_opendir" = no; then
17322 for ac_lib in dir; do
17323 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17324 cat >conftest.$ac_ext <<_ACEOF
17327 cat confdefs.h >>conftest.$ac_ext
17328 cat >>conftest.$ac_ext <<_ACEOF
17329 /* end confdefs.h. */
17331 /* Override any gcc2 internal prototype to avoid an error. */
17335 /* We use char because int might match the return type of a gcc2
17336 builtin and then its argument prototype would still apply. */
17346 rm -f conftest.$ac_objext conftest$ac_exeext
17347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17348 (eval $ac_link) 2>conftest.er1
17350 grep -v '^ *+' conftest.er1 >conftest.err
17352 cat conftest.err >&5
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); } &&
17355 { ac_try='test -z "$ac_c_werror_flag"
17356 || test ! -s conftest.err'
17357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17358 (eval $ac_try) 2>&5
17360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361 (exit $ac_status); }; } &&
17362 { ac_try='test -s conftest$ac_exeext'
17363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17364 (eval $ac_try) 2>&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); }; }; then
17368 ac_cv_search_opendir="-l$ac_lib"
17371 echo "$as_me: failed program was:" >&5
17372 sed 's/^/| /' conftest.$ac_ext >&5
17375 rm -f conftest.err conftest.$ac_objext \
17376 conftest$ac_exeext conftest.$ac_ext
17379 LIBS=$ac_func_search_save_LIBS
17381 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
17382 echo "${ECHO_T}$ac_cv_search_opendir" >&6
17383 if test "$ac_cv_search_opendir" != no; then
17384 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
17389 echo "$as_me:$LINENO: checking for library containing opendir" >&5
17390 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
17391 if test "${ac_cv_search_opendir+set}" = set; then
17392 echo $ECHO_N "(cached) $ECHO_C" >&6
17394 ac_func_search_save_LIBS=$LIBS
17395 ac_cv_search_opendir=no
17396 cat >conftest.$ac_ext <<_ACEOF
17399 cat confdefs.h >>conftest.$ac_ext
17400 cat >>conftest.$ac_ext <<_ACEOF
17401 /* end confdefs.h. */
17403 /* Override any gcc2 internal prototype to avoid an error. */
17407 /* We use char because int might match the return type of a gcc2
17408 builtin and then its argument prototype would still apply. */
17418 rm -f conftest.$ac_objext conftest$ac_exeext
17419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17420 (eval $ac_link) 2>conftest.er1
17422 grep -v '^ *+' conftest.er1 >conftest.err
17424 cat conftest.err >&5
17425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17426 (exit $ac_status); } &&
17427 { ac_try='test -z "$ac_c_werror_flag"
17428 || test ! -s conftest.err'
17429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17430 (eval $ac_try) 2>&5
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); }; } &&
17434 { ac_try='test -s conftest$ac_exeext'
17435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17436 (eval $ac_try) 2>&5
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); }; }; then
17440 ac_cv_search_opendir="none required"
17442 echo "$as_me: failed program was:" >&5
17443 sed 's/^/| /' conftest.$ac_ext >&5
17446 rm -f conftest.err conftest.$ac_objext \
17447 conftest$ac_exeext conftest.$ac_ext
17448 if test "$ac_cv_search_opendir" = no; then
17449 for ac_lib in x; do
17450 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17451 cat >conftest.$ac_ext <<_ACEOF
17454 cat confdefs.h >>conftest.$ac_ext
17455 cat >>conftest.$ac_ext <<_ACEOF
17456 /* end confdefs.h. */
17458 /* Override any gcc2 internal prototype to avoid an error. */
17462 /* We use char because int might match the return type of a gcc2
17463 builtin and then its argument prototype would still apply. */
17473 rm -f conftest.$ac_objext conftest$ac_exeext
17474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17475 (eval $ac_link) 2>conftest.er1
17477 grep -v '^ *+' conftest.er1 >conftest.err
17479 cat conftest.err >&5
17480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 (exit $ac_status); } &&
17482 { ac_try='test -z "$ac_c_werror_flag"
17483 || test ! -s conftest.err'
17484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17485 (eval $ac_try) 2>&5
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); }; } &&
17489 { ac_try='test -s conftest$ac_exeext'
17490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17491 (eval $ac_try) 2>&5
17493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17494 (exit $ac_status); }; }; then
17495 ac_cv_search_opendir="-l$ac_lib"
17498 echo "$as_me: failed program was:" >&5
17499 sed 's/^/| /' conftest.$ac_ext >&5
17502 rm -f conftest.err conftest.$ac_objext \
17503 conftest$ac_exeext conftest.$ac_ext
17506 LIBS=$ac_func_search_save_LIBS
17508 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
17509 echo "${ECHO_T}$ac_cv_search_opendir" >&6
17510 if test "$ac_cv_search_opendir" != no; then
17511 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
17517 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
17518 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
17519 if test "${gcc_cv_header_string+set}" = set; then
17520 echo $ECHO_N "(cached) $ECHO_C" >&6
17522 cat >conftest.$ac_ext <<_ACEOF
17525 cat confdefs.h >>conftest.$ac_ext
17526 cat >>conftest.$ac_ext <<_ACEOF
17527 /* end confdefs.h. */
17528 #include <string.h>
17529 #include <strings.h>
17538 rm -f conftest.$ac_objext
17539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17540 (eval $ac_compile) 2>conftest.er1
17542 grep -v '^ *+' conftest.er1 >conftest.err
17544 cat conftest.err >&5
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); } &&
17547 { ac_try='test -z "$ac_c_werror_flag"
17548 || test ! -s conftest.err'
17549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17550 (eval $ac_try) 2>&5
17552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17553 (exit $ac_status); }; } &&
17554 { ac_try='test -s conftest.$ac_objext'
17555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17556 (eval $ac_try) 2>&5
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); }; }; then
17560 gcc_cv_header_string=yes
17562 echo "$as_me: failed program was:" >&5
17563 sed 's/^/| /' conftest.$ac_ext >&5
17565 gcc_cv_header_string=no
17567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17569 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
17570 echo "${ECHO_T}$gcc_cv_header_string" >&6
17571 if test $gcc_cv_header_string = yes; then
17573 cat >>confdefs.h <<\_ACEOF
17574 #define STRING_WITH_STRINGS 1
17587 for ac_func in fcntl getpagesize setitimer sysconf fdopen getuid getgid fileno
17589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17590 echo "$as_me:$LINENO: checking for $ac_func" >&5
17591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17592 if eval "test \"\${$as_ac_var+set}\" = set"; then
17593 echo $ECHO_N "(cached) $ECHO_C" >&6
17595 cat >conftest.$ac_ext <<_ACEOF
17598 cat confdefs.h >>conftest.$ac_ext
17599 cat >>conftest.$ac_ext <<_ACEOF
17600 /* end confdefs.h. */
17601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17603 #define $ac_func innocuous_$ac_func
17605 /* System header to define __stub macros and hopefully few prototypes,
17606 which can conflict with char $ac_func (); below.
17607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17608 <limits.h> exists even on freestanding compilers. */
17611 # include <limits.h>
17613 # include <assert.h>
17618 /* Override any gcc2 internal prototype to avoid an error. */
17623 /* We use char because int might match the return type of a gcc2
17624 builtin and then its argument prototype would still apply. */
17626 /* The GNU C library defines this for functions which it implements
17627 to always fail with ENOSYS. Some functions are actually named
17628 something starting with __ and the normal name is an alias. */
17629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17632 char (*f) () = $ac_func;
17641 return f != $ac_func;
17646 rm -f conftest.$ac_objext conftest$ac_exeext
17647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17648 (eval $ac_link) 2>conftest.er1
17650 grep -v '^ *+' conftest.er1 >conftest.err
17652 cat conftest.err >&5
17653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17654 (exit $ac_status); } &&
17655 { ac_try='test -z "$ac_c_werror_flag"
17656 || test ! -s conftest.err'
17657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17658 (eval $ac_try) 2>&5
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); }; } &&
17662 { ac_try='test -s conftest$ac_exeext'
17663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17664 (eval $ac_try) 2>&5
17666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667 (exit $ac_status); }; }; then
17668 eval "$as_ac_var=yes"
17670 echo "$as_me: failed program was:" >&5
17671 sed 's/^/| /' conftest.$ac_ext >&5
17673 eval "$as_ac_var=no"
17675 rm -f conftest.err conftest.$ac_objext \
17676 conftest$ac_exeext conftest.$ac_ext
17678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17680 if test `eval echo '${'$as_ac_var'}'` = yes; then
17681 cat >>confdefs.h <<_ACEOF
17682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17689 for ac_func in strtoull
17691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17692 echo "$as_me:$LINENO: checking for $ac_func" >&5
17693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17694 if eval "test \"\${$as_ac_var+set}\" = set"; then
17695 echo $ECHO_N "(cached) $ECHO_C" >&6
17697 cat >conftest.$ac_ext <<_ACEOF
17700 cat confdefs.h >>conftest.$ac_ext
17701 cat >>conftest.$ac_ext <<_ACEOF
17702 /* end confdefs.h. */
17703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17705 #define $ac_func innocuous_$ac_func
17707 /* System header to define __stub macros and hopefully few prototypes,
17708 which can conflict with char $ac_func (); below.
17709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17710 <limits.h> exists even on freestanding compilers. */
17713 # include <limits.h>
17715 # include <assert.h>
17720 /* Override any gcc2 internal prototype to avoid an error. */
17725 /* We use char because int might match the return type of a gcc2
17726 builtin and then its argument prototype would still apply. */
17728 /* The GNU C library defines this for functions which it implements
17729 to always fail with ENOSYS. Some functions are actually named
17730 something starting with __ and the normal name is an alias. */
17731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17734 char (*f) () = $ac_func;
17743 return f != $ac_func;
17748 rm -f conftest.$ac_objext conftest$ac_exeext
17749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17750 (eval $ac_link) 2>conftest.er1
17752 grep -v '^ *+' conftest.er1 >conftest.err
17754 cat conftest.err >&5
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); } &&
17757 { ac_try='test -z "$ac_c_werror_flag"
17758 || test ! -s conftest.err'
17759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17760 (eval $ac_try) 2>&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); }; } &&
17764 { ac_try='test -s conftest$ac_exeext'
17765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17766 (eval $ac_try) 2>&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); }; }; then
17770 eval "$as_ac_var=yes"
17772 echo "$as_me: failed program was:" >&5
17773 sed 's/^/| /' conftest.$ac_ext >&5
17775 eval "$as_ac_var=no"
17777 rm -f conftest.err conftest.$ac_objext \
17778 conftest$ac_exeext conftest.$ac_ext
17780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17782 if test `eval echo '${'$as_ac_var'}'` = yes; then
17783 cat >>confdefs.h <<_ACEOF
17784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17791 echo "$as_me:$LINENO: checking whether basename is declared" >&5
17792 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
17793 if test "${ac_cv_have_decl_basename+set}" = set; then
17794 echo $ECHO_N "(cached) $ECHO_C" >&6
17796 cat >conftest.$ac_ext <<_ACEOF
17799 cat confdefs.h >>conftest.$ac_ext
17800 cat >>conftest.$ac_ext <<_ACEOF
17801 /* end confdefs.h. */
17802 $ac_includes_default
17807 char *p = (char *) basename;
17814 rm -f conftest.$ac_objext
17815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17816 (eval $ac_compile) 2>conftest.er1
17818 grep -v '^ *+' conftest.er1 >conftest.err
17820 cat conftest.err >&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); } &&
17823 { ac_try='test -z "$ac_c_werror_flag"
17824 || test ! -s conftest.err'
17825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17826 (eval $ac_try) 2>&5
17828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17829 (exit $ac_status); }; } &&
17830 { ac_try='test -s conftest.$ac_objext'
17831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17832 (eval $ac_try) 2>&5
17834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17835 (exit $ac_status); }; }; then
17836 ac_cv_have_decl_basename=yes
17838 echo "$as_me: failed program was:" >&5
17839 sed 's/^/| /' conftest.$ac_ext >&5
17841 ac_cv_have_decl_basename=no
17843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17845 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
17846 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
17847 if test $ac_cv_have_decl_basename = yes; then
17849 cat >>confdefs.h <<_ACEOF
17850 #define HAVE_DECL_BASENAME 1
17855 cat >>confdefs.h <<_ACEOF
17856 #define HAVE_DECL_BASENAME 0
17863 echo "$as_me:$LINENO: checking whether ftello is declared" >&5
17864 echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6
17865 if test "${ac_cv_have_decl_ftello+set}" = set; then
17866 echo $ECHO_N "(cached) $ECHO_C" >&6
17868 cat >conftest.$ac_ext <<_ACEOF
17871 cat confdefs.h >>conftest.$ac_ext
17872 cat >>conftest.$ac_ext <<_ACEOF
17873 /* end confdefs.h. */
17874 $ac_includes_default
17879 char *p = (char *) ftello;
17886 rm -f conftest.$ac_objext
17887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17888 (eval $ac_compile) 2>conftest.er1
17890 grep -v '^ *+' conftest.er1 >conftest.err
17892 cat conftest.err >&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); } &&
17895 { ac_try='test -z "$ac_c_werror_flag"
17896 || test ! -s conftest.err'
17897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17898 (eval $ac_try) 2>&5
17900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17901 (exit $ac_status); }; } &&
17902 { ac_try='test -s conftest.$ac_objext'
17903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17904 (eval $ac_try) 2>&5
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); }; }; then
17908 ac_cv_have_decl_ftello=yes
17910 echo "$as_me: failed program was:" >&5
17911 sed 's/^/| /' conftest.$ac_ext >&5
17913 ac_cv_have_decl_ftello=no
17915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17917 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
17918 echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6
17919 if test $ac_cv_have_decl_ftello = yes; then
17921 cat >>confdefs.h <<_ACEOF
17922 #define HAVE_DECL_FTELLO 1
17927 cat >>confdefs.h <<_ACEOF
17928 #define HAVE_DECL_FTELLO 0
17935 echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
17936 echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6
17937 if test "${ac_cv_have_decl_ftello64+set}" = set; then
17938 echo $ECHO_N "(cached) $ECHO_C" >&6
17940 cat >conftest.$ac_ext <<_ACEOF
17943 cat confdefs.h >>conftest.$ac_ext
17944 cat >>conftest.$ac_ext <<_ACEOF
17945 /* end confdefs.h. */
17946 $ac_includes_default
17951 char *p = (char *) ftello64;
17958 rm -f conftest.$ac_objext
17959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17960 (eval $ac_compile) 2>conftest.er1
17962 grep -v '^ *+' conftest.er1 >conftest.err
17964 cat conftest.err >&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); } &&
17967 { ac_try='test -z "$ac_c_werror_flag"
17968 || test ! -s conftest.err'
17969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17970 (eval $ac_try) 2>&5
17972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17973 (exit $ac_status); }; } &&
17974 { ac_try='test -s conftest.$ac_objext'
17975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17976 (eval $ac_try) 2>&5
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); }; }; then
17980 ac_cv_have_decl_ftello64=yes
17982 echo "$as_me: failed program was:" >&5
17983 sed 's/^/| /' conftest.$ac_ext >&5
17985 ac_cv_have_decl_ftello64=no
17987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17989 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
17990 echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6
17991 if test $ac_cv_have_decl_ftello64 = yes; then
17993 cat >>confdefs.h <<_ACEOF
17994 #define HAVE_DECL_FTELLO64 1
17999 cat >>confdefs.h <<_ACEOF
18000 #define HAVE_DECL_FTELLO64 0
18007 echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
18008 echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6
18009 if test "${ac_cv_have_decl_fseeko+set}" = set; then
18010 echo $ECHO_N "(cached) $ECHO_C" >&6
18012 cat >conftest.$ac_ext <<_ACEOF
18015 cat confdefs.h >>conftest.$ac_ext
18016 cat >>conftest.$ac_ext <<_ACEOF
18017 /* end confdefs.h. */
18018 $ac_includes_default
18023 char *p = (char *) fseeko;
18030 rm -f conftest.$ac_objext
18031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18032 (eval $ac_compile) 2>conftest.er1
18034 grep -v '^ *+' conftest.er1 >conftest.err
18036 cat conftest.err >&5
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); } &&
18039 { ac_try='test -z "$ac_c_werror_flag"
18040 || test ! -s conftest.err'
18041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18042 (eval $ac_try) 2>&5
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); }; } &&
18046 { ac_try='test -s conftest.$ac_objext'
18047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18048 (eval $ac_try) 2>&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); }; }; then
18052 ac_cv_have_decl_fseeko=yes
18054 echo "$as_me: failed program was:" >&5
18055 sed 's/^/| /' conftest.$ac_ext >&5
18057 ac_cv_have_decl_fseeko=no
18059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18061 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
18062 echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6
18063 if test $ac_cv_have_decl_fseeko = yes; then
18065 cat >>confdefs.h <<_ACEOF
18066 #define HAVE_DECL_FSEEKO 1
18071 cat >>confdefs.h <<_ACEOF
18072 #define HAVE_DECL_FSEEKO 0
18079 echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
18080 echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6
18081 if test "${ac_cv_have_decl_fseeko64+set}" = set; then
18082 echo $ECHO_N "(cached) $ECHO_C" >&6
18084 cat >conftest.$ac_ext <<_ACEOF
18087 cat confdefs.h >>conftest.$ac_ext
18088 cat >>conftest.$ac_ext <<_ACEOF
18089 /* end confdefs.h. */
18090 $ac_includes_default
18095 char *p = (char *) fseeko64;
18102 rm -f conftest.$ac_objext
18103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18104 (eval $ac_compile) 2>conftest.er1
18106 grep -v '^ *+' conftest.er1 >conftest.err
18108 cat conftest.err >&5
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); } &&
18111 { ac_try='test -z "$ac_c_werror_flag"
18112 || test ! -s conftest.err'
18113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18114 (eval $ac_try) 2>&5
18116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18117 (exit $ac_status); }; } &&
18118 { ac_try='test -s conftest.$ac_objext'
18119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18120 (eval $ac_try) 2>&5
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); }; }; then
18124 ac_cv_have_decl_fseeko64=yes
18126 echo "$as_me: failed program was:" >&5
18127 sed 's/^/| /' conftest.$ac_ext >&5
18129 ac_cv_have_decl_fseeko64=no
18131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18133 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
18134 echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6
18135 if test $ac_cv_have_decl_fseeko64 = yes; then
18137 cat >>confdefs.h <<_ACEOF
18138 #define HAVE_DECL_FSEEKO64 1
18143 cat >>confdefs.h <<_ACEOF
18144 #define HAVE_DECL_FSEEKO64 0
18154 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
18156 cat >>confdefs.h <<\_ACEOF
18157 #define USE_BINARY_FOPEN 1
18162 echo "$as_me:$LINENO: checking whether ffs is declared" >&5
18163 echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
18164 if test "${ac_cv_have_decl_ffs+set}" = set; then
18165 echo $ECHO_N "(cached) $ECHO_C" >&6
18167 cat >conftest.$ac_ext <<_ACEOF
18170 cat confdefs.h >>conftest.$ac_ext
18171 cat >>conftest.$ac_ext <<_ACEOF
18172 /* end confdefs.h. */
18173 $ac_includes_default
18178 char *p = (char *) ffs;
18185 rm -f conftest.$ac_objext
18186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18187 (eval $ac_compile) 2>conftest.er1
18189 grep -v '^ *+' conftest.er1 >conftest.err
18191 cat conftest.err >&5
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); } &&
18194 { ac_try='test -z "$ac_c_werror_flag"
18195 || test ! -s conftest.err'
18196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18197 (eval $ac_try) 2>&5
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); }; } &&
18201 { ac_try='test -s conftest.$ac_objext'
18202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18203 (eval $ac_try) 2>&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); }; }; then
18207 ac_cv_have_decl_ffs=yes
18209 echo "$as_me: failed program was:" >&5
18210 sed 's/^/| /' conftest.$ac_ext >&5
18212 ac_cv_have_decl_ffs=no
18214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18216 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
18217 echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
18218 if test $ac_cv_have_decl_ffs = yes; then
18220 cat >>confdefs.h <<_ACEOF
18221 #define HAVE_DECL_FFS 1
18226 cat >>confdefs.h <<_ACEOF
18227 #define HAVE_DECL_FFS 0
18234 echo "$as_me:$LINENO: checking whether free is declared" >&5
18235 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
18236 if test "${ac_cv_have_decl_free+set}" = set; then
18237 echo $ECHO_N "(cached) $ECHO_C" >&6
18239 cat >conftest.$ac_ext <<_ACEOF
18242 cat confdefs.h >>conftest.$ac_ext
18243 cat >>conftest.$ac_ext <<_ACEOF
18244 /* end confdefs.h. */
18245 $ac_includes_default
18250 char *p = (char *) free;
18257 rm -f conftest.$ac_objext
18258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18259 (eval $ac_compile) 2>conftest.er1
18261 grep -v '^ *+' conftest.er1 >conftest.err
18263 cat conftest.err >&5
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 (exit $ac_status); } &&
18266 { ac_try='test -z "$ac_c_werror_flag"
18267 || test ! -s conftest.err'
18268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18269 (eval $ac_try) 2>&5
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); }; } &&
18273 { ac_try='test -s conftest.$ac_objext'
18274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18275 (eval $ac_try) 2>&5
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); }; }; then
18279 ac_cv_have_decl_free=yes
18281 echo "$as_me: failed program was:" >&5
18282 sed 's/^/| /' conftest.$ac_ext >&5
18284 ac_cv_have_decl_free=no
18286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18288 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
18289 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
18290 if test $ac_cv_have_decl_free = yes; then
18292 cat >>confdefs.h <<_ACEOF
18293 #define HAVE_DECL_FREE 1
18298 cat >>confdefs.h <<_ACEOF
18299 #define HAVE_DECL_FREE 0
18306 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
18307 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
18308 if test "${ac_cv_have_decl_getenv+set}" = set; then
18309 echo $ECHO_N "(cached) $ECHO_C" >&6
18311 cat >conftest.$ac_ext <<_ACEOF
18314 cat confdefs.h >>conftest.$ac_ext
18315 cat >>conftest.$ac_ext <<_ACEOF
18316 /* end confdefs.h. */
18317 $ac_includes_default
18322 char *p = (char *) getenv;
18329 rm -f conftest.$ac_objext
18330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18331 (eval $ac_compile) 2>conftest.er1
18333 grep -v '^ *+' conftest.er1 >conftest.err
18335 cat conftest.err >&5
18336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18337 (exit $ac_status); } &&
18338 { ac_try='test -z "$ac_c_werror_flag"
18339 || test ! -s conftest.err'
18340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18341 (eval $ac_try) 2>&5
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); }; } &&
18345 { ac_try='test -s conftest.$ac_objext'
18346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18347 (eval $ac_try) 2>&5
18349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); }; }; then
18351 ac_cv_have_decl_getenv=yes
18353 echo "$as_me: failed program was:" >&5
18354 sed 's/^/| /' conftest.$ac_ext >&5
18356 ac_cv_have_decl_getenv=no
18358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18360 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
18361 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
18362 if test $ac_cv_have_decl_getenv = yes; then
18364 cat >>confdefs.h <<_ACEOF
18365 #define HAVE_DECL_GETENV 1
18370 cat >>confdefs.h <<_ACEOF
18371 #define HAVE_DECL_GETENV 0
18378 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
18379 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
18380 if test "${ac_cv_have_decl_malloc+set}" = set; then
18381 echo $ECHO_N "(cached) $ECHO_C" >&6
18383 cat >conftest.$ac_ext <<_ACEOF
18386 cat confdefs.h >>conftest.$ac_ext
18387 cat >>conftest.$ac_ext <<_ACEOF
18388 /* end confdefs.h. */
18389 $ac_includes_default
18394 char *p = (char *) malloc;
18401 rm -f conftest.$ac_objext
18402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18403 (eval $ac_compile) 2>conftest.er1
18405 grep -v '^ *+' conftest.er1 >conftest.err
18407 cat conftest.err >&5
18408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18409 (exit $ac_status); } &&
18410 { ac_try='test -z "$ac_c_werror_flag"
18411 || test ! -s conftest.err'
18412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18413 (eval $ac_try) 2>&5
18415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18416 (exit $ac_status); }; } &&
18417 { ac_try='test -s conftest.$ac_objext'
18418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18419 (eval $ac_try) 2>&5
18421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); }; }; then
18423 ac_cv_have_decl_malloc=yes
18425 echo "$as_me: failed program was:" >&5
18426 sed 's/^/| /' conftest.$ac_ext >&5
18428 ac_cv_have_decl_malloc=no
18430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18432 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
18433 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
18434 if test $ac_cv_have_decl_malloc = yes; then
18436 cat >>confdefs.h <<_ACEOF
18437 #define HAVE_DECL_MALLOC 1
18442 cat >>confdefs.h <<_ACEOF
18443 #define HAVE_DECL_MALLOC 0
18450 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
18451 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
18452 if test "${ac_cv_have_decl_realloc+set}" = set; then
18453 echo $ECHO_N "(cached) $ECHO_C" >&6
18455 cat >conftest.$ac_ext <<_ACEOF
18458 cat confdefs.h >>conftest.$ac_ext
18459 cat >>conftest.$ac_ext <<_ACEOF
18460 /* end confdefs.h. */
18461 $ac_includes_default
18466 char *p = (char *) realloc;
18473 rm -f conftest.$ac_objext
18474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18475 (eval $ac_compile) 2>conftest.er1
18477 grep -v '^ *+' conftest.er1 >conftest.err
18479 cat conftest.err >&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); } &&
18482 { ac_try='test -z "$ac_c_werror_flag"
18483 || test ! -s conftest.err'
18484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18485 (eval $ac_try) 2>&5
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); }; } &&
18489 { ac_try='test -s conftest.$ac_objext'
18490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18491 (eval $ac_try) 2>&5
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); }; }; then
18495 ac_cv_have_decl_realloc=yes
18497 echo "$as_me: failed program was:" >&5
18498 sed 's/^/| /' conftest.$ac_ext >&5
18500 ac_cv_have_decl_realloc=no
18502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18504 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
18505 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
18506 if test $ac_cv_have_decl_realloc = yes; then
18508 cat >>confdefs.h <<_ACEOF
18509 #define HAVE_DECL_REALLOC 1
18514 cat >>confdefs.h <<_ACEOF
18515 #define HAVE_DECL_REALLOC 0
18522 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
18523 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
18524 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
18525 echo $ECHO_N "(cached) $ECHO_C" >&6
18527 cat >conftest.$ac_ext <<_ACEOF
18530 cat confdefs.h >>conftest.$ac_ext
18531 cat >>conftest.$ac_ext <<_ACEOF
18532 /* end confdefs.h. */
18533 $ac_includes_default
18538 char *p = (char *) stpcpy;
18545 rm -f conftest.$ac_objext
18546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18547 (eval $ac_compile) 2>conftest.er1
18549 grep -v '^ *+' conftest.er1 >conftest.err
18551 cat conftest.err >&5
18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); } &&
18554 { ac_try='test -z "$ac_c_werror_flag"
18555 || test ! -s conftest.err'
18556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18557 (eval $ac_try) 2>&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); }; } &&
18561 { ac_try='test -s conftest.$ac_objext'
18562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18563 (eval $ac_try) 2>&5
18565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566 (exit $ac_status); }; }; then
18567 ac_cv_have_decl_stpcpy=yes
18569 echo "$as_me: failed program was:" >&5
18570 sed 's/^/| /' conftest.$ac_ext >&5
18572 ac_cv_have_decl_stpcpy=no
18574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18576 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
18577 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
18578 if test $ac_cv_have_decl_stpcpy = yes; then
18580 cat >>confdefs.h <<_ACEOF
18581 #define HAVE_DECL_STPCPY 1
18586 cat >>confdefs.h <<_ACEOF
18587 #define HAVE_DECL_STPCPY 0
18594 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
18595 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
18596 if test "${ac_cv_have_decl_strstr+set}" = set; then
18597 echo $ECHO_N "(cached) $ECHO_C" >&6
18599 cat >conftest.$ac_ext <<_ACEOF
18602 cat confdefs.h >>conftest.$ac_ext
18603 cat >>conftest.$ac_ext <<_ACEOF
18604 /* end confdefs.h. */
18605 $ac_includes_default
18610 char *p = (char *) strstr;
18617 rm -f conftest.$ac_objext
18618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18619 (eval $ac_compile) 2>conftest.er1
18621 grep -v '^ *+' conftest.er1 >conftest.err
18623 cat conftest.err >&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); } &&
18626 { ac_try='test -z "$ac_c_werror_flag"
18627 || test ! -s conftest.err'
18628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18629 (eval $ac_try) 2>&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); }; } &&
18633 { ac_try='test -s conftest.$ac_objext'
18634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18635 (eval $ac_try) 2>&5
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); }; }; then
18639 ac_cv_have_decl_strstr=yes
18641 echo "$as_me: failed program was:" >&5
18642 sed 's/^/| /' conftest.$ac_ext >&5
18644 ac_cv_have_decl_strstr=no
18646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18648 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
18649 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
18650 if test $ac_cv_have_decl_strstr = yes; then
18652 cat >>confdefs.h <<_ACEOF
18653 #define HAVE_DECL_STRSTR 1
18658 cat >>confdefs.h <<_ACEOF
18659 #define HAVE_DECL_STRSTR 0
18666 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
18667 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
18668 if test "${ac_cv_have_decl_snprintf+set}" = set; then
18669 echo $ECHO_N "(cached) $ECHO_C" >&6
18671 cat >conftest.$ac_ext <<_ACEOF
18674 cat confdefs.h >>conftest.$ac_ext
18675 cat >>conftest.$ac_ext <<_ACEOF
18676 /* end confdefs.h. */
18677 $ac_includes_default
18682 char *p = (char *) snprintf;
18689 rm -f conftest.$ac_objext
18690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18691 (eval $ac_compile) 2>conftest.er1
18693 grep -v '^ *+' conftest.er1 >conftest.err
18695 cat conftest.err >&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); } &&
18698 { ac_try='test -z "$ac_c_werror_flag"
18699 || test ! -s conftest.err'
18700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18701 (eval $ac_try) 2>&5
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); }; } &&
18705 { ac_try='test -s conftest.$ac_objext'
18706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18707 (eval $ac_try) 2>&5
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); }; }; then
18711 ac_cv_have_decl_snprintf=yes
18713 echo "$as_me: failed program was:" >&5
18714 sed 's/^/| /' conftest.$ac_ext >&5
18716 ac_cv_have_decl_snprintf=no
18718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18720 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
18721 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
18722 if test $ac_cv_have_decl_snprintf = yes; then
18724 cat >>confdefs.h <<_ACEOF
18725 #define HAVE_DECL_SNPRINTF 1
18730 cat >>confdefs.h <<_ACEOF
18731 #define HAVE_DECL_SNPRINTF 0
18738 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
18739 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
18740 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
18741 echo $ECHO_N "(cached) $ECHO_C" >&6
18743 cat >conftest.$ac_ext <<_ACEOF
18746 cat confdefs.h >>conftest.$ac_ext
18747 cat >>conftest.$ac_ext <<_ACEOF
18748 /* end confdefs.h. */
18749 $ac_includes_default
18754 char *p = (char *) vsnprintf;
18761 rm -f conftest.$ac_objext
18762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18763 (eval $ac_compile) 2>conftest.er1
18765 grep -v '^ *+' conftest.er1 >conftest.err
18767 cat conftest.err >&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); } &&
18770 { ac_try='test -z "$ac_c_werror_flag"
18771 || test ! -s conftest.err'
18772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18773 (eval $ac_try) 2>&5
18775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18776 (exit $ac_status); }; } &&
18777 { ac_try='test -s conftest.$ac_objext'
18778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18779 (eval $ac_try) 2>&5
18781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18782 (exit $ac_status); }; }; then
18783 ac_cv_have_decl_vsnprintf=yes
18785 echo "$as_me: failed program was:" >&5
18786 sed 's/^/| /' conftest.$ac_ext >&5
18788 ac_cv_have_decl_vsnprintf=no
18790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18792 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
18793 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
18794 if test $ac_cv_have_decl_vsnprintf = yes; then
18796 cat >>confdefs.h <<_ACEOF
18797 #define HAVE_DECL_VSNPRINTF 1
18802 cat >>confdefs.h <<_ACEOF
18803 #define HAVE_DECL_VSNPRINTF 0
18811 # Link in zlib if we can. This allows us to read compressed debug sections.
18812 # This is used only by compress.c.
18813 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
18814 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
18815 if test "${ac_cv_search_zlibVersion+set}" = set; then
18816 echo $ECHO_N "(cached) $ECHO_C" >&6
18818 ac_func_search_save_LIBS=$LIBS
18819 ac_cv_search_zlibVersion=no
18820 cat >conftest.$ac_ext <<_ACEOF
18823 cat confdefs.h >>conftest.$ac_ext
18824 cat >>conftest.$ac_ext <<_ACEOF
18825 /* end confdefs.h. */
18827 /* Override any gcc2 internal prototype to avoid an error. */
18831 /* We use char because int might match the return type of a gcc2
18832 builtin and then its argument prototype would still apply. */
18833 char zlibVersion ();
18842 rm -f conftest.$ac_objext conftest$ac_exeext
18843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18844 (eval $ac_link) 2>conftest.er1
18846 grep -v '^ *+' conftest.er1 >conftest.err
18848 cat conftest.err >&5
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850 (exit $ac_status); } &&
18851 { ac_try='test -z "$ac_c_werror_flag"
18852 || test ! -s conftest.err'
18853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18854 (eval $ac_try) 2>&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); }; } &&
18858 { ac_try='test -s conftest$ac_exeext'
18859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18860 (eval $ac_try) 2>&5
18862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18863 (exit $ac_status); }; }; then
18864 ac_cv_search_zlibVersion="none required"
18866 echo "$as_me: failed program was:" >&5
18867 sed 's/^/| /' conftest.$ac_ext >&5
18870 rm -f conftest.err conftest.$ac_objext \
18871 conftest$ac_exeext conftest.$ac_ext
18872 if test "$ac_cv_search_zlibVersion" = no; then
18873 for ac_lib in z; do
18874 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18875 cat >conftest.$ac_ext <<_ACEOF
18878 cat confdefs.h >>conftest.$ac_ext
18879 cat >>conftest.$ac_ext <<_ACEOF
18880 /* end confdefs.h. */
18882 /* Override any gcc2 internal prototype to avoid an error. */
18886 /* We use char because int might match the return type of a gcc2
18887 builtin and then its argument prototype would still apply. */
18888 char zlibVersion ();
18897 rm -f conftest.$ac_objext conftest$ac_exeext
18898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18899 (eval $ac_link) 2>conftest.er1
18901 grep -v '^ *+' conftest.er1 >conftest.err
18903 cat conftest.err >&5
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); } &&
18906 { ac_try='test -z "$ac_c_werror_flag"
18907 || test ! -s conftest.err'
18908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18909 (eval $ac_try) 2>&5
18911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912 (exit $ac_status); }; } &&
18913 { ac_try='test -s conftest$ac_exeext'
18914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18915 (eval $ac_try) 2>&5
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); }; }; then
18919 ac_cv_search_zlibVersion="-l$ac_lib"
18922 echo "$as_me: failed program was:" >&5
18923 sed 's/^/| /' conftest.$ac_ext >&5
18926 rm -f conftest.err conftest.$ac_objext \
18927 conftest$ac_exeext conftest.$ac_ext
18930 LIBS=$ac_func_search_save_LIBS
18932 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
18933 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
18934 if test "$ac_cv_search_zlibVersion" != no; then
18935 test "$ac_cv_search_zlibVersion" = "none required" || LIBS="$ac_cv_search_zlibVersion $LIBS"
18937 for ac_header in zlib.h
18939 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18941 echo "$as_me:$LINENO: checking for $ac_header" >&5
18942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18944 echo $ECHO_N "(cached) $ECHO_C" >&6
18946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18949 # Is the header compilable?
18950 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18951 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18952 cat >conftest.$ac_ext <<_ACEOF
18955 cat confdefs.h >>conftest.$ac_ext
18956 cat >>conftest.$ac_ext <<_ACEOF
18957 /* end confdefs.h. */
18958 $ac_includes_default
18959 #include <$ac_header>
18961 rm -f conftest.$ac_objext
18962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18963 (eval $ac_compile) 2>conftest.er1
18965 grep -v '^ *+' conftest.er1 >conftest.err
18967 cat conftest.err >&5
18968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18969 (exit $ac_status); } &&
18970 { ac_try='test -z "$ac_c_werror_flag"
18971 || test ! -s conftest.err'
18972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18973 (eval $ac_try) 2>&5
18975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18976 (exit $ac_status); }; } &&
18977 { ac_try='test -s conftest.$ac_objext'
18978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18979 (eval $ac_try) 2>&5
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); }; }; then
18983 ac_header_compiler=yes
18985 echo "$as_me: failed program was:" >&5
18986 sed 's/^/| /' conftest.$ac_ext >&5
18988 ac_header_compiler=no
18990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18992 echo "${ECHO_T}$ac_header_compiler" >&6
18994 # Is the header present?
18995 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18996 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18997 cat >conftest.$ac_ext <<_ACEOF
19000 cat confdefs.h >>conftest.$ac_ext
19001 cat >>conftest.$ac_ext <<_ACEOF
19002 /* end confdefs.h. */
19003 #include <$ac_header>
19005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19006 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19008 grep -v '^ *+' conftest.er1 >conftest.err
19010 cat conftest.err >&5
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); } >/dev/null; then
19013 if test -s conftest.err; then
19014 ac_cpp_err=$ac_c_preproc_warn_flag
19015 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19022 if test -z "$ac_cpp_err"; then
19023 ac_header_preproc=yes
19025 echo "$as_me: failed program was:" >&5
19026 sed 's/^/| /' conftest.$ac_ext >&5
19028 ac_header_preproc=no
19030 rm -f conftest.err conftest.$ac_ext
19031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19032 echo "${ECHO_T}$ac_header_preproc" >&6
19034 # So? What about this header?
19035 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19037 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19038 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19040 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19041 ac_header_preproc=yes
19044 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19045 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19046 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19047 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19048 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19049 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19050 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19051 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19053 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19054 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19055 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19058 ## ------------------------------------------ ##
19059 ## Report this to the AC_PACKAGE_NAME lists. ##
19060 ## ------------------------------------------ ##
19063 sed "s/^/$as_me: WARNING: /" >&2
19066 echo "$as_me:$LINENO: checking for $ac_header" >&5
19067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19069 echo $ECHO_N "(cached) $ECHO_C" >&6
19071 eval "$as_ac_Header=\$ac_header_preproc"
19073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19077 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19078 cat >>confdefs.h <<_ACEOF
19079 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19089 # If we are configured native, pick a core file support file.
19093 if test "${target}" = "${host}"; then
19095 alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
19099 COREFILE=trad-core.lo
19100 TRAD_HEADER='"hosts/alphalinux.h"'
19102 alpha*-*-netbsd* | alpha*-*-openbsd*)
19103 COREFILE=netbsd-core.lo
19105 alpha*-*-*) COREFILE=osf-core.lo ;;
19106 arm-*-freebsd* | arm-*-kfreebsd*-gnu)
19108 arm-*-netbsd* | arm-*-openbsd*)
19109 COREFILE=netbsd-core.lo
19111 arm-*-riscix) COREFILE=trad-core.lo ;;
19112 hppa*-*-hpux*) COREFILE=hpux-core.lo ;;
19113 hppa*-*-hiux*) COREFILE=hpux-core.lo ;;
19114 hppa*-*-mpeix*) COREFILE=hpux-core.lo ;;
19115 hppa*-*-bsd*) COREFILE="hpux-core.lo hppabsd-core.lo"
19116 COREFLAG="-DHPUX_CORE -DHPPABSD_CORE" ;;
19117 hppa*-*-netbsd* | hppa*-*-openbsd*)
19118 COREFILE=netbsd-core.lo
19122 COREFILE=trad-core.lo
19123 TRAD_HEADER='"hosts/i370linux.h"'
19126 i[3-7]86-sequent-bsd*)
19127 COREFILE=trad-core.lo
19128 TRAD_HEADER='"hosts/symmetry.h"'
19130 i[3-7]86-sequent-sysv4*) ;;
19131 i[3-7]86-sequent-sysv*)
19132 COREFILE=trad-core.lo
19133 TRAD_HEADER='"hosts/symmetry.h"'
19138 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*)
19139 COREFILE=trad-core.lo
19140 TRAD_HEADER='"hosts/i386bsd.h"'
19142 i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu | i[3-7]86-*-dragonfly*)
19144 TRAD_HEADER='"hosts/i386bsd.h"'
19146 i[3-7]86-*-netbsd* | i[3-7]86-*-knetbsd*-gnu | i[3-7]86-*-openbsd*)
19147 COREFILE=netbsd-core.lo
19149 i[3-7]86-esix-sysv3*)
19150 COREFILE=trad-core.lo
19151 TRAD_HEADER='"hosts/esix.h"'
19153 i[3-7]86-*-sco3.2v5*)
19154 COREFILE=sco5-core.lo
19156 i[3-7]86-*-sco* | i[3-7]86-*-isc*)
19157 COREFILE=trad-core.lo
19158 TRAD_HEADER='"hosts/i386sco.h"'
19161 COREFILE=trad-core.lo
19162 TRAD_HEADER='"hosts/i386mach3.h"'
19164 i[3-7]86-*-linux-*)
19165 COREFILE=trad-core.lo
19166 TRAD_HEADER='"hosts/i386linux.h"'
19168 i[3-7]86-*-isc*) COREFILE=trad-core.lo ;;
19169 i[3-7]86-*-aix*) COREFILE=aix386-core.lo ;;
19170 i860-*-mach3* | i860-*-osf1*)
19171 COREFILE=trad-core.lo
19172 TRAD_HEADER='"hosts/i860mach3.h"'
19174 mips-*-netbsd* | mips*-*-openbsd*)
19175 COREFILE=netbsd-core.lo
19178 COREFILE=trad-core.lo
19179 TRAD_HEADER='"hosts/decstation.h"'
19181 mips-sgi-irix4*) COREFILE=irix-core.lo ;;
19182 mips-sgi-irix5*) COREFILE=irix-core.lo ;;
19183 mips-sgi-irix6*) COREFILE=irix-core.lo ;;
19185 mips-*-sysv* | mips-*-riscos*)
19186 COREFILE=trad-core.lo
19187 TRAD_HEADER='"hosts/riscos.h"'
19190 COREFILE=trad-core.lo
19191 TRAD_HEADER='"hosts/news-mips.h"'
19194 COREFILE=trad-core.lo
19195 TRAD_HEADER='"hosts/dpx2.h"'
19197 m68*-hp-hpux*) COREFILE=hpux-core.lo ;;
19199 COREFILE=trad-core.lo
19200 TRAD_HEADER='"hosts/hp300bsd.h"'
19203 COREFILE=trad-core.lo
19204 TRAD_HEADER='"hosts/m68klinux.h"'
19206 m68*-motorola-sysv*)
19207 COREFILE=trad-core.lo
19208 TRAD_HEADER='"hosts/delta68.h"'
19211 COREFILE=trad-core.lo
19212 TRAD_HEADER='"hosts/news.h"'
19214 m68*-*-netbsd* | m68*-*-openbsd*)
19215 COREFILE=netbsd-core.lo
19218 COREFILE=trad-core.lo
19219 TRAD_HEADER='"hosts/m68kaux.h"'
19223 m88*-motorola-sysv*)
19224 COREFILE=ptrace-core.lo
19227 COREFILE=trad-core.lo
19228 TRAD_HEADER='"hosts/m88kmach3.h"'
19231 COREFILE=netbsd-core.lo
19234 COREFILE=trad-core.lo
19235 TRAD_HEADER='"hosts/pc532mach.h"'
19237 ns32k-*-netbsd* | ns32k-*-openbsd*)
19238 COREFILE=netbsd-core.lo
19241 COREFILE=lynx-core.lo
19243 rs6000-*-aix5.* | powerpc-*-aix5.*)
19244 COREFILE=rs6000-core.lo
19245 COREFLAG="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
19247 rs6000-*-aix4.[3-9]* | powerpc-*-aix4.[3-9]*)
19248 COREFILE=rs6000-core.lo
19249 COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE"
19250 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
19251 # have c_impl as a member of struct core_dumpx
19252 echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
19253 echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
19254 cat >conftest.$ac_ext <<_ACEOF
19257 cat confdefs.h >>conftest.$ac_ext
19258 cat >>conftest.$ac_ext <<_ACEOF
19259 /* end confdefs.h. */
19264 struct core_dumpx c; c.c_impl = 0;
19269 rm -f conftest.$ac_objext
19270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19271 (eval $ac_compile) 2>conftest.er1
19273 grep -v '^ *+' conftest.er1 >conftest.err
19275 cat conftest.err >&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); } &&
19278 { ac_try='test -z "$ac_c_werror_flag"
19279 || test ! -s conftest.err'
19280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19281 (eval $ac_try) 2>&5
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); }; } &&
19285 { ac_try='test -s conftest.$ac_objext'
19286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19287 (eval $ac_try) 2>&5
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); }; }; then
19292 cat >>confdefs.h <<\_ACEOF
19293 #define HAVE_ST_C_IMPL 1
19296 echo "$as_me:$LINENO: result: yes" >&5
19297 echo "${ECHO_T}yes" >&6
19299 echo "$as_me: failed program was:" >&5
19300 sed 's/^/| /' conftest.$ac_ext >&5
19302 echo "$as_me:$LINENO: result: no" >&5
19303 echo "${ECHO_T}no" >&6
19305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19307 rs6000-*-aix4*) COREFILE=rs6000-core.lo ;;
19308 rs6000-*-*) COREFILE=rs6000-core.lo ;;
19309 powerpc-*-aix4*) COREFILE=rs6000-core.lo ;;
19310 powerpc-*-aix*) COREFILE=rs6000-core.lo ;;
19311 powerpc-*-beos*) ;;
19312 powerpc-*-freebsd* | powerpc-*-kfreebsd*-gnu)
19314 powerpc-*-netbsd*) COREFILE=netbsd-core.lo ;;
19315 powerpc-*-*bsd*) COREFILE=netbsd-core.lo ;;
19316 s390*-*-*) COREFILE=trad-core.lo ;;
19317 sh*-*-netbsd* | sh*-*-openbsd*)
19318 COREFILE=netbsd-core.lo
19320 sparc-*-netbsd* | sparc*-*-openbsd*)
19321 COREFILE=netbsd-core.lo
19324 COREFILE=trad-core.lo
19325 TRAD_HEADER='"hosts/tahoe.h"'
19327 vax-*-netbsd* | vax-*-openbsd*)
19328 COREFILE=netbsd-core.lo
19331 COREFILE=trad-core.lo
19332 TRAD_HEADER='"hosts/vaxult2.h"'
19335 COREFILE=trad-core.lo
19336 TRAD_HEADER='"hosts/vaxult2.h"'
19339 COREFILE=trad-core.lo
19340 TRAD_HEADER='"hosts/vaxlinux.h"'
19343 COREFILE=trad-core.lo
19344 TRAD_HEADER='"hosts/vaxbsd.h"'
19346 x86_64-*-netbsd* | x86_64-*-openbsd*)
19347 COREFILE=netbsd-core.lo
19351 case "$COREFILE" in
19352 aix386-core.lo) COREFLAG=-DAIX386_CORE ;;
19353 hppabsd-core.lo) COREFLAG=-DHPPABSD_CORE ;;
19354 hpux-core.lo) COREFLAG=-DHPUX_CORE ;;
19355 irix-core.lo) COREFLAG=-DIRIX_CORE ;;
19356 lynx-core.lo) COREFLAG=-DLYNX_CORE ;;
19357 netbsd-core.lo) COREFLAG=-DNETBSD_CORE ;;
19358 osf-core.lo) COREFLAG=-DOSF_CORE ;;
19359 ptrace-core.lo) COREFLAG=-DPTRACE_CORE ;;
19360 rs6000-core.lo) COREFLAG="$COREFLAG -DAIX_CORE" ;;
19361 sco5-core.lo) COREFLAG="$COREFLAG -DSCO5_CORE" ;;
19362 trad-core.lo) COREFLAG="$COREFLAG -DTRAD_CORE" ;;
19365 # ELF corefile support has several flavors, but all of
19366 # them use something called <sys/procfs.h>
19368 for ac_header in sys/procfs.h
19370 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19372 echo "$as_me:$LINENO: checking for $ac_header" >&5
19373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19375 echo $ECHO_N "(cached) $ECHO_C" >&6
19377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19380 # Is the header compilable?
19381 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19382 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19383 cat >conftest.$ac_ext <<_ACEOF
19386 cat confdefs.h >>conftest.$ac_ext
19387 cat >>conftest.$ac_ext <<_ACEOF
19388 /* end confdefs.h. */
19389 $ac_includes_default
19390 #include <$ac_header>
19392 rm -f conftest.$ac_objext
19393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19394 (eval $ac_compile) 2>conftest.er1
19396 grep -v '^ *+' conftest.er1 >conftest.err
19398 cat conftest.err >&5
19399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19400 (exit $ac_status); } &&
19401 { ac_try='test -z "$ac_c_werror_flag"
19402 || test ! -s conftest.err'
19403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19404 (eval $ac_try) 2>&5
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 (exit $ac_status); }; } &&
19408 { ac_try='test -s conftest.$ac_objext'
19409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19410 (eval $ac_try) 2>&5
19412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19413 (exit $ac_status); }; }; then
19414 ac_header_compiler=yes
19416 echo "$as_me: failed program was:" >&5
19417 sed 's/^/| /' conftest.$ac_ext >&5
19419 ac_header_compiler=no
19421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19422 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19423 echo "${ECHO_T}$ac_header_compiler" >&6
19425 # Is the header present?
19426 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19427 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19428 cat >conftest.$ac_ext <<_ACEOF
19431 cat confdefs.h >>conftest.$ac_ext
19432 cat >>conftest.$ac_ext <<_ACEOF
19433 /* end confdefs.h. */
19434 #include <$ac_header>
19436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19437 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19439 grep -v '^ *+' conftest.er1 >conftest.err
19441 cat conftest.err >&5
19442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19443 (exit $ac_status); } >/dev/null; then
19444 if test -s conftest.err; then
19445 ac_cpp_err=$ac_c_preproc_warn_flag
19446 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19453 if test -z "$ac_cpp_err"; then
19454 ac_header_preproc=yes
19456 echo "$as_me: failed program was:" >&5
19457 sed 's/^/| /' conftest.$ac_ext >&5
19459 ac_header_preproc=no
19461 rm -f conftest.err conftest.$ac_ext
19462 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19463 echo "${ECHO_T}$ac_header_preproc" >&6
19465 # So? What about this header?
19466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19468 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19469 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19471 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19472 ac_header_preproc=yes
19475 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19476 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19477 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19478 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19479 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19480 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19481 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19482 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19485 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19486 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19489 ## ------------------------------------------ ##
19490 ## Report this to the AC_PACKAGE_NAME lists. ##
19491 ## ------------------------------------------ ##
19494 sed "s/^/$as_me: WARNING: /" >&2
19497 echo "$as_me:$LINENO: checking for $ac_header" >&5
19498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19500 echo $ECHO_N "(cached) $ECHO_C" >&6
19502 eval "$as_ac_Header=\$ac_header_preproc"
19504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19508 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19509 cat >>confdefs.h <<_ACEOF
19510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19517 if test "$ac_cv_header_sys_procfs_h" = yes; then
19518 echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
19519 echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
19520 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
19521 echo $ECHO_N "(cached) $ECHO_C" >&6
19523 cat >conftest.$ac_ext <<_ACEOF
19526 cat confdefs.h >>conftest.$ac_ext
19527 cat >>conftest.$ac_ext <<_ACEOF
19528 /* end confdefs.h. */
19531 #include <sys/procfs.h>
19540 rm -f conftest.$ac_objext
19541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19542 (eval $ac_compile) 2>conftest.er1
19544 grep -v '^ *+' conftest.er1 >conftest.err
19546 cat conftest.err >&5
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); } &&
19549 { ac_try='test -z "$ac_c_werror_flag"
19550 || test ! -s conftest.err'
19551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19552 (eval $ac_try) 2>&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); }; } &&
19556 { ac_try='test -s conftest.$ac_objext'
19557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19558 (eval $ac_try) 2>&5
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); }; }; then
19562 bfd_cv_have_sys_procfs_type_prstatus_t=yes
19564 echo "$as_me: failed program was:" >&5
19565 sed 's/^/| /' conftest.$ac_ext >&5
19567 bfd_cv_have_sys_procfs_type_prstatus_t=no
19570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19573 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
19575 cat >>confdefs.h <<\_ACEOF
19576 #define HAVE_PRSTATUS_T 1
19580 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
19581 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
19583 echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
19584 echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
19585 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
19586 echo $ECHO_N "(cached) $ECHO_C" >&6
19588 cat >conftest.$ac_ext <<_ACEOF
19591 cat confdefs.h >>conftest.$ac_ext
19592 cat >>conftest.$ac_ext <<_ACEOF
19593 /* end confdefs.h. */
19596 #include <sys/procfs.h>
19605 rm -f conftest.$ac_objext
19606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19607 (eval $ac_compile) 2>conftest.er1
19609 grep -v '^ *+' conftest.er1 >conftest.err
19611 cat conftest.err >&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); } &&
19614 { ac_try='test -z "$ac_c_werror_flag"
19615 || test ! -s conftest.err'
19616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19617 (eval $ac_try) 2>&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); }; } &&
19621 { ac_try='test -s conftest.$ac_objext'
19622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19623 (eval $ac_try) 2>&5
19625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 (exit $ac_status); }; }; then
19627 bfd_cv_have_sys_procfs_type_prstatus32_t=yes
19629 echo "$as_me: failed program was:" >&5
19630 sed 's/^/| /' conftest.$ac_ext >&5
19632 bfd_cv_have_sys_procfs_type_prstatus32_t=no
19635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19638 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
19640 cat >>confdefs.h <<\_ACEOF
19641 #define HAVE_PRSTATUS32_T 1
19645 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
19646 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
19648 echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
19649 echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
19650 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
19651 echo $ECHO_N "(cached) $ECHO_C" >&6
19653 cat >conftest.$ac_ext <<_ACEOF
19656 cat confdefs.h >>conftest.$ac_ext
19657 cat >>conftest.$ac_ext <<_ACEOF
19658 /* end confdefs.h. */
19661 #include <sys/procfs.h>
19665 prstatus_t avar; void* aref = (void*) &avar.pr_who
19670 rm -f conftest.$ac_objext
19671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19672 (eval $ac_compile) 2>conftest.er1
19674 grep -v '^ *+' conftest.er1 >conftest.err
19676 cat conftest.err >&5
19677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); } &&
19679 { ac_try='test -z "$ac_c_werror_flag"
19680 || test ! -s conftest.err'
19681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19682 (eval $ac_try) 2>&5
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); }; } &&
19686 { ac_try='test -s conftest.$ac_objext'
19687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19688 (eval $ac_try) 2>&5
19690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19691 (exit $ac_status); }; }; then
19692 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes
19694 echo "$as_me: failed program was:" >&5
19695 sed 's/^/| /' conftest.$ac_ext >&5
19697 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=no
19700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19703 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
19705 cat >>confdefs.h <<\_ACEOF
19706 #define HAVE_PRSTATUS_T_PR_WHO 1
19710 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
19711 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
19713 echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
19714 echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
19715 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
19716 echo $ECHO_N "(cached) $ECHO_C" >&6
19718 cat >conftest.$ac_ext <<_ACEOF
19721 cat confdefs.h >>conftest.$ac_ext
19722 cat >>conftest.$ac_ext <<_ACEOF
19723 /* end confdefs.h. */
19726 #include <sys/procfs.h>
19730 prstatus32_t avar; void* aref = (void*) &avar.pr_who
19735 rm -f conftest.$ac_objext
19736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19737 (eval $ac_compile) 2>conftest.er1
19739 grep -v '^ *+' conftest.er1 >conftest.err
19741 cat conftest.err >&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } &&
19744 { ac_try='test -z "$ac_c_werror_flag"
19745 || test ! -s conftest.err'
19746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19747 (eval $ac_try) 2>&5
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); }; } &&
19751 { ac_try='test -s conftest.$ac_objext'
19752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19753 (eval $ac_try) 2>&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); }; }; then
19757 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes
19759 echo "$as_me: failed program was:" >&5
19760 sed 's/^/| /' conftest.$ac_ext >&5
19762 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=no
19765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19768 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
19770 cat >>confdefs.h <<\_ACEOF
19771 #define HAVE_PRSTATUS32_T_PR_WHO 1
19775 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
19776 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
19778 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
19779 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
19780 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
19781 echo $ECHO_N "(cached) $ECHO_C" >&6
19783 cat >conftest.$ac_ext <<_ACEOF
19786 cat confdefs.h >>conftest.$ac_ext
19787 cat >>conftest.$ac_ext <<_ACEOF
19788 /* end confdefs.h. */
19791 #include <sys/procfs.h>
19800 rm -f conftest.$ac_objext
19801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19802 (eval $ac_compile) 2>conftest.er1
19804 grep -v '^ *+' conftest.er1 >conftest.err
19806 cat conftest.err >&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } &&
19809 { ac_try='test -z "$ac_c_werror_flag"
19810 || test ! -s conftest.err'
19811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19812 (eval $ac_try) 2>&5
19814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815 (exit $ac_status); }; } &&
19816 { ac_try='test -s conftest.$ac_objext'
19817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19818 (eval $ac_try) 2>&5
19820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19821 (exit $ac_status); }; }; then
19822 bfd_cv_have_sys_procfs_type_pstatus_t=yes
19824 echo "$as_me: failed program was:" >&5
19825 sed 's/^/| /' conftest.$ac_ext >&5
19827 bfd_cv_have_sys_procfs_type_pstatus_t=no
19830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19833 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
19835 cat >>confdefs.h <<\_ACEOF
19836 #define HAVE_PSTATUS_T 1
19840 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
19841 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
19843 echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
19844 echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
19845 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
19846 echo $ECHO_N "(cached) $ECHO_C" >&6
19848 cat >conftest.$ac_ext <<_ACEOF
19851 cat confdefs.h >>conftest.$ac_ext
19852 cat >>conftest.$ac_ext <<_ACEOF
19853 /* end confdefs.h. */
19856 #include <sys/procfs.h>
19865 rm -f conftest.$ac_objext
19866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19867 (eval $ac_compile) 2>conftest.er1
19869 grep -v '^ *+' conftest.er1 >conftest.err
19871 cat conftest.err >&5
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); } &&
19874 { ac_try='test -z "$ac_c_werror_flag"
19875 || test ! -s conftest.err'
19876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19877 (eval $ac_try) 2>&5
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); }; } &&
19881 { ac_try='test -s conftest.$ac_objext'
19882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19883 (eval $ac_try) 2>&5
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); }; }; then
19887 bfd_cv_have_sys_procfs_type_pxstatus_t=yes
19889 echo "$as_me: failed program was:" >&5
19890 sed 's/^/| /' conftest.$ac_ext >&5
19892 bfd_cv_have_sys_procfs_type_pxstatus_t=no
19895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19898 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
19900 cat >>confdefs.h <<\_ACEOF
19901 #define HAVE_PXSTATUS_T 1
19905 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
19906 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
19908 echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
19909 echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
19910 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
19911 echo $ECHO_N "(cached) $ECHO_C" >&6
19913 cat >conftest.$ac_ext <<_ACEOF
19916 cat confdefs.h >>conftest.$ac_ext
19917 cat >>conftest.$ac_ext <<_ACEOF
19918 /* end confdefs.h. */
19921 #include <sys/procfs.h>
19930 rm -f conftest.$ac_objext
19931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19932 (eval $ac_compile) 2>conftest.er1
19934 grep -v '^ *+' conftest.er1 >conftest.err
19936 cat conftest.err >&5
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); } &&
19939 { ac_try='test -z "$ac_c_werror_flag"
19940 || test ! -s conftest.err'
19941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19942 (eval $ac_try) 2>&5
19944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19945 (exit $ac_status); }; } &&
19946 { ac_try='test -s conftest.$ac_objext'
19947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19948 (eval $ac_try) 2>&5
19950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19951 (exit $ac_status); }; }; then
19952 bfd_cv_have_sys_procfs_type_pstatus32_t=yes
19954 echo "$as_me: failed program was:" >&5
19955 sed 's/^/| /' conftest.$ac_ext >&5
19957 bfd_cv_have_sys_procfs_type_pstatus32_t=no
19960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19963 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
19965 cat >>confdefs.h <<\_ACEOF
19966 #define HAVE_PSTATUS32_T 1
19970 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
19971 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
19973 echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
19974 echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
19975 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
19976 echo $ECHO_N "(cached) $ECHO_C" >&6
19978 cat >conftest.$ac_ext <<_ACEOF
19981 cat confdefs.h >>conftest.$ac_ext
19982 cat >>conftest.$ac_ext <<_ACEOF
19983 /* end confdefs.h. */
19986 #include <sys/procfs.h>
19995 rm -f conftest.$ac_objext
19996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19997 (eval $ac_compile) 2>conftest.er1
19999 grep -v '^ *+' conftest.er1 >conftest.err
20001 cat conftest.err >&5
20002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003 (exit $ac_status); } &&
20004 { ac_try='test -z "$ac_c_werror_flag"
20005 || test ! -s conftest.err'
20006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20007 (eval $ac_try) 2>&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); }; } &&
20011 { ac_try='test -s conftest.$ac_objext'
20012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20013 (eval $ac_try) 2>&5
20015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20016 (exit $ac_status); }; }; then
20017 bfd_cv_have_sys_procfs_type_prpsinfo_t=yes
20019 echo "$as_me: failed program was:" >&5
20020 sed 's/^/| /' conftest.$ac_ext >&5
20022 bfd_cv_have_sys_procfs_type_prpsinfo_t=no
20025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20028 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
20030 cat >>confdefs.h <<\_ACEOF
20031 #define HAVE_PRPSINFO_T 1
20035 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
20036 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
20038 echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
20039 echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
20040 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
20041 echo $ECHO_N "(cached) $ECHO_C" >&6
20043 cat >conftest.$ac_ext <<_ACEOF
20046 cat confdefs.h >>conftest.$ac_ext
20047 cat >>conftest.$ac_ext <<_ACEOF
20048 /* end confdefs.h. */
20051 #include <sys/procfs.h>
20060 rm -f conftest.$ac_objext
20061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20062 (eval $ac_compile) 2>conftest.er1
20064 grep -v '^ *+' conftest.er1 >conftest.err
20066 cat conftest.err >&5
20067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20068 (exit $ac_status); } &&
20069 { ac_try='test -z "$ac_c_werror_flag"
20070 || test ! -s conftest.err'
20071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20072 (eval $ac_try) 2>&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); }; } &&
20076 { ac_try='test -s conftest.$ac_objext'
20077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20078 (eval $ac_try) 2>&5
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); }; }; then
20082 bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes
20084 echo "$as_me: failed program was:" >&5
20085 sed 's/^/| /' conftest.$ac_ext >&5
20087 bfd_cv_have_sys_procfs_type_prpsinfo32_t=no
20090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20093 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
20095 cat >>confdefs.h <<\_ACEOF
20096 #define HAVE_PRPSINFO32_T 1
20100 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
20101 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
20103 echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
20104 echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
20105 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
20106 echo $ECHO_N "(cached) $ECHO_C" >&6
20108 cat >conftest.$ac_ext <<_ACEOF
20111 cat confdefs.h >>conftest.$ac_ext
20112 cat >>conftest.$ac_ext <<_ACEOF
20113 /* end confdefs.h. */
20116 #include <sys/procfs.h>
20125 rm -f conftest.$ac_objext
20126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20127 (eval $ac_compile) 2>conftest.er1
20129 grep -v '^ *+' conftest.er1 >conftest.err
20131 cat conftest.err >&5
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); } &&
20134 { ac_try='test -z "$ac_c_werror_flag"
20135 || test ! -s conftest.err'
20136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20137 (eval $ac_try) 2>&5
20139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20140 (exit $ac_status); }; } &&
20141 { ac_try='test -s conftest.$ac_objext'
20142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20143 (eval $ac_try) 2>&5
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); }; }; then
20147 bfd_cv_have_sys_procfs_type_psinfo_t=yes
20149 echo "$as_me: failed program was:" >&5
20150 sed 's/^/| /' conftest.$ac_ext >&5
20152 bfd_cv_have_sys_procfs_type_psinfo_t=no
20155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20158 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
20160 cat >>confdefs.h <<\_ACEOF
20161 #define HAVE_PSINFO_T 1
20165 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
20166 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
20168 echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
20169 echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
20170 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
20171 echo $ECHO_N "(cached) $ECHO_C" >&6
20173 cat >conftest.$ac_ext <<_ACEOF
20176 cat confdefs.h >>conftest.$ac_ext
20177 cat >>conftest.$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20181 #include <sys/procfs.h>
20190 rm -f conftest.$ac_objext
20191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20192 (eval $ac_compile) 2>conftest.er1
20194 grep -v '^ *+' conftest.er1 >conftest.err
20196 cat conftest.err >&5
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); } &&
20199 { ac_try='test -z "$ac_c_werror_flag"
20200 || test ! -s conftest.err'
20201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20202 (eval $ac_try) 2>&5
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); }; } &&
20206 { ac_try='test -s conftest.$ac_objext'
20207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20208 (eval $ac_try) 2>&5
20210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20211 (exit $ac_status); }; }; then
20212 bfd_cv_have_sys_procfs_type_psinfo32_t=yes
20214 echo "$as_me: failed program was:" >&5
20215 sed 's/^/| /' conftest.$ac_ext >&5
20217 bfd_cv_have_sys_procfs_type_psinfo32_t=no
20220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20223 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
20225 cat >>confdefs.h <<\_ACEOF
20226 #define HAVE_PSINFO32_T 1
20230 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
20231 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
20233 echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
20234 echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
20235 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
20236 echo $ECHO_N "(cached) $ECHO_C" >&6
20238 cat >conftest.$ac_ext <<_ACEOF
20241 cat confdefs.h >>conftest.$ac_ext
20242 cat >>conftest.$ac_ext <<_ACEOF
20243 /* end confdefs.h. */
20246 #include <sys/procfs.h>
20255 rm -f conftest.$ac_objext
20256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20257 (eval $ac_compile) 2>conftest.er1
20259 grep -v '^ *+' conftest.er1 >conftest.err
20261 cat conftest.err >&5
20262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20263 (exit $ac_status); } &&
20264 { ac_try='test -z "$ac_c_werror_flag"
20265 || test ! -s conftest.err'
20266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20267 (eval $ac_try) 2>&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); }; } &&
20271 { ac_try='test -s conftest.$ac_objext'
20272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20273 (eval $ac_try) 2>&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); }; }; then
20277 bfd_cv_have_sys_procfs_type_lwpstatus_t=yes
20279 echo "$as_me: failed program was:" >&5
20280 sed 's/^/| /' conftest.$ac_ext >&5
20282 bfd_cv_have_sys_procfs_type_lwpstatus_t=no
20285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20288 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
20290 cat >>confdefs.h <<\_ACEOF
20291 #define HAVE_LWPSTATUS_T 1
20295 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
20296 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
20298 echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
20299 echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
20300 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
20301 echo $ECHO_N "(cached) $ECHO_C" >&6
20303 cat >conftest.$ac_ext <<_ACEOF
20306 cat confdefs.h >>conftest.$ac_ext
20307 cat >>conftest.$ac_ext <<_ACEOF
20308 /* end confdefs.h. */
20311 #include <sys/procfs.h>
20320 rm -f conftest.$ac_objext
20321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20322 (eval $ac_compile) 2>conftest.er1
20324 grep -v '^ *+' conftest.er1 >conftest.err
20326 cat conftest.err >&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); } &&
20329 { ac_try='test -z "$ac_c_werror_flag"
20330 || test ! -s conftest.err'
20331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20332 (eval $ac_try) 2>&5
20334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20335 (exit $ac_status); }; } &&
20336 { ac_try='test -s conftest.$ac_objext'
20337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20338 (eval $ac_try) 2>&5
20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341 (exit $ac_status); }; }; then
20342 bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes
20344 echo "$as_me: failed program was:" >&5
20345 sed 's/^/| /' conftest.$ac_ext >&5
20347 bfd_cv_have_sys_procfs_type_lwpxstatus_t=no
20350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20353 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
20355 cat >>confdefs.h <<\_ACEOF
20356 #define HAVE_LWPXSTATUS_T 1
20360 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
20361 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
20363 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
20364 echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
20365 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
20366 echo $ECHO_N "(cached) $ECHO_C" >&6
20368 cat >conftest.$ac_ext <<_ACEOF
20371 cat confdefs.h >>conftest.$ac_ext
20372 cat >>conftest.$ac_ext <<_ACEOF
20373 /* end confdefs.h. */
20376 #include <sys/procfs.h>
20380 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
20385 rm -f conftest.$ac_objext
20386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20387 (eval $ac_compile) 2>conftest.er1
20389 grep -v '^ *+' conftest.er1 >conftest.err
20391 cat conftest.err >&5
20392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20393 (exit $ac_status); } &&
20394 { ac_try='test -z "$ac_c_werror_flag"
20395 || test ! -s conftest.err'
20396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20397 (eval $ac_try) 2>&5
20399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400 (exit $ac_status); }; } &&
20401 { ac_try='test -s conftest.$ac_objext'
20402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20403 (eval $ac_try) 2>&5
20405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20406 (exit $ac_status); }; }; then
20407 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes
20409 echo "$as_me: failed program was:" >&5
20410 sed 's/^/| /' conftest.$ac_ext >&5
20412 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=no
20415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20418 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
20420 cat >>confdefs.h <<\_ACEOF
20421 #define HAVE_LWPSTATUS_T_PR_CONTEXT 1
20425 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
20426 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
20428 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
20429 echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
20430 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
20431 echo $ECHO_N "(cached) $ECHO_C" >&6
20433 cat >conftest.$ac_ext <<_ACEOF
20436 cat confdefs.h >>conftest.$ac_ext
20437 cat >>conftest.$ac_ext <<_ACEOF
20438 /* end confdefs.h. */
20441 #include <sys/procfs.h>
20445 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
20450 rm -f conftest.$ac_objext
20451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20452 (eval $ac_compile) 2>conftest.er1
20454 grep -v '^ *+' conftest.er1 >conftest.err
20456 cat conftest.err >&5
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); } &&
20459 { ac_try='test -z "$ac_c_werror_flag"
20460 || test ! -s conftest.err'
20461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20462 (eval $ac_try) 2>&5
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); }; } &&
20466 { ac_try='test -s conftest.$ac_objext'
20467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20468 (eval $ac_try) 2>&5
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); }; }; then
20472 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes
20474 echo "$as_me: failed program was:" >&5
20475 sed 's/^/| /' conftest.$ac_ext >&5
20477 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=no
20480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20483 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
20485 cat >>confdefs.h <<\_ACEOF
20486 #define HAVE_LWPSTATUS_T_PR_REG 1
20490 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
20491 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
20493 echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
20494 echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
20495 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
20496 echo $ECHO_N "(cached) $ECHO_C" >&6
20498 cat >conftest.$ac_ext <<_ACEOF
20501 cat confdefs.h >>conftest.$ac_ext
20502 cat >>conftest.$ac_ext <<_ACEOF
20503 /* end confdefs.h. */
20506 #include <sys/procfs.h>
20510 win32_pstatus_t avar
20515 rm -f conftest.$ac_objext
20516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20517 (eval $ac_compile) 2>conftest.er1
20519 grep -v '^ *+' conftest.er1 >conftest.err
20521 cat conftest.err >&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); } &&
20524 { ac_try='test -z "$ac_c_werror_flag"
20525 || test ! -s conftest.err'
20526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20527 (eval $ac_try) 2>&5
20529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20530 (exit $ac_status); }; } &&
20531 { ac_try='test -s conftest.$ac_objext'
20532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20533 (eval $ac_try) 2>&5
20535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536 (exit $ac_status); }; }; then
20537 bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes
20539 echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.$ac_ext >&5
20542 bfd_cv_have_sys_procfs_type_win32_pstatus_t=no
20545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20548 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
20550 cat >>confdefs.h <<\_ACEOF
20551 #define HAVE_WIN32_PSTATUS_T 1
20555 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
20556 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
20562 if test -n "$TRAD_HEADER"; then
20564 cat >>confdefs.h <<_ACEOF
20565 #define TRAD_HEADER $TRAD_HEADER
20570 # Horrible hacks to build DLLs on Windows.
20575 if test "$enable_shared" = "yes"; then
20576 WIN32LDFLAGS="-no-undefined"
20577 WIN32LIBADD="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
20581 # We borrow WIN32LIBADD so that the shared libbfd won't depend on
20583 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
20584 if test -n "$x"; then
20585 WIN32LIBADD="-L../libiberty/pic -liberty"
20594 # Canonicalize the secondary target names.
20595 if test -n "$enable_targets" ; then
20596 for targ in `echo $enable_targets | sed 's/,/ /g'`
20598 result=`$ac_config_sub $targ 2>/dev/null`
20599 if test -n "$result" ; then
20600 canon_targets="$canon_targets $result"
20602 # Allow targets that config.sub doesn't recognize, like "all".
20603 canon_targets="$canon_targets $targ"
20614 for targ in $target $canon_targets
20616 if test "x$targ" = "xall"; then
20618 assocvecs="$assocvecs $targ_defvec $targ_selvecs"
20620 . $srcdir/config.bfd
20621 if test "x$targ" = "x$target"; then
20622 defvec=$targ_defvec
20624 selvecs="$selvecs $targ_defvec $targ_selvecs"
20625 selarchs="$selarchs $targ_archs"
20626 TDEFINES="$TDEFINES $targ_cflags"
20631 # This processing still needs to be done if we're to decide properly whether
20632 # 64-bit support needs to be compiled in. Currently, it will be included if
20633 # the default or any other explicitly requested target requires it; it
20634 # will not be included on a 32-bit host if no 64-bit target is requested, and
20635 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
20638 # uniq the default and selected vectors in all the configured targets.
20640 for i in $selvecs ; do
20649 # uniq the associated vectors in all the configured targets.
20651 for i in $assocvecs ; do
20660 # uniq the architectures in all the configured targets.
20662 for i in $selarchs ; do
20670 # Target backend .o files.
20673 elf="elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
20675 for vec in $selvecs
20679 # This list is alphabetized to make it easy to compare
20680 # with the two vector lists in targets.c. For the same reason,
20681 # use one entry per line, even though this leads to long lines.
20682 a_out_adobe_vec) tb="$tb aout-adobe.lo aout32.lo" ;;
20683 aix5coff64_vec) tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
20684 aout0_big_vec) tb="$tb aout0.lo aout32.lo" ;;
20685 aout_arm_big_vec) tb="$tb aout-arm.lo aout32.lo" ;;
20686 aout_arm_little_vec) tb="$tb aout-arm.lo aout32.lo" ;;
20687 apollocoff_vec) tb="$tb coff-apollo.lo" ;;
20688 arm_epoc_pe_big_vec) tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
20689 arm_epoc_pe_little_vec) tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
20690 arm_epoc_pei_big_vec) tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
20691 arm_epoc_pei_little_vec) tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
20692 arm_wince_pe_big_vec) tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
20693 arm_wince_pe_little_vec) tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
20694 arm_wince_pei_big_vec) tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
20695 arm_wince_pei_little_vec) tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
20696 armcoff_big_vec) tb="$tb coff-arm.lo cofflink.lo " ;;
20697 armcoff_little_vec) tb="$tb coff-arm.lo cofflink.lo " ;;
20698 armnetbsd_vec) tb="$tb armnetbsd.lo aout32.lo" ;;
20699 armpe_big_vec) tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
20700 armpe_little_vec) tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
20701 armpei_big_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
20702 armpei_little_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
20703 b_out_vec_big_host) tb="$tb bout.lo aout32.lo" ;;
20704 b_out_vec_little_host) tb="$tb bout.lo aout32.lo" ;;
20705 bfd_efi_app_ia32_vec) tb="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;;
20706 bfd_efi_bsdrv_ia32_vec) tb="$tb efi-bsdrv-ia32.lo peigen.lo cofflink.lo" ;;
20707 bfd_efi_rtdrv_ia32_vec) tb="$tb efi-rtdrv-ia32.lo peigen.lo cofflink.lo" ;;
20708 bfd_efi_app_x86_64_vec) tb="$tb efi-app-x86_64.lo pex64igen.lo cofflink.lo" ;target_size=64;;
20709 bfd_efi_bsdrv_x86_64_vec) tb="$tb efi-bsdrv-x86_64.lo pex64igen.lo cofflink.lo" ;target_size=64;;
20710 bfd_efi_rtdrv_x86_64_vec) tb="$tb efi-rtdrv-x86_64.lo pex64igen.lo cofflink.lo" ;target_size=64;;
20711 bfd_efi_app_ia64_vec) tb="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
20712 bfd_efi_bsdrv_ia64_vec) tb="$tb efi-bsdrv-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
20713 bfd_efi_rtdrv_ia64_vec) tb="$tb efi-rtdrv-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
20714 bfd_elf32_am33lin_vec) tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
20715 bfd_elf32_avr_vec) tb="$tb elf32-avr.lo elf32.lo $elf" ;;
20716 bfd_elf32_bfin_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
20717 bfd_elf32_bfinfdpic_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
20718 bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
20719 bfd_elf32_bigarc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;;
20720 bfd_elf32_bigarm_vec) tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
20721 bfd_elf32_bigarm_symbian_vec)
20722 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
20723 bfd_elf32_bigarm_vxworks_vec)
20724 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
20725 bfd_elf32_bigmips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
20726 bfd_elf32_bigmips_vxworks_vec)
20727 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
20728 bfd_elf32_cr16_vec) tb="$tb elf32-cr16.lo elf32.lo $elf" ;;
20729 bfd_elf32_cr16c_vec) tb="$tb elf32-cr16c.lo elf32.lo $elf" ;;
20730 bfd_elf32_cris_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;;
20731 bfd_elf32_crx_vec) tb="$tb elf32-crx.lo elf32.lo $elf" ;;
20732 bfd_elf32_d10v_vec) tb="$tb elf32-d10v.lo elf32.lo $elf" ;;
20733 bfd_elf32_d30v_vec) tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
20734 bfd_elf32_dlx_big_vec) tb="$tb elf32-dlx.lo elf32.lo $elf" ;;
20735 bfd_elf32_fr30_vec) tb="$tb elf32-fr30.lo elf32.lo $elf" ;;
20736 bfd_elf32_frv_vec) tb="$tb elf32-frv.lo elf32.lo $elf" ;;
20737 bfd_elf32_frvfdpic_vec) tb="$tb elf32-frv.lo elf32.lo $elf" ;;
20738 bfd_elf32_h8300_vec) tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
20739 bfd_elf32_hppa_linux_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
20740 bfd_elf32_hppa_nbsd_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
20741 bfd_elf32_hppa_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
20742 bfd_elf32_i370_vec) tb="$tb elf32-i370.lo elf32.lo $elf" ;;
20743 bfd_elf32_i386_dragonfly_vec)
20744 tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
20745 bfd_elf32_i386_freebsd_vec) tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
20746 bfd_elf32_i386_vxworks_vec) tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
20747 bfd_elf32_i386_vec) tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
20748 bfd_elf32_i860_little_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;
20749 bfd_elf32_i860_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;
20750 bfd_elf32_i960_vec) tb="$tb elf32-i960.lo elf32.lo $elf" ;;
20751 bfd_elf32_ia64_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf" ;;
20752 bfd_elf32_ia64_hpux_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf";;
20753 bfd_elf32_ip2k_vec) tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
20754 bfd_elf32_iq2000_vec) tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
20755 bfd_elf32_little_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
20756 bfd_elf32_littlearc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;;
20757 bfd_elf32_littlearm_symbian_vec)
20758 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
20759 bfd_elf32_littlearm_vxworks_vec)
20760 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
20761 bfd_elf32_littlearm_vec) tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
20762 bfd_elf32_littlemips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
20763 bfd_elf32_littlemips_vxworks_vec)
20764 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
20765 bfd_elf32_m32c_vec) tb="$tb elf32-m32c.lo elf32.lo $elf" ;;
20766 bfd_elf32_m32r_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
20767 bfd_elf32_m32rle_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
20768 bfd_elf32_m32rlin_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
20769 bfd_elf32_m32rlelin_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
20770 bfd_elf32_m68hc11_vec) tb="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
20771 bfd_elf32_m68hc12_vec) tb="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
20772 bfd_elf32_m68k_vec) tb="$tb elf32-m68k.lo elf32.lo $elf" ;;
20773 bfd_elf32_m88k_vec) tb="$tb elf32-m88k.lo elf32.lo $elf" ;;
20774 bfd_elf32_mcore_big_vec) tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
20775 bfd_elf32_mcore_little_vec) tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
20776 bfd_elf32_mep_vec) tb="$tb elf32-mep.lo elf32.lo $elf" ;;
20777 bfd_elf32_mep_little_vec) tb="$tb elf32-mep.lo elf32.lo $elf" ;;
20778 bfd_elf32_mn10200_vec) tb="$tb elf-m10200.lo elf32.lo $elf" ;;
20779 bfd_elf32_mn10300_vec) tb="$tb elf-m10300.lo elf32.lo $elf" ;;
20780 bfd_elf32_mt_vec) tb="$tb elf32-mt.lo elf32.lo $elf" ;;
20781 bfd_elf32_msp430_vec) tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
20782 bfd_elf32_nbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
20783 bfd_elf32_nlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
20784 bfd_elf32_ntradbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
20785 bfd_elf32_ntradlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
20786 bfd_elf32_openrisc_vec) tb="$tb elf32-openrisc.lo elf32.lo $elf" ;;
20787 bfd_elf32_or32_big_vec) tb="$tb elf32-or32.lo elf32.lo $elf" ;;
20788 bfd_elf32_pj_vec) tb="$tb elf32-pj.lo elf32.lo $elf";;
20789 bfd_elf32_pjl_vec) tb="$tb elf32-pj.lo elf32.lo $elf";;
20790 bfd_elf32_powerpc_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
20791 bfd_elf32_powerpcle_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
20792 bfd_elf32_powerpc_vxworks_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
20793 bfd_elf32_s390_vec) tb="$tb elf32-s390.lo elf32.lo $elf" ;;
20794 bfd_elf32_bigscore_vec) tb="$tb elf32-score.lo elf32.lo $elf" ;;
20795 bfd_elf32_littlescore_vec) tb="$tb elf32-score.lo elf32.lo $elf" ;;
20796 # FIXME: We include cofflink.lo not because it's needed for
20797 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
20798 # which needs it but does not list it. Should be fixed in right place.
20799 bfd_elf32_sh64_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
20800 bfd_elf32_sh64l_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
20801 bfd_elf32_sh64lin_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
20802 bfd_elf32_sh64blin_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
20803 bfd_elf32_sh64lnbsd_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
20804 bfd_elf32_sh64nbsd_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
20805 bfd_elf32_sh_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
20806 bfd_elf32_shblin_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
20807 bfd_elf32_shl_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
20808 bfd_elf32_shl_symbian_vec) tb="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
20809 bfd_elf32_shlin_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
20810 bfd_elf32_shlnbsd_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
20811 bfd_elf32_shlvxworks_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
20812 bfd_elf32_shnbsd_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
20813 bfd_elf32_shvxworks_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
20814 bfd_elf32_sparc_vec) tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
20815 bfd_elf32_sparc_vxworks_vec) tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
20816 bfd_elf32_spu_vec) tb="$tb elf32-spu.lo elf32.lo $elf" ;;
20817 bfd_elf32_tradbigmips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
20818 bfd_elf32_tradlittlemips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
20819 bfd_elf32_us_cris_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;;
20820 bfd_elf32_v850_vec) tb="$tb elf32-v850.lo elf32.lo $elf" ;;
20821 bfd_elf32_vax_vec) tb="$tb elf32-vax.lo elf32.lo $elf" ;;
20822 bfd_elf32_xstormy16_vec) tb="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
20823 bfd_elf32_xc16x_vec) tb="$tb elf32-xc16x.lo elf32.lo $elf" ;;
20824 bfd_elf32_xtensa_le_vec) tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
20825 bfd_elf32_xtensa_be_vec) tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
20826 bfd_elf64_alpha_freebsd_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
20827 bfd_elf64_alpha_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
20828 bfd_elf64_big_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
20829 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 ;;
20830 bfd_elf64_hppa_linux_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
20831 bfd_elf64_hppa_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
20832 bfd_elf64_ia64_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
20833 bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
20834 bfd_elf64_ia64_little_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
20835 bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
20836 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 ;;
20837 bfd_elf64_mmix_vec) tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
20838 bfd_elf64_powerpc_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
20839 bfd_elf64_powerpcle_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
20840 bfd_elf64_s390_vec) tb="$tb elf64-s390.lo elf64.lo $elf"; target_size=64 ;;
20841 bfd_elf64_sh64_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
20842 bfd_elf64_sh64l_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
20843 bfd_elf64_sh64lin_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
20844 bfd_elf64_sh64blin_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
20845 bfd_elf64_sh64lnbsd_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
20846 bfd_elf64_sh64nbsd_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
20847 bfd_elf64_sparc_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
20848 bfd_elf64_sparc_freebsd_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
20849 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 ;;
20850 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 ;;
20851 bfd_elf64_x86_64_freebsd_vec) tb="$tb elf64-x86-64.lo elf64.lo $elf"; target_size=64 ;;
20852 bfd_elf64_x86_64_vec) tb="$tb elf64-x86-64.lo elf64.lo $elf"; target_size=64 ;;
20853 bfd_mmo_vec) tb="$tb mmo.lo" target_size=64 ;;
20854 bfd_powerpc_pe_vec) tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
20855 bfd_powerpc_pei_vec) tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
20856 bfd_powerpcle_pe_vec) tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
20857 bfd_powerpcle_pei_vec) tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
20858 cris_aout_vec) tb="$tb aout-cris.lo" ;;
20859 demo_64_vec) tb="$tb demo64.lo aout64.lo"; target_size=64 ;;
20860 ecoff_big_vec) tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
20861 ecoff_biglittle_vec) tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
20862 ecoff_little_vec) tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
20863 ecoffalpha_little_vec) tb="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size=64 ;;
20864 go32coff_vec) tb="$tb coff-go32.lo cofflink.lo" ;;
20865 go32stubbedcoff_vec) tb="$tb coff-stgo32.lo cofflink.lo" ;;
20866 h8300coff_vec) tb="$tb coff-h8300.lo reloc16.lo" ;;
20867 h8500coff_vec) tb="$tb coff-h8500.lo reloc16.lo" ;;
20868 host_aout_vec) tb="$tb host-aout.lo aout32.lo" ;;
20869 hp300bsd_vec) tb="$tb hp300bsd.lo aout32.lo" ;;
20870 hp300hpux_vec) tb="$tb hp300hpux.lo aout32.lo" ;;
20871 i386aout_vec) tb="$tb i386aout.lo aout32.lo" ;;
20872 i386bsd_vec) tb="$tb i386bsd.lo aout32.lo" ;;
20873 i386coff_vec) tb="$tb coff-i386.lo cofflink.lo" ;;
20874 x86_64coff_vec) tb="$tb coff-x86_64.lo cofflink.lo"; target_size=64 ;;
20875 i386dynix_vec) tb="$tb i386dynix.lo aout32.lo" ;;
20876 i386freebsd_vec) tb="$tb i386freebsd.lo aout32.lo" ;;
20877 i386linux_vec) tb="$tb i386linux.lo aout32.lo" ;;
20878 i386lynx_aout_vec) tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
20879 i386lynx_coff_vec) tb="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
20880 i386mach3_vec) tb="$tb i386mach3.lo aout32.lo" ;;
20881 i386msdos_vec) tb="$tb i386msdos.lo" ;;
20882 i386netbsd_vec) tb="$tb i386netbsd.lo aout32.lo" ;;
20883 i386os9k_vec) tb="$tb i386os9k.lo aout32.lo" ;;
20884 i386pe_vec) tb="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
20885 i386pei_vec) tb="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
20886 x86_64pe_vec) tb="$tb pe-x86_64.lo pex64igen.lo cofflink.lo"; target_size=64 ;;
20887 x86_64pei_vec) tb="$tb pei-x86_64.lo pex64igen.lo cofflink.lo"; target_size=64 ;;
20888 i860coff_vec) tb="$tb coff-i860.lo cofflink.lo" ;;
20889 icoff_big_vec) tb="$tb coff-i960.lo cofflink.lo" ;;
20890 icoff_little_vec) tb="$tb coff-i960.lo cofflink.lo" ;;
20891 ieee_vec) tb="$tb ieee.lo" ;;
20892 m68k4knetbsd_vec) tb="$tb m68k4knetbsd.lo aout32.lo" ;;
20893 m68kaux_coff_vec) tb="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
20894 m68kcoff_vec) tb="$tb coff-m68k.lo cofflink.lo" ;;
20895 m68kcoffun_vec) tb="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
20896 m68klinux_vec) tb="$tb m68klinux.lo aout32.lo" ;;
20897 m68knetbsd_vec) tb="$tb m68knetbsd.lo aout32.lo" ;;
20898 m68ksysvcoff_vec) tb="$tb coff-svm68k.lo cofflink.lo" ;;
20899 m88kbcs_vec) tb="$tb coff-m88k.lo" ;;
20900 m88kmach3_vec) tb="$tb m88kmach3.lo aout32.lo" ;;
20901 m88kopenbsd_vec) tb="$tb m88kopenbsd.lo aout32.lo" ;;
20902 maxqcoff_vec) tb="$tb coff-maxq.lo" ;;
20903 mach_o_be_vec) tb="$tb mach-o.lo" ;;
20904 mach_o_le_vec) tb="$tb mach-o.lo" ;;
20905 mach_o_fat_vec) tb="$tb mach-o.lo" ;;
20906 mcore_pe_big_vec) tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
20907 mcore_pe_little_vec) tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
20908 mcore_pei_big_vec) tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
20909 mcore_pei_little_vec) tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
20910 mipslpe_vec) tb="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
20911 mipslpei_vec) tb="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
20912 newsos3_vec) tb="$tb newsos3.lo aout32.lo" ;;
20913 nlm32_alpha_vec) tb="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size=64 ;;
20914 nlm32_i386_vec) tb="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
20915 nlm32_powerpc_vec) tb="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
20916 nlm32_sparc_vec) tb="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
20917 or32coff_big_vec) tb="$tb coff-or32.lo cofflink.lo" ;;
20918 pc532machaout_vec) tb="$tb pc532-mach.lo aout-ns32k.lo" ;;
20919 pc532netbsd_vec) tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
20920 pef_vec) tb="$tb pef.lo" ;;
20921 pef_xlib_vec) tb="$tb pef.lo" ;;
20922 pdp11_aout_vec) tb="$tb pdp11.lo" ;;
20923 pmac_xcoff_vec) tb="$tb coff-rs6000.lo xcofflink.lo" ;;
20924 ppcboot_vec) tb="$tb ppcboot.lo" ;;
20925 riscix_vec) tb="$tb aout32.lo riscix.lo" ;;
20926 rs6000coff64_vec) tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
20927 rs6000coff_vec) tb="$tb coff-rs6000.lo xcofflink.lo" ;;
20928 shcoff_small_vec) tb="$tb coff-sh.lo cofflink.lo" ;;
20929 shcoff_vec) tb="$tb coff-sh.lo cofflink.lo" ;;
20930 shlcoff_small_vec) tb="$tb coff-sh.lo cofflink.lo" ;;
20931 shlcoff_vec) tb="$tb coff-sh.lo cofflink.lo" ;;
20932 shlpe_vec) tb="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
20933 shlpei_vec) tb="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
20934 som_vec) tb="$tb som.lo" ;;
20935 sparccoff_vec) tb="$tb coff-sparc.lo" ;;
20936 sparcle_aout_vec) tb="$tb aout-sparcle.lo aout32.lo" ;;
20937 sparclinux_vec) tb="$tb sparclinux.lo aout32.lo" ;;
20938 sparclynx_aout_vec) tb="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
20939 sparclynx_coff_vec) tb="$tb cf-sparclynx.lo lynx-core.lo" ;;
20940 sparcnetbsd_vec) tb="$tb sparcnetbsd.lo aout32.lo" ;;
20941 sunos_big_vec) tb="$tb sunos.lo aout32.lo" ;;
20942 sym_vec) tb="$tb xsym.lo" ;;
20943 tic30_aout_vec) tb="$tb aout-tic30.lo" ;;
20944 tic30_coff_vec) tb="$tb coff-tic30.lo" ;;
20945 tic4x_coff0_vec) tb="$tb coff-tic4x.lo" ;;
20946 tic4x_coff0_beh_vec) tb="$tb coff-tic4x.lo" ;;
20947 tic4x_coff1_vec) tb="$tb coff-tic4x.lo" ;;
20948 tic4x_coff1_beh_vec) tb="$tb coff-tic4x.lo" ;;
20949 tic4x_coff2_vec) tb="$tb coff-tic4x.lo" ;;
20950 tic4x_coff2_beh_vec) tb="$tb coff-tic4x.lo" ;;
20951 tic54x_coff0_beh_vec) tb="$tb coff-tic54x.lo" ;;
20952 tic54x_coff0_vec) tb="$tb coff-tic54x.lo" ;;
20953 tic54x_coff1_beh_vec) tb="$tb coff-tic54x.lo" ;;
20954 tic54x_coff1_vec) tb="$tb coff-tic54x.lo" ;;
20955 tic54x_coff2_beh_vec) tb="$tb coff-tic54x.lo" ;;
20956 tic54x_coff2_vec) tb="$tb coff-tic54x.lo" ;;
20957 tic80coff_vec) tb="$tb coff-tic80.lo cofflink.lo" ;;
20958 vaxnetbsd_vec) tb="$tb vaxnetbsd.lo aout32.lo" ;;
20959 vax1knetbsd_vec) tb="$tb vax1knetbsd.lo aout32.lo" ;;
20960 vaxbsd_vec) tb="$tb vaxbsd.lo aout32.lo" ;;
20961 versados_vec) tb="$tb versados.lo" ;;
20962 vms_alpha_vec) tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size=64 ;;
20963 vms_vax_vec) tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
20964 w65_vec) tb="$tb coff-w65.lo reloc16.lo" ;;
20965 we32kcoff_vec) tb="$tb coff-we32k.lo" ;;
20966 z80coff_vec) tb="$tb coff-z80.lo reloc16.lo" ;;
20967 z8kcoff_vec) tb="$tb coff-z8k.lo reloc16.lo cofflink.lo" ;;
20969 # These appear out of order in targets.c
20970 srec_vec) tb="$tb srec.lo" ;;
20971 symbolsrec_vec) tb="$tb srec.lo" ;;
20972 tekhex_vec) tb="$tb tekhex.lo" ;;
20973 cisco_core_big_vec) tb="$tb cisco-core.lo" ;;
20974 cisco_core_little_vec) tb="$tb cisco-core.lo" ;;
20977 *) { { echo "$as_me:$LINENO: error: *** unknown target vector $vec" >&5
20978 echo "$as_me: error: *** unknown target vector $vec" >&2;}
20979 { (exit 1); exit 1; }; } ;;
20982 if test ${target_size} = 64; then
20985 if test x"${vec}" = x"${defvec}"; then
20986 bfd_default_target_size=${target_size}
20990 # Target architecture .o files.
20991 # A couple of CPUs use shorter file names to avoid problems on DOS
20993 ta=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
20995 # Weed out duplicate .o files.
21017 if test x${all_targets} = xtrue ; then
21018 bfd_backends="${bfd_backends}"' $(ALL_BACKENDS)'
21019 bfd_machines="${bfd_machines}"' $(ALL_MACHINES)'
21023 test -n "$assocvecs" &&
21024 assocvecs=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
21025 else # all_targets is true
21026 # Only set these if they will be nonempty, for the clever echo.
21029 test -n "$selvecs" &&
21030 havevecs=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
21031 test -n "$selvecs" &&
21032 selvecs=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
21033 test -n "$selarchs" &&
21034 selarchs=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
21035 fi # all_targets is true
21037 case ${host64}-${target64}-${want64} in
21040 bfd64_libs='$(BFD64_LIBS)'
21041 all_backends='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
21042 if test $BFD_HOST_64_BIT_DEFINED = 0; then
21043 { echo "$as_me:$LINENO: WARNING: You have requested a 64 bit BFD configuration, but" >&5
21044 echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
21045 { echo "$as_me:$LINENO: WARNING: your compiler may not have a 64 bit integral type" >&5
21046 echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
21048 if test -n "$GCC" ; then
21050 echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
21051 echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
21052 # Add more tests for gcc versions with non-working 64-bit support here.
21053 cat >conftest.$ac_ext <<_ACEOF
21056 cat confdefs.h >>conftest.$ac_ext
21057 cat >>conftest.$ac_ext <<_ACEOF
21058 /* end confdefs.h. */
21059 :__GNUC__:__GNUC_MINOR__:__i386__:
21061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21062 $EGREP ": 2 : 91 : 1 :" >/dev/null 2>&1; then
21064 echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
21065 echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
21067 echo "$as_me:$LINENO: result: no" >&5
21068 echo "${ECHO_T}no" >&6
21072 if test $bad_64bit_gcc = yes ; then
21073 { { echo "$as_me:$LINENO: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&5
21074 echo "$as_me: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&2;}
21075 { (exit 1); exit 1; }; }
21081 all_backends='$(BFD32_BACKENDS)'
21092 # Determine the host dependant file_ptr a.k.a. off_t type. In order
21093 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
21094 # fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
21095 # Hopefully a reasonable assumption since fseeko et.al. should be
21096 # upward compatible.
21102 for ac_func in ftello ftello64 fseeko fseeko64 fopen64
21104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21105 echo "$as_me:$LINENO: checking for $ac_func" >&5
21106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21107 if eval "test \"\${$as_ac_var+set}\" = set"; then
21108 echo $ECHO_N "(cached) $ECHO_C" >&6
21110 cat >conftest.$ac_ext <<_ACEOF
21113 cat confdefs.h >>conftest.$ac_ext
21114 cat >>conftest.$ac_ext <<_ACEOF
21115 /* end confdefs.h. */
21116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21118 #define $ac_func innocuous_$ac_func
21120 /* System header to define __stub macros and hopefully few prototypes,
21121 which can conflict with char $ac_func (); below.
21122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21123 <limits.h> exists even on freestanding compilers. */
21126 # include <limits.h>
21128 # include <assert.h>
21133 /* Override any gcc2 internal prototype to avoid an error. */
21138 /* We use char because int might match the return type of a gcc2
21139 builtin and then its argument prototype would still apply. */
21141 /* The GNU C library defines this for functions which it implements
21142 to always fail with ENOSYS. Some functions are actually named
21143 something starting with __ and the normal name is an alias. */
21144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21147 char (*f) () = $ac_func;
21156 return f != $ac_func;
21161 rm -f conftest.$ac_objext conftest$ac_exeext
21162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21163 (eval $ac_link) 2>conftest.er1
21165 grep -v '^ *+' conftest.er1 >conftest.err
21167 cat conftest.err >&5
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); } &&
21170 { ac_try='test -z "$ac_c_werror_flag"
21171 || test ! -s conftest.err'
21172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21173 (eval $ac_try) 2>&5
21175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21176 (exit $ac_status); }; } &&
21177 { ac_try='test -s conftest$ac_exeext'
21178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21179 (eval $ac_try) 2>&5
21181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21182 (exit $ac_status); }; }; then
21183 eval "$as_ac_var=yes"
21185 echo "$as_me: failed program was:" >&5
21186 sed 's/^/| /' conftest.$ac_ext >&5
21188 eval "$as_ac_var=no"
21190 rm -f conftest.err conftest.$ac_objext \
21191 conftest$ac_exeext conftest.$ac_ext
21193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21195 if test `eval echo '${'$as_ac_var'}'` = yes; then
21196 cat >>confdefs.h <<_ACEOF
21197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21203 if test x"$ac_cv_func_ftello" = xyes -a x"$ac_cv_func_fseeko" = xyes; then
21204 echo "$as_me:$LINENO: checking for off_t" >&5
21205 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
21206 if test "${ac_cv_type_off_t+set}" = set; then
21207 echo $ECHO_N "(cached) $ECHO_C" >&6
21209 cat >conftest.$ac_ext <<_ACEOF
21212 cat confdefs.h >>conftest.$ac_ext
21213 cat >>conftest.$ac_ext <<_ACEOF
21214 /* end confdefs.h. */
21215 $ac_includes_default
21221 if (sizeof (off_t))
21227 rm -f conftest.$ac_objext
21228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21229 (eval $ac_compile) 2>conftest.er1
21231 grep -v '^ *+' conftest.er1 >conftest.err
21233 cat conftest.err >&5
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); } &&
21236 { ac_try='test -z "$ac_c_werror_flag"
21237 || test ! -s conftest.err'
21238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21239 (eval $ac_try) 2>&5
21241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242 (exit $ac_status); }; } &&
21243 { ac_try='test -s conftest.$ac_objext'
21244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21245 (eval $ac_try) 2>&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); }; }; then
21249 ac_cv_type_off_t=yes
21251 echo "$as_me: failed program was:" >&5
21252 sed 's/^/| /' conftest.$ac_ext >&5
21254 ac_cv_type_off_t=no
21256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21258 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
21259 echo "${ECHO_T}$ac_cv_type_off_t" >&6
21261 echo "$as_me:$LINENO: checking size of off_t" >&5
21262 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
21263 if test "${ac_cv_sizeof_off_t+set}" = set; then
21264 echo $ECHO_N "(cached) $ECHO_C" >&6
21266 if test "$ac_cv_type_off_t" = yes; then
21267 # The cast to unsigned long works around a bug in the HP C Compiler
21268 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21269 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21270 # This bug is HP SR number 8606223364.
21271 if test "$cross_compiling" = yes; then
21272 # Depending upon the size, compute the lo and hi bounds.
21273 cat >conftest.$ac_ext <<_ACEOF
21276 cat confdefs.h >>conftest.$ac_ext
21277 cat >>conftest.$ac_ext <<_ACEOF
21278 /* end confdefs.h. */
21279 $ac_includes_default
21283 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)];
21290 rm -f conftest.$ac_objext
21291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21292 (eval $ac_compile) 2>conftest.er1
21294 grep -v '^ *+' conftest.er1 >conftest.err
21296 cat conftest.err >&5
21297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21298 (exit $ac_status); } &&
21299 { ac_try='test -z "$ac_c_werror_flag"
21300 || test ! -s conftest.err'
21301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21302 (eval $ac_try) 2>&5
21304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305 (exit $ac_status); }; } &&
21306 { ac_try='test -s conftest.$ac_objext'
21307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21308 (eval $ac_try) 2>&5
21310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21311 (exit $ac_status); }; }; then
21314 cat >conftest.$ac_ext <<_ACEOF
21317 cat confdefs.h >>conftest.$ac_ext
21318 cat >>conftest.$ac_ext <<_ACEOF
21319 /* end confdefs.h. */
21320 $ac_includes_default
21324 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
21331 rm -f conftest.$ac_objext
21332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21333 (eval $ac_compile) 2>conftest.er1
21335 grep -v '^ *+' conftest.er1 >conftest.err
21337 cat conftest.err >&5
21338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21339 (exit $ac_status); } &&
21340 { ac_try='test -z "$ac_c_werror_flag"
21341 || test ! -s conftest.err'
21342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21343 (eval $ac_try) 2>&5
21345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21346 (exit $ac_status); }; } &&
21347 { ac_try='test -s conftest.$ac_objext'
21348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21349 (eval $ac_try) 2>&5
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); }; }; then
21353 ac_hi=$ac_mid; break
21355 echo "$as_me: failed program was:" >&5
21356 sed 's/^/| /' conftest.$ac_ext >&5
21358 ac_lo=`expr $ac_mid + 1`
21359 if test $ac_lo -le $ac_mid; then
21363 ac_mid=`expr 2 '*' $ac_mid + 1`
21365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21368 echo "$as_me: failed program was:" >&5
21369 sed 's/^/| /' conftest.$ac_ext >&5
21371 cat >conftest.$ac_ext <<_ACEOF
21374 cat confdefs.h >>conftest.$ac_ext
21375 cat >>conftest.$ac_ext <<_ACEOF
21376 /* end confdefs.h. */
21377 $ac_includes_default
21381 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)];
21388 rm -f conftest.$ac_objext
21389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21390 (eval $ac_compile) 2>conftest.er1
21392 grep -v '^ *+' conftest.er1 >conftest.err
21394 cat conftest.err >&5
21395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21396 (exit $ac_status); } &&
21397 { ac_try='test -z "$ac_c_werror_flag"
21398 || test ! -s conftest.err'
21399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21400 (eval $ac_try) 2>&5
21402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403 (exit $ac_status); }; } &&
21404 { ac_try='test -s conftest.$ac_objext'
21405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21406 (eval $ac_try) 2>&5
21408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409 (exit $ac_status); }; }; then
21412 cat >conftest.$ac_ext <<_ACEOF
21415 cat confdefs.h >>conftest.$ac_ext
21416 cat >>conftest.$ac_ext <<_ACEOF
21417 /* end confdefs.h. */
21418 $ac_includes_default
21422 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)];
21429 rm -f conftest.$ac_objext
21430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21431 (eval $ac_compile) 2>conftest.er1
21433 grep -v '^ *+' conftest.er1 >conftest.err
21435 cat conftest.err >&5
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); } &&
21438 { ac_try='test -z "$ac_c_werror_flag"
21439 || test ! -s conftest.err'
21440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21441 (eval $ac_try) 2>&5
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); }; } &&
21445 { ac_try='test -s conftest.$ac_objext'
21446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21447 (eval $ac_try) 2>&5
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); }; }; then
21451 ac_lo=$ac_mid; break
21453 echo "$as_me: failed program was:" >&5
21454 sed 's/^/| /' conftest.$ac_ext >&5
21456 ac_hi=`expr '(' $ac_mid ')' - 1`
21457 if test $ac_mid -le $ac_hi; then
21461 ac_mid=`expr 2 '*' $ac_mid`
21463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21466 echo "$as_me: failed program was:" >&5
21467 sed 's/^/| /' conftest.$ac_ext >&5
21471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21474 # Binary search between lo and hi bounds.
21475 while test "x$ac_lo" != "x$ac_hi"; do
21476 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21477 cat >conftest.$ac_ext <<_ACEOF
21480 cat confdefs.h >>conftest.$ac_ext
21481 cat >>conftest.$ac_ext <<_ACEOF
21482 /* end confdefs.h. */
21483 $ac_includes_default
21487 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
21494 rm -f conftest.$ac_objext
21495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21496 (eval $ac_compile) 2>conftest.er1
21498 grep -v '^ *+' conftest.er1 >conftest.err
21500 cat conftest.err >&5
21501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21502 (exit $ac_status); } &&
21503 { ac_try='test -z "$ac_c_werror_flag"
21504 || test ! -s conftest.err'
21505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21506 (eval $ac_try) 2>&5
21508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21509 (exit $ac_status); }; } &&
21510 { ac_try='test -s conftest.$ac_objext'
21511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21512 (eval $ac_try) 2>&5
21514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21515 (exit $ac_status); }; }; then
21518 echo "$as_me: failed program was:" >&5
21519 sed 's/^/| /' conftest.$ac_ext >&5
21521 ac_lo=`expr '(' $ac_mid ')' + 1`
21523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21526 ?*) ac_cv_sizeof_off_t=$ac_lo;;
21527 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21528 echo "$as_me: error: in \`$ac_pwd':" >&2;}
21529 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
21530 See \`config.log' for more details." >&5
21531 echo "$as_me: error: cannot compute sizeof (off_t), 77
21532 See \`config.log' for more details." >&2;}
21533 { (exit 1); exit 1; }; }; } ;;
21536 if test "$cross_compiling" = yes; then
21537 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21538 echo "$as_me: error: in \`$ac_pwd':" >&2;}
21539 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21540 See \`config.log' for more details." >&5
21541 echo "$as_me: error: cannot run test program while cross compiling
21542 See \`config.log' for more details." >&2;}
21543 { (exit 1); exit 1; }; }; }
21545 cat >conftest.$ac_ext <<_ACEOF
21548 cat confdefs.h >>conftest.$ac_ext
21549 cat >>conftest.$ac_ext <<_ACEOF
21550 /* end confdefs.h. */
21551 $ac_includes_default
21552 long longval () { return (long) (sizeof (off_t)); }
21553 unsigned long ulongval () { return (long) (sizeof (off_t)); }
21555 #include <stdlib.h>
21560 FILE *f = fopen ("conftest.val", "w");
21563 if (((long) (sizeof (off_t))) < 0)
21565 long i = longval ();
21566 if (i != ((long) (sizeof (off_t))))
21568 fprintf (f, "%ld\n", i);
21572 unsigned long i = ulongval ();
21573 if (i != ((long) (sizeof (off_t))))
21575 fprintf (f, "%lu\n", i);
21577 exit (ferror (f) || fclose (f) != 0);
21583 rm -f conftest$ac_exeext
21584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21585 (eval $ac_link) 2>&5
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21590 (eval $ac_try) 2>&5
21592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21593 (exit $ac_status); }; }; then
21594 ac_cv_sizeof_off_t=`cat conftest.val`
21596 echo "$as_me: program exited with status $ac_status" >&5
21597 echo "$as_me: failed program was:" >&5
21598 sed 's/^/| /' conftest.$ac_ext >&5
21600 ( exit $ac_status )
21601 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21602 echo "$as_me: error: in \`$ac_pwd':" >&2;}
21603 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
21604 See \`config.log' for more details." >&5
21605 echo "$as_me: error: cannot compute sizeof (off_t), 77
21606 See \`config.log' for more details." >&2;}
21607 { (exit 1); exit 1; }; }; }
21609 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21614 ac_cv_sizeof_off_t=0
21617 echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
21618 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
21619 cat >>confdefs.h <<_ACEOF
21620 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
21625 echo "$as_me:$LINENO: checking file_ptr type" >&5
21626 echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
21627 bfd_file_ptr="long"
21628 bfd_ufile_ptr="unsigned long"
21629 if test x"$ac_cv_func_ftello64" = xyes -a x"$ac_cv_func_fseeko64" = xyes \
21630 -o x"${ac_cv_sizeof_off_t}" = x8; then
21631 bfd_file_ptr=BFD_HOST_64_BIT
21632 bfd_ufile_ptr=BFD_HOST_U_64_BIT
21634 echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
21635 echo "${ECHO_T}$bfd_file_ptr" >&6
21641 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
21642 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
21643 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
21644 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
21645 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
21650 for ac_header in stdlib.h unistd.h
21652 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21654 echo "$as_me:$LINENO: checking for $ac_header" >&5
21655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21657 echo $ECHO_N "(cached) $ECHO_C" >&6
21659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21662 # Is the header compilable?
21663 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21664 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21665 cat >conftest.$ac_ext <<_ACEOF
21668 cat confdefs.h >>conftest.$ac_ext
21669 cat >>conftest.$ac_ext <<_ACEOF
21670 /* end confdefs.h. */
21671 $ac_includes_default
21672 #include <$ac_header>
21674 rm -f conftest.$ac_objext
21675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21676 (eval $ac_compile) 2>conftest.er1
21678 grep -v '^ *+' conftest.er1 >conftest.err
21680 cat conftest.err >&5
21681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21682 (exit $ac_status); } &&
21683 { ac_try='test -z "$ac_c_werror_flag"
21684 || test ! -s conftest.err'
21685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21686 (eval $ac_try) 2>&5
21688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21689 (exit $ac_status); }; } &&
21690 { ac_try='test -s conftest.$ac_objext'
21691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21692 (eval $ac_try) 2>&5
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); }; }; then
21696 ac_header_compiler=yes
21698 echo "$as_me: failed program was:" >&5
21699 sed 's/^/| /' conftest.$ac_ext >&5
21701 ac_header_compiler=no
21703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21704 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21705 echo "${ECHO_T}$ac_header_compiler" >&6
21707 # Is the header present?
21708 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21709 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21710 cat >conftest.$ac_ext <<_ACEOF
21713 cat confdefs.h >>conftest.$ac_ext
21714 cat >>conftest.$ac_ext <<_ACEOF
21715 /* end confdefs.h. */
21716 #include <$ac_header>
21718 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21719 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21721 grep -v '^ *+' conftest.er1 >conftest.err
21723 cat conftest.err >&5
21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725 (exit $ac_status); } >/dev/null; then
21726 if test -s conftest.err; then
21727 ac_cpp_err=$ac_c_preproc_warn_flag
21728 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21735 if test -z "$ac_cpp_err"; then
21736 ac_header_preproc=yes
21738 echo "$as_me: failed program was:" >&5
21739 sed 's/^/| /' conftest.$ac_ext >&5
21741 ac_header_preproc=no
21743 rm -f conftest.err conftest.$ac_ext
21744 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21745 echo "${ECHO_T}$ac_header_preproc" >&6
21747 # So? What about this header?
21748 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21750 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21751 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21753 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21754 ac_header_preproc=yes
21757 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21758 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21759 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21760 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21761 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21762 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21763 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21764 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21766 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21767 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21768 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21771 ## ------------------------------------------ ##
21772 ## Report this to the AC_PACKAGE_NAME lists. ##
21773 ## ------------------------------------------ ##
21776 sed "s/^/$as_me: WARNING: /" >&2
21779 echo "$as_me:$LINENO: checking for $ac_header" >&5
21780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21782 echo $ECHO_N "(cached) $ECHO_C" >&6
21784 eval "$as_ac_Header=\$ac_header_preproc"
21786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21791 cat >>confdefs.h <<_ACEOF
21792 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21800 for ac_func in getpagesize
21802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21803 echo "$as_me:$LINENO: checking for $ac_func" >&5
21804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21805 if eval "test \"\${$as_ac_var+set}\" = set"; then
21806 echo $ECHO_N "(cached) $ECHO_C" >&6
21808 cat >conftest.$ac_ext <<_ACEOF
21811 cat confdefs.h >>conftest.$ac_ext
21812 cat >>conftest.$ac_ext <<_ACEOF
21813 /* end confdefs.h. */
21814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21816 #define $ac_func innocuous_$ac_func
21818 /* System header to define __stub macros and hopefully few prototypes,
21819 which can conflict with char $ac_func (); below.
21820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21821 <limits.h> exists even on freestanding compilers. */
21824 # include <limits.h>
21826 # include <assert.h>
21831 /* Override any gcc2 internal prototype to avoid an error. */
21836 /* We use char because int might match the return type of a gcc2
21837 builtin and then its argument prototype would still apply. */
21839 /* The GNU C library defines this for functions which it implements
21840 to always fail with ENOSYS. Some functions are actually named
21841 something starting with __ and the normal name is an alias. */
21842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21845 char (*f) () = $ac_func;
21854 return f != $ac_func;
21859 rm -f conftest.$ac_objext conftest$ac_exeext
21860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21861 (eval $ac_link) 2>conftest.er1
21863 grep -v '^ *+' conftest.er1 >conftest.err
21865 cat conftest.err >&5
21866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21867 (exit $ac_status); } &&
21868 { ac_try='test -z "$ac_c_werror_flag"
21869 || test ! -s conftest.err'
21870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21871 (eval $ac_try) 2>&5
21873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21874 (exit $ac_status); }; } &&
21875 { ac_try='test -s conftest$ac_exeext'
21876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21877 (eval $ac_try) 2>&5
21879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21880 (exit $ac_status); }; }; then
21881 eval "$as_ac_var=yes"
21883 echo "$as_me: failed program was:" >&5
21884 sed 's/^/| /' conftest.$ac_ext >&5
21886 eval "$as_ac_var=no"
21888 rm -f conftest.err conftest.$ac_objext \
21889 conftest$ac_exeext conftest.$ac_ext
21891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21893 if test `eval echo '${'$as_ac_var'}'` = yes; then
21894 cat >>confdefs.h <<_ACEOF
21895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21901 echo "$as_me:$LINENO: checking for working mmap" >&5
21902 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
21903 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
21904 echo $ECHO_N "(cached) $ECHO_C" >&6
21906 if test "$cross_compiling" = yes; then
21907 ac_cv_func_mmap_fixed_mapped=no
21909 cat >conftest.$ac_ext <<_ACEOF
21912 cat confdefs.h >>conftest.$ac_ext
21913 cat >>conftest.$ac_ext <<_ACEOF
21914 /* end confdefs.h. */
21915 $ac_includes_default
21916 /* malloc might have been renamed as rpl_malloc. */
21919 /* Thanks to Mike Haertel and Jim Avera for this test.
21920 Here is a matrix of mmap possibilities:
21921 mmap private not fixed
21922 mmap private fixed at somewhere currently unmapped
21923 mmap private fixed at somewhere already mapped
21924 mmap shared not fixed
21925 mmap shared fixed at somewhere currently unmapped
21926 mmap shared fixed at somewhere already mapped
21927 For private mappings, we should verify that changes cannot be read()
21928 back from the file, nor mmap's back from the file at a different
21929 address. (There have been systems where private was not correctly
21930 implemented like the infamous i386 svr4.0, and systems where the
21931 VM page cache was not coherent with the file system buffer cache
21932 like early versions of FreeBSD and possibly contemporary NetBSD.)
21933 For shared mappings, we should conversely verify that changes get
21934 propagated back to all the places they're supposed to be.
21936 Grep wants private fixed already mapped.
21937 The main things grep needs to know about mmap are:
21938 * does it exist and is it safe to write into the mmap'd area
21939 * how to use it (BSD variants) */
21942 #include <sys/mman.h>
21944 #if !STDC_HEADERS && !HAVE_STDLIB_H
21948 /* This mess was copied from the GNU getpagesize.h. */
21949 #if !HAVE_GETPAGESIZE
21950 /* Assume that all systems that can run configure have sys/param.h. */
21951 # if !HAVE_SYS_PARAM_H
21952 # define HAVE_SYS_PARAM_H 1
21955 # ifdef _SC_PAGESIZE
21956 # define getpagesize() sysconf(_SC_PAGESIZE)
21957 # else /* no _SC_PAGESIZE */
21958 # if HAVE_SYS_PARAM_H
21959 # include <sys/param.h>
21960 # ifdef EXEC_PAGESIZE
21961 # define getpagesize() EXEC_PAGESIZE
21962 # else /* no EXEC_PAGESIZE */
21964 # define getpagesize() NBPG * CLSIZE
21967 # endif /* no CLSIZE */
21968 # else /* no NBPG */
21970 # define getpagesize() NBPC
21971 # else /* no NBPC */
21973 # define getpagesize() PAGESIZE
21974 # endif /* PAGESIZE */
21975 # endif /* no NBPC */
21976 # endif /* no NBPG */
21977 # endif /* no EXEC_PAGESIZE */
21978 # else /* no HAVE_SYS_PARAM_H */
21979 # define getpagesize() 8192 /* punt totally */
21980 # endif /* no HAVE_SYS_PARAM_H */
21981 # endif /* no _SC_PAGESIZE */
21983 #endif /* no HAVE_GETPAGESIZE */
21988 char *data, *data2, *data3;
21992 pagesize = getpagesize ();
21994 /* First, make a file with some known garbage in it. */
21995 data = (char *) malloc (pagesize);
21998 for (i = 0; i < pagesize; ++i)
21999 *(data + i) = rand ();
22001 fd = creat ("conftest.mmap", 0600);
22004 if (write (fd, data, pagesize) != pagesize)
22008 /* Next, try to mmap the file at a fixed address which already has
22009 something else allocated at it. If we can, also make sure that
22010 we see the same garbage. */
22011 fd = open ("conftest.mmap", O_RDWR);
22014 data2 = (char *) malloc (2 * pagesize);
22017 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
22018 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22019 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22021 for (i = 0; i < pagesize; ++i)
22022 if (*(data + i) != *(data2 + i))
22025 /* Finally, make sure that changes to the mapped area do not
22026 percolate back to the file as seen by read(). (This is a bug on
22027 some variants of i386 svr4.0.) */
22028 for (i = 0; i < pagesize; ++i)
22029 *(data2 + i) = *(data2 + i) + 1;
22030 data3 = (char *) malloc (pagesize);
22033 if (read (fd, data3, pagesize) != pagesize)
22035 for (i = 0; i < pagesize; ++i)
22036 if (*(data + i) != *(data3 + i))
22042 rm -f conftest$ac_exeext
22043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22044 (eval $ac_link) 2>&5
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22049 (eval $ac_try) 2>&5
22051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22052 (exit $ac_status); }; }; then
22053 ac_cv_func_mmap_fixed_mapped=yes
22055 echo "$as_me: program exited with status $ac_status" >&5
22056 echo "$as_me: failed program was:" >&5
22057 sed 's/^/| /' conftest.$ac_ext >&5
22059 ( exit $ac_status )
22060 ac_cv_func_mmap_fixed_mapped=no
22062 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22065 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22066 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22067 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22069 cat >>confdefs.h <<\_ACEOF
22070 #define HAVE_MMAP 1
22074 rm -f conftest.mmap
22078 for ac_func in madvise mprotect
22080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22081 echo "$as_me:$LINENO: checking for $ac_func" >&5
22082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22083 if eval "test \"\${$as_ac_var+set}\" = set"; then
22084 echo $ECHO_N "(cached) $ECHO_C" >&6
22086 cat >conftest.$ac_ext <<_ACEOF
22089 cat confdefs.h >>conftest.$ac_ext
22090 cat >>conftest.$ac_ext <<_ACEOF
22091 /* end confdefs.h. */
22092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22094 #define $ac_func innocuous_$ac_func
22096 /* System header to define __stub macros and hopefully few prototypes,
22097 which can conflict with char $ac_func (); below.
22098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22099 <limits.h> exists even on freestanding compilers. */
22102 # include <limits.h>
22104 # include <assert.h>
22109 /* Override any gcc2 internal prototype to avoid an error. */
22114 /* We use char because int might match the return type of a gcc2
22115 builtin and then its argument prototype would still apply. */
22117 /* The GNU C library defines this for functions which it implements
22118 to always fail with ENOSYS. Some functions are actually named
22119 something starting with __ and the normal name is an alias. */
22120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22123 char (*f) () = $ac_func;
22132 return f != $ac_func;
22137 rm -f conftest.$ac_objext conftest$ac_exeext
22138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22139 (eval $ac_link) 2>conftest.er1
22141 grep -v '^ *+' conftest.er1 >conftest.err
22143 cat conftest.err >&5
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); } &&
22146 { ac_try='test -z "$ac_c_werror_flag"
22147 || test ! -s conftest.err'
22148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22149 (eval $ac_try) 2>&5
22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152 (exit $ac_status); }; } &&
22153 { ac_try='test -s conftest$ac_exeext'
22154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22155 (eval $ac_try) 2>&5
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); }; }; then
22159 eval "$as_ac_var=yes"
22161 echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.$ac_ext >&5
22164 eval "$as_ac_var=no"
22166 rm -f conftest.err conftest.$ac_objext \
22167 conftest$ac_exeext conftest.$ac_ext
22169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22171 if test `eval echo '${'$as_ac_var'}'` = yes; then
22172 cat >>confdefs.h <<_ACEOF
22173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22179 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
22181 cat >>confdefs.h <<\_ACEOF
22187 rm -f doc/config.status
22188 ac_config_files="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
22191 ac_config_commands="$ac_config_commands default"
22198 cat >confcache <<\_ACEOF
22199 # This file is a shell script that caches the results of configure
22200 # tests run on this system so they can be shared between configure
22201 # scripts and configure runs, see configure's option --config-cache.
22202 # It is not useful on other systems. If it contains results you don't
22203 # want to keep, you may remove or edit it.
22205 # config.status only pays attention to the cache file if you give it
22206 # the --recheck option to rerun configure.
22208 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22209 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22210 # following values.
22214 # The following way of writing the cache mishandles newlines in values,
22215 # but we know of no workaround that is simple, portable, and efficient.
22216 # So, don't put newlines in cache variables' values.
22217 # Ultrix sh set writes to stderr and can't be redirected directly,
22218 # and sets the high bit in the cache file unless we assign to the vars.
22221 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22223 # `set' does not quote correctly, so add quotes (double-quote
22224 # substitution turns \\\\ into \\, and sed turns \\ into \).
22227 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22230 # `set' quotes correctly as required by POSIX, so do not add quotes.
22232 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22239 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22241 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22243 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22244 if test -w $cache_file; then
22245 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22246 cat confcache >$cache_file
22248 echo "not updating unwritable cache $cache_file"
22253 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22254 # Let make expand exec_prefix.
22255 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22257 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22258 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22259 # trailing colons and then remove the whole line if VPATH becomes empty
22260 # (actually we leave an empty line to preserve line numbers).
22261 if test "x$srcdir" = x.; then
22262 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22263 s/:*\$(srcdir):*/:/;
22264 s/:*\${srcdir}:*/:/;
22266 s/^\([^=]*=[ ]*\):*/\1/;
22272 DEFS=-DHAVE_CONFIG_H
22276 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22277 # 1. Remove the extension, and $U if already installed.
22278 ac_i=`echo "$ac_i" |
22279 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22281 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22282 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22284 LIBOBJS=$ac_libobjs
22286 LTLIBOBJS=$ac_ltlibobjs
22289 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22290 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22291 Usually this means the macro was only invoked conditionally." >&5
22292 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22293 Usually this means the macro was only invoked conditionally." >&2;}
22294 { (exit 1); exit 1; }; }
22296 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22297 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22298 Usually this means the macro was only invoked conditionally." >&5
22299 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22300 Usually this means the macro was only invoked conditionally." >&2;}
22301 { (exit 1); exit 1; }; }
22303 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22304 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
22305 Usually this means the macro was only invoked conditionally." >&5
22306 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
22307 Usually this means the macro was only invoked conditionally." >&2;}
22308 { (exit 1); exit 1; }; }
22310 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
22311 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
22312 Usually this means the macro was only invoked conditionally." >&5
22313 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
22314 Usually this means the macro was only invoked conditionally." >&2;}
22315 { (exit 1); exit 1; }; }
22317 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
22318 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
22319 Usually this means the macro was only invoked conditionally." >&5
22320 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
22321 Usually this means the macro was only invoked conditionally." >&2;}
22322 { (exit 1); exit 1; }; }
22325 : ${CONFIG_STATUS=./config.status}
22326 ac_clean_files_save=$ac_clean_files
22327 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22328 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22329 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22330 cat >$CONFIG_STATUS <<_ACEOF
22332 # Generated by $as_me.
22333 # Run this file to recreate the current configuration.
22334 # Compiler output produced by configure, useful for debugging
22335 # configure, is in config.log if it exists.
22338 ac_cs_recheck=false
22340 SHELL=\${CONFIG_SHELL-$SHELL}
22343 cat >>$CONFIG_STATUS <<\_ACEOF
22344 ## --------------------- ##
22345 ## M4sh Initialization. ##
22346 ## --------------------- ##
22348 # Be Bourne compatible
22349 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22352 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22353 # is contrary to our usage. Disable this feature.
22354 alias -g '${1+"$@"}'='"$@"'
22355 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22358 DUALCASE=1; export DUALCASE # for MKS sh
22360 # Support unset when possible.
22361 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22368 # Work around bugs in pre-3.0 UWIN ksh.
22369 $as_unset ENV MAIL MAILPATH
22376 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22377 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22378 LC_TELEPHONE LC_TIME
22380 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22381 eval $as_var=C; export $as_var
22387 # Required to use basename.
22388 if expr a : '\(a\)' >/dev/null 2>&1; then
22394 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
22395 as_basename=basename
22401 # Name of the executable.
22402 as_me=`$as_basename "$0" ||
22403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22404 X"$0" : 'X\(//\)$' \| \
22405 X"$0" : 'X\(/\)$' \| \
22406 . : '\(.\)' 2>/dev/null ||
22408 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22409 /^X\/\(\/\/\)$/{ s//\1/; q; }
22410 /^X\/\(\/\).*/{ s//\1/; q; }
22414 # PATH needs CR, and LINENO needs CR and PATH.
22415 # Avoid depending upon Character Ranges.
22416 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22417 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22418 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22419 as_cr_digits='0123456789'
22420 as_cr_alnum=$as_cr_Letters$as_cr_digits
22422 # The user is always right.
22423 if test "${PATH_SEPARATOR+set}" != set; then
22424 echo "#! /bin/sh" >conf$$.sh
22425 echo "exit 0" >>conf$$.sh
22427 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22436 as_lineno_1=$LINENO
22437 as_lineno_2=$LINENO
22438 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22439 test "x$as_lineno_1" != "x$as_lineno_2" &&
22440 test "x$as_lineno_3" = "x$as_lineno_2" || {
22441 # Find who we are. Look in the path if we contain no path at all
22444 *[\\/]* ) as_myself=$0 ;;
22445 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22446 for as_dir in $PATH
22449 test -z "$as_dir" && as_dir=.
22450 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22455 # We did not find ourselves, most probably we were run as `sh COMMAND'
22456 # in which case we are not to be found in the path.
22457 if test "x$as_myself" = x; then
22460 if test ! -f "$as_myself"; then
22461 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22462 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22463 { (exit 1); exit 1; }; }
22465 case $CONFIG_SHELL in
22467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22468 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22471 test -z "$as_dir" && as_dir=.
22472 for as_base in sh bash ksh sh5; do
22475 if ("$as_dir/$as_base" -c '
22476 as_lineno_1=$LINENO
22477 as_lineno_2=$LINENO
22478 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22479 test "x$as_lineno_1" != "x$as_lineno_2" &&
22480 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
22481 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
22482 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
22483 CONFIG_SHELL=$as_dir/$as_base
22484 export CONFIG_SHELL
22485 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22493 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22494 # uniformly replaced by the line number. The first 'sed' inserts a
22495 # line-number line before each line; the second 'sed' does the real
22496 # work. The second script uses 'N' to pair each line-number line
22497 # with the numbered line, and appends trailing '-' during
22498 # substitution so that $LINENO is not a special case at line end.
22499 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22500 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22501 sed '=' <$as_myself |
22506 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22509 s,^['$as_cr_digits']*\n,,
22510 ' >$as_me.lineno &&
22511 chmod +x $as_me.lineno ||
22512 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22513 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22514 { (exit 1); exit 1; }; }
22516 # Don't try to exec as it changes $[0], causing all sort of problems
22517 # (the dirname of $[0] is not the place where we might find the
22518 # original and so on. Autoconf is especially sensible to this).
22520 # Exit status is that of the last command.
22525 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22526 *c*,-n*) ECHO_N= ECHO_C='
22528 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
22529 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
22532 if expr a : '\(a\)' >/dev/null 2>&1; then
22538 rm -f conf$$ conf$$.exe conf$$.file
22540 if ln -s conf$$.file conf$$ 2>/dev/null; then
22541 # We could just check for DJGPP; but this test a) works b) is more generic
22542 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22543 if test -f conf$$.exe; then
22544 # Don't use ln at all; we don't have any links
22549 elif ln conf$$.file conf$$ 2>/dev/null; then
22554 rm -f conf$$ conf$$.exe conf$$.file
22556 if mkdir -p . 2>/dev/null; then
22559 test -d ./-p && rmdir ./-p
22563 as_executable_p="test -f"
22565 # Sed expression to map a string onto a valid CPP name.
22566 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22568 # Sed expression to map a string onto a valid variable name.
22569 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22573 # We need space, tab and new line, in precisely that order.
22583 # Open the log real soon, to keep \$[0] and so on meaningful, and to
22584 # report actual input values of CONFIG_FILES etc. instead of their
22585 # values after options handling. Logging --version etc. is OK.
22589 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22590 ## Running $as_me. ##
22595 This file was extended by $as_me, which was
22596 generated by GNU Autoconf 2.59. Invocation command line was
22598 CONFIG_FILES = $CONFIG_FILES
22599 CONFIG_HEADERS = $CONFIG_HEADERS
22600 CONFIG_LINKS = $CONFIG_LINKS
22601 CONFIG_COMMANDS = $CONFIG_COMMANDS
22605 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22609 # Files that config.status was made for.
22610 if test -n "$ac_config_files"; then
22611 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22614 if test -n "$ac_config_headers"; then
22615 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22618 if test -n "$ac_config_links"; then
22619 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22622 if test -n "$ac_config_commands"; then
22623 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22626 cat >>$CONFIG_STATUS <<\_ACEOF
22629 \`$as_me' instantiates files from templates according to the
22630 current configuration.
22632 Usage: $0 [OPTIONS] [FILE]...
22634 -h, --help print this help, then exit
22635 -V, --version print version number, then exit
22636 -q, --quiet do not print progress messages
22637 -d, --debug don't remove temporary files
22638 --recheck update $as_me by reconfiguring in the same conditions
22639 --file=FILE[:TEMPLATE]
22640 instantiate the configuration file FILE
22641 --header=FILE[:TEMPLATE]
22642 instantiate the configuration header FILE
22644 Configuration files:
22647 Configuration headers:
22650 Configuration commands:
22653 Report bugs to <bug-autoconf@gnu.org>."
22656 cat >>$CONFIG_STATUS <<_ACEOF
22659 configured by $0, generated by GNU Autoconf 2.59,
22660 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
22662 Copyright (C) 2003 Free Software Foundation, Inc.
22663 This config.status script is free software; the Free Software Foundation
22664 gives unlimited permission to copy, distribute and modify it."
22669 cat >>$CONFIG_STATUS <<\_ACEOF
22670 # If no file are specified by the user, then we need to provide default
22671 # value. By we need to know if files were specified by the user.
22677 ac_option=`expr "x$1" : 'x\([^=]*\)='`
22678 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
22686 *) # This is not an option, so the user has probably given explicit
22689 ac_need_defaults=false;;
22693 # Handling of the options.
22695 cat >>$CONFIG_STATUS <<\_ACEOF
22696 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22698 --version | --vers* | -V )
22699 echo "$ac_cs_version"; exit 0 ;;
22701 # Conflict between --help and --header
22702 { { echo "$as_me:$LINENO: error: ambiguous option: $1
22703 Try \`$0 --help' for more information." >&5
22704 echo "$as_me: error: ambiguous option: $1
22705 Try \`$0 --help' for more information." >&2;}
22706 { (exit 1); exit 1; }; };;
22707 --help | --hel | -h )
22708 echo "$ac_cs_usage"; exit 0 ;;
22709 --debug | --d* | -d )
22711 --file | --fil | --fi | --f )
22713 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22714 ac_need_defaults=false;;
22715 --header | --heade | --head | --hea )
22717 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22718 ac_need_defaults=false;;
22719 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22720 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22723 # This is an error.
22724 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22725 Try \`$0 --help' for more information." >&5
22726 echo "$as_me: error: unrecognized option: $1
22727 Try \`$0 --help' for more information." >&2;}
22728 { (exit 1); exit 1; }; } ;;
22730 *) ac_config_targets="$ac_config_targets $1" ;;
22736 ac_configure_extra_args=
22738 if $ac_cs_silent; then
22740 ac_configure_extra_args="$ac_configure_extra_args --silent"
22744 cat >>$CONFIG_STATUS <<_ACEOF
22745 if \$ac_cs_recheck; then
22746 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22747 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22752 cat >>$CONFIG_STATUS <<_ACEOF
22754 # INIT-COMMANDS section.
22757 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22760 # The HP-UX ksh and POSIX shell print the target directory to stdout
22761 # if CDPATH is set.
22762 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22764 sed_quote_subst='$sed_quote_subst'
22765 double_quote_subst='$double_quote_subst'
22766 delay_variable_subst='$delay_variable_subst'
22767 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
22768 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
22769 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
22770 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
22771 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
22772 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
22773 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
22774 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
22775 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
22776 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
22777 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
22778 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
22779 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
22780 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
22781 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
22782 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
22783 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
22784 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
22785 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
22786 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
22787 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
22788 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
22789 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
22790 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
22791 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
22792 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
22793 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
22794 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22795 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
22796 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
22797 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
22798 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
22799 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
22800 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
22801 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
22802 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22803 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22804 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22805 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
22806 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
22807 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
22808 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
22809 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
22810 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
22811 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"`'
22812 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"`'
22813 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
22814 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
22815 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
22816 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
22817 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
22818 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
22819 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
22820 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
22821 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
22822 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
22823 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
22824 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
22825 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
22826 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
22827 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
22828 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
22829 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22830 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22831 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
22832 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
22833 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
22834 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
22835 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
22836 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22837 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22838 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22839 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22840 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22841 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22842 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
22843 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
22844 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
22845 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
22846 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
22847 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
22848 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
22849 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
22850 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
22851 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
22852 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
22853 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
22854 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
22855 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
22856 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
22857 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22858 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
22859 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
22860 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22861 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
22862 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
22863 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
22864 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
22865 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
22866 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
22867 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
22868 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
22869 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
22870 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
22871 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
22872 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22873 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22874 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22875 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
22876 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
22877 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
22878 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
22879 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
22880 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
22881 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
22882 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
22883 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
22884 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
22887 LTCFLAGS='$LTCFLAGS'
22888 compiler='$compiler_DEFAULT'
22890 # Quote evaled strings.
22902 deplibs_check_method \
22911 lt_cv_sys_global_symbol_pipe \
22912 lt_cv_sys_global_symbol_to_cdecl \
22913 lt_cv_sys_global_symbol_to_c_name_address \
22914 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22917 lt_prog_compiler_no_builtin_flag \
22918 lt_prog_compiler_wl \
22919 lt_prog_compiler_pic \
22920 lt_prog_compiler_static \
22921 lt_cv_prog_compiler_c_o \
22929 export_dynamic_flag_spec \
22930 whole_archive_flag_spec \
22931 compiler_needs_object \
22933 allow_undefined_flag \
22934 no_undefined_flag \
22935 hardcode_libdir_flag_spec \
22936 hardcode_libdir_flag_spec_ld \
22937 hardcode_libdir_separator \
22942 variables_saved_for_relink \
22944 library_names_spec \
22949 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
22950 *[\\\\\\\`\\"\\\$]*)
22951 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
22954 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22959 # Double-quote double-evaled strings.
22960 for var in reload_cmds \
22961 old_postinstall_cmds \
22962 old_postuninstall_cmds \
22964 extract_expsyms_cmds \
22965 old_archive_from_new_cmds \
22966 old_archive_from_expsyms_cmds \
22968 archive_expsym_cmds \
22970 module_expsym_cmds \
22971 export_symbols_cmds \
22974 postuninstall_cmds \
22976 sys_lib_search_path_spec \
22977 sys_lib_dlsearch_path_spec; do
22978 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
22979 *[\\\\\\\`\\"\\\$]*)
22980 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
22983 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22988 # Fix-up fallback echo if it was mangled by the above quoting rules.
22990 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
22994 ac_aux_dir='$ac_aux_dir'
22995 xsi_shell='$xsi_shell'
22996 lt_shell_append='$lt_shell_append'
22998 # See if we are running on zsh, and set the options which allow our
22999 # commands through without removal of \ escapes INIT.
23000 if test -n "\${ZSH_VERSION+set}" ; then
23001 setopt NO_GLOB_SUBST
23007 TIMESTAMP='$TIMESTAMP'
23013 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
23014 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
23016 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
23017 # Capture the value of LINGUAS because we need it to compute CATALOGS.
23018 LINGUAS="${LINGUAS-%UNSET%}"
23023 acx_cv_header_stdint="$acx_cv_header_stdint"
23024 acx_cv_type_int8_t="$acx_cv_type_int8_t"
23025 acx_cv_type_int16_t="$acx_cv_type_int16_t"
23026 acx_cv_type_int32_t="$acx_cv_type_int32_t"
23027 acx_cv_type_int64_t="$acx_cv_type_int64_t"
23028 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
23029 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
23030 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
23031 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
23032 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
23033 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
23034 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
23035 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
23036 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
23044 cat >>$CONFIG_STATUS <<\_ACEOF
23045 for ac_config_target in $ac_config_targets
23047 case "$ac_config_target" in
23048 # Handling of arguments.
23049 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23050 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
23051 "bfd-in3.h" ) CONFIG_FILES="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
23052 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
23053 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
23054 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
23055 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
23056 "bfd_stdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS bfd_stdint.h" ;;
23057 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
23058 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
23059 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23060 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23061 { (exit 1); exit 1; }; };;
23065 # If the user did not use the arguments to specify the items to instantiate,
23066 # then the envvar interface is used. Set only those that are not.
23067 # We use the long form for the default assignment because of an extremely
23068 # bizarre bug on SunOS 4.1.3.
23069 if $ac_need_defaults; then
23070 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23071 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23072 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23075 # Have a temporary directory for convenience. Make it in the build tree
23076 # simply because there is no reason to put it here, and in addition,
23077 # creating and moving files from /tmp can sometimes cause problems.
23078 # Create a temporary directory, and hook for its removal unless debugging.
23081 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23082 trap '{ (exit 1); exit 1; }' 1 2 13 15
23085 # Create a (secure) tmp directory for tmp files.
23088 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23089 test -n "$tmp" && test -d "$tmp"
23092 tmp=./confstat$$-$RANDOM
23093 (umask 077 && mkdir $tmp)
23096 echo "$me: cannot create a temporary directory in ." >&2
23097 { (exit 1); exit 1; }
23102 cat >>$CONFIG_STATUS <<_ACEOF
23105 # CONFIG_FILES section.
23108 # No need to generate the scripts if there are no CONFIG_FILES.
23109 # This happens for instance when ./config.status config.h
23110 if test -n "\$CONFIG_FILES"; then
23111 # Protect against being on the right side of a sed subst in config.status.
23112 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23113 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23114 s,@SHELL@,$SHELL,;t t
23115 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23116 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23117 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23118 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23119 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23120 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23121 s,@exec_prefix@,$exec_prefix,;t t
23122 s,@prefix@,$prefix,;t t
23123 s,@program_transform_name@,$program_transform_name,;t t
23124 s,@bindir@,$bindir,;t t
23125 s,@sbindir@,$sbindir,;t t
23126 s,@libexecdir@,$libexecdir,;t t
23127 s,@datadir@,$datadir,;t t
23128 s,@sysconfdir@,$sysconfdir,;t t
23129 s,@sharedstatedir@,$sharedstatedir,;t t
23130 s,@localstatedir@,$localstatedir,;t t
23131 s,@libdir@,$libdir,;t t
23132 s,@includedir@,$includedir,;t t
23133 s,@oldincludedir@,$oldincludedir,;t t
23134 s,@infodir@,$infodir,;t t
23135 s,@mandir@,$mandir,;t t
23136 s,@build_alias@,$build_alias,;t t
23137 s,@host_alias@,$host_alias,;t t
23138 s,@target_alias@,$target_alias,;t t
23139 s,@DEFS@,$DEFS,;t t
23140 s,@ECHO_C@,$ECHO_C,;t t
23141 s,@ECHO_N@,$ECHO_N,;t t
23142 s,@ECHO_T@,$ECHO_T,;t t
23143 s,@LIBS@,$LIBS,;t t
23144 s,@build@,$build,;t t
23145 s,@build_cpu@,$build_cpu,;t t
23146 s,@build_vendor@,$build_vendor,;t t
23147 s,@build_os@,$build_os,;t t
23148 s,@host@,$host,;t t
23149 s,@host_cpu@,$host_cpu,;t t
23150 s,@host_vendor@,$host_vendor,;t t
23151 s,@host_os@,$host_os,;t t
23152 s,@target@,$target,;t t
23153 s,@target_cpu@,$target_cpu,;t t
23154 s,@target_vendor@,$target_vendor,;t t
23155 s,@target_os@,$target_os,;t t
23157 s,@CFLAGS@,$CFLAGS,;t t
23158 s,@LDFLAGS@,$LDFLAGS,;t t
23159 s,@CPPFLAGS@,$CPPFLAGS,;t t
23160 s,@ac_ct_CC@,$ac_ct_CC,;t t
23161 s,@EXEEXT@,$EXEEXT,;t t
23162 s,@OBJEXT@,$OBJEXT,;t t
23163 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23164 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23165 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23166 s,@CYGPATH_W@,$CYGPATH_W,;t t
23167 s,@PACKAGE@,$PACKAGE,;t t
23168 s,@VERSION@,$VERSION,;t t
23169 s,@ACLOCAL@,$ACLOCAL,;t t
23170 s,@AUTOCONF@,$AUTOCONF,;t t
23171 s,@AUTOMAKE@,$AUTOMAKE,;t t
23172 s,@AUTOHEADER@,$AUTOHEADER,;t t
23173 s,@MAKEINFO@,$MAKEINFO,;t t
23174 s,@install_sh@,$install_sh,;t t
23175 s,@STRIP@,$STRIP,;t t
23176 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23177 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
23178 s,@mkdir_p@,$mkdir_p,;t t
23180 s,@SET_MAKE@,$SET_MAKE,;t t
23181 s,@am__leading_dot@,$am__leading_dot,;t t
23182 s,@AMTAR@,$AMTAR,;t t
23183 s,@am__tar@,$am__tar,;t t
23184 s,@am__untar@,$am__untar,;t t
23185 s,@DEPDIR@,$DEPDIR,;t t
23186 s,@am__include@,$am__include,;t t
23187 s,@am__quote@,$am__quote,;t t
23188 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
23189 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
23190 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
23191 s,@CCDEPMODE@,$CCDEPMODE,;t t
23192 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
23193 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
23195 s,@ac_ct_AR@,$ac_ct_AR,;t t
23196 s,@RANLIB@,$RANLIB,;t t
23197 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23199 s,@EGREP@,$EGREP,;t t
23200 s,@LIBTOOL@,$LIBTOOL,;t t
23202 s,@FGREP@,$FGREP,;t t
23203 s,@GREP@,$GREP,;t t
23205 s,@DUMPBIN@,$DUMPBIN,;t t
23206 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
23208 s,@LN_S@,$LN_S,;t t
23209 s,@OBJDUMP@,$OBJDUMP,;t t
23210 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
23211 s,@lt_ECHO@,$lt_ECHO,;t t
23212 s,@DSYMUTIL@,$DSYMUTIL,;t t
23213 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
23214 s,@NMEDIT@,$NMEDIT,;t t
23215 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
23216 s,@LIPO@,$LIPO,;t t
23217 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
23218 s,@OTOOL@,$OTOOL,;t t
23219 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
23220 s,@OTOOL64@,$OTOOL64,;t t
23221 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
23222 s,@DEBUGDIR@,$DEBUGDIR,;t t
23223 s,@PKGVERSION@,$PKGVERSION,;t t
23224 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
23225 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t
23226 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
23227 s,@NO_WERROR@,$NO_WERROR,;t t
23228 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
23229 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
23230 s,@MAINT@,$MAINT,;t t
23231 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
23232 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
23233 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
23234 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
23235 s,@host_noncanonical@,$host_noncanonical,;t t
23236 s,@target_noncanonical@,$target_noncanonical,;t t
23237 s,@bfdlibdir@,$bfdlibdir,;t t
23238 s,@bfdincludedir@,$bfdincludedir,;t t
23239 s,@USE_NLS@,$USE_NLS,;t t
23240 s,@LIBINTL@,$LIBINTL,;t t
23241 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
23242 s,@INCINTL@,$INCINTL,;t t
23243 s,@XGETTEXT@,$XGETTEXT,;t t
23244 s,@GMSGFMT@,$GMSGFMT,;t t
23245 s,@POSUB@,$POSUB,;t t
23246 s,@CATALOGS@,$CATALOGS,;t t
23247 s,@DATADIRNAME@,$DATADIRNAME,;t t
23248 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
23249 s,@GENCAT@,$GENCAT,;t t
23250 s,@CATOBJEXT@,$CATOBJEXT,;t t
23251 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
23252 s,@MSGFMT@,$MSGFMT,;t t
23253 s,@MSGMERGE@,$MSGMERGE,;t t
23254 s,@HDEFINES@,$HDEFINES,;t t
23255 s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
23256 s,@BFD_HOST_64BIT_LONG_LONG@,$BFD_HOST_64BIT_LONG_LONG,;t t
23257 s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
23258 s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
23259 s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
23260 s,@BFD_HOSTPTR_T@,$BFD_HOSTPTR_T,;t t
23261 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
23262 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
23263 s,@COREFILE@,$COREFILE,;t t
23264 s,@COREFLAG@,$COREFLAG,;t t
23265 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
23266 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
23267 s,@TDEFINES@,$TDEFINES,;t t
23268 s,@wordsize@,$wordsize,;t t
23269 s,@bfd64_libs@,$bfd64_libs,;t t
23270 s,@all_backends@,$all_backends,;t t
23271 s,@bfd_backends@,$bfd_backends,;t t
23272 s,@bfd_machines@,$bfd_machines,;t t
23273 s,@bfd_default_target_size@,$bfd_default_target_size,;t t
23274 s,@bfd_file_ptr@,$bfd_file_ptr,;t t
23275 s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
23276 s,@tdefaults@,$tdefaults,;t t
23277 s,@datarootdir@,$datarootdir,;t t
23278 s,@docdir@,$docdir,;t t
23279 s,@htmldir@,$htmldir,;t t
23280 s,@LIBOBJS@,$LIBOBJS,;t t
23281 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23286 cat >>$CONFIG_STATUS <<\_ACEOF
23287 # Split the substitutions into bite-sized pieces for seds with
23288 # small command number limits, like on Digital OSF/1 and HP-UX.
23289 ac_max_sed_lines=48
23290 ac_sed_frag=1 # Number of current file.
23291 ac_beg=1 # First line for current file.
23292 ac_end=$ac_max_sed_lines # Line after last line for current file.
23295 while $ac_more_lines; do
23296 if test $ac_beg -gt 1; then
23297 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23299 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23301 if test ! -s $tmp/subs.frag; then
23302 ac_more_lines=false
23304 # The purpose of the label and of the branching condition is to
23305 # speed up the sed processing (if there are no `@' at all, there
23306 # is no need to browse any of the substitutions).
23307 # These are the two extra sed commands mentioned above.
23309 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23310 if test -z "$ac_sed_cmds"; then
23311 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23313 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23315 ac_sed_frag=`expr $ac_sed_frag + 1`
23317 ac_end=`expr $ac_end + $ac_max_sed_lines`
23320 if test -z "$ac_sed_cmds"; then
23323 fi # test -n "$CONFIG_FILES"
23326 cat >>$CONFIG_STATUS <<\_ACEOF
23327 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23328 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23330 - | *:- | *:-:* ) # input from stdin
23332 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23333 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23334 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23335 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23336 * ) ac_file_in=$ac_file.in ;;
23339 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23340 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23341 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23342 X"$ac_file" : 'X\(//\)[^/]' \| \
23343 X"$ac_file" : 'X\(//\)$' \| \
23344 X"$ac_file" : 'X\(/\)' \| \
23345 . : '\(.\)' 2>/dev/null ||
23347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23348 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23349 /^X\(\/\/\)$/{ s//\1/; q; }
23350 /^X\(\/\).*/{ s//\1/; q; }
23352 { if $as_mkdir_p; then
23357 while test ! -d "$as_dir"; do
23358 as_dirs="$as_dir $as_dirs"
23359 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23360 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23361 X"$as_dir" : 'X\(//\)[^/]' \| \
23362 X"$as_dir" : 'X\(//\)$' \| \
23363 X"$as_dir" : 'X\(/\)' \| \
23364 . : '\(.\)' 2>/dev/null ||
23366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23367 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23368 /^X\(\/\/\)$/{ s//\1/; q; }
23369 /^X\(\/\).*/{ s//\1/; q; }
23372 test ! -n "$as_dirs" || mkdir $as_dirs
23373 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23374 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23375 { (exit 1); exit 1; }; }; }
23379 if test "$ac_dir" != .; then
23380 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23381 # A "../" for each directory in $ac_dir_suffix.
23382 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23384 ac_dir_suffix= ac_top_builddir=
23388 .) # No --srcdir option. We are building in place.
23390 if test -z "$ac_top_builddir"; then
23393 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23395 [\\/]* | ?:[\\/]* ) # Absolute path.
23396 ac_srcdir=$srcdir$ac_dir_suffix;
23397 ac_top_srcdir=$srcdir ;;
23398 *) # Relative path.
23399 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23400 ac_top_srcdir=$ac_top_builddir$srcdir ;;
23403 # Do not use `cd foo && pwd` to compute absolute paths, because
23404 # the directories may not exist.
23406 .) ac_abs_builddir="$ac_dir";;
23409 .) ac_abs_builddir=`pwd`;;
23410 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23411 *) ac_abs_builddir=`pwd`/"$ac_dir";;
23414 case $ac_abs_builddir in
23415 .) ac_abs_top_builddir=${ac_top_builddir}.;;
23417 case ${ac_top_builddir}. in
23418 .) ac_abs_top_builddir=$ac_abs_builddir;;
23419 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23420 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23423 case $ac_abs_builddir in
23424 .) ac_abs_srcdir=$ac_srcdir;;
23427 .) ac_abs_srcdir=$ac_abs_builddir;;
23428 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23429 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23432 case $ac_abs_builddir in
23433 .) ac_abs_top_srcdir=$ac_top_srcdir;;
23435 case $ac_top_srcdir in
23436 .) ac_abs_top_srcdir=$ac_abs_builddir;;
23437 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23438 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23444 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23445 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
23448 if test x"$ac_file" != x-; then
23449 { echo "$as_me:$LINENO: creating $ac_file" >&5
23450 echo "$as_me: creating $ac_file" >&6;}
23453 # Let's still pretend it is `configure' which instantiates (i.e., don't
23454 # use $as_me), people would be surprised to read:
23455 # /* config.h. Generated by config.status. */
23456 if test x"$ac_file" = x-; then
23459 configure_input="$ac_file. "
23461 configure_input=$configure_input"Generated from `echo $ac_file_in |
23462 sed 's,.*/,,'` by configure."
23464 # First look for the input files in the build tree, otherwise in the
23466 ac_file_inputs=`IFS=:
23467 for f in $ac_file_in; do
23469 -) echo $tmp/stdin ;;
23471 # Absolute (can't be DOS-style, as IFS=:)
23472 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23473 echo "$as_me: error: cannot find input file: $f" >&2;}
23474 { (exit 1); exit 1; }; }
23477 if test -f "$f"; then
23480 elif test -f "$srcdir/$f"; then
23485 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23486 echo "$as_me: error: cannot find input file: $f" >&2;}
23487 { (exit 1); exit 1; }; }
23490 done` || { (exit 1); exit 1; }
23492 cat >>$CONFIG_STATUS <<_ACEOF
23496 cat >>$CONFIG_STATUS <<\_ACEOF
23498 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23499 s,@configure_input@,$configure_input,;t t
23500 s,@srcdir@,$ac_srcdir,;t t
23501 s,@abs_srcdir@,$ac_abs_srcdir,;t t
23502 s,@top_srcdir@,$ac_top_srcdir,;t t
23503 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23504 s,@builddir@,$ac_builddir,;t t
23505 s,@abs_builddir@,$ac_abs_builddir,;t t
23506 s,@top_builddir@,$ac_top_builddir,;t t
23507 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
23508 s,@INSTALL@,$ac_INSTALL,;t t
23509 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23511 if test x"$ac_file" != x-; then
23512 mv $tmp/out $ac_file
23520 cat >>$CONFIG_STATUS <<\_ACEOF
23523 # CONFIG_HEADER section.
23526 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
23527 # NAME is the cpp macro being defined and VALUE is the value it is being given.
23529 # ac_d sets the value in "#define NAME VALUE" lines.
23530 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23531 ac_dB='[ ].*$,\1#\2'
23534 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23535 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23536 ac_uB='$,\1#\2define\3'
23540 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
23541 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23543 - | *:- | *:-:* ) # input from stdin
23545 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23546 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23547 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23548 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23549 * ) ac_file_in=$ac_file.in ;;
23552 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
23553 echo "$as_me: creating $ac_file" >&6;}
23555 # First look for the input files in the build tree, otherwise in the
23557 ac_file_inputs=`IFS=:
23558 for f in $ac_file_in; do
23560 -) echo $tmp/stdin ;;
23562 # Absolute (can't be DOS-style, as IFS=:)
23563 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23564 echo "$as_me: error: cannot find input file: $f" >&2;}
23565 { (exit 1); exit 1; }; }
23566 # Do quote $f, to prevent DOS paths from being IFS'd.
23569 if test -f "$f"; then
23572 elif test -f "$srcdir/$f"; then
23577 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23578 echo "$as_me: error: cannot find input file: $f" >&2;}
23579 { (exit 1); exit 1; }; }
23582 done` || { (exit 1); exit 1; }
23583 # Remove the trailing spaces.
23584 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
23588 # Transform confdefs.h into two sed scripts, `conftest.defines' and
23589 # `conftest.undefs', that substitutes the proper values into
23590 # config.h.in to produce config.h. The first handles `#define'
23591 # templates, and the second `#undef' templates.
23592 # And first: Protect against being on the right side of a sed subst in
23593 # config.status. Protect against being in an unquoted here document
23594 # in config.status.
23595 rm -f conftest.defines conftest.undefs
23596 # Using a here document instead of a string reduces the quoting nightmare.
23597 # Putting comments in sed scripts is not portable.
23599 # `end' is used to avoid that the second main sed command (meant for
23600 # 0-ary CPP macros) applies to n-ary macro definitions.
23601 # See the Autoconf documentation for `clear'.
23602 cat >confdef2sed.sed <<\_ACEOF
23607 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23609 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23612 # If some macros were called several times there might be several times
23613 # the same #defines, which is useless. Nevertheless, we may not want to
23614 # sort them, since we want the *last* AC-DEFINE to be honored.
23615 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23616 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23617 rm -f confdef2sed.sed
23619 # This sed command replaces #undef with comments. This is necessary, for
23620 # example, in the case of _POSIX_SOURCE, which is predefined and required
23621 # on some systems where configure will not decide to define it.
23622 cat >>conftest.undefs <<\_ACEOF
23623 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23626 # Break up conftest.defines because some shells have a limit on the size
23627 # of here documents, and old seds have small limits too (100 cmds).
23628 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23629 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23630 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23631 echo ' :' >>$CONFIG_STATUS
23632 rm -f conftest.tail
23633 while grep . conftest.defines >/dev/null
23635 # Write a limited-size here document to $tmp/defines.sed.
23636 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23637 # Speed up: don't consider the non `#define' lines.
23638 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
23639 # Work around the forget-to-reset-the-flag bug.
23640 echo 't clr' >>$CONFIG_STATUS
23641 echo ': clr' >>$CONFIG_STATUS
23642 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
23644 sed -f $tmp/defines.sed $tmp/in >$tmp/out
23646 mv $tmp/out $tmp/in
23648 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
23649 rm -f conftest.defines
23650 mv conftest.tail conftest.defines
23652 rm -f conftest.defines
23653 echo ' fi # grep' >>$CONFIG_STATUS
23654 echo >>$CONFIG_STATUS
23656 # Break up conftest.undefs because some shells have a limit on the size
23657 # of here documents, and old seds have small limits too (100 cmds).
23658 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23659 rm -f conftest.tail
23660 while grep . conftest.undefs >/dev/null
23662 # Write a limited-size here document to $tmp/undefs.sed.
23663 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23664 # Speed up: don't consider the non `#undef'
23665 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23666 # Work around the forget-to-reset-the-flag bug.
23667 echo 't clr' >>$CONFIG_STATUS
23668 echo ': clr' >>$CONFIG_STATUS
23669 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23671 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23673 mv $tmp/out $tmp/in
23675 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23676 rm -f conftest.undefs
23677 mv conftest.tail conftest.undefs
23679 rm -f conftest.undefs
23681 cat >>$CONFIG_STATUS <<\_ACEOF
23682 # Let's still pretend it is `configure' which instantiates (i.e., don't
23683 # use $as_me), people would be surprised to read:
23684 # /* config.h. Generated by config.status. */
23685 if test x"$ac_file" = x-; then
23686 echo "/* Generated by configure. */" >$tmp/config.h
23688 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23690 cat $tmp/in >>$tmp/config.h
23692 if test x"$ac_file" != x-; then
23693 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
23694 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23695 echo "$as_me: $ac_file is unchanged" >&6;}
23697 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23698 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23699 X"$ac_file" : 'X\(//\)[^/]' \| \
23700 X"$ac_file" : 'X\(//\)$' \| \
23701 X"$ac_file" : 'X\(/\)' \| \
23702 . : '\(.\)' 2>/dev/null ||
23704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23705 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23706 /^X\(\/\/\)$/{ s//\1/; q; }
23707 /^X\(\/\).*/{ s//\1/; q; }
23709 { if $as_mkdir_p; then
23714 while test ! -d "$as_dir"; do
23715 as_dirs="$as_dir $as_dirs"
23716 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23717 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23718 X"$as_dir" : 'X\(//\)[^/]' \| \
23719 X"$as_dir" : 'X\(//\)$' \| \
23720 X"$as_dir" : 'X\(/\)' \| \
23721 . : '\(.\)' 2>/dev/null ||
23723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23724 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23725 /^X\(\/\/\)$/{ s//\1/; q; }
23726 /^X\(\/\).*/{ s//\1/; q; }
23729 test ! -n "$as_dirs" || mkdir $as_dirs
23730 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23731 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23732 { (exit 1); exit 1; }; }; }
23735 mv $tmp/config.h $ac_file
23739 rm -f $tmp/config.h
23741 # Compute $ac_file's index in $config_headers.
23743 for _am_header in $config_headers :; do
23744 case $_am_header in
23745 $ac_file | $ac_file:* )
23748 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
23751 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
23752 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23753 X$ac_file : 'X\(//\)[^/]' \| \
23754 X$ac_file : 'X\(//\)$' \| \
23755 X$ac_file : 'X\(/\)' \| \
23756 . : '\(.\)' 2>/dev/null ||
23758 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23759 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23760 /^X\(\/\/\)$/{ s//\1/; q; }
23761 /^X\(\/\).*/{ s//\1/; q; }
23762 s/.*/./; q'`/stamp-h$_am_stamp_count
23765 cat >>$CONFIG_STATUS <<\_ACEOF
23768 # CONFIG_COMMANDS section.
23770 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
23771 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
23772 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
23773 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
23774 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23775 X"$ac_dest" : 'X\(//\)[^/]' \| \
23776 X"$ac_dest" : 'X\(//\)$' \| \
23777 X"$ac_dest" : 'X\(/\)' \| \
23778 . : '\(.\)' 2>/dev/null ||
23780 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23781 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23782 /^X\(\/\/\)$/{ s//\1/; q; }
23783 /^X\(\/\).*/{ s//\1/; q; }
23785 { if $as_mkdir_p; then
23790 while test ! -d "$as_dir"; do
23791 as_dirs="$as_dir $as_dirs"
23792 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23793 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23794 X"$as_dir" : 'X\(//\)[^/]' \| \
23795 X"$as_dir" : 'X\(//\)$' \| \
23796 X"$as_dir" : 'X\(/\)' \| \
23797 . : '\(.\)' 2>/dev/null ||
23799 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23800 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23801 /^X\(\/\/\)$/{ s//\1/; q; }
23802 /^X\(\/\).*/{ s//\1/; q; }
23805 test ! -n "$as_dirs" || mkdir $as_dirs
23806 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23807 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23808 { (exit 1); exit 1; }; }; }
23812 if test "$ac_dir" != .; then
23813 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23814 # A "../" for each directory in $ac_dir_suffix.
23815 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23817 ac_dir_suffix= ac_top_builddir=
23821 .) # No --srcdir option. We are building in place.
23823 if test -z "$ac_top_builddir"; then
23826 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23828 [\\/]* | ?:[\\/]* ) # Absolute path.
23829 ac_srcdir=$srcdir$ac_dir_suffix;
23830 ac_top_srcdir=$srcdir ;;
23831 *) # Relative path.
23832 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23833 ac_top_srcdir=$ac_top_builddir$srcdir ;;
23836 # Do not use `cd foo && pwd` to compute absolute paths, because
23837 # the directories may not exist.
23839 .) ac_abs_builddir="$ac_dir";;
23842 .) ac_abs_builddir=`pwd`;;
23843 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23844 *) ac_abs_builddir=`pwd`/"$ac_dir";;
23847 case $ac_abs_builddir in
23848 .) ac_abs_top_builddir=${ac_top_builddir}.;;
23850 case ${ac_top_builddir}. in
23851 .) ac_abs_top_builddir=$ac_abs_builddir;;
23852 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23853 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23856 case $ac_abs_builddir in
23857 .) ac_abs_srcdir=$ac_srcdir;;
23860 .) ac_abs_srcdir=$ac_abs_builddir;;
23861 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23862 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23865 case $ac_abs_builddir in
23866 .) ac_abs_top_srcdir=$ac_top_srcdir;;
23868 case $ac_top_srcdir in
23869 .) ac_abs_top_srcdir=$ac_abs_builddir;;
23870 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23871 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23876 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23877 echo "$as_me: executing $ac_dest commands" >&6;}
23879 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
23880 # Strip MF so we end up with the name of the file.
23881 mf=`echo "$mf" | sed -e 's/:.*$//'`
23882 # Check whether this is an Automake generated Makefile or not.
23883 # We used to match only the files named `Makefile.in', but
23884 # some people rename them; so instead we look at the file content.
23885 # Grep'ing the first line is not enough: some people post-process
23886 # each Makefile.in and add a new line on top of each file to say so.
23887 # So let's grep whole file.
23888 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
23889 dirpart=`(dirname "$mf") 2>/dev/null ||
23890 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23891 X"$mf" : 'X\(//\)[^/]' \| \
23892 X"$mf" : 'X\(//\)$' \| \
23893 X"$mf" : 'X\(/\)' \| \
23894 . : '\(.\)' 2>/dev/null ||
23896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23897 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23898 /^X\(\/\/\)$/{ s//\1/; q; }
23899 /^X\(\/\).*/{ s//\1/; q; }
23904 # Extract the definition of DEPDIR, am__include, and am__quote
23905 # from the Makefile without running `make'.
23906 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
23907 test -z "$DEPDIR" && continue
23908 am__include=`sed -n 's/^am__include = //p' < "$mf"`
23909 test -z "am__include" && continue
23910 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
23911 # When using ansi2knr, U may be empty or an underscore; expand it
23912 U=`sed -n 's/^U = //p' < "$mf"`
23913 # Find all dependency output files, they are included files with
23914 # $(DEPDIR) in their names. We invoke sed twice because it is the
23915 # simplest approach to changing $(DEPDIR) to its actual value in the
23917 for file in `sed -n "
23918 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23919 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23920 # Make sure the directory exists.
23921 test -f "$dirpart/$file" && continue
23922 fdir=`(dirname "$file") 2>/dev/null ||
23923 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23924 X"$file" : 'X\(//\)[^/]' \| \
23925 X"$file" : 'X\(//\)$' \| \
23926 X"$file" : 'X\(/\)' \| \
23927 . : '\(.\)' 2>/dev/null ||
23929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23930 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23931 /^X\(\/\/\)$/{ s//\1/; q; }
23932 /^X\(\/\).*/{ s//\1/; q; }
23934 { if $as_mkdir_p; then
23935 mkdir -p $dirpart/$fdir
23937 as_dir=$dirpart/$fdir
23939 while test ! -d "$as_dir"; do
23940 as_dirs="$as_dir $as_dirs"
23941 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23942 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23943 X"$as_dir" : 'X\(//\)[^/]' \| \
23944 X"$as_dir" : 'X\(//\)$' \| \
23945 X"$as_dir" : 'X\(/\)' \| \
23946 . : '\(.\)' 2>/dev/null ||
23948 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23949 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23950 /^X\(\/\/\)$/{ s//\1/; q; }
23951 /^X\(\/\).*/{ s//\1/; q; }
23954 test ! -n "$as_dirs" || mkdir $as_dirs
23955 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
23956 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
23957 { (exit 1); exit 1; }; }; }
23959 # echo "creating $dirpart/$file"
23960 echo '# dummy' > "$dirpart/$file"
23966 # See if we are running on zsh, and set the options which allow our
23967 # commands through without removal of \ escapes.
23968 if test -n "${ZSH_VERSION+set}" ; then
23969 setopt NO_GLOB_SUBST
23972 cfgfile="${ofile}T"
23973 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23976 cat <<_LT_EOF >> "$cfgfile"
23979 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
23980 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
23981 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23982 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23984 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
23985 # 2006, 2007, 2008 Free Software Foundation, Inc.
23986 # Written by Gordon Matzigkeit, 1996
23988 # This file is part of GNU Libtool.
23990 # GNU Libtool is free software; you can redistribute it and/or
23991 # modify it under the terms of the GNU General Public License as
23992 # published by the Free Software Foundation; either version 2 of
23993 # the License, or (at your option) any later version.
23995 # As a special exception to the GNU General Public License,
23996 # if you distribute this file as part of a program or library that
23997 # is built using GNU Libtool, you may include this file under the
23998 # same distribution terms that you use for the rest of that program.
24000 # GNU Libtool is distributed in the hope that it will be useful,
24001 # but WITHOUT ANY WARRANTY; without even the implied warranty of
24002 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24003 # GNU General Public License for more details.
24005 # You should have received a copy of the GNU General Public License
24006 # along with GNU Libtool; see the file COPYING. If not, a copy
24007 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
24008 # obtained by writing to the Free Software Foundation, Inc.,
24009 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24012 # The names of the tagged configurations supported by this script.
24015 # ### BEGIN LIBTOOL CONFIG
24017 # Whether or not to build shared libraries.
24018 build_libtool_libs=$enable_shared
24020 # Which release of libtool.m4 was used?
24021 macro_version=$macro_version
24022 macro_revision=$macro_revision
24024 # Whether or not to build static libraries.
24025 build_old_libs=$enable_static
24027 # What type of objects to build.
24030 # Whether or not to optimize for fast installation.
24031 fast_install=$enable_fast_install
24034 host_alias=$host_alias
24038 # The build system.
24039 build_alias=$build_alias
24043 # A sed program that does not truncate output.
24046 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
24047 Xsed="\$SED -e 1s/^X//"
24049 # A grep program that handles long lines.
24055 # A literal string matcher.
24058 # A BSD- or MS-compatible name lister.
24061 # Whether we need soft or hard links.
24064 # What is the maximum length of a command?
24065 max_cmd_len=$max_cmd_len
24067 # Object file suffix (normally "o").
24070 # Executable file suffix (normally "").
24073 # whether the shell understands "unset".
24076 # turn spaces into newlines.
24079 # turn newlines into spaces.
24082 # How to create reloadable object files.
24083 reload_flag=$lt_reload_flag
24084 reload_cmds=$lt_reload_cmds
24086 # An object symbol dumper.
24087 OBJDUMP=$lt_OBJDUMP
24089 # Method to check whether dependent libraries are shared objects.
24090 deplibs_check_method=$lt_deplibs_check_method
24092 # Command to use when deplibs_check_method == "file_magic".
24093 file_magic_cmd=$lt_file_magic_cmd
24097 AR_FLAGS=$lt_AR_FLAGS
24099 # A symbol stripping program.
24102 # Commands used to install an old-style archive.
24104 old_postinstall_cmds=$lt_old_postinstall_cmds
24105 old_postuninstall_cmds=$lt_old_postuninstall_cmds
24110 # LTCC compiler flags.
24111 LTCFLAGS=$lt_CFLAGS
24113 # Take the output of nm and produce a listing of raw symbols and C names.
24114 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24116 # Transform the output of nm in a proper C declaration.
24117 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24119 # Transform the output of nm in a C name address pair.
24120 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24122 # Transform the output of nm in a C name address pair when lib prefix is needed.
24123 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
24125 # The name of the directory that contains temporary libtool files.
24128 # Shell to use when invoking shell scripts.
24131 # An echo program that does not interpret backslashes.
24134 # Used to examine libraries when file_magic_cmd begins with "file".
24135 MAGIC_CMD=$MAGIC_CMD
24137 # Must we lock files when doing compilation?
24138 need_locks=$lt_need_locks
24140 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
24141 DSYMUTIL=$lt_DSYMUTIL
24143 # Tool to change global to local symbols on Mac OS X.
24146 # Tool to manipulate fat objects and archives on Mac OS X.
24149 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
24152 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
24153 OTOOL64=$lt_OTOOL64
24155 # Old archive suffix (normally "a").
24158 # Shared library suffix (normally ".so").
24159 shrext_cmds=$lt_shrext_cmds
24161 # The commands to extract the exported symbol list from a shared archive.
24162 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24164 # Variables whose values should be saved in libtool wrapper scripts and
24165 # restored at link time.
24166 variables_saved_for_relink=$lt_variables_saved_for_relink
24168 # Do we need the "lib" prefix for modules?
24169 need_lib_prefix=$need_lib_prefix
24171 # Do we need a version for libraries?
24172 need_version=$need_version
24174 # Library versioning type.
24175 version_type=$version_type
24177 # Shared library runtime path variable.
24178 runpath_var=$runpath_var
24180 # Shared library path variable.
24181 shlibpath_var=$shlibpath_var
24183 # Is shlibpath searched before the hard-coded library search path?
24184 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24186 # Format of library name prefix.
24187 libname_spec=$lt_libname_spec
24189 # List of archive names. First name is the real one, the rest are links.
24190 # The last name is the one that the linker finds with -lNAME
24191 library_names_spec=$lt_library_names_spec
24193 # The coded name of the library, if different from the real name.
24194 soname_spec=$lt_soname_spec
24196 # Command to use after installation of a shared archive.
24197 postinstall_cmds=$lt_postinstall_cmds
24199 # Command to use after uninstallation of a shared archive.
24200 postuninstall_cmds=$lt_postuninstall_cmds
24202 # Commands used to finish a libtool library installation in a directory.
24203 finish_cmds=$lt_finish_cmds
24205 # As "finish_cmds", except a single script fragment to be evaled but
24207 finish_eval=$lt_finish_eval
24209 # Whether we should hardcode library paths into libraries.
24210 hardcode_into_libs=$hardcode_into_libs
24212 # Compile-time system search path for libraries.
24213 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24215 # Run-time system search path for libraries.
24216 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24218 # Whether dlopen is supported.
24219 dlopen_support=$enable_dlopen
24221 # Whether dlopen of programs is supported.
24222 dlopen_self=$enable_dlopen_self
24224 # Whether dlopen of statically linked programs is supported.
24225 dlopen_self_static=$enable_dlopen_self_static
24227 # Commands to strip libraries.
24228 old_striplib=$lt_old_striplib
24229 striplib=$lt_striplib
24232 # The linker used to build libraries.
24235 # Commands used to build an old-style archive.
24236 old_archive_cmds=$lt_old_archive_cmds
24238 # A language specific compiler.
24241 # Is the compiler the GNU compiler?
24244 # Compiler flag to turn off builtin functions.
24245 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24247 # How to pass a linker flag through the compiler.
24248 wl=$lt_lt_prog_compiler_wl
24250 # Additional compiler flags for building library objects.
24251 pic_flag=$lt_lt_prog_compiler_pic
24253 # Compiler flag to prevent dynamic linking.
24254 link_static_flag=$lt_lt_prog_compiler_static
24256 # Does compiler simultaneously support -c and -o options?
24257 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24259 # Whether or not to add -lc for building shared libraries.
24260 build_libtool_need_lc=$archive_cmds_need_lc
24262 # Whether or not to disallow shared libs when runtime libs are static.
24263 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24265 # Compiler flag to allow reflexive dlopens.
24266 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24268 # Compiler flag to generate shared objects directly from archives.
24269 whole_archive_flag_spec=$lt_whole_archive_flag_spec
24271 # Whether the compiler copes with passing no objects directly.
24272 compiler_needs_object=$lt_compiler_needs_object
24274 # Create an old-style archive from a shared archive.
24275 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24277 # Create a temporary old-style archive to link instead of a shared archive.
24278 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24280 # Commands used to build a shared archive.
24281 archive_cmds=$lt_archive_cmds
24282 archive_expsym_cmds=$lt_archive_expsym_cmds
24284 # Commands used to build a loadable module if different from building
24285 # a shared archive.
24286 module_cmds=$lt_module_cmds
24287 module_expsym_cmds=$lt_module_expsym_cmds
24289 # Whether we are building with GNU ld or not.
24290 with_gnu_ld=$lt_with_gnu_ld
24292 # Flag that allows shared libraries with undefined symbols to be built.
24293 allow_undefined_flag=$lt_allow_undefined_flag
24295 # Flag that enforces no undefined symbols.
24296 no_undefined_flag=$lt_no_undefined_flag
24298 # Flag to hardcode \$libdir into a binary during linking.
24299 # This must work even if \$libdir does not exist
24300 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24302 # If ld is used when linking, flag to hardcode \$libdir into a binary
24303 # during linking. This must work even if \$libdir does not exist.
24304 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
24306 # Whether we need a single "-rpath" flag with a separated argument.
24307 hardcode_libdir_separator=$lt_hardcode_libdir_separator
24309 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24310 # DIR into the resulting binary.
24311 hardcode_direct=$hardcode_direct
24313 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24314 # DIR into the resulting binary and the resulting library dependency is
24315 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24316 # library is relocated.
24317 hardcode_direct_absolute=$hardcode_direct_absolute
24319 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24320 # into the resulting binary.
24321 hardcode_minus_L=$hardcode_minus_L
24323 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24324 # into the resulting binary.
24325 hardcode_shlibpath_var=$hardcode_shlibpath_var
24327 # Set to "yes" if building a shared library automatically hardcodes DIR
24328 # into the library and all subsequent libraries and executables linked
24330 hardcode_automatic=$hardcode_automatic
24332 # Set to yes if linker adds runtime paths of dependent libraries
24333 # to runtime path list.
24334 inherit_rpath=$inherit_rpath
24336 # Whether libtool must link a program against all its dependency libraries.
24337 link_all_deplibs=$link_all_deplibs
24339 # Fix the shell variable \$srcfile for the compiler.
24340 fix_srcfile_path=$lt_fix_srcfile_path
24342 # Set to "yes" if exported symbols are required.
24343 always_export_symbols=$always_export_symbols
24345 # The commands to list exported symbols.
24346 export_symbols_cmds=$lt_export_symbols_cmds
24348 # Symbols that should not be listed in the preloaded symbols.
24349 exclude_expsyms=$lt_exclude_expsyms
24351 # Symbols that must always be exported.
24352 include_expsyms=$lt_include_expsyms
24354 # Commands necessary for linking programs (against libraries) with templates.
24355 prelink_cmds=$lt_prelink_cmds
24357 # Specify filename containing input files.
24358 file_list_spec=$lt_file_list_spec
24360 # How to hardcode a shared library path into an executable.
24361 hardcode_action=$hardcode_action
24363 # ### END LIBTOOL CONFIG
24369 cat <<\_LT_EOF >> "$cfgfile"
24370 # AIX sometimes has problems with the GCC collect2 program. For some
24371 # reason, if we set the COLLECT_NAMES environment variable, the problems
24372 # vanish in a puff of smoke.
24373 if test "X${COLLECT_NAMES+set}" != Xset; then
24375 export COLLECT_NAMES
24382 ltmain="$ac_aux_dir/ltmain.sh"
24385 # We use sed instead of cat because bash on DJGPP gets confused if
24386 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24387 # text mode, it properly converts lines to CR/LF. This bash problem
24388 # is reportedly fixed, but why not run on old versions too?
24389 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
24390 || (rm -f "$cfgfile"; exit 1)
24394 cat << \_LT_EOF >> "$cfgfile"
24396 # func_dirname file append nondir_replacement
24397 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
24398 # otherwise set result to NONDIR_REPLACEMENT.
24402 */*) func_dirname_result="${1%/*}${2}" ;;
24403 * ) func_dirname_result="${3}" ;;
24407 # func_basename file
24410 func_basename_result="${1##*/}"
24413 # func_dirname_and_basename file append nondir_replacement
24414 # perform func_basename and func_dirname in a single function
24416 # dirname: Compute the dirname of FILE. If nonempty,
24417 # add APPEND to the result, otherwise set result
24418 # to NONDIR_REPLACEMENT.
24419 # value returned in "$func_dirname_result"
24420 # basename: Compute filename of FILE.
24421 # value retuned in "$func_basename_result"
24422 # Implementation must be kept synchronized with func_dirname
24423 # and func_basename. For efficiency, we do not delegate to
24424 # those functions but instead duplicate the functionality here.
24425 func_dirname_and_basename ()
24428 */*) func_dirname_result="${1%/*}${2}" ;;
24429 * ) func_dirname_result="${3}" ;;
24431 func_basename_result="${1##*/}"
24434 # func_stripname prefix suffix name
24435 # strip PREFIX and SUFFIX off of NAME.
24436 # PREFIX and SUFFIX must not contain globbing or regex special
24437 # characters, hashes, percent signs, but SUFFIX may contain a leading
24438 # dot (in which case that matches only a dot).
24441 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
24442 # positional parameters, so assign one to ordinary parameter first.
24443 func_stripname_result=${3}
24444 func_stripname_result=${func_stripname_result#"${1}"}
24445 func_stripname_result=${func_stripname_result%"${2}"}
24451 func_opt_split_opt=${1%%=*}
24452 func_opt_split_arg=${1#*=}
24459 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
24460 *) func_lo2o_result=${1} ;;
24464 # func_xform libobj-or-source
24467 func_xform_result=${1%.*}.lo
24470 # func_arith arithmetic-term...
24473 func_arith_result=$(( $* ))
24477 # STRING may not start with a hyphen.
24480 func_len_result=${#1}
24485 *) # Bourne compatible functions.
24486 cat << \_LT_EOF >> "$cfgfile"
24488 # func_dirname file append nondir_replacement
24489 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
24490 # otherwise set result to NONDIR_REPLACEMENT.
24493 # Extract subdirectory from the argument.
24494 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
24495 if test "X$func_dirname_result" = "X${1}"; then
24496 func_dirname_result="${3}"
24498 func_dirname_result="$func_dirname_result${2}"
24502 # func_basename file
24505 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
24509 # func_stripname prefix suffix name
24510 # strip PREFIX and SUFFIX off of NAME.
24511 # PREFIX and SUFFIX must not contain globbing or regex special
24512 # characters, hashes, percent signs, but SUFFIX may contain a leading
24513 # dot (in which case that matches only a dot).
24514 # func_strip_suffix prefix name
24518 .*) func_stripname_result=`$ECHO "X${3}" \
24519 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
24520 *) func_stripname_result=`$ECHO "X${3}" \
24521 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
24526 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
24527 my_sed_long_arg='1s/^-[^=]*=//'
24532 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
24533 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
24539 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
24542 # func_xform libobj-or-source
24545 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
24548 # func_arith arithmetic-term...
24551 func_arith_result=`expr "$@"`
24555 # STRING may not start with a hyphen.
24558 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
24564 case $lt_shell_append in
24566 cat << \_LT_EOF >> "$cfgfile"
24568 # func_append var value
24569 # Append VALUE to the end of shell variable VAR.
24577 cat << \_LT_EOF >> "$cfgfile"
24579 # func_append var value
24580 # Append VALUE to the end of shell variable VAR.
24591 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
24592 || (rm -f "$cfgfile"; exit 1)
24594 mv -f "$cfgfile" "$ofile" ||
24595 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24600 for ac_file in $CONFIG_FILES; do
24601 # Support "outfile[:infile[:infile...]]"
24603 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24605 # PO directories have a Makefile.in generated from Makefile.in.in.
24606 case "$ac_file" in */Makefile.in)
24607 # Adjust a relative srcdir.
24608 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
24609 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
24610 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
24611 # In autoconf-2.13 it is called $ac_given_srcdir.
24612 # In autoconf-2.50 it is called $srcdir.
24613 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
24614 case "$ac_given_srcdir" in
24615 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
24616 /*) top_srcdir="$ac_given_srcdir" ;;
24617 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
24619 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
24620 rm -f "$ac_dir/POTFILES"
24621 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
24622 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
24623 POMAKEFILEDEPS="POTFILES.in"
24624 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
24625 # on $ac_dir but don't depend on user-specified configuration
24627 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
24628 # The LINGUAS file contains the set of available languages.
24629 if test -n "$OBSOLETE_ALL_LINGUAS"; then
24630 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
24632 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
24633 # Hide the ALL_LINGUAS assigment from automake.
24634 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
24635 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
24637 # The set of available languages was given in configure.in.
24638 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
24640 case "$ac_given_srcdir" in
24642 *) srcdirpre='$(srcdir)/' ;;
24648 for lang in $ALL_LINGUAS; do
24649 POFILES="$POFILES $srcdirpre$lang.po"
24650 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
24651 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
24652 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
24654 # CATALOGS depends on both $ac_dir and the user's LINGUAS
24655 # environment variable.
24657 if test -n "$ALL_LINGUAS"; then
24658 for presentlang in $ALL_LINGUAS; do
24660 if test "%UNSET%" != "$LINGUAS"; then
24661 desiredlanguages="$LINGUAS"
24663 desiredlanguages="$ALL_LINGUAS"
24665 for desiredlang in $desiredlanguages; do
24666 # Use the presentlang catalog if desiredlang is
24667 # a. equal to presentlang, or
24668 # b. a variant of presentlang (because in this case,
24669 # presentlang can be used as a fallback for messages
24670 # which are not translated in the desiredlang catalog).
24671 case "$desiredlang" in
24672 "$presentlang"*) useit=yes;;
24675 if test $useit = yes; then
24676 INST_LINGUAS="$INST_LINGUAS $presentlang"
24681 if test -n "$INST_LINGUAS"; then
24682 for lang in $INST_LINGUAS; do
24683 CATALOGS="$CATALOGS $lang.gmo"
24686 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
24687 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"
24688 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
24689 if test -f "$f"; then
24691 *.orig | *.bak | *~) ;;
24692 *) cat "$f" >> "$ac_dir/Makefile" ;;
24701 if test "$GCC" = yes; then
24702 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
24704 echo "/* generated for $CC */" > tmp-stdint.h
24707 sed 's/^ *//' >> tmp-stdint.h <<EOF
24709 #ifndef GCC_GENERATED_STDINT_H
24710 #define GCC_GENERATED_STDINT_H 1
24712 #include <sys/types.h>
24715 if test "$acx_cv_header_stdint" != stdint.h; then
24716 echo "#include <stddef.h>" >> tmp-stdint.h
24718 if test "$acx_cv_header_stdint" != stddef.h; then
24719 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
24722 sed 's/^ *//' >> tmp-stdint.h <<EOF
24723 /* glibc uses these symbols as guards to prevent redefinitions. */
24724 #ifdef __int8_t_defined
24729 #ifdef __uint32_t_defined
24735 # ----------------- done header, emit basic int types -------------
24736 if test "$acx_cv_header_stdint" = stddef.h; then
24737 sed 's/^ *//' >> tmp-stdint.h <<EOF
24741 #ifndef __uint8_t_defined
24742 #define __uint8_t_defined
24743 typedef unsigned $acx_cv_type_int8_t uint8_t;
24749 #ifndef __uint16_t_defined
24750 #define __uint16_t_defined
24751 typedef unsigned $acx_cv_type_int16_t uint16_t;
24757 #ifndef __uint32_t_defined
24758 #define __uint32_t_defined
24759 typedef unsigned $acx_cv_type_int32_t uint32_t;
24765 #ifndef __int8_t_defined
24766 #define __int8_t_defined
24767 typedef $acx_cv_type_int8_t int8_t;
24773 #ifndef __int16_t_defined
24774 #define __int16_t_defined
24775 typedef $acx_cv_type_int16_t int16_t;
24781 #ifndef __int32_t_defined
24782 #define __int32_t_defined
24783 typedef $acx_cv_type_int32_t int32_t;
24787 elif test "$ac_cv_type_u_int32_t" = yes; then
24788 sed 's/^ *//' >> tmp-stdint.h <<EOF
24790 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
24803 #ifndef __uint8_t_defined
24804 #define __uint8_t_defined
24805 typedef u_int8_t uint8_t;
24811 #ifndef __uint16_t_defined
24812 #define __uint16_t_defined
24813 typedef u_int16_t uint16_t;
24819 #ifndef __uint32_t_defined
24820 #define __uint32_t_defined
24821 typedef u_int32_t uint32_t;
24826 sed 's/^ *//' >> tmp-stdint.h <<EOF
24828 /* Some systems have guard macros to prevent redefinitions, define them. */
24850 # ------------- done basic int types, emit int64_t types ------------
24851 if test "$ac_cv_type_uint64_t" = yes; then
24852 sed 's/^ *//' >> tmp-stdint.h <<EOF
24854 /* system headers have good uint64_t and int64_t */
24862 elif test "$ac_cv_type_u_int64_t" = yes; then
24863 sed 's/^ *//' >> tmp-stdint.h <<EOF
24865 /* system headers have an u_int64_t (and int64_t) */
24871 #ifndef __uint64_t_defined
24872 #define __uint64_t_defined
24873 typedef u_int64_t uint64_t;
24877 elif test -n "$acx_cv_type_int64_t"; then
24878 sed 's/^ *//' >> tmp-stdint.h <<EOF
24880 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
24883 typedef $acx_cv_type_int64_t int64_t;
24887 #ifndef __uint64_t_defined
24888 #define __uint64_t_defined
24889 typedef unsigned $acx_cv_type_int64_t uint64_t;
24894 sed 's/^ *//' >> tmp-stdint.h <<EOF
24896 /* some common heuristics for int64_t, using compiler-specific tests */
24897 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
24900 #ifndef __int64_t_defined
24901 typedef long long int64_t;
24906 typedef unsigned long long uint64_t;
24909 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
24910 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
24911 does not implement __extension__. But that compiler doesn't define
24913 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
24914 # define __extension__
24919 __extension__ typedef long long int64_t;
24923 __extension__ typedef unsigned long long uint64_t;
24926 #elif !defined __STRICT_ANSI__
24927 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
24931 typedef __int64 int64_t;
24935 typedef unsigned __int64 uint64_t;
24937 # endif /* compiler */
24939 #endif /* ANSI version */
24943 # ------------- done int64_t types, emit intptr types ------------
24944 if test "$ac_cv_type_uintptr_t" != yes; then
24945 sed 's/^ *//' >> tmp-stdint.h <<EOF
24947 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
24948 #ifndef __uintptr_t_defined
24949 typedef u$acx_cv_type_intptr_t uintptr_t;
24951 #ifndef __intptr_t_defined
24952 typedef $acx_cv_type_intptr_t intptr_t;
24957 # ------------- done intptr types, emit int_least types ------------
24958 if test "$ac_cv_type_int_least32_t" != yes; then
24959 sed 's/^ *//' >> tmp-stdint.h <<EOF
24961 /* Define int_least types */
24962 typedef int8_t int_least8_t;
24963 typedef int16_t int_least16_t;
24964 typedef int32_t int_least32_t;
24966 typedef int64_t int_least64_t;
24969 typedef uint8_t uint_least8_t;
24970 typedef uint16_t uint_least16_t;
24971 typedef uint32_t uint_least32_t;
24973 typedef uint64_t uint_least64_t;
24978 # ------------- done intptr types, emit int_fast types ------------
24979 if test "$ac_cv_type_int_fast32_t" != yes; then
24980 sed 's/^ *//' >> tmp-stdint.h <<EOF
24982 /* Define int_fast types. short is often slow */
24983 typedef int8_t int_fast8_t;
24984 typedef int int_fast16_t;
24985 typedef int32_t int_fast32_t;
24987 typedef int64_t int_fast64_t;
24990 typedef uint8_t uint_fast8_t;
24991 typedef unsigned int uint_fast16_t;
24992 typedef uint32_t uint_fast32_t;
24994 typedef uint64_t uint_fast64_t;
24999 if test "$ac_cv_type_uintmax_t" != yes; then
25000 sed 's/^ *//' >> tmp-stdint.h <<EOF
25002 /* Define intmax based on what we found */
25004 typedef int64_t intmax_t;
25006 typedef long intmax_t;
25009 typedef uint64_t uintmax_t;
25011 typedef unsigned long uintmax_t;
25016 sed 's/^ *//' >> tmp-stdint.h <<EOF
25018 #endif /* GCC_GENERATED_STDINT_H */
25021 if test -r bfd_stdint.h && cmp -s tmp-stdint.h bfd_stdint.h; then
25024 mv -f tmp-stdint.h bfd_stdint.h
25031 *) srcdirpre='$(srcdir)/' ;;
25035 for lang in dummy $OBSOLETE_ALL_LINGUAS; do
25036 if test $lang != dummy; then
25037 POFILES="$POFILES $srcdirpre$lang.po"
25038 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
25041 sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' \
25042 -e '/BLD-POTFILES =/r po/BLD-POTFILES' \
25043 -e "s,@POFILES@,$POFILES," \
25044 -e "s,@GMOFILES@,$GMOFILES," \
25045 po/Makefile.in > po/Makefile ;;
25050 cat >>$CONFIG_STATUS <<\_ACEOF
25052 { (exit 0); exit 0; }
25054 chmod +x $CONFIG_STATUS
25055 ac_clean_files=$ac_clean_files_save
25058 # configure is writing to config.log, and then calls config.status.
25059 # config.status does its own redirection, appending to config.log.
25060 # Unfortunately, on DOS this fails, as config.log is still kept open
25061 # by configure, so config.status won't be able to write to it; its
25062 # output is simply discarded. So we exec the FD to /dev/null,
25063 # effectively closing config.log, so it can be properly (re)opened and
25064 # appended to by config.status. When coming back to configure, we
25065 # need to make the FD available again.
25066 if test "$no_create" != yes; then
25068 ac_config_status_args=
25069 test "$silent" = yes &&
25070 ac_config_status_args="$ac_config_status_args --quiet"
25072 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25074 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25075 # would make configure fail if this is the last instruction.
25076 $ac_cs_success || { (exit 1); exit 1; }