2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
308 for dir
in $PATH /usr
/ucb
; do
310 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
320 if test "X$ECHO" = Xecho
; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
327 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL
=/bin
/ksh
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
343 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
349 SHELL
="$CONFIG_SHELL"
351 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
358 # maybe with a smaller string...
361 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string
=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 # Oops. We lost completely, so just stick with echo.
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
403 ac_default_prefix
=/usr
/local
404 ac_config_libobj_dir
=.
409 SHELL
=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
423 ac_unique_file
="libbfd.c"
424 # Factoring default headers for most tests.
425 ac_includes_default
="\
428 # include <sys/types.h>
431 # include <sys/stat.h>
442 # if !STDC_HEADERS && HAVE_MEMORY_H
448 # include <strings.h>
451 # include <inttypes.h>
461 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AR ac_ct_AR RANLIB ac_ct_RANLIB LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S lt_ECHO CPP DEBUGDIR PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE HDEFINES BFD_HOST_64BIT_LONG BFD_HOST_64BIT_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT BFD_HOSTPTR_T CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG WIN32LDFLAGS WIN32LIBADD TDEFINES wordsize bfd64_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
465 # Initialize some variables set by options.
467 ac_init_version
=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
477 program_transform_name
=s
,x
,x
,
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir
='${exec_prefix}/bin'
491 sbindir
='${exec_prefix}/sbin'
492 libexecdir
='${exec_prefix}/libexec'
493 datadir
='${prefix}/share'
494 sysconfdir
='${prefix}/etc'
495 sharedstatedir
='${prefix}/com'
496 localstatedir
='${prefix}/var'
497 libdir
='${exec_prefix}/lib'
498 includedir
='${prefix}/include'
499 oldincludedir
='/usr/include'
500 infodir
='${prefix}/info'
501 mandir
='${prefix}/man'
506 # If the previous option needs an argument, assign it.
507 if test -n "$ac_prev"; then
508 eval "$ac_prev=\$ac_option"
513 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
515 # Accept the important Cygnus configure options, so we can diagnose typos.
519 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
521 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
524 -build |
--build |
--buil |
--bui |
--bu)
525 ac_prev
=build_alias
;;
526 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
527 build_alias
=$ac_optarg ;;
529 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
530 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
531 ac_prev
=cache_file
;;
532 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
533 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
534 cache_file
=$ac_optarg ;;
537 cache_file
=config.cache
;;
539 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
541 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
543 datadir
=$ac_optarg ;;
545 -disable-* |
--disable-*)
546 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547 # Reject names that are not valid shell variable names.
548 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
549 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550 { (exit 1); exit 1; }; }
551 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
552 eval "enable_$ac_feature=no" ;;
554 -enable-* |
--enable-*)
555 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556 # Reject names that are not valid shell variable names.
557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559 { (exit 1); exit 1; }; }
560 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
562 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
565 eval "enable_$ac_feature='$ac_optarg'" ;;
567 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
568 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
569 |
--exec |
--exe |
--ex)
570 ac_prev
=exec_prefix
;;
571 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
572 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
573 |
--exec=* |
--exe=* |
--ex=*)
574 exec_prefix
=$ac_optarg ;;
576 -gas |
--gas |
--ga |
--g)
577 # Obsolete; use --with-gas.
580 -help |
--help |
--hel |
--he |
-h)
582 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
583 ac_init_help
=recursive
;;
584 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
585 ac_init_help
=short
;;
587 -host |
--host |
--hos |
--ho)
588 ac_prev
=host_alias
;;
589 -host=* |
--host=* |
--hos=* |
--ho=*)
590 host_alias
=$ac_optarg ;;
592 -includedir |
--includedir |
--includedi |
--included |
--include \
593 |
--includ |
--inclu |
--incl |
--inc)
594 ac_prev
=includedir
;;
595 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
596 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
597 includedir
=$ac_optarg ;;
599 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
601 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
602 infodir
=$ac_optarg ;;
604 -libdir |
--libdir |
--libdi |
--libd)
606 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
609 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
610 |
--libexe |
--libex |
--libe)
611 ac_prev
=libexecdir
;;
612 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
613 |
--libexe=* |
--libex=* |
--libe=*)
614 libexecdir
=$ac_optarg ;;
616 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
617 |
--localstate |
--localstat |
--localsta |
--localst \
618 |
--locals |
--local |
--loca |
--loc |
--lo)
619 ac_prev
=localstatedir
;;
620 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
621 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
622 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
623 localstatedir
=$ac_optarg ;;
625 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
627 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
631 # Obsolete; use --without-fp.
634 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
635 |
--no-cr |
--no-c |
-n)
638 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
639 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
642 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
643 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
644 |
--oldin |
--oldi |
--old |
--ol |
--o)
645 ac_prev
=oldincludedir
;;
646 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
647 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
648 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
649 oldincludedir
=$ac_optarg ;;
651 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
653 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
656 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
657 |
--program-pre |
--program-pr |
--program-p)
658 ac_prev
=program_prefix
;;
659 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
660 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
661 program_prefix
=$ac_optarg ;;
663 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
664 |
--program-suf |
--program-su |
--program-s)
665 ac_prev
=program_suffix
;;
666 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
667 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
668 program_suffix
=$ac_optarg ;;
670 -program-transform-name |
--program-transform-name \
671 |
--program-transform-nam |
--program-transform-na \
672 |
--program-transform-n |
--program-transform- \
673 |
--program-transform |
--program-transfor \
674 |
--program-transfo |
--program-transf \
675 |
--program-trans |
--program-tran \
676 |
--progr-tra |
--program-tr |
--program-t)
677 ac_prev
=program_transform_name
;;
678 -program-transform-name=* |
--program-transform-name=* \
679 |
--program-transform-nam=* |
--program-transform-na=* \
680 |
--program-transform-n=* |
--program-transform-=* \
681 |
--program-transform=* |
--program-transfor=* \
682 |
--program-transfo=* |
--program-transf=* \
683 |
--program-trans=* |
--program-tran=* \
684 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
685 program_transform_name
=$ac_optarg ;;
687 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
688 |
-silent |
--silent |
--silen |
--sile |
--sil)
691 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
693 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
695 sbindir
=$ac_optarg ;;
697 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
698 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
699 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
701 ac_prev
=sharedstatedir
;;
702 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
703 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
704 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
706 sharedstatedir
=$ac_optarg ;;
708 -site |
--site |
--sit)
710 -site=* |
--site=* |
--sit=*)
713 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
715 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
718 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
719 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
720 ac_prev
=sysconfdir
;;
721 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
722 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
723 sysconfdir
=$ac_optarg ;;
725 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
726 ac_prev
=target_alias
;;
727 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
728 target_alias
=$ac_optarg ;;
730 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
733 -version |
--version |
--versio |
--versi |
--vers |
-V)
737 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
740 { echo "$as_me: error: invalid package name: $ac_package" >&2
741 { (exit 1); exit 1; }; }
742 ac_package
=`echo $ac_package| sed 's/-/_/g'`
744 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
747 eval "with_$ac_package='$ac_optarg'" ;;
749 -without-* |
--without-*)
750 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
753 { echo "$as_me: error: invalid package name: $ac_package" >&2
754 { (exit 1); exit 1; }; }
755 ac_package
=`echo $ac_package | sed 's/-/_/g'`
756 eval "with_$ac_package=no" ;;
759 # Obsolete; use --with-x.
762 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
763 |
--x-incl |
--x-inc |
--x-in |
--x-i)
764 ac_prev
=x_includes
;;
765 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
766 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
767 x_includes
=$ac_optarg ;;
769 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
770 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
771 ac_prev
=x_libraries
;;
772 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
773 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
774 x_libraries
=$ac_optarg ;;
776 -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778 { (exit 1); exit 1; }; }
782 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
785 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786 { (exit 1); exit 1; }; }
787 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788 eval "$ac_envvar='$ac_optarg'"
792 # FIXME: should be removed in autoconf 3.0.
793 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
795 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
802 if test -n "$ac_prev"; then
803 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
804 { echo "$as_me: error: missing argument to $ac_option" >&2
805 { (exit 1); exit 1; }; }
808 # Be sure to have absolute paths.
809 for ac_var
in exec_prefix prefix
811 eval ac_val
=$
`echo $ac_var`
813 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
814 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815 { (exit 1); exit 1; }; };;
819 # Be sure to have absolute paths.
820 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821 localstatedir libdir includedir oldincludedir infodir mandir
823 eval ac_val
=$
`echo $ac_var`
825 [\\/$
]* | ?
:[\\/]* ) ;;
826 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827 { (exit 1); exit 1; }; };;
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x
; then
840 if test "x$build_alias" = x
; then
841 cross_compiling
=maybe
842 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843 If a cross compiler is detected then cross compile mode will be used." >&2
844 elif test "x$build_alias" != "x$host_alias"; then
850 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
852 test "$silent" = yes && exec 6>/dev
/null
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857 ac_srcdir_defaulted
=yes
858 # Try the directory containing this script, then its parent.
859 ac_confdir
=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861 X"$0" : 'X\(//\)[^/]' \| \
862 X"$0" : 'X\(//\)$' \| \
863 X"$0" : 'X\(/\)' \| \
864 . : '\(.\)' 2>/dev/null ||
866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868 /^X\(\/\/\)$/{ s//\1/; q; }
869 /^X\(\/\).*/{ s//\1/; q; }
872 if test ! -r $srcdir/$ac_unique_file; then
876 ac_srcdir_defaulted
=no
878 if test ! -r $srcdir/$ac_unique_file; then
879 if test "$ac_srcdir_defaulted" = yes; then
880 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881 { (exit 1); exit 1; }; }
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884 { (exit 1); exit 1; }; }
887 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
888 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889 { (exit 1); exit 1; }; }
890 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set
=${build_alias+set}
892 ac_env_build_alias_value
=$build_alias
893 ac_cv_env_build_alias_set
=${build_alias+set}
894 ac_cv_env_build_alias_value
=$build_alias
895 ac_env_host_alias_set
=${host_alias+set}
896 ac_env_host_alias_value
=$host_alias
897 ac_cv_env_host_alias_set
=${host_alias+set}
898 ac_cv_env_host_alias_value
=$host_alias
899 ac_env_target_alias_set
=${target_alias+set}
900 ac_env_target_alias_value
=$target_alias
901 ac_cv_env_target_alias_set
=${target_alias+set}
902 ac_cv_env_target_alias_value
=$target_alias
903 ac_env_CC_set
=${CC+set}
905 ac_cv_env_CC_set
=${CC+set}
906 ac_cv_env_CC_value
=$CC
907 ac_env_CFLAGS_set
=${CFLAGS+set}
908 ac_env_CFLAGS_value
=$CFLAGS
909 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
910 ac_cv_env_CFLAGS_value
=$CFLAGS
911 ac_env_LDFLAGS_set
=${LDFLAGS+set}
912 ac_env_LDFLAGS_value
=$LDFLAGS
913 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
914 ac_cv_env_LDFLAGS_value
=$LDFLAGS
915 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
916 ac_env_CPPFLAGS_value
=$CPPFLAGS
917 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
918 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
919 ac_env_CPP_set
=${CPP+set}
920 ac_env_CPP_value
=$CPP
921 ac_cv_env_CPP_set
=${CPP+set}
922 ac_cv_env_CPP_value
=$CPP
925 # Report the --help message.
927 if test "$ac_init_help" = "long"; then
928 # Omit some internal or obsolete options to make the list less imposing.
929 # This message is too long to be a string in the A/UX 3.1 sh.
931 \`configure' configures this package to adapt to many kinds of systems.
933 Usage: $0 [OPTION]... [VAR=VALUE]...
935 To assign environment variables (e.g., CC, CFLAGS...), specify them as
936 VAR=VALUE. See below for descriptions of some of the useful variables.
938 Defaults for the options are specified in brackets.
941 -h, --help display this help and exit
942 --help=short display options specific to this package
943 --help=recursive display the short help of all the included packages
944 -V, --version display version information and exit
945 -q, --quiet, --silent do not print \`checking...' messages
946 --cache-file=FILE cache test results in FILE [disabled]
947 -C, --config-cache alias for \`--cache-file=config.cache'
948 -n, --no-create do not create output files
949 --srcdir=DIR find the sources in DIR [configure dir or \`..']
954 Installation directories:
955 --prefix=PREFIX install architecture-independent files in PREFIX
957 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
960 By default, \`make install' will install all the files in
961 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
962 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
963 for instance \`--prefix=\$HOME'.
965 For better control, use the options below.
967 Fine tuning of the installation directories:
968 --bindir=DIR user executables [EPREFIX/bin]
969 --sbindir=DIR system admin executables [EPREFIX/sbin]
970 --libexecdir=DIR program executables [EPREFIX/libexec]
971 --datadir=DIR read-only architecture-independent data [PREFIX/share]
972 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
973 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
974 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
975 --libdir=DIR object code libraries [EPREFIX/lib]
976 --includedir=DIR C header files [PREFIX/include]
977 --oldincludedir=DIR C header files for non-gcc [/usr/include]
978 --infodir=DIR info documentation [PREFIX/info]
979 --mandir=DIR man documentation [PREFIX/man]
985 --program-prefix=PREFIX prepend PREFIX to installed program names
986 --program-suffix=SUFFIX append SUFFIX to installed program names
987 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
990 --build=BUILD configure
for building on BUILD
[guessed
]
991 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
992 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
996 if test -n "$ac_init_help"; then
1001 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1002 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1003 --disable-dependency-tracking speeds up one-time build
1004 --enable-dependency-tracking do not reject slow dependency extractors
1005 --enable-shared[=PKGS
]
1006 build shared libraries
[default
=no
]
1007 --enable-static[=PKGS
]
1008 build static libraries
[default
=yes]
1009 --enable-fast-install[=PKGS
]
1010 optimize
for fast installation
[default
=yes]
1011 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1012 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
1013 --enable-targets alternative target configurations
1014 --enable-commonbfdlib build shared BFD
/opcodes
/libiberty library
1015 --enable-secureplt Default to creating read-only plt entries
1016 --enable-elf-stt-common Allow the generation of ELF symbols with the STT_COMMON
type
1017 --enable-werror treat compile warnings as errors
1018 --enable-build-warnings enable build-time compiler warnings
1019 --enable-maintainer-mode enable make rules and dependencies not useful
1020 (and sometimes confusing
) to the casual installer
1021 --enable-install-libbfd controls installation of libbfd and related headers
1022 --disable-nls do not use Native Language Support
1025 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1026 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1027 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1029 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1030 --with-mmap try using mmap
for BFD input files
if available
1031 --with-separate-debug-dir=DIR
1032 Look
for global separate debug info
in DIR
1033 [default
=LIBDIR
/debug
]
1034 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GNU
1036 --with-bugurl=URL Direct users to URL to report a bug
1038 Some influential environment variables
:
1039 CC C compiler
command
1040 CFLAGS C compiler flags
1041 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1042 nonstandard directory
<lib dir
>
1043 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1044 headers
in a nonstandard directory
<include dir
>
1047 Use these variables to override the choices made by
`configure' or to help
1048 it to find libraries and programs with nonstandard names/locations.
1053 if test "$ac_init_help" = "recursive"; then
1054 # If there are subdirs, report their specific --help.
1056 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1057 test -d $ac_dir || continue
1060 if test "$ac_dir" != .; then
1061 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1062 # A "../" for each directory in $ac_dir_suffix.
1063 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1065 ac_dir_suffix= ac_top_builddir=
1069 .) # No --srcdir option. We are building in place.
1071 if test -z "$ac_top_builddir"; then
1074 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1076 [\\/]* | ?:[\\/]* ) # Absolute path.
1077 ac_srcdir=$srcdir$ac_dir_suffix;
1078 ac_top_srcdir=$srcdir ;;
1080 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1081 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1084 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1085 # the directories may not exist.
1087 .) ac_abs_builddir="$ac_dir";;
1090 .) ac_abs_builddir=`pwd`;;
1091 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1092 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1095 case $ac_abs_builddir in
1096 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1098 case ${ac_top_builddir}. in
1099 .) ac_abs_top_builddir=$ac_abs_builddir;;
1100 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1101 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1104 case $ac_abs_builddir in
1105 .) ac_abs_srcdir=$ac_srcdir;;
1108 .) ac_abs_srcdir=$ac_abs_builddir;;
1109 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1110 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1113 case $ac_abs_builddir in
1114 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1116 case $ac_top_srcdir in
1117 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1118 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1119 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1124 # Check for guested configure; otherwise get Cygnus style configure.
1125 if test -f $ac_srcdir/configure.gnu; then
1127 $SHELL $ac_srcdir/configure.gnu --help=recursive
1128 elif test -f $ac_srcdir/configure; then
1130 $SHELL $ac_srcdir/configure --help=recursive
1131 elif test -f $ac_srcdir/configure.ac ||
1132 test -f $ac_srcdir/configure.in; then
1134 $ac_configure --help
1136 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1142 test -n "$ac_init_help" && exit 0
1143 if $ac_init_version; then
1146 Copyright (C) 2003 Free Software Foundation, Inc.
1147 This configure script is free software; the Free Software Foundation
1148 gives unlimited permission to copy, distribute and modify it.
1154 This file contains any messages produced by compilers while
1155 running configure, to aid debugging if configure makes a mistake.
1157 It was created by $as_me, which was
1158 generated by GNU Autoconf 2.59. Invocation command line was
1169 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1170 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1171 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1172 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1173 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1175 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1176 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1178 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1179 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1180 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1181 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1182 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1183 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1184 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1192 test -z "$as_dir" && as_dir=.
1193 echo "PATH: $as_dir"
1208 # Keep a trace of the command line.
1209 # Strip out --no-create and --no-recursion so they do not pile up.
1210 # Strip out --silent because we don't want to record it for future runs.
1211 # Also quote any args containing shell meta-characters.
1212 # Make two passes to allow for proper duplicate-argument suppression.
1217 ac_must_keep_next=false
1223 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1224 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1225 | -silent | --silent | --silen | --sile | --sil)
1227 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1228 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1231 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1233 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1234 if test $ac_must_keep_next = true; then
1235 ac_must_keep_next=false # Got value, back to normal.
1238 *=* | --config-cache | -C | -disable-* | --disable-* \
1239 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1240 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1241 | -with-* | --with-* | -without-* | --without-* | --x)
1242 case "$ac_configure_args0 " in
1243 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1246 -* ) ac_must_keep_next=true ;;
1249 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1250 # Get rid of the leading space.
1256 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1257 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1259 # When interrupted or exit'd, cleanup temporary files, and complete
1260 # config.log. We remove comments because anyway the quotes in there
1261 # would cause problems or look ugly.
1262 # WARNING: Be sure not to use single quotes in there, as some shells,
1263 # such as our DU 5.0 friend, will then `close
' the trap.
1264 trap 'exit_status
=$?
1265 # Save into config.log some information that might help in debugging.
1270 ## ---------------- ##
1271 ## Cache variables. ##
1272 ## ---------------- ##
1275 # The following way of writing the cache mishandles newlines in values,
1278 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1281 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1282 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1286 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1293 ## ----------------- ##
1294 ## Output variables. ##
1295 ## ----------------- ##
1298 for ac_var
in $ac_subst_vars
1300 eval ac_val
=$
`echo $ac_var`
1301 echo "$ac_var='"'"'$ac_val'"'"'"
1305 if test -n "$ac_subst_files"; then
1312 for ac_var
in $ac_subst_files
1314 eval ac_val
=$
`echo $ac_var`
1315 echo "$ac_var='"'"'$ac_val'"'"'"
1320 if test -s confdefs.h
; then
1327 sed "/^$/d" confdefs.h |
sort
1330 test "$ac_signal" != 0 &&
1331 echo "$as_me: caught signal $ac_signal"
1332 echo "$as_me: exit $exit_status"
1334 rm -f core
*.core
&&
1335 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1338 for ac_signal in 1 2 13 15; do
1339 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1343 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1344 rm -rf conftest* confdefs.h
1345 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1348 # Predefined preprocessor variables.
1350 cat >>confdefs.h <<_ACEOF
1351 #define PACKAGE_NAME "$PACKAGE_NAME"
1355 cat >>confdefs.h <<_ACEOF
1356 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1360 cat >>confdefs.h <<_ACEOF
1361 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1365 cat >>confdefs.h <<_ACEOF
1366 #define PACKAGE_STRING "$PACKAGE_STRING"
1370 cat >>confdefs.h <<_ACEOF
1371 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1375 # Let the site file select an alternate cache file if it wants to.
1376 # Prefer explicitly selected file to automatically selected ones.
1377 if test -z "$CONFIG_SITE"; then
1378 if test "x$prefix" != xNONE; then
1379 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1381 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1384 for ac_site_file in $CONFIG_SITE; do
1385 if test -r "$ac_site_file"; then
1386 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1387 echo "$as_me: loading site script $ac_site_file" >&6;}
1388 sed 's
/^
/|
/' "$ac_site_file" >&5
1393 if test -r "$cache_file"; then
1394 # Some versions of bash will fail to source /dev/null (special
1395 # files actually), so we avoid doing that.
1396 if test -f "$cache_file"; then
1397 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1398 echo "$as_me: loading cache $cache_file" >&6;}
1400 [\\/]* | ?:[\\/]* ) . $cache_file;;
1401 *) . ./$cache_file;;
1405 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1406 echo "$as_me: creating cache $cache_file" >&6;}
1410 # Check that the precious variables saved in the cache have kept the same
1412 ac_cache_corrupted=false
1413 for ac_var in `(set) 2>&1 |
1414 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1415 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1416 eval ac_new_set=\$ac_env_${ac_var}_set
1417 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1418 eval ac_new_val="\$ac_env_${ac_var}_value"
1419 case $ac_old_set,$ac_new_set in
1421 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1422 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1423 ac_cache_corrupted=: ;;
1425 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1426 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1427 ac_cache_corrupted=: ;;
1430 if test "x$ac_old_val" != "x$ac_new_val"; then
1431 # differences in whitespace do not lead to failure.
1432 ac_old_val_w=`echo x $ac_old_val`
1433 ac_new_val_w=`echo x $ac_new_val`
1434 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1435 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1436 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1437 ac_cache_corrupted=:
1439 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1440 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1441 eval $ac_var=\$ac_old_val
1443 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1444 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1445 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1446 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1449 # Pass precious variables to config.status.
1450 if test "$ac_new_set" = set; then
1452 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1453 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1454 *) ac_arg=$ac_var=$ac_new_val ;;
1456 case " $ac_configure_args " in
1457 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1458 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1462 if $ac_cache_corrupted; then
1463 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1464 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1465 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1466 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1467 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1468 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1469 { (exit 1); exit 1; }; }
1473 ac_cpp='$CPP $CPPFLAGS'
1474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1502 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1503 if test -f $ac_dir/install-sh; then
1505 ac_install_sh="$ac_aux_dir/install-sh -c"
1507 elif test -f $ac_dir/install.sh; then
1509 ac_install_sh="$ac_aux_dir/install.sh -c"
1511 elif test -f $ac_dir/shtool; then
1513 ac_install_sh="$ac_aux_dir/shtool install -c"
1517 if test -z "$ac_aux_dir"; then
1518 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1519 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1520 { (exit 1); exit 1; }; }
1522 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1523 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1524 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1526 # Make sure we can run config.sub.
1527 $ac_config_sub sun4 >/dev/null 2>&1 ||
1528 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1529 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1530 { (exit 1); exit 1; }; }
1532 echo "$as_me:$LINENO: checking build system type" >&5
1533 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1534 if test "${ac_cv_build+set}" = set; then
1535 echo $ECHO_N "(cached) $ECHO_C" >&6
1537 ac_cv_build_alias=$build_alias
1538 test -z "$ac_cv_build_alias" &&
1539 ac_cv_build_alias=`$ac_config_guess`
1540 test -z "$ac_cv_build_alias" &&
1541 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1542 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1543 { (exit 1); exit 1; }; }
1544 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1545 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1546 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1547 { (exit 1); exit 1; }; }
1550 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1551 echo "${ECHO_T}$ac_cv_build" >&6
1553 build_cpu=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1554 build_vendor=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1555 build_os=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1558 echo "$as_me:$LINENO: checking host system type" >&5
1559 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1560 if test "${ac_cv_host+set}" = set; then
1561 echo $ECHO_N "(cached) $ECHO_C" >&6
1563 ac_cv_host_alias=$host_alias
1564 test -z "$ac_cv_host_alias" &&
1565 ac_cv_host_alias=$ac_cv_build_alias
1566 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1567 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1568 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1569 { (exit 1); exit 1; }; }
1572 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1573 echo "${ECHO_T}$ac_cv_host" >&6
1575 host_cpu=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1576 host_vendor=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1577 host_os=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1580 echo "$as_me:$LINENO: checking target system type" >&5
1581 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1582 if test "${ac_cv_target+set}" = set; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1585 ac_cv_target_alias=$target_alias
1586 test "x$ac_cv_target_alias" = "x" &&
1587 ac_cv_target_alias=$ac_cv_host_alias
1588 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1589 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1590 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1591 { (exit 1); exit 1; }; }
1594 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1595 echo "${ECHO_T}$ac_cv_target" >&6
1596 target=$ac_cv_target
1597 target_cpu=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1598 target_vendor=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1599 target_os=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1602 # The aliases save the names the user supplied, while $host etc.
1603 # will get canonicalized.
1604 test -n "$target_alias" &&
1605 test "$program_prefix$program_suffix$program_transform_name" = \
1607 program_prefix=${target_alias}-
1609 ac_cpp='$CPP $CPPFLAGS'
1610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1613 if test -n "$ac_tool_prefix"; then
1614 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1615 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1616 echo "$as_me:$LINENO: checking for $ac_word" >&5
1617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1618 if test "${ac_cv_prog_CC+set}" = set; then
1619 echo $ECHO_N "(cached) $ECHO_C" >&6
1621 if test -n "$CC"; then
1622 ac_cv_prog_CC="$CC" # Let the user override the test.
1624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1628 test -z "$as_dir" && as_dir=.
1629 for ac_exec_ext in '' $ac_executable_extensions; do
1630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1631 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1641 if test -n "$CC"; then
1642 echo "$as_me:$LINENO: result: $CC" >&5
1643 echo "${ECHO_T}$CC" >&6
1645 echo "$as_me:$LINENO: result: no" >&5
1646 echo "${ECHO_T}no" >&6
1650 if test -z "$ac_cv_prog_CC"; then
1652 # Extract the first word of "gcc", so it can be a program name with args.
1653 set dummy gcc; ac_word=$2
1654 echo "$as_me:$LINENO: checking for $ac_word" >&5
1655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1656 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1657 echo $ECHO_N "(cached) $ECHO_C" >&6
1659 if test -n "$ac_ct_CC"; then
1660 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1666 test -z "$as_dir" && as_dir=.
1667 for ac_exec_ext in '' $ac_executable_extensions; do
1668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1669 ac_cv_prog_ac_ct_CC="gcc"
1670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1678 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1679 if test -n "$ac_ct_CC"; then
1680 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1681 echo "${ECHO_T}$ac_ct_CC" >&6
1683 echo "$as_me:$LINENO: result: no" >&5
1684 echo "${ECHO_T}no" >&6
1692 if test -z "$CC"; then
1693 if test -n "$ac_tool_prefix"; then
1694 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1695 set dummy ${ac_tool_prefix}cc; ac_word=$2
1696 echo "$as_me:$LINENO: checking for $ac_word" >&5
1697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1698 if test "${ac_cv_prog_CC+set}" = set; then
1699 echo $ECHO_N "(cached) $ECHO_C" >&6
1701 if test -n "$CC"; then
1702 ac_cv_prog_CC="$CC" # Let the user override the test.
1704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1708 test -z "$as_dir" && as_dir=.
1709 for ac_exec_ext in '' $ac_executable_extensions; do
1710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1711 ac_cv_prog_CC="${ac_tool_prefix}cc"
1712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1721 if test -n "$CC"; then
1722 echo "$as_me:$LINENO: result: $CC" >&5
1723 echo "${ECHO_T}$CC" >&6
1725 echo "$as_me:$LINENO: result: no" >&5
1726 echo "${ECHO_T}no" >&6
1730 if test -z "$ac_cv_prog_CC"; then
1732 # Extract the first word of "cc", so it can be a program name with args.
1733 set dummy cc; ac_word=$2
1734 echo "$as_me:$LINENO: checking for $ac_word" >&5
1735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1736 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1737 echo $ECHO_N "(cached) $ECHO_C" >&6
1739 if test -n "$ac_ct_CC"; then
1740 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1746 test -z "$as_dir" && as_dir=.
1747 for ac_exec_ext in '' $ac_executable_extensions; do
1748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1749 ac_cv_prog_ac_ct_CC="cc"
1750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1758 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1759 if test -n "$ac_ct_CC"; then
1760 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1761 echo "${ECHO_T}$ac_ct_CC" >&6
1763 echo "$as_me:$LINENO: result: no" >&5
1764 echo "${ECHO_T}no" >&6
1773 if test -z "$CC"; then
1774 # Extract the first word of "cc", so it can be a program name with args.
1775 set dummy cc; ac_word=$2
1776 echo "$as_me:$LINENO: checking for $ac_word" >&5
1777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1778 if test "${ac_cv_prog_CC+set}" = set; then
1779 echo $ECHO_N "(cached) $ECHO_C" >&6
1781 if test -n "$CC"; then
1782 ac_cv_prog_CC="$CC" # Let the user override the test.
1785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1789 test -z "$as_dir" && as_dir=.
1790 for ac_exec_ext in '' $ac_executable_extensions; do
1791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1792 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1793 ac_prog_rejected=yes
1797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1803 if test $ac_prog_rejected = yes; then
1804 # We found a bogon in the path, so make sure we never use it.
1805 set dummy $ac_cv_prog_CC
1807 if test $# != 0; then
1808 # We chose a different compiler from the bogus one.
1809 # However, it has the same basename, so the bogon will be chosen
1810 # first if we set CC to just the basename; use the full file name.
1812 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1818 if test -n "$CC"; then
1819 echo "$as_me:$LINENO: result: $CC" >&5
1820 echo "${ECHO_T}$CC" >&6
1822 echo "$as_me:$LINENO: result: no" >&5
1823 echo "${ECHO_T}no" >&6
1827 if test -z "$CC"; then
1828 if test -n "$ac_tool_prefix"; then
1831 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1832 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1833 echo "$as_me:$LINENO: checking for $ac_word" >&5
1834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1835 if test "${ac_cv_prog_CC+set}" = set; then
1836 echo $ECHO_N "(cached) $ECHO_C" >&6
1838 if test -n "$CC"; then
1839 ac_cv_prog_CC="$CC" # Let the user override the test.
1841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1845 test -z "$as_dir" && as_dir=.
1846 for ac_exec_ext in '' $ac_executable_extensions; do
1847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1848 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1858 if test -n "$CC"; then
1859 echo "$as_me:$LINENO: result: $CC" >&5
1860 echo "${ECHO_T}$CC" >&6
1862 echo "$as_me:$LINENO: result: no" >&5
1863 echo "${ECHO_T}no" >&6
1866 test -n "$CC" && break
1869 if test -z "$CC"; then
1873 # Extract the first word of "$ac_prog", so it can be a program name with args.
1874 set dummy $ac_prog; ac_word=$2
1875 echo "$as_me:$LINENO: checking for $ac_word" >&5
1876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1878 echo $ECHO_N "(cached) $ECHO_C" >&6
1880 if test -n "$ac_ct_CC"; then
1881 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1887 test -z "$as_dir" && as_dir=.
1888 for ac_exec_ext in '' $ac_executable_extensions; do
1889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1890 ac_cv_prog_ac_ct_CC="$ac_prog"
1891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1899 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1900 if test -n "$ac_ct_CC"; then
1901 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1902 echo "${ECHO_T}$ac_ct_CC" >&6
1904 echo "$as_me:$LINENO: result: no" >&5
1905 echo "${ECHO_T}no" >&6
1908 test -n "$ac_ct_CC" && break
1917 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1918 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1919 { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
1920 See \
`config.log' for more details." >&5
1921 echo "$as_me: error: no acceptable C compiler found in \$PATH
1922 See \`config.log
' for more details." >&2;}
1923 { (exit 1); exit 1; }; }; }
1925 # Provide some information about the compiler.
1926 echo "$as_me:$LINENO:" \
1927 "checking for C compiler version" >&5
1928 ac_compiler=`set X $ac_compile; echo $2`
1929 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1930 (eval $ac_compiler --version </dev/null >&5) 2>&5
1932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1933 (exit $ac_status); }
1934 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1935 (eval $ac_compiler -v </dev/null >&5) 2>&5
1937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1938 (exit $ac_status); }
1939 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1940 (eval $ac_compiler -V </dev/null >&5) 2>&5
1942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1943 (exit $ac_status); }
1945 cat >conftest.$ac_ext <<_ACEOF
1948 cat confdefs.h >>conftest.$ac_ext
1949 cat >>conftest.$ac_ext <<_ACEOF
1950 /* end confdefs.h. */
1960 ac_clean_files_save=$ac_clean_files
1961 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1962 # Try to create an executable without -o first, disregard a.out.
1963 # It will help us diagnose broken compilers, and finding out an intuition
1965 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1966 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1967 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1968 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1969 (eval $ac_link_default) 2>&5
1971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1972 (exit $ac_status); }; then
1973 # Find the output, starting from the most likely. This scheme is
1974 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1977 # Be careful to initialize this variable, since it used to be cached.
1978 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1980 # b.out is created by i960 compilers.
1981 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1983 test -f "$ac_file" ||
continue
1985 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1988 # This is the source file.
1991 # We found the default executable, but exeext='' is most
1995 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1996 # FIXME: I believe we export ac_cv_exeext for Libtool,
1997 # but it would be cool to find out if it's true. Does anybody
1998 # maintain Libtool? --akim.
2006 echo "$as_me: failed program was:" >&5
2007 sed 's/^/| /' conftest.
$ac_ext >&5
2009 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2010 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2011 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2012 See \`config.log' for more details." >&5
2013 echo "$as_me: error: C compiler cannot create executables
2014 See \`config.log' for more details." >&2;}
2015 { (exit 77); exit 77; }; }; }
2018 ac_exeext
=$ac_cv_exeext
2019 echo "$as_me:$LINENO: result: $ac_file" >&5
2020 echo "${ECHO_T}$ac_file" >&6
2022 # Check the compiler produces executables we can run. If not, either
2023 # the compiler is broken, or we cross compile.
2024 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2025 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2026 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2027 # If not cross compiling, check that we can run a simple program.
2028 if test "$cross_compiling" != yes; then
2029 if { ac_try
='./$ac_file'
2030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2034 (exit $ac_status); }; }; then
2037 if test "$cross_compiling" = maybe
; then
2040 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2041 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2042 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2043 If you meant to cross compile, use \`--host'.
2044 See \`config.log' for more details." >&5
2045 echo "$as_me: error: cannot run C compiled programs.
2046 If you meant to cross compile, use \`--host'.
2047 See \`config.log' for more details." >&2;}
2048 { (exit 1); exit 1; }; }; }
2052 echo "$as_me:$LINENO: result: yes" >&5
2053 echo "${ECHO_T}yes" >&6
2055 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2056 ac_clean_files
=$ac_clean_files_save
2057 # Check the compiler produces executables we can run. If not, either
2058 # the compiler is broken, or we cross compile.
2059 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2060 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2061 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2062 echo "${ECHO_T}$cross_compiling" >&6
2064 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2065 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2067 (eval $ac_link) 2>&5
2069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2070 (exit $ac_status); }; then
2071 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2072 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2073 # work properly (i.e., refer to `conftest.exe'), while it won't with
2075 for ac_file
in conftest.exe conftest conftest.
*; do
2076 test -f "$ac_file" ||
continue
2078 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2079 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2086 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2087 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2088 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2089 See \`config.log' for more details." >&5
2090 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2091 See \`config.log' for more details." >&2;}
2092 { (exit 1); exit 1; }; }; }
2095 rm -f conftest
$ac_cv_exeext
2096 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2097 echo "${ECHO_T}$ac_cv_exeext" >&6
2099 rm -f conftest.
$ac_ext
2100 EXEEXT
=$ac_cv_exeext
2102 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2103 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2104 if test "${ac_cv_objext+set}" = set; then
2105 echo $ECHO_N "(cached) $ECHO_C" >&6
2107 cat >conftest.
$ac_ext <<_ACEOF
2110 cat confdefs.h
>>conftest.
$ac_ext
2111 cat >>conftest.
$ac_ext <<_ACEOF
2112 /* end confdefs.h. */
2122 rm -f conftest.o conftest.obj
2123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2124 (eval $ac_compile) 2>&5
2126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2127 (exit $ac_status); }; then
2128 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2130 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2131 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2136 echo "$as_me: failed program was:" >&5
2137 sed 's/^/| /' conftest.
$ac_ext >&5
2139 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2140 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2141 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2142 See \`config.log' for more details." >&5
2143 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2144 See \`config.log' for more details." >&2;}
2145 { (exit 1); exit 1; }; }; }
2148 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2150 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2151 echo "${ECHO_T}$ac_cv_objext" >&6
2152 OBJEXT
=$ac_cv_objext
2154 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2155 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2156 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2157 echo $ECHO_N "(cached) $ECHO_C" >&6
2159 cat >conftest.
$ac_ext <<_ACEOF
2162 cat confdefs.h
>>conftest.
$ac_ext
2163 cat >>conftest.
$ac_ext <<_ACEOF
2164 /* end confdefs.h. */
2177 rm -f conftest.
$ac_objext
2178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2179 (eval $ac_compile) 2>conftest.er1
2181 grep -v '^ *+' conftest.er1
>conftest.err
2183 cat conftest.err
>&5
2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185 (exit $ac_status); } &&
2186 { ac_try
='test -z "$ac_c_werror_flag"
2187 || test ! -s conftest.err'
2188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2192 (exit $ac_status); }; } &&
2193 { ac_try
='test -s conftest.$ac_objext'
2194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198 (exit $ac_status); }; }; then
2201 echo "$as_me: failed program was:" >&5
2202 sed 's/^/| /' conftest.
$ac_ext >&5
2206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2207 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2210 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2211 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2212 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2213 ac_test_CFLAGS
=${CFLAGS+set}
2214 ac_save_CFLAGS
=$CFLAGS
2216 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2217 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2218 if test "${ac_cv_prog_cc_g+set}" = set; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2221 cat >conftest.
$ac_ext <<_ACEOF
2224 cat confdefs.h
>>conftest.
$ac_ext
2225 cat >>conftest.
$ac_ext <<_ACEOF
2226 /* end confdefs.h. */
2236 rm -f conftest.
$ac_objext
2237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2238 (eval $ac_compile) 2>conftest.er1
2240 grep -v '^ *+' conftest.er1
>conftest.err
2242 cat conftest.err
>&5
2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244 (exit $ac_status); } &&
2245 { ac_try
='test -z "$ac_c_werror_flag"
2246 || test ! -s conftest.err'
2247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); }; } &&
2252 { ac_try
='test -s conftest.$ac_objext'
2253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257 (exit $ac_status); }; }; then
2260 echo "$as_me: failed program was:" >&5
2261 sed 's/^/| /' conftest.
$ac_ext >&5
2265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2267 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2268 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2269 if test "$ac_test_CFLAGS" = set; then
2270 CFLAGS
=$ac_save_CFLAGS
2271 elif test $ac_cv_prog_cc_g = yes; then
2272 if test "$GCC" = yes; then
2278 if test "$GCC" = yes; then
2284 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2285 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2286 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2287 echo $ECHO_N "(cached) $ECHO_C" >&6
2289 ac_cv_prog_cc_stdc
=no
2291 cat >conftest.
$ac_ext <<_ACEOF
2294 cat confdefs.h
>>conftest.
$ac_ext
2295 cat >>conftest.
$ac_ext <<_ACEOF
2296 /* end confdefs.h. */
2299 #include <sys/types.h>
2300 #include <sys/stat.h>
2301 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2302 struct buf { int x; };
2303 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2304 static char *e (p, i)
2310 static char *f (char * (*g) (char **, int), char **p, ...)
2315 s = g (p, va_arg (v,int));
2320 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2321 function prototypes and stuff, but not '\xHH' hex character constants.
2322 These don't provoke an error unfortunately, instead are silently treated
2323 as 'x'. The following induces an error, until -std1 is added to get
2324 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2325 array size at least. It's necessary to write '\x00'==0 to get something
2326 that's true only with -std1. */
2327 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2329 int test (int i, double x);
2330 struct s1 {int (*f) (int a);};
2331 struct s2 {int (*f) (double a);};
2332 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2338 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2343 # Don't try gcc -ansi; that turns off useful extensions and
2344 # breaks some systems' header files.
2345 # AIX -qlanglvl=ansi
2346 # Ultrix and OSF/1 -std1
2347 # HP-UX 10.20 and later -Ae
2348 # HP-UX older versions -Aa -D_HPUX_SOURCE
2349 # SVR4 -Xc -D__EXTENSIONS__
2350 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2352 CC
="$ac_save_CC $ac_arg"
2353 rm -f conftest.
$ac_objext
2354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2355 (eval $ac_compile) 2>conftest.er1
2357 grep -v '^ *+' conftest.er1
>conftest.err
2359 cat conftest.err
>&5
2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361 (exit $ac_status); } &&
2362 { ac_try
='test -z "$ac_c_werror_flag"
2363 || test ! -s conftest.err'
2364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); }; } &&
2369 { ac_try
='test -s conftest.$ac_objext'
2370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); }; }; then
2375 ac_cv_prog_cc_stdc
=$ac_arg
2378 echo "$as_me: failed program was:" >&5
2379 sed 's/^/| /' conftest.
$ac_ext >&5
2382 rm -f conftest.err conftest.
$ac_objext
2384 rm -f conftest.
$ac_ext conftest.
$ac_objext
2389 case "x$ac_cv_prog_cc_stdc" in
2391 echo "$as_me:$LINENO: result: none needed" >&5
2392 echo "${ECHO_T}none needed" >&6 ;;
2394 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2395 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2396 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2399 # Some people use a C++ compiler to compile C. Since we use `exit',
2400 # in C++ we need to declare it. In case someone uses the same compiler
2401 # for both compiling C and C++ we need to have the C++ compiler decide
2402 # the declaration of exit, since it's the most demanding environment.
2403 cat >conftest.
$ac_ext <<_ACEOF
2408 rm -f conftest.
$ac_objext
2409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2410 (eval $ac_compile) 2>conftest.er1
2412 grep -v '^ *+' conftest.er1
>conftest.err
2414 cat conftest.err
>&5
2415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 (exit $ac_status); } &&
2417 { ac_try
='test -z "$ac_c_werror_flag"
2418 || test ! -s conftest.err'
2419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); }; } &&
2424 { ac_try
='test -s conftest.$ac_objext'
2425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); }; }; then
2430 for ac_declaration
in \
2432 'extern "C" void std::exit (int) throw (); using std::exit;' \
2433 'extern "C" void std::exit (int); using std::exit;' \
2434 'extern "C" void exit (int) throw ();' \
2435 'extern "C" void exit (int);' \
2438 cat >conftest.
$ac_ext <<_ACEOF
2441 cat confdefs.h
>>conftest.
$ac_ext
2442 cat >>conftest.
$ac_ext <<_ACEOF
2443 /* end confdefs.h. */
2454 rm -f conftest.
$ac_objext
2455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2456 (eval $ac_compile) 2>conftest.er1
2458 grep -v '^ *+' conftest.er1
>conftest.err
2460 cat conftest.err
>&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); } &&
2463 { ac_try
='test -z "$ac_c_werror_flag"
2464 || test ! -s conftest.err'
2465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); }; } &&
2470 { ac_try
='test -s conftest.$ac_objext'
2471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }; }; then
2478 echo "$as_me: failed program was:" >&5
2479 sed 's/^/| /' conftest.
$ac_ext >&5
2483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2484 cat >conftest.
$ac_ext <<_ACEOF
2487 cat confdefs.h
>>conftest.
$ac_ext
2488 cat >>conftest.
$ac_ext <<_ACEOF
2489 /* end confdefs.h. */
2499 rm -f conftest.
$ac_objext
2500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2501 (eval $ac_compile) 2>conftest.er1
2503 grep -v '^ *+' conftest.er1
>conftest.err
2505 cat conftest.err
>&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); } &&
2508 { ac_try
='test -z "$ac_c_werror_flag"
2509 || test ! -s conftest.err'
2510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; } &&
2515 { ac_try
='test -s conftest.$ac_objext'
2516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }; }; then
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.
$ac_ext >&5
2527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2530 if test -n "$ac_declaration"; then
2531 echo '#ifdef __cplusplus' >>confdefs.h
2532 echo $ac_declaration >>confdefs.h
2533 echo '#endif' >>confdefs.h
2537 echo "$as_me: failed program was:" >&5
2538 sed 's/^/| /' conftest.
$ac_ext >&5
2541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2543 ac_cpp
='$CPP $CPPFLAGS'
2544 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2545 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2546 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2549 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2550 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2551 if test "${ac_cv_search_strerror+set}" = set; then
2552 echo $ECHO_N "(cached) $ECHO_C" >&6
2554 ac_func_search_save_LIBS
=$LIBS
2555 ac_cv_search_strerror
=no
2556 cat >conftest.
$ac_ext <<_ACEOF
2559 cat confdefs.h
>>conftest.
$ac_ext
2560 cat >>conftest.
$ac_ext <<_ACEOF
2561 /* end confdefs.h. */
2563 /* Override any gcc2 internal prototype to avoid an error. */
2567 /* We use char because int might match the return type of a gcc2
2568 builtin and then its argument prototype would still apply. */
2578 rm -f conftest.
$ac_objext conftest
$ac_exeext
2579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2580 (eval $ac_link) 2>conftest.er1
2582 grep -v '^ *+' conftest.er1
>conftest.err
2584 cat conftest.err
>&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); } &&
2587 { ac_try
='test -z "$ac_c_werror_flag"
2588 || test ! -s conftest.err'
2589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }; } &&
2594 { ac_try
='test -s conftest$ac_exeext'
2595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; }; then
2600 ac_cv_search_strerror
="none required"
2602 echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.
$ac_ext >&5
2606 rm -f conftest.err conftest.
$ac_objext \
2607 conftest
$ac_exeext conftest.
$ac_ext
2608 if test "$ac_cv_search_strerror" = no
; then
2609 for ac_lib
in cposix
; do
2610 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2611 cat >conftest.
$ac_ext <<_ACEOF
2614 cat confdefs.h
>>conftest.
$ac_ext
2615 cat >>conftest.
$ac_ext <<_ACEOF
2616 /* end confdefs.h. */
2618 /* Override any gcc2 internal prototype to avoid an error. */
2622 /* We use char because int might match the return type of a gcc2
2623 builtin and then its argument prototype would still apply. */
2633 rm -f conftest.
$ac_objext conftest
$ac_exeext
2634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2635 (eval $ac_link) 2>conftest.er1
2637 grep -v '^ *+' conftest.er1
>conftest.err
2639 cat conftest.err
>&5
2640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641 (exit $ac_status); } &&
2642 { ac_try
='test -z "$ac_c_werror_flag"
2643 || test ! -s conftest.err'
2644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); }; } &&
2649 { ac_try
='test -s conftest$ac_exeext'
2650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); }; }; then
2655 ac_cv_search_strerror
="-l$ac_lib"
2658 echo "$as_me: failed program was:" >&5
2659 sed 's/^/| /' conftest.
$ac_ext >&5
2662 rm -f conftest.err conftest.
$ac_objext \
2663 conftest
$ac_exeext conftest.
$ac_ext
2666 LIBS
=$ac_func_search_save_LIBS
2668 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2669 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2670 if test "$ac_cv_search_strerror" != no
; then
2671 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2676 am__api_version
="1.9"
2677 # Find a good install program. We prefer a C program (faster),
2678 # so one script is as good as another. But avoid the broken or
2679 # incompatible versions:
2680 # SysV /etc/install, /usr/sbin/install
2681 # SunOS /usr/etc/install
2682 # IRIX /sbin/install
2684 # AmigaOS /C/install, which installs bootblocks on floppy discs
2685 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2686 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2687 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2688 # OS/2's system install, which has a completely different semantic
2689 # ./install, which can be erroneously created by make from ./install.sh.
2690 # Reject install programs that cannot install multiple files.
2691 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2692 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2693 if test -z "$INSTALL"; then
2694 if test "${ac_cv_path_install+set}" = set; then
2695 echo $ECHO_N "(cached) $ECHO_C" >&6
2697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2701 test -z "$as_dir" && as_dir
=.
2702 # Account for people who put trailing slashes in PATH elements.
2704 .
/ | .
// |
/cC
/* | \
2705 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2706 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2709 # OSF1 and SCO ODT 3.0 have their own names for install.
2710 # Don't use installbsd from OSF since it installs stuff as root
2712 for ac_prog
in ginstall scoinst
install; do
2713 for ac_exec_ext
in '' $ac_executable_extensions; do
2714 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2715 if test $ac_prog = install &&
2716 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2717 # AIX install. It has an incompatible calling convention.
2719 elif test $ac_prog = install &&
2720 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2721 # program-specific install script used by HP pwplus--don't use.
2724 rm -rf conftest.one conftest.two conftest.dir
2725 echo one
> conftest.one
2726 echo two
> conftest.two
2728 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2729 test -s conftest.one
&& test -s conftest.two
&&
2730 test -s conftest.dir
/conftest.one
&&
2731 test -s conftest.dir
/conftest.two
2733 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2744 rm -rf conftest.one conftest.two conftest.dir
2747 if test "${ac_cv_path_install+set}" = set; then
2748 INSTALL
=$ac_cv_path_install
2750 # As a last resort, use the slow shell script. Don't cache a
2751 # value for INSTALL within a source directory, because that will
2752 # break other packages using the cache if that directory is
2753 # removed, or if the value is a relative name.
2754 INSTALL
=$ac_install_sh
2757 echo "$as_me:$LINENO: result: $INSTALL" >&5
2758 echo "${ECHO_T}$INSTALL" >&6
2760 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2761 # It thinks the first close brace ends the variable substitution.
2762 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2764 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2766 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2768 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2769 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2772 echo timestamp
> conftest.
file
2773 # Do `set' in a subshell so we don't clobber the current shell's
2774 # arguments. Must try -L first in case configure is actually a
2775 # symlink; some systems play weird games with the mod time of symlinks
2776 # (eg FreeBSD returns the mod time of the symlink's containing
2779 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2780 if test "$*" = "X"; then
2782 set X
`ls -t $srcdir/configure conftest.file`
2785 if test "$*" != "X $srcdir/configure conftest.file" \
2786 && test "$*" != "X conftest.file $srcdir/configure"; then
2788 # If neither matched, then we have a broken ls. This can happen
2789 # if, for instance, CONFIG_SHELL is bash and it inherits a
2790 # broken ls alias from the environment. This has actually
2791 # happened. Such a system could not be considered "sane".
2792 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2793 alias in your environment" >&5
2794 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2795 alias in your environment" >&2;}
2796 { (exit 1); exit 1; }; }
2799 test "$2" = conftest.
file
2805 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2806 Check your system clock" >&5
2807 echo "$as_me: error: newly created file is older than distributed files!
2808 Check your system clock" >&2;}
2809 { (exit 1); exit 1; }; }
2811 echo "$as_me:$LINENO: result: yes" >&5
2812 echo "${ECHO_T}yes" >&6
2813 test "$program_prefix" != NONE
&&
2814 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2815 # Use a double $ so make ignores it.
2816 test "$program_suffix" != NONE
&&
2817 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2818 # Double any \ or $. echo might interpret backslashes.
2819 # By default was `s,x,x', remove it if useless.
2820 cat <<\_ACEOF
>conftest.
sed
2821 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2823 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2826 # expand $ac_aux_dir to an absolute path
2827 am_aux_dir
=`cd $ac_aux_dir && pwd`
2829 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2830 # Use eval to expand $SHELL
2831 if eval "$MISSING --run true"; then
2832 am_missing_run
="$MISSING --run "
2835 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2836 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2839 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2840 # We used to keeping the `.' as first argument, in order to
2841 # allow $(mkdir_p) to be used without argument. As in
2842 # $(mkdir_p) $(somedir)
2843 # where $(somedir) is conditionally defined. However this is wrong
2845 # 1. if the package is installed by a user who cannot write `.'
2846 # make install will fail,
2847 # 2. the above comment should most certainly read
2848 # $(mkdir_p) $(DESTDIR)$(somedir)
2849 # so it does not work when $(somedir) is undefined and
2850 # $(DESTDIR) is not.
2851 # To support the latter case, we have to write
2852 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2853 # so the `.' trick is pointless.
2854 mkdir_p
='mkdir -p --'
2856 # On NextStep and OpenStep, the `mkdir' command does not
2857 # recognize any option. It will interpret all options as
2858 # directories to create, and then abort because `.' already
2860 for d
in .
/-p .
/--version;
2862 test -d $d && rmdir $d
2864 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2865 if test -f "$ac_aux_dir/mkinstalldirs"; then
2866 mkdir_p
='$(mkinstalldirs)'
2868 mkdir_p
='$(install_sh) -d'
2872 for ac_prog
in gawk mawk nawk
awk
2874 # Extract the first word of "$ac_prog", so it can be a program name with args.
2875 set dummy
$ac_prog; ac_word
=$2
2876 echo "$as_me:$LINENO: checking for $ac_word" >&5
2877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2878 if test "${ac_cv_prog_AWK+set}" = set; then
2879 echo $ECHO_N "(cached) $ECHO_C" >&6
2881 if test -n "$AWK"; then
2882 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2888 test -z "$as_dir" && as_dir
=.
2889 for ac_exec_ext
in '' $ac_executable_extensions; do
2890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2891 ac_cv_prog_AWK
="$ac_prog"
2892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2901 if test -n "$AWK"; then
2902 echo "$as_me:$LINENO: result: $AWK" >&5
2903 echo "${ECHO_T}$AWK" >&6
2905 echo "$as_me:$LINENO: result: no" >&5
2906 echo "${ECHO_T}no" >&6
2909 test -n "$AWK" && break
2912 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2913 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2914 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2915 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2916 echo $ECHO_N "(cached) $ECHO_C" >&6
2918 cat >conftest.
make <<\_ACEOF
2920 @
echo 'ac_maketemp="$(MAKE)"'
2922 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2923 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2924 if test -n "$ac_maketemp"; then
2925 eval ac_cv_prog_make_
${ac_make}_set
=yes
2927 eval ac_cv_prog_make_
${ac_make}_set
=no
2931 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2932 echo "$as_me:$LINENO: result: yes" >&5
2933 echo "${ECHO_T}yes" >&6
2936 echo "$as_me:$LINENO: result: no" >&5
2937 echo "${ECHO_T}no" >&6
2938 SET_MAKE
="MAKE=${MAKE-make}"
2941 rm -rf .tst
2>/dev
/null
2942 mkdir .tst
2>/dev
/null
2943 if test -d .tst
; then
2948 rmdir .tst
2>/dev
/null
2950 DEPDIR
="${am__leading_dot}deps"
2952 ac_config_commands
="$ac_config_commands depfiles"
2955 am_make
=${MAKE-make}
2956 cat > confinc
<< 'END'
2961 # If we don't find an include directive, just comment out the code.
2962 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2963 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2967 # First try GNU make style include.
2968 echo "include confinc" > confmf
2969 # We grep out `Entering directory' and `Leaving directory'
2970 # messages which can occur if `w' ends up in MAKEFLAGS.
2971 # In particular we don't look at `^make:' because GNU make might
2972 # be invoked under some other name (usually "gmake"), in which
2973 # case it prints its new name instead of `make'.
2974 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2979 # Now try BSD make style include.
2980 if test "$am__include" = "#"; then
2981 echo '.include "confinc"' > confmf
2982 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2983 am__include
=.include
2990 echo "$as_me:$LINENO: result: $_am_result" >&5
2991 echo "${ECHO_T}$_am_result" >&6
2992 rm -f confinc confmf
2994 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2995 if test "${enable_dependency_tracking+set}" = set; then
2996 enableval
="$enable_dependency_tracking"
2999 if test "x$enable_dependency_tracking" != xno
; then
3000 am_depcomp
="$ac_aux_dir/depcomp"
3005 if test "x$enable_dependency_tracking" != xno; then
3015 # test to see if srcdir already configured
3016 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3017 test -f $srcdir/config.status
; then
3018 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3019 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3020 { (exit 1); exit 1; }; }
3023 # test whether we have cygpath
3024 if test -z "$CYGPATH_W"; then
3025 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3026 CYGPATH_W
='cygpath -w'
3033 # Define the identity of the package.
3038 cat >>confdefs.h
<<_ACEOF
3039 #define PACKAGE "$PACKAGE"
3043 cat >>confdefs.h
<<_ACEOF
3044 #define VERSION "$VERSION"
3047 # Some tools Automake needs.
3049 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3052 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3055 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3058 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3061 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3063 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3065 # Installed binaries are usually stripped using `strip' when the user
3066 # run `make install-strip'. However `strip' might not be the right
3067 # tool to use in cross-compilation environments, therefore Automake
3068 # will honor the `STRIP' environment variable to overrule this program.
3069 if test "$cross_compiling" != no
; then
3070 if test -n "$ac_tool_prefix"; then
3071 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3072 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3073 echo "$as_me:$LINENO: checking for $ac_word" >&5
3074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3075 if test "${ac_cv_prog_STRIP+set}" = set; then
3076 echo $ECHO_N "(cached) $ECHO_C" >&6
3078 if test -n "$STRIP"; then
3079 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3085 test -z "$as_dir" && as_dir
=.
3086 for ac_exec_ext
in '' $ac_executable_extensions; do
3087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3088 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3097 STRIP
=$ac_cv_prog_STRIP
3098 if test -n "$STRIP"; then
3099 echo "$as_me:$LINENO: result: $STRIP" >&5
3100 echo "${ECHO_T}$STRIP" >&6
3102 echo "$as_me:$LINENO: result: no" >&5
3103 echo "${ECHO_T}no" >&6
3107 if test -z "$ac_cv_prog_STRIP"; then
3109 # Extract the first word of "strip", so it can be a program name with args.
3110 set dummy strip
; ac_word
=$2
3111 echo "$as_me:$LINENO: checking for $ac_word" >&5
3112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3113 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3114 echo $ECHO_N "(cached) $ECHO_C" >&6
3116 if test -n "$ac_ct_STRIP"; then
3117 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3123 test -z "$as_dir" && as_dir
=.
3124 for ac_exec_ext
in '' $ac_executable_extensions; do
3125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3126 ac_cv_prog_ac_ct_STRIP
="strip"
3127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3133 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3136 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3137 if test -n "$ac_ct_STRIP"; then
3138 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3139 echo "${ECHO_T}$ac_ct_STRIP" >&6
3141 echo "$as_me:$LINENO: result: no" >&5
3142 echo "${ECHO_T}no" >&6
3147 STRIP
="$ac_cv_prog_STRIP"
3151 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3153 # We need awk for the "check" target. The system "awk" is bad on
3155 # Always define AMTAR for backward compatibility.
3157 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3159 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3164 depcc
="$CC" am_compiler_list
=
3166 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3167 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3168 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3169 echo $ECHO_N "(cached) $ECHO_C" >&6
3171 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3172 # We make a subdir and do the tests there. Otherwise we can end up
3173 # making bogus files that we don't know about and never remove. For
3174 # instance it was reported that on HP-UX the gcc test will end up
3175 # making a dummy file named `D' -- because `-MD' means `put the output
3178 # Copy depcomp to subdir because otherwise we won't find it if we're
3179 # using a relative directory.
3180 cp "$am_depcomp" conftest.dir
3182 # We will build objects and dependencies in a subdirectory because
3183 # it helps to detect inapplicable dependency modes. For instance
3184 # both Tru64's cc and ICC support -MD to output dependencies as a
3185 # side effect of compilation, but ICC will put the dependencies in
3186 # the current directory while Tru64 will put them in the object
3190 am_cv_CC_dependencies_compiler_type
=none
3191 if test "$am_compiler_list" = ""; then
3192 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3194 for depmode
in $am_compiler_list; do
3195 # Setup a source with many dependencies, because some compilers
3196 # like to wrap large dependency lists on column 80 (with \), and
3197 # we should not choose a depcomp mode which is confused by this.
3199 # We need to recreate these files for each test, as the compiler may
3200 # overwrite some of them when testing with obscure command lines.
3201 # This happens at least with the AIX C compiler.
3203 for i
in 1 2 3 4 5 6; do
3204 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3205 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3206 # Solaris 8's {/usr,}/bin/sh.
3207 touch sub
/conftst
$i.h
3209 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3213 # after this tag, mechanisms are not by side-effect, so they'll
3214 # only be used when explicitly requested
3215 if test "x$enable_dependency_tracking" = xyes
; then
3223 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3224 # mode. It turns out that the SunPro C++ compiler does not properly
3225 # handle `-M -o', and we need to detect this.
3226 if depmode
=$depmode \
3227 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3228 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3229 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3230 >/dev
/null
2>conftest.err
&&
3231 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3232 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3233 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3234 # icc doesn't choke on unknown options, it will just issue warnings
3235 # or remarks (even with -Werror). So we grep stderr for any message
3236 # that says an option was ignored or not supported.
3237 # When given -MP, icc 7.0 and 7.1 complain thusly:
3238 # icc: Command line warning: ignoring option '-M'; no argument required
3239 # The diagnosis changed in icc 8.0:
3240 # icc: Command line remark: option '-MP' not supported
3241 if (grep 'ignoring option' conftest.err ||
3242 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3243 am_cv_CC_dependencies_compiler_type
=$depmode
3252 am_cv_CC_dependencies_compiler_type
=none
3256 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3257 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3258 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3263 test "x$enable_dependency_tracking" != xno \
3264 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3266 am__fastdepCC_FALSE
='#'
3268 am__fastdepCC_TRUE
='#'
3269 am__fastdepCC_FALSE
=
3275 if test -n "$ac_tool_prefix"; then
3276 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3277 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3278 echo "$as_me:$LINENO: checking for $ac_word" >&5
3279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3280 if test "${ac_cv_prog_AR+set}" = set; then
3281 echo $ECHO_N "(cached) $ECHO_C" >&6
3283 if test -n "$AR"; then
3284 ac_cv_prog_AR
="$AR" # Let the user override the test.
3286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3290 test -z "$as_dir" && as_dir
=.
3291 for ac_exec_ext
in '' $ac_executable_extensions; do
3292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3293 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3303 if test -n "$AR"; then
3304 echo "$as_me:$LINENO: result: $AR" >&5
3305 echo "${ECHO_T}$AR" >&6
3307 echo "$as_me:$LINENO: result: no" >&5
3308 echo "${ECHO_T}no" >&6
3312 if test -z "$ac_cv_prog_AR"; then
3314 # Extract the first word of "ar", so it can be a program name with args.
3315 set dummy
ar; ac_word
=$2
3316 echo "$as_me:$LINENO: checking for $ac_word" >&5
3317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3318 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3319 echo $ECHO_N "(cached) $ECHO_C" >&6
3321 if test -n "$ac_ct_AR"; then
3322 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3328 test -z "$as_dir" && as_dir
=.
3329 for ac_exec_ext
in '' $ac_executable_extensions; do
3330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3331 ac_cv_prog_ac_ct_AR
="ar"
3332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3340 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3341 if test -n "$ac_ct_AR"; then
3342 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3343 echo "${ECHO_T}$ac_ct_AR" >&6
3345 echo "$as_me:$LINENO: result: no" >&5
3346 echo "${ECHO_T}no" >&6
3354 if test -n "$ac_tool_prefix"; then
3355 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3356 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3357 echo "$as_me:$LINENO: checking for $ac_word" >&5
3358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3359 if test "${ac_cv_prog_RANLIB+set}" = set; then
3360 echo $ECHO_N "(cached) $ECHO_C" >&6
3362 if test -n "$RANLIB"; then
3363 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3369 test -z "$as_dir" && as_dir
=.
3370 for ac_exec_ext
in '' $ac_executable_extensions; do
3371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3372 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3381 RANLIB
=$ac_cv_prog_RANLIB
3382 if test -n "$RANLIB"; then
3383 echo "$as_me:$LINENO: result: $RANLIB" >&5
3384 echo "${ECHO_T}$RANLIB" >&6
3386 echo "$as_me:$LINENO: result: no" >&5
3387 echo "${ECHO_T}no" >&6
3391 if test -z "$ac_cv_prog_RANLIB"; then
3392 ac_ct_RANLIB
=$RANLIB
3393 # Extract the first word of "ranlib", so it can be a program name with args.
3394 set dummy ranlib
; ac_word
=$2
3395 echo "$as_me:$LINENO: checking for $ac_word" >&5
3396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3397 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3398 echo $ECHO_N "(cached) $ECHO_C" >&6
3400 if test -n "$ac_ct_RANLIB"; then
3401 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3407 test -z "$as_dir" && as_dir
=.
3408 for ac_exec_ext
in '' $ac_executable_extensions; do
3409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3410 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3417 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3420 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3421 if test -n "$ac_ct_RANLIB"; then
3422 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3423 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3425 echo "$as_me:$LINENO: result: no" >&5
3426 echo "${ECHO_T}no" >&6
3429 RANLIB
=$ac_ct_RANLIB
3431 RANLIB
="$ac_cv_prog_RANLIB"
3435 # Check whether --enable-shared or --disable-shared was given.
3436 if test "${enable_shared+set}" = set; then
3437 enableval
="$enable_shared"
3438 p
=${PACKAGE-default}
3440 yes) enable_shared
=yes ;;
3441 no
) enable_shared
=no
;;
3444 # Look at the argument we got. We use all the common list separators.
3445 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3446 for pkg
in $enableval; do
3448 if test "X$pkg" = "X$p"; then
3468 ac_cpp
='$CPP $CPPFLAGS'
3469 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3470 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3471 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3472 if test -n "$ac_tool_prefix"; then
3473 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3474 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3475 echo "$as_me:$LINENO: checking for $ac_word" >&5
3476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3477 if test "${ac_cv_prog_CC+set}" = set; then
3478 echo $ECHO_N "(cached) $ECHO_C" >&6
3480 if test -n "$CC"; then
3481 ac_cv_prog_CC
="$CC" # Let the user override the test.
3483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3487 test -z "$as_dir" && as_dir
=.
3488 for ac_exec_ext
in '' $ac_executable_extensions; do
3489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3490 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3500 if test -n "$CC"; then
3501 echo "$as_me:$LINENO: result: $CC" >&5
3502 echo "${ECHO_T}$CC" >&6
3504 echo "$as_me:$LINENO: result: no" >&5
3505 echo "${ECHO_T}no" >&6
3509 if test -z "$ac_cv_prog_CC"; then
3511 # Extract the first word of "gcc", so it can be a program name with args.
3512 set dummy gcc
; ac_word
=$2
3513 echo "$as_me:$LINENO: checking for $ac_word" >&5
3514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3515 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3516 echo $ECHO_N "(cached) $ECHO_C" >&6
3518 if test -n "$ac_ct_CC"; then
3519 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3525 test -z "$as_dir" && as_dir
=.
3526 for ac_exec_ext
in '' $ac_executable_extensions; do
3527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3528 ac_cv_prog_ac_ct_CC
="gcc"
3529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3537 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3538 if test -n "$ac_ct_CC"; then
3539 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3540 echo "${ECHO_T}$ac_ct_CC" >&6
3542 echo "$as_me:$LINENO: result: no" >&5
3543 echo "${ECHO_T}no" >&6
3551 if test -z "$CC"; then
3552 if test -n "$ac_tool_prefix"; then
3553 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3554 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3555 echo "$as_me:$LINENO: checking for $ac_word" >&5
3556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3557 if test "${ac_cv_prog_CC+set}" = set; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3560 if test -n "$CC"; then
3561 ac_cv_prog_CC
="$CC" # Let the user override the test.
3563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3567 test -z "$as_dir" && as_dir
=.
3568 for ac_exec_ext
in '' $ac_executable_extensions; do
3569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3570 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3580 if test -n "$CC"; then
3581 echo "$as_me:$LINENO: result: $CC" >&5
3582 echo "${ECHO_T}$CC" >&6
3584 echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6
3589 if test -z "$ac_cv_prog_CC"; then
3591 # Extract the first word of "cc", so it can be a program name with args.
3592 set dummy cc
; ac_word
=$2
3593 echo "$as_me:$LINENO: checking for $ac_word" >&5
3594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3595 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3596 echo $ECHO_N "(cached) $ECHO_C" >&6
3598 if test -n "$ac_ct_CC"; then
3599 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3605 test -z "$as_dir" && as_dir
=.
3606 for ac_exec_ext
in '' $ac_executable_extensions; do
3607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3608 ac_cv_prog_ac_ct_CC
="cc"
3609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3617 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3618 if test -n "$ac_ct_CC"; then
3619 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3620 echo "${ECHO_T}$ac_ct_CC" >&6
3622 echo "$as_me:$LINENO: result: no" >&5
3623 echo "${ECHO_T}no" >&6
3632 if test -z "$CC"; then
3633 # Extract the first word of "cc", so it can be a program name with args.
3634 set dummy cc
; ac_word
=$2
3635 echo "$as_me:$LINENO: checking for $ac_word" >&5
3636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3637 if test "${ac_cv_prog_CC+set}" = set; then
3638 echo $ECHO_N "(cached) $ECHO_C" >&6
3640 if test -n "$CC"; then
3641 ac_cv_prog_CC
="$CC" # Let the user override the test.
3644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3648 test -z "$as_dir" && as_dir
=.
3649 for ac_exec_ext
in '' $ac_executable_extensions; do
3650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3651 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3652 ac_prog_rejected
=yes
3656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3662 if test $ac_prog_rejected = yes; then
3663 # We found a bogon in the path, so make sure we never use it.
3664 set dummy
$ac_cv_prog_CC
3666 if test $# != 0; then
3667 # We chose a different compiler from the bogus one.
3668 # However, it has the same basename, so the bogon will be chosen
3669 # first if we set CC to just the basename; use the full file name.
3671 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3677 if test -n "$CC"; then
3678 echo "$as_me:$LINENO: result: $CC" >&5
3679 echo "${ECHO_T}$CC" >&6
3681 echo "$as_me:$LINENO: result: no" >&5
3682 echo "${ECHO_T}no" >&6
3686 if test -z "$CC"; then
3687 if test -n "$ac_tool_prefix"; then
3690 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3691 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3692 echo "$as_me:$LINENO: checking for $ac_word" >&5
3693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3694 if test "${ac_cv_prog_CC+set}" = set; then
3695 echo $ECHO_N "(cached) $ECHO_C" >&6
3697 if test -n "$CC"; then
3698 ac_cv_prog_CC
="$CC" # Let the user override the test.
3700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3704 test -z "$as_dir" && as_dir
=.
3705 for ac_exec_ext
in '' $ac_executable_extensions; do
3706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3707 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3717 if test -n "$CC"; then
3718 echo "$as_me:$LINENO: result: $CC" >&5
3719 echo "${ECHO_T}$CC" >&6
3721 echo "$as_me:$LINENO: result: no" >&5
3722 echo "${ECHO_T}no" >&6
3725 test -n "$CC" && break
3728 if test -z "$CC"; then
3732 # Extract the first word of "$ac_prog", so it can be a program name with args.
3733 set dummy
$ac_prog; ac_word
=$2
3734 echo "$as_me:$LINENO: checking for $ac_word" >&5
3735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3736 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3737 echo $ECHO_N "(cached) $ECHO_C" >&6
3739 if test -n "$ac_ct_CC"; then
3740 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3746 test -z "$as_dir" && as_dir
=.
3747 for ac_exec_ext
in '' $ac_executable_extensions; do
3748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3749 ac_cv_prog_ac_ct_CC
="$ac_prog"
3750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3758 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3759 if test -n "$ac_ct_CC"; then
3760 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3761 echo "${ECHO_T}$ac_ct_CC" >&6
3763 echo "$as_me:$LINENO: result: no" >&5
3764 echo "${ECHO_T}no" >&6
3767 test -n "$ac_ct_CC" && break
3776 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3777 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3778 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3779 See \`config.log' for more details." >&5
3780 echo "$as_me: error: no acceptable C compiler found in \$PATH
3781 See \`config.log' for more details." >&2;}
3782 { (exit 1); exit 1; }; }; }
3784 # Provide some information about the compiler.
3785 echo "$as_me:$LINENO:" \
3786 "checking for C compiler version" >&5
3787 ac_compiler
=`set X $ac_compile; echo $2`
3788 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3789 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3792 (exit $ac_status); }
3793 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3794 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); }
3798 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3799 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); }
3804 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3805 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3806 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3807 echo $ECHO_N "(cached) $ECHO_C" >&6
3809 cat >conftest.
$ac_ext <<_ACEOF
3812 cat confdefs.h
>>conftest.
$ac_ext
3813 cat >>conftest.
$ac_ext <<_ACEOF
3814 /* end confdefs.h. */
3827 rm -f conftest.
$ac_objext
3828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3829 (eval $ac_compile) 2>conftest.er1
3831 grep -v '^ *+' conftest.er1
>conftest.err
3833 cat conftest.err
>&5
3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835 (exit $ac_status); } &&
3836 { ac_try
='test -z "$ac_c_werror_flag"
3837 || test ! -s conftest.err'
3838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3842 (exit $ac_status); }; } &&
3843 { ac_try
='test -s conftest.$ac_objext'
3844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848 (exit $ac_status); }; }; then
3851 echo "$as_me: failed program was:" >&5
3852 sed 's/^/| /' conftest.
$ac_ext >&5
3856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3857 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3860 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3861 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3862 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3863 ac_test_CFLAGS
=${CFLAGS+set}
3864 ac_save_CFLAGS
=$CFLAGS
3866 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3867 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3868 if test "${ac_cv_prog_cc_g+set}" = set; then
3869 echo $ECHO_N "(cached) $ECHO_C" >&6
3871 cat >conftest.
$ac_ext <<_ACEOF
3874 cat confdefs.h
>>conftest.
$ac_ext
3875 cat >>conftest.
$ac_ext <<_ACEOF
3876 /* end confdefs.h. */
3886 rm -f conftest.
$ac_objext
3887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3888 (eval $ac_compile) 2>conftest.er1
3890 grep -v '^ *+' conftest.er1
>conftest.err
3892 cat conftest.err
>&5
3893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3894 (exit $ac_status); } &&
3895 { ac_try
='test -z "$ac_c_werror_flag"
3896 || test ! -s conftest.err'
3897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901 (exit $ac_status); }; } &&
3902 { ac_try
='test -s conftest.$ac_objext'
3903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907 (exit $ac_status); }; }; then
3910 echo "$as_me: failed program was:" >&5
3911 sed 's/^/| /' conftest.
$ac_ext >&5
3915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3917 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3918 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3919 if test "$ac_test_CFLAGS" = set; then
3920 CFLAGS
=$ac_save_CFLAGS
3921 elif test $ac_cv_prog_cc_g = yes; then
3922 if test "$GCC" = yes; then
3928 if test "$GCC" = yes; then
3934 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3935 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3936 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3937 echo $ECHO_N "(cached) $ECHO_C" >&6
3939 ac_cv_prog_cc_stdc
=no
3941 cat >conftest.
$ac_ext <<_ACEOF
3944 cat confdefs.h
>>conftest.
$ac_ext
3945 cat >>conftest.
$ac_ext <<_ACEOF
3946 /* end confdefs.h. */
3949 #include <sys/types.h>
3950 #include <sys/stat.h>
3951 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3952 struct buf { int x; };
3953 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3954 static char *e (p, i)
3960 static char *f (char * (*g) (char **, int), char **p, ...)
3965 s = g (p, va_arg (v,int));
3970 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3971 function prototypes and stuff, but not '\xHH' hex character constants.
3972 These don't provoke an error unfortunately, instead are silently treated
3973 as 'x'. The following induces an error, until -std1 is added to get
3974 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3975 array size at least. It's necessary to write '\x00'==0 to get something
3976 that's true only with -std1. */
3977 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3979 int test (int i, double x);
3980 struct s1 {int (*f) (int a);};
3981 struct s2 {int (*f) (double a);};
3982 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3988 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3993 # Don't try gcc -ansi; that turns off useful extensions and
3994 # breaks some systems' header files.
3995 # AIX -qlanglvl=ansi
3996 # Ultrix and OSF/1 -std1
3997 # HP-UX 10.20 and later -Ae
3998 # HP-UX older versions -Aa -D_HPUX_SOURCE
3999 # SVR4 -Xc -D__EXTENSIONS__
4000 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4002 CC
="$ac_save_CC $ac_arg"
4003 rm -f conftest.
$ac_objext
4004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4005 (eval $ac_compile) 2>conftest.er1
4007 grep -v '^ *+' conftest.er1
>conftest.err
4009 cat conftest.err
>&5
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); } &&
4012 { ac_try
='test -z "$ac_c_werror_flag"
4013 || test ! -s conftest.err'
4014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018 (exit $ac_status); }; } &&
4019 { ac_try
='test -s conftest.$ac_objext'
4020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); }; }; then
4025 ac_cv_prog_cc_stdc
=$ac_arg
4028 echo "$as_me: failed program was:" >&5
4029 sed 's/^/| /' conftest.
$ac_ext >&5
4032 rm -f conftest.err conftest.
$ac_objext
4034 rm -f conftest.
$ac_ext conftest.
$ac_objext
4039 case "x$ac_cv_prog_cc_stdc" in
4041 echo "$as_me:$LINENO: result: none needed" >&5
4042 echo "${ECHO_T}none needed" >&6 ;;
4044 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4045 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4046 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4049 # Some people use a C++ compiler to compile C. Since we use `exit',
4050 # in C++ we need to declare it. In case someone uses the same compiler
4051 # for both compiling C and C++ we need to have the C++ compiler decide
4052 # the declaration of exit, since it's the most demanding environment.
4053 cat >conftest.
$ac_ext <<_ACEOF
4058 rm -f conftest.
$ac_objext
4059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4060 (eval $ac_compile) 2>conftest.er1
4062 grep -v '^ *+' conftest.er1
>conftest.err
4064 cat conftest.err
>&5
4065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4066 (exit $ac_status); } &&
4067 { ac_try
='test -z "$ac_c_werror_flag"
4068 || test ! -s conftest.err'
4069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4073 (exit $ac_status); }; } &&
4074 { ac_try
='test -s conftest.$ac_objext'
4075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); }; }; then
4080 for ac_declaration
in \
4082 'extern "C" void std::exit (int) throw (); using std::exit;' \
4083 'extern "C" void std::exit (int); using std::exit;' \
4084 'extern "C" void exit (int) throw ();' \
4085 'extern "C" void exit (int);' \
4088 cat >conftest.
$ac_ext <<_ACEOF
4091 cat confdefs.h
>>conftest.
$ac_ext
4092 cat >>conftest.
$ac_ext <<_ACEOF
4093 /* end confdefs.h. */
4104 rm -f conftest.
$ac_objext
4105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4106 (eval $ac_compile) 2>conftest.er1
4108 grep -v '^ *+' conftest.er1
>conftest.err
4110 cat conftest.err
>&5
4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112 (exit $ac_status); } &&
4113 { ac_try
='test -z "$ac_c_werror_flag"
4114 || test ! -s conftest.err'
4115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119 (exit $ac_status); }; } &&
4120 { ac_try
='test -s conftest.$ac_objext'
4121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); }; }; then
4128 echo "$as_me: failed program was:" >&5
4129 sed 's/^/| /' conftest.
$ac_ext >&5
4133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4134 cat >conftest.
$ac_ext <<_ACEOF
4137 cat confdefs.h
>>conftest.
$ac_ext
4138 cat >>conftest.
$ac_ext <<_ACEOF
4139 /* end confdefs.h. */
4149 rm -f conftest.
$ac_objext
4150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4151 (eval $ac_compile) 2>conftest.er1
4153 grep -v '^ *+' conftest.er1
>conftest.err
4155 cat conftest.err
>&5
4156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157 (exit $ac_status); } &&
4158 { ac_try
='test -z "$ac_c_werror_flag"
4159 || test ! -s conftest.err'
4160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164 (exit $ac_status); }; } &&
4165 { ac_try
='test -s conftest.$ac_objext'
4166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); }; }; then
4173 echo "$as_me: failed program was:" >&5
4174 sed 's/^/| /' conftest.
$ac_ext >&5
4177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4180 if test -n "$ac_declaration"; then
4181 echo '#ifdef __cplusplus' >>confdefs.h
4182 echo $ac_declaration >>confdefs.h
4183 echo '#endif' >>confdefs.h
4187 echo "$as_me: failed program was:" >&5
4188 sed 's/^/| /' conftest.
$ac_ext >&5
4191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4193 ac_cpp
='$CPP $CPPFLAGS'
4194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4199 cat >>confdefs.h
<<\_ACEOF
4200 #define _GNU_SOURCE 1
4207 macro_version
='2.1a'
4208 macro_revision
='1.2435'
4221 ltmain
="$ac_aux_dir/ltmain.sh"
4232 # Check whether --enable-static or --disable-static was given.
4233 if test "${enable_static+set}" = set; then
4234 enableval
="$enable_static"
4235 p
=${PACKAGE-default}
4237 yes) enable_static
=yes ;;
4238 no
) enable_static
=no
;;
4241 # Look at the argument we got. We use all the common list separators.
4242 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4243 for pkg
in $enableval; do
4245 if test "X$pkg" = "X$p"; then
4264 # Check whether --with-pic or --without-pic was given.
4265 if test "${with_pic+set}" = set; then
4272 test -z "$pic_mode" && pic_mode
=default
4280 # Check whether --enable-fast-install or --disable-fast-install was given.
4281 if test "${enable_fast_install+set}" = set; then
4282 enableval
="$enable_fast_install"
4283 p
=${PACKAGE-default}
4285 yes) enable_fast_install
=yes ;;
4286 no
) enable_fast_install
=no
;;
4288 enable_fast_install
=no
4289 # Look at the argument we got. We use all the common list separators.
4290 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4291 for pkg
in $enableval; do
4293 if test "X$pkg" = "X$p"; then
4294 enable_fast_install
=yes
4301 enable_fast_install
=yes
4311 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4312 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4313 if test "${lt_cv_path_SED+set}" = set; then
4314 echo $ECHO_N "(cached) $ECHO_C" >&6
4316 # Loop through the user's path and test for sed and gsed.
4317 # Then use that list of sed's as ones to test for truncation.
4318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4322 test -z "$as_dir" && as_dir
=.
4323 for lt_ac_prog
in sed gsed
; do
4324 for ac_exec_ext
in '' $ac_executable_extensions; do
4325 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4326 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4334 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4335 # along with /bin/sed that truncates output.
4336 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4337 test ! -f $lt_ac_sed && continue
4338 cat /dev
/null
> conftest.
in
4340 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4341 # Check for GNU sed and select it if it is found.
4342 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4343 lt_cv_path_SED
=$lt_ac_sed
4347 cat conftest.
in conftest.
in >conftest.tmp
4348 mv conftest.tmp conftest.
in
4349 cp conftest.
in conftest.
nl
4351 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4352 cmp -s conftest.out conftest.
nl ||
break
4353 # 10000 chars as input seems more than enough
4354 test $lt_ac_count -gt 10 && break
4355 lt_ac_count
=`expr $lt_ac_count + 1`
4356 if test $lt_ac_count -gt $lt_ac_max; then
4357 lt_ac_max
=$lt_ac_count
4358 lt_cv_path_SED
=$lt_ac_sed
4367 echo "$as_me:$LINENO: result: $SED" >&5
4368 echo "${ECHO_T}$SED" >&6
4370 test -z "$SED" && SED
=sed
4371 Xsed
="$SED -e 1s/^X//"
4383 echo "$as_me:$LINENO: checking for egrep" >&5
4384 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4385 if test "${ac_cv_prog_egrep+set}" = set; then
4386 echo $ECHO_N "(cached) $ECHO_C" >&6
4388 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4389 then ac_cv_prog_egrep
='grep -E'
4390 else ac_cv_prog_egrep
='egrep'
4393 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4394 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4395 EGREP
=$ac_cv_prog_egrep
4398 echo "$as_me:$LINENO: checking for fgrep" >&5
4399 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4400 if test "${ac_cv_prog_fgrep+set}" = set; then
4401 echo $ECHO_N "(cached) $ECHO_C" >&6
4403 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
4404 then ac_cv_prog_fgrep
='grep -F'
4405 else ac_cv_prog_fgrep
='fgrep'
4408 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4409 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4410 FGREP
=$ac_cv_prog_fgrep
4413 test -z "$GREP" && GREP
=grep
4433 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4434 if test "${with_gnu_ld+set}" = set; then
4435 withval
="$with_gnu_ld"
4436 test "$withval" = no || with_gnu_ld
=yes
4441 if test "$GCC" = yes; then
4442 # Check if gcc -print-prog-name=ld gives a path.
4443 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4444 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4447 # gcc leaves a trailing carriage return which upsets mingw
4448 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4450 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4453 # Accept absolute paths.
4455 re_direlt
='/[^/][^/]*/\.\./'
4456 # Canonicalize the pathname of ld
4457 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4458 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4459 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4461 test -z "$LD" && LD
="$ac_prog"
4464 # If it fails, then pretend we aren't using GCC.
4468 # If it is relative, then search for the first ld in PATH.
4472 elif test "$with_gnu_ld" = yes; then
4473 echo "$as_me:$LINENO: checking for GNU ld" >&5
4474 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4476 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4477 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4479 if test "${lt_cv_path_LD+set}" = set; then
4480 echo $ECHO_N "(cached) $ECHO_C" >&6
4482 if test -z "$LD"; then
4483 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4484 for ac_dir
in $PATH; do
4486 test -z "$ac_dir" && ac_dir
=.
4487 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4488 lt_cv_path_LD
="$ac_dir/$ac_prog"
4489 # Check to see if the program is GNU ld. I'd rather use --version,
4490 # but apparently some variants of GNU ld only accept -v.
4491 # Break only if it was the GNU/non-GNU ld that we prefer.
4492 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4493 *GNU
* |
*'with BFD'*)
4494 test "$with_gnu_ld" != no
&& break
4497 test "$with_gnu_ld" != yes && break
4504 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4509 if test -n "$LD"; then
4510 echo "$as_me:$LINENO: result: $LD" >&5
4511 echo "${ECHO_T}$LD" >&6
4513 echo "$as_me:$LINENO: result: no" >&5
4514 echo "${ECHO_T}no" >&6
4516 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4517 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4518 { (exit 1); exit 1; }; }
4519 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4520 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4521 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4522 echo $ECHO_N "(cached) $ECHO_C" >&6
4524 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4525 case `$LD -v 2>&1 </dev/null` in
4526 *GNU
* |
*'with BFD'*)
4527 lt_cv_prog_gnu_ld
=yes
4530 lt_cv_prog_gnu_ld
=no
4534 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4535 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4536 with_gnu_ld
=$lt_cv_prog_gnu_ld
4547 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4548 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4549 if test "${lt_cv_path_NM+set}" = set; then
4550 echo $ECHO_N "(cached) $ECHO_C" >&6
4552 if test -n "$NM"; then
4553 # Let the user override the test.
4556 lt_nm_to_check
="${ac_tool_prefix}nm"
4557 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4558 lt_nm_to_check
="$lt_nm_to_check nm"
4560 for lt_tmp_nm
in $lt_nm_to_check; do
4561 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4562 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4564 test -z "$ac_dir" && ac_dir
=.
4565 tmp_nm
="$ac_dir/$lt_tmp_nm"
4566 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4567 # Check to see if the nm accepts a BSD-compat flag.
4568 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4569 # nm: unknown option "B" ignored
4570 # Tru64's nm complains that /dev/null is an invalid object file
4571 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4572 */dev
/null
* |
*'Invalid file or object type'*)
4573 lt_cv_path_NM
="$tmp_nm -B"
4577 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4579 lt_cv_path_NM
="$tmp_nm -p"
4583 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4584 continue # so that we can try to find one that supports BSD flags
4593 : ${lt_cv_path_NM=no}
4596 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4597 echo "${ECHO_T}$lt_cv_path_NM" >&6
4598 if test "$lt_cv_path_NM" != "no"; then
4601 # Didn't find any BSD compatible name lister, look for dumpbin.
4602 if test -n "$ac_tool_prefix"; then
4603 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4605 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4606 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4607 echo "$as_me:$LINENO: checking for $ac_word" >&5
4608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4609 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4610 echo $ECHO_N "(cached) $ECHO_C" >&6
4612 if test -n "$DUMPBIN"; then
4613 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4619 test -z "$as_dir" && as_dir
=.
4620 for ac_exec_ext
in '' $ac_executable_extensions; do
4621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4622 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4631 DUMPBIN
=$ac_cv_prog_DUMPBIN
4632 if test -n "$DUMPBIN"; then
4633 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4634 echo "${ECHO_T}$DUMPBIN" >&6
4636 echo "$as_me:$LINENO: result: no" >&5
4637 echo "${ECHO_T}no" >&6
4640 test -n "$DUMPBIN" && break
4643 if test -z "$DUMPBIN"; then
4644 ac_ct_DUMPBIN
=$DUMPBIN
4645 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4647 # Extract the first word of "$ac_prog", so it can be a program name with args.
4648 set dummy
$ac_prog; ac_word
=$2
4649 echo "$as_me:$LINENO: checking for $ac_word" >&5
4650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4651 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4652 echo $ECHO_N "(cached) $ECHO_C" >&6
4654 if test -n "$ac_ct_DUMPBIN"; then
4655 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4661 test -z "$as_dir" && as_dir
=.
4662 for ac_exec_ext
in '' $ac_executable_extensions; do
4663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4664 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4673 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4674 if test -n "$ac_ct_DUMPBIN"; then
4675 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4676 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4678 echo "$as_me:$LINENO: result: no" >&5
4679 echo "${ECHO_T}no" >&6
4682 test -n "$ac_ct_DUMPBIN" && break
4684 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
4686 DUMPBIN
=$ac_ct_DUMPBIN
4690 if test "$DUMPBIN" != ":"; then
4694 test -z "$NM" && NM
=nm
4701 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4702 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4703 if test "${lt_cv_nm_interface+set}" = set; then
4704 echo $ECHO_N "(cached) $ECHO_C" >&6
4706 lt_cv_nm_interface
="BSD nm"
4707 echo "int some_variable = 0;" > conftest.
$ac_ext
4708 (eval echo "\"\$as_me:4708: $ac_compile\"" >&5)
4709 (eval "$ac_compile" 2>conftest.err
)
4710 cat conftest.err
>&5
4711 (eval echo "\"\$as_me:4711: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4712 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4713 cat conftest.err
>&5
4714 (eval echo "\"\$as_me:4714: output\"" >&5)
4715 cat conftest.out
>&5
4716 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4717 lt_cv_nm_interface
="MS dumpbin"
4721 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4722 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4724 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4725 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4727 if test "$LN_S" = "ln -s"; then
4728 echo "$as_me:$LINENO: result: yes" >&5
4729 echo "${ECHO_T}yes" >&6
4731 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4732 echo "${ECHO_T}no, using $LN_S" >&6
4735 # find the maximum length of command line arguments
4736 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4737 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4738 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4739 echo $ECHO_N "(cached) $ECHO_C" >&6
4746 # On DJGPP, this test can blow up pretty badly due to problems in libc
4747 # (any single argument exceeding 2000 bytes causes a buffer overrun
4748 # during glob expansion). Even if it were fixed, the result of this
4749 # check would be larger than it should be.
4750 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4754 # Under GNU Hurd, this test is not required because there is
4755 # no limit to the length of command line arguments.
4756 # Libtool will interpret -1 as no limit whatsoever
4757 lt_cv_sys_max_cmd_len
=-1;
4761 # On Win9x/ME, this test blows up -- it succeeds, but takes
4762 # about 5 minutes as the teststring grows exponentially.
4763 # Worse, since 9x/ME are not pre-emptively multitasking,
4764 # you end up with a "frozen" computer, even though with patience
4765 # the test eventually succeeds (with a max line length of 256k).
4766 # Instead, let's just punt: use the minimum linelength reported by
4767 # all of the supported platforms: 8192 (on NT/2K/XP).
4768 lt_cv_sys_max_cmd_len
=8192;
4772 # On AmigaOS with pdksh, this test takes hours, literally.
4773 # So we just punt and use a minimum line length of 8192.
4774 lt_cv_sys_max_cmd_len
=8192;
4777 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4778 # This has been around since 386BSD, at least. Likely further.
4779 if test -x /sbin
/sysctl
; then
4780 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4781 elif test -x /usr
/sbin
/sysctl
; then
4782 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4784 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4786 # And add a safety zone
4787 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4788 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4792 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4793 lt_cv_sys_max_cmd_len
=196608
4797 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4798 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4799 # nice to cause kernel panics so lets avoid the loop below.
4800 # First set a reasonable default.
4801 lt_cv_sys_max_cmd_len
=16384
4803 if test -x /sbin
/sysconfig
; then
4804 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4805 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4810 lt_cv_sys_max_cmd_len
=102400
4812 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4813 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4814 if test -n "$kargmax"; then
4815 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4817 lt_cv_sys_max_cmd_len
=32768
4821 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
4822 if test -n $lt_cv_sys_max_cmd_len; then
4823 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4824 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4826 # Make teststring a little bigger before we do anything with it.
4827 # a 1K string should be a reasonable start.
4828 for i
in 1 2 3 4 5 6 7 8 ; do
4829 teststring
=$teststring$teststring
4831 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4832 # If test is not a shell built-in, we'll probably end up computing a
4833 # maximum length that is only half of the actual maximum length, but
4835 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4836 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4837 test $i != 17 # 1/2 MB should be enough
4840 teststring
=$teststring$teststring
4842 # Only check the string length outside the loop.
4843 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4845 # Add a significant safety factor because C++ compilers can tack on
4846 # massive amounts of additional arguments before passing them to the
4847 # linker. It appears as though 1/2 is a usable value.
4848 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4855 if test -n $lt_cv_sys_max_cmd_len ; then
4856 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4857 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4859 echo "$as_me:$LINENO: result: none" >&5
4860 echo "${ECHO_T}none" >&6
4862 max_cmd_len
=$lt_cv_sys_max_cmd_len
4874 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4875 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4876 # Try some XSI features
4879 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4880 = c,a/b,, ) >/dev/null 2>&1 \
4882 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4883 echo "${ECHO_T}$xsi_shell" >&6
4886 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4887 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
4889 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4891 && lt_shell_append=yes
4892 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4893 echo "${ECHO_T}$lt_shell_append" >&6
4896 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4906 # test EBCDIC or ASCII
4907 case `echo X|tr X '\101'` in
4908 A) # ASCII based system
4909 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4910 lt_SP2NL='tr \040 \012'
4911 lt_NL2SP='tr \015\012 \040\040'
4913 *) # EBCDIC based system
4914 lt_SP2NL='tr \100 \n'
4915 lt_NL2SP='tr \r\n \100\100'
4927 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4928 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
4929 if test "${lt_cv_ld_reload_flag+set}" = set; then
4930 echo $ECHO_N "(cached
) $ECHO_C" >&6
4932 lt_cv_ld_reload_flag='-r'
4934 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4935 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4936 reload_flag=$lt_cv_ld_reload_flag
4937 case $reload_flag in
4939 *) reload_flag=" $reload_flag" ;;
4941 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4944 if test "$GCC" = yes; then
4945 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4947 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4961 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4962 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4963 if test "${lt_cv_deplibs_check_method+set}" = set; then
4964 echo $ECHO_N "(cached
) $ECHO_C" >&6
4966 lt_cv_file_magic_cmd='$MAGIC_CMD'
4967 lt_cv_file_magic_test_file=
4968 lt_cv_deplibs_check_method='unknown'
4969 # Need to set the preceding variable on all platforms that support
4970 # interlibrary dependencies.
4971 # 'none' -- dependencies not supported.
4972 # `unknown' -- same as none, but documents that we really don't know.
4973 # 'pass_all' -- all dependencies passed with no checks.
4974 # 'test_compile' -- check by making test program.
4975 # 'file_magic [[regex]]' -- check by looking for files in library path
4976 # which responds to the $file_magic_cmd with a given extended regex.
4977 # If you have `file' or equivalent on your system and you're not sure
4978 # whether `pass_all' will *always* work, you probably want this one.
4982 lt_cv_deplibs_check_method=pass_all
4986 lt_cv_deplibs_check_method=pass_all
4990 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4991 lt_cv_file_magic_cmd='/usr/bin/file -L'
4992 lt_cv_file_magic_test_file=/shlib/libc.so
4996 # func_win32_libid is a shell function defined in ltmain.sh
4997 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4998 lt_cv_file_magic_cmd='func_win32_libid'
5002 # Base MSYS/MinGW do not provide the 'file' command needed by
5003 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5004 # unless we find 'file', for example because we are cross-compiling.
5005 if ( file / ) >/dev/null 2>&1; then
5006 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5007 lt_cv_file_magic_cmd='func_win32_libid'
5009 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5010 lt_cv_file_magic_cmd='$OBJDUMP -f'
5014 darwin* | rhapsody*)
5015 lt_cv_deplibs_check_method=pass_all
5018 freebsd* | dragonfly*)
5019 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5022 # Not sure whether the presence of OpenBSD here was a mistake.
5023 # Let's accept both of them until this is cleared up.
5024 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5025 lt_cv_file_magic_cmd=/usr/bin/file
5026 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5030 lt_cv_deplibs_check_method=pass_all
5035 lt_cv_deplibs_check_method=pass_all
5038 hpux10.20* | hpux11*)
5039 lt_cv_file_magic_cmd=/usr/bin/file
5042 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5043 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5046 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]'
5047 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5050 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5051 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5057 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5058 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5061 irix5* | irix6* | nonstopux*)
5063 *-32|*"-32 ") libmagic=32-bit;;
5064 *-n32|*"-n32 ") libmagic=N32;;
5065 *-64|*"-64 ") libmagic=64-bit;;
5066 *) libmagic=never-match;;
5068 lt_cv_deplibs_check_method=pass_all
5071 # This must be Linux ELF.
5072 linux* | k*bsd*-gnu)
5073 lt_cv_deplibs_check_method=pass_all
5077 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5078 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5080 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5085 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5086 lt_cv_file_magic_cmd=/usr/bin/file
5087 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5091 lt_cv_deplibs_check_method=pass_all
5095 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5096 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5098 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5102 osf3* | osf4* | osf5*)
5103 lt_cv_deplibs_check_method=pass_all
5107 lt_cv_deplibs_check_method=pass_all
5111 lt_cv_deplibs_check_method=pass_all
5114 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5115 lt_cv_deplibs_check_method=pass_all
5119 case $host_vendor in
5121 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]'
5122 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5125 lt_cv_deplibs_check_method=pass_all
5128 lt_cv_file_magic_cmd='/bin/file'
5129 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5132 lt_cv_file_magic_cmd='/bin/file'
5133 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5134 lt_cv_file_magic_test_file=/lib/libc.so
5137 lt_cv_deplibs_check_method=pass_all
5140 lt_cv_deplibs_check_method=pass_all
5146 lt_cv_deplibs_check_method=pass_all
5151 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5152 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5153 file_magic_cmd=$lt_cv_file_magic_cmd
5154 deplibs_check_method=$lt_cv_deplibs_check_method
5155 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5168 if test -n "$ac_tool_prefix"; then
5169 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5170 set dummy ${ac_tool_prefix}ar; ac_word=$2
5171 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5172 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5173 if test "${ac_cv_prog_AR+set}" = set; then
5174 echo $ECHO_N "(cached
) $ECHO_C" >&6
5176 if test -n "$AR"; then
5177 ac_cv_prog_AR="$AR" # Let the user override the test.
5179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183 test -z "$as_dir" && as_dir=.
5184 for ac_exec_ext in '' $ac_executable_extensions; do
5185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5186 ac_cv_prog_AR="${ac_tool_prefix}ar"
5187 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5196 if test -n "$AR"; then
5197 echo "$as_me:$LINENO: result
: $AR" >&5
5198 echo "${ECHO_T}$AR" >&6
5200 echo "$as_me:$LINENO: result
: no
" >&5
5201 echo "${ECHO_T}no
" >&6
5205 if test -z "$ac_cv_prog_AR"; then
5207 # Extract the first word of "ar", so it can be a program name with args.
5208 set dummy ar; ac_word=$2
5209 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5210 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5211 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5212 echo $ECHO_N "(cached
) $ECHO_C" >&6
5214 if test -n "$ac_ct_AR"; then
5215 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5221 test -z "$as_dir" && as_dir=.
5222 for ac_exec_ext in '' $ac_executable_extensions; do
5223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5224 ac_cv_prog_ac_ct_AR="ar"
5225 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5231 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
5234 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5235 if test -n "$ac_ct_AR"; then
5236 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5237 echo "${ECHO_T}$ac_ct_AR" >&6
5239 echo "$as_me:$LINENO: result
: no
" >&5
5240 echo "${ECHO_T}no
" >&6
5248 test -z "$AR" && AR=ar
5249 test -z "$AR_FLAGS" && AR_FLAGS=cru
5261 if test -n "$ac_tool_prefix"; then
5262 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5263 set dummy ${ac_tool_prefix}strip; ac_word=$2
5264 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5265 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5266 if test "${ac_cv_prog_STRIP+set}" = set; then
5267 echo $ECHO_N "(cached
) $ECHO_C" >&6
5269 if test -n "$STRIP"; then
5270 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5276 test -z "$as_dir" && as_dir=.
5277 for ac_exec_ext in '' $ac_executable_extensions; do
5278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5279 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5280 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5288 STRIP=$ac_cv_prog_STRIP
5289 if test -n "$STRIP"; then
5290 echo "$as_me:$LINENO: result
: $STRIP" >&5
5291 echo "${ECHO_T}$STRIP" >&6
5293 echo "$as_me:$LINENO: result
: no
" >&5
5294 echo "${ECHO_T}no
" >&6
5298 if test -z "$ac_cv_prog_STRIP"; then
5300 # Extract the first word of "strip
", so it can be a program name with args.
5301 set dummy strip; ac_word=$2
5302 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5303 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5304 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5305 echo $ECHO_N "(cached
) $ECHO_C" >&6
5307 if test -n "$ac_ct_STRIP"; then
5308 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5314 test -z "$as_dir" && as_dir=.
5315 for ac_exec_ext in '' $ac_executable_extensions; do
5316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5317 ac_cv_prog_ac_ct_STRIP="strip
"
5318 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5324 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5327 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5328 if test -n "$ac_ct_STRIP"; then
5329 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5330 echo "${ECHO_T}$ac_ct_STRIP" >&6
5332 echo "$as_me:$LINENO: result
: no
" >&5
5333 echo "${ECHO_T}no
" >&6
5338 STRIP="$ac_cv_prog_STRIP"
5341 test -z "$STRIP" && STRIP=:
5348 if test -n "$ac_tool_prefix"; then
5349 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5350 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5351 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5352 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5353 if test "${ac_cv_prog_RANLIB+set}" = set; then
5354 echo $ECHO_N "(cached
) $ECHO_C" >&6
5356 if test -n "$RANLIB"; then
5357 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 test -z "$as_dir" && as_dir=.
5364 for ac_exec_ext in '' $ac_executable_extensions; do
5365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5366 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5367 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5375 RANLIB=$ac_cv_prog_RANLIB
5376 if test -n "$RANLIB"; then
5377 echo "$as_me:$LINENO: result
: $RANLIB" >&5
5378 echo "${ECHO_T}$RANLIB" >&6
5380 echo "$as_me:$LINENO: result
: no
" >&5
5381 echo "${ECHO_T}no
" >&6
5385 if test -z "$ac_cv_prog_RANLIB"; then
5386 ac_ct_RANLIB=$RANLIB
5387 # Extract the first word of "ranlib
", so it can be a program name with args.
5388 set dummy ranlib; ac_word=$2
5389 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5390 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5391 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5392 echo $ECHO_N "(cached
) $ECHO_C" >&6
5394 if test -n "$ac_ct_RANLIB"; then
5395 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5401 test -z "$as_dir" && as_dir=.
5402 for ac_exec_ext in '' $ac_executable_extensions; do
5403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5404 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5405 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5411 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5414 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5415 if test -n "$ac_ct_RANLIB"; then
5416 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5417 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5419 echo "$as_me:$LINENO: result
: no
" >&5
5420 echo "${ECHO_T}no
" >&6
5423 RANLIB=$ac_ct_RANLIB
5425 RANLIB="$ac_cv_prog_RANLIB"
5428 test -z "$RANLIB" && RANLIB=:
5435 # Determine commands to create old-style static archives.
5436 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5437 old_postinstall_cmds='chmod 644 $oldlib'
5438 old_postuninstall_cmds=
5440 if test -n "$RANLIB"; then
5443 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5446 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5449 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5485 # If no C compiler was specified, use CC.
5488 # If no C compiler flags were specified, use CFLAGS.
5489 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5491 # Allow CC to be a program name with arguments.
5495 # Check for command to grab the raw symbol name followed by C symbol from nm.
5496 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5497 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
5498 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5499 echo $ECHO_N "(cached
) $ECHO_C" >&6
5502 # These are sane defaults that work on at least a few old systems.
5503 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5505 # Character class describing NM global symbol codes.
5506 symcode='[BCDEGRST]'
5508 # Regexp to match symbols that can be accessed directly from C.
5509 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5511 # Define system-specific variables.
5516 cygwin* | mingw* | pw32*)
5517 symcode='[ABCDGISTW]'
5520 if test "$host_cpu" = ia64; then
5521 symcode='[ABCDEGRST]'
5525 symcode='[BCDEGRST]'
5528 symcode='[BCDEGQRST]'
5539 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5547 # If we're using GNU nm, then use its standard symbol codes.
5548 case `$NM -V 2>&1` in
5549 *GNU* | *'with BFD'*)
5550 symcode='[ABCDGIRSTW]' ;;
5553 # Transform an extracted symbol line into a proper C declaration.
5554 # Some systems (esp. on ia64) link data and code symbols differently,
5555 # so use this general approach.
5556 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5558 # Transform an extracted symbol line into symbol name and symbol address
5559 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5561 # Handle CRLF in mingw tool chain
5565 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5569 # Try without a prefix underscore, then with it.
5570 for ac_symprfx in "" "_
"; do
5572 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5573 symxfrm="\\1 $ac_symprfx\\2 \\2"
5575 # Write the raw and C identifiers.
5576 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5577 # Fake it for dumpbin and say T for any non-static function
5578 # and D for any global variable.
5579 # Also find C++ and __fastcall symbols from MSVC++,
5580 # which start with @ or ?.
5581 lt_cv_sys_global_symbol_pipe="$AWK '"\
5582 " {last_section=section; section=\$ 3};"\
5583 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5584 " \$ 0!~/External *\|/{next};"\
5585 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5586 " {if(hide[section]) next};"\
5587 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5588 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5589 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5590 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5591 " ' prfx
=^
$ac_symprfx"
5593 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5596 # Check to see that the pipe works correctly.
5600 cat > conftest.$ac_ext <<_LT_EOF
5605 void nm_test_func(void);
5606 void nm_test_func(void){}
5610 int main(){nm_test_var='a';nm_test_func();return(0);}
5613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5614 (eval $ac_compile) 2>&5
5616 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5617 (exit $ac_status); }; then
5618 # Now try to grab the symbols.
5620 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5621 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5623 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5624 (exit $ac_status); } && test -s "$nlist"; then
5625 # Try sorting and uniquifying the output.
5626 if sort "$nlist" | uniq > "$nlist"T; then
5627 mv -f "$nlist"T "$nlist"
5632 # Make sure that we snagged all the symbols we need.
5633 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5634 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5635 cat <<_LT_EOF > conftest.$ac_ext
5641 # Now generate the symbol file.
5642 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5644 cat <<_LT_EOF >> conftest.$ac_ext
5646 /* The mapping between symbol names and symbols. */
5651 lt__PROGRAM__LTX_preloaded_symbols[] =
5653 { "@PROGRAM@
", (void *) 0 },
5655 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5656 cat <<\_LT_EOF >> conftest.$ac_ext
5660 /* This works around a problem in FreeBSD linker */
5661 #ifdef FREEBSD_WORKAROUND
5662 static const void *lt_preloaded_setup() {
5663 return lt__PROGRAM__LTX_preloaded_symbols;
5671 # Now try linking the two files.
5672 mv conftest.$ac_objext conftstm.$ac_objext
5673 lt_save_LIBS="$LIBS"
5674 lt_save_CFLAGS="$CFLAGS"
5675 LIBS="conftstm.
$ac_objext"
5676 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5678 (eval $ac_link) 2>&5
5680 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5681 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5684 LIBS="$lt_save_LIBS"
5685 CFLAGS="$lt_save_CFLAGS"
5687 echo "cannot
find nm_test_func
in $nlist" >&5
5690 echo "cannot
find nm_test_var
in $nlist" >&5
5693 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5696 echo "$progname: failed program was
:" >&5
5697 cat conftest.$ac_ext >&5
5699 rm -f conftest* conftst*
5701 # Do not use the global_symbol_pipe unless it works.
5702 if test "$pipe_works" = yes; then
5705 lt_cv_sys_global_symbol_pipe=
5711 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5712 lt_cv_sys_global_symbol_to_cdecl=
5714 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5715 echo "$as_me:$LINENO: result
: failed
" >&5
5716 echo "${ECHO_T}failed
" >&6
5718 echo "$as_me:$LINENO: result
: ok
" >&5
5719 echo "${ECHO_T}ok
" >&6
5738 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5739 if test "${enable_libtool_lock+set}" = set; then
5740 enableval="$enable_libtool_lock"
5743 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5745 # Some flags need to be propagated to the compiler or linker for good
5749 # Find out which ABI we are using.
5750 echo 'int i;' > conftest.$ac_ext
5751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5752 (eval $ac_compile) 2>&5
5754 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5755 (exit $ac_status); }; then
5756 case `/usr/bin/file conftest.$ac_objext` in
5768 # Find out which ABI we are using.
5769 echo '#line 5769 "configure
"' > conftest.$ac_ext
5770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5771 (eval $ac_compile) 2>&5
5773 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5774 (exit $ac_status); }; then
5775 if test "$lt_cv_prog_gnu_ld" = yes; then
5776 case `/usr/bin/file conftest.$ac_objext` in
5778 LD="${LD-ld} -melf32bsmip"
5781 LD="${LD-ld} -melf32bmipn32"
5784 LD="${LD-ld} -melf64bmip"
5788 case `/usr/bin/file conftest.$ac_objext` in
5804 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5805 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5806 # Find out which ABI we are using.
5807 echo 'int i;' > conftest.$ac_ext
5808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5809 (eval $ac_compile) 2>&5
5811 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5812 (exit $ac_status); }; then
5813 case `/usr/bin/file conftest.o` in
5816 x86_64-*kfreebsd*-gnu)
5817 LD="${LD-ld} -m elf_i386_fbsd
"
5820 LD="${LD-ld} -m elf_i386
"
5822 ppc64-*linux*|powerpc64-*linux*)
5823 LD="${LD-ld} -m elf32ppclinux
"
5826 LD="${LD-ld} -m elf_s390
"
5829 LD="${LD-ld} -m elf32_sparc
"
5835 x86_64-*kfreebsd*-gnu)
5836 LD="${LD-ld} -m elf_x86_64_fbsd
"
5839 LD="${LD-ld} -m elf_x86_64
"
5841 ppc*-*linux*|powerpc*-*linux*)
5842 LD="${LD-ld} -m elf64ppc
"
5844 s390*-*linux*|s390*-*tpf*)
5845 LD="${LD-ld} -m elf64_s390
"
5848 LD="${LD-ld} -m elf64_sparc
"
5858 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5859 SAVE_CFLAGS="$CFLAGS"
5860 CFLAGS="$CFLAGS -belf"
5861 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5862 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
5863 if test "${lt_cv_cc_needs_belf+set}" = set; then
5864 echo $ECHO_N "(cached
) $ECHO_C" >&6
5867 ac_cpp='$CPP $CPPFLAGS'
5868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5872 cat >conftest.$ac_ext <<_ACEOF
5875 cat confdefs.h >>conftest.$ac_ext
5876 cat >>conftest.$ac_ext <<_ACEOF
5877 /* end confdefs.h. */
5887 rm -f conftest.$ac_objext conftest$ac_exeext
5888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5889 (eval $ac_link) 2>conftest.er1
5891 grep -v '^ *+' conftest.er1 >conftest.err
5893 cat conftest.err >&5
5894 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5895 (exit $ac_status); } &&
5896 { ac_try='test -z "$ac_c_werror_flag"
5897 || test ! -s conftest.err'
5898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5901 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5902 (exit $ac_status); }; } &&
5903 { ac_try='test -s conftest$ac_exeext'
5904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5907 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5908 (exit $ac_status); }; }; then
5909 lt_cv_cc_needs_belf=yes
5911 echo "$as_me: failed program was
:" >&5
5912 sed 's/^/| /' conftest.$ac_ext >&5
5914 lt_cv_cc_needs_belf=no
5916 rm -f conftest.err conftest.$ac_objext \
5917 conftest$ac_exeext conftest.$ac_ext
5919 ac_cpp='$CPP $CPPFLAGS'
5920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5925 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5926 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5927 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5928 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5929 CFLAGS="$SAVE_CFLAGS"
5933 # Find out which ABI we are using.
5934 echo 'int i;' > conftest.$ac_ext
5935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5936 (eval $ac_compile) 2>&5
5938 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5939 (exit $ac_status); }; then
5940 case `/usr/bin/file conftest.o` in
5942 case $lt_cv_prog_gnu_ld in
5943 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5944 *) LD="${LD-ld} -64" ;;
5953 need_locks="$enable_libtool_lock"
5956 ac_cpp='$CPP $CPPFLAGS'
5957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5960 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5961 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
5962 # On Suns, sometimes $CPP names a directory.
5963 if test -n "$CPP" && test -d "$CPP"; then
5966 if test -z "$CPP"; then
5967 if test "${ac_cv_prog_CPP+set}" = set; then
5968 echo $ECHO_N "(cached
) $ECHO_C" >&6
5970 # Double quotes because CPP needs to be expanded
5971 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5974 for ac_c_preproc_warn_flag in '' yes
5976 # Use a header file that comes with gcc, so configuring glibc
5977 # with a fresh cross-compiler works.
5978 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5979 # <limits.h> exists even on freestanding compilers.
5980 # On the NeXT, cc -E runs the code through the compiler's parser,
5981 # not just through cpp. "Syntax error
" is here to catch this case.
5982 cat >conftest.$ac_ext <<_ACEOF
5985 cat confdefs.h >>conftest.$ac_ext
5986 cat >>conftest.$ac_ext <<_ACEOF
5987 /* end confdefs.h. */
5989 # include <limits.h>
5991 # include <assert.h>
5995 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5996 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5998 grep -v '^ *+' conftest.er1 >conftest.err
6000 cat conftest.err >&5
6001 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6002 (exit $ac_status); } >/dev/null; then
6003 if test -s conftest.err; then
6004 ac_cpp_err=$ac_c_preproc_warn_flag
6005 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6012 if test -z "$ac_cpp_err"; then
6015 echo "$as_me: failed program was
:" >&5
6016 sed 's/^/| /' conftest.$ac_ext >&5
6018 # Broken: fails on valid input.
6021 rm -f conftest.err conftest.$ac_ext
6023 # OK, works on sane cases. Now check whether non-existent headers
6024 # can be detected and how.
6025 cat >conftest.$ac_ext <<_ACEOF
6028 cat confdefs.h >>conftest.$ac_ext
6029 cat >>conftest.$ac_ext <<_ACEOF
6030 /* end confdefs.h. */
6031 #include <ac_nonexistent.h>
6033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6034 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6036 grep -v '^ *+' conftest.er1 >conftest.err
6038 cat conftest.err >&5
6039 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6040 (exit $ac_status); } >/dev/null; then
6041 if test -s conftest.err; then
6042 ac_cpp_err=$ac_c_preproc_warn_flag
6043 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6050 if test -z "$ac_cpp_err"; then
6051 # Broken: success on invalid input.
6054 echo "$as_me: failed program was
:" >&5
6055 sed 's/^/| /' conftest.$ac_ext >&5
6057 # Passes both tests.
6061 rm -f conftest.err conftest.$ac_ext
6064 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6065 rm -f conftest.err conftest.$ac_ext
6066 if $ac_preproc_ok; then
6078 echo "$as_me:$LINENO: result
: $CPP" >&5
6079 echo "${ECHO_T}$CPP" >&6
6081 for ac_c_preproc_warn_flag in '' yes
6083 # Use a header file that comes with gcc, so configuring glibc
6084 # with a fresh cross-compiler works.
6085 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6086 # <limits.h> exists even on freestanding compilers.
6087 # On the NeXT, cc -E runs the code through the compiler's parser,
6088 # not just through cpp. "Syntax error
" is here to catch this case.
6089 cat >conftest.$ac_ext <<_ACEOF
6092 cat confdefs.h >>conftest.$ac_ext
6093 cat >>conftest.$ac_ext <<_ACEOF
6094 /* end confdefs.h. */
6096 # include <limits.h>
6098 # include <assert.h>
6102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6103 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6105 grep -v '^ *+' conftest.er1 >conftest.err
6107 cat conftest.err >&5
6108 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6109 (exit $ac_status); } >/dev/null; then
6110 if test -s conftest.err; then
6111 ac_cpp_err=$ac_c_preproc_warn_flag
6112 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6119 if test -z "$ac_cpp_err"; then
6122 echo "$as_me: failed program was
:" >&5
6123 sed 's/^/| /' conftest.$ac_ext >&5
6125 # Broken: fails on valid input.
6128 rm -f conftest.err conftest.$ac_ext
6130 # OK, works on sane cases. Now check whether non-existent headers
6131 # can be detected and how.
6132 cat >conftest.$ac_ext <<_ACEOF
6135 cat confdefs.h >>conftest.$ac_ext
6136 cat >>conftest.$ac_ext <<_ACEOF
6137 /* end confdefs.h. */
6138 #include <ac_nonexistent.h>
6140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6141 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6143 grep -v '^ *+' conftest.er1 >conftest.err
6145 cat conftest.err >&5
6146 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6147 (exit $ac_status); } >/dev/null; then
6148 if test -s conftest.err; then
6149 ac_cpp_err=$ac_c_preproc_warn_flag
6150 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6157 if test -z "$ac_cpp_err"; then
6158 # Broken: success on invalid input.
6161 echo "$as_me: failed program was
:" >&5
6162 sed 's/^/| /' conftest.$ac_ext >&5
6164 # Passes both tests.
6168 rm -f conftest.err conftest.$ac_ext
6171 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6172 rm -f conftest.err conftest.$ac_ext
6173 if $ac_preproc_ok; then
6176 { { echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
6177 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6178 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6179 See \`config.log' for more details.
" >&5
6180 echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
6181 See \
`config.log' for more details." >&2;}
6182 { (exit 1); exit 1; }; }; }
6186 ac_cpp='$CPP $CPPFLAGS'
6187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6192 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6193 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6194 if test "${ac_cv_header_stdc+set}" = set; then
6195 echo $ECHO_N "(cached) $ECHO_C" >&6
6197 cat >conftest.$ac_ext <<_ACEOF
6200 cat confdefs.h >>conftest.$ac_ext
6201 cat >>conftest.$ac_ext <<_ACEOF
6202 /* end confdefs.h. */
6216 rm -f conftest.$ac_objext
6217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6218 (eval $ac_compile) 2>conftest.er1
6220 grep -v '^ *+' conftest.er1 >conftest.err
6222 cat conftest.err >&5
6223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224 (exit $ac_status); } &&
6225 { ac_try='test -z "$ac_c_werror_flag"
6226 || test ! -s conftest.err'
6227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6231 (exit $ac_status); }; } &&
6232 { ac_try='test -s conftest.$ac_objext'
6233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6237 (exit $ac_status); }; }; then
6238 ac_cv_header_stdc=yes
6240 echo "$as_me: failed program was:" >&5
6241 sed 's/^/| /' conftest.$ac_ext >&5
6243 ac_cv_header_stdc=no
6245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6247 if test $ac_cv_header_stdc = yes; then
6248 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6249 cat >conftest.$ac_ext <<_ACEOF
6252 cat confdefs.h >>conftest.$ac_ext
6253 cat >>conftest.$ac_ext <<_ACEOF
6254 /* end confdefs.h. */
6258 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6259 $EGREP "memchr" >/dev/null 2>&1; then
6262 ac_cv_header_stdc=no
6268 if test $ac_cv_header_stdc = yes; then
6269 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6270 cat >conftest.$ac_ext <<_ACEOF
6273 cat confdefs.h >>conftest.$ac_ext
6274 cat >>conftest.$ac_ext <<_ACEOF
6275 /* end confdefs.h. */
6279 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6280 $EGREP "free" >/dev/null 2>&1; then
6283 ac_cv_header_stdc=no
6289 if test $ac_cv_header_stdc = yes; then
6290 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6291 if test "$cross_compiling" = yes; then
6294 cat >conftest.$ac_ext <<_ACEOF
6297 cat confdefs.h >>conftest.$ac_ext
6298 cat >>conftest.$ac_ext <<_ACEOF
6299 /* end confdefs.h. */
6301 #if ((' ' & 0x0FF) == 0x020)
6302 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6303 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6305 # define ISLOWER(c) \
6306 (('a' <= (c) && (c) <= 'i') \
6307 || ('j' <= (c) && (c) <= 'r') \
6308 || ('s' <= (c) && (c) <= 'z'))
6309 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6312 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6317 for (i = 0; i < 256; i++)
6318 if (XOR (islower (i), ISLOWER (i))
6319 || toupper (i) != TOUPPER (i))
6324 rm -f conftest$ac_exeext
6325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6326 (eval $ac_link) 2>&5
6328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6329 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6334 (exit $ac_status); }; }; then
6337 echo "$as_me: program exited with status $ac_status" >&5
6338 echo "$as_me: failed program was:" >&5
6339 sed 's/^/| /' conftest.$ac_ext >&5
6342 ac_cv_header_stdc=no
6344 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6348 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6349 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6350 if test $ac_cv_header_stdc = yes; then
6352 cat >>confdefs.h <<\_ACEOF
6353 #define STDC_HEADERS 1
6358 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6368 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6369 inttypes.h stdint.h unistd.h
6371 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6372 echo "$as_me:$LINENO: checking for $ac_header" >&5
6373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6375 echo $ECHO_N "(cached) $ECHO_C" >&6
6377 cat >conftest.$ac_ext <<_ACEOF
6380 cat confdefs.h >>conftest.$ac_ext
6381 cat >>conftest.$ac_ext <<_ACEOF
6382 /* end confdefs.h. */
6383 $ac_includes_default
6385 #include <$ac_header>
6387 rm -f conftest.$ac_objext
6388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6389 (eval $ac_compile) 2>conftest.er1
6391 grep -v '^ *+' conftest.er1 >conftest.err
6393 cat conftest.err >&5
6394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6395 (exit $ac_status); } &&
6396 { ac_try='test -z "$ac_c_werror_flag"
6397 || test ! -s conftest.err'
6398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6402 (exit $ac_status); }; } &&
6403 { ac_try='test -s conftest.$ac_objext'
6404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6408 (exit $ac_status); }; }; then
6409 eval "$as_ac_Header=yes"
6411 echo "$as_me: failed program was:" >&5
6412 sed 's/^/| /' conftest.$ac_ext >&5
6414 eval "$as_ac_Header=no"
6416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6419 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6420 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6421 cat >>confdefs.h <<_ACEOF
6422 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6431 for ac_header in dlfcn.h
6433 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6434 echo "$as_me:$LINENO: checking for $ac_header" >&5
6435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6437 echo $ECHO_N "(cached) $ECHO_C" >&6
6439 cat >conftest.$ac_ext <<_ACEOF
6442 cat confdefs.h >>conftest.$ac_ext
6443 cat >>conftest.$ac_ext <<_ACEOF
6444 /* end confdefs.h. */
6445 $ac_includes_default
6447 #include <$ac_header>
6449 rm -f conftest.$ac_objext
6450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6451 (eval $ac_compile) 2>conftest.er1
6453 grep -v '^ *+' conftest.er1 >conftest.err
6455 cat conftest.err >&5
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); } &&
6458 { ac_try='test -z "$ac_c_werror_flag"
6459 || test ! -s conftest.err'
6460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6464 (exit $ac_status); }; } &&
6465 { ac_try='test -s conftest.$ac_objext'
6466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470 (exit $ac_status); }; }; then
6471 eval "$as_ac_Header=yes"
6473 echo "$as_me: failed program was:" >&5
6474 sed 's/^/| /' conftest.$ac_ext >&5
6476 eval "$as_ac_Header=no"
6478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6481 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6483 cat >>confdefs.h <<_ACEOF
6484 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6493 # This can be used to rebuild libtool when needed
6494 LIBTOOL_DEPS="$ltmain"
6496 # Always use our own libtool.
6497 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6523 test -z "$LN_S" && LN_S="ln -s"
6538 if test -n "${ZSH_VERSION+set}" ; then
6539 setopt NO_GLOB_SUBST
6542 echo "$as_me:$LINENO: checking for objdir" >&5
6543 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6544 if test "${lt_cv_objdir+set}" = set; then
6545 echo $ECHO_N "(cached) $ECHO_C" >&6
6547 rm -f .libs 2>/dev/null
6548 mkdir .libs 2>/dev/null
6549 if test -d .libs; then
6552 # MS-DOS does not allow filenames that begin with a dot.
6555 rmdir .libs 2>/dev/null
6557 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6558 echo "${ECHO_T}$lt_cv_objdir" >&6
6559 objdir=$lt_cv_objdir
6565 cat >>confdefs.h <<_ACEOF
6566 #define LT_OBJDIR "$lt_cv_objdir/"
6587 # AIX sometimes has problems with the GCC collect2 program. For some
6588 # reason, if we set the COLLECT_NAMES environment variable, the problems
6589 # vanish in a puff of smoke.
6590 if test "X${COLLECT_NAMES+set}" != Xset; then
6592 export COLLECT_NAMES
6597 # Sed substitution that helps us do robust quoting. It backslashifies
6598 # metacharacters that are still active within double-quoted strings.
6599 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6601 # Same as above, but do not quote variable references.
6602 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6604 # Sed substitution to delay expansion of an escaped shell variable in a
6605 # double_quote_subst'ed string.
6606 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6608 # Sed substitution to delay expansion of an escaped single quote.
6609 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6611 # Sed substitution to avoid accidental globbing in evaled expressions
6612 no_glob_subst='s/\*/\\\*/g'
6616 can_build_shared=yes
6618 # All known linkers require a `.a' archive for static linking (except MSVC,
6619 # which needs '.lib').
6622 with_gnu_ld="$lt_cv_prog_gnu_ld"
6625 old_CFLAGS="$CFLAGS"
6627 # Set sane defaults for various variables
6628 test -z "$CC" && CC=cc
6629 test -z "$LTCC" && LTCC=$CC
6630 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6631 test -z "$LD" && LD=ld
6632 test -z "$ac_objext" && ac_objext=o
6634 for cc_temp in $compiler""; do
6636 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6637 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6642 cc_basename=`$ECHO "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
6645 # Only perform the check for file, if the check method requires it
6646 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6647 case $deplibs_check_method in
6649 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6650 echo "$as_me:$LINENO: checking
for ${ac_tool_prefix}file" >&5
6651 echo $ECHO_N "checking
for ${ac_tool_prefix}file...
$ECHO_C" >&6
6652 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6653 echo $ECHO_N "(cached
) $ECHO_C" >&6
6657 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6660 lt_save_MAGIC_CMD="$MAGIC_CMD"
6661 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6662 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
6663 for ac_dir in $ac_dummy; do
6665 test -z "$ac_dir" && ac_dir=.
6666 if test -f $ac_dir/${ac_tool_prefix}file; then
6667 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6668 if test -n "$file_magic_test_file"; then
6669 case $deplibs_check_method in
6671 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
6672 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6673 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6674 $EGREP "$file_magic_regex" > /dev/null; then
6679 *** Warning: the command libtool uses to detect shared libraries,
6680 *** $file_magic_cmd, produces output that libtool cannot recognize.
6681 *** The result is that libtool may fail to recognize shared libraries
6682 *** as such. This will affect the creation of libtool libraries that
6683 *** depend on shared libraries, but programs linked with such libtool
6684 *** libraries will work regardless of this problem. Nevertheless, you
6685 *** may want to report the problem to your system manager and/or to
6686 *** bug-libtool@gnu.org
6696 MAGIC_CMD="$lt_save_MAGIC_CMD"
6701 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6702 if test -n "$MAGIC_CMD"; then
6703 echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
6704 echo "${ECHO_T}$MAGIC_CMD" >&6
6706 echo "$as_me:$LINENO: result
: no
" >&5
6707 echo "${ECHO_T}no
" >&6
6714 if test -z "$lt_cv_path_MAGIC_CMD"; then
6715 if test -n "$ac_tool_prefix"; then
6716 echo "$as_me:$LINENO: checking
for file" >&5
6717 echo $ECHO_N "checking
for file...
$ECHO_C" >&6
6718 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6719 echo $ECHO_N "(cached
) $ECHO_C" >&6
6723 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6726 lt_save_MAGIC_CMD="$MAGIC_CMD"
6727 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6728 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
6729 for ac_dir in $ac_dummy; do
6731 test -z "$ac_dir" && ac_dir=.
6732 if test -f $ac_dir/file; then
6733 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6734 if test -n "$file_magic_test_file"; then
6735 case $deplibs_check_method in
6737 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
6738 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6739 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6740 $EGREP "$file_magic_regex" > /dev/null; then
6745 *** Warning: the command libtool uses to detect shared libraries,
6746 *** $file_magic_cmd, produces output that libtool cannot recognize.
6747 *** The result is that libtool may fail to recognize shared libraries
6748 *** as such. This will affect the creation of libtool libraries that
6749 *** depend on shared libraries, but programs linked with such libtool
6750 *** libraries will work regardless of this problem. Nevertheless, you
6751 *** may want to report the problem to your system manager and/or to
6752 *** bug-libtool@gnu.org
6762 MAGIC_CMD="$lt_save_MAGIC_CMD"
6767 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6768 if test -n "$MAGIC_CMD"; then
6769 echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
6770 echo "${ECHO_T}$MAGIC_CMD" >&6
6772 echo "$as_me:$LINENO: result
: no
" >&5
6773 echo "${ECHO_T}no
" >&6
6786 # Use C for the default configuration in the libtool script
6790 ac_cpp='$CPP $CPPFLAGS'
6791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6796 # Source file extension for C test sources.
6799 # Object file extension for compiled C test sources.
6803 # Code to be used in simple compile tests
6804 lt_simple_compile_test_code="int some_variable
= 0;"
6806 # Code to be used in simple link tests
6807 lt_simple_link_test_code='int main(){return(0);}'
6815 # If no C compiler was specified, use CC.
6818 # If no C compiler flags were specified, use CFLAGS.
6819 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6821 # Allow CC to be a program name with arguments.
6824 # Save the default compiler, since it gets overwritten when the other
6825 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6826 compiler_DEFAULT=$CC
6828 # save warnings/boilerplate of simple test code
6829 ac_outfile=conftest.$ac_objext
6830 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6831 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6832 _lt_compiler_boilerplate=`cat conftest.err`
6835 ac_outfile=conftest.$ac_objext
6836 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6837 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6838 _lt_linker_boilerplate=`cat conftest.err`
6843 ## There is no encapsulation within the following macros, do not change
6844 ## the running order or otherwise move them around unless you know exactly
6845 ## what you are doing...
6846 if test -n "$compiler"; then
6848 lt_prog_compiler_no_builtin_flag=
6850 if test "$GCC" = yes; then
6851 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6853 echo "$as_me:$LINENO: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
6854 echo $ECHO_N "checking
if $compiler supports
-fno-rtti -fno-exceptions...
$ECHO_C" >&6
6855 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6856 echo $ECHO_N "(cached
) $ECHO_C" >&6
6858 lt_cv_prog_compiler_rtti_exceptions=no
6859 ac_outfile=conftest.$ac_objext
6860 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6861 lt_compiler_flag="-fno-rtti -fno-exceptions"
6862 # Insert the option either (1) after the last *FLAGS variable, or
6863 # (2) before a word containing "conftest.
", or (3) at the end.
6864 # Note that $ac_compile itself does not contain backslashes and begins
6865 # with a dollar sign (not a hyphen), so the echo should work correctly.
6866 # The option is referenced via a variable to avoid confusing sed.
6867 lt_compile=`echo "$ac_compile" | $SED \
6868 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6869 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6870 -e 's:$: $lt_compiler_flag:'`
6871 (eval echo "\"\
$as_me:6871: $lt_compile\"" >&5)
6872 (eval "$lt_compile" 2>conftest.err)
6874 cat conftest.err >&5
6875 echo "$as_me:6875: \$?
= $ac_status" >&5
6876 if (exit $ac_status) && test -s "$ac_outfile"; then
6877 # The compiler can only warn and ignore the option if not recognized
6878 # So say no if there are warnings other than the usual output.
6879 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6880 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6881 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6882 lt_cv_prog_compiler_rtti_exceptions=yes
6888 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
6889 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6891 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6892 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6904 lt_prog_compiler_wl=
6905 lt_prog_compiler_pic=
6906 lt_prog_compiler_static=
6908 echo "$as_me:$LINENO: checking
for $compiler option to produce PIC
" >&5
6909 echo $ECHO_N "checking
for $compiler option to produce PIC...
$ECHO_C" >&6
6911 if test "$GCC" = yes; then
6912 lt_prog_compiler_wl='-Wl,'
6913 lt_prog_compiler_static='-static'
6917 # All AIX code is PIC.
6918 if test "$host_cpu" = ia64; then
6919 # AIX 5 now supports IA64 processor
6920 lt_prog_compiler_static='-Bstatic'
6925 if test "$host_cpu" = m68k; then
6926 # FIXME: we need at least 68020 code to build shared libraries, but
6927 # adding the `-m68020' flag to GCC prevents building anything better,
6929 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6933 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6934 # PIC is the default for these OSes.
6937 mingw* | cygwin* | pw32* | os2*)
6938 # This hack is so that the source file can tell whether it is being
6939 # built for inclusion in a dll (and should export symbols for example).
6940 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6941 # (--disable-auto-import) libraries
6942 lt_prog_compiler_pic='-DDLL_EXPORT'
6945 darwin* | rhapsody*)
6946 # PIC is the default on this platform
6947 # Common symbols not allowed in MH_DYLIB files
6948 lt_prog_compiler_pic='-fno-common'
6952 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6959 lt_prog_compiler_pic='-fPIC'
6965 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6966 # Instead, we relocate shared libraries at runtime.
6970 # Just because we use GCC doesn't mean we suddenly get shared libraries
6971 # on systems that don't support them.
6972 lt_prog_compiler_can_build_shared=no
6977 # QNX uses GNU C++, but need to define -shared option too, otherwise
6979 lt_prog_compiler_pic='-fPIC -shared'
6983 if test -d /usr/nec; then
6984 lt_prog_compiler_pic=-Kconform_pic
6989 lt_prog_compiler_pic='-fPIC'
6993 # PORTME Check for flag to pass linker flags through the system compiler.
6996 lt_prog_compiler_wl='-Wl,'
6997 if test "$host_cpu" = ia64; then
6998 # AIX 5 now supports IA64 processor
6999 lt_prog_compiler_static='-Bstatic'
7001 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7005 # PIC is the default on this platform
7006 # Common symbols not allowed in MH_DYLIB files
7007 case $cc_basename in
7009 lt_prog_compiler_pic='-qnocommon'
7010 lt_prog_compiler_wl='-Wl,'
7015 mingw* | cygwin* | pw32* | os2*)
7016 # This hack is so that the source file can tell whether it is being
7017 # built for inclusion in a dll (and should export symbols for example).
7018 lt_prog_compiler_pic='-DDLL_EXPORT'
7021 hpux9* | hpux10* | hpux11*)
7022 lt_prog_compiler_wl='-Wl,'
7023 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7030 lt_prog_compiler_pic='+Z'
7033 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7034 lt_prog_compiler_static='${wl}-a ${wl}archive'
7037 irix5* | irix6* | nonstopux*)
7038 lt_prog_compiler_wl='-Wl,'
7039 # PIC (with -KPIC) is the default.
7040 lt_prog_compiler_static='-non_shared'
7043 linux* | k*bsd*-gnu)
7044 case $cc_basename in
7046 lt_prog_compiler_wl='-Wl,'
7047 lt_prog_compiler_pic='-KPIC'
7048 lt_prog_compiler_static='-static'
7050 pgcc* | pgf77* | pgf90* | pgf95*)
7051 # Portland Group compilers (*not* the Pentium gcc compiler,
7052 # which looks to be a dead project)
7053 lt_prog_compiler_wl='-Wl,'
7054 lt_prog_compiler_pic='-fpic'
7055 lt_prog_compiler_static='-Bstatic'
7058 lt_prog_compiler_wl='-Wl,'
7059 # All Alpha code is PIC.
7060 lt_prog_compiler_static='-non_shared'
7063 case `$CC -V 2>&1 | sed 5q` in
7066 lt_prog_compiler_pic='-KPIC'
7067 lt_prog_compiler_static='-Bstatic'
7068 lt_prog_compiler_wl='-Wl,'
7071 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7072 lt_prog_compiler_pic='-KPIC'
7073 lt_prog_compiler_static='-Bstatic'
7074 lt_prog_compiler_wl=''
7082 lt_prog_compiler_pic='-KPIC'
7083 lt_prog_compiler_static='-Bstatic'
7087 # QNX uses GNU C++, but need to define -shared option too, otherwise
7089 lt_prog_compiler_pic='-fPIC -shared'
7092 osf3* | osf4* | osf5*)
7093 lt_prog_compiler_wl='-Wl,'
7094 # All OSF/1 code is PIC.
7095 lt_prog_compiler_static='-non_shared'
7099 lt_prog_compiler_static='-non_shared'
7103 lt_prog_compiler_pic='-KPIC'
7104 lt_prog_compiler_static='-Bstatic'
7105 case $cc_basename in
7107 lt_prog_compiler_wl='-Qoption ld ';;
7109 lt_prog_compiler_wl='-Wl,';;
7114 lt_prog_compiler_wl='-Qoption ld '
7115 lt_prog_compiler_pic='-PIC'
7116 lt_prog_compiler_static='-Bstatic'
7119 sysv4 | sysv4.2uw2* | sysv4.3*)
7120 lt_prog_compiler_wl='-Wl,'
7121 lt_prog_compiler_pic='-KPIC'
7122 lt_prog_compiler_static='-Bstatic'
7126 if test -d /usr/nec ;then
7127 lt_prog_compiler_pic='-Kconform_pic'
7128 lt_prog_compiler_static='-Bstatic'
7132 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7133 lt_prog_compiler_wl='-Wl,'
7134 lt_prog_compiler_pic='-KPIC'
7135 lt_prog_compiler_static='-Bstatic'
7139 lt_prog_compiler_wl='-Wl,'
7140 lt_prog_compiler_can_build_shared=no
7144 lt_prog_compiler_pic='-pic'
7145 lt_prog_compiler_static='-Bstatic'
7149 lt_prog_compiler_can_build_shared=no
7155 # For platforms which do not support PIC, -DPIC is meaningless:
7157 lt_prog_compiler_pic=
7160 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7163 echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic" >&5
7164 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7172 # Check to make sure the PIC flag actually works.
7174 if test -n "$lt_prog_compiler_pic"; then
7175 echo "$as_me:$LINENO: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
7176 echo $ECHO_N "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
$ECHO_C" >&6
7177 if test "${lt_prog_compiler_pic_works+set}" = set; then
7178 echo $ECHO_N "(cached
) $ECHO_C" >&6
7180 lt_prog_compiler_pic_works=no
7181 ac_outfile=conftest.$ac_objext
7182 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7183 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7184 # Insert the option either (1) after the last *FLAGS variable, or
7185 # (2) before a word containing "conftest.
", or (3) at the end.
7186 # Note that $ac_compile itself does not contain backslashes and begins
7187 # with a dollar sign (not a hyphen), so the echo should work correctly.
7188 # The option is referenced via a variable to avoid confusing sed.
7189 lt_compile=`echo "$ac_compile" | $SED \
7190 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7191 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7192 -e 's:$: $lt_compiler_flag:'`
7193 (eval echo "\"\
$as_me:7193: $lt_compile\"" >&5)
7194 (eval "$lt_compile" 2>conftest.err)
7196 cat conftest.err >&5
7197 echo "$as_me:7197: \$?
= $ac_status" >&5
7198 if (exit $ac_status) && test -s "$ac_outfile"; then
7199 # The compiler can only warn and ignore the option if not recognized
7200 # So say no if there are warnings other than the usual output.
7201 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7202 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7203 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7204 lt_prog_compiler_pic_works=yes
7210 echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic_works" >&5
7211 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7213 if test x"$lt_prog_compiler_pic_works" = xyes; then
7214 case $lt_prog_compiler_pic in
7216 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7219 lt_prog_compiler_pic=
7220 lt_prog_compiler_can_build_shared=no
7231 # Check to make sure the static flag actually works.
7233 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7234 echo "$as_me:$LINENO: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
7235 echo $ECHO_N "checking
if $compiler static flag
$lt_tmp_static_flag works...
$ECHO_C" >&6
7236 if test "${lt_prog_compiler_static_works+set}" = set; then
7237 echo $ECHO_N "(cached
) $ECHO_C" >&6
7239 lt_prog_compiler_static_works=no
7240 save_LDFLAGS="$LDFLAGS"
7241 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7242 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7243 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7244 # The linker can only warn and ignore the option if not recognized
7245 # So say no if there are warnings
7246 if test -s conftest.err; then
7247 # Append any errors to the config.log.
7248 cat conftest.err 1>&5
7249 $ECHO "X
$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7250 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7251 if diff conftest.exp conftest.er2 >/dev/null; then
7252 lt_prog_compiler_static_works=yes
7255 lt_prog_compiler_static_works=yes
7259 LDFLAGS="$save_LDFLAGS"
7262 echo "$as_me:$LINENO: result
: $lt_prog_compiler_static_works" >&5
7263 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7265 if test x"$lt_prog_compiler_static_works" = xyes; then
7268 lt_prog_compiler_static=
7277 echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
7278 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6
7279 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7280 echo $ECHO_N "(cached
) $ECHO_C" >&6
7282 lt_cv_prog_compiler_c_o=no
7283 $RM -r conftest 2>/dev/null
7287 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7289 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
7290 # Insert the option either (1) after the last *FLAGS variable, or
7291 # (2) before a word containing "conftest.
", or (3) at the end.
7292 # Note that $ac_compile itself does not contain backslashes and begins
7293 # with a dollar sign (not a hyphen), so the echo should work correctly.
7294 lt_compile=`echo "$ac_compile" | $SED \
7295 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7296 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7297 -e 's:$: $lt_compiler_flag:'`
7298 (eval echo "\"\
$as_me:7298: $lt_compile\"" >&5)
7299 (eval "$lt_compile" 2>out/conftest.err)
7301 cat out/conftest.err >&5
7302 echo "$as_me:7302: \$?
= $ac_status" >&5
7303 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7305 # The compiler can only warn and ignore the option if not recognized
7306 # So say no if there are warnings
7307 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7308 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7309 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7310 lt_cv_prog_compiler_c_o=yes
7315 # SGI C++ compiler will create directory out/ii_files/ for
7316 # template instantiation
7317 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7318 $RM out/* && rmdir out
7324 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
7325 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7332 echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
7333 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6
7334 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7335 echo $ECHO_N "(cached
) $ECHO_C" >&6
7337 lt_cv_prog_compiler_c_o=no
7338 $RM -r conftest 2>/dev/null
7342 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7344 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
7345 # Insert the option either (1) after the last *FLAGS variable, or
7346 # (2) before a word containing "conftest.
", or (3) at the end.
7347 # Note that $ac_compile itself does not contain backslashes and begins
7348 # with a dollar sign (not a hyphen), so the echo should work correctly.
7349 lt_compile=`echo "$ac_compile" | $SED \
7350 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7351 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7352 -e 's:$: $lt_compiler_flag:'`
7353 (eval echo "\"\
$as_me:7353: $lt_compile\"" >&5)
7354 (eval "$lt_compile" 2>out/conftest.err)
7356 cat out/conftest.err >&5
7357 echo "$as_me:7357: \$?
= $ac_status" >&5
7358 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7360 # The compiler can only warn and ignore the option if not recognized
7361 # So say no if there are warnings
7362 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7363 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7364 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7365 lt_cv_prog_compiler_c_o=yes
7370 # SGI C++ compiler will create directory out/ii_files/ for
7371 # template instantiation
7372 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7373 $RM out/* && rmdir out
7379 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
7380 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7385 hard_links="nottested
"
7386 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7387 # do not overwrite the value of need_locks provided by the user
7388 echo "$as_me:$LINENO: checking
if we can lock with hard links
" >&5
7389 echo $ECHO_N "checking
if we can lock with hard links...
$ECHO_C" >&6
7392 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7394 ln conftest.a conftest.b 2>&5 || hard_links=no
7395 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7396 echo "$as_me:$LINENO: result
: $hard_links" >&5
7397 echo "${ECHO_T}$hard_links" >&6
7398 if test "$hard_links" = no; then
7399 { echo "$as_me:$LINENO: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
7400 echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
7412 echo "$as_me:$LINENO: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
7413 echo $ECHO_N "checking whether the
$compiler linker
($LD) supports shared libraries...
$ECHO_C" >&6
7416 allow_undefined_flag=
7417 always_export_symbols=no
7419 archive_expsym_cmds=
7420 compiler_needs_object=no
7421 enable_shared_with_static_runtimes=no
7422 export_dynamic_flag_spec=
7423 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7424 hardcode_automatic=no
7426 hardcode_direct_absolute=no
7427 hardcode_libdir_flag_spec=
7428 hardcode_libdir_flag_spec_ld=
7429 hardcode_libdir_separator=
7431 hardcode_shlibpath_var=unsupported
7433 link_all_deplibs=unknown
7436 old_archive_from_new_cmds=
7437 old_archive_from_expsyms_cmds=
7438 thread_safe_flag_spec=
7439 whole_archive_flag_spec=
7440 # include_expsyms should be a list of space-separated symbols to be *always*
7441 # included in the symbol list
7443 # exclude_expsyms can be an extended regexp of symbols to exclude
7444 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7445 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7446 # as well as any symbol that contains `d'.
7447 exclude_expsyms="_GLOBAL_OFFSET_TABLE_
"
7448 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7449 # platforms (ab)use it in PIC code, but their linkers get confused if
7450 # the symbol is explicitly referenced. Since portable code cannot
7451 # rely on this symbol name, it's probably fine to never include it in
7452 # preloaded symbol tables.
7453 extract_expsyms_cmds=
7456 cygwin* | mingw* | pw32*)
7457 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7458 # When not using gcc, we currently assume that we are using
7459 # Microsoft Visual C++.
7460 if test "$GCC" != yes; then
7465 # we just hope/assume this is gcc and not c89 (= MSVC++)
7474 if test "$with_gnu_ld" = yes; then
7475 # If archive_cmds runs LD, not CC, wlarc should be empty
7478 # Set some defaults for GNU ld with shared library support. These
7479 # are reset later if shared libraries are not supported. Putting them
7480 # here allows them to be overridden if necessary.
7481 runpath_var=LD_RUN_PATH
7482 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7483 export_dynamic_flag_spec='${wl}--export-dynamic'
7484 # ancient GNU ld didn't support --whole-archive et. al.
7485 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7486 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7488 whole_archive_flag_spec=
7490 supports_anon_versioning=no
7491 case `$LD -v 2>&1` in
7492 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7493 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7494 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7495 *\ 2.11.*) ;; # other 2.11 versions
7496 *) supports_anon_versioning=yes ;;
7499 # See if GNU ld supports shared libraries.
7502 # On AIX/PPC, the GNU linker is very broken
7503 if test "$host_cpu" != ia64; then
7507 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7508 *** to be unable to reliably create shared libraries on AIX.
7509 *** Therefore, libtool is disabling shared libraries support. If you
7510 *** really care for shared libraries, you may want to modify your PATH
7511 *** so that a non-GNU linker is found, and then restart.
7518 if test "$host_cpu" = m68k; then
7519 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)'
7520 hardcode_libdir_flag_spec
='-L$libdir'
7521 hardcode_minus_L
=yes
7524 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7525 # that the semantics of dynamic libraries on AmigaOS, at least up
7526 # to version 4, is to share data among multiple programs linked
7527 # with the same dynamic library. Since this doesn't match the
7528 # behavior of shared libraries on other platforms, we can't use
7534 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7535 allow_undefined_flag
=unsupported
7536 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7537 # support --undefined. This deserves some investigation. FIXME
7538 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7544 cygwin
* | mingw
* | pw32
*)
7545 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7546 # as there is no search path for DLLs.
7547 hardcode_libdir_flag_spec
='-L$libdir'
7548 allow_undefined_flag
=unsupported
7549 always_export_symbols
=no
7550 enable_shared_with_static_runtimes
=yes
7551 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7553 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7554 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7555 # If the export-symbols file already is a .def file (1st line
7556 # is EXPORTS), use it as is; otherwise, prepend...
7557 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7558 cp $export_symbols $output_objdir/$soname.def;
7560 echo EXPORTS > $output_objdir/$soname.def;
7561 cat $export_symbols >> $output_objdir/$soname.def;
7563 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7571 hardcode_shlibpath_var
=no
7572 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7573 export_dynamic_flag_spec
='${wl}-E'
7574 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7575 # Instead, shared libraries are loaded at an image base (0x10000000 by
7576 # default) and relocated if they conflict, which is a slow very memory
7577 # consuming and fragmenting process. To avoid this, we pick a random,
7578 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7579 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7580 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7581 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'
7584 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7586 if test "$host_os" = linux-dietlibc
; then
7587 case $cc_basename in
7588 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7591 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7592 && test "$tmp_diet" = no
7595 case $cc_basename,$host_cpu in
7596 pgcc
*) # Portland Group C compiler
7597 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'
7598 tmp_addflag
=' $pic_flag'
7600 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7601 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'
7602 tmp_addflag
=' $pic_flag -Mnomain' ;;
7603 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7604 tmp_addflag
=' -i_dynamic' ;;
7605 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7606 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7607 ifc
* | ifort
*) # Intel Fortran compiler
7608 tmp_addflag
=' -nofor_main' ;;
7610 case `$CC -V 2>&1 | sed 5q` in
7611 *Sun\ C
*) # Sun C 5.9
7612 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'
7613 compiler_needs_object
=yes
7614 tmp_sharedflag
='-G' ;;
7615 *Sun\ F
*) # Sun Fortran 8.3
7616 tmp_sharedflag
='-G' ;;
7618 tmp_sharedflag
='-shared' ;;
7620 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7622 if test "x$supports_anon_versioning" = xyes
; then
7623 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7624 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7625 echo "local: *; };" >> $output_objdir/$libname.ver~
7626 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7634 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7635 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7638 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7639 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7644 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7648 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7649 *** create shared libraries on Solaris systems. Therefore, libtool
7650 *** is disabling shared libraries support. We urge you to upgrade GNU
7651 *** binutils to release 2.9.1 or newer. Another option is to modify
7652 *** your PATH or compiler configuration so that the native linker is
7653 *** used, and then restart.
7656 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7657 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7658 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7664 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7665 case `$LD -v 2>&1` in
7666 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7670 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7671 *** reliably create shared libraries on SCO systems. Therefore, libtool
7672 *** is disabling shared libraries support. We urge you to upgrade GNU
7673 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7674 *** your PATH or compiler configuration so that the native linker is
7675 *** used, and then restart.
7680 # For security reasons, it is highly recommended that you always
7681 # use absolute paths for naming shared libraries, and exclude the
7682 # DT_RUNPATH tag from executables and libraries. But doing so
7683 # requires that you compile everything twice, which is a pain.
7684 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7685 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7686 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7687 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7696 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7699 hardcode_shlibpath_var
=no
7703 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7704 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7705 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7712 if test "$ld_shlibs" = no
; then
7714 hardcode_libdir_flag_spec
=
7715 export_dynamic_flag_spec
=
7716 whole_archive_flag_spec
=
7719 # PORTME fill in a description of your system's linker (not GNU ld)
7722 allow_undefined_flag
=unsupported
7723 always_export_symbols
=yes
7724 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'
7725 # Note: this linker hardcodes the directories in LIBPATH if there
7726 # are no directories specified by -L.
7727 hardcode_minus_L
=yes
7728 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7729 # Neither direct hardcoding nor static linking is supported with a
7731 hardcode_direct
=unsupported
7736 if test "$host_cpu" = ia64
; then
7737 # On IA64, the linker does run time linking by default, so we don't
7738 # have to do anything special.
7739 aix_use_runtimelinking
=no
7740 exp_sym_flag
='-Bexport'
7743 # If we're using GNU nm, then we don't want the "-C" option.
7744 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7745 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7746 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'
7748 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'
7750 aix_use_runtimelinking
=no
7752 # Test if we are trying to use run time linking or normal
7753 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7754 # need to do runtime linking.
7755 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7756 for ld_flag
in $LDFLAGS; do
7757 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7758 aix_use_runtimelinking
=yes
7765 exp_sym_flag
='-bexport'
7766 no_entry_flag
='-bnoentry'
7769 # When large executables or shared objects are built, AIX ld can
7770 # have problems creating the table of contents. If linking a library
7771 # or program results in "error TOC overflow" add -mminimal-toc to
7772 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7773 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7777 hardcode_direct_absolute
=yes
7778 hardcode_libdir_separator
=':'
7779 link_all_deplibs
=yes
7780 file_list_spec
='${wl}-f,'
7782 if test "$GCC" = yes; then
7783 case $host_os in aix4.
[012]|aix4.
[012].
*)
7784 # We only want to do this on AIX 4.2 and lower, the check
7785 # below for broken collect2 doesn't work under 4.3+
7786 collect2name
=`${CC} -print-prog-name=collect2`
7787 if test -f "$collect2name" &&
7788 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7790 # We have reworked collect2
7793 # We have old collect2
7794 hardcode_direct
=unsupported
7795 # It fails to find uninstalled libraries when the uninstalled
7796 # path is not listed in the libpath. Setting hardcode_minus_L
7797 # to unsupported forces relinking
7798 hardcode_minus_L
=yes
7799 hardcode_libdir_flag_spec
='-L$libdir'
7800 hardcode_libdir_separator
=
7804 shared_flag
='-shared'
7805 if test "$aix_use_runtimelinking" = yes; then
7806 shared_flag
="$shared_flag "'${wl}-G'
7810 if test "$host_cpu" = ia64
; then
7811 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7812 # chokes on -Wl,-G. The following line is correct:
7815 if test "$aix_use_runtimelinking" = yes; then
7816 shared_flag
='${wl}-G'
7818 shared_flag
='${wl}-bM:SRE'
7823 # It seems that -bexpall does not export symbols beginning with
7824 # underscore (_), so it is better to generate a list of symbols to export.
7825 always_export_symbols
=yes
7826 if test "$aix_use_runtimelinking" = yes; then
7827 # Warning - without using the other runtime loading flags (-brtl),
7828 # -berok will link without error, but may produce a broken library.
7829 allow_undefined_flag
='-berok'
7830 # Determine the default libpath from the value encoded in an
7832 cat >conftest.
$ac_ext <<_ACEOF
7835 cat confdefs.h
>>conftest.
$ac_ext
7836 cat >>conftest.
$ac_ext <<_ACEOF
7837 /* end confdefs.h. */
7847 rm -f conftest.
$ac_objext conftest
$ac_exeext
7848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7849 (eval $ac_link) 2>conftest.er1
7851 grep -v '^ *+' conftest.er1
>conftest.err
7853 cat conftest.err
>&5
7854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7855 (exit $ac_status); } &&
7856 { ac_try
='test -z "$ac_c_werror_flag"
7857 || test ! -s conftest.err'
7858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7862 (exit $ac_status); }; } &&
7863 { ac_try
='test -s conftest$ac_exeext'
7864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7868 (exit $ac_status); }; }; then
7870 lt_aix_libpath_sed
='
7871 /Import File Strings/,/^$/ {
7877 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7878 # Check for a 64-bit object if we didn't find anything.
7879 if test -z "$aix_libpath"; then
7880 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7883 echo "$as_me: failed program was:" >&5
7884 sed 's/^/| /' conftest.
$ac_ext >&5
7887 rm -f conftest.err conftest.
$ac_objext \
7888 conftest
$ac_exeext conftest.
$ac_ext
7889 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7891 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7892 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"
7894 if test "$host_cpu" = ia64
; then
7895 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7896 allow_undefined_flag
="-z nodefs"
7897 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"
7899 # Determine the default libpath from the value encoded in an
7901 cat >conftest.
$ac_ext <<_ACEOF
7904 cat confdefs.h
>>conftest.
$ac_ext
7905 cat >>conftest.
$ac_ext <<_ACEOF
7906 /* end confdefs.h. */
7916 rm -f conftest.
$ac_objext conftest
$ac_exeext
7917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7918 (eval $ac_link) 2>conftest.er1
7920 grep -v '^ *+' conftest.er1
>conftest.err
7922 cat conftest.err
>&5
7923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7924 (exit $ac_status); } &&
7925 { ac_try
='test -z "$ac_c_werror_flag"
7926 || test ! -s conftest.err'
7927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7931 (exit $ac_status); }; } &&
7932 { ac_try
='test -s conftest$ac_exeext'
7933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937 (exit $ac_status); }; }; then
7939 lt_aix_libpath_sed
='
7940 /Import File Strings/,/^$/ {
7946 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7947 # Check for a 64-bit object if we didn't find anything.
7948 if test -z "$aix_libpath"; then
7949 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7952 echo "$as_me: failed program was:" >&5
7953 sed 's/^/| /' conftest.
$ac_ext >&5
7956 rm -f conftest.err conftest.
$ac_objext \
7957 conftest
$ac_exeext conftest.
$ac_ext
7958 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7960 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7961 # Warning - without using the other run time loading flags,
7962 # -berok will link without error, but may produce a broken library.
7963 no_undefined_flag
=' ${wl}-bernotok'
7964 allow_undefined_flag
=' ${wl}-berok'
7965 # Exported symbols can be pulled into shared objects from archives
7966 whole_archive_flag_spec
='$convenience'
7967 archive_cmds_need_lc
=yes
7968 # This is similar to how AIX traditionally builds its shared libraries.
7969 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'
7975 if test "$host_cpu" = m68k
; then
7976 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)'
7977 hardcode_libdir_flag_spec
='-L$libdir'
7978 hardcode_minus_L
=yes
7980 # see comment about different semantics on the GNU ld section
7985 export_dynamic_flag_spec
=-rdynamic
7988 cygwin
* | mingw
* | pw32
*)
7989 # When not using gcc, we currently assume that we are using
7990 # Microsoft Visual C++.
7991 # hardcode_libdir_flag_spec is actually meaningless, as there is
7992 # no search path for DLLs.
7993 hardcode_libdir_flag_spec
=' '
7994 allow_undefined_flag
=unsupported
7995 # Tell ltmain to make .lib files, not .a files.
7997 # Tell ltmain to make .dll files, not .so files.
7999 # FIXME: Setting linknames here is a bad hack.
8000 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8001 # The linker will automatically build a .lib file if we build a DLL.
8002 old_archive_from_new_cmds
='true'
8003 # FIXME: Should let the user specify the lib program.
8004 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8005 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8006 enable_shared_with_static_runtimes
=yes
8009 darwin
* | rhapsody
*)
8011 rhapsody
* | darwin1.
[012])
8012 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8015 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8017 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8020 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8025 archive_cmds_need_lc
=no
8027 hardcode_automatic
=yes
8028 hardcode_shlibpath_var
=unsupported
8029 whole_archive_flag_spec
=''
8030 link_all_deplibs
=yes
8031 if test "$GCC" = yes ; then
8032 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8033 echo $ECHO_N "(cached) $ECHO_C" >&6
8035 lt_cv_apple_cc_single_mod
=no
8036 if test -z "${LT_MULTI_MODULE}"; then
8037 # By default we will add the -single_module flag. You can override
8038 # by either setting the environment variable LT_MULTI_MODULE
8039 # non-empty at configure time, or by adding -multi-module to the
8041 echo "int foo(void){return 1;}" > conftest.c
8042 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8043 -dynamiclib ${wl}-single_module conftest.c
8044 if test -f libconftest.dylib
; then
8045 lt_cv_apple_cc_single_mod
=yes
8046 rm libconftest.dylib
8052 output_verbose_link_cmd
=echo
8053 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
8054 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8055 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8057 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8058 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8060 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8061 module_expsym_cmds
='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8063 case $cc_basename in
8065 output_verbose_link_cmd
=echo
8066 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8067 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8068 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8069 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8070 module_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8080 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8081 hardcode_libdir_flag_spec
='-L$libdir'
8082 hardcode_shlibpath_var
=no
8089 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8090 # support. Future versions do this automatically, but an explicit c++rt0.o
8091 # does not break anything, and helps significantly (at the cost of a little
8094 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8095 hardcode_libdir_flag_spec
='-R$libdir'
8097 hardcode_shlibpath_var
=no
8100 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8102 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8104 hardcode_minus_L
=yes
8105 hardcode_shlibpath_var
=no
8108 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8109 freebsd
* | dragonfly
*)
8110 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8111 hardcode_libdir_flag_spec
='-R$libdir'
8113 hardcode_shlibpath_var
=no
8117 if test "$GCC" = yes; then
8118 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'
8120 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'
8122 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8123 hardcode_libdir_separator
=:
8126 # hardcode_minus_L: Not really in the search PATH,
8127 # but as the default location of the library.
8128 hardcode_minus_L
=yes
8129 export_dynamic_flag_spec
='${wl}-E'
8133 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8134 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8136 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8138 if test "$with_gnu_ld" = no
; then
8139 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8140 hardcode_libdir_flag_spec_ld
='+b $libdir'
8141 hardcode_libdir_separator
=:
8143 hardcode_direct_absolute
=yes
8144 export_dynamic_flag_spec
='${wl}-E'
8145 # hardcode_minus_L: Not really in the search PATH,
8146 # but as the default location of the library.
8147 hardcode_minus_L
=yes
8152 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8155 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8158 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8161 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8167 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8170 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8173 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8177 if test "$with_gnu_ld" = no
; then
8178 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8179 hardcode_libdir_separator
=:
8184 hardcode_shlibpath_var
=no
8188 hardcode_direct_absolute
=yes
8189 export_dynamic_flag_spec
='${wl}-E'
8191 # hardcode_minus_L: Not really in the search PATH,
8192 # but as the default location of the library.
8193 hardcode_minus_L
=yes
8199 irix5
* | irix6
* | nonstopux
*)
8200 if test "$GCC" = yes; then
8201 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'
8202 # Try to use the -exported_symbol ld option, if it does not
8203 # work, assume that -exports_file does not work either and
8204 # implicitly export all symbols.
8205 save_LDFLAGS
="$LDFLAGS"
8206 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8207 cat >conftest.
$ac_ext <<_ACEOF
8210 rm -f conftest.
$ac_objext conftest
$ac_exeext
8211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8212 (eval $ac_link) 2>conftest.er1
8214 grep -v '^ *+' conftest.er1
>conftest.err
8216 cat conftest.err
>&5
8217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8218 (exit $ac_status); } &&
8219 { ac_try
='test -z "$ac_c_werror_flag"
8220 || test ! -s conftest.err'
8221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); }; } &&
8226 { ac_try
='test -s conftest$ac_exeext'
8227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8231 (exit $ac_status); }; }; then
8232 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'
8235 echo "$as_me: failed program was:" >&5
8236 sed 's/^/| /' conftest.
$ac_ext >&5
8239 rm -f conftest.err conftest.
$ac_objext \
8240 conftest
$ac_exeext conftest.
$ac_ext
8241 LDFLAGS
="$save_LDFLAGS"
8243 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'
8244 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'
8246 archive_cmds_need_lc
='no'
8247 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8248 hardcode_libdir_separator
=:
8250 link_all_deplibs
=yes
8254 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8255 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8257 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8259 hardcode_libdir_flag_spec
='-R$libdir'
8261 hardcode_shlibpath_var
=no
8265 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8267 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8268 hardcode_libdir_separator
=:
8269 hardcode_shlibpath_var
=no
8277 hardcode_shlibpath_var
=no
8278 hardcode_direct_absolute
=yes
8279 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8280 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8281 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8282 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8283 export_dynamic_flag_spec
='${wl}-E'
8286 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8287 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8288 hardcode_libdir_flag_spec
='-R$libdir'
8291 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8292 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8299 hardcode_libdir_flag_spec
='-L$libdir'
8300 hardcode_minus_L
=yes
8301 allow_undefined_flag
=unsupported
8302 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'
8303 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8307 if test "$GCC" = yes; then
8308 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8309 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'
8311 allow_undefined_flag
=' -expect_unresolved \*'
8312 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'
8314 archive_cmds_need_lc
='no'
8315 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8316 hardcode_libdir_separator
=:
8319 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8320 if test "$GCC" = yes; then
8321 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8322 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'
8323 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8325 allow_undefined_flag
=' -expect_unresolved \*'
8326 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'
8327 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~
8328 $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'
8330 # Both c and cxx compiler support -rpath directly
8331 hardcode_libdir_flag_spec
='-rpath $libdir'
8333 archive_cmds_need_lc
='no'
8334 hardcode_libdir_separator
=:
8338 no_undefined_flag
=' -z defs'
8339 if test "$GCC" = yes; then
8341 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8342 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8343 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8345 case `$CC -V 2>&1` in
8348 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8349 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8350 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8354 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8355 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8356 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8360 hardcode_libdir_flag_spec
='-R$libdir'
8361 hardcode_shlibpath_var
=no
8363 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8365 # The compiler driver will combine and reorder linker options,
8366 # but understands `-z linker_flag'. GCC discards it without `$wl',
8367 # but is careful enough not to reorder.
8368 # Supported since Solaris 2.6 (maybe 2.5.1?)
8369 if test "$GCC" = yes; then
8370 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8372 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8376 link_all_deplibs
=yes
8380 if test "x$host_vendor" = xsequent
; then
8381 # Use $CC to link under sequent, because it throws in some extra .o
8382 # files that make .init and .fini sections work.
8383 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8385 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8387 hardcode_libdir_flag_spec
='-L$libdir'
8389 hardcode_minus_L
=yes
8390 hardcode_shlibpath_var
=no
8394 case $host_vendor in
8396 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8397 hardcode_direct
=yes # is this really true???
8400 ## LD is ld it makes a PLAMLIB
8401 ## CC just makes a GrossModule.
8402 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8403 reload_cmds
='$CC -r -o $output$reload_objs'
8407 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8408 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8411 runpath_var
='LD_RUN_PATH'
8412 hardcode_shlibpath_var
=no
8416 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8417 hardcode_shlibpath_var
=no
8418 export_dynamic_flag_spec
='-Bexport'
8422 if test -d /usr
/nec
; then
8423 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8424 hardcode_shlibpath_var
=no
8425 runpath_var
=LD_RUN_PATH
8426 hardcode_runpath_var
=yes
8431 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8432 no_undefined_flag
='${wl}-z,text'
8433 archive_cmds_need_lc
=no
8434 hardcode_shlibpath_var
=no
8435 runpath_var
='LD_RUN_PATH'
8437 if test "$GCC" = yes; then
8438 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8439 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8441 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8442 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8446 sysv5
* | sco3.2v5
* | sco5v6
*)
8447 # Note: We can NOT use -z defs as we might desire, because we do not
8448 # link with -lc, and that would cause any symbols used from libc to
8449 # always be unresolved, which means just about no library would
8450 # ever link correctly. If we're not using GNU ld we use -z text
8451 # though, which does catch some bad symbols but isn't as heavy-handed
8453 no_undefined_flag
='${wl}-z,text'
8454 allow_undefined_flag
='${wl}-z,nodefs'
8455 archive_cmds_need_lc
=no
8456 hardcode_shlibpath_var
=no
8457 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8458 hardcode_libdir_separator
=':'
8459 link_all_deplibs
=yes
8460 export_dynamic_flag_spec
='${wl}-Bexport'
8461 runpath_var
='LD_RUN_PATH'
8463 if test "$GCC" = yes; then
8464 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8465 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8467 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8468 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8473 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8474 hardcode_libdir_flag_spec
='-L$libdir'
8475 hardcode_shlibpath_var
=no
8483 if test x
$host_vendor = xsni
; then
8485 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8486 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8492 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8493 echo "${ECHO_T}$ld_shlibs" >&6
8494 test "$ld_shlibs" = no
&& can_build_shared
=no
8496 with_gnu_ld
=$with_gnu_ld
8513 # Do we need to explicitly link libc?
8515 case "x$archive_cmds_need_lc" in
8517 # Assume -lc should be added
8518 archive_cmds_need_lc
=yes
8520 if test "$enable_shared" = yes && test "$GCC" = yes; then
8521 case $archive_cmds in
8523 # FIXME: we may have to deal with multi-command sequences.
8526 # Test whether the compiler implicitly links with -lc since on some
8527 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8528 # to ld, don't add -lc before -lgcc.
8529 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8530 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8532 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8535 (eval $ac_compile) 2>&5
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); } 2>conftest.err
; then
8541 libobjs
=conftest.
$ac_objext
8543 wl
=$lt_prog_compiler_wl
8544 pic_flag
=$lt_prog_compiler_pic
8550 lt_save_allow_undefined_flag
=$allow_undefined_flag
8551 allow_undefined_flag
=
8552 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8553 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556 (exit $ac_status); }
8558 archive_cmds_need_lc
=no
8560 archive_cmds_need_lc
=yes
8562 allow_undefined_flag
=$lt_save_allow_undefined_flag
8564 cat conftest.err
1>&5
8567 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8568 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8731 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8732 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8734 if test "$withGCC" = yes; then
8736 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8737 *) lt_awk_arg
="/^libraries:/" ;;
8739 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8740 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8741 # if the path contains ";" then we assume it to be the separator
8742 # otherwise default to the standard path separator (i.e. ":") - it is
8743 # assumed that no part of a normal pathname contains ";" but that should
8744 # okay in the real world where ";" in dirpaths is itself problematic.
8745 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8747 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8749 # Ok, now we have the path, separated by spaces, we can step through it
8750 # and add multilib dir if necessary.
8751 lt_tmp_lt_search_path_spec
=
8752 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8753 for lt_sys_path
in $lt_search_path_spec; do
8754 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8755 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8757 test -d "$lt_sys_path" && \
8758 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8761 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8762 BEGIN {RS=" "; FS="/|\n";} {
8765 for (lt_i = NF; lt_i > 0; lt_i--) {
8766 if ($lt_i != "" && $lt_i != ".") {
8767 if ($lt_i == "..") {
8770 if (lt_count == 0) {
8771 lt_foo="/" $lt_i lt_foo;
8778 if (lt_foo != "") { lt_freq[lt_foo]++; }
8779 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8781 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8783 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8786 libname_spec
='lib$name'
8794 shlibpath_overrides_runpath
=unknown
8796 dynamic_linker
="$host_os ld.so"
8797 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8798 need_lib_prefix
=unknown
8799 hardcode_into_libs
=no
8801 # when you set need_version to no, make sure it does not cause -set_version
8802 # flags to be left without arguments
8803 need_version
=unknown
8808 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8809 shlibpath_var
=LIBPATH
8811 # AIX 3 has no versioning support, so we append a major version to the name.
8812 soname_spec
='${libname}${release}${shared_ext}$major'
8819 hardcode_into_libs
=yes
8820 if test "$host_cpu" = ia64
; then
8821 # AIX 5 supports IA64
8822 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8823 shlibpath_var
=LD_LIBRARY_PATH
8825 # With GCC up to 2.95.x, collect2 would create an import file
8826 # for dependence libraries. The import file would start with
8827 # the line `#! .'. This would cause the generated library to
8828 # depend on `.', always an invalid library. This was fixed in
8829 # development snapshots of GCC prior to 3.0.
8831 aix4 | aix4.
[01] | aix4.
[01].
*)
8832 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8834 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8841 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8842 # soname into executable. Probably we can add versioning support to
8843 # collect2, so additional links can be useful in future.
8844 if test "$aix_use_runtimelinking" = yes; then
8845 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8846 # instead of lib<name>.a to let people know that these are not
8847 # typical AIX shared libraries.
8848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8850 # We preserve .a as extension for shared libraries through AIX4.2
8851 # and later when we are not doing run time linking.
8852 library_names_spec
='${libname}${release}.a $libname.a'
8853 soname_spec
='${libname}${release}${shared_ext}$major'
8855 shlibpath_var
=LIBPATH
8860 if test "$host_cpu" = m68k
; then
8861 library_names_spec
='$libname.ixlibrary $libname.a'
8862 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8863 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'
8870 library_names_spec
='${libname}${shared_ext}'
8871 dynamic_linker
="$host_os ld.so"
8872 shlibpath_var
=LIBRARY_PATH
8878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8879 soname_spec
='${libname}${release}${shared_ext}$major'
8880 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8881 shlibpath_var
=LD_LIBRARY_PATH
8882 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8883 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8884 # the default ld.so.conf also contains /usr/contrib/lib and
8885 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8886 # libtool to hard-code these into programs
8889 cygwin
* | mingw
* | pw32
*)
8890 version_type
=windows
8895 case $withGCC,$host_os in
8896 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8897 library_names_spec
='$libname.dll.a'
8898 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8899 postinstall_cmds
='base_file=`basename \${file}`~
8900 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8901 dldir=$destdir/`dirname \$dlpath`~
8902 test -d \$dldir || mkdir -p \$dldir~
8903 $install_prog $dir/$dlname \$dldir/$dlname~
8904 chmod a+x \$dldir/$dlname~
8905 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8906 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8908 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8909 dlpath=$dir/\$dldll~
8911 shlibpath_overrides_runpath
=yes
8915 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8916 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8917 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8920 # MinGW DLLs use traditional 'lib' prefix
8921 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8922 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8923 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8924 # It is most probably a Windows format PATH printed by
8925 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8926 # path with ; separators, and with drive letters. We can handle the
8927 # drive letters (cygwin fileutils understands them), so leave them,
8928 # especially as we might pass files found there to a mingw objdump,
8929 # which wouldn't understand a cygwinified path. Ahh.
8930 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8932 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8936 # pw32 DLLs use 'pw' prefix rather than 'lib'
8937 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8943 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8946 dynamic_linker
='Win32 ld.exe'
8947 # FIXME: first we should search . and the directory the executable is in
8951 darwin
* | rhapsody
*)
8952 dynamic_linker
="$host_os dyld"
8956 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8957 soname_spec
='${libname}${release}${major}$shared_ext'
8958 shlibpath_overrides_runpath
=yes
8959 shlibpath_var
=DYLD_LIBRARY_PATH
8960 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8962 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8963 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8971 soname_spec
='${libname}${release}${shared_ext}$major'
8972 shlibpath_var
=LD_LIBRARY_PATH
8979 freebsd
* | dragonfly
*)
8980 # DragonFly does not have aout. When/if they implement a new
8981 # versioning mechanism, adjust this.
8982 if test -x /usr
/bin
/objformat
; then
8983 objformat
=`/usr/bin/objformat`
8986 freebsd
[123]*) objformat
=aout
;;
8990 version_type
=freebsd-
$objformat
8991 case $version_type in
8993 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8998 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9002 shlibpath_var
=LD_LIBRARY_PATH
9005 shlibpath_overrides_runpath
=yes
9007 freebsd3.
[01]* | freebsdelf3.
[01]*)
9008 shlibpath_overrides_runpath
=yes
9009 hardcode_into_libs
=yes
9011 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9012 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9013 shlibpath_overrides_runpath
=no
9014 hardcode_into_libs
=yes
9016 *) # from 4.6 on, and DragonFly
9017 shlibpath_overrides_runpath
=yes
9018 hardcode_into_libs
=yes
9027 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9028 soname_spec
='${libname}${release}${shared_ext}$major'
9029 shlibpath_var
=LD_LIBRARY_PATH
9030 hardcode_into_libs
=yes
9033 hpux9
* | hpux10
* | hpux11
*)
9034 # Give a soname corresponding to the major version so that dld.sl refuses to
9035 # link against other versions.
9042 hardcode_into_libs
=yes
9043 dynamic_linker
="$host_os dld.so"
9044 shlibpath_var
=LD_LIBRARY_PATH
9045 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9047 soname_spec
='${libname}${release}${shared_ext}$major'
9048 if test "X$HPUX_IA64_MODE" = X32
; then
9049 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9051 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9053 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9057 hardcode_into_libs
=yes
9058 dynamic_linker
="$host_os dld.sl"
9059 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9060 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9061 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9062 soname_spec
='${libname}${release}${shared_ext}$major'
9063 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9064 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9068 dynamic_linker
="$host_os dld.sl"
9069 shlibpath_var
=SHLIB_PATH
9070 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9072 soname_spec
='${libname}${release}${shared_ext}$major'
9075 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9076 postinstall_cmds
='chmod 555 $lib'
9083 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9084 soname_spec
='${libname}${release}${shared_ext}$major'
9085 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9086 shlibpath_var
=LD_LIBRARY_PATH
9087 shlibpath_overrides_runpath
=no
9088 hardcode_into_libs
=yes
9091 irix5
* | irix6
* | nonstopux
*)
9093 nonstopux
*) version_type
=nonstopux
;;
9095 if test "$lt_cv_prog_gnu_ld" = yes; then
9103 soname_spec
='${libname}${release}${shared_ext}$major'
9104 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9106 irix5
* | nonstopux
*)
9110 case $LD in # libtool.m4 will add one of these switches to LD
9111 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9112 libsuff
= shlibsuff
= libmagic
=32-bit;;
9113 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9114 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9115 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9116 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9117 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9121 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9122 shlibpath_overrides_runpath
=no
9123 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9124 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9125 hardcode_into_libs
=yes
9128 # No shared lib support for Linux oldld, aout, or coff.
9129 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9133 # This must be Linux ELF.
9134 linux
* | k
*bsd
*-gnu)
9138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9139 soname_spec
='${libname}${release}${shared_ext}$major'
9140 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9141 shlibpath_var
=LD_LIBRARY_PATH
9142 shlibpath_overrides_runpath
=no
9143 # Some binutils ld are patched to set DT_RUNPATH
9144 save_LDFLAGS
=$LDFLAGS
9146 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9147 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9148 cat >conftest.
$ac_ext <<_ACEOF
9151 cat confdefs.h
>>conftest.
$ac_ext
9152 cat >>conftest.
$ac_ext <<_ACEOF
9153 /* end confdefs.h. */
9163 rm -f conftest.
$ac_objext conftest
$ac_exeext
9164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9165 (eval $ac_link) 2>conftest.er1
9167 grep -v '^ *+' conftest.er1
>conftest.err
9169 cat conftest.err
>&5
9170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9171 (exit $ac_status); } &&
9172 { ac_try
='test -z "$ac_c_werror_flag"
9173 || test ! -s conftest.err'
9174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9178 (exit $ac_status); }; } &&
9179 { ac_try
='test -s conftest$ac_exeext'
9180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9184 (exit $ac_status); }; }; then
9185 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
9186 shlibpath_overrides_runpath
=yes
9190 echo "$as_me: failed program was:" >&5
9191 sed 's/^/| /' conftest.
$ac_ext >&5
9194 rm -f conftest.err conftest.
$ac_objext \
9195 conftest
$ac_exeext conftest.
$ac_ext
9196 LDFLAGS
=$save_LDFLAGS
9199 # This implies no fast_install, which is unacceptable.
9200 # Some rework will be needed to allow for fast_install
9201 # before this can be enabled.
9202 hardcode_into_libs
=yes
9204 # Append ld.so.conf contents to the search path
9205 if test -f /etc
/ld.so.conf
; then
9206 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9207 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9210 # We used to test for /lib/ld.so.1 and disable shared libraries on
9211 # powerpc, because MkLinux only supported shared libraries with the
9212 # GNU dynamic linker. Since this was broken with cross compilers,
9213 # most powerpc-linux boxes support dynamic linking these days and
9214 # people can always --disable-shared, the test was removed, and we
9215 # assume the GNU/Linux dynamic linker is in use.
9216 dynamic_linker
='GNU/Linux ld.so'
9223 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9225 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9226 dynamic_linker
='NetBSD (a.out) ld.so'
9228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9229 soname_spec
='${libname}${release}${shared_ext}$major'
9230 dynamic_linker
='NetBSD ld.elf_so'
9232 shlibpath_var
=LD_LIBRARY_PATH
9233 shlibpath_overrides_runpath
=yes
9234 hardcode_into_libs
=yes
9239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9240 shlibpath_var
=LD_LIBRARY_PATH
9241 shlibpath_overrides_runpath
=yes
9248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9249 soname_spec
='${libname}${release}${shared_ext}$major'
9250 shlibpath_var
=LD_LIBRARY_PATH
9251 shlibpath_overrides_runpath
=no
9252 hardcode_into_libs
=yes
9253 dynamic_linker
='ldqnx.so'
9258 sys_lib_dlsearch_path_spec
="/usr/lib"
9260 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9262 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9263 *) need_version
=no
;;
9265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9266 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9267 shlibpath_var
=LD_LIBRARY_PATH
9268 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9270 openbsd2.
[89] | openbsd2.
[89].
*)
9271 shlibpath_overrides_runpath
=no
9274 shlibpath_overrides_runpath
=yes
9278 shlibpath_overrides_runpath
=yes
9283 libname_spec
='$name'
9286 library_names_spec
='$libname${shared_ext} $libname.a'
9287 dynamic_linker
='OS/2 ld.exe'
9288 shlibpath_var
=LIBPATH
9291 osf3
* | osf4
* | osf5
*)
9295 soname_spec
='${libname}${release}${shared_ext}$major'
9296 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9297 shlibpath_var
=LD_LIBRARY_PATH
9298 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9299 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9311 soname_spec
='${libname}${release}${shared_ext}$major'
9312 shlibpath_var
=LD_LIBRARY_PATH
9313 shlibpath_overrides_runpath
=yes
9314 hardcode_into_libs
=yes
9315 # ldd complains unless libraries are executable
9316 postinstall_cmds
='chmod +x $lib'
9321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9322 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9323 shlibpath_var
=LD_LIBRARY_PATH
9324 shlibpath_overrides_runpath
=yes
9325 if test "$with_gnu_ld" = yes; then
9333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9334 soname_spec
='${libname}${release}${shared_ext}$major'
9335 shlibpath_var
=LD_LIBRARY_PATH
9336 case $host_vendor in
9338 shlibpath_overrides_runpath
=no
9340 runpath_var
=LD_RUN_PATH
9348 shlibpath_overrides_runpath
=no
9349 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9355 if test -d /usr
/nec
;then
9357 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9358 soname_spec
='$libname${shared_ext}.$major'
9359 shlibpath_var
=LD_LIBRARY_PATH
9363 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9364 version_type
=freebsd-elf
9367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9368 soname_spec
='${libname}${release}${shared_ext}$major'
9369 shlibpath_var
=LD_LIBRARY_PATH
9370 shlibpath_overrides_runpath
=yes
9371 hardcode_into_libs
=yes
9372 if test "$with_gnu_ld" = yes; then
9373 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9375 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9378 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9382 sys_lib_dlsearch_path_spec
='/usr/lib'
9386 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9390 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9391 shlibpath_var
=LD_LIBRARY_PATH
9392 shlibpath_overrides_runpath
=no
9393 hardcode_into_libs
=yes
9398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9399 soname_spec
='${libname}${release}${shared_ext}$major'
9400 shlibpath_var
=LD_LIBRARY_PATH
9407 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9408 echo "${ECHO_T}$dynamic_linker" >&6
9409 test "$dynamic_linker" = no
&& can_build_shared
=no
9411 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9412 if test "$GCC" = yes; then
9413 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9502 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9503 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9505 if test -n "$hardcode_libdir_flag_spec" ||
9506 test -n "$runpath_var" ||
9507 test "X$hardcode_automatic" = "Xyes" ; then
9509 # We can hardcode non-existent directories.
9510 if test "$hardcode_direct" != no
&&
9511 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9512 # have to relink, otherwise we might link with an installed library
9513 # when we should be linking with a yet-to-be-installed one
9514 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9515 test "$hardcode_minus_L" != no
; then
9516 # Linking always hardcodes the temporary library directory.
9517 hardcode_action
=relink
9519 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9520 hardcode_action
=immediate
9523 # We cannot hardcode anything, or else we can only hardcode existing
9525 hardcode_action
=unsupported
9527 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9528 echo "${ECHO_T}$hardcode_action" >&6
9530 if test "$hardcode_action" = relink ||
9531 test "$inherit_rpath" = yes; then
9532 # Fast installation is not supported
9533 enable_fast_install
=no
9534 elif test "$shlibpath_overrides_runpath" = yes ||
9535 test "$enable_shared" = no
; then
9536 # Fast installation is not necessary
9537 enable_fast_install
=needless
9545 if test "x$enable_dlopen" != xyes
; then
9546 enable_dlopen
=unknown
9547 enable_dlopen_self
=unknown
9548 enable_dlopen_self_static
=unknown
9555 lt_cv_dlopen
="load_add_on"
9557 lt_cv_dlopen_self
=yes
9561 lt_cv_dlopen
="LoadLibrary"
9566 lt_cv_dlopen
="dlopen"
9571 # if libdl is installed we need to link against it
9572 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9573 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9574 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9575 echo $ECHO_N "(cached) $ECHO_C" >&6
9577 ac_check_lib_save_LIBS
=$LIBS
9579 cat >conftest.
$ac_ext <<_ACEOF
9582 cat confdefs.h
>>conftest.
$ac_ext
9583 cat >>conftest.
$ac_ext <<_ACEOF
9584 /* end confdefs.h. */
9586 /* Override any gcc2 internal prototype to avoid an error. */
9590 /* We use char because int might match the return type of a gcc2
9591 builtin and then its argument prototype would still apply. */
9601 rm -f conftest.
$ac_objext conftest
$ac_exeext
9602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9603 (eval $ac_link) 2>conftest.er1
9605 grep -v '^ *+' conftest.er1
>conftest.err
9607 cat conftest.err
>&5
9608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9609 (exit $ac_status); } &&
9610 { ac_try
='test -z "$ac_c_werror_flag"
9611 || test ! -s conftest.err'
9612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9616 (exit $ac_status); }; } &&
9617 { ac_try
='test -s conftest$ac_exeext'
9618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9622 (exit $ac_status); }; }; then
9623 ac_cv_lib_dl_dlopen
=yes
9625 echo "$as_me: failed program was:" >&5
9626 sed 's/^/| /' conftest.
$ac_ext >&5
9628 ac_cv_lib_dl_dlopen
=no
9630 rm -f conftest.err conftest.
$ac_objext \
9631 conftest
$ac_exeext conftest.
$ac_ext
9632 LIBS
=$ac_check_lib_save_LIBS
9634 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9635 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9636 if test $ac_cv_lib_dl_dlopen = yes; then
9637 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9642 lt_cv_dlopen_self
=yes
9649 echo "$as_me:$LINENO: checking for shl_load" >&5
9650 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9651 if test "${ac_cv_func_shl_load+set}" = set; then
9652 echo $ECHO_N "(cached) $ECHO_C" >&6
9654 cat >conftest.
$ac_ext <<_ACEOF
9657 cat confdefs.h
>>conftest.
$ac_ext
9658 cat >>conftest.
$ac_ext <<_ACEOF
9659 /* end confdefs.h. */
9660 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9662 #define shl_load innocuous_shl_load
9664 /* System header to define __stub macros and hopefully few prototypes,
9665 which can conflict with char shl_load (); below.
9666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9667 <limits.h> exists even on freestanding compilers. */
9670 # include <limits.h>
9672 # include <assert.h>
9677 /* Override any gcc2 internal prototype to avoid an error. */
9682 /* We use char because int might match the return type of a gcc2
9683 builtin and then its argument prototype would still apply. */
9685 /* The GNU C library defines this for functions which it implements
9686 to always fail with ENOSYS. Some functions are actually named
9687 something starting with __ and the normal name is an alias. */
9688 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9691 char (*f) () = shl_load;
9700 return f != shl_load;
9705 rm -f conftest.
$ac_objext conftest
$ac_exeext
9706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9707 (eval $ac_link) 2>conftest.er1
9709 grep -v '^ *+' conftest.er1
>conftest.err
9711 cat conftest.err
>&5
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 (exit $ac_status); } &&
9714 { ac_try
='test -z "$ac_c_werror_flag"
9715 || test ! -s conftest.err'
9716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9720 (exit $ac_status); }; } &&
9721 { ac_try
='test -s conftest$ac_exeext'
9722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726 (exit $ac_status); }; }; then
9727 ac_cv_func_shl_load
=yes
9729 echo "$as_me: failed program was:" >&5
9730 sed 's/^/| /' conftest.
$ac_ext >&5
9732 ac_cv_func_shl_load
=no
9734 rm -f conftest.err conftest.
$ac_objext \
9735 conftest
$ac_exeext conftest.
$ac_ext
9737 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9738 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9739 if test $ac_cv_func_shl_load = yes; then
9740 lt_cv_dlopen
="shl_load"
9742 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9743 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9744 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9745 echo $ECHO_N "(cached) $ECHO_C" >&6
9747 ac_check_lib_save_LIBS
=$LIBS
9749 cat >conftest.
$ac_ext <<_ACEOF
9752 cat confdefs.h
>>conftest.
$ac_ext
9753 cat >>conftest.
$ac_ext <<_ACEOF
9754 /* end confdefs.h. */
9756 /* Override any gcc2 internal prototype to avoid an error. */
9760 /* We use char because int might match the return type of a gcc2
9761 builtin and then its argument prototype would still apply. */
9771 rm -f conftest.
$ac_objext conftest
$ac_exeext
9772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9773 (eval $ac_link) 2>conftest.er1
9775 grep -v '^ *+' conftest.er1
>conftest.err
9777 cat conftest.err
>&5
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); } &&
9780 { ac_try
='test -z "$ac_c_werror_flag"
9781 || test ! -s conftest.err'
9782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9786 (exit $ac_status); }; } &&
9787 { ac_try
='test -s conftest$ac_exeext'
9788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9792 (exit $ac_status); }; }; then
9793 ac_cv_lib_dld_shl_load
=yes
9795 echo "$as_me: failed program was:" >&5
9796 sed 's/^/| /' conftest.
$ac_ext >&5
9798 ac_cv_lib_dld_shl_load
=no
9800 rm -f conftest.err conftest.
$ac_objext \
9801 conftest
$ac_exeext conftest.
$ac_ext
9802 LIBS
=$ac_check_lib_save_LIBS
9804 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9805 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9806 if test $ac_cv_lib_dld_shl_load = yes; then
9807 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
9809 echo "$as_me:$LINENO: checking for dlopen" >&5
9810 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9811 if test "${ac_cv_func_dlopen+set}" = set; then
9812 echo $ECHO_N "(cached) $ECHO_C" >&6
9814 cat >conftest.
$ac_ext <<_ACEOF
9817 cat confdefs.h
>>conftest.
$ac_ext
9818 cat >>conftest.
$ac_ext <<_ACEOF
9819 /* end confdefs.h. */
9820 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9822 #define dlopen innocuous_dlopen
9824 /* System header to define __stub macros and hopefully few prototypes,
9825 which can conflict with char dlopen (); below.
9826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9827 <limits.h> exists even on freestanding compilers. */
9830 # include <limits.h>
9832 # include <assert.h>
9837 /* Override any gcc2 internal prototype to avoid an error. */
9842 /* We use char because int might match the return type of a gcc2
9843 builtin and then its argument prototype would still apply. */
9845 /* The GNU C library defines this for functions which it implements
9846 to always fail with ENOSYS. Some functions are actually named
9847 something starting with __ and the normal name is an alias. */
9848 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9851 char (*f) () = dlopen;
9865 rm -f conftest.
$ac_objext conftest
$ac_exeext
9866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9867 (eval $ac_link) 2>conftest.er1
9869 grep -v '^ *+' conftest.er1
>conftest.err
9871 cat conftest.err
>&5
9872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9873 (exit $ac_status); } &&
9874 { ac_try
='test -z "$ac_c_werror_flag"
9875 || test ! -s conftest.err'
9876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9880 (exit $ac_status); }; } &&
9881 { ac_try
='test -s conftest$ac_exeext'
9882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9886 (exit $ac_status); }; }; then
9887 ac_cv_func_dlopen
=yes
9889 echo "$as_me: failed program was:" >&5
9890 sed 's/^/| /' conftest.
$ac_ext >&5
9892 ac_cv_func_dlopen
=no
9894 rm -f conftest.err conftest.
$ac_objext \
9895 conftest
$ac_exeext conftest.
$ac_ext
9897 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9898 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9899 if test $ac_cv_func_dlopen = yes; then
9900 lt_cv_dlopen
="dlopen"
9902 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9903 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9904 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9905 echo $ECHO_N "(cached) $ECHO_C" >&6
9907 ac_check_lib_save_LIBS
=$LIBS
9909 cat >conftest.
$ac_ext <<_ACEOF
9912 cat confdefs.h
>>conftest.
$ac_ext
9913 cat >>conftest.
$ac_ext <<_ACEOF
9914 /* end confdefs.h. */
9916 /* Override any gcc2 internal prototype to avoid an error. */
9920 /* We use char because int might match the return type of a gcc2
9921 builtin and then its argument prototype would still apply. */
9931 rm -f conftest.
$ac_objext conftest
$ac_exeext
9932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9933 (eval $ac_link) 2>conftest.er1
9935 grep -v '^ *+' conftest.er1
>conftest.err
9937 cat conftest.err
>&5
9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939 (exit $ac_status); } &&
9940 { ac_try
='test -z "$ac_c_werror_flag"
9941 || test ! -s conftest.err'
9942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946 (exit $ac_status); }; } &&
9947 { ac_try
='test -s conftest$ac_exeext'
9948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9952 (exit $ac_status); }; }; then
9953 ac_cv_lib_dl_dlopen
=yes
9955 echo "$as_me: failed program was:" >&5
9956 sed 's/^/| /' conftest.
$ac_ext >&5
9958 ac_cv_lib_dl_dlopen
=no
9960 rm -f conftest.err conftest.
$ac_objext \
9961 conftest
$ac_exeext conftest.
$ac_ext
9962 LIBS
=$ac_check_lib_save_LIBS
9964 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9965 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9966 if test $ac_cv_lib_dl_dlopen = yes; then
9967 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9969 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9970 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9971 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9972 echo $ECHO_N "(cached) $ECHO_C" >&6
9974 ac_check_lib_save_LIBS
=$LIBS
9976 cat >conftest.
$ac_ext <<_ACEOF
9979 cat confdefs.h
>>conftest.
$ac_ext
9980 cat >>conftest.
$ac_ext <<_ACEOF
9981 /* end confdefs.h. */
9983 /* Override any gcc2 internal prototype to avoid an error. */
9987 /* We use char because int might match the return type of a gcc2
9988 builtin and then its argument prototype would still apply. */
9998 rm -f conftest.
$ac_objext conftest
$ac_exeext
9999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10000 (eval $ac_link) 2>conftest.er1
10002 grep -v '^ *+' conftest.er1
>conftest.err
10004 cat conftest.err
>&5
10005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006 (exit $ac_status); } &&
10007 { ac_try
='test -z "$ac_c_werror_flag"
10008 || test ! -s conftest.err'
10009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10010 (eval $ac_try) 2>&5
10012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10013 (exit $ac_status); }; } &&
10014 { ac_try
='test -s conftest$ac_exeext'
10015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10016 (eval $ac_try) 2>&5
10018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10019 (exit $ac_status); }; }; then
10020 ac_cv_lib_svld_dlopen
=yes
10022 echo "$as_me: failed program was:" >&5
10023 sed 's/^/| /' conftest.
$ac_ext >&5
10025 ac_cv_lib_svld_dlopen
=no
10027 rm -f conftest.err conftest.
$ac_objext \
10028 conftest
$ac_exeext conftest.
$ac_ext
10029 LIBS
=$ac_check_lib_save_LIBS
10031 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10032 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10033 if test $ac_cv_lib_svld_dlopen = yes; then
10034 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10036 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10037 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10038 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10039 echo $ECHO_N "(cached) $ECHO_C" >&6
10041 ac_check_lib_save_LIBS
=$LIBS
10043 cat >conftest.
$ac_ext <<_ACEOF
10046 cat confdefs.h
>>conftest.
$ac_ext
10047 cat >>conftest.
$ac_ext <<_ACEOF
10048 /* end confdefs.h. */
10050 /* Override any gcc2 internal prototype to avoid an error. */
10054 /* We use char because int might match the return type of a gcc2
10055 builtin and then its argument prototype would still apply. */
10065 rm -f conftest.
$ac_objext conftest
$ac_exeext
10066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10067 (eval $ac_link) 2>conftest.er1
10069 grep -v '^ *+' conftest.er1
>conftest.err
10071 cat conftest.err
>&5
10072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10073 (exit $ac_status); } &&
10074 { ac_try
='test -z "$ac_c_werror_flag"
10075 || test ! -s conftest.err'
10076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10077 (eval $ac_try) 2>&5
10079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10080 (exit $ac_status); }; } &&
10081 { ac_try
='test -s conftest$ac_exeext'
10082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10083 (eval $ac_try) 2>&5
10085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10086 (exit $ac_status); }; }; then
10087 ac_cv_lib_dld_dld_link
=yes
10089 echo "$as_me: failed program was:" >&5
10090 sed 's/^/| /' conftest.
$ac_ext >&5
10092 ac_cv_lib_dld_dld_link
=no
10094 rm -f conftest.err conftest.
$ac_objext \
10095 conftest
$ac_exeext conftest.
$ac_ext
10096 LIBS
=$ac_check_lib_save_LIBS
10098 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10099 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10100 if test $ac_cv_lib_dld_dld_link = yes; then
10101 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
10122 if test "x$lt_cv_dlopen" != xno
; then
10128 case $lt_cv_dlopen in
10130 save_CPPFLAGS
="$CPPFLAGS"
10131 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10133 save_LDFLAGS
="$LDFLAGS"
10134 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10137 LIBS
="$lt_cv_dlopen_libs $LIBS"
10139 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10140 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10141 if test "${lt_cv_dlopen_self+set}" = set; then
10142 echo $ECHO_N "(cached) $ECHO_C" >&6
10144 if test "$cross_compiling" = yes; then :
10145 lt_cv_dlopen_self
=cross
10147 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10148 lt_status
=$lt_dlunknown
10149 cat > conftest.
$ac_ext <<_LT_EOF
10150 #line 10150 "configure"
10151 #include "confdefs.h"
10160 # define LT_DLGLOBAL RTLD_GLOBAL
10163 # define LT_DLGLOBAL DL_GLOBAL
10165 # define LT_DLGLOBAL 0
10169 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10170 find out it does not work in some platform. */
10171 #ifndef LT_DLLAZY_OR_NOW
10173 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10176 # define LT_DLLAZY_OR_NOW DL_LAZY
10179 # define LT_DLLAZY_OR_NOW RTLD_NOW
10182 # define LT_DLLAZY_OR_NOW DL_NOW
10184 # define LT_DLLAZY_OR_NOW 0
10192 extern "C" void exit (int);
10195 void fnord() { int i=42;}
10198 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10199 int status = $lt_dlunknown;
10203 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10204 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10205 /* dlclose (self); */
10213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10214 (eval $ac_link) 2>&5
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10218 (.
/conftest
; exit; ) >&5 2>/dev
/null
10220 case x
$lt_status in
10221 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10222 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10223 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10226 # compilation failed
10227 lt_cv_dlopen_self
=no
10234 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10235 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10237 if test "x$lt_cv_dlopen_self" = xyes
; then
10238 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10239 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10240 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10241 if test "${lt_cv_dlopen_self_static+set}" = set; then
10242 echo $ECHO_N "(cached) $ECHO_C" >&6
10244 if test "$cross_compiling" = yes; then :
10245 lt_cv_dlopen_self_static
=cross
10247 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10248 lt_status
=$lt_dlunknown
10249 cat > conftest.
$ac_ext <<_LT_EOF
10250 #line 10250 "configure"
10251 #include "confdefs.h"
10260 # define LT_DLGLOBAL RTLD_GLOBAL
10263 # define LT_DLGLOBAL DL_GLOBAL
10265 # define LT_DLGLOBAL 0
10269 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10270 find out it does not work in some platform. */
10271 #ifndef LT_DLLAZY_OR_NOW
10273 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10276 # define LT_DLLAZY_OR_NOW DL_LAZY
10279 # define LT_DLLAZY_OR_NOW RTLD_NOW
10282 # define LT_DLLAZY_OR_NOW DL_NOW
10284 # define LT_DLLAZY_OR_NOW 0
10292 extern "C" void exit (int);
10295 void fnord() { int i=42;}
10298 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10299 int status = $lt_dlunknown;
10303 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10304 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10305 /* dlclose (self); */
10313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10314 (eval $ac_link) 2>&5
10316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10317 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10318 (.
/conftest
; exit; ) >&5 2>/dev
/null
10320 case x
$lt_status in
10321 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10322 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10323 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10326 # compilation failed
10327 lt_cv_dlopen_self_static
=no
10334 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10335 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10338 CPPFLAGS
="$save_CPPFLAGS"
10339 LDFLAGS
="$save_LDFLAGS"
10344 case $lt_cv_dlopen_self in
10345 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10346 *) enable_dlopen_self
=unknown
;;
10349 case $lt_cv_dlopen_self_static in
10350 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10351 *) enable_dlopen_self_static
=unknown
;;
10373 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10374 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10375 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10376 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10377 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10378 echo "$as_me:$LINENO: result: yes" >&5
10379 echo "${ECHO_T}yes" >&6
10381 # FIXME - insert some real tests, host_os isn't really good enough
10384 if test -n "$STRIP" ; then
10385 striplib
="$STRIP -x"
10386 old_striplib
="$STRIP -S"
10387 echo "$as_me:$LINENO: result: yes" >&5
10388 echo "${ECHO_T}yes" >&6
10390 echo "$as_me:$LINENO: result: no" >&5
10391 echo "${ECHO_T}no" >&6
10395 echo "$as_me:$LINENO: result: no" >&5
10396 echo "${ECHO_T}no" >&6
10412 # Report which library types will actually be built
10413 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10414 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10415 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10416 echo "${ECHO_T}$can_build_shared" >&6
10418 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10419 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10420 test "$can_build_shared" = "no" && enable_shared
=no
10422 # On AIX, shared libraries and static libraries use the same namespace, and
10423 # are all built from PIC.
10426 test "$enable_shared" = yes && enable_static
=no
10427 if test -n "$RANLIB"; then
10428 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10429 postinstall_cmds
='$RANLIB $lib'
10434 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10435 test "$enable_shared" = yes && enable_static
=no
10439 echo "$as_me:$LINENO: result: $enable_shared" >&5
10440 echo "${ECHO_T}$enable_shared" >&6
10442 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10443 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10444 # Make sure either enable_shared or enable_static is yes.
10445 test "$enable_shared" = yes || enable_static
=yes
10446 echo "$as_me:$LINENO: result: $enable_static" >&5
10447 echo "${ECHO_T}$enable_static" >&6
10454 ac_cpp
='$CPP $CPPFLAGS'
10455 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10456 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10457 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10473 ac_config_commands
="$ac_config_commands libtool"
10478 # Only expand once:
10482 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
10483 if test "${enable_64_bit_bfd+set}" = set; then
10484 enableval
="$enable_64_bit_bfd"
10485 case "${enableval}" in
10486 yes) want64
=true
;;
10487 no
) want64
=false
;;
10488 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
10489 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
10490 { (exit 1); exit 1; }; } ;;
10495 # Check whether --enable-targets or --disable-targets was given.
10496 if test "${enable_targets+set}" = set; then
10497 enableval
="$enable_targets"
10498 case "${enableval}" in
10499 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
10500 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
10501 { (exit 1); exit 1; }; }
10503 no
) enable_targets
= ;;
10504 *) enable_targets
=$enableval ;;
10507 # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
10508 if test "${enable_commonbfdlib+set}" = set; then
10509 enableval
="$enable_commonbfdlib"
10510 case "${enableval}" in
10511 yes) commonbfdlib
=true
;;
10512 no
) commonbfdlib
=false
;;
10513 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
10514 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
10515 { (exit 1); exit 1; }; } ;;
10519 # Check whether --with-mmap or --without-mmap was given.
10520 if test "${with_mmap+set}" = set; then
10521 withval
="$with_mmap"
10522 case "${withval}" in
10523 yes) want_mmap
=true
;;
10524 no
) want_mmap
=false
;;
10525 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
10526 echo "$as_me: error: bad value ${withval} for BFD with-mmap option" >&2;}
10527 { (exit 1); exit 1; }; } ;;
10532 # Check whether --enable-secureplt or --disable-secureplt was given.
10533 if test "${enable_secureplt+set}" = set; then
10534 enableval
="$enable_secureplt"
10535 case "${enableval}" in
10536 yes) use_secureplt
=true
;;
10537 no
) use_secureplt
=false
;;
10538 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for secureplt option" >&5
10539 echo "$as_me: error: bad value ${enableval} for secureplt option" >&2;}
10540 { (exit 1); exit 1; }; } ;;
10543 use_secureplt
=false
10544 fi; if test $use_secureplt = true
; then
10546 cat >>confdefs.h
<<\_ACEOF
10547 #define USE_SECUREPLT 1
10552 DEBUGDIR
=${libdir}/debug
10554 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
10555 if test "${with_separate_debug_dir+set}" = set; then
10556 withval
="$with_separate_debug_dir"
10557 DEBUGDIR
="${withval}"
10561 # Check to see if we should allow the generation of
10562 # symbols with the ELF standard's STT_COMMON type.
10563 # Check whether --enable-elf-stt-common or --disable-elf-stt-common was given.
10564 if test "${enable_elf_stt_common+set}" = set; then
10565 enableval
="$enable_elf_stt_common"
10566 case "${enableval}" in
10567 yes) want_elf_stt_common
=true
;;
10568 no
) want_elf_stt_common
=false
;;
10569 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for ELF STT_COMMON option" >&5
10570 echo "$as_me: error: bad value ${enableval} for ELF STT_COMMON option" >&2;}
10571 { (exit 1); exit 1; }; } ;;
10574 # We have to choose a default behaviour. For native builds we could
10575 # test whether the loader supports the STT_COMMON type, but that would
10576 # mean that built binaries could not be exported to older systems where
10577 # the loader does not support it. So by default we always choose to
10578 # disable this feature.
10579 want_elf_stt_common
=false
10580 fi; if test $want_elf_stt_common = true
; then
10582 cat >>confdefs.h
<<\_ACEOF
10583 #define USE_STT_COMMON 1
10590 # Check whether --with-pkgversion or --without-pkgversion was given.
10591 if test "${with_pkgversion+set}" = set; then
10592 withval
="$with_pkgversion"
10594 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
10595 echo "$as_me: error: package version not specified" >&2;}
10596 { (exit 1); exit 1; }; } ;;
10598 *) PKGVERSION
="($withval) " ;;
10601 PKGVERSION
="(GNU Binutils) "
10608 # Check whether --with-bugurl or --without-bugurl was given.
10609 if test "${with_bugurl+set}" = set; then
10610 withval
="$with_bugurl"
10612 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
10613 echo "$as_me: error: bug URL not specified" >&2;}
10614 { (exit 1); exit 1; }; } ;;
10617 *) BUGURL
="$withval"
10621 BUGURL
="http://www.sourceware.org/bugzilla/"
10630 REPORT_BUGS_TO
="<$BUGURL>"
10631 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
10639 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
10641 # Check whether --enable-werror or --disable-werror was given.
10642 if test "${enable_werror+set}" = set; then
10643 enableval
="$enable_werror"
10644 case "${enableval}" in
10645 yes | y
) ERROR_ON_WARNING
="yes" ;;
10646 no | n
) ERROR_ON_WARNING
="no" ;;
10647 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
10648 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
10649 { (exit 1); exit 1; }; } ;;
10653 # Enable -Wno-format by default when using gcc on mingw
10656 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
10657 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
10663 # Enable -Werror by default when using gcc
10664 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
10665 ERROR_ON_WARNING
=yes
10669 if test "${ERROR_ON_WARNING}" = yes ; then
10670 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
10671 NO_WERROR
="-Wno-error"
10674 if test "${GCC}" = yes ; then
10675 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
10678 # Check whether --enable-build-warnings or --disable-build-warnings was given.
10679 if test "${enable_build_warnings+set}" = set; then
10680 enableval
="$enable_build_warnings"
10681 case "${enableval}" in
10682 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
10683 no
) if test "${GCC}" = yes ; then
10686 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
10687 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
10688 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
10689 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
10690 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
10694 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
10695 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
10702 ac_config_headers
="$ac_config_headers config.h:config.in"
10705 if test -z "$target" ; then
10706 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
10707 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
10708 { (exit 1); exit 1; }; }
10711 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
10712 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
10713 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
10714 if test "${enable_maintainer_mode+set}" = set; then
10715 enableval
="$enable_maintainer_mode"
10716 USE_MAINTAINER_MODE
=$enableval
10718 USE_MAINTAINER_MODE
=no
10720 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
10721 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
10724 if test $USE_MAINTAINER_MODE = yes; then
10725 MAINTAINER_MODE_TRUE
=
10726 MAINTAINER_MODE_FALSE
='#'
10728 MAINTAINER_MODE_TRUE
='#'
10729 MAINTAINER_MODE_FALSE
=
10732 MAINT
=$MAINTAINER_MODE_TRUE
10738 GENINSRC_NEVER_TRUE
=
10739 GENINSRC_NEVER_FALSE
='#'
10741 GENINSRC_NEVER_TRUE
='#'
10742 GENINSRC_NEVER_FALSE
=
10745 case ${build_alias} in
10746 "") build_noncanonical
=${build} ;;
10747 *) build_noncanonical
=${build_alias} ;;
10750 case ${host_alias} in
10751 "") host_noncanonical
=${build_noncanonical} ;;
10752 *) host_noncanonical
=${host_alias} ;;
10755 case ${target_alias} in
10756 "") target_noncanonical
=${host_noncanonical} ;;
10757 *) target_noncanonical
=${target_alias} ;;
10760 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
10761 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
10762 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
10763 if test "${enable_install_libbfd+set}" = set; then
10764 enableval
="$enable_install_libbfd"
10765 install_libbfd_p
=$enableval
10767 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
10768 install_libbfd_p
=yes
10770 install_libbfd_p
=no
10773 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
10774 echo "${ECHO_T}$install_libbfd_p" >&6
10777 if test $install_libbfd_p = yes; then
10778 INSTALL_LIBBFD_TRUE
=
10779 INSTALL_LIBBFD_FALSE
='#'
10781 INSTALL_LIBBFD_TRUE
='#'
10782 INSTALL_LIBBFD_FALSE
=
10785 # Need _noncanonical variables for this.
10790 # libbfd.a is a host library containing target dependent code
10791 bfdlibdir
='$(libdir)'
10792 bfdincludedir
='$(includedir)'
10793 if test "${host}" != "${target}"; then
10794 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
10795 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
10805 bfd_default_target_size
=32
10809 ALL_LINGUAS
="fr tr ja es sv da zh_CN ro rw vi fi"
10810 # If we haven't got the data from the intl directory,
10811 # assume NLS is disabled.
10820 if test -f ..
/intl
/config.intl
; then
10821 . ..
/intl
/config.intl
10823 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10824 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10825 if test x
"$USE_NLS" != xyes
; then
10826 echo "$as_me:$LINENO: result: no" >&5
10827 echo "${ECHO_T}no" >&6
10829 echo "$as_me:$LINENO: result: yes" >&5
10830 echo "${ECHO_T}yes" >&6
10832 cat >>confdefs.h
<<\_ACEOF
10833 #define ENABLE_NLS 1
10837 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
10838 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
10839 # Look for .po and .gmo files in the source directory.
10842 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
10843 # If there aren't any .gmo files the shell will give us the
10844 # literal string "../path/to/srcdir/po/*.gmo" which has to be
10846 case "$cat" in *\
**)
10849 # The quadruple backslash is collapsed to a double backslash
10850 # by the backticks, then collapsed again by the double quotes,
10851 # leaving us with one backslash in the sed expression (right
10852 # before the dot that mustn't act as a wildcard).
10853 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
10854 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
10855 # The user is allowed to set LINGUAS to a list of languages to
10856 # install catalogs for. If it's empty that means "all of them."
10857 if test "x$LINGUAS" = x
; then
10858 CATALOGS
="$CATALOGS $cat"
10859 XLINGUAS
="$XLINGUAS $lang"
10861 case "$LINGUAS" in *$lang*)
10862 CATALOGS
="$CATALOGS $cat"
10863 XLINGUAS
="$XLINGUAS $lang"
10868 LINGUAS
="$XLINGUAS"
10869 echo "$as_me:$LINENO: result: $LINGUAS" >&5
10870 echo "${ECHO_T}$LINGUAS" >&6
10884 if test -n "$ac_aux_dir"; then
10885 case "$ac_aux_dir" in
10886 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
10887 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
10890 if test -z "$MKINSTALLDIRS"; then
10891 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
10896 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10897 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10898 # Check whether --enable-nls or --disable-nls was given.
10899 if test "${enable_nls+set}" = set; then
10900 enableval
="$enable_nls"
10905 echo "$as_me:$LINENO: result: $USE_NLS" >&5
10906 echo "${ECHO_T}$USE_NLS" >&6
10913 # Prepare PATH_SEPARATOR.
10914 # The user is always right.
10915 if test "${PATH_SEPARATOR+set}" != set; then
10916 echo "#! /bin/sh" >conf$$.sh
10917 echo "exit 0" >>conf$$.sh
10919 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10927 # Find out how to test for executable files. Don't use a zero-byte file,
10928 # as systems may use methods other than mode bits to determine executability.
10929 cat >conf$$.
file <<_ASEOF
10933 chmod +x conf$$.
file
10934 if test -x conf$$.
file >/dev
/null
2>&1; then
10935 ac_executable_p
="test -x"
10937 ac_executable_p
="test -f"
10941 # Extract the first word of "msgfmt", so it can be a program name with args.
10942 set dummy msgfmt
; ac_word
=$2
10943 echo "$as_me:$LINENO: checking for $ac_word" >&5
10944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10945 if test "${ac_cv_path_MSGFMT+set}" = set; then
10946 echo $ECHO_N "(cached) $ECHO_C" >&6
10950 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
10953 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
10954 for ac_dir
in $PATH; do
10956 test -z "$ac_dir" && ac_dir
=.
10957 for ac_exec_ext
in '' $ac_executable_extensions; do
10958 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10959 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
10960 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
10961 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
10968 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
10972 MSGFMT
="$ac_cv_path_MSGFMT"
10973 if test "$MSGFMT" != ":"; then
10974 echo "$as_me:$LINENO: result: $MSGFMT" >&5
10975 echo "${ECHO_T}$MSGFMT" >&6
10977 echo "$as_me:$LINENO: result: no" >&5
10978 echo "${ECHO_T}no" >&6
10981 # Extract the first word of "gmsgfmt", so it can be a program name with args.
10982 set dummy gmsgfmt
; ac_word
=$2
10983 echo "$as_me:$LINENO: checking for $ac_word" >&5
10984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10985 if test "${ac_cv_path_GMSGFMT+set}" = set; then
10986 echo $ECHO_N "(cached) $ECHO_C" >&6
10990 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
10993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10994 for as_dir
in $PATH
10997 test -z "$as_dir" && as_dir
=.
10998 for ac_exec_ext
in '' $ac_executable_extensions; do
10999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11000 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11007 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11011 GMSGFMT
=$ac_cv_path_GMSGFMT
11013 if test -n "$GMSGFMT"; then
11014 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
11015 echo "${ECHO_T}$GMSGFMT" >&6
11017 echo "$as_me:$LINENO: result: no" >&5
11018 echo "${ECHO_T}no" >&6
11023 # Prepare PATH_SEPARATOR.
11024 # The user is always right.
11025 if test "${PATH_SEPARATOR+set}" != set; then
11026 echo "#! /bin/sh" >conf$$.sh
11027 echo "exit 0" >>conf$$.sh
11029 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11037 # Find out how to test for executable files. Don't use a zero-byte file,
11038 # as systems may use methods other than mode bits to determine executability.
11039 cat >conf$$.
file <<_ASEOF
11043 chmod +x conf$$.
file
11044 if test -x conf$$.
file >/dev
/null
2>&1; then
11045 ac_executable_p
="test -x"
11047 ac_executable_p
="test -f"
11051 # Extract the first word of "xgettext", so it can be a program name with args.
11052 set dummy xgettext
; ac_word
=$2
11053 echo "$as_me:$LINENO: checking for $ac_word" >&5
11054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11055 if test "${ac_cv_path_XGETTEXT+set}" = set; then
11056 echo $ECHO_N "(cached) $ECHO_C" >&6
11058 case "$XGETTEXT" in
11060 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11063 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11064 for ac_dir
in $PATH; do
11066 test -z "$ac_dir" && ac_dir
=.
11067 for ac_exec_ext
in '' $ac_executable_extensions; do
11068 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11069 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11070 (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
11071 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
11078 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11082 XGETTEXT
="$ac_cv_path_XGETTEXT"
11083 if test "$XGETTEXT" != ":"; then
11084 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
11085 echo "${ECHO_T}$XGETTEXT" >&6
11087 echo "$as_me:$LINENO: result: no" >&5
11088 echo "${ECHO_T}no" >&6
11094 # Prepare PATH_SEPARATOR.
11095 # The user is always right.
11096 if test "${PATH_SEPARATOR+set}" != set; then
11097 echo "#! /bin/sh" >conf$$.sh
11098 echo "exit 0" >>conf$$.sh
11100 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11108 # Find out how to test for executable files. Don't use a zero-byte file,
11109 # as systems may use methods other than mode bits to determine executability.
11110 cat >conf$$.
file <<_ASEOF
11114 chmod +x conf$$.
file
11115 if test -x conf$$.
file >/dev
/null
2>&1; then
11116 ac_executable_p
="test -x"
11118 ac_executable_p
="test -f"
11122 # Extract the first word of "msgmerge", so it can be a program name with args.
11123 set dummy msgmerge
; ac_word
=$2
11124 echo "$as_me:$LINENO: checking for $ac_word" >&5
11125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11126 if test "${ac_cv_path_MSGMERGE+set}" = set; then
11127 echo $ECHO_N "(cached) $ECHO_C" >&6
11129 case "$MSGMERGE" in
11131 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11134 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11135 for ac_dir
in $PATH; do
11137 test -z "$ac_dir" && ac_dir
=.
11138 for ac_exec_ext
in '' $ac_executable_extensions; do
11139 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11140 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11141 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
11148 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
11152 MSGMERGE
="$ac_cv_path_MSGMERGE"
11153 if test "$MSGMERGE" != ":"; then
11154 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
11155 echo "${ECHO_T}$MSGMERGE" >&6
11157 echo "$as_me:$LINENO: result: no" >&5
11158 echo "${ECHO_T}no" >&6
11162 if test "$GMSGFMT" != ":"; then
11163 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
11164 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11167 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11168 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11169 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
11174 if test "$XGETTEXT" != ":"; then
11175 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11176 (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
11179 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
11180 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
11186 ac_config_commands
="$ac_config_commands default-1"
11190 # Permit host specific settings.
11191 .
${srcdir}/configure.
host
11194 # Find a good install program. We prefer a C program (faster),
11195 # so one script is as good as another. But avoid the broken or
11196 # incompatible versions:
11197 # SysV /etc/install, /usr/sbin/install
11198 # SunOS /usr/etc/install
11199 # IRIX /sbin/install
11201 # AmigaOS /C/install, which installs bootblocks on floppy discs
11202 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11203 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11204 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11205 # OS/2's system install, which has a completely different semantic
11206 # ./install, which can be erroneously created by make from ./install.sh.
11207 # Reject install programs that cannot install multiple files.
11208 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11209 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11210 if test -z "$INSTALL"; then
11211 if test "${ac_cv_path_install+set}" = set; then
11212 echo $ECHO_N "(cached) $ECHO_C" >&6
11214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11215 for as_dir
in $PATH
11218 test -z "$as_dir" && as_dir
=.
11219 # Account for people who put trailing slashes in PATH elements.
11221 .
/ | .
// |
/cC
/* | \
11222 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
11223 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11226 # OSF1 and SCO ODT 3.0 have their own names for install.
11227 # Don't use installbsd from OSF since it installs stuff as root
11229 for ac_prog
in ginstall scoinst
install; do
11230 for ac_exec_ext
in '' $ac_executable_extensions; do
11231 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11232 if test $ac_prog = install &&
11233 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11234 # AIX install. It has an incompatible calling convention.
11236 elif test $ac_prog = install &&
11237 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11238 # program-specific install script used by HP pwplus--don't use.
11241 rm -rf conftest.one conftest.two conftest.dir
11242 echo one
> conftest.one
11243 echo two
> conftest.two
11245 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
11246 test -s conftest.one
&& test -s conftest.two
&&
11247 test -s conftest.dir
/conftest.one
&&
11248 test -s conftest.dir
/conftest.two
11250 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11261 rm -rf conftest.one conftest.two conftest.dir
11264 if test "${ac_cv_path_install+set}" = set; then
11265 INSTALL
=$ac_cv_path_install
11267 # As a last resort, use the slow shell script. Don't cache a
11268 # value for INSTALL within a source directory, because that will
11269 # break other packages using the cache if that directory is
11270 # removed, or if the value is a relative name.
11271 INSTALL
=$ac_install_sh
11274 echo "$as_me:$LINENO: result: $INSTALL" >&5
11275 echo "${ECHO_T}$INSTALL" >&6
11277 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11278 # It thinks the first close brace ends the variable substitution.
11279 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11281 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11283 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11286 BFD_HOST_64BIT_LONG
=0
11287 BFD_HOST_64BIT_LONG_LONG
=0
11288 BFD_HOST_64_BIT_DEFINED
=0
11291 BFD_HOSTPTR_T
="unsigned long"
11293 echo "$as_me:$LINENO: checking for long long" >&5
11294 echo $ECHO_N "checking for long long... $ECHO_C" >&6
11295 if test "${ac_cv_type_long_long+set}" = set; then
11296 echo $ECHO_N "(cached) $ECHO_C" >&6
11298 cat >conftest.
$ac_ext <<_ACEOF
11301 cat confdefs.h
>>conftest.
$ac_ext
11302 cat >>conftest.
$ac_ext <<_ACEOF
11303 /* end confdefs.h. */
11304 $ac_includes_default
11308 if ((long long *) 0)
11310 if (sizeof (long long))
11316 rm -f conftest.
$ac_objext
11317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11318 (eval $ac_compile) 2>conftest.er1
11320 grep -v '^ *+' conftest.er1
>conftest.err
11322 cat conftest.err
>&5
11323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11324 (exit $ac_status); } &&
11325 { ac_try
='test -z "$ac_c_werror_flag"
11326 || test ! -s conftest.err'
11327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11328 (eval $ac_try) 2>&5
11330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331 (exit $ac_status); }; } &&
11332 { ac_try
='test -s conftest.$ac_objext'
11333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11334 (eval $ac_try) 2>&5
11336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11337 (exit $ac_status); }; }; then
11338 ac_cv_type_long_long
=yes
11340 echo "$as_me: failed program was:" >&5
11341 sed 's/^/| /' conftest.
$ac_ext >&5
11343 ac_cv_type_long_long
=no
11345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11347 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
11348 echo "${ECHO_T}$ac_cv_type_long_long" >&6
11350 echo "$as_me:$LINENO: checking size of long long" >&5
11351 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
11352 if test "${ac_cv_sizeof_long_long+set}" = set; then
11353 echo $ECHO_N "(cached) $ECHO_C" >&6
11355 if test "$ac_cv_type_long_long" = yes; then
11356 # The cast to unsigned long works around a bug in the HP C Compiler
11357 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11358 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11359 # This bug is HP SR number 8606223364.
11360 if test "$cross_compiling" = yes; then
11361 # Depending upon the size, compute the lo and hi bounds.
11362 cat >conftest.
$ac_ext <<_ACEOF
11365 cat confdefs.h
>>conftest.
$ac_ext
11366 cat >>conftest.
$ac_ext <<_ACEOF
11367 /* end confdefs.h. */
11368 $ac_includes_default
11372 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
11379 rm -f conftest.
$ac_objext
11380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11381 (eval $ac_compile) 2>conftest.er1
11383 grep -v '^ *+' conftest.er1
>conftest.err
11385 cat conftest.err
>&5
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); } &&
11388 { ac_try
='test -z "$ac_c_werror_flag"
11389 || test ! -s conftest.err'
11390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11391 (eval $ac_try) 2>&5
11393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394 (exit $ac_status); }; } &&
11395 { ac_try
='test -s conftest.$ac_objext'
11396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11397 (eval $ac_try) 2>&5
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); }; }; then
11403 cat >conftest.
$ac_ext <<_ACEOF
11406 cat confdefs.h
>>conftest.
$ac_ext
11407 cat >>conftest.
$ac_ext <<_ACEOF
11408 /* end confdefs.h. */
11409 $ac_includes_default
11413 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
11420 rm -f conftest.
$ac_objext
11421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11422 (eval $ac_compile) 2>conftest.er1
11424 grep -v '^ *+' conftest.er1
>conftest.err
11426 cat conftest.err
>&5
11427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11428 (exit $ac_status); } &&
11429 { ac_try
='test -z "$ac_c_werror_flag"
11430 || test ! -s conftest.err'
11431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11432 (eval $ac_try) 2>&5
11434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435 (exit $ac_status); }; } &&
11436 { ac_try
='test -s conftest.$ac_objext'
11437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11438 (eval $ac_try) 2>&5
11440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11441 (exit $ac_status); }; }; then
11442 ac_hi
=$ac_mid; break
11444 echo "$as_me: failed program was:" >&5
11445 sed 's/^/| /' conftest.
$ac_ext >&5
11447 ac_lo
=`expr $ac_mid + 1`
11448 if test $ac_lo -le $ac_mid; then
11452 ac_mid
=`expr 2 '*' $ac_mid + 1`
11454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11457 echo "$as_me: failed program was:" >&5
11458 sed 's/^/| /' conftest.
$ac_ext >&5
11460 cat >conftest.
$ac_ext <<_ACEOF
11463 cat confdefs.h
>>conftest.
$ac_ext
11464 cat >>conftest.
$ac_ext <<_ACEOF
11465 /* end confdefs.h. */
11466 $ac_includes_default
11470 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
11477 rm -f conftest.
$ac_objext
11478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11479 (eval $ac_compile) 2>conftest.er1
11481 grep -v '^ *+' conftest.er1
>conftest.err
11483 cat conftest.err
>&5
11484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11485 (exit $ac_status); } &&
11486 { ac_try
='test -z "$ac_c_werror_flag"
11487 || test ! -s conftest.err'
11488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11489 (eval $ac_try) 2>&5
11491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11492 (exit $ac_status); }; } &&
11493 { ac_try
='test -s conftest.$ac_objext'
11494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11495 (eval $ac_try) 2>&5
11497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11498 (exit $ac_status); }; }; then
11501 cat >conftest.
$ac_ext <<_ACEOF
11504 cat confdefs.h
>>conftest.
$ac_ext
11505 cat >>conftest.
$ac_ext <<_ACEOF
11506 /* end confdefs.h. */
11507 $ac_includes_default
11511 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
11518 rm -f conftest.
$ac_objext
11519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11520 (eval $ac_compile) 2>conftest.er1
11522 grep -v '^ *+' conftest.er1
>conftest.err
11524 cat conftest.err
>&5
11525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526 (exit $ac_status); } &&
11527 { ac_try
='test -z "$ac_c_werror_flag"
11528 || test ! -s conftest.err'
11529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11530 (eval $ac_try) 2>&5
11532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533 (exit $ac_status); }; } &&
11534 { ac_try
='test -s conftest.$ac_objext'
11535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11536 (eval $ac_try) 2>&5
11538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539 (exit $ac_status); }; }; then
11540 ac_lo
=$ac_mid; break
11542 echo "$as_me: failed program was:" >&5
11543 sed 's/^/| /' conftest.
$ac_ext >&5
11545 ac_hi
=`expr '(' $ac_mid ')' - 1`
11546 if test $ac_mid -le $ac_hi; then
11550 ac_mid
=`expr 2 '*' $ac_mid`
11552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11555 echo "$as_me: failed program was:" >&5
11556 sed 's/^/| /' conftest.
$ac_ext >&5
11560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11563 # Binary search between lo and hi bounds.
11564 while test "x$ac_lo" != "x$ac_hi"; do
11565 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11566 cat >conftest.
$ac_ext <<_ACEOF
11569 cat confdefs.h
>>conftest.
$ac_ext
11570 cat >>conftest.
$ac_ext <<_ACEOF
11571 /* end confdefs.h. */
11572 $ac_includes_default
11576 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
11583 rm -f conftest.
$ac_objext
11584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11585 (eval $ac_compile) 2>conftest.er1
11587 grep -v '^ *+' conftest.er1
>conftest.err
11589 cat conftest.err
>&5
11590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591 (exit $ac_status); } &&
11592 { ac_try
='test -z "$ac_c_werror_flag"
11593 || test ! -s conftest.err'
11594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11595 (eval $ac_try) 2>&5
11597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11598 (exit $ac_status); }; } &&
11599 { ac_try
='test -s conftest.$ac_objext'
11600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11601 (eval $ac_try) 2>&5
11603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11604 (exit $ac_status); }; }; then
11607 echo "$as_me: failed program was:" >&5
11608 sed 's/^/| /' conftest.
$ac_ext >&5
11610 ac_lo
=`expr '(' $ac_mid ')' + 1`
11612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11615 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
11616 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11617 echo "$as_me: error: in \`$ac_pwd':" >&2;}
11618 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
11619 See \`config.log' for more details." >&5
11620 echo "$as_me: error: cannot compute sizeof (long long), 77
11621 See \`config.log' for more details." >&2;}
11622 { (exit 1); exit 1; }; }; } ;;
11625 if test "$cross_compiling" = yes; then
11626 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11627 echo "$as_me: error: in \`$ac_pwd':" >&2;}
11628 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11629 See \`config.log' for more details." >&5
11630 echo "$as_me: error: cannot run test program while cross compiling
11631 See \`config.log' for more details." >&2;}
11632 { (exit 1); exit 1; }; }; }
11634 cat >conftest.
$ac_ext <<_ACEOF
11637 cat confdefs.h
>>conftest.
$ac_ext
11638 cat >>conftest.
$ac_ext <<_ACEOF
11639 /* end confdefs.h. */
11640 $ac_includes_default
11641 long longval () { return (long) (sizeof (long long)); }
11642 unsigned long ulongval () { return (long) (sizeof (long long)); }
11644 #include <stdlib.h>
11649 FILE *f = fopen ("conftest.val", "w");
11652 if (((long) (sizeof (long long))) < 0)
11654 long i = longval ();
11655 if (i != ((long) (sizeof (long long))))
11657 fprintf (f, "%ld\n", i);
11661 unsigned long i = ulongval ();
11662 if (i != ((long) (sizeof (long long))))
11664 fprintf (f, "%lu\n", i);
11666 exit (ferror (f) || fclose (f) != 0);
11672 rm -f conftest
$ac_exeext
11673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11674 (eval $ac_link) 2>&5
11676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11677 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11679 (eval $ac_try) 2>&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); }; }; then
11683 ac_cv_sizeof_long_long
=`cat conftest.val`
11685 echo "$as_me: program exited with status $ac_status" >&5
11686 echo "$as_me: failed program was:" >&5
11687 sed 's/^/| /' conftest.
$ac_ext >&5
11689 ( exit $ac_status )
11690 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11691 echo "$as_me: error: in \`$ac_pwd':" >&2;}
11692 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
11693 See \`config.log' for more details." >&5
11694 echo "$as_me: error: cannot compute sizeof (long long), 77
11695 See \`config.log' for more details." >&2;}
11696 { (exit 1); exit 1; }; }; }
11698 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11703 ac_cv_sizeof_long_long
=0
11706 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
11707 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
11708 cat >>confdefs.h
<<_ACEOF
11709 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
11713 echo "$as_me:$LINENO: checking for void *" >&5
11714 echo $ECHO_N "checking for void *... $ECHO_C" >&6
11715 if test "${ac_cv_type_void_p+set}" = set; then
11716 echo $ECHO_N "(cached) $ECHO_C" >&6
11718 cat >conftest.
$ac_ext <<_ACEOF
11721 cat confdefs.h
>>conftest.
$ac_ext
11722 cat >>conftest.
$ac_ext <<_ACEOF
11723 /* end confdefs.h. */
11724 $ac_includes_default
11730 if (sizeof (void *))
11736 rm -f conftest.
$ac_objext
11737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11738 (eval $ac_compile) 2>conftest.er1
11740 grep -v '^ *+' conftest.er1
>conftest.err
11742 cat conftest.err
>&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); } &&
11745 { ac_try
='test -z "$ac_c_werror_flag"
11746 || test ! -s conftest.err'
11747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11748 (eval $ac_try) 2>&5
11750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751 (exit $ac_status); }; } &&
11752 { ac_try
='test -s conftest.$ac_objext'
11753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11754 (eval $ac_try) 2>&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); }; }; then
11758 ac_cv_type_void_p
=yes
11760 echo "$as_me: failed program was:" >&5
11761 sed 's/^/| /' conftest.
$ac_ext >&5
11763 ac_cv_type_void_p
=no
11765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11767 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
11768 echo "${ECHO_T}$ac_cv_type_void_p" >&6
11770 echo "$as_me:$LINENO: checking size of void *" >&5
11771 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
11772 if test "${ac_cv_sizeof_void_p+set}" = set; then
11773 echo $ECHO_N "(cached) $ECHO_C" >&6
11775 if test "$ac_cv_type_void_p" = yes; then
11776 # The cast to unsigned long works around a bug in the HP C Compiler
11777 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11778 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11779 # This bug is HP SR number 8606223364.
11780 if test "$cross_compiling" = yes; then
11781 # Depending upon the size, compute the lo and hi bounds.
11782 cat >conftest.
$ac_ext <<_ACEOF
11785 cat confdefs.h
>>conftest.
$ac_ext
11786 cat >>conftest.
$ac_ext <<_ACEOF
11787 /* end confdefs.h. */
11788 $ac_includes_default
11792 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
11799 rm -f conftest.
$ac_objext
11800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11801 (eval $ac_compile) 2>conftest.er1
11803 grep -v '^ *+' conftest.er1
>conftest.err
11805 cat conftest.err
>&5
11806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11807 (exit $ac_status); } &&
11808 { ac_try
='test -z "$ac_c_werror_flag"
11809 || test ! -s conftest.err'
11810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11811 (eval $ac_try) 2>&5
11813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11814 (exit $ac_status); }; } &&
11815 { ac_try
='test -s conftest.$ac_objext'
11816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11817 (eval $ac_try) 2>&5
11819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11820 (exit $ac_status); }; }; then
11823 cat >conftest.
$ac_ext <<_ACEOF
11826 cat confdefs.h
>>conftest.
$ac_ext
11827 cat >>conftest.
$ac_ext <<_ACEOF
11828 /* end confdefs.h. */
11829 $ac_includes_default
11833 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
11840 rm -f conftest.
$ac_objext
11841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11842 (eval $ac_compile) 2>conftest.er1
11844 grep -v '^ *+' conftest.er1
>conftest.err
11846 cat conftest.err
>&5
11847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11848 (exit $ac_status); } &&
11849 { ac_try
='test -z "$ac_c_werror_flag"
11850 || test ! -s conftest.err'
11851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11852 (eval $ac_try) 2>&5
11854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11855 (exit $ac_status); }; } &&
11856 { ac_try
='test -s conftest.$ac_objext'
11857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11858 (eval $ac_try) 2>&5
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); }; }; then
11862 ac_hi
=$ac_mid; break
11864 echo "$as_me: failed program was:" >&5
11865 sed 's/^/| /' conftest.
$ac_ext >&5
11867 ac_lo
=`expr $ac_mid + 1`
11868 if test $ac_lo -le $ac_mid; then
11872 ac_mid
=`expr 2 '*' $ac_mid + 1`
11874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11877 echo "$as_me: failed program was:" >&5
11878 sed 's/^/| /' conftest.
$ac_ext >&5
11880 cat >conftest.
$ac_ext <<_ACEOF
11883 cat confdefs.h
>>conftest.
$ac_ext
11884 cat >>conftest.
$ac_ext <<_ACEOF
11885 /* end confdefs.h. */
11886 $ac_includes_default
11890 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
11897 rm -f conftest.
$ac_objext
11898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11899 (eval $ac_compile) 2>conftest.er1
11901 grep -v '^ *+' conftest.er1
>conftest.err
11903 cat conftest.err
>&5
11904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11905 (exit $ac_status); } &&
11906 { ac_try
='test -z "$ac_c_werror_flag"
11907 || test ! -s conftest.err'
11908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11909 (eval $ac_try) 2>&5
11911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11912 (exit $ac_status); }; } &&
11913 { ac_try
='test -s conftest.$ac_objext'
11914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11915 (eval $ac_try) 2>&5
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); }; }; then
11921 cat >conftest.
$ac_ext <<_ACEOF
11924 cat confdefs.h
>>conftest.
$ac_ext
11925 cat >>conftest.
$ac_ext <<_ACEOF
11926 /* end confdefs.h. */
11927 $ac_includes_default
11931 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
11938 rm -f conftest.
$ac_objext
11939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11940 (eval $ac_compile) 2>conftest.er1
11942 grep -v '^ *+' conftest.er1
>conftest.err
11944 cat conftest.err
>&5
11945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11946 (exit $ac_status); } &&
11947 { ac_try
='test -z "$ac_c_werror_flag"
11948 || test ! -s conftest.err'
11949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11950 (eval $ac_try) 2>&5
11952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); }; } &&
11954 { ac_try
='test -s conftest.$ac_objext'
11955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11956 (eval $ac_try) 2>&5
11958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959 (exit $ac_status); }; }; then
11960 ac_lo
=$ac_mid; break
11962 echo "$as_me: failed program was:" >&5
11963 sed 's/^/| /' conftest.
$ac_ext >&5
11965 ac_hi
=`expr '(' $ac_mid ')' - 1`
11966 if test $ac_mid -le $ac_hi; then
11970 ac_mid
=`expr 2 '*' $ac_mid`
11972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11975 echo "$as_me: failed program was:" >&5
11976 sed 's/^/| /' conftest.
$ac_ext >&5
11980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11983 # Binary search between lo and hi bounds.
11984 while test "x$ac_lo" != "x$ac_hi"; do
11985 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11986 cat >conftest.
$ac_ext <<_ACEOF
11989 cat confdefs.h
>>conftest.
$ac_ext
11990 cat >>conftest.
$ac_ext <<_ACEOF
11991 /* end confdefs.h. */
11992 $ac_includes_default
11996 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
12003 rm -f conftest.
$ac_objext
12004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12005 (eval $ac_compile) 2>conftest.er1
12007 grep -v '^ *+' conftest.er1
>conftest.err
12009 cat conftest.err
>&5
12010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12011 (exit $ac_status); } &&
12012 { ac_try
='test -z "$ac_c_werror_flag"
12013 || test ! -s conftest.err'
12014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12015 (eval $ac_try) 2>&5
12017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12018 (exit $ac_status); }; } &&
12019 { ac_try
='test -s conftest.$ac_objext'
12020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12021 (eval $ac_try) 2>&5
12023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12024 (exit $ac_status); }; }; then
12027 echo "$as_me: failed program was:" >&5
12028 sed 's/^/| /' conftest.
$ac_ext >&5
12030 ac_lo
=`expr '(' $ac_mid ')' + 1`
12032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12035 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
12036 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12037 echo "$as_me: error: in \`$ac_pwd':" >&2;}
12038 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
12039 See \`config.log' for more details." >&5
12040 echo "$as_me: error: cannot compute sizeof (void *), 77
12041 See \`config.log' for more details." >&2;}
12042 { (exit 1); exit 1; }; }; } ;;
12045 if test "$cross_compiling" = yes; then
12046 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12047 echo "$as_me: error: in \`$ac_pwd':" >&2;}
12048 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12049 See \`config.log' for more details." >&5
12050 echo "$as_me: error: cannot run test program while cross compiling
12051 See \`config.log' for more details." >&2;}
12052 { (exit 1); exit 1; }; }; }
12054 cat >conftest.
$ac_ext <<_ACEOF
12057 cat confdefs.h
>>conftest.
$ac_ext
12058 cat >>conftest.
$ac_ext <<_ACEOF
12059 /* end confdefs.h. */
12060 $ac_includes_default
12061 long longval () { return (long) (sizeof (void *)); }
12062 unsigned long ulongval () { return (long) (sizeof (void *)); }
12064 #include <stdlib.h>
12069 FILE *f = fopen ("conftest.val", "w");
12072 if (((long) (sizeof (void *))) < 0)
12074 long i = longval ();
12075 if (i != ((long) (sizeof (void *))))
12077 fprintf (f, "%ld\n", i);
12081 unsigned long i = ulongval ();
12082 if (i != ((long) (sizeof (void *))))
12084 fprintf (f, "%lu\n", i);
12086 exit (ferror (f) || fclose (f) != 0);
12092 rm -f conftest
$ac_exeext
12093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12094 (eval $ac_link) 2>&5
12096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12099 (eval $ac_try) 2>&5
12101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12102 (exit $ac_status); }; }; then
12103 ac_cv_sizeof_void_p
=`cat conftest.val`
12105 echo "$as_me: program exited with status $ac_status" >&5
12106 echo "$as_me: failed program was:" >&5
12107 sed 's/^/| /' conftest.
$ac_ext >&5
12109 ( exit $ac_status )
12110 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12111 echo "$as_me: error: in \`$ac_pwd':" >&2;}
12112 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
12113 See \`config.log' for more details." >&5
12114 echo "$as_me: error: cannot compute sizeof (void *), 77
12115 See \`config.log' for more details." >&2;}
12116 { (exit 1); exit 1; }; }; }
12118 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12123 ac_cv_sizeof_void_p
=0
12126 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
12127 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
12128 cat >>confdefs.h
<<_ACEOF
12129 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
12133 echo "$as_me:$LINENO: checking for long" >&5
12134 echo $ECHO_N "checking for long... $ECHO_C" >&6
12135 if test "${ac_cv_type_long+set}" = set; then
12136 echo $ECHO_N "(cached) $ECHO_C" >&6
12138 cat >conftest.
$ac_ext <<_ACEOF
12141 cat confdefs.h
>>conftest.
$ac_ext
12142 cat >>conftest.
$ac_ext <<_ACEOF
12143 /* end confdefs.h. */
12144 $ac_includes_default
12156 rm -f conftest.
$ac_objext
12157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12158 (eval $ac_compile) 2>conftest.er1
12160 grep -v '^ *+' conftest.er1
>conftest.err
12162 cat conftest.err
>&5
12163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164 (exit $ac_status); } &&
12165 { ac_try
='test -z "$ac_c_werror_flag"
12166 || test ! -s conftest.err'
12167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12168 (eval $ac_try) 2>&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); }; } &&
12172 { ac_try
='test -s conftest.$ac_objext'
12173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12174 (eval $ac_try) 2>&5
12176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12177 (exit $ac_status); }; }; then
12178 ac_cv_type_long
=yes
12180 echo "$as_me: failed program was:" >&5
12181 sed 's/^/| /' conftest.
$ac_ext >&5
12185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12187 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
12188 echo "${ECHO_T}$ac_cv_type_long" >&6
12190 echo "$as_me:$LINENO: checking size of long" >&5
12191 echo $ECHO_N "checking size of long... $ECHO_C" >&6
12192 if test "${ac_cv_sizeof_long+set}" = set; then
12193 echo $ECHO_N "(cached) $ECHO_C" >&6
12195 if test "$ac_cv_type_long" = yes; then
12196 # The cast to unsigned long works around a bug in the HP C Compiler
12197 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12198 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12199 # This bug is HP SR number 8606223364.
12200 if test "$cross_compiling" = yes; then
12201 # Depending upon the size, compute the lo and hi bounds.
12202 cat >conftest.
$ac_ext <<_ACEOF
12205 cat confdefs.h
>>conftest.
$ac_ext
12206 cat >>conftest.
$ac_ext <<_ACEOF
12207 /* end confdefs.h. */
12208 $ac_includes_default
12212 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
12219 rm -f conftest.
$ac_objext
12220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12221 (eval $ac_compile) 2>conftest.er1
12223 grep -v '^ *+' conftest.er1
>conftest.err
12225 cat conftest.err
>&5
12226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227 (exit $ac_status); } &&
12228 { ac_try
='test -z "$ac_c_werror_flag"
12229 || test ! -s conftest.err'
12230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12231 (eval $ac_try) 2>&5
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); }; } &&
12235 { ac_try
='test -s conftest.$ac_objext'
12236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12237 (eval $ac_try) 2>&5
12239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); }; }; then
12243 cat >conftest.
$ac_ext <<_ACEOF
12246 cat confdefs.h
>>conftest.
$ac_ext
12247 cat >>conftest.
$ac_ext <<_ACEOF
12248 /* end confdefs.h. */
12249 $ac_includes_default
12253 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12260 rm -f conftest.
$ac_objext
12261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12262 (eval $ac_compile) 2>conftest.er1
12264 grep -v '^ *+' conftest.er1
>conftest.err
12266 cat conftest.err
>&5
12267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12268 (exit $ac_status); } &&
12269 { ac_try
='test -z "$ac_c_werror_flag"
12270 || test ! -s conftest.err'
12271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12272 (eval $ac_try) 2>&5
12274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12275 (exit $ac_status); }; } &&
12276 { ac_try
='test -s conftest.$ac_objext'
12277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12278 (eval $ac_try) 2>&5
12280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12281 (exit $ac_status); }; }; then
12282 ac_hi
=$ac_mid; break
12284 echo "$as_me: failed program was:" >&5
12285 sed 's/^/| /' conftest.
$ac_ext >&5
12287 ac_lo
=`expr $ac_mid + 1`
12288 if test $ac_lo -le $ac_mid; then
12292 ac_mid
=`expr 2 '*' $ac_mid + 1`
12294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12297 echo "$as_me: failed program was:" >&5
12298 sed 's/^/| /' conftest.
$ac_ext >&5
12300 cat >conftest.
$ac_ext <<_ACEOF
12303 cat confdefs.h
>>conftest.
$ac_ext
12304 cat >>conftest.
$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12306 $ac_includes_default
12310 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
12317 rm -f conftest.
$ac_objext
12318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12319 (eval $ac_compile) 2>conftest.er1
12321 grep -v '^ *+' conftest.er1
>conftest.err
12323 cat conftest.err
>&5
12324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12325 (exit $ac_status); } &&
12326 { ac_try
='test -z "$ac_c_werror_flag"
12327 || test ! -s conftest.err'
12328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12329 (eval $ac_try) 2>&5
12331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12332 (exit $ac_status); }; } &&
12333 { ac_try
='test -s conftest.$ac_objext'
12334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12335 (eval $ac_try) 2>&5
12337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338 (exit $ac_status); }; }; then
12341 cat >conftest.
$ac_ext <<_ACEOF
12344 cat confdefs.h
>>conftest.
$ac_ext
12345 cat >>conftest.
$ac_ext <<_ACEOF
12346 /* end confdefs.h. */
12347 $ac_includes_default
12351 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
12358 rm -f conftest.
$ac_objext
12359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12360 (eval $ac_compile) 2>conftest.er1
12362 grep -v '^ *+' conftest.er1
>conftest.err
12364 cat conftest.err
>&5
12365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12366 (exit $ac_status); } &&
12367 { ac_try
='test -z "$ac_c_werror_flag"
12368 || test ! -s conftest.err'
12369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12370 (eval $ac_try) 2>&5
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); }; } &&
12374 { ac_try
='test -s conftest.$ac_objext'
12375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12376 (eval $ac_try) 2>&5
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); }; }; then
12380 ac_lo
=$ac_mid; break
12382 echo "$as_me: failed program was:" >&5
12383 sed 's/^/| /' conftest.
$ac_ext >&5
12385 ac_hi
=`expr '(' $ac_mid ')' - 1`
12386 if test $ac_mid -le $ac_hi; then
12390 ac_mid
=`expr 2 '*' $ac_mid`
12392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12395 echo "$as_me: failed program was:" >&5
12396 sed 's/^/| /' conftest.
$ac_ext >&5
12400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12403 # Binary search between lo and hi bounds.
12404 while test "x$ac_lo" != "x$ac_hi"; do
12405 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12406 cat >conftest.
$ac_ext <<_ACEOF
12409 cat confdefs.h
>>conftest.
$ac_ext
12410 cat >>conftest.
$ac_ext <<_ACEOF
12411 /* end confdefs.h. */
12412 $ac_includes_default
12416 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12423 rm -f conftest.
$ac_objext
12424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12425 (eval $ac_compile) 2>conftest.er1
12427 grep -v '^ *+' conftest.er1
>conftest.err
12429 cat conftest.err
>&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); } &&
12432 { ac_try
='test -z "$ac_c_werror_flag"
12433 || test ! -s conftest.err'
12434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12435 (eval $ac_try) 2>&5
12437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12438 (exit $ac_status); }; } &&
12439 { ac_try
='test -s conftest.$ac_objext'
12440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12441 (eval $ac_try) 2>&5
12443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12444 (exit $ac_status); }; }; then
12447 echo "$as_me: failed program was:" >&5
12448 sed 's/^/| /' conftest.
$ac_ext >&5
12450 ac_lo
=`expr '(' $ac_mid ')' + 1`
12452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12455 ?
*) ac_cv_sizeof_long
=$ac_lo;;
12456 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12457 echo "$as_me: error: in \`$ac_pwd':" >&2;}
12458 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12459 See \`config.log' for more details." >&5
12460 echo "$as_me: error: cannot compute sizeof (long), 77
12461 See \`config.log' for more details." >&2;}
12462 { (exit 1); exit 1; }; }; } ;;
12465 if test "$cross_compiling" = yes; then
12466 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12467 echo "$as_me: error: in \`$ac_pwd':" >&2;}
12468 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12469 See \`config.log' for more details." >&5
12470 echo "$as_me: error: cannot run test program while cross compiling
12471 See \`config.log' for more details." >&2;}
12472 { (exit 1); exit 1; }; }; }
12474 cat >conftest.
$ac_ext <<_ACEOF
12477 cat confdefs.h
>>conftest.
$ac_ext
12478 cat >>conftest.
$ac_ext <<_ACEOF
12479 /* end confdefs.h. */
12480 $ac_includes_default
12481 long longval () { return (long) (sizeof (long)); }
12482 unsigned long ulongval () { return (long) (sizeof (long)); }
12484 #include <stdlib.h>
12489 FILE *f = fopen ("conftest.val", "w");
12492 if (((long) (sizeof (long))) < 0)
12494 long i = longval ();
12495 if (i != ((long) (sizeof (long))))
12497 fprintf (f, "%ld\n", i);
12501 unsigned long i = ulongval ();
12502 if (i != ((long) (sizeof (long))))
12504 fprintf (f, "%lu\n", i);
12506 exit (ferror (f) || fclose (f) != 0);
12512 rm -f conftest
$ac_exeext
12513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12514 (eval $ac_link) 2>&5
12516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12519 (eval $ac_try) 2>&5
12521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12522 (exit $ac_status); }; }; then
12523 ac_cv_sizeof_long
=`cat conftest.val`
12525 echo "$as_me: program exited with status $ac_status" >&5
12526 echo "$as_me: failed program was:" >&5
12527 sed 's/^/| /' conftest.
$ac_ext >&5
12529 ( exit $ac_status )
12530 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12531 echo "$as_me: error: in \`$ac_pwd':" >&2;}
12532 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12533 See \`config.log' for more details." >&5
12534 echo "$as_me: error: cannot compute sizeof (long), 77
12535 See \`config.log' for more details." >&2;}
12536 { (exit 1); exit 1; }; }; }
12538 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12543 ac_cv_sizeof_long
=0
12546 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
12547 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
12548 cat >>confdefs.h
<<_ACEOF
12549 #define SIZEOF_LONG $ac_cv_sizeof_long
12554 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
12558 if test "x${ac_cv_sizeof_long}" = "x8"; then
12559 BFD_HOST_64BIT_LONG
=1
12560 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long"
12561 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long"
12562 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
12563 BFD_HOST_64BIT_LONG_LONG
=1
12564 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long long"
12565 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long long"
12566 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
12567 BFD_HOSTPTR_T
="unsigned long long"
12571 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
12572 BFD_HOST_64_BIT_DEFINED
=1
12573 BFD_HOST_64_BIT
="${HOST_64BIT_TYPE}"
12574 BFD_HOST_U_64_BIT
="${HOST_U_64BIT_TYPE}"
12584 # Put a plausible default for CC_FOR_BUILD in Makefile.
12585 if test -z "$CC_FOR_BUILD"; then
12586 if test "x$cross_compiling" = "xno"; then
12587 CC_FOR_BUILD
='$(CC)'
12593 # Also set EXEEXT_FOR_BUILD.
12594 if test "x$cross_compiling" = "xno"; then
12595 EXEEXT_FOR_BUILD
='$(EXEEXT)'
12597 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
12598 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
12599 if test "${bfd_cv_build_exeext+set}" = set; then
12600 echo $ECHO_N "(cached) $ECHO_C" >&6
12603 echo 'int main () { return 0; }' > conftest.c
12604 bfd_cv_build_exeext
=
12605 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
12606 for file in conftest.
*; do
12608 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
12609 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
12613 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
12615 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
12616 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
12617 EXEEXT_FOR_BUILD
=""
12618 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
12629 for ac_header
in alloca.h stddef.h string.h
strings.h stdlib.h
time.h unistd.h
12631 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12633 echo "$as_me:$LINENO: checking for $ac_header" >&5
12634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12636 echo $ECHO_N "(cached) $ECHO_C" >&6
12638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12641 # Is the header compilable?
12642 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12643 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12644 cat >conftest.
$ac_ext <<_ACEOF
12647 cat confdefs.h
>>conftest.
$ac_ext
12648 cat >>conftest.
$ac_ext <<_ACEOF
12649 /* end confdefs.h. */
12650 $ac_includes_default
12651 #include <$ac_header>
12653 rm -f conftest.
$ac_objext
12654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12655 (eval $ac_compile) 2>conftest.er1
12657 grep -v '^ *+' conftest.er1
>conftest.err
12659 cat conftest.err
>&5
12660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661 (exit $ac_status); } &&
12662 { ac_try
='test -z "$ac_c_werror_flag"
12663 || test ! -s conftest.err'
12664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12665 (eval $ac_try) 2>&5
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); }; } &&
12669 { ac_try
='test -s conftest.$ac_objext'
12670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12671 (eval $ac_try) 2>&5
12673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674 (exit $ac_status); }; }; then
12675 ac_header_compiler
=yes
12677 echo "$as_me: failed program was:" >&5
12678 sed 's/^/| /' conftest.
$ac_ext >&5
12680 ac_header_compiler
=no
12682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12684 echo "${ECHO_T}$ac_header_compiler" >&6
12686 # Is the header present?
12687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12689 cat >conftest.
$ac_ext <<_ACEOF
12692 cat confdefs.h
>>conftest.
$ac_ext
12693 cat >>conftest.
$ac_ext <<_ACEOF
12694 /* end confdefs.h. */
12695 #include <$ac_header>
12697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12698 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12700 grep -v '^ *+' conftest.er1
>conftest.err
12702 cat conftest.err
>&5
12703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704 (exit $ac_status); } >/dev
/null
; then
12705 if test -s conftest.err
; then
12706 ac_cpp_err
=$ac_c_preproc_warn_flag
12707 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12714 if test -z "$ac_cpp_err"; then
12715 ac_header_preproc
=yes
12717 echo "$as_me: failed program was:" >&5
12718 sed 's/^/| /' conftest.
$ac_ext >&5
12720 ac_header_preproc
=no
12722 rm -f conftest.err conftest.
$ac_ext
12723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12724 echo "${ECHO_T}$ac_header_preproc" >&6
12726 # So? What about this header?
12727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12732 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12733 ac_header_preproc
=yes
12736 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12737 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12738 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12739 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12740 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12741 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12742 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12743 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12746 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12747 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12750 ## ------------------------------------------ ##
12751 ## Report this to the AC_PACKAGE_NAME lists. ##
12752 ## ------------------------------------------ ##
12755 sed "s/^/$as_me: WARNING: /" >&2
12758 echo "$as_me:$LINENO: checking for $ac_header" >&5
12759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12761 echo $ECHO_N "(cached) $ECHO_C" >&6
12763 eval "$as_ac_Header=\$ac_header_preproc"
12765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12770 cat >>confdefs.h
<<_ACEOF
12771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12781 for ac_header
in fcntl.h sys
/file.h sys
/time.h
12783 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12785 echo "$as_me:$LINENO: checking for $ac_header" >&5
12786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12788 echo $ECHO_N "(cached) $ECHO_C" >&6
12790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12793 # Is the header compilable?
12794 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12796 cat >conftest.
$ac_ext <<_ACEOF
12799 cat confdefs.h
>>conftest.
$ac_ext
12800 cat >>conftest.
$ac_ext <<_ACEOF
12801 /* end confdefs.h. */
12802 $ac_includes_default
12803 #include <$ac_header>
12805 rm -f conftest.
$ac_objext
12806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12807 (eval $ac_compile) 2>conftest.er1
12809 grep -v '^ *+' conftest.er1
>conftest.err
12811 cat conftest.err
>&5
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); } &&
12814 { ac_try
='test -z "$ac_c_werror_flag"
12815 || test ! -s conftest.err'
12816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12817 (eval $ac_try) 2>&5
12819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12820 (exit $ac_status); }; } &&
12821 { ac_try
='test -s conftest.$ac_objext'
12822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12823 (eval $ac_try) 2>&5
12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 (exit $ac_status); }; }; then
12827 ac_header_compiler
=yes
12829 echo "$as_me: failed program was:" >&5
12830 sed 's/^/| /' conftest.
$ac_ext >&5
12832 ac_header_compiler
=no
12834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12835 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12836 echo "${ECHO_T}$ac_header_compiler" >&6
12838 # Is the header present?
12839 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12840 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12841 cat >conftest.
$ac_ext <<_ACEOF
12844 cat confdefs.h
>>conftest.
$ac_ext
12845 cat >>conftest.
$ac_ext <<_ACEOF
12846 /* end confdefs.h. */
12847 #include <$ac_header>
12849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12850 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12852 grep -v '^ *+' conftest.er1
>conftest.err
12854 cat conftest.err
>&5
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); } >/dev
/null
; then
12857 if test -s conftest.err
; then
12858 ac_cpp_err
=$ac_c_preproc_warn_flag
12859 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12866 if test -z "$ac_cpp_err"; then
12867 ac_header_preproc
=yes
12869 echo "$as_me: failed program was:" >&5
12870 sed 's/^/| /' conftest.
$ac_ext >&5
12872 ac_header_preproc
=no
12874 rm -f conftest.err conftest.
$ac_ext
12875 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12876 echo "${ECHO_T}$ac_header_preproc" >&6
12878 # So? What about this header?
12879 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12881 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12882 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12883 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12884 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12885 ac_header_preproc
=yes
12888 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12889 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12890 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12891 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12892 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12893 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12894 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12895 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12898 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12899 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12902 ## ------------------------------------------ ##
12903 ## Report this to the AC_PACKAGE_NAME lists. ##
12904 ## ------------------------------------------ ##
12907 sed "s/^/$as_me: WARNING: /" >&2
12910 echo "$as_me:$LINENO: checking for $ac_header" >&5
12911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12913 echo $ECHO_N "(cached) $ECHO_C" >&6
12915 eval "$as_ac_Header=\$ac_header_preproc"
12917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12922 cat >>confdefs.h
<<_ACEOF
12923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12932 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
12934 acx_cv_header_stdint
=stddef.h
12935 acx_cv_header_stdint_kind
="(already complete)"
12936 for i
in stdint.h
$inttype_headers; do
12937 unset ac_cv_type_uintptr_t
12938 unset ac_cv_type_uintmax_t
12939 unset ac_cv_type_int_least32_t
12940 unset ac_cv_type_int_fast32_t
12941 unset ac_cv_type_uint64_t
12942 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
12943 echo "$as_me:$LINENO: checking for uintmax_t" >&5
12944 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
12945 if test "${ac_cv_type_uintmax_t+set}" = set; then
12946 echo $ECHO_N "(cached) $ECHO_C" >&6
12948 cat >conftest.
$ac_ext <<_ACEOF
12951 cat confdefs.h
>>conftest.
$ac_ext
12952 cat >>conftest.
$ac_ext <<_ACEOF
12953 /* end confdefs.h. */
12954 #include <sys/types.h>
12960 if ((uintmax_t *) 0)
12962 if (sizeof (uintmax_t))
12968 rm -f conftest.
$ac_objext
12969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12970 (eval $ac_compile) 2>conftest.er1
12972 grep -v '^ *+' conftest.er1
>conftest.err
12974 cat conftest.err
>&5
12975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12976 (exit $ac_status); } &&
12977 { ac_try
='test -z "$ac_c_werror_flag"
12978 || test ! -s conftest.err'
12979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12980 (eval $ac_try) 2>&5
12982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12983 (exit $ac_status); }; } &&
12984 { ac_try
='test -s conftest.$ac_objext'
12985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12986 (eval $ac_try) 2>&5
12988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12989 (exit $ac_status); }; }; then
12990 ac_cv_type_uintmax_t
=yes
12992 echo "$as_me: failed program was:" >&5
12993 sed 's/^/| /' conftest.
$ac_ext >&5
12995 ac_cv_type_uintmax_t
=no
12997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12999 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
13000 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
13001 if test $ac_cv_type_uintmax_t = yes; then
13002 acx_cv_header_stdint
=$i
13007 echo "$as_me:$LINENO: checking for uintptr_t" >&5
13008 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
13009 if test "${ac_cv_type_uintptr_t+set}" = set; then
13010 echo $ECHO_N "(cached) $ECHO_C" >&6
13012 cat >conftest.
$ac_ext <<_ACEOF
13015 cat confdefs.h
>>conftest.
$ac_ext
13016 cat >>conftest.
$ac_ext <<_ACEOF
13017 /* end confdefs.h. */
13018 #include <sys/types.h>
13024 if ((uintptr_t *) 0)
13026 if (sizeof (uintptr_t))
13032 rm -f conftest.
$ac_objext
13033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13034 (eval $ac_compile) 2>conftest.er1
13036 grep -v '^ *+' conftest.er1
>conftest.err
13038 cat conftest.err
>&5
13039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13040 (exit $ac_status); } &&
13041 { ac_try
='test -z "$ac_c_werror_flag"
13042 || test ! -s conftest.err'
13043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13044 (eval $ac_try) 2>&5
13046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13047 (exit $ac_status); }; } &&
13048 { ac_try
='test -s conftest.$ac_objext'
13049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13050 (eval $ac_try) 2>&5
13052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13053 (exit $ac_status); }; }; then
13054 ac_cv_type_uintptr_t
=yes
13056 echo "$as_me: failed program was:" >&5
13057 sed 's/^/| /' conftest.
$ac_ext >&5
13059 ac_cv_type_uintptr_t
=no
13061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13063 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
13064 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
13065 if test $ac_cv_type_uintptr_t = yes; then
13068 acx_cv_header_stdint_kind
="(mostly complete)"
13071 echo "$as_me:$LINENO: checking for int_least32_t" >&5
13072 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
13073 if test "${ac_cv_type_int_least32_t+set}" = set; then
13074 echo $ECHO_N "(cached) $ECHO_C" >&6
13076 cat >conftest.
$ac_ext <<_ACEOF
13079 cat confdefs.h
>>conftest.
$ac_ext
13080 cat >>conftest.
$ac_ext <<_ACEOF
13081 /* end confdefs.h. */
13082 #include <sys/types.h>
13088 if ((int_least32_t *) 0)
13090 if (sizeof (int_least32_t))
13096 rm -f conftest.
$ac_objext
13097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13098 (eval $ac_compile) 2>conftest.er1
13100 grep -v '^ *+' conftest.er1
>conftest.err
13102 cat conftest.err
>&5
13103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13104 (exit $ac_status); } &&
13105 { ac_try
='test -z "$ac_c_werror_flag"
13106 || test ! -s conftest.err'
13107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13108 (eval $ac_try) 2>&5
13110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13111 (exit $ac_status); }; } &&
13112 { ac_try
='test -s conftest.$ac_objext'
13113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13114 (eval $ac_try) 2>&5
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); }; }; then
13118 ac_cv_type_int_least32_t
=yes
13120 echo "$as_me: failed program was:" >&5
13121 sed 's/^/| /' conftest.
$ac_ext >&5
13123 ac_cv_type_int_least32_t
=no
13125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13127 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
13128 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
13129 if test $ac_cv_type_int_least32_t = yes; then
13132 acx_cv_header_stdint_kind
="(mostly complete)"
13135 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
13136 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
13137 if test "${ac_cv_type_int_fast32_t+set}" = set; then
13138 echo $ECHO_N "(cached) $ECHO_C" >&6
13140 cat >conftest.
$ac_ext <<_ACEOF
13143 cat confdefs.h
>>conftest.
$ac_ext
13144 cat >>conftest.
$ac_ext <<_ACEOF
13145 /* end confdefs.h. */
13146 #include <sys/types.h>
13152 if ((int_fast32_t *) 0)
13154 if (sizeof (int_fast32_t))
13160 rm -f conftest.
$ac_objext
13161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13162 (eval $ac_compile) 2>conftest.er1
13164 grep -v '^ *+' conftest.er1
>conftest.err
13166 cat conftest.err
>&5
13167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); } &&
13169 { ac_try
='test -z "$ac_c_werror_flag"
13170 || test ! -s conftest.err'
13171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13172 (eval $ac_try) 2>&5
13174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175 (exit $ac_status); }; } &&
13176 { ac_try
='test -s conftest.$ac_objext'
13177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13178 (eval $ac_try) 2>&5
13180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13181 (exit $ac_status); }; }; then
13182 ac_cv_type_int_fast32_t
=yes
13184 echo "$as_me: failed program was:" >&5
13185 sed 's/^/| /' conftest.
$ac_ext >&5
13187 ac_cv_type_int_fast32_t
=no
13189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13191 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
13192 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
13193 if test $ac_cv_type_int_fast32_t = yes; then
13196 acx_cv_header_stdint_kind
="(mostly complete)"
13199 echo "$as_me:$LINENO: checking for uint64_t" >&5
13200 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
13201 if test "${ac_cv_type_uint64_t+set}" = set; then
13202 echo $ECHO_N "(cached) $ECHO_C" >&6
13204 cat >conftest.
$ac_ext <<_ACEOF
13207 cat confdefs.h
>>conftest.
$ac_ext
13208 cat >>conftest.
$ac_ext <<_ACEOF
13209 /* end confdefs.h. */
13210 #include <sys/types.h>
13216 if ((uint64_t *) 0)
13218 if (sizeof (uint64_t))
13224 rm -f conftest.
$ac_objext
13225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13226 (eval $ac_compile) 2>conftest.er1
13228 grep -v '^ *+' conftest.er1
>conftest.err
13230 cat conftest.err
>&5
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); } &&
13233 { ac_try
='test -z "$ac_c_werror_flag"
13234 || test ! -s conftest.err'
13235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13236 (eval $ac_try) 2>&5
13238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13239 (exit $ac_status); }; } &&
13240 { ac_try
='test -s conftest.$ac_objext'
13241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13242 (eval $ac_try) 2>&5
13244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13245 (exit $ac_status); }; }; then
13246 ac_cv_type_uint64_t
=yes
13248 echo "$as_me: failed program was:" >&5
13249 sed 's/^/| /' conftest.
$ac_ext >&5
13251 ac_cv_type_uint64_t
=no
13253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13255 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
13256 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
13257 if test $ac_cv_type_uint64_t = yes; then
13260 acx_cv_header_stdint_kind
="(lacks uint64_t)"
13265 if test "$acx_cv_header_stdint" = stddef.h
; then
13266 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
13267 for i
in stdint.h
$inttype_headers; do
13268 unset ac_cv_type_uintptr_t
13269 unset ac_cv_type_uint32_t
13270 unset ac_cv_type_uint64_t
13271 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
13272 echo "$as_me:$LINENO: checking for uint32_t" >&5
13273 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
13274 if test "${ac_cv_type_uint32_t+set}" = set; then
13275 echo $ECHO_N "(cached) $ECHO_C" >&6
13277 cat >conftest.
$ac_ext <<_ACEOF
13280 cat confdefs.h
>>conftest.
$ac_ext
13281 cat >>conftest.
$ac_ext <<_ACEOF
13282 /* end confdefs.h. */
13283 #include <sys/types.h>
13289 if ((uint32_t *) 0)
13291 if (sizeof (uint32_t))
13297 rm -f conftest.
$ac_objext
13298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13299 (eval $ac_compile) 2>conftest.er1
13301 grep -v '^ *+' conftest.er1
>conftest.err
13303 cat conftest.err
>&5
13304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305 (exit $ac_status); } &&
13306 { ac_try
='test -z "$ac_c_werror_flag"
13307 || test ! -s conftest.err'
13308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13309 (eval $ac_try) 2>&5
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); }; } &&
13313 { ac_try
='test -s conftest.$ac_objext'
13314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13315 (eval $ac_try) 2>&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); }; }; then
13319 ac_cv_type_uint32_t
=yes
13321 echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.
$ac_ext >&5
13324 ac_cv_type_uint32_t
=no
13326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13328 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
13329 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
13330 if test $ac_cv_type_uint32_t = yes; then
13331 acx_cv_header_stdint
=$i
13336 echo "$as_me:$LINENO: checking for uint64_t" >&5
13337 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
13338 if test "${ac_cv_type_uint64_t+set}" = set; then
13339 echo $ECHO_N "(cached) $ECHO_C" >&6
13341 cat >conftest.
$ac_ext <<_ACEOF
13344 cat confdefs.h
>>conftest.
$ac_ext
13345 cat >>conftest.
$ac_ext <<_ACEOF
13346 /* end confdefs.h. */
13347 #include <sys/types.h>
13353 if ((uint64_t *) 0)
13355 if (sizeof (uint64_t))
13361 rm -f conftest.
$ac_objext
13362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13363 (eval $ac_compile) 2>conftest.er1
13365 grep -v '^ *+' conftest.er1
>conftest.err
13367 cat conftest.err
>&5
13368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13369 (exit $ac_status); } &&
13370 { ac_try
='test -z "$ac_c_werror_flag"
13371 || test ! -s conftest.err'
13372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13373 (eval $ac_try) 2>&5
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); }; } &&
13377 { ac_try
='test -s conftest.$ac_objext'
13378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13379 (eval $ac_try) 2>&5
13381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13382 (exit $ac_status); }; }; then
13383 ac_cv_type_uint64_t
=yes
13385 echo "$as_me: failed program was:" >&5
13386 sed 's/^/| /' conftest.
$ac_ext >&5
13388 ac_cv_type_uint64_t
=no
13390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13392 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
13393 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
13395 echo "$as_me:$LINENO: checking for uintptr_t" >&5
13396 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
13397 if test "${ac_cv_type_uintptr_t+set}" = set; then
13398 echo $ECHO_N "(cached) $ECHO_C" >&6
13400 cat >conftest.
$ac_ext <<_ACEOF
13403 cat confdefs.h
>>conftest.
$ac_ext
13404 cat >>conftest.
$ac_ext <<_ACEOF
13405 /* end confdefs.h. */
13406 #include <sys/types.h>
13412 if ((uintptr_t *) 0)
13414 if (sizeof (uintptr_t))
13420 rm -f conftest.
$ac_objext
13421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13422 (eval $ac_compile) 2>conftest.er1
13424 grep -v '^ *+' conftest.er1
>conftest.err
13426 cat conftest.err
>&5
13427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428 (exit $ac_status); } &&
13429 { ac_try
='test -z "$ac_c_werror_flag"
13430 || test ! -s conftest.err'
13431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13432 (eval $ac_try) 2>&5
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); }; } &&
13436 { ac_try
='test -s conftest.$ac_objext'
13437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13438 (eval $ac_try) 2>&5
13440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13441 (exit $ac_status); }; }; then
13442 ac_cv_type_uintptr_t
=yes
13444 echo "$as_me: failed program was:" >&5
13445 sed 's/^/| /' conftest.
$ac_ext >&5
13447 ac_cv_type_uintptr_t
=no
13449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13451 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
13452 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
13457 if test "$acx_cv_header_stdint" = stddef.h
; then
13458 acx_cv_header_stdint_kind
="(u_intXX_t style)"
13459 for i
in sys
/types.h
$inttype_headers; do
13460 unset ac_cv_type_u_int32_t
13461 unset ac_cv_type_u_int64_t
13462 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
13463 echo "$as_me:$LINENO: checking for u_int32_t" >&5
13464 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
13465 if test "${ac_cv_type_u_int32_t+set}" = set; then
13466 echo $ECHO_N "(cached) $ECHO_C" >&6
13468 cat >conftest.
$ac_ext <<_ACEOF
13471 cat confdefs.h
>>conftest.
$ac_ext
13472 cat >>conftest.
$ac_ext <<_ACEOF
13473 /* end confdefs.h. */
13474 #include <sys/types.h>
13480 if ((u_int32_t *) 0)
13482 if (sizeof (u_int32_t))
13488 rm -f conftest.
$ac_objext
13489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13490 (eval $ac_compile) 2>conftest.er1
13492 grep -v '^ *+' conftest.er1
>conftest.err
13494 cat conftest.err
>&5
13495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13496 (exit $ac_status); } &&
13497 { ac_try
='test -z "$ac_c_werror_flag"
13498 || test ! -s conftest.err'
13499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13500 (eval $ac_try) 2>&5
13502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13503 (exit $ac_status); }; } &&
13504 { ac_try
='test -s conftest.$ac_objext'
13505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13506 (eval $ac_try) 2>&5
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); }; }; then
13510 ac_cv_type_u_int32_t
=yes
13512 echo "$as_me: failed program was:" >&5
13513 sed 's/^/| /' conftest.
$ac_ext >&5
13515 ac_cv_type_u_int32_t
=no
13517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13519 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
13520 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
13521 if test $ac_cv_type_u_int32_t = yes; then
13522 acx_cv_header_stdint
=$i
13527 echo "$as_me:$LINENO: checking for u_int64_t" >&5
13528 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
13529 if test "${ac_cv_type_u_int64_t+set}" = set; then
13530 echo $ECHO_N "(cached) $ECHO_C" >&6
13532 cat >conftest.
$ac_ext <<_ACEOF
13535 cat confdefs.h
>>conftest.
$ac_ext
13536 cat >>conftest.
$ac_ext <<_ACEOF
13537 /* end confdefs.h. */
13538 #include <sys/types.h>
13544 if ((u_int64_t *) 0)
13546 if (sizeof (u_int64_t))
13552 rm -f conftest.
$ac_objext
13553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13554 (eval $ac_compile) 2>conftest.er1
13556 grep -v '^ *+' conftest.er1
>conftest.err
13558 cat conftest.err
>&5
13559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560 (exit $ac_status); } &&
13561 { ac_try
='test -z "$ac_c_werror_flag"
13562 || test ! -s conftest.err'
13563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13564 (eval $ac_try) 2>&5
13566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13567 (exit $ac_status); }; } &&
13568 { ac_try
='test -s conftest.$ac_objext'
13569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13570 (eval $ac_try) 2>&5
13572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13573 (exit $ac_status); }; }; then
13574 ac_cv_type_u_int64_t
=yes
13576 echo "$as_me: failed program was:" >&5
13577 sed 's/^/| /' conftest.
$ac_ext >&5
13579 ac_cv_type_u_int64_t
=no
13581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13583 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
13584 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
13589 if test "$acx_cv_header_stdint" = stddef.h
; then
13590 acx_cv_header_stdint_kind
="(using manual detection)"
13593 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
13594 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
13595 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
13596 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
13597 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
13599 # ----------------- Summarize what we found so far
13601 echo "$as_me:$LINENO: checking what to include in bfd_stdint.h" >&5
13602 echo $ECHO_N "checking what to include in bfd_stdint.h... $ECHO_C" >&6
13604 case `$as_basename bfd_stdint.h ||
13605 $as_expr X/bfd_stdint.h : '.*/\([^/][^/]*\)/*$' \| \
13606 Xbfd_stdint.h : 'X\(//\)$' \| \
13607 Xbfd_stdint.h : 'X\(/\)$' \| \
13608 . : '\(.\)' 2>/dev/null ||
13609 echo X/bfd_stdint.h |
13610 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13611 /^X\/\(\/\/\)$/{ s//\1/; q; }
13612 /^X\/\(\/\).*/{ s//\1/; q; }
13614 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
13615 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
13616 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
13617 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
13621 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
13622 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
13624 # ----------------- done included file, check C basic types --------
13626 # Lacking an uintptr_t? Test size of void *
13627 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
13628 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
13629 echo $ECHO_N "checking for void *... $ECHO_C" >&6
13630 if test "${ac_cv_type_void_p+set}" = set; then
13631 echo $ECHO_N "(cached) $ECHO_C" >&6
13633 cat >conftest.
$ac_ext <<_ACEOF
13636 cat confdefs.h
>>conftest.
$ac_ext
13637 cat >>conftest.
$ac_ext <<_ACEOF
13638 /* end confdefs.h. */
13639 $ac_includes_default
13645 if (sizeof (void *))
13651 rm -f conftest.
$ac_objext
13652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13653 (eval $ac_compile) 2>conftest.er1
13655 grep -v '^ *+' conftest.er1
>conftest.err
13657 cat conftest.err
>&5
13658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13659 (exit $ac_status); } &&
13660 { ac_try
='test -z "$ac_c_werror_flag"
13661 || test ! -s conftest.err'
13662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13663 (eval $ac_try) 2>&5
13665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666 (exit $ac_status); }; } &&
13667 { ac_try
='test -s conftest.$ac_objext'
13668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13669 (eval $ac_try) 2>&5
13671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672 (exit $ac_status); }; }; then
13673 ac_cv_type_void_p
=yes
13675 echo "$as_me: failed program was:" >&5
13676 sed 's/^/| /' conftest.
$ac_ext >&5
13678 ac_cv_type_void_p
=no
13680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13682 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
13683 echo "${ECHO_T}$ac_cv_type_void_p" >&6
13685 echo "$as_me:$LINENO: checking size of void *" >&5
13686 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
13687 if test "${ac_cv_sizeof_void_p+set}" = set; then
13688 echo $ECHO_N "(cached) $ECHO_C" >&6
13690 if test "$ac_cv_type_void_p" = yes; then
13691 # The cast to unsigned long works around a bug in the HP C Compiler
13692 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13693 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13694 # This bug is HP SR number 8606223364.
13695 if test "$cross_compiling" = yes; then
13696 # Depending upon the size, compute the lo and hi bounds.
13697 cat >conftest.
$ac_ext <<_ACEOF
13700 cat confdefs.h
>>conftest.
$ac_ext
13701 cat >>conftest.
$ac_ext <<_ACEOF
13702 /* end confdefs.h. */
13703 $ac_includes_default
13707 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
13714 rm -f conftest.
$ac_objext
13715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13716 (eval $ac_compile) 2>conftest.er1
13718 grep -v '^ *+' conftest.er1
>conftest.err
13720 cat conftest.err
>&5
13721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722 (exit $ac_status); } &&
13723 { ac_try
='test -z "$ac_c_werror_flag"
13724 || test ! -s conftest.err'
13725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13726 (eval $ac_try) 2>&5
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); }; } &&
13730 { ac_try
='test -s conftest.$ac_objext'
13731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13732 (eval $ac_try) 2>&5
13734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13735 (exit $ac_status); }; }; then
13738 cat >conftest.
$ac_ext <<_ACEOF
13741 cat confdefs.h
>>conftest.
$ac_ext
13742 cat >>conftest.
$ac_ext <<_ACEOF
13743 /* end confdefs.h. */
13744 $ac_includes_default
13748 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
13755 rm -f conftest.
$ac_objext
13756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13757 (eval $ac_compile) 2>conftest.er1
13759 grep -v '^ *+' conftest.er1
>conftest.err
13761 cat conftest.err
>&5
13762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13763 (exit $ac_status); } &&
13764 { ac_try
='test -z "$ac_c_werror_flag"
13765 || test ! -s conftest.err'
13766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13767 (eval $ac_try) 2>&5
13769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13770 (exit $ac_status); }; } &&
13771 { ac_try
='test -s conftest.$ac_objext'
13772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13773 (eval $ac_try) 2>&5
13775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13776 (exit $ac_status); }; }; then
13777 ac_hi
=$ac_mid; break
13779 echo "$as_me: failed program was:" >&5
13780 sed 's/^/| /' conftest.
$ac_ext >&5
13782 ac_lo
=`expr $ac_mid + 1`
13783 if test $ac_lo -le $ac_mid; then
13787 ac_mid
=`expr 2 '*' $ac_mid + 1`
13789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13792 echo "$as_me: failed program was:" >&5
13793 sed 's/^/| /' conftest.
$ac_ext >&5
13795 cat >conftest.
$ac_ext <<_ACEOF
13798 cat confdefs.h
>>conftest.
$ac_ext
13799 cat >>conftest.
$ac_ext <<_ACEOF
13800 /* end confdefs.h. */
13801 $ac_includes_default
13805 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
13812 rm -f conftest.
$ac_objext
13813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13814 (eval $ac_compile) 2>conftest.er1
13816 grep -v '^ *+' conftest.er1
>conftest.err
13818 cat conftest.err
>&5
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 (exit $ac_status); } &&
13821 { ac_try
='test -z "$ac_c_werror_flag"
13822 || test ! -s conftest.err'
13823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13824 (eval $ac_try) 2>&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); }; } &&
13828 { ac_try
='test -s conftest.$ac_objext'
13829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13830 (eval $ac_try) 2>&5
13832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13833 (exit $ac_status); }; }; then
13836 cat >conftest.
$ac_ext <<_ACEOF
13839 cat confdefs.h
>>conftest.
$ac_ext
13840 cat >>conftest.
$ac_ext <<_ACEOF
13841 /* end confdefs.h. */
13842 $ac_includes_default
13846 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
13853 rm -f conftest.
$ac_objext
13854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13855 (eval $ac_compile) 2>conftest.er1
13857 grep -v '^ *+' conftest.er1
>conftest.err
13859 cat conftest.err
>&5
13860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13861 (exit $ac_status); } &&
13862 { ac_try
='test -z "$ac_c_werror_flag"
13863 || test ! -s conftest.err'
13864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13865 (eval $ac_try) 2>&5
13867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868 (exit $ac_status); }; } &&
13869 { ac_try
='test -s conftest.$ac_objext'
13870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13871 (eval $ac_try) 2>&5
13873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13874 (exit $ac_status); }; }; then
13875 ac_lo
=$ac_mid; break
13877 echo "$as_me: failed program was:" >&5
13878 sed 's/^/| /' conftest.
$ac_ext >&5
13880 ac_hi
=`expr '(' $ac_mid ')' - 1`
13881 if test $ac_mid -le $ac_hi; then
13885 ac_mid
=`expr 2 '*' $ac_mid`
13887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13890 echo "$as_me: failed program was:" >&5
13891 sed 's/^/| /' conftest.
$ac_ext >&5
13895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13898 # Binary search between lo and hi bounds.
13899 while test "x$ac_lo" != "x$ac_hi"; do
13900 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13901 cat >conftest.
$ac_ext <<_ACEOF
13904 cat confdefs.h
>>conftest.
$ac_ext
13905 cat >>conftest.
$ac_ext <<_ACEOF
13906 /* end confdefs.h. */
13907 $ac_includes_default
13911 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
13918 rm -f conftest.
$ac_objext
13919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13920 (eval $ac_compile) 2>conftest.er1
13922 grep -v '^ *+' conftest.er1
>conftest.err
13924 cat conftest.err
>&5
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); } &&
13927 { ac_try
='test -z "$ac_c_werror_flag"
13928 || test ! -s conftest.err'
13929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13930 (eval $ac_try) 2>&5
13932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13933 (exit $ac_status); }; } &&
13934 { ac_try
='test -s conftest.$ac_objext'
13935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13936 (eval $ac_try) 2>&5
13938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939 (exit $ac_status); }; }; then
13942 echo "$as_me: failed program was:" >&5
13943 sed 's/^/| /' conftest.
$ac_ext >&5
13945 ac_lo
=`expr '(' $ac_mid ')' + 1`
13947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13950 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
13951 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13952 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13953 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
13954 See \`config.log' for more details." >&5
13955 echo "$as_me: error: cannot compute sizeof (void *), 77
13956 See \`config.log' for more details." >&2;}
13957 { (exit 1); exit 1; }; }; } ;;
13960 if test "$cross_compiling" = yes; then
13961 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13962 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13963 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13964 See \`config.log' for more details." >&5
13965 echo "$as_me: error: cannot run test program while cross compiling
13966 See \`config.log' for more details." >&2;}
13967 { (exit 1); exit 1; }; }; }
13969 cat >conftest.
$ac_ext <<_ACEOF
13972 cat confdefs.h
>>conftest.
$ac_ext
13973 cat >>conftest.
$ac_ext <<_ACEOF
13974 /* end confdefs.h. */
13975 $ac_includes_default
13976 long longval () { return (long) (sizeof (void *)); }
13977 unsigned long ulongval () { return (long) (sizeof (void *)); }
13979 #include <stdlib.h>
13984 FILE *f = fopen ("conftest.val", "w");
13987 if (((long) (sizeof (void *))) < 0)
13989 long i = longval ();
13990 if (i != ((long) (sizeof (void *))))
13992 fprintf (f, "%ld\n", i);
13996 unsigned long i = ulongval ();
13997 if (i != ((long) (sizeof (void *))))
13999 fprintf (f, "%lu\n", i);
14001 exit (ferror (f) || fclose (f) != 0);
14007 rm -f conftest
$ac_exeext
14008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14009 (eval $ac_link) 2>&5
14011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14012 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14014 (eval $ac_try) 2>&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); }; }; then
14018 ac_cv_sizeof_void_p
=`cat conftest.val`
14020 echo "$as_me: program exited with status $ac_status" >&5
14021 echo "$as_me: failed program was:" >&5
14022 sed 's/^/| /' conftest.
$ac_ext >&5
14024 ( exit $ac_status )
14025 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14026 echo "$as_me: error: in \`$ac_pwd':" >&2;}
14027 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14028 See \`config.log' for more details." >&5
14029 echo "$as_me: error: cannot compute sizeof (void *), 77
14030 See \`config.log' for more details." >&2;}
14031 { (exit 1); exit 1; }; }; }
14033 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14038 ac_cv_sizeof_void_p
=0
14041 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14042 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14043 cat >>confdefs.h
<<_ACEOF
14044 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14050 # Lacking an uint64_t? Test size of long
14051 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
14052 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
14053 echo $ECHO_N "checking for long... $ECHO_C" >&6
14054 if test "${ac_cv_type_long+set}" = set; then
14055 echo $ECHO_N "(cached) $ECHO_C" >&6
14057 cat >conftest.
$ac_ext <<_ACEOF
14060 cat confdefs.h
>>conftest.
$ac_ext
14061 cat >>conftest.
$ac_ext <<_ACEOF
14062 /* end confdefs.h. */
14063 $ac_includes_default
14075 rm -f conftest.
$ac_objext
14076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14077 (eval $ac_compile) 2>conftest.er1
14079 grep -v '^ *+' conftest.er1
>conftest.err
14081 cat conftest.err
>&5
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); } &&
14084 { ac_try
='test -z "$ac_c_werror_flag"
14085 || test ! -s conftest.err'
14086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14087 (eval $ac_try) 2>&5
14089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14090 (exit $ac_status); }; } &&
14091 { ac_try
='test -s conftest.$ac_objext'
14092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14093 (eval $ac_try) 2>&5
14095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14096 (exit $ac_status); }; }; then
14097 ac_cv_type_long
=yes
14099 echo "$as_me: failed program was:" >&5
14100 sed 's/^/| /' conftest.
$ac_ext >&5
14104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14106 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
14107 echo "${ECHO_T}$ac_cv_type_long" >&6
14109 echo "$as_me:$LINENO: checking size of long" >&5
14110 echo $ECHO_N "checking size of long... $ECHO_C" >&6
14111 if test "${ac_cv_sizeof_long+set}" = set; then
14112 echo $ECHO_N "(cached) $ECHO_C" >&6
14114 if test "$ac_cv_type_long" = yes; then
14115 # The cast to unsigned long works around a bug in the HP C Compiler
14116 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14117 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14118 # This bug is HP SR number 8606223364.
14119 if test "$cross_compiling" = yes; then
14120 # Depending upon the size, compute the lo and hi bounds.
14121 cat >conftest.
$ac_ext <<_ACEOF
14124 cat confdefs.h
>>conftest.
$ac_ext
14125 cat >>conftest.
$ac_ext <<_ACEOF
14126 /* end confdefs.h. */
14127 $ac_includes_default
14131 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
14138 rm -f conftest.
$ac_objext
14139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14140 (eval $ac_compile) 2>conftest.er1
14142 grep -v '^ *+' conftest.er1
>conftest.err
14144 cat conftest.err
>&5
14145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14146 (exit $ac_status); } &&
14147 { ac_try
='test -z "$ac_c_werror_flag"
14148 || test ! -s conftest.err'
14149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14150 (eval $ac_try) 2>&5
14152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14153 (exit $ac_status); }; } &&
14154 { ac_try
='test -s conftest.$ac_objext'
14155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14156 (eval $ac_try) 2>&5
14158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14159 (exit $ac_status); }; }; then
14162 cat >conftest.
$ac_ext <<_ACEOF
14165 cat confdefs.h
>>conftest.
$ac_ext
14166 cat >>conftest.
$ac_ext <<_ACEOF
14167 /* end confdefs.h. */
14168 $ac_includes_default
14172 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
14179 rm -f conftest.
$ac_objext
14180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14181 (eval $ac_compile) 2>conftest.er1
14183 grep -v '^ *+' conftest.er1
>conftest.err
14185 cat conftest.err
>&5
14186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187 (exit $ac_status); } &&
14188 { ac_try
='test -z "$ac_c_werror_flag"
14189 || test ! -s conftest.err'
14190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14191 (eval $ac_try) 2>&5
14193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14194 (exit $ac_status); }; } &&
14195 { ac_try
='test -s conftest.$ac_objext'
14196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14197 (eval $ac_try) 2>&5
14199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14200 (exit $ac_status); }; }; then
14201 ac_hi
=$ac_mid; break
14203 echo "$as_me: failed program was:" >&5
14204 sed 's/^/| /' conftest.
$ac_ext >&5
14206 ac_lo
=`expr $ac_mid + 1`
14207 if test $ac_lo -le $ac_mid; then
14211 ac_mid
=`expr 2 '*' $ac_mid + 1`
14213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14216 echo "$as_me: failed program was:" >&5
14217 sed 's/^/| /' conftest.
$ac_ext >&5
14219 cat >conftest.
$ac_ext <<_ACEOF
14222 cat confdefs.h
>>conftest.
$ac_ext
14223 cat >>conftest.
$ac_ext <<_ACEOF
14224 /* end confdefs.h. */
14225 $ac_includes_default
14229 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
14236 rm -f conftest.
$ac_objext
14237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14238 (eval $ac_compile) 2>conftest.er1
14240 grep -v '^ *+' conftest.er1
>conftest.err
14242 cat conftest.err
>&5
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); } &&
14245 { ac_try
='test -z "$ac_c_werror_flag"
14246 || test ! -s conftest.err'
14247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14248 (eval $ac_try) 2>&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); }; } &&
14252 { ac_try
='test -s conftest.$ac_objext'
14253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14254 (eval $ac_try) 2>&5
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 (exit $ac_status); }; }; then
14260 cat >conftest.
$ac_ext <<_ACEOF
14263 cat confdefs.h
>>conftest.
$ac_ext
14264 cat >>conftest.
$ac_ext <<_ACEOF
14265 /* end confdefs.h. */
14266 $ac_includes_default
14270 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
14277 rm -f conftest.
$ac_objext
14278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14279 (eval $ac_compile) 2>conftest.er1
14281 grep -v '^ *+' conftest.er1
>conftest.err
14283 cat conftest.err
>&5
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); } &&
14286 { ac_try
='test -z "$ac_c_werror_flag"
14287 || test ! -s conftest.err'
14288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14289 (eval $ac_try) 2>&5
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); }; } &&
14293 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14299 ac_lo
=$ac_mid; break
14301 echo "$as_me: failed program was:" >&5
14302 sed 's/^/| /' conftest.
$ac_ext >&5
14304 ac_hi
=`expr '(' $ac_mid ')' - 1`
14305 if test $ac_mid -le $ac_hi; then
14309 ac_mid
=`expr 2 '*' $ac_mid`
14311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14314 echo "$as_me: failed program was:" >&5
14315 sed 's/^/| /' conftest.
$ac_ext >&5
14319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14322 # Binary search between lo and hi bounds.
14323 while test "x$ac_lo" != "x$ac_hi"; do
14324 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14325 cat >conftest.
$ac_ext <<_ACEOF
14328 cat confdefs.h
>>conftest.
$ac_ext
14329 cat >>conftest.
$ac_ext <<_ACEOF
14330 /* end confdefs.h. */
14331 $ac_includes_default
14335 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
14342 rm -f conftest.
$ac_objext
14343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14344 (eval $ac_compile) 2>conftest.er1
14346 grep -v '^ *+' conftest.er1
>conftest.err
14348 cat conftest.err
>&5
14349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14350 (exit $ac_status); } &&
14351 { ac_try
='test -z "$ac_c_werror_flag"
14352 || test ! -s conftest.err'
14353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14354 (eval $ac_try) 2>&5
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); }; } &&
14358 { ac_try
='test -s conftest.$ac_objext'
14359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14360 (eval $ac_try) 2>&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); }; }; then
14366 echo "$as_me: failed program was:" >&5
14367 sed 's/^/| /' conftest.
$ac_ext >&5
14369 ac_lo
=`expr '(' $ac_mid ')' + 1`
14371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14374 ?
*) ac_cv_sizeof_long
=$ac_lo;;
14375 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14376 echo "$as_me: error: in \`$ac_pwd':" >&2;}
14377 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
14378 See \`config.log' for more details." >&5
14379 echo "$as_me: error: cannot compute sizeof (long), 77
14380 See \`config.log' for more details." >&2;}
14381 { (exit 1); exit 1; }; }; } ;;
14384 if test "$cross_compiling" = yes; then
14385 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14386 echo "$as_me: error: in \`$ac_pwd':" >&2;}
14387 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14388 See \`config.log' for more details." >&5
14389 echo "$as_me: error: cannot run test program while cross compiling
14390 See \`config.log' for more details." >&2;}
14391 { (exit 1); exit 1; }; }; }
14393 cat >conftest.
$ac_ext <<_ACEOF
14396 cat confdefs.h
>>conftest.
$ac_ext
14397 cat >>conftest.
$ac_ext <<_ACEOF
14398 /* end confdefs.h. */
14399 $ac_includes_default
14400 long longval () { return (long) (sizeof (long)); }
14401 unsigned long ulongval () { return (long) (sizeof (long)); }
14403 #include <stdlib.h>
14408 FILE *f = fopen ("conftest.val", "w");
14411 if (((long) (sizeof (long))) < 0)
14413 long i = longval ();
14414 if (i != ((long) (sizeof (long))))
14416 fprintf (f, "%ld\n", i);
14420 unsigned long i = ulongval ();
14421 if (i != ((long) (sizeof (long))))
14423 fprintf (f, "%lu\n", i);
14425 exit (ferror (f) || fclose (f) != 0);
14431 rm -f conftest
$ac_exeext
14432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14433 (eval $ac_link) 2>&5
14435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14436 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14438 (eval $ac_try) 2>&5
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); }; }; then
14442 ac_cv_sizeof_long
=`cat conftest.val`
14444 echo "$as_me: program exited with status $ac_status" >&5
14445 echo "$as_me: failed program was:" >&5
14446 sed 's/^/| /' conftest.
$ac_ext >&5
14448 ( exit $ac_status )
14449 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14450 echo "$as_me: error: in \`$ac_pwd':" >&2;}
14451 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
14452 See \`config.log' for more details." >&5
14453 echo "$as_me: error: cannot compute sizeof (long), 77
14454 See \`config.log' for more details." >&2;}
14455 { (exit 1); exit 1; }; }; }
14457 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14462 ac_cv_sizeof_long
=0
14465 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
14466 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
14467 cat >>confdefs.h
<<_ACEOF
14468 #define SIZEOF_LONG $ac_cv_sizeof_long
14474 if test $acx_cv_header_stdint = stddef.h
; then
14475 # Lacking a good header? Test size of everything and deduce all types.
14476 echo "$as_me:$LINENO: checking for int" >&5
14477 echo $ECHO_N "checking for int... $ECHO_C" >&6
14478 if test "${ac_cv_type_int+set}" = set; then
14479 echo $ECHO_N "(cached) $ECHO_C" >&6
14481 cat >conftest.
$ac_ext <<_ACEOF
14484 cat confdefs.h
>>conftest.
$ac_ext
14485 cat >>conftest.
$ac_ext <<_ACEOF
14486 /* end confdefs.h. */
14487 $ac_includes_default
14499 rm -f conftest.
$ac_objext
14500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14501 (eval $ac_compile) 2>conftest.er1
14503 grep -v '^ *+' conftest.er1
>conftest.err
14505 cat conftest.err
>&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); } &&
14508 { ac_try
='test -z "$ac_c_werror_flag"
14509 || test ! -s conftest.err'
14510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14511 (eval $ac_try) 2>&5
14513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14514 (exit $ac_status); }; } &&
14515 { ac_try
='test -s conftest.$ac_objext'
14516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14517 (eval $ac_try) 2>&5
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); }; }; then
14523 echo "$as_me: failed program was:" >&5
14524 sed 's/^/| /' conftest.
$ac_ext >&5
14528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14530 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14531 echo "${ECHO_T}$ac_cv_type_int" >&6
14533 echo "$as_me:$LINENO: checking size of int" >&5
14534 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14535 if test "${ac_cv_sizeof_int+set}" = set; then
14536 echo $ECHO_N "(cached) $ECHO_C" >&6
14538 if test "$ac_cv_type_int" = yes; then
14539 # The cast to unsigned long works around a bug in the HP C Compiler
14540 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14541 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14542 # This bug is HP SR number 8606223364.
14543 if test "$cross_compiling" = yes; then
14544 # Depending upon the size, compute the lo and hi bounds.
14545 cat >conftest.
$ac_ext <<_ACEOF
14548 cat confdefs.h
>>conftest.
$ac_ext
14549 cat >>conftest.
$ac_ext <<_ACEOF
14550 /* end confdefs.h. */
14551 $ac_includes_default
14555 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14562 rm -f conftest.
$ac_objext
14563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14564 (eval $ac_compile) 2>conftest.er1
14566 grep -v '^ *+' conftest.er1
>conftest.err
14568 cat conftest.err
>&5
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); } &&
14571 { ac_try
='test -z "$ac_c_werror_flag"
14572 || test ! -s conftest.err'
14573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14574 (eval $ac_try) 2>&5
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); }; } &&
14578 { ac_try
='test -s conftest.$ac_objext'
14579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14580 (eval $ac_try) 2>&5
14582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583 (exit $ac_status); }; }; then
14586 cat >conftest.
$ac_ext <<_ACEOF
14589 cat confdefs.h
>>conftest.
$ac_ext
14590 cat >>conftest.
$ac_ext <<_ACEOF
14591 /* end confdefs.h. */
14592 $ac_includes_default
14596 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14603 rm -f conftest.
$ac_objext
14604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14605 (eval $ac_compile) 2>conftest.er1
14607 grep -v '^ *+' conftest.er1
>conftest.err
14609 cat conftest.err
>&5
14610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14611 (exit $ac_status); } &&
14612 { ac_try
='test -z "$ac_c_werror_flag"
14613 || test ! -s conftest.err'
14614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14615 (eval $ac_try) 2>&5
14617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14618 (exit $ac_status); }; } &&
14619 { ac_try
='test -s conftest.$ac_objext'
14620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14621 (eval $ac_try) 2>&5
14623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14624 (exit $ac_status); }; }; then
14625 ac_hi
=$ac_mid; break
14627 echo "$as_me: failed program was:" >&5
14628 sed 's/^/| /' conftest.
$ac_ext >&5
14630 ac_lo
=`expr $ac_mid + 1`
14631 if test $ac_lo -le $ac_mid; then
14635 ac_mid
=`expr 2 '*' $ac_mid + 1`
14637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14640 echo "$as_me: failed program was:" >&5
14641 sed 's/^/| /' conftest.
$ac_ext >&5
14643 cat >conftest.
$ac_ext <<_ACEOF
14646 cat confdefs.h
>>conftest.
$ac_ext
14647 cat >>conftest.
$ac_ext <<_ACEOF
14648 /* end confdefs.h. */
14649 $ac_includes_default
14653 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14660 rm -f conftest.
$ac_objext
14661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14662 (eval $ac_compile) 2>conftest.er1
14664 grep -v '^ *+' conftest.er1
>conftest.err
14666 cat conftest.err
>&5
14667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14668 (exit $ac_status); } &&
14669 { ac_try
='test -z "$ac_c_werror_flag"
14670 || test ! -s conftest.err'
14671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14672 (eval $ac_try) 2>&5
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); }; } &&
14676 { ac_try
='test -s conftest.$ac_objext'
14677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14678 (eval $ac_try) 2>&5
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); }; }; then
14684 cat >conftest.
$ac_ext <<_ACEOF
14687 cat confdefs.h
>>conftest.
$ac_ext
14688 cat >>conftest.
$ac_ext <<_ACEOF
14689 /* end confdefs.h. */
14690 $ac_includes_default
14694 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14701 rm -f conftest.
$ac_objext
14702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14703 (eval $ac_compile) 2>conftest.er1
14705 grep -v '^ *+' conftest.er1
>conftest.err
14707 cat conftest.err
>&5
14708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14709 (exit $ac_status); } &&
14710 { ac_try
='test -z "$ac_c_werror_flag"
14711 || test ! -s conftest.err'
14712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14713 (eval $ac_try) 2>&5
14715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14716 (exit $ac_status); }; } &&
14717 { ac_try
='test -s conftest.$ac_objext'
14718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14719 (eval $ac_try) 2>&5
14721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14722 (exit $ac_status); }; }; then
14723 ac_lo
=$ac_mid; break
14725 echo "$as_me: failed program was:" >&5
14726 sed 's/^/| /' conftest.
$ac_ext >&5
14728 ac_hi
=`expr '(' $ac_mid ')' - 1`
14729 if test $ac_mid -le $ac_hi; then
14733 ac_mid
=`expr 2 '*' $ac_mid`
14735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14738 echo "$as_me: failed program was:" >&5
14739 sed 's/^/| /' conftest.
$ac_ext >&5
14743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14746 # Binary search between lo and hi bounds.
14747 while test "x$ac_lo" != "x$ac_hi"; do
14748 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14749 cat >conftest.
$ac_ext <<_ACEOF
14752 cat confdefs.h
>>conftest.
$ac_ext
14753 cat >>conftest.
$ac_ext <<_ACEOF
14754 /* end confdefs.h. */
14755 $ac_includes_default
14759 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14766 rm -f conftest.
$ac_objext
14767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14768 (eval $ac_compile) 2>conftest.er1
14770 grep -v '^ *+' conftest.er1
>conftest.err
14772 cat conftest.err
>&5
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); } &&
14775 { ac_try
='test -z "$ac_c_werror_flag"
14776 || test ! -s conftest.err'
14777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14778 (eval $ac_try) 2>&5
14780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14781 (exit $ac_status); }; } &&
14782 { ac_try
='test -s conftest.$ac_objext'
14783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14784 (eval $ac_try) 2>&5
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); }; }; then
14790 echo "$as_me: failed program was:" >&5
14791 sed 's/^/| /' conftest.
$ac_ext >&5
14793 ac_lo
=`expr '(' $ac_mid ')' + 1`
14795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14798 ?
*) ac_cv_sizeof_int
=$ac_lo;;
14799 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14800 echo "$as_me: error: in \`$ac_pwd':" >&2;}
14801 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14802 See \`config.log' for more details." >&5
14803 echo "$as_me: error: cannot compute sizeof (int), 77
14804 See \`config.log' for more details." >&2;}
14805 { (exit 1); exit 1; }; }; } ;;
14808 if test "$cross_compiling" = yes; then
14809 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14810 echo "$as_me: error: in \`$ac_pwd':" >&2;}
14811 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14812 See \`config.log' for more details." >&5
14813 echo "$as_me: error: cannot run test program while cross compiling
14814 See \`config.log' for more details." >&2;}
14815 { (exit 1); exit 1; }; }; }
14817 cat >conftest.
$ac_ext <<_ACEOF
14820 cat confdefs.h
>>conftest.
$ac_ext
14821 cat >>conftest.
$ac_ext <<_ACEOF
14822 /* end confdefs.h. */
14823 $ac_includes_default
14824 long longval () { return (long) (sizeof (int)); }
14825 unsigned long ulongval () { return (long) (sizeof (int)); }
14827 #include <stdlib.h>
14832 FILE *f = fopen ("conftest.val", "w");
14835 if (((long) (sizeof (int))) < 0)
14837 long i = longval ();
14838 if (i != ((long) (sizeof (int))))
14840 fprintf (f, "%ld\n", i);
14844 unsigned long i = ulongval ();
14845 if (i != ((long) (sizeof (int))))
14847 fprintf (f, "%lu\n", i);
14849 exit (ferror (f) || fclose (f) != 0);
14855 rm -f conftest
$ac_exeext
14856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14857 (eval $ac_link) 2>&5
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14862 (eval $ac_try) 2>&5
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); }; }; then
14866 ac_cv_sizeof_int
=`cat conftest.val`
14868 echo "$as_me: program exited with status $ac_status" >&5
14869 echo "$as_me: failed program was:" >&5
14870 sed 's/^/| /' conftest.
$ac_ext >&5
14872 ( exit $ac_status )
14873 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14874 echo "$as_me: error: in \`$ac_pwd':" >&2;}
14875 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14876 See \`config.log' for more details." >&5
14877 echo "$as_me: error: cannot compute sizeof (int), 77
14878 See \`config.log' for more details." >&2;}
14879 { (exit 1); exit 1; }; }; }
14881 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14889 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14890 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
14891 cat >>confdefs.h
<<_ACEOF
14892 #define SIZEOF_INT $ac_cv_sizeof_int
14896 echo "$as_me:$LINENO: checking for short" >&5
14897 echo $ECHO_N "checking for short... $ECHO_C" >&6
14898 if test "${ac_cv_type_short+set}" = set; then
14899 echo $ECHO_N "(cached) $ECHO_C" >&6
14901 cat >conftest.
$ac_ext <<_ACEOF
14904 cat confdefs.h
>>conftest.
$ac_ext
14905 cat >>conftest.
$ac_ext <<_ACEOF
14906 /* end confdefs.h. */
14907 $ac_includes_default
14913 if (sizeof (short))
14919 rm -f conftest.
$ac_objext
14920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14921 (eval $ac_compile) 2>conftest.er1
14923 grep -v '^ *+' conftest.er1
>conftest.err
14925 cat conftest.err
>&5
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); } &&
14928 { ac_try
='test -z "$ac_c_werror_flag"
14929 || test ! -s conftest.err'
14930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14931 (eval $ac_try) 2>&5
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); }; } &&
14935 { ac_try
='test -s conftest.$ac_objext'
14936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14937 (eval $ac_try) 2>&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); }; }; then
14941 ac_cv_type_short
=yes
14943 echo "$as_me: failed program was:" >&5
14944 sed 's/^/| /' conftest.
$ac_ext >&5
14946 ac_cv_type_short
=no
14948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14950 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14951 echo "${ECHO_T}$ac_cv_type_short" >&6
14953 echo "$as_me:$LINENO: checking size of short" >&5
14954 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14955 if test "${ac_cv_sizeof_short+set}" = set; then
14956 echo $ECHO_N "(cached) $ECHO_C" >&6
14958 if test "$ac_cv_type_short" = yes; then
14959 # The cast to unsigned long works around a bug in the HP C Compiler
14960 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14961 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14962 # This bug is HP SR number 8606223364.
14963 if test "$cross_compiling" = yes; then
14964 # Depending upon the size, compute the lo and hi bounds.
14965 cat >conftest.
$ac_ext <<_ACEOF
14968 cat confdefs.h
>>conftest.
$ac_ext
14969 cat >>conftest.
$ac_ext <<_ACEOF
14970 /* end confdefs.h. */
14971 $ac_includes_default
14975 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14982 rm -f conftest.
$ac_objext
14983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14984 (eval $ac_compile) 2>conftest.er1
14986 grep -v '^ *+' conftest.er1
>conftest.err
14988 cat conftest.err
>&5
14989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14990 (exit $ac_status); } &&
14991 { ac_try
='test -z "$ac_c_werror_flag"
14992 || test ! -s conftest.err'
14993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14994 (eval $ac_try) 2>&5
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); }; } &&
14998 { ac_try
='test -s conftest.$ac_objext'
14999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15000 (eval $ac_try) 2>&5
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); }; }; then
15006 cat >conftest.
$ac_ext <<_ACEOF
15009 cat confdefs.h
>>conftest.
$ac_ext
15010 cat >>conftest.
$ac_ext <<_ACEOF
15011 /* end confdefs.h. */
15012 $ac_includes_default
15016 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15023 rm -f conftest.
$ac_objext
15024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15025 (eval $ac_compile) 2>conftest.er1
15027 grep -v '^ *+' conftest.er1
>conftest.err
15029 cat conftest.err
>&5
15030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031 (exit $ac_status); } &&
15032 { ac_try
='test -z "$ac_c_werror_flag"
15033 || test ! -s conftest.err'
15034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15035 (eval $ac_try) 2>&5
15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); }; } &&
15039 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15045 ac_hi
=$ac_mid; break
15047 echo "$as_me: failed program was:" >&5
15048 sed 's/^/| /' conftest.
$ac_ext >&5
15050 ac_lo
=`expr $ac_mid + 1`
15051 if test $ac_lo -le $ac_mid; then
15055 ac_mid
=`expr 2 '*' $ac_mid + 1`
15057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15060 echo "$as_me: failed program was:" >&5
15061 sed 's/^/| /' conftest.
$ac_ext >&5
15063 cat >conftest.
$ac_ext <<_ACEOF
15066 cat confdefs.h
>>conftest.
$ac_ext
15067 cat >>conftest.
$ac_ext <<_ACEOF
15068 /* end confdefs.h. */
15069 $ac_includes_default
15073 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15080 rm -f conftest.
$ac_objext
15081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15082 (eval $ac_compile) 2>conftest.er1
15084 grep -v '^ *+' conftest.er1
>conftest.err
15086 cat conftest.err
>&5
15087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15088 (exit $ac_status); } &&
15089 { ac_try
='test -z "$ac_c_werror_flag"
15090 || test ! -s conftest.err'
15091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15092 (eval $ac_try) 2>&5
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); }; } &&
15096 { ac_try
='test -s conftest.$ac_objext'
15097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15098 (eval $ac_try) 2>&5
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); }; }; then
15104 cat >conftest.
$ac_ext <<_ACEOF
15107 cat confdefs.h
>>conftest.
$ac_ext
15108 cat >>conftest.
$ac_ext <<_ACEOF
15109 /* end confdefs.h. */
15110 $ac_includes_default
15114 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15121 rm -f conftest.
$ac_objext
15122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15123 (eval $ac_compile) 2>conftest.er1
15125 grep -v '^ *+' conftest.er1
>conftest.err
15127 cat conftest.err
>&5
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); } &&
15130 { ac_try
='test -z "$ac_c_werror_flag"
15131 || test ! -s conftest.err'
15132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15133 (eval $ac_try) 2>&5
15135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136 (exit $ac_status); }; } &&
15137 { ac_try
='test -s conftest.$ac_objext'
15138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15139 (eval $ac_try) 2>&5
15141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15142 (exit $ac_status); }; }; then
15143 ac_lo
=$ac_mid; break
15145 echo "$as_me: failed program was:" >&5
15146 sed 's/^/| /' conftest.
$ac_ext >&5
15148 ac_hi
=`expr '(' $ac_mid ')' - 1`
15149 if test $ac_mid -le $ac_hi; then
15153 ac_mid
=`expr 2 '*' $ac_mid`
15155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15158 echo "$as_me: failed program was:" >&5
15159 sed 's/^/| /' conftest.
$ac_ext >&5
15163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15166 # Binary search between lo and hi bounds.
15167 while test "x$ac_lo" != "x$ac_hi"; do
15168 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15169 cat >conftest.
$ac_ext <<_ACEOF
15172 cat confdefs.h
>>conftest.
$ac_ext
15173 cat >>conftest.
$ac_ext <<_ACEOF
15174 /* end confdefs.h. */
15175 $ac_includes_default
15179 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15186 rm -f conftest.
$ac_objext
15187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15188 (eval $ac_compile) 2>conftest.er1
15190 grep -v '^ *+' conftest.er1
>conftest.err
15192 cat conftest.err
>&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); } &&
15195 { ac_try
='test -z "$ac_c_werror_flag"
15196 || test ! -s conftest.err'
15197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15198 (eval $ac_try) 2>&5
15200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15201 (exit $ac_status); }; } &&
15202 { ac_try
='test -s conftest.$ac_objext'
15203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15204 (eval $ac_try) 2>&5
15206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15207 (exit $ac_status); }; }; then
15210 echo "$as_me: failed program was:" >&5
15211 sed 's/^/| /' conftest.
$ac_ext >&5
15213 ac_lo
=`expr '(' $ac_mid ')' + 1`
15215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15218 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15219 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15220 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15221 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15222 See \`config.log' for more details." >&5
15223 echo "$as_me: error: cannot compute sizeof (short), 77
15224 See \`config.log' for more details." >&2;}
15225 { (exit 1); exit 1; }; }; } ;;
15228 if test "$cross_compiling" = yes; then
15229 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15230 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15231 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15232 See \`config.log' for more details." >&5
15233 echo "$as_me: error: cannot run test program while cross compiling
15234 See \`config.log' for more details." >&2;}
15235 { (exit 1); exit 1; }; }; }
15237 cat >conftest.
$ac_ext <<_ACEOF
15240 cat confdefs.h
>>conftest.
$ac_ext
15241 cat >>conftest.
$ac_ext <<_ACEOF
15242 /* end confdefs.h. */
15243 $ac_includes_default
15244 long longval () { return (long) (sizeof (short)); }
15245 unsigned long ulongval () { return (long) (sizeof (short)); }
15247 #include <stdlib.h>
15252 FILE *f = fopen ("conftest.val", "w");
15255 if (((long) (sizeof (short))) < 0)
15257 long i = longval ();
15258 if (i != ((long) (sizeof (short))))
15260 fprintf (f, "%ld\n", i);
15264 unsigned long i = ulongval ();
15265 if (i != ((long) (sizeof (short))))
15267 fprintf (f, "%lu\n", i);
15269 exit (ferror (f) || fclose (f) != 0);
15275 rm -f conftest
$ac_exeext
15276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15277 (eval $ac_link) 2>&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15282 (eval $ac_try) 2>&5
15284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); }; }; then
15286 ac_cv_sizeof_short
=`cat conftest.val`
15288 echo "$as_me: program exited with status $ac_status" >&5
15289 echo "$as_me: failed program was:" >&5
15290 sed 's/^/| /' conftest.
$ac_ext >&5
15292 ( exit $ac_status )
15293 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15294 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15295 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15296 See \`config.log' for more details." >&5
15297 echo "$as_me: error: cannot compute sizeof (short), 77
15298 See \`config.log' for more details." >&2;}
15299 { (exit 1); exit 1; }; }; }
15301 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15306 ac_cv_sizeof_short
=0
15309 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15310 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15311 cat >>confdefs.h
<<_ACEOF
15312 #define SIZEOF_SHORT $ac_cv_sizeof_short
15316 echo "$as_me:$LINENO: checking for char" >&5
15317 echo $ECHO_N "checking for char... $ECHO_C" >&6
15318 if test "${ac_cv_type_char+set}" = set; then
15319 echo $ECHO_N "(cached) $ECHO_C" >&6
15321 cat >conftest.
$ac_ext <<_ACEOF
15324 cat confdefs.h
>>conftest.
$ac_ext
15325 cat >>conftest.
$ac_ext <<_ACEOF
15326 /* end confdefs.h. */
15327 $ac_includes_default
15339 rm -f conftest.
$ac_objext
15340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15341 (eval $ac_compile) 2>conftest.er1
15343 grep -v '^ *+' conftest.er1
>conftest.err
15345 cat conftest.err
>&5
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); } &&
15348 { ac_try
='test -z "$ac_c_werror_flag"
15349 || test ! -s conftest.err'
15350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15351 (eval $ac_try) 2>&5
15353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15354 (exit $ac_status); }; } &&
15355 { ac_try
='test -s conftest.$ac_objext'
15356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15357 (eval $ac_try) 2>&5
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); }; }; then
15361 ac_cv_type_char
=yes
15363 echo "$as_me: failed program was:" >&5
15364 sed 's/^/| /' conftest.
$ac_ext >&5
15368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15370 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15371 echo "${ECHO_T}$ac_cv_type_char" >&6
15373 echo "$as_me:$LINENO: checking size of char" >&5
15374 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15375 if test "${ac_cv_sizeof_char+set}" = set; then
15376 echo $ECHO_N "(cached) $ECHO_C" >&6
15378 if test "$ac_cv_type_char" = yes; then
15379 # The cast to unsigned long works around a bug in the HP C Compiler
15380 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15381 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15382 # This bug is HP SR number 8606223364.
15383 if test "$cross_compiling" = yes; then
15384 # Depending upon the size, compute the lo and hi bounds.
15385 cat >conftest.
$ac_ext <<_ACEOF
15388 cat confdefs.h
>>conftest.
$ac_ext
15389 cat >>conftest.
$ac_ext <<_ACEOF
15390 /* end confdefs.h. */
15391 $ac_includes_default
15395 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15402 rm -f conftest.
$ac_objext
15403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15404 (eval $ac_compile) 2>conftest.er1
15406 grep -v '^ *+' conftest.er1
>conftest.err
15408 cat conftest.err
>&5
15409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15410 (exit $ac_status); } &&
15411 { ac_try
='test -z "$ac_c_werror_flag"
15412 || test ! -s conftest.err'
15413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15414 (eval $ac_try) 2>&5
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); }; } &&
15418 { ac_try
='test -s conftest.$ac_objext'
15419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15420 (eval $ac_try) 2>&5
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); }; }; then
15426 cat >conftest.
$ac_ext <<_ACEOF
15429 cat confdefs.h
>>conftest.
$ac_ext
15430 cat >>conftest.
$ac_ext <<_ACEOF
15431 /* end confdefs.h. */
15432 $ac_includes_default
15436 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15443 rm -f conftest.
$ac_objext
15444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15445 (eval $ac_compile) 2>conftest.er1
15447 grep -v '^ *+' conftest.er1
>conftest.err
15449 cat conftest.err
>&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); } &&
15452 { ac_try
='test -z "$ac_c_werror_flag"
15453 || test ! -s conftest.err'
15454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15455 (eval $ac_try) 2>&5
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); }; } &&
15459 { ac_try
='test -s conftest.$ac_objext'
15460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15461 (eval $ac_try) 2>&5
15463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15464 (exit $ac_status); }; }; then
15465 ac_hi
=$ac_mid; break
15467 echo "$as_me: failed program was:" >&5
15468 sed 's/^/| /' conftest.
$ac_ext >&5
15470 ac_lo
=`expr $ac_mid + 1`
15471 if test $ac_lo -le $ac_mid; then
15475 ac_mid
=`expr 2 '*' $ac_mid + 1`
15477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15480 echo "$as_me: failed program was:" >&5
15481 sed 's/^/| /' conftest.
$ac_ext >&5
15483 cat >conftest.
$ac_ext <<_ACEOF
15486 cat confdefs.h
>>conftest.
$ac_ext
15487 cat >>conftest.
$ac_ext <<_ACEOF
15488 /* end confdefs.h. */
15489 $ac_includes_default
15493 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15500 rm -f conftest.
$ac_objext
15501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15502 (eval $ac_compile) 2>conftest.er1
15504 grep -v '^ *+' conftest.er1
>conftest.err
15506 cat conftest.err
>&5
15507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508 (exit $ac_status); } &&
15509 { ac_try
='test -z "$ac_c_werror_flag"
15510 || test ! -s conftest.err'
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); }; } &&
15516 { ac_try
='test -s conftest.$ac_objext'
15517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15518 (eval $ac_try) 2>&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); }; }; then
15524 cat >conftest.
$ac_ext <<_ACEOF
15527 cat confdefs.h
>>conftest.
$ac_ext
15528 cat >>conftest.
$ac_ext <<_ACEOF
15529 /* end confdefs.h. */
15530 $ac_includes_default
15534 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15541 rm -f conftest.
$ac_objext
15542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15543 (eval $ac_compile) 2>conftest.er1
15545 grep -v '^ *+' conftest.er1
>conftest.err
15547 cat conftest.err
>&5
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); } &&
15550 { ac_try
='test -z "$ac_c_werror_flag"
15551 || test ! -s conftest.err'
15552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15553 (eval $ac_try) 2>&5
15555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556 (exit $ac_status); }; } &&
15557 { ac_try
='test -s conftest.$ac_objext'
15558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15559 (eval $ac_try) 2>&5
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 (exit $ac_status); }; }; then
15563 ac_lo
=$ac_mid; break
15565 echo "$as_me: failed program was:" >&5
15566 sed 's/^/| /' conftest.
$ac_ext >&5
15568 ac_hi
=`expr '(' $ac_mid ')' - 1`
15569 if test $ac_mid -le $ac_hi; then
15573 ac_mid
=`expr 2 '*' $ac_mid`
15575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15578 echo "$as_me: failed program was:" >&5
15579 sed 's/^/| /' conftest.
$ac_ext >&5
15583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15586 # Binary search between lo and hi bounds.
15587 while test "x$ac_lo" != "x$ac_hi"; do
15588 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15589 cat >conftest.
$ac_ext <<_ACEOF
15592 cat confdefs.h
>>conftest.
$ac_ext
15593 cat >>conftest.
$ac_ext <<_ACEOF
15594 /* end confdefs.h. */
15595 $ac_includes_default
15599 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15606 rm -f conftest.
$ac_objext
15607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15608 (eval $ac_compile) 2>conftest.er1
15610 grep -v '^ *+' conftest.er1
>conftest.err
15612 cat conftest.err
>&5
15613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15614 (exit $ac_status); } &&
15615 { ac_try
='test -z "$ac_c_werror_flag"
15616 || test ! -s conftest.err'
15617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15618 (eval $ac_try) 2>&5
15620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621 (exit $ac_status); }; } &&
15622 { ac_try
='test -s conftest.$ac_objext'
15623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15624 (eval $ac_try) 2>&5
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); }; }; then
15630 echo "$as_me: failed program was:" >&5
15631 sed 's/^/| /' conftest.
$ac_ext >&5
15633 ac_lo
=`expr '(' $ac_mid ')' + 1`
15635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15638 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15639 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15640 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15641 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15642 See \`config.log' for more details." >&5
15643 echo "$as_me: error: cannot compute sizeof (char), 77
15644 See \`config.log' for more details." >&2;}
15645 { (exit 1); exit 1; }; }; } ;;
15648 if test "$cross_compiling" = yes; then
15649 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15650 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15651 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15652 See \`config.log' for more details." >&5
15653 echo "$as_me: error: cannot run test program while cross compiling
15654 See \`config.log' for more details." >&2;}
15655 { (exit 1); exit 1; }; }; }
15657 cat >conftest.
$ac_ext <<_ACEOF
15660 cat confdefs.h
>>conftest.
$ac_ext
15661 cat >>conftest.
$ac_ext <<_ACEOF
15662 /* end confdefs.h. */
15663 $ac_includes_default
15664 long longval () { return (long) (sizeof (char)); }
15665 unsigned long ulongval () { return (long) (sizeof (char)); }
15667 #include <stdlib.h>
15672 FILE *f = fopen ("conftest.val", "w");
15675 if (((long) (sizeof (char))) < 0)
15677 long i = longval ();
15678 if (i != ((long) (sizeof (char))))
15680 fprintf (f, "%ld\n", i);
15684 unsigned long i = ulongval ();
15685 if (i != ((long) (sizeof (char))))
15687 fprintf (f, "%lu\n", i);
15689 exit (ferror (f) || fclose (f) != 0);
15695 rm -f conftest
$ac_exeext
15696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15697 (eval $ac_link) 2>&5
15699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15702 (eval $ac_try) 2>&5
15704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); }; }; then
15706 ac_cv_sizeof_char
=`cat conftest.val`
15708 echo "$as_me: program exited with status $ac_status" >&5
15709 echo "$as_me: failed program was:" >&5
15710 sed 's/^/| /' conftest.
$ac_ext >&5
15712 ( exit $ac_status )
15713 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15714 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15715 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15716 See \`config.log' for more details." >&5
15717 echo "$as_me: error: cannot compute sizeof (char), 77
15718 See \`config.log' for more details." >&2;}
15719 { (exit 1); exit 1; }; }; }
15721 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15726 ac_cv_sizeof_char
=0
15729 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15730 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15731 cat >>confdefs.h
<<_ACEOF
15732 #define SIZEOF_CHAR $ac_cv_sizeof_char
15737 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
15738 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
15739 case "$ac_cv_sizeof_char" in
15740 1) acx_cv_type_int8_t
=char
;;
15741 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
15742 echo "$as_me: error: no 8-bit type" >&2;}
15743 { (exit please report a bug
); exit please report a bug
; }; }
15745 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
15746 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
15748 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
15749 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
15750 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15751 2:*) acx_cv_type_int16_t
=int
;;
15752 *:2) acx_cv_type_int16_t
=short
;;
15753 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
15754 echo "$as_me: error: no 16-bit type" >&2;}
15755 { (exit please report a bug
); exit please report a bug
; }; }
15757 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
15758 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
15760 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
15761 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
15762 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15763 4:*) acx_cv_type_int32_t
=int
;;
15764 *:4) acx_cv_type_int32_t
=long
;;
15765 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
15766 echo "$as_me: error: no 32-bit type" >&2;}
15767 { (exit please report a bug
); exit please report a bug
; }; }
15769 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
15770 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
15773 # These tests are here to make the output prettier
15775 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15776 case "$ac_cv_sizeof_long" in
15777 8) acx_cv_type_int64_t
=long
;;
15779 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
15780 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
15781 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15782 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
15785 # Now we can use the above types
15787 if test "$ac_cv_type_uintptr_t" != yes; then
15788 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
15789 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
15790 case $ac_cv_sizeof_void_p in
15791 2) acx_cv_type_intptr_t
=int16_t
;;
15792 4) acx_cv_type_intptr_t
=int32_t
;;
15793 8) acx_cv_type_intptr_t
=int64_t
;;
15794 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
15795 echo "$as_me: error: no equivalent for intptr_t" >&2;}
15796 { (exit please report a bug
); exit please report a bug
; }; }
15798 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
15799 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
15802 # ----------------- done all checks, emit header -------------
15803 ac_config_commands
="$ac_config_commands bfd_stdint.h"
15807 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
15808 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
15809 if test "${ac_cv_header_time+set}" = set; then
15810 echo $ECHO_N "(cached) $ECHO_C" >&6
15812 cat >conftest.
$ac_ext <<_ACEOF
15815 cat confdefs.h
>>conftest.
$ac_ext
15816 cat >>conftest.
$ac_ext <<_ACEOF
15817 /* end confdefs.h. */
15818 #include <sys/types.h>
15819 #include <sys/time.h>
15825 if ((struct tm *) 0)
15831 rm -f conftest.
$ac_objext
15832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15833 (eval $ac_compile) 2>conftest.er1
15835 grep -v '^ *+' conftest.er1
>conftest.err
15837 cat conftest.err
>&5
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); } &&
15840 { ac_try
='test -z "$ac_c_werror_flag"
15841 || test ! -s conftest.err'
15842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15843 (eval $ac_try) 2>&5
15845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15846 (exit $ac_status); }; } &&
15847 { ac_try
='test -s conftest.$ac_objext'
15848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15849 (eval $ac_try) 2>&5
15851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15852 (exit $ac_status); }; }; then
15853 ac_cv_header_time
=yes
15855 echo "$as_me: failed program was:" >&5
15856 sed 's/^/| /' conftest.
$ac_ext >&5
15858 ac_cv_header_time
=no
15860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15862 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
15863 echo "${ECHO_T}$ac_cv_header_time" >&6
15864 if test $ac_cv_header_time = yes; then
15866 cat >>confdefs.h
<<\_ACEOF
15867 #define TIME_WITH_SYS_TIME 1
15877 ac_header_dirent
=no
15878 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
15879 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
15880 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
15881 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
15882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15883 echo $ECHO_N "(cached) $ECHO_C" >&6
15885 cat >conftest.
$ac_ext <<_ACEOF
15888 cat confdefs.h
>>conftest.
$ac_ext
15889 cat >>conftest.
$ac_ext <<_ACEOF
15890 /* end confdefs.h. */
15891 #include <sys/types.h>
15903 rm -f conftest.
$ac_objext
15904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15905 (eval $ac_compile) 2>conftest.er1
15907 grep -v '^ *+' conftest.er1
>conftest.err
15909 cat conftest.err
>&5
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); } &&
15912 { ac_try
='test -z "$ac_c_werror_flag"
15913 || test ! -s conftest.err'
15914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15915 (eval $ac_try) 2>&5
15917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15918 (exit $ac_status); }; } &&
15919 { ac_try
='test -s conftest.$ac_objext'
15920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15921 (eval $ac_try) 2>&5
15923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15924 (exit $ac_status); }; }; then
15925 eval "$as_ac_Header=yes"
15927 echo "$as_me: failed program was:" >&5
15928 sed 's/^/| /' conftest.
$ac_ext >&5
15930 eval "$as_ac_Header=no"
15932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15937 cat >>confdefs.h
<<_ACEOF
15938 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
15941 ac_header_dirent
=$ac_hdr; break
15945 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
15946 if test $ac_header_dirent = dirent.h
; then
15947 echo "$as_me:$LINENO: checking for library containing opendir" >&5
15948 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
15949 if test "${ac_cv_search_opendir+set}" = set; then
15950 echo $ECHO_N "(cached) $ECHO_C" >&6
15952 ac_func_search_save_LIBS
=$LIBS
15953 ac_cv_search_opendir
=no
15954 cat >conftest.
$ac_ext <<_ACEOF
15957 cat confdefs.h
>>conftest.
$ac_ext
15958 cat >>conftest.
$ac_ext <<_ACEOF
15959 /* end confdefs.h. */
15961 /* Override any gcc2 internal prototype to avoid an error. */
15965 /* We use char because int might match the return type of a gcc2
15966 builtin and then its argument prototype would still apply. */
15976 rm -f conftest.
$ac_objext conftest
$ac_exeext
15977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15978 (eval $ac_link) 2>conftest.er1
15980 grep -v '^ *+' conftest.er1
>conftest.err
15982 cat conftest.err
>&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); } &&
15985 { ac_try
='test -z "$ac_c_werror_flag"
15986 || test ! -s conftest.err'
15987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15988 (eval $ac_try) 2>&5
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); }; } &&
15992 { ac_try
='test -s conftest$ac_exeext'
15993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15994 (eval $ac_try) 2>&5
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); }; }; then
15998 ac_cv_search_opendir
="none required"
16000 echo "$as_me: failed program was:" >&5
16001 sed 's/^/| /' conftest.
$ac_ext >&5
16004 rm -f conftest.err conftest.
$ac_objext \
16005 conftest
$ac_exeext conftest.
$ac_ext
16006 if test "$ac_cv_search_opendir" = no
; then
16007 for ac_lib
in dir
; do
16008 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16009 cat >conftest.
$ac_ext <<_ACEOF
16012 cat confdefs.h
>>conftest.
$ac_ext
16013 cat >>conftest.
$ac_ext <<_ACEOF
16014 /* end confdefs.h. */
16016 /* Override any gcc2 internal prototype to avoid an error. */
16020 /* We use char because int might match the return type of a gcc2
16021 builtin and then its argument prototype would still apply. */
16031 rm -f conftest.
$ac_objext conftest
$ac_exeext
16032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16033 (eval $ac_link) 2>conftest.er1
16035 grep -v '^ *+' conftest.er1
>conftest.err
16037 cat conftest.err
>&5
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); } &&
16040 { ac_try
='test -z "$ac_c_werror_flag"
16041 || test ! -s conftest.err'
16042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16043 (eval $ac_try) 2>&5
16045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046 (exit $ac_status); }; } &&
16047 { ac_try
='test -s conftest$ac_exeext'
16048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16049 (eval $ac_try) 2>&5
16051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16052 (exit $ac_status); }; }; then
16053 ac_cv_search_opendir
="-l$ac_lib"
16056 echo "$as_me: failed program was:" >&5
16057 sed 's/^/| /' conftest.
$ac_ext >&5
16060 rm -f conftest.err conftest.
$ac_objext \
16061 conftest
$ac_exeext conftest.
$ac_ext
16064 LIBS
=$ac_func_search_save_LIBS
16066 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
16067 echo "${ECHO_T}$ac_cv_search_opendir" >&6
16068 if test "$ac_cv_search_opendir" != no
; then
16069 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
16074 echo "$as_me:$LINENO: checking for library containing opendir" >&5
16075 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
16076 if test "${ac_cv_search_opendir+set}" = set; then
16077 echo $ECHO_N "(cached) $ECHO_C" >&6
16079 ac_func_search_save_LIBS
=$LIBS
16080 ac_cv_search_opendir
=no
16081 cat >conftest.
$ac_ext <<_ACEOF
16084 cat confdefs.h
>>conftest.
$ac_ext
16085 cat >>conftest.
$ac_ext <<_ACEOF
16086 /* end confdefs.h. */
16088 /* Override any gcc2 internal prototype to avoid an error. */
16092 /* We use char because int might match the return type of a gcc2
16093 builtin and then its argument prototype would still apply. */
16103 rm -f conftest.
$ac_objext conftest
$ac_exeext
16104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16105 (eval $ac_link) 2>conftest.er1
16107 grep -v '^ *+' conftest.er1
>conftest.err
16109 cat conftest.err
>&5
16110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16111 (exit $ac_status); } &&
16112 { ac_try
='test -z "$ac_c_werror_flag"
16113 || test ! -s conftest.err'
16114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16115 (eval $ac_try) 2>&5
16117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118 (exit $ac_status); }; } &&
16119 { ac_try
='test -s conftest$ac_exeext'
16120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16121 (eval $ac_try) 2>&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); }; }; then
16125 ac_cv_search_opendir
="none required"
16127 echo "$as_me: failed program was:" >&5
16128 sed 's/^/| /' conftest.
$ac_ext >&5
16131 rm -f conftest.err conftest.
$ac_objext \
16132 conftest
$ac_exeext conftest.
$ac_ext
16133 if test "$ac_cv_search_opendir" = no
; then
16134 for ac_lib
in x
; do
16135 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16136 cat >conftest.
$ac_ext <<_ACEOF
16139 cat confdefs.h
>>conftest.
$ac_ext
16140 cat >>conftest.
$ac_ext <<_ACEOF
16141 /* end confdefs.h. */
16143 /* Override any gcc2 internal prototype to avoid an error. */
16147 /* We use char because int might match the return type of a gcc2
16148 builtin and then its argument prototype would still apply. */
16158 rm -f conftest.
$ac_objext conftest
$ac_exeext
16159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16160 (eval $ac_link) 2>conftest.er1
16162 grep -v '^ *+' conftest.er1
>conftest.err
16164 cat conftest.err
>&5
16165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16166 (exit $ac_status); } &&
16167 { ac_try
='test -z "$ac_c_werror_flag"
16168 || test ! -s conftest.err'
16169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16170 (eval $ac_try) 2>&5
16172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173 (exit $ac_status); }; } &&
16174 { ac_try
='test -s conftest$ac_exeext'
16175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16176 (eval $ac_try) 2>&5
16178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16179 (exit $ac_status); }; }; then
16180 ac_cv_search_opendir
="-l$ac_lib"
16183 echo "$as_me: failed program was:" >&5
16184 sed 's/^/| /' conftest.
$ac_ext >&5
16187 rm -f conftest.err conftest.
$ac_objext \
16188 conftest
$ac_exeext conftest.
$ac_ext
16191 LIBS
=$ac_func_search_save_LIBS
16193 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
16194 echo "${ECHO_T}$ac_cv_search_opendir" >&6
16195 if test "$ac_cv_search_opendir" != no
; then
16196 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
16202 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
16203 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
16204 if test "${gcc_cv_header_string+set}" = set; then
16205 echo $ECHO_N "(cached) $ECHO_C" >&6
16207 cat >conftest.
$ac_ext <<_ACEOF
16210 cat confdefs.h
>>conftest.
$ac_ext
16211 cat >>conftest.
$ac_ext <<_ACEOF
16212 /* end confdefs.h. */
16213 #include <string.h>
16214 #include <strings.h>
16223 rm -f conftest.
$ac_objext
16224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16225 (eval $ac_compile) 2>conftest.er1
16227 grep -v '^ *+' conftest.er1
>conftest.err
16229 cat conftest.err
>&5
16230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16231 (exit $ac_status); } &&
16232 { ac_try
='test -z "$ac_c_werror_flag"
16233 || test ! -s conftest.err'
16234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16235 (eval $ac_try) 2>&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); }; } &&
16239 { ac_try
='test -s conftest.$ac_objext'
16240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16241 (eval $ac_try) 2>&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); }; }; then
16245 gcc_cv_header_string
=yes
16247 echo "$as_me: failed program was:" >&5
16248 sed 's/^/| /' conftest.
$ac_ext >&5
16250 gcc_cv_header_string
=no
16252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16254 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
16255 echo "${ECHO_T}$gcc_cv_header_string" >&6
16256 if test $gcc_cv_header_string = yes; then
16258 cat >>confdefs.h
<<\_ACEOF
16259 #define STRING_WITH_STRINGS 1
16271 for ac_func
in fcntl getpagesize setitimer sysconf fdopen getuid getgid
16273 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16274 echo "$as_me:$LINENO: checking for $ac_func" >&5
16275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16276 if eval "test \"\${$as_ac_var+set}\" = set"; then
16277 echo $ECHO_N "(cached) $ECHO_C" >&6
16279 cat >conftest.
$ac_ext <<_ACEOF
16282 cat confdefs.h
>>conftest.
$ac_ext
16283 cat >>conftest.
$ac_ext <<_ACEOF
16284 /* end confdefs.h. */
16285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16287 #define $ac_func innocuous_$ac_func
16289 /* System header to define __stub macros and hopefully few prototypes,
16290 which can conflict with char $ac_func (); below.
16291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16292 <limits.h> exists even on freestanding compilers. */
16295 # include <limits.h>
16297 # include <assert.h>
16302 /* Override any gcc2 internal prototype to avoid an error. */
16307 /* We use char because int might match the return type of a gcc2
16308 builtin and then its argument prototype would still apply. */
16310 /* The GNU C library defines this for functions which it implements
16311 to always fail with ENOSYS. Some functions are actually named
16312 something starting with __ and the normal name is an alias. */
16313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16316 char (*f) () = $ac_func;
16325 return f != $ac_func;
16330 rm -f conftest.
$ac_objext conftest
$ac_exeext
16331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16332 (eval $ac_link) 2>conftest.er1
16334 grep -v '^ *+' conftest.er1
>conftest.err
16336 cat conftest.err
>&5
16337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 (exit $ac_status); } &&
16339 { ac_try
='test -z "$ac_c_werror_flag"
16340 || test ! -s conftest.err'
16341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16342 (eval $ac_try) 2>&5
16344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16345 (exit $ac_status); }; } &&
16346 { ac_try
='test -s conftest$ac_exeext'
16347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16348 (eval $ac_try) 2>&5
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); }; }; then
16352 eval "$as_ac_var=yes"
16354 echo "$as_me: failed program was:" >&5
16355 sed 's/^/| /' conftest.
$ac_ext >&5
16357 eval "$as_ac_var=no"
16359 rm -f conftest.err conftest.
$ac_objext \
16360 conftest
$ac_exeext conftest.
$ac_ext
16362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16364 if test `eval echo '${'$as_ac_var'}'` = yes; then
16365 cat >>confdefs.h
<<_ACEOF
16366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16373 for ac_func
in strtoull
16375 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16376 echo "$as_me:$LINENO: checking for $ac_func" >&5
16377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16378 if eval "test \"\${$as_ac_var+set}\" = set"; then
16379 echo $ECHO_N "(cached) $ECHO_C" >&6
16381 cat >conftest.
$ac_ext <<_ACEOF
16384 cat confdefs.h
>>conftest.
$ac_ext
16385 cat >>conftest.
$ac_ext <<_ACEOF
16386 /* end confdefs.h. */
16387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16389 #define $ac_func innocuous_$ac_func
16391 /* System header to define __stub macros and hopefully few prototypes,
16392 which can conflict with char $ac_func (); below.
16393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16394 <limits.h> exists even on freestanding compilers. */
16397 # include <limits.h>
16399 # include <assert.h>
16404 /* Override any gcc2 internal prototype to avoid an error. */
16409 /* We use char because int might match the return type of a gcc2
16410 builtin and then its argument prototype would still apply. */
16412 /* The GNU C library defines this for functions which it implements
16413 to always fail with ENOSYS. Some functions are actually named
16414 something starting with __ and the normal name is an alias. */
16415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16418 char (*f) () = $ac_func;
16427 return f != $ac_func;
16432 rm -f conftest.
$ac_objext conftest
$ac_exeext
16433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16434 (eval $ac_link) 2>conftest.er1
16436 grep -v '^ *+' conftest.er1
>conftest.err
16438 cat conftest.err
>&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); } &&
16441 { ac_try
='test -z "$ac_c_werror_flag"
16442 || test ! -s conftest.err'
16443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16444 (eval $ac_try) 2>&5
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); }; } &&
16448 { ac_try
='test -s conftest$ac_exeext'
16449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16450 (eval $ac_try) 2>&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); }; }; then
16454 eval "$as_ac_var=yes"
16456 echo "$as_me: failed program was:" >&5
16457 sed 's/^/| /' conftest.
$ac_ext >&5
16459 eval "$as_ac_var=no"
16461 rm -f conftest.err conftest.
$ac_objext \
16462 conftest
$ac_exeext conftest.
$ac_ext
16464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16466 if test `eval echo '${'$as_ac_var'}'` = yes; then
16467 cat >>confdefs.h
<<_ACEOF
16468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16475 echo "$as_me:$LINENO: checking whether basename is declared" >&5
16476 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
16477 if test "${ac_cv_have_decl_basename+set}" = set; then
16478 echo $ECHO_N "(cached) $ECHO_C" >&6
16480 cat >conftest.
$ac_ext <<_ACEOF
16483 cat confdefs.h
>>conftest.
$ac_ext
16484 cat >>conftest.
$ac_ext <<_ACEOF
16485 /* end confdefs.h. */
16486 $ac_includes_default
16491 char *p = (char *) basename;
16498 rm -f conftest.
$ac_objext
16499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16500 (eval $ac_compile) 2>conftest.er1
16502 grep -v '^ *+' conftest.er1
>conftest.err
16504 cat conftest.err
>&5
16505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506 (exit $ac_status); } &&
16507 { ac_try
='test -z "$ac_c_werror_flag"
16508 || test ! -s conftest.err'
16509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510 (eval $ac_try) 2>&5
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); }; } &&
16514 { ac_try
='test -s conftest.$ac_objext'
16515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516 (eval $ac_try) 2>&5
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); }; }; then
16520 ac_cv_have_decl_basename
=yes
16522 echo "$as_me: failed program was:" >&5
16523 sed 's/^/| /' conftest.
$ac_ext >&5
16525 ac_cv_have_decl_basename
=no
16527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16529 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
16530 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
16531 if test $ac_cv_have_decl_basename = yes; then
16533 cat >>confdefs.h
<<_ACEOF
16534 #define HAVE_DECL_BASENAME 1
16539 cat >>confdefs.h
<<_ACEOF
16540 #define HAVE_DECL_BASENAME 0
16547 echo "$as_me:$LINENO: checking whether ftello is declared" >&5
16548 echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6
16549 if test "${ac_cv_have_decl_ftello+set}" = set; then
16550 echo $ECHO_N "(cached) $ECHO_C" >&6
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
16563 char *p = (char *) ftello;
16570 rm -f conftest.
$ac_objext
16571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16572 (eval $ac_compile) 2>conftest.er1
16574 grep -v '^ *+' conftest.er1
>conftest.err
16576 cat conftest.err
>&5
16577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16578 (exit $ac_status); } &&
16579 { ac_try
='test -z "$ac_c_werror_flag"
16580 || test ! -s conftest.err'
16581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16582 (eval $ac_try) 2>&5
16584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585 (exit $ac_status); }; } &&
16586 { ac_try
='test -s conftest.$ac_objext'
16587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16588 (eval $ac_try) 2>&5
16590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16591 (exit $ac_status); }; }; then
16592 ac_cv_have_decl_ftello
=yes
16594 echo "$as_me: failed program was:" >&5
16595 sed 's/^/| /' conftest.
$ac_ext >&5
16597 ac_cv_have_decl_ftello
=no
16599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16601 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
16602 echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6
16603 if test $ac_cv_have_decl_ftello = yes; then
16605 cat >>confdefs.h
<<_ACEOF
16606 #define HAVE_DECL_FTELLO 1
16611 cat >>confdefs.h
<<_ACEOF
16612 #define HAVE_DECL_FTELLO 0
16619 echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
16620 echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6
16621 if test "${ac_cv_have_decl_ftello64+set}" = set; then
16622 echo $ECHO_N "(cached) $ECHO_C" >&6
16624 cat >conftest.
$ac_ext <<_ACEOF
16627 cat confdefs.h
>>conftest.
$ac_ext
16628 cat >>conftest.
$ac_ext <<_ACEOF
16629 /* end confdefs.h. */
16630 $ac_includes_default
16635 char *p = (char *) ftello64;
16642 rm -f conftest.
$ac_objext
16643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16644 (eval $ac_compile) 2>conftest.er1
16646 grep -v '^ *+' conftest.er1
>conftest.err
16648 cat conftest.err
>&5
16649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16650 (exit $ac_status); } &&
16651 { ac_try
='test -z "$ac_c_werror_flag"
16652 || test ! -s conftest.err'
16653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16654 (eval $ac_try) 2>&5
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); }; } &&
16658 { ac_try
='test -s conftest.$ac_objext'
16659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16660 (eval $ac_try) 2>&5
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); }; }; then
16664 ac_cv_have_decl_ftello64
=yes
16666 echo "$as_me: failed program was:" >&5
16667 sed 's/^/| /' conftest.
$ac_ext >&5
16669 ac_cv_have_decl_ftello64
=no
16671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16673 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
16674 echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6
16675 if test $ac_cv_have_decl_ftello64 = yes; then
16677 cat >>confdefs.h
<<_ACEOF
16678 #define HAVE_DECL_FTELLO64 1
16683 cat >>confdefs.h
<<_ACEOF
16684 #define HAVE_DECL_FTELLO64 0
16691 echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
16692 echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6
16693 if test "${ac_cv_have_decl_fseeko+set}" = set; then
16694 echo $ECHO_N "(cached) $ECHO_C" >&6
16696 cat >conftest.
$ac_ext <<_ACEOF
16699 cat confdefs.h
>>conftest.
$ac_ext
16700 cat >>conftest.
$ac_ext <<_ACEOF
16701 /* end confdefs.h. */
16702 $ac_includes_default
16707 char *p = (char *) fseeko;
16714 rm -f conftest.
$ac_objext
16715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16716 (eval $ac_compile) 2>conftest.er1
16718 grep -v '^ *+' conftest.er1
>conftest.err
16720 cat conftest.err
>&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); } &&
16723 { ac_try
='test -z "$ac_c_werror_flag"
16724 || test ! -s conftest.err'
16725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16726 (eval $ac_try) 2>&5
16728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729 (exit $ac_status); }; } &&
16730 { ac_try
='test -s conftest.$ac_objext'
16731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16732 (eval $ac_try) 2>&5
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); }; }; then
16736 ac_cv_have_decl_fseeko
=yes
16738 echo "$as_me: failed program was:" >&5
16739 sed 's/^/| /' conftest.
$ac_ext >&5
16741 ac_cv_have_decl_fseeko
=no
16743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16745 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
16746 echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6
16747 if test $ac_cv_have_decl_fseeko = yes; then
16749 cat >>confdefs.h
<<_ACEOF
16750 #define HAVE_DECL_FSEEKO 1
16755 cat >>confdefs.h
<<_ACEOF
16756 #define HAVE_DECL_FSEEKO 0
16763 echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
16764 echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6
16765 if test "${ac_cv_have_decl_fseeko64+set}" = set; then
16766 echo $ECHO_N "(cached) $ECHO_C" >&6
16768 cat >conftest.
$ac_ext <<_ACEOF
16771 cat confdefs.h
>>conftest.
$ac_ext
16772 cat >>conftest.
$ac_ext <<_ACEOF
16773 /* end confdefs.h. */
16774 $ac_includes_default
16779 char *p = (char *) fseeko64;
16786 rm -f conftest.
$ac_objext
16787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16788 (eval $ac_compile) 2>conftest.er1
16790 grep -v '^ *+' conftest.er1
>conftest.err
16792 cat conftest.err
>&5
16793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16794 (exit $ac_status); } &&
16795 { ac_try
='test -z "$ac_c_werror_flag"
16796 || test ! -s conftest.err'
16797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16798 (eval $ac_try) 2>&5
16800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); }; } &&
16802 { ac_try
='test -s conftest.$ac_objext'
16803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16804 (eval $ac_try) 2>&5
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); }; }; then
16808 ac_cv_have_decl_fseeko64
=yes
16810 echo "$as_me: failed program was:" >&5
16811 sed 's/^/| /' conftest.
$ac_ext >&5
16813 ac_cv_have_decl_fseeko64
=no
16815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16817 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
16818 echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6
16819 if test $ac_cv_have_decl_fseeko64 = yes; then
16821 cat >>confdefs.h
<<_ACEOF
16822 #define HAVE_DECL_FSEEKO64 1
16827 cat >>confdefs.h
<<_ACEOF
16828 #define HAVE_DECL_FSEEKO64 0
16838 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
16840 cat >>confdefs.h
<<\_ACEOF
16841 #define USE_BINARY_FOPEN 1
16846 echo "$as_me:$LINENO: checking whether ffs is declared" >&5
16847 echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
16848 if test "${ac_cv_have_decl_ffs+set}" = set; then
16849 echo $ECHO_N "(cached) $ECHO_C" >&6
16851 cat >conftest.
$ac_ext <<_ACEOF
16854 cat confdefs.h
>>conftest.
$ac_ext
16855 cat >>conftest.
$ac_ext <<_ACEOF
16856 /* end confdefs.h. */
16857 $ac_includes_default
16862 char *p = (char *) ffs;
16869 rm -f conftest.
$ac_objext
16870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16871 (eval $ac_compile) 2>conftest.er1
16873 grep -v '^ *+' conftest.er1
>conftest.err
16875 cat conftest.err
>&5
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); } &&
16878 { ac_try
='test -z "$ac_c_werror_flag"
16879 || test ! -s conftest.err'
16880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16881 (eval $ac_try) 2>&5
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); }; } &&
16885 { ac_try
='test -s conftest.$ac_objext'
16886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16887 (eval $ac_try) 2>&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); }; }; then
16891 ac_cv_have_decl_ffs
=yes
16893 echo "$as_me: failed program was:" >&5
16894 sed 's/^/| /' conftest.
$ac_ext >&5
16896 ac_cv_have_decl_ffs
=no
16898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16900 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
16901 echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
16902 if test $ac_cv_have_decl_ffs = yes; then
16904 cat >>confdefs.h
<<_ACEOF
16905 #define HAVE_DECL_FFS 1
16910 cat >>confdefs.h
<<_ACEOF
16911 #define HAVE_DECL_FFS 0
16918 echo "$as_me:$LINENO: checking whether free is declared" >&5
16919 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
16920 if test "${ac_cv_have_decl_free+set}" = set; then
16921 echo $ECHO_N "(cached) $ECHO_C" >&6
16923 cat >conftest.
$ac_ext <<_ACEOF
16926 cat confdefs.h
>>conftest.
$ac_ext
16927 cat >>conftest.
$ac_ext <<_ACEOF
16928 /* end confdefs.h. */
16929 $ac_includes_default
16934 char *p = (char *) free;
16941 rm -f conftest.
$ac_objext
16942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16943 (eval $ac_compile) 2>conftest.er1
16945 grep -v '^ *+' conftest.er1
>conftest.err
16947 cat conftest.err
>&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); } &&
16950 { ac_try
='test -z "$ac_c_werror_flag"
16951 || test ! -s conftest.err'
16952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16953 (eval $ac_try) 2>&5
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); }; } &&
16957 { ac_try
='test -s conftest.$ac_objext'
16958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16959 (eval $ac_try) 2>&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); }; }; then
16963 ac_cv_have_decl_free
=yes
16965 echo "$as_me: failed program was:" >&5
16966 sed 's/^/| /' conftest.
$ac_ext >&5
16968 ac_cv_have_decl_free
=no
16970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16972 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
16973 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
16974 if test $ac_cv_have_decl_free = yes; then
16976 cat >>confdefs.h
<<_ACEOF
16977 #define HAVE_DECL_FREE 1
16982 cat >>confdefs.h
<<_ACEOF
16983 #define HAVE_DECL_FREE 0
16990 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
16991 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
16992 if test "${ac_cv_have_decl_getenv+set}" = set; then
16993 echo $ECHO_N "(cached) $ECHO_C" >&6
16995 cat >conftest.
$ac_ext <<_ACEOF
16998 cat confdefs.h
>>conftest.
$ac_ext
16999 cat >>conftest.
$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17001 $ac_includes_default
17006 char *p = (char *) getenv;
17013 rm -f conftest.
$ac_objext
17014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17015 (eval $ac_compile) 2>conftest.er1
17017 grep -v '^ *+' conftest.er1
>conftest.err
17019 cat conftest.err
>&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); } &&
17022 { ac_try
='test -z "$ac_c_werror_flag"
17023 || test ! -s conftest.err'
17024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17025 (eval $ac_try) 2>&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); }; } &&
17029 { ac_try
='test -s conftest.$ac_objext'
17030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17031 (eval $ac_try) 2>&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); }; }; then
17035 ac_cv_have_decl_getenv
=yes
17037 echo "$as_me: failed program was:" >&5
17038 sed 's/^/| /' conftest.
$ac_ext >&5
17040 ac_cv_have_decl_getenv
=no
17042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17044 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
17045 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
17046 if test $ac_cv_have_decl_getenv = yes; then
17048 cat >>confdefs.h
<<_ACEOF
17049 #define HAVE_DECL_GETENV 1
17054 cat >>confdefs.h
<<_ACEOF
17055 #define HAVE_DECL_GETENV 0
17062 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
17063 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
17064 if test "${ac_cv_have_decl_malloc+set}" = set; then
17065 echo $ECHO_N "(cached) $ECHO_C" >&6
17067 cat >conftest.
$ac_ext <<_ACEOF
17070 cat confdefs.h
>>conftest.
$ac_ext
17071 cat >>conftest.
$ac_ext <<_ACEOF
17072 /* end confdefs.h. */
17073 $ac_includes_default
17078 char *p = (char *) malloc;
17085 rm -f conftest.
$ac_objext
17086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17087 (eval $ac_compile) 2>conftest.er1
17089 grep -v '^ *+' conftest.er1
>conftest.err
17091 cat conftest.err
>&5
17092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17093 (exit $ac_status); } &&
17094 { ac_try
='test -z "$ac_c_werror_flag"
17095 || test ! -s conftest.err'
17096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17097 (eval $ac_try) 2>&5
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); }; } &&
17101 { ac_try
='test -s conftest.$ac_objext'
17102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17103 (eval $ac_try) 2>&5
17105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106 (exit $ac_status); }; }; then
17107 ac_cv_have_decl_malloc
=yes
17109 echo "$as_me: failed program was:" >&5
17110 sed 's/^/| /' conftest.
$ac_ext >&5
17112 ac_cv_have_decl_malloc
=no
17114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17116 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
17117 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
17118 if test $ac_cv_have_decl_malloc = yes; then
17120 cat >>confdefs.h
<<_ACEOF
17121 #define HAVE_DECL_MALLOC 1
17126 cat >>confdefs.h
<<_ACEOF
17127 #define HAVE_DECL_MALLOC 0
17134 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
17135 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
17136 if test "${ac_cv_have_decl_realloc+set}" = set; then
17137 echo $ECHO_N "(cached) $ECHO_C" >&6
17139 cat >conftest.
$ac_ext <<_ACEOF
17142 cat confdefs.h
>>conftest.
$ac_ext
17143 cat >>conftest.
$ac_ext <<_ACEOF
17144 /* end confdefs.h. */
17145 $ac_includes_default
17150 char *p = (char *) realloc;
17157 rm -f conftest.
$ac_objext
17158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17159 (eval $ac_compile) 2>conftest.er1
17161 grep -v '^ *+' conftest.er1
>conftest.err
17163 cat conftest.err
>&5
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); } &&
17166 { ac_try
='test -z "$ac_c_werror_flag"
17167 || test ! -s conftest.err'
17168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17169 (eval $ac_try) 2>&5
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); }; } &&
17173 { ac_try
='test -s conftest.$ac_objext'
17174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17175 (eval $ac_try) 2>&5
17177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17178 (exit $ac_status); }; }; then
17179 ac_cv_have_decl_realloc
=yes
17181 echo "$as_me: failed program was:" >&5
17182 sed 's/^/| /' conftest.
$ac_ext >&5
17184 ac_cv_have_decl_realloc
=no
17186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17188 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
17189 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
17190 if test $ac_cv_have_decl_realloc = yes; then
17192 cat >>confdefs.h
<<_ACEOF
17193 #define HAVE_DECL_REALLOC 1
17198 cat >>confdefs.h
<<_ACEOF
17199 #define HAVE_DECL_REALLOC 0
17206 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
17207 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
17208 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
17209 echo $ECHO_N "(cached) $ECHO_C" >&6
17211 cat >conftest.
$ac_ext <<_ACEOF
17214 cat confdefs.h
>>conftest.
$ac_ext
17215 cat >>conftest.
$ac_ext <<_ACEOF
17216 /* end confdefs.h. */
17217 $ac_includes_default
17222 char *p = (char *) stpcpy;
17229 rm -f conftest.
$ac_objext
17230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17231 (eval $ac_compile) 2>conftest.er1
17233 grep -v '^ *+' conftest.er1
>conftest.err
17235 cat conftest.err
>&5
17236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 (exit $ac_status); } &&
17238 { ac_try
='test -z "$ac_c_werror_flag"
17239 || test ! -s conftest.err'
17240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17241 (eval $ac_try) 2>&5
17243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17244 (exit $ac_status); }; } &&
17245 { ac_try
='test -s conftest.$ac_objext'
17246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17247 (eval $ac_try) 2>&5
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); }; }; then
17251 ac_cv_have_decl_stpcpy
=yes
17253 echo "$as_me: failed program was:" >&5
17254 sed 's/^/| /' conftest.
$ac_ext >&5
17256 ac_cv_have_decl_stpcpy
=no
17258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17260 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
17261 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
17262 if test $ac_cv_have_decl_stpcpy = yes; then
17264 cat >>confdefs.h
<<_ACEOF
17265 #define HAVE_DECL_STPCPY 1
17270 cat >>confdefs.h
<<_ACEOF
17271 #define HAVE_DECL_STPCPY 0
17278 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
17279 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
17280 if test "${ac_cv_have_decl_strstr+set}" = set; then
17281 echo $ECHO_N "(cached) $ECHO_C" >&6
17283 cat >conftest.
$ac_ext <<_ACEOF
17286 cat confdefs.h
>>conftest.
$ac_ext
17287 cat >>conftest.
$ac_ext <<_ACEOF
17288 /* end confdefs.h. */
17289 $ac_includes_default
17294 char *p = (char *) strstr;
17301 rm -f conftest.
$ac_objext
17302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17303 (eval $ac_compile) 2>conftest.er1
17305 grep -v '^ *+' conftest.er1
>conftest.err
17307 cat conftest.err
>&5
17308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17309 (exit $ac_status); } &&
17310 { ac_try
='test -z "$ac_c_werror_flag"
17311 || test ! -s conftest.err'
17312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17313 (eval $ac_try) 2>&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); }; } &&
17317 { ac_try
='test -s conftest.$ac_objext'
17318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17319 (eval $ac_try) 2>&5
17321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322 (exit $ac_status); }; }; then
17323 ac_cv_have_decl_strstr
=yes
17325 echo "$as_me: failed program was:" >&5
17326 sed 's/^/| /' conftest.
$ac_ext >&5
17328 ac_cv_have_decl_strstr
=no
17330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17332 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
17333 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
17334 if test $ac_cv_have_decl_strstr = yes; then
17336 cat >>confdefs.h
<<_ACEOF
17337 #define HAVE_DECL_STRSTR 1
17342 cat >>confdefs.h
<<_ACEOF
17343 #define HAVE_DECL_STRSTR 0
17350 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
17351 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
17352 if test "${ac_cv_have_decl_snprintf+set}" = set; then
17353 echo $ECHO_N "(cached) $ECHO_C" >&6
17355 cat >conftest.
$ac_ext <<_ACEOF
17358 cat confdefs.h
>>conftest.
$ac_ext
17359 cat >>conftest.
$ac_ext <<_ACEOF
17360 /* end confdefs.h. */
17361 $ac_includes_default
17366 char *p = (char *) snprintf;
17373 rm -f conftest.
$ac_objext
17374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17375 (eval $ac_compile) 2>conftest.er1
17377 grep -v '^ *+' conftest.er1
>conftest.err
17379 cat conftest.err
>&5
17380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17381 (exit $ac_status); } &&
17382 { ac_try
='test -z "$ac_c_werror_flag"
17383 || test ! -s conftest.err'
17384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17385 (eval $ac_try) 2>&5
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); }; } &&
17389 { ac_try
='test -s conftest.$ac_objext'
17390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391 (eval $ac_try) 2>&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; }; then
17395 ac_cv_have_decl_snprintf
=yes
17397 echo "$as_me: failed program was:" >&5
17398 sed 's/^/| /' conftest.
$ac_ext >&5
17400 ac_cv_have_decl_snprintf
=no
17402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17404 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
17405 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
17406 if test $ac_cv_have_decl_snprintf = yes; then
17408 cat >>confdefs.h
<<_ACEOF
17409 #define HAVE_DECL_SNPRINTF 1
17414 cat >>confdefs.h
<<_ACEOF
17415 #define HAVE_DECL_SNPRINTF 0
17422 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
17423 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
17424 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
17425 echo $ECHO_N "(cached) $ECHO_C" >&6
17427 cat >conftest.
$ac_ext <<_ACEOF
17430 cat confdefs.h
>>conftest.
$ac_ext
17431 cat >>conftest.
$ac_ext <<_ACEOF
17432 /* end confdefs.h. */
17433 $ac_includes_default
17438 char *p = (char *) vsnprintf;
17445 rm -f conftest.
$ac_objext
17446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17447 (eval $ac_compile) 2>conftest.er1
17449 grep -v '^ *+' conftest.er1
>conftest.err
17451 cat conftest.err
>&5
17452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17453 (exit $ac_status); } &&
17454 { ac_try
='test -z "$ac_c_werror_flag"
17455 || test ! -s conftest.err'
17456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17457 (eval $ac_try) 2>&5
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); }; } &&
17461 { ac_try
='test -s conftest.$ac_objext'
17462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17463 (eval $ac_try) 2>&5
17465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466 (exit $ac_status); }; }; then
17467 ac_cv_have_decl_vsnprintf
=yes
17469 echo "$as_me: failed program was:" >&5
17470 sed 's/^/| /' conftest.
$ac_ext >&5
17472 ac_cv_have_decl_vsnprintf
=no
17474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17476 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
17477 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
17478 if test $ac_cv_have_decl_vsnprintf = yes; then
17480 cat >>confdefs.h
<<_ACEOF
17481 #define HAVE_DECL_VSNPRINTF 1
17486 cat >>confdefs.h
<<_ACEOF
17487 #define HAVE_DECL_VSNPRINTF 0
17495 # If we are configured native, pick a core file support file.
17499 if test "${target}" = "${host}"; then
17501 alpha
*-*-freebsd* | alpha
*-*-kfreebsd*-gnu)
17505 COREFILE
=trad-core.lo
17506 TRAD_HEADER
='"hosts/alphalinux.h"'
17508 alpha
*-*-netbsd* | alpha
*-*-openbsd*)
17509 COREFILE
=netbsd-core.lo
17511 alpha
*-*-*) COREFILE
=osf-core.lo
;;
17512 arm-
*-freebsd* | arm-
*-kfreebsd*-gnu)
17514 arm-
*-netbsd* | arm-
*-openbsd*)
17515 COREFILE
=netbsd-core.lo
17517 arm-
*-riscix) COREFILE
=trad-core.lo
;;
17518 hppa
*-*-hpux*) COREFILE
=hpux-core.lo
;;
17519 hppa
*-*-hiux*) COREFILE
=hpux-core.lo
;;
17520 hppa
*-*-mpeix*) COREFILE
=hpux-core.lo
;;
17521 hppa
*-*-bsd*) COREFILE
="hpux-core.lo hppabsd-core.lo"
17522 COREFLAG
="-DHPUX_CORE -DHPPABSD_CORE" ;;
17523 hppa
*-*-netbsd* | hppa
*-*-openbsd*)
17524 COREFILE
=netbsd-core.lo
17528 COREFILE
=trad-core.lo
17529 TRAD_HEADER
='"hosts/i370linux.h"'
17532 i
[3-7]86-sequent-bsd*)
17533 COREFILE
=trad-core.lo
17534 TRAD_HEADER
='"hosts/symmetry.h"'
17536 i
[3-7]86-sequent-sysv4*) ;;
17537 i
[3-7]86-sequent-sysv*)
17538 COREFILE
=trad-core.lo
17539 TRAD_HEADER
='"hosts/symmetry.h"'
17544 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
*)
17545 COREFILE
=trad-core.lo
17546 TRAD_HEADER
='"hosts/i386bsd.h"'
17548 i
[3-7]86-*-freebsd* | i
[3-7]86-*-kfreebsd*-gnu | i
[3-7]86-*-dragonfly*)
17550 TRAD_HEADER
='"hosts/i386bsd.h"'
17552 i
[3-7]86-*-netbsd* | i
[3-7]86-*-knetbsd*-gnu | i
[3-7]86-*-openbsd*)
17553 COREFILE
=netbsd-core.lo
17555 i
[3-7]86-esix-sysv3*)
17556 COREFILE
=trad-core.lo
17557 TRAD_HEADER
='"hosts/esix.h"'
17559 i
[3-7]86-*-sco3.2v5
*)
17560 COREFILE
=sco5-core.lo
17562 i
[3-7]86-*-sco* | i
[3-7]86-*-isc*)
17563 COREFILE
=trad-core.lo
17564 TRAD_HEADER
='"hosts/i386sco.h"'
17567 COREFILE
=trad-core.lo
17568 TRAD_HEADER
='"hosts/i386mach3.h"'
17570 i
[3-7]86-*-linux-*)
17571 COREFILE
=trad-core.lo
17572 TRAD_HEADER
='"hosts/i386linux.h"'
17574 i
[3-7]86-*-isc*) COREFILE
=trad-core.lo
;;
17575 i
[3-7]86-*-aix*) COREFILE
=aix386-core.lo
;;
17576 i860-
*-mach3* | i860-
*-osf1*)
17577 COREFILE
=trad-core.lo
17578 TRAD_HEADER
='"hosts/i860mach3.h"'
17580 mips-
*-netbsd* | mips
*-*-openbsd*)
17581 COREFILE
=netbsd-core.lo
17584 COREFILE
=trad-core.lo
17585 TRAD_HEADER
='"hosts/decstation.h"'
17587 mips-sgi-irix4
*) COREFILE
=irix-core.lo
;;
17588 mips-sgi-irix5
*) COREFILE
=irix-core.lo
;;
17589 mips-sgi-irix6
*) COREFILE
=irix-core.lo
;;
17591 mips-
*-sysv* | mips-
*-riscos*)
17592 COREFILE
=trad-core.lo
17593 TRAD_HEADER
='"hosts/riscos.h"'
17596 COREFILE
=trad-core.lo
17597 TRAD_HEADER
='"hosts/news-mips.h"'
17600 COREFILE
=trad-core.lo
17601 TRAD_HEADER
='"hosts/dpx2.h"'
17603 m68
*-hp-hpux*) COREFILE
=hpux-core.lo
;;
17605 COREFILE
=trad-core.lo
17606 TRAD_HEADER
='"hosts/hp300bsd.h"'
17609 COREFILE
=trad-core.lo
17610 TRAD_HEADER
='"hosts/m68klinux.h"'
17612 m68
*-motorola-sysv*)
17613 COREFILE
=trad-core.lo
17614 TRAD_HEADER
='"hosts/delta68.h"'
17617 COREFILE
=trad-core.lo
17618 TRAD_HEADER
='"hosts/news.h"'
17620 m68
*-*-netbsd* | m68
*-*-openbsd*)
17621 COREFILE
=netbsd-core.lo
17624 COREFILE
=trad-core.lo
17625 TRAD_HEADER
='"hosts/m68kaux.h"'
17629 m88
*-motorola-sysv*)
17630 COREFILE
=ptrace-core.lo
17633 COREFILE
=trad-core.lo
17634 TRAD_HEADER
='"hosts/m88kmach3.h"'
17637 COREFILE
=netbsd-core.lo
17640 COREFILE
=trad-core.lo
17641 TRAD_HEADER
='"hosts/pc532mach.h"'
17643 ns32k-
*-netbsd* | ns32k-
*-openbsd*)
17644 COREFILE
=netbsd-core.lo
17647 COREFILE
=lynx-core.lo
17649 rs6000-
*-aix5.
* | powerpc-
*-aix5.
*)
17650 COREFILE
=rs6000-core.lo
17651 COREFLAG
="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
17653 rs6000-
*-aix4.
[3-9]* | powerpc-
*-aix4.
[3-9]*)
17654 COREFILE
=rs6000-core.lo
17655 COREFLAG
="$COREFLAG -DAIX_CORE_DUMPX_CORE"
17656 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
17657 # have c_impl as a member of struct core_dumpx
17658 echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
17659 echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
17660 cat >conftest.
$ac_ext <<_ACEOF
17663 cat confdefs.h
>>conftest.
$ac_ext
17664 cat >>conftest.
$ac_ext <<_ACEOF
17665 /* end confdefs.h. */
17670 struct core_dumpx c; c.c_impl = 0;
17675 rm -f conftest.
$ac_objext
17676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17677 (eval $ac_compile) 2>conftest.er1
17679 grep -v '^ *+' conftest.er1
>conftest.err
17681 cat conftest.err
>&5
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); } &&
17684 { ac_try
='test -z "$ac_c_werror_flag"
17685 || test ! -s conftest.err'
17686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17687 (eval $ac_try) 2>&5
17689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17690 (exit $ac_status); }; } &&
17691 { ac_try
='test -s conftest.$ac_objext'
17692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17693 (eval $ac_try) 2>&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); }; }; then
17698 cat >>confdefs.h
<<\_ACEOF
17699 #define HAVE_ST_C_IMPL 1
17702 echo "$as_me:$LINENO: result: yes" >&5
17703 echo "${ECHO_T}yes" >&6
17705 echo "$as_me: failed program was:" >&5
17706 sed 's/^/| /' conftest.
$ac_ext >&5
17708 echo "$as_me:$LINENO: result: no" >&5
17709 echo "${ECHO_T}no" >&6
17711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17713 rs6000-
*-aix4*) COREFILE
=rs6000-core.lo
;;
17714 rs6000-
*-*) COREFILE
=rs6000-core.lo
;;
17715 powerpc-
*-aix4*) COREFILE
=rs6000-core.lo
;;
17716 powerpc-
*-aix*) COREFILE
=rs6000-core.lo
;;
17717 powerpc-
*-beos*) ;;
17718 powerpc-
*-freebsd* | powerpc-
*-kfreebsd*-gnu)
17720 powerpc-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
17721 powerpc-
*-*bsd
*) COREFILE
=netbsd-core.lo
;;
17722 s390
*-*-*) COREFILE
=trad-core.lo
;;
17723 sh
*-*-netbsd* | sh
*-*-openbsd*)
17724 COREFILE
=netbsd-core.lo
17726 sparc-
*-netbsd* | sparc
*-*-openbsd*)
17727 COREFILE
=netbsd-core.lo
17730 COREFILE
=trad-core.lo
17731 TRAD_HEADER
='"hosts/tahoe.h"'
17733 vax-
*-netbsd* | vax-
*-openbsd*)
17734 COREFILE
=netbsd-core.lo
17737 COREFILE
=trad-core.lo
17738 TRAD_HEADER
='"hosts/vaxult2.h"'
17741 COREFILE
=trad-core.lo
17742 TRAD_HEADER
='"hosts/vaxult2.h"'
17745 COREFILE
=trad-core.lo
17746 TRAD_HEADER
='"hosts/vaxlinux.h"'
17749 COREFILE
=trad-core.lo
17750 TRAD_HEADER
='"hosts/vaxbsd.h"'
17752 x86_64-
*-netbsd* | x86_64-
*-openbsd*)
17753 COREFILE
=netbsd-core.lo
17757 case "$COREFILE" in
17758 aix386-core.lo
) COREFLAG
=-DAIX386_CORE ;;
17759 hppabsd-core.lo
) COREFLAG
=-DHPPABSD_CORE ;;
17760 hpux-core.lo
) COREFLAG
=-DHPUX_CORE ;;
17761 irix-core.lo
) COREFLAG
=-DIRIX_CORE ;;
17762 lynx-core.lo
) COREFLAG
=-DLYNX_CORE ;;
17763 netbsd-core.lo
) COREFLAG
=-DNETBSD_CORE ;;
17764 osf-core.lo
) COREFLAG
=-DOSF_CORE ;;
17765 ptrace-core.lo
) COREFLAG
=-DPTRACE_CORE ;;
17766 rs6000-core.lo
) COREFLAG
="$COREFLAG -DAIX_CORE" ;;
17767 sco5-core.lo
) COREFLAG
="$COREFLAG -DSCO5_CORE" ;;
17768 trad-core.lo
) COREFLAG
="$COREFLAG -DTRAD_CORE" ;;
17771 # ELF corefile support has several flavors, but all of
17772 # them use something called <sys/procfs.h>
17774 for ac_header
in sys
/procfs.h
17776 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17778 echo "$as_me:$LINENO: checking for $ac_header" >&5
17779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17781 echo $ECHO_N "(cached) $ECHO_C" >&6
17783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17786 # Is the header compilable?
17787 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17788 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17789 cat >conftest.
$ac_ext <<_ACEOF
17792 cat confdefs.h
>>conftest.
$ac_ext
17793 cat >>conftest.
$ac_ext <<_ACEOF
17794 /* end confdefs.h. */
17795 $ac_includes_default
17796 #include <$ac_header>
17798 rm -f conftest.
$ac_objext
17799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17800 (eval $ac_compile) 2>conftest.er1
17802 grep -v '^ *+' conftest.er1
>conftest.err
17804 cat conftest.err
>&5
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } &&
17807 { ac_try
='test -z "$ac_c_werror_flag"
17808 || test ! -s conftest.err'
17809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17810 (eval $ac_try) 2>&5
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); }; } &&
17814 { ac_try
='test -s conftest.$ac_objext'
17815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17816 (eval $ac_try) 2>&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); }; }; then
17820 ac_header_compiler
=yes
17822 echo "$as_me: failed program was:" >&5
17823 sed 's/^/| /' conftest.
$ac_ext >&5
17825 ac_header_compiler
=no
17827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17828 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17829 echo "${ECHO_T}$ac_header_compiler" >&6
17831 # Is the header present?
17832 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17833 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17834 cat >conftest.
$ac_ext <<_ACEOF
17837 cat confdefs.h
>>conftest.
$ac_ext
17838 cat >>conftest.
$ac_ext <<_ACEOF
17839 /* end confdefs.h. */
17840 #include <$ac_header>
17842 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17843 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17845 grep -v '^ *+' conftest.er1
>conftest.err
17847 cat conftest.err
>&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); } >/dev
/null
; then
17850 if test -s conftest.err
; then
17851 ac_cpp_err
=$ac_c_preproc_warn_flag
17852 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17859 if test -z "$ac_cpp_err"; then
17860 ac_header_preproc
=yes
17862 echo "$as_me: failed program was:" >&5
17863 sed 's/^/| /' conftest.
$ac_ext >&5
17865 ac_header_preproc
=no
17867 rm -f conftest.err conftest.
$ac_ext
17868 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17869 echo "${ECHO_T}$ac_header_preproc" >&6
17871 # So? What about this header?
17872 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17874 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17875 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17876 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17877 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17878 ac_header_preproc
=yes
17881 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17882 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17883 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17884 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17885 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17886 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17887 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17888 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17890 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17891 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17892 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17895 ## ------------------------------------------ ##
17896 ## Report this to the AC_PACKAGE_NAME lists. ##
17897 ## ------------------------------------------ ##
17900 sed "s/^/$as_me: WARNING: /" >&2
17903 echo "$as_me:$LINENO: checking for $ac_header" >&5
17904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17906 echo $ECHO_N "(cached) $ECHO_C" >&6
17908 eval "$as_ac_Header=\$ac_header_preproc"
17910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17911 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17915 cat >>confdefs.h
<<_ACEOF
17916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17923 if test "$ac_cv_header_sys_procfs_h" = yes; then
17924 echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
17925 echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
17926 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
17927 echo $ECHO_N "(cached) $ECHO_C" >&6
17929 cat >conftest.
$ac_ext <<_ACEOF
17932 cat confdefs.h
>>conftest.
$ac_ext
17933 cat >>conftest.
$ac_ext <<_ACEOF
17934 /* end confdefs.h. */
17937 #include <sys/procfs.h>
17946 rm -f conftest.
$ac_objext
17947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17948 (eval $ac_compile) 2>conftest.er1
17950 grep -v '^ *+' conftest.er1
>conftest.err
17952 cat conftest.err
>&5
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); } &&
17955 { ac_try
='test -z "$ac_c_werror_flag"
17956 || test ! -s conftest.err'
17957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17958 (eval $ac_try) 2>&5
17960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17961 (exit $ac_status); }; } &&
17962 { ac_try
='test -s conftest.$ac_objext'
17963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17964 (eval $ac_try) 2>&5
17966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17967 (exit $ac_status); }; }; then
17968 bfd_cv_have_sys_procfs_type_prstatus_t
=yes
17970 echo "$as_me: failed program was:" >&5
17971 sed 's/^/| /' conftest.
$ac_ext >&5
17973 bfd_cv_have_sys_procfs_type_prstatus_t
=no
17976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17979 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
17981 cat >>confdefs.h
<<\_ACEOF
17982 #define HAVE_PRSTATUS_T 1
17986 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
17987 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
17989 echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
17990 echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
17991 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
17992 echo $ECHO_N "(cached) $ECHO_C" >&6
17994 cat >conftest.
$ac_ext <<_ACEOF
17997 cat confdefs.h
>>conftest.
$ac_ext
17998 cat >>conftest.
$ac_ext <<_ACEOF
17999 /* end confdefs.h. */
18002 #include <sys/procfs.h>
18011 rm -f conftest.
$ac_objext
18012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18013 (eval $ac_compile) 2>conftest.er1
18015 grep -v '^ *+' conftest.er1
>conftest.err
18017 cat conftest.err
>&5
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); } &&
18020 { ac_try
='test -z "$ac_c_werror_flag"
18021 || test ! -s conftest.err'
18022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18023 (eval $ac_try) 2>&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); }; } &&
18027 { ac_try
='test -s conftest.$ac_objext'
18028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18029 (eval $ac_try) 2>&5
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); }; }; then
18033 bfd_cv_have_sys_procfs_type_prstatus32_t
=yes
18035 echo "$as_me: failed program was:" >&5
18036 sed 's/^/| /' conftest.
$ac_ext >&5
18038 bfd_cv_have_sys_procfs_type_prstatus32_t
=no
18041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18044 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
18046 cat >>confdefs.h
<<\_ACEOF
18047 #define HAVE_PRSTATUS32_T 1
18051 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
18052 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
18054 echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
18055 echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
18056 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
18057 echo $ECHO_N "(cached) $ECHO_C" >&6
18059 cat >conftest.
$ac_ext <<_ACEOF
18062 cat confdefs.h
>>conftest.
$ac_ext
18063 cat >>conftest.
$ac_ext <<_ACEOF
18064 /* end confdefs.h. */
18067 #include <sys/procfs.h>
18071 prstatus_t avar; void* aref = (void*) &avar.pr_who
18076 rm -f conftest.
$ac_objext
18077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18078 (eval $ac_compile) 2>conftest.er1
18080 grep -v '^ *+' conftest.er1
>conftest.err
18082 cat conftest.err
>&5
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); } &&
18085 { ac_try
='test -z "$ac_c_werror_flag"
18086 || test ! -s conftest.err'
18087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18088 (eval $ac_try) 2>&5
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); }; } &&
18092 { ac_try
='test -s conftest.$ac_objext'
18093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18094 (eval $ac_try) 2>&5
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); }; }; then
18098 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=yes
18100 echo "$as_me: failed program was:" >&5
18101 sed 's/^/| /' conftest.
$ac_ext >&5
18103 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=no
18106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18109 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
18111 cat >>confdefs.h
<<\_ACEOF
18112 #define HAVE_PRSTATUS_T_PR_WHO 1
18116 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
18117 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
18119 echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
18120 echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
18121 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
18122 echo $ECHO_N "(cached) $ECHO_C" >&6
18124 cat >conftest.
$ac_ext <<_ACEOF
18127 cat confdefs.h
>>conftest.
$ac_ext
18128 cat >>conftest.
$ac_ext <<_ACEOF
18129 /* end confdefs.h. */
18132 #include <sys/procfs.h>
18136 prstatus32_t avar; void* aref = (void*) &avar.pr_who
18141 rm -f conftest.
$ac_objext
18142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18143 (eval $ac_compile) 2>conftest.er1
18145 grep -v '^ *+' conftest.er1
>conftest.err
18147 cat conftest.err
>&5
18148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149 (exit $ac_status); } &&
18150 { ac_try
='test -z "$ac_c_werror_flag"
18151 || test ! -s conftest.err'
18152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18153 (eval $ac_try) 2>&5
18155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18156 (exit $ac_status); }; } &&
18157 { ac_try
='test -s conftest.$ac_objext'
18158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18159 (eval $ac_try) 2>&5
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); }; }; then
18163 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=yes
18165 echo "$as_me: failed program was:" >&5
18166 sed 's/^/| /' conftest.
$ac_ext >&5
18168 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=no
18171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18174 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
18176 cat >>confdefs.h
<<\_ACEOF
18177 #define HAVE_PRSTATUS32_T_PR_WHO 1
18181 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
18182 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
18184 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
18185 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
18186 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
18187 echo $ECHO_N "(cached) $ECHO_C" >&6
18189 cat >conftest.
$ac_ext <<_ACEOF
18192 cat confdefs.h
>>conftest.
$ac_ext
18193 cat >>conftest.
$ac_ext <<_ACEOF
18194 /* end confdefs.h. */
18197 #include <sys/procfs.h>
18206 rm -f conftest.
$ac_objext
18207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18208 (eval $ac_compile) 2>conftest.er1
18210 grep -v '^ *+' conftest.er1
>conftest.err
18212 cat conftest.err
>&5
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); } &&
18215 { ac_try
='test -z "$ac_c_werror_flag"
18216 || test ! -s conftest.err'
18217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18218 (eval $ac_try) 2>&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); }; } &&
18222 { ac_try
='test -s conftest.$ac_objext'
18223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18224 (eval $ac_try) 2>&5
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); }; }; then
18228 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
18230 echo "$as_me: failed program was:" >&5
18231 sed 's/^/| /' conftest.
$ac_ext >&5
18233 bfd_cv_have_sys_procfs_type_pstatus_t
=no
18236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18239 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
18241 cat >>confdefs.h
<<\_ACEOF
18242 #define HAVE_PSTATUS_T 1
18246 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
18247 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
18249 echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
18250 echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
18251 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
18252 echo $ECHO_N "(cached) $ECHO_C" >&6
18254 cat >conftest.
$ac_ext <<_ACEOF
18257 cat confdefs.h
>>conftest.
$ac_ext
18258 cat >>conftest.
$ac_ext <<_ACEOF
18259 /* end confdefs.h. */
18262 #include <sys/procfs.h>
18271 rm -f conftest.
$ac_objext
18272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18273 (eval $ac_compile) 2>conftest.er1
18275 grep -v '^ *+' conftest.er1
>conftest.err
18277 cat conftest.err
>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); } &&
18280 { ac_try
='test -z "$ac_c_werror_flag"
18281 || test ! -s conftest.err'
18282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18283 (eval $ac_try) 2>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; } &&
18287 { ac_try
='test -s conftest.$ac_objext'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; }; then
18293 bfd_cv_have_sys_procfs_type_pxstatus_t
=yes
18295 echo "$as_me: failed program was:" >&5
18296 sed 's/^/| /' conftest.
$ac_ext >&5
18298 bfd_cv_have_sys_procfs_type_pxstatus_t
=no
18301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18304 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
18306 cat >>confdefs.h
<<\_ACEOF
18307 #define HAVE_PXSTATUS_T 1
18311 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
18312 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
18314 echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
18315 echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
18316 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
18317 echo $ECHO_N "(cached) $ECHO_C" >&6
18319 cat >conftest.
$ac_ext <<_ACEOF
18322 cat confdefs.h
>>conftest.
$ac_ext
18323 cat >>conftest.
$ac_ext <<_ACEOF
18324 /* end confdefs.h. */
18327 #include <sys/procfs.h>
18336 rm -f conftest.
$ac_objext
18337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18338 (eval $ac_compile) 2>conftest.er1
18340 grep -v '^ *+' conftest.er1
>conftest.err
18342 cat conftest.err
>&5
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); } &&
18345 { ac_try
='test -z "$ac_c_werror_flag"
18346 || test ! -s conftest.err'
18347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18348 (eval $ac_try) 2>&5
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); }; } &&
18352 { ac_try
='test -s conftest.$ac_objext'
18353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18354 (eval $ac_try) 2>&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); }; }; then
18358 bfd_cv_have_sys_procfs_type_pstatus32_t
=yes
18360 echo "$as_me: failed program was:" >&5
18361 sed 's/^/| /' conftest.
$ac_ext >&5
18363 bfd_cv_have_sys_procfs_type_pstatus32_t
=no
18366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18369 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
18371 cat >>confdefs.h
<<\_ACEOF
18372 #define HAVE_PSTATUS32_T 1
18376 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
18377 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
18379 echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
18380 echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
18381 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
18382 echo $ECHO_N "(cached) $ECHO_C" >&6
18384 cat >conftest.
$ac_ext <<_ACEOF
18387 cat confdefs.h
>>conftest.
$ac_ext
18388 cat >>conftest.
$ac_ext <<_ACEOF
18389 /* end confdefs.h. */
18392 #include <sys/procfs.h>
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 bfd_cv_have_sys_procfs_type_prpsinfo_t
=yes
18425 echo "$as_me: failed program was:" >&5
18426 sed 's/^/| /' conftest.
$ac_ext >&5
18428 bfd_cv_have_sys_procfs_type_prpsinfo_t
=no
18431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18434 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
18436 cat >>confdefs.h
<<\_ACEOF
18437 #define HAVE_PRPSINFO_T 1
18441 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
18442 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
18444 echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
18445 echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
18446 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
18447 echo $ECHO_N "(cached) $ECHO_C" >&6
18449 cat >conftest.
$ac_ext <<_ACEOF
18452 cat confdefs.h
>>conftest.
$ac_ext
18453 cat >>conftest.
$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18457 #include <sys/procfs.h>
18466 rm -f conftest.
$ac_objext
18467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18468 (eval $ac_compile) 2>conftest.er1
18470 grep -v '^ *+' conftest.er1
>conftest.err
18472 cat conftest.err
>&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); } &&
18475 { ac_try
='test -z "$ac_c_werror_flag"
18476 || test ! -s conftest.err'
18477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18478 (eval $ac_try) 2>&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); }; } &&
18482 { ac_try
='test -s conftest.$ac_objext'
18483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18484 (eval $ac_try) 2>&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); }; }; then
18488 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=yes
18490 echo "$as_me: failed program was:" >&5
18491 sed 's/^/| /' conftest.
$ac_ext >&5
18493 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=no
18496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18499 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
18501 cat >>confdefs.h
<<\_ACEOF
18502 #define HAVE_PRPSINFO32_T 1
18506 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
18507 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
18509 echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
18510 echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
18511 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
18512 echo $ECHO_N "(cached) $ECHO_C" >&6
18514 cat >conftest.
$ac_ext <<_ACEOF
18517 cat confdefs.h
>>conftest.
$ac_ext
18518 cat >>conftest.
$ac_ext <<_ACEOF
18519 /* end confdefs.h. */
18522 #include <sys/procfs.h>
18531 rm -f conftest.
$ac_objext
18532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18533 (eval $ac_compile) 2>conftest.er1
18535 grep -v '^ *+' conftest.er1
>conftest.err
18537 cat conftest.err
>&5
18538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18539 (exit $ac_status); } &&
18540 { ac_try
='test -z "$ac_c_werror_flag"
18541 || test ! -s conftest.err'
18542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18543 (eval $ac_try) 2>&5
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); }; } &&
18547 { ac_try
='test -s conftest.$ac_objext'
18548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18549 (eval $ac_try) 2>&5
18551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 (exit $ac_status); }; }; then
18553 bfd_cv_have_sys_procfs_type_psinfo_t
=yes
18555 echo "$as_me: failed program was:" >&5
18556 sed 's/^/| /' conftest.
$ac_ext >&5
18558 bfd_cv_have_sys_procfs_type_psinfo_t
=no
18561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18564 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
18566 cat >>confdefs.h
<<\_ACEOF
18567 #define HAVE_PSINFO_T 1
18571 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
18572 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
18574 echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
18575 echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
18576 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
18577 echo $ECHO_N "(cached) $ECHO_C" >&6
18579 cat >conftest.
$ac_ext <<_ACEOF
18582 cat confdefs.h
>>conftest.
$ac_ext
18583 cat >>conftest.
$ac_ext <<_ACEOF
18584 /* end confdefs.h. */
18587 #include <sys/procfs.h>
18596 rm -f conftest.
$ac_objext
18597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18598 (eval $ac_compile) 2>conftest.er1
18600 grep -v '^ *+' conftest.er1
>conftest.err
18602 cat conftest.err
>&5
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); } &&
18605 { ac_try
='test -z "$ac_c_werror_flag"
18606 || test ! -s conftest.err'
18607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18608 (eval $ac_try) 2>&5
18610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611 (exit $ac_status); }; } &&
18612 { ac_try
='test -s conftest.$ac_objext'
18613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18614 (eval $ac_try) 2>&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); }; }; then
18618 bfd_cv_have_sys_procfs_type_psinfo32_t
=yes
18620 echo "$as_me: failed program was:" >&5
18621 sed 's/^/| /' conftest.
$ac_ext >&5
18623 bfd_cv_have_sys_procfs_type_psinfo32_t
=no
18626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18629 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
18631 cat >>confdefs.h
<<\_ACEOF
18632 #define HAVE_PSINFO32_T 1
18636 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
18637 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
18639 echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
18640 echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
18641 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
18642 echo $ECHO_N "(cached) $ECHO_C" >&6
18644 cat >conftest.
$ac_ext <<_ACEOF
18647 cat confdefs.h
>>conftest.
$ac_ext
18648 cat >>conftest.
$ac_ext <<_ACEOF
18649 /* end confdefs.h. */
18652 #include <sys/procfs.h>
18661 rm -f conftest.
$ac_objext
18662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18663 (eval $ac_compile) 2>conftest.er1
18665 grep -v '^ *+' conftest.er1
>conftest.err
18667 cat conftest.err
>&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); } &&
18670 { ac_try
='test -z "$ac_c_werror_flag"
18671 || test ! -s conftest.err'
18672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18673 (eval $ac_try) 2>&5
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); }; } &&
18677 { ac_try
='test -s conftest.$ac_objext'
18678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18679 (eval $ac_try) 2>&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); }; }; then
18683 bfd_cv_have_sys_procfs_type_lwpstatus_t
=yes
18685 echo "$as_me: failed program was:" >&5
18686 sed 's/^/| /' conftest.
$ac_ext >&5
18688 bfd_cv_have_sys_procfs_type_lwpstatus_t
=no
18691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18694 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
18696 cat >>confdefs.h
<<\_ACEOF
18697 #define HAVE_LWPSTATUS_T 1
18701 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
18702 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
18704 echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
18705 echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
18706 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
18707 echo $ECHO_N "(cached) $ECHO_C" >&6
18709 cat >conftest.
$ac_ext <<_ACEOF
18712 cat confdefs.h
>>conftest.
$ac_ext
18713 cat >>conftest.
$ac_ext <<_ACEOF
18714 /* end confdefs.h. */
18717 #include <sys/procfs.h>
18726 rm -f conftest.
$ac_objext
18727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18728 (eval $ac_compile) 2>conftest.er1
18730 grep -v '^ *+' conftest.er1
>conftest.err
18732 cat conftest.err
>&5
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); } &&
18735 { ac_try
='test -z "$ac_c_werror_flag"
18736 || test ! -s conftest.err'
18737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18738 (eval $ac_try) 2>&5
18740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); }; } &&
18742 { ac_try
='test -s conftest.$ac_objext'
18743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18744 (eval $ac_try) 2>&5
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); }; }; then
18748 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=yes
18750 echo "$as_me: failed program was:" >&5
18751 sed 's/^/| /' conftest.
$ac_ext >&5
18753 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=no
18756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18759 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
18761 cat >>confdefs.h
<<\_ACEOF
18762 #define HAVE_LWPXSTATUS_T 1
18766 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
18767 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
18769 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
18770 echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
18771 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
18772 echo $ECHO_N "(cached) $ECHO_C" >&6
18774 cat >conftest.
$ac_ext <<_ACEOF
18777 cat confdefs.h
>>conftest.
$ac_ext
18778 cat >>conftest.
$ac_ext <<_ACEOF
18779 /* end confdefs.h. */
18782 #include <sys/procfs.h>
18786 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
18791 rm -f conftest.
$ac_objext
18792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18793 (eval $ac_compile) 2>conftest.er1
18795 grep -v '^ *+' conftest.er1
>conftest.err
18797 cat conftest.err
>&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); } &&
18800 { ac_try
='test -z "$ac_c_werror_flag"
18801 || test ! -s conftest.err'
18802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18803 (eval $ac_try) 2>&5
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); }; } &&
18807 { ac_try
='test -s conftest.$ac_objext'
18808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18809 (eval $ac_try) 2>&5
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); }; }; then
18813 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=yes
18815 echo "$as_me: failed program was:" >&5
18816 sed 's/^/| /' conftest.
$ac_ext >&5
18818 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=no
18821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18824 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
18826 cat >>confdefs.h
<<\_ACEOF
18827 #define HAVE_LWPSTATUS_T_PR_CONTEXT 1
18831 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
18832 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
18834 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
18835 echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
18836 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
18837 echo $ECHO_N "(cached) $ECHO_C" >&6
18839 cat >conftest.
$ac_ext <<_ACEOF
18842 cat confdefs.h
>>conftest.
$ac_ext
18843 cat >>conftest.
$ac_ext <<_ACEOF
18844 /* end confdefs.h. */
18847 #include <sys/procfs.h>
18851 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
18856 rm -f conftest.
$ac_objext
18857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18858 (eval $ac_compile) 2>conftest.er1
18860 grep -v '^ *+' conftest.er1
>conftest.err
18862 cat conftest.err
>&5
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); } &&
18865 { ac_try
='test -z "$ac_c_werror_flag"
18866 || test ! -s conftest.err'
18867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18868 (eval $ac_try) 2>&5
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); }; } &&
18872 { ac_try
='test -s conftest.$ac_objext'
18873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18874 (eval $ac_try) 2>&5
18876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877 (exit $ac_status); }; }; then
18878 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=yes
18880 echo "$as_me: failed program was:" >&5
18881 sed 's/^/| /' conftest.
$ac_ext >&5
18883 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=no
18886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18889 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
18891 cat >>confdefs.h
<<\_ACEOF
18892 #define HAVE_LWPSTATUS_T_PR_REG 1
18896 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
18897 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
18899 echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
18900 echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
18901 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
18902 echo $ECHO_N "(cached) $ECHO_C" >&6
18904 cat >conftest.
$ac_ext <<_ACEOF
18907 cat confdefs.h
>>conftest.
$ac_ext
18908 cat >>conftest.
$ac_ext <<_ACEOF
18909 /* end confdefs.h. */
18912 #include <sys/procfs.h>
18916 win32_pstatus_t avar
18921 rm -f conftest.
$ac_objext
18922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18923 (eval $ac_compile) 2>conftest.er1
18925 grep -v '^ *+' conftest.er1
>conftest.err
18927 cat conftest.err
>&5
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); } &&
18930 { ac_try
='test -z "$ac_c_werror_flag"
18931 || test ! -s conftest.err'
18932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18933 (eval $ac_try) 2>&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); }; } &&
18937 { ac_try
='test -s conftest.$ac_objext'
18938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18939 (eval $ac_try) 2>&5
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); }; }; then
18943 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=yes
18945 echo "$as_me: failed program was:" >&5
18946 sed 's/^/| /' conftest.
$ac_ext >&5
18948 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=no
18951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18954 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
18956 cat >>confdefs.h
<<\_ACEOF
18957 #define HAVE_WIN32_PSTATUS_T 1
18961 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
18962 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
18968 if test -n "$TRAD_HEADER"; then
18970 cat >>confdefs.h
<<_ACEOF
18971 #define TRAD_HEADER $TRAD_HEADER
18976 # Horrible hacks to build DLLs on Windows.
18981 if test "$enable_shared" = "yes"; then
18982 WIN32LDFLAGS
="-no-undefined"
18983 WIN32LIBADD
="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
18987 # We borrow WIN32LIBADD so that the shared libbfd won't depend on
18989 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
18990 if test -n "$x"; then
18991 WIN32LIBADD
="-L../libiberty/pic -liberty"
19000 # Canonicalize the secondary target names.
19001 if test -n "$enable_targets" ; then
19002 for targ
in `echo $enable_targets | sed 's/,/ /g'`
19004 result
=`$ac_config_sub $targ 2>/dev/null`
19005 if test -n "$result" ; then
19006 canon_targets
="$canon_targets $result"
19008 # Allow targets that config.sub doesn't recognize, like "all".
19009 canon_targets
="$canon_targets $targ"
19020 for targ
in $target $canon_targets
19022 if test "x$targ" = "xall"; then
19024 assocvecs
="$assocvecs $targ_defvec $targ_selvecs"
19026 .
$srcdir/config.bfd
19027 if test "x$targ" = "x$target"; then
19028 defvec
=$targ_defvec
19030 selvecs
="$selvecs $targ_defvec $targ_selvecs"
19031 selarchs
="$selarchs $targ_archs"
19032 TDEFINES
="$TDEFINES $targ_cflags"
19037 # This processing still needs to be done if we're to decide properly whether
19038 # 64-bit support needs to be compiled in. Currently, it will be included if
19039 # the default or any other explicitly requested target requires it; it
19040 # will not be included on a 32-bit host if no 64-bit target is requested, and
19041 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
19044 # uniq the default and selected vectors in all the configured targets.
19046 for i
in $selvecs ; do
19055 # uniq the associated vectors in all the configured targets.
19057 for i
in $assocvecs ; do
19066 # uniq the architectures in all the configured targets.
19068 for i
in $selarchs ; do
19076 # Target backend .o files.
19079 elf
="elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
19081 for vec
in $selvecs
19085 # This list is alphabetized to make it easy to compare
19086 # with the two vector lists in targets.c. For the same reason,
19087 # use one entry per line, even though this leads to long lines.
19088 a_out_adobe_vec
) tb
="$tb aout-adobe.lo aout32.lo" ;;
19089 aix5coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
19090 aout0_big_vec
) tb
="$tb aout0.lo aout32.lo" ;;
19091 aout_arm_big_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
19092 aout_arm_little_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
19093 apollocoff_vec
) tb
="$tb coff-apollo.lo" ;;
19094 arm_epoc_pe_big_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
19095 arm_epoc_pe_little_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
19096 arm_epoc_pei_big_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
19097 arm_epoc_pei_little_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
19098 arm_wince_pe_big_vec
) tb
="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
19099 arm_wince_pe_little_vec
) tb
="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
19100 arm_wince_pei_big_vec
) tb
="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
19101 arm_wince_pei_little_vec
) tb
="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
19102 armcoff_big_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
19103 armcoff_little_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
19104 armnetbsd_vec
) tb
="$tb armnetbsd.lo aout32.lo" ;;
19105 armpe_big_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
19106 armpe_little_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
19107 armpei_big_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
19108 armpei_little_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
19109 b_out_vec_big_host
) tb
="$tb bout.lo aout32.lo" ;;
19110 b_out_vec_little_host
) tb
="$tb bout.lo aout32.lo" ;;
19111 bfd_efi_app_ia32_vec
) tb
="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;;
19112 bfd_efi_bsdrv_ia32_vec
) tb
="$tb efi-bsdrv-ia32.lo peigen.lo cofflink.lo" ;;
19113 bfd_efi_rtdrv_ia32_vec
) tb
="$tb efi-rtdrv-ia32.lo peigen.lo cofflink.lo" ;;
19114 bfd_efi_app_x86_64_vec
) tb
="$tb efi-app-x86_64.lo pex64igen.lo cofflink.lo" ;target_size
=64;;
19115 bfd_efi_bsdrv_x86_64_vec
) tb
="$tb efi-bsdrv-x86_64.lo pex64igen.lo cofflink.lo" ;target_size
=64;;
19116 bfd_efi_rtdrv_x86_64_vec
) tb
="$tb efi-rtdrv-x86_64.lo pex64igen.lo cofflink.lo" ;target_size
=64;;
19117 bfd_efi_app_ia64_vec
) tb
="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
19118 bfd_efi_bsdrv_ia64_vec
) tb
="$tb efi-bsdrv-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
19119 bfd_efi_rtdrv_ia64_vec
) tb
="$tb efi-rtdrv-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
19120 bfd_elf32_am33lin_vec
) tb
="$tb elf32-am33lin.lo elf32.lo $elf" ;;
19121 bfd_elf32_avr_vec
) tb
="$tb elf32-avr.lo elf32.lo $elf" ;;
19122 bfd_elf32_bfin_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
19123 bfd_elf32_bfinfdpic_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
19124 bfd_elf32_big_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
19125 bfd_elf32_bigarc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
19126 bfd_elf32_bigarm_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
19127 bfd_elf32_bigarm_symbian_vec
)
19128 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
19129 bfd_elf32_bigarm_vxworks_vec
)
19130 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
19131 bfd_elf32_bigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
19132 bfd_elf32_bigmips_vxworks_vec
)
19133 tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
19134 bfd_elf32_cr16_vec
) tb
="$tb elf32-cr16.lo elf32.lo $elf" ;;
19135 bfd_elf32_cr16c_vec
) tb
="$tb elf32-cr16c.lo elf32.lo $elf" ;;
19136 bfd_elf32_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
19137 bfd_elf32_crx_vec
) tb
="$tb elf32-crx.lo elf32.lo $elf" ;;
19138 bfd_elf32_d10v_vec
) tb
="$tb elf32-d10v.lo elf32.lo $elf" ;;
19139 bfd_elf32_d30v_vec
) tb
="$tb elf32-d30v.lo elf32.lo $elf" ;;
19140 bfd_elf32_dlx_big_vec
) tb
="$tb elf32-dlx.lo elf32.lo $elf" ;;
19141 bfd_elf32_fr30_vec
) tb
="$tb elf32-fr30.lo elf32.lo $elf" ;;
19142 bfd_elf32_frv_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
19143 bfd_elf32_frvfdpic_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
19144 bfd_elf32_h8300_vec
) tb
="$tb elf32-h8300.lo elf32.lo $elf" ;;
19145 bfd_elf32_hppa_linux_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
19146 bfd_elf32_hppa_nbsd_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
19147 bfd_elf32_hppa_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
19148 bfd_elf32_i370_vec
) tb
="$tb elf32-i370.lo elf32.lo $elf" ;;
19149 bfd_elf32_i386_dragonfly_vec
)
19150 tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
19151 bfd_elf32_i386_freebsd_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
19152 bfd_elf32_i386_vxworks_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
19153 bfd_elf32_i386_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
19154 bfd_elf32_i860_little_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
19155 bfd_elf32_i860_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
19156 bfd_elf32_i960_vec
) tb
="$tb elf32-i960.lo elf32.lo $elf" ;;
19157 bfd_elf32_ia64_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf" ;;
19158 bfd_elf32_ia64_hpux_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf";;
19159 bfd_elf32_ip2k_vec
) tb
="$tb elf32-ip2k.lo elf32.lo $elf" ;;
19160 bfd_elf32_iq2000_vec
) tb
="$tb elf32-iq2000.lo elf32.lo $elf" ;;
19161 bfd_elf32_little_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
19162 bfd_elf32_littlearc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
19163 bfd_elf32_littlearm_symbian_vec
)
19164 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
19165 bfd_elf32_littlearm_vxworks_vec
)
19166 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
19167 bfd_elf32_littlearm_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
19168 bfd_elf32_littlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
19169 bfd_elf32_littlemips_vxworks_vec
)
19170 tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
19171 bfd_elf32_m32c_vec
) tb
="$tb elf32-m32c.lo elf32.lo $elf" ;;
19172 bfd_elf32_m32r_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
19173 bfd_elf32_m32rle_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
19174 bfd_elf32_m32rlin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
19175 bfd_elf32_m32rlelin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
19176 bfd_elf32_m68hc11_vec
) tb
="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
19177 bfd_elf32_m68hc12_vec
) tb
="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
19178 bfd_elf32_m68k_vec
) tb
="$tb elf32-m68k.lo elf32.lo $elf" ;;
19179 bfd_elf32_m88k_vec
) tb
="$tb elf32-m88k.lo elf32.lo $elf" ;;
19180 bfd_elf32_mcore_big_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
19181 bfd_elf32_mcore_little_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
19182 bfd_elf32_mep_vec
) tb
="$tb elf32-mep.lo elf32.lo $elf" ;;
19183 bfd_elf32_mep_little_vec
) tb
="$tb elf32-mep.lo elf32.lo $elf" ;;
19184 bfd_elf32_mn10200_vec
) tb
="$tb elf-m10200.lo elf32.lo $elf" ;;
19185 bfd_elf32_mn10300_vec
) tb
="$tb elf-m10300.lo elf32.lo $elf" ;;
19186 bfd_elf32_mt_vec
) tb
="$tb elf32-mt.lo elf32.lo $elf" ;;
19187 bfd_elf32_msp430_vec
) tb
="$tb elf32-msp430.lo elf32.lo $elf" ;;
19188 bfd_elf32_nbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
19189 bfd_elf32_nlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
19190 bfd_elf32_ntradbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
19191 bfd_elf32_ntradlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
19192 bfd_elf32_openrisc_vec
) tb
="$tb elf32-openrisc.lo elf32.lo $elf" ;;
19193 bfd_elf32_or32_big_vec
) tb
="$tb elf32-or32.lo elf32.lo $elf" ;;
19194 bfd_elf32_pj_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
19195 bfd_elf32_pjl_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
19196 bfd_elf32_powerpc_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
19197 bfd_elf32_powerpcle_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
19198 bfd_elf32_powerpc_vxworks_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
19199 bfd_elf32_s390_vec
) tb
="$tb elf32-s390.lo elf32.lo $elf" ;;
19200 bfd_elf32_bigscore_vec
) tb
="$tb elf32-score.lo elf32.lo $elf" ;;
19201 bfd_elf32_littlescore_vec
) tb
="$tb elf32-score.lo elf32.lo $elf" ;;
19202 # FIXME: We include cofflink.lo not because it's needed for
19203 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
19204 # which needs it but does not list it. Should be fixed in right place.
19205 bfd_elf32_sh64_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
19206 bfd_elf32_sh64l_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
19207 bfd_elf32_sh64lin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
19208 bfd_elf32_sh64blin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
19209 bfd_elf32_sh64lnbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
19210 bfd_elf32_sh64nbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
19211 bfd_elf32_sh_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
19212 bfd_elf32_shblin_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
19213 bfd_elf32_shl_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
19214 bfd_elf32_shl_symbian_vec
) tb
="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
19215 bfd_elf32_shlin_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
19216 bfd_elf32_shlnbsd_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
19217 bfd_elf32_shlvxworks_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
19218 bfd_elf32_shnbsd_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
19219 bfd_elf32_shvxworks_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
19220 bfd_elf32_sparc_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
19221 bfd_elf32_sparc_vxworks_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
19222 bfd_elf32_spu_vec
) tb
="$tb elf32-spu.lo elf32.lo $elf" ;;
19223 bfd_elf32_tradbigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
19224 bfd_elf32_tradlittlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
19225 bfd_elf32_us_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
19226 bfd_elf32_v850_vec
) tb
="$tb elf32-v850.lo elf32.lo $elf" ;;
19227 bfd_elf32_vax_vec
) tb
="$tb elf32-vax.lo elf32.lo $elf" ;;
19228 bfd_elf32_xstormy16_vec
) tb
="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
19229 bfd_elf32_xc16x_vec
) tb
="$tb elf32-xc16x.lo elf32.lo $elf" ;;
19230 bfd_elf32_xtensa_le_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
19231 bfd_elf32_xtensa_be_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
19232 bfd_elf64_alpha_freebsd_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
19233 bfd_elf64_alpha_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
19234 bfd_elf64_big_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
19235 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 ;;
19236 bfd_elf64_hppa_linux_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
19237 bfd_elf64_hppa_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
19238 bfd_elf64_ia64_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
19239 bfd_elf64_ia64_hpux_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
19240 bfd_elf64_ia64_little_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
19241 bfd_elf64_little_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
19242 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 ;;
19243 bfd_elf64_mmix_vec
) tb
="$tb elf64-mmix.lo elf64.lo $elf" target_size
=64 ;;
19244 bfd_elf64_powerpc_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
19245 bfd_elf64_powerpcle_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size
=64 ;;
19246 bfd_elf64_s390_vec
) tb
="$tb elf64-s390.lo elf64.lo $elf"; target_size
=64 ;;
19247 bfd_elf64_sh64_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
19248 bfd_elf64_sh64l_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
19249 bfd_elf64_sh64lin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
19250 bfd_elf64_sh64blin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
19251 bfd_elf64_sh64lnbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
19252 bfd_elf64_sh64nbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
19253 bfd_elf64_sparc_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size
=64 ;;
19254 bfd_elf64_sparc_freebsd_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size
=64 ;;
19255 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 ;;
19256 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 ;;
19257 bfd_elf64_x86_64_freebsd_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
19258 bfd_elf64_x86_64_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
19259 bfd_mmo_vec
) tb
="$tb mmo.lo" target_size
=64 ;;
19260 bfd_powerpc_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
19261 bfd_powerpc_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
19262 bfd_powerpcle_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
19263 bfd_powerpcle_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
19264 cris_aout_vec
) tb
="$tb aout-cris.lo" ;;
19265 demo_64_vec
) tb
="$tb demo64.lo aout64.lo"; target_size
=64 ;;
19266 ecoff_big_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
19267 ecoff_biglittle_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
19268 ecoff_little_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
19269 ecoffalpha_little_vec
) tb
="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size
=64 ;;
19270 go32coff_vec
) tb
="$tb coff-go32.lo cofflink.lo" ;;
19271 go32stubbedcoff_vec
) tb
="$tb coff-stgo32.lo cofflink.lo" ;;
19272 h8300coff_vec
) tb
="$tb coff-h8300.lo reloc16.lo" ;;
19273 h8500coff_vec
) tb
="$tb coff-h8500.lo reloc16.lo" ;;
19274 host_aout_vec
) tb
="$tb host-aout.lo aout32.lo" ;;
19275 hp300bsd_vec
) tb
="$tb hp300bsd.lo aout32.lo" ;;
19276 hp300hpux_vec
) tb
="$tb hp300hpux.lo aout32.lo" ;;
19277 i386aout_vec
) tb
="$tb i386aout.lo aout32.lo" ;;
19278 i386bsd_vec
) tb
="$tb i386bsd.lo aout32.lo" ;;
19279 i386coff_vec
) tb
="$tb coff-i386.lo cofflink.lo" ;;
19280 x86_64coff_vec
) tb
="$tb coff-x86_64.lo cofflink.lo"; target_size
=64 ;;
19281 i386dynix_vec
) tb
="$tb i386dynix.lo aout32.lo" ;;
19282 i386freebsd_vec
) tb
="$tb i386freebsd.lo aout32.lo" ;;
19283 i386linux_vec
) tb
="$tb i386linux.lo aout32.lo" ;;
19284 i386lynx_aout_vec
) tb
="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
19285 i386lynx_coff_vec
) tb
="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
19286 i386mach3_vec
) tb
="$tb i386mach3.lo aout32.lo" ;;
19287 i386msdos_vec
) tb
="$tb i386msdos.lo" ;;
19288 i386netbsd_vec
) tb
="$tb i386netbsd.lo aout32.lo" ;;
19289 i386os9k_vec
) tb
="$tb i386os9k.lo aout32.lo" ;;
19290 i386pe_vec
) tb
="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
19291 i386pei_vec
) tb
="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
19292 x86_64pe_vec
) tb
="$tb pe-x86_64.lo pex64igen.lo cofflink.lo"; target_size
=64 ;;
19293 x86_64pei_vec
) tb
="$tb pei-x86_64.lo pex64igen.lo cofflink.lo"; target_size
=64 ;;
19294 i860coff_vec
) tb
="$tb coff-i860.lo cofflink.lo" ;;
19295 icoff_big_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
19296 icoff_little_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
19297 ieee_vec
) tb
="$tb ieee.lo" ;;
19298 m68k4knetbsd_vec
) tb
="$tb m68k4knetbsd.lo aout32.lo" ;;
19299 m68kaux_coff_vec
) tb
="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
19300 m68kcoff_vec
) tb
="$tb coff-m68k.lo cofflink.lo" ;;
19301 m68kcoffun_vec
) tb
="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
19302 m68klinux_vec
) tb
="$tb m68klinux.lo aout32.lo" ;;
19303 m68knetbsd_vec
) tb
="$tb m68knetbsd.lo aout32.lo" ;;
19304 m68ksysvcoff_vec
) tb
="$tb coff-svm68k.lo cofflink.lo" ;;
19305 m88kbcs_vec
) tb
="$tb coff-m88k.lo" ;;
19306 m88kmach3_vec
) tb
="$tb m88kmach3.lo aout32.lo" ;;
19307 m88kopenbsd_vec
) tb
="$tb m88kopenbsd.lo aout32.lo" ;;
19308 maxqcoff_vec
) tb
="$tb coff-maxq.lo" ;;
19309 mach_o_be_vec
) tb
="$tb mach-o.lo" ;;
19310 mach_o_le_vec
) tb
="$tb mach-o.lo" ;;
19311 mach_o_fat_vec
) tb
="$tb mach-o.lo" ;;
19312 mcore_pe_big_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
19313 mcore_pe_little_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
19314 mcore_pei_big_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
19315 mcore_pei_little_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
19316 mipslpe_vec
) tb
="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
19317 mipslpei_vec
) tb
="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
19318 newsos3_vec
) tb
="$tb newsos3.lo aout32.lo" ;;
19319 nlm32_alpha_vec
) tb
="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size
=64 ;;
19320 nlm32_i386_vec
) tb
="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
19321 nlm32_powerpc_vec
) tb
="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
19322 nlm32_sparc_vec
) tb
="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
19323 or32coff_big_vec
) tb
="$tb coff-or32.lo cofflink.lo" ;;
19324 pc532machaout_vec
) tb
="$tb pc532-mach.lo aout-ns32k.lo" ;;
19325 pc532netbsd_vec
) tb
="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
19326 pef_vec
) tb
="$tb pef.lo" ;;
19327 pef_xlib_vec
) tb
="$tb pef.lo" ;;
19328 pdp11_aout_vec
) tb
="$tb pdp11.lo" ;;
19329 pmac_xcoff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
19330 ppcboot_vec
) tb
="$tb ppcboot.lo" ;;
19331 riscix_vec
) tb
="$tb aout32.lo riscix.lo" ;;
19332 rs6000coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
19333 rs6000coff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
19334 shcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
19335 shcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
19336 shlcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
19337 shlcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
19338 shlpe_vec
) tb
="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
19339 shlpei_vec
) tb
="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
19340 som_vec
) tb
="$tb som.lo" ;;
19341 sparccoff_vec
) tb
="$tb coff-sparc.lo" ;;
19342 sparcle_aout_vec
) tb
="$tb aout-sparcle.lo aout32.lo" ;;
19343 sparclinux_vec
) tb
="$tb sparclinux.lo aout32.lo" ;;
19344 sparclynx_aout_vec
) tb
="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
19345 sparclynx_coff_vec
) tb
="$tb cf-sparclynx.lo lynx-core.lo" ;;
19346 sparcnetbsd_vec
) tb
="$tb sparcnetbsd.lo aout32.lo" ;;
19347 sunos_big_vec
) tb
="$tb sunos.lo aout32.lo" ;;
19348 sym_vec
) tb
="$tb xsym.lo" ;;
19349 tic30_aout_vec
) tb
="$tb aout-tic30.lo" ;;
19350 tic30_coff_vec
) tb
="$tb coff-tic30.lo" ;;
19351 tic4x_coff0_vec
) tb
="$tb coff-tic4x.lo" ;;
19352 tic4x_coff0_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
19353 tic4x_coff1_vec
) tb
="$tb coff-tic4x.lo" ;;
19354 tic4x_coff1_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
19355 tic4x_coff2_vec
) tb
="$tb coff-tic4x.lo" ;;
19356 tic4x_coff2_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
19357 tic54x_coff0_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
19358 tic54x_coff0_vec
) tb
="$tb coff-tic54x.lo" ;;
19359 tic54x_coff1_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
19360 tic54x_coff1_vec
) tb
="$tb coff-tic54x.lo" ;;
19361 tic54x_coff2_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
19362 tic54x_coff2_vec
) tb
="$tb coff-tic54x.lo" ;;
19363 tic80coff_vec
) tb
="$tb coff-tic80.lo cofflink.lo" ;;
19364 vaxnetbsd_vec
) tb
="$tb vaxnetbsd.lo aout32.lo" ;;
19365 vax1knetbsd_vec
) tb
="$tb vax1knetbsd.lo aout32.lo" ;;
19366 vaxbsd_vec
) tb
="$tb vaxbsd.lo aout32.lo" ;;
19367 versados_vec
) tb
="$tb versados.lo" ;;
19368 vms_alpha_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size
=64 ;;
19369 vms_vax_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
19370 w65_vec
) tb
="$tb coff-w65.lo reloc16.lo" ;;
19371 we32kcoff_vec
) tb
="$tb coff-we32k.lo" ;;
19372 z80coff_vec
) tb
="$tb coff-z80.lo reloc16.lo" ;;
19373 z8kcoff_vec
) tb
="$tb coff-z8k.lo reloc16.lo cofflink.lo" ;;
19375 # These appear out of order in targets.c
19376 srec_vec
) tb
="$tb srec.lo" ;;
19377 symbolsrec_vec
) tb
="$tb srec.lo" ;;
19378 tekhex_vec
) tb
="$tb tekhex.lo" ;;
19379 cisco_core_big_vec
) tb
="$tb cisco-core.lo" ;;
19380 cisco_core_little_vec
) tb
="$tb cisco-core.lo" ;;
19383 *) { { echo "$as_me:$LINENO: error: *** unknown target vector $vec" >&5
19384 echo "$as_me: error: *** unknown target vector $vec" >&2;}
19385 { (exit 1); exit 1; }; } ;;
19388 if test ${target_size} = 64; then
19391 if test x
"${vec}" = x
"${defvec}"; then
19392 bfd_default_target_size
=${target_size}
19396 # Target architecture .o files.
19397 # A couple of CPUs use shorter file names to avoid problems on DOS
19399 ta
=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
19401 # Weed out duplicate .o files.
19423 if test x
${all_targets} = xtrue
; then
19424 bfd_backends
="${bfd_backends}"' $(ALL_BACKENDS)'
19425 bfd_machines
="${bfd_machines}"' $(ALL_MACHINES)'
19429 test -n "$assocvecs" &&
19430 assocvecs
=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
19431 else # all_targets is true
19432 # Only set these if they will be nonempty, for the clever echo.
19435 test -n "$selvecs" &&
19436 havevecs
=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
19437 test -n "$selvecs" &&
19438 selvecs
=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
19439 test -n "$selarchs" &&
19440 selarchs
=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
19441 fi # all_targets is true
19443 case ${host64}-${target64}-${want64} in
19446 bfd64_libs
='$(BFD64_LIBS)'
19447 all_backends
='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
19448 if test $BFD_HOST_64_BIT_DEFINED = 0; then
19449 { echo "$as_me:$LINENO: WARNING: You have requested a 64 bit BFD configuration, but" >&5
19450 echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
19451 { echo "$as_me:$LINENO: WARNING: your compiler may not have a 64 bit integral type" >&5
19452 echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
19454 if test -n "$GCC" ; then
19456 echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
19457 echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
19458 # Add more tests for gcc versions with non-working 64-bit support here.
19459 cat >conftest.
$ac_ext <<_ACEOF
19462 cat confdefs.h
>>conftest.
$ac_ext
19463 cat >>conftest.
$ac_ext <<_ACEOF
19464 /* end confdefs.h. */
19465 :__GNUC__:__GNUC_MINOR__:__i386__:
19467 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19468 $EGREP ": 2 : 91 : 1 :" >/dev
/null
2>&1; then
19470 echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
19471 echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
19473 echo "$as_me:$LINENO: result: no" >&5
19474 echo "${ECHO_T}no" >&6
19478 if test $bad_64bit_gcc = yes ; then
19479 { { echo "$as_me:$LINENO: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&5
19480 echo "$as_me: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&2;}
19481 { (exit 1); exit 1; }; }
19487 all_backends
='$(BFD32_BACKENDS)'
19498 # Determine the host dependant file_ptr a.k.a. off_t type. In order
19499 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
19500 # fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
19501 # Hopefully a reasonable assumption since fseeko et.al. should be
19502 # upward compatible.
19508 for ac_func
in ftello ftello64 fseeko fseeko64 fopen64
19510 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19511 echo "$as_me:$LINENO: checking for $ac_func" >&5
19512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19513 if eval "test \"\${$as_ac_var+set}\" = set"; then
19514 echo $ECHO_N "(cached) $ECHO_C" >&6
19516 cat >conftest.
$ac_ext <<_ACEOF
19519 cat confdefs.h
>>conftest.
$ac_ext
19520 cat >>conftest.
$ac_ext <<_ACEOF
19521 /* end confdefs.h. */
19522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19524 #define $ac_func innocuous_$ac_func
19526 /* System header to define __stub macros and hopefully few prototypes,
19527 which can conflict with char $ac_func (); below.
19528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19529 <limits.h> exists even on freestanding compilers. */
19532 # include <limits.h>
19534 # include <assert.h>
19539 /* Override any gcc2 internal prototype to avoid an error. */
19544 /* We use char because int might match the return type of a gcc2
19545 builtin and then its argument prototype would still apply. */
19547 /* The GNU C library defines this for functions which it implements
19548 to always fail with ENOSYS. Some functions are actually named
19549 something starting with __ and the normal name is an alias. */
19550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19553 char (*f) () = $ac_func;
19562 return f != $ac_func;
19567 rm -f conftest.
$ac_objext conftest
$ac_exeext
19568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19569 (eval $ac_link) 2>conftest.er1
19571 grep -v '^ *+' conftest.er1
>conftest.err
19573 cat conftest.err
>&5
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); } &&
19576 { ac_try
='test -z "$ac_c_werror_flag"
19577 || test ! -s conftest.err'
19578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19579 (eval $ac_try) 2>&5
19581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582 (exit $ac_status); }; } &&
19583 { ac_try
='test -s conftest$ac_exeext'
19584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19585 (eval $ac_try) 2>&5
19587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588 (exit $ac_status); }; }; then
19589 eval "$as_ac_var=yes"
19591 echo "$as_me: failed program was:" >&5
19592 sed 's/^/| /' conftest.
$ac_ext >&5
19594 eval "$as_ac_var=no"
19596 rm -f conftest.err conftest.
$ac_objext \
19597 conftest
$ac_exeext conftest.
$ac_ext
19599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19601 if test `eval echo '${'$as_ac_var'}'` = yes; then
19602 cat >>confdefs.h
<<_ACEOF
19603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19609 if test x
"$ac_cv_func_ftello" = xyes
-a x
"$ac_cv_func_fseeko" = xyes
; then
19610 echo "$as_me:$LINENO: checking for off_t" >&5
19611 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
19612 if test "${ac_cv_type_off_t+set}" = set; then
19613 echo $ECHO_N "(cached) $ECHO_C" >&6
19615 cat >conftest.
$ac_ext <<_ACEOF
19618 cat confdefs.h
>>conftest.
$ac_ext
19619 cat >>conftest.
$ac_ext <<_ACEOF
19620 /* end confdefs.h. */
19621 $ac_includes_default
19627 if (sizeof (off_t))
19633 rm -f conftest.
$ac_objext
19634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19635 (eval $ac_compile) 2>conftest.er1
19637 grep -v '^ *+' conftest.er1
>conftest.err
19639 cat conftest.err
>&5
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); } &&
19642 { ac_try
='test -z "$ac_c_werror_flag"
19643 || test ! -s conftest.err'
19644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19645 (eval $ac_try) 2>&5
19647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19648 (exit $ac_status); }; } &&
19649 { ac_try
='test -s conftest.$ac_objext'
19650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19651 (eval $ac_try) 2>&5
19653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19654 (exit $ac_status); }; }; then
19655 ac_cv_type_off_t
=yes
19657 echo "$as_me: failed program was:" >&5
19658 sed 's/^/| /' conftest.
$ac_ext >&5
19660 ac_cv_type_off_t
=no
19662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19664 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19665 echo "${ECHO_T}$ac_cv_type_off_t" >&6
19667 echo "$as_me:$LINENO: checking size of off_t" >&5
19668 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
19669 if test "${ac_cv_sizeof_off_t+set}" = set; then
19670 echo $ECHO_N "(cached) $ECHO_C" >&6
19672 if test "$ac_cv_type_off_t" = yes; then
19673 # The cast to unsigned long works around a bug in the HP C Compiler
19674 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19675 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19676 # This bug is HP SR number 8606223364.
19677 if test "$cross_compiling" = yes; then
19678 # Depending upon the size, compute the lo and hi bounds.
19679 cat >conftest.
$ac_ext <<_ACEOF
19682 cat confdefs.h
>>conftest.
$ac_ext
19683 cat >>conftest.
$ac_ext <<_ACEOF
19684 /* end confdefs.h. */
19685 $ac_includes_default
19689 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)];
19696 rm -f conftest.
$ac_objext
19697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19698 (eval $ac_compile) 2>conftest.er1
19700 grep -v '^ *+' conftest.er1
>conftest.err
19702 cat conftest.err
>&5
19703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704 (exit $ac_status); } &&
19705 { ac_try
='test -z "$ac_c_werror_flag"
19706 || test ! -s conftest.err'
19707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19708 (eval $ac_try) 2>&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); }; } &&
19712 { ac_try
='test -s conftest.$ac_objext'
19713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19714 (eval $ac_try) 2>&5
19716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19717 (exit $ac_status); }; }; then
19720 cat >conftest.
$ac_ext <<_ACEOF
19723 cat confdefs.h
>>conftest.
$ac_ext
19724 cat >>conftest.
$ac_ext <<_ACEOF
19725 /* end confdefs.h. */
19726 $ac_includes_default
19730 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
19737 rm -f conftest.
$ac_objext
19738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19739 (eval $ac_compile) 2>conftest.er1
19741 grep -v '^ *+' conftest.er1
>conftest.err
19743 cat conftest.err
>&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); } &&
19746 { ac_try
='test -z "$ac_c_werror_flag"
19747 || test ! -s conftest.err'
19748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19749 (eval $ac_try) 2>&5
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); }; } &&
19753 { ac_try
='test -s conftest.$ac_objext'
19754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19755 (eval $ac_try) 2>&5
19757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19758 (exit $ac_status); }; }; then
19759 ac_hi
=$ac_mid; break
19761 echo "$as_me: failed program was:" >&5
19762 sed 's/^/| /' conftest.
$ac_ext >&5
19764 ac_lo
=`expr $ac_mid + 1`
19765 if test $ac_lo -le $ac_mid; then
19769 ac_mid
=`expr 2 '*' $ac_mid + 1`
19771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19774 echo "$as_me: failed program was:" >&5
19775 sed 's/^/| /' conftest.
$ac_ext >&5
19777 cat >conftest.
$ac_ext <<_ACEOF
19780 cat confdefs.h
>>conftest.
$ac_ext
19781 cat >>conftest.
$ac_ext <<_ACEOF
19782 /* end confdefs.h. */
19783 $ac_includes_default
19787 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)];
19794 rm -f conftest.
$ac_objext
19795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19796 (eval $ac_compile) 2>conftest.er1
19798 grep -v '^ *+' conftest.er1
>conftest.err
19800 cat conftest.err
>&5
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); } &&
19803 { ac_try
='test -z "$ac_c_werror_flag"
19804 || test ! -s conftest.err'
19805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19806 (eval $ac_try) 2>&5
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); }; } &&
19810 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
19818 cat >conftest.
$ac_ext <<_ACEOF
19821 cat confdefs.h
>>conftest.
$ac_ext
19822 cat >>conftest.
$ac_ext <<_ACEOF
19823 /* end confdefs.h. */
19824 $ac_includes_default
19828 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)];
19835 rm -f conftest.
$ac_objext
19836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19837 (eval $ac_compile) 2>conftest.er1
19839 grep -v '^ *+' conftest.er1
>conftest.err
19841 cat conftest.err
>&5
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); } &&
19844 { ac_try
='test -z "$ac_c_werror_flag"
19845 || test ! -s conftest.err'
19846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19847 (eval $ac_try) 2>&5
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); }; } &&
19851 { ac_try
='test -s conftest.$ac_objext'
19852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19853 (eval $ac_try) 2>&5
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); }; }; then
19857 ac_lo
=$ac_mid; break
19859 echo "$as_me: failed program was:" >&5
19860 sed 's/^/| /' conftest.
$ac_ext >&5
19862 ac_hi
=`expr '(' $ac_mid ')' - 1`
19863 if test $ac_mid -le $ac_hi; then
19867 ac_mid
=`expr 2 '*' $ac_mid`
19869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19872 echo "$as_me: failed program was:" >&5
19873 sed 's/^/| /' conftest.
$ac_ext >&5
19877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19880 # Binary search between lo and hi bounds.
19881 while test "x$ac_lo" != "x$ac_hi"; do
19882 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19883 cat >conftest.
$ac_ext <<_ACEOF
19886 cat confdefs.h
>>conftest.
$ac_ext
19887 cat >>conftest.
$ac_ext <<_ACEOF
19888 /* end confdefs.h. */
19889 $ac_includes_default
19893 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
19900 rm -f conftest.
$ac_objext
19901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19902 (eval $ac_compile) 2>conftest.er1
19904 grep -v '^ *+' conftest.er1
>conftest.err
19906 cat conftest.err
>&5
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); } &&
19909 { ac_try
='test -z "$ac_c_werror_flag"
19910 || test ! -s conftest.err'
19911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19912 (eval $ac_try) 2>&5
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); }; } &&
19916 { ac_try
='test -s conftest.$ac_objext'
19917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19918 (eval $ac_try) 2>&5
19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921 (exit $ac_status); }; }; then
19924 echo "$as_me: failed program was:" >&5
19925 sed 's/^/| /' conftest.
$ac_ext >&5
19927 ac_lo
=`expr '(' $ac_mid ')' + 1`
19929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19932 ?
*) ac_cv_sizeof_off_t
=$ac_lo;;
19933 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
19934 echo "$as_me: error: in \`$ac_pwd':" >&2;}
19935 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
19936 See \`config.log' for more details." >&5
19937 echo "$as_me: error: cannot compute sizeof (off_t), 77
19938 See \`config.log' for more details." >&2;}
19939 { (exit 1); exit 1; }; }; } ;;
19942 if test "$cross_compiling" = yes; then
19943 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
19944 echo "$as_me: error: in \`$ac_pwd':" >&2;}
19945 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19946 See \`config.log' for more details." >&5
19947 echo "$as_me: error: cannot run test program while cross compiling
19948 See \`config.log' for more details." >&2;}
19949 { (exit 1); exit 1; }; }; }
19951 cat >conftest.
$ac_ext <<_ACEOF
19954 cat confdefs.h
>>conftest.
$ac_ext
19955 cat >>conftest.
$ac_ext <<_ACEOF
19956 /* end confdefs.h. */
19957 $ac_includes_default
19958 long longval () { return (long) (sizeof (off_t)); }
19959 unsigned long ulongval () { return (long) (sizeof (off_t)); }
19961 #include <stdlib.h>
19966 FILE *f = fopen ("conftest.val", "w");
19969 if (((long) (sizeof (off_t))) < 0)
19971 long i = longval ();
19972 if (i != ((long) (sizeof (off_t))))
19974 fprintf (f, "%ld\n", i);
19978 unsigned long i = ulongval ();
19979 if (i != ((long) (sizeof (off_t))))
19981 fprintf (f, "%lu\n", i);
19983 exit (ferror (f) || fclose (f) != 0);
19989 rm -f conftest
$ac_exeext
19990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19991 (eval $ac_link) 2>&5
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19996 (eval $ac_try) 2>&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); }; }; then
20000 ac_cv_sizeof_off_t
=`cat conftest.val`
20002 echo "$as_me: program exited with status $ac_status" >&5
20003 echo "$as_me: failed program was:" >&5
20004 sed 's/^/| /' conftest.
$ac_ext >&5
20006 ( exit $ac_status )
20007 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
20008 echo "$as_me: error: in \`$ac_pwd':" >&2;}
20009 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
20010 See \`config.log' for more details." >&5
20011 echo "$as_me: error: cannot compute sizeof (off_t), 77
20012 See \`config.log' for more details." >&2;}
20013 { (exit 1); exit 1; }; }; }
20015 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20020 ac_cv_sizeof_off_t
=0
20023 echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
20024 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
20025 cat >>confdefs.h
<<_ACEOF
20026 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
20031 echo "$as_me:$LINENO: checking file_ptr type" >&5
20032 echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
20033 bfd_file_ptr
="long"
20034 bfd_ufile_ptr
="unsigned long"
20035 if test x
"$ac_cv_func_ftello64" = xyes
-a x
"$ac_cv_func_fseeko64" = xyes \
20036 -o x
"${ac_cv_sizeof_off_t}" = x8
; then
20037 bfd_file_ptr
=BFD_HOST_64_BIT
20038 bfd_ufile_ptr
=BFD_HOST_U_64_BIT
20040 echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
20041 echo "${ECHO_T}$bfd_file_ptr" >&6
20047 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
20048 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
20049 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
20050 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
20051 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
20056 for ac_header
in stdlib.h unistd.h
20058 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20060 echo "$as_me:$LINENO: checking for $ac_header" >&5
20061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20063 echo $ECHO_N "(cached) $ECHO_C" >&6
20065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20068 # Is the header compilable?
20069 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20070 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20071 cat >conftest.
$ac_ext <<_ACEOF
20074 cat confdefs.h
>>conftest.
$ac_ext
20075 cat >>conftest.
$ac_ext <<_ACEOF
20076 /* end confdefs.h. */
20077 $ac_includes_default
20078 #include <$ac_header>
20080 rm -f conftest.
$ac_objext
20081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20082 (eval $ac_compile) 2>conftest.er1
20084 grep -v '^ *+' conftest.er1
>conftest.err
20086 cat conftest.err
>&5
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); } &&
20089 { ac_try
='test -z "$ac_c_werror_flag"
20090 || test ! -s conftest.err'
20091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20092 (eval $ac_try) 2>&5
20094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095 (exit $ac_status); }; } &&
20096 { ac_try
='test -s conftest.$ac_objext'
20097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20098 (eval $ac_try) 2>&5
20100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20101 (exit $ac_status); }; }; then
20102 ac_header_compiler
=yes
20104 echo "$as_me: failed program was:" >&5
20105 sed 's/^/| /' conftest.
$ac_ext >&5
20107 ac_header_compiler
=no
20109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20110 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20111 echo "${ECHO_T}$ac_header_compiler" >&6
20113 # Is the header present?
20114 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20115 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20116 cat >conftest.
$ac_ext <<_ACEOF
20119 cat confdefs.h
>>conftest.
$ac_ext
20120 cat >>conftest.
$ac_ext <<_ACEOF
20121 /* end confdefs.h. */
20122 #include <$ac_header>
20124 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20125 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20127 grep -v '^ *+' conftest.er1
>conftest.err
20129 cat conftest.err
>&5
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); } >/dev
/null
; then
20132 if test -s conftest.err
; then
20133 ac_cpp_err
=$ac_c_preproc_warn_flag
20134 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20141 if test -z "$ac_cpp_err"; then
20142 ac_header_preproc
=yes
20144 echo "$as_me: failed program was:" >&5
20145 sed 's/^/| /' conftest.
$ac_ext >&5
20147 ac_header_preproc
=no
20149 rm -f conftest.err conftest.
$ac_ext
20150 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20151 echo "${ECHO_T}$ac_header_preproc" >&6
20153 # So? What about this header?
20154 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20156 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20157 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20158 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20159 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20160 ac_header_preproc
=yes
20163 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20164 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20165 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20166 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20167 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20168 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20169 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20170 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20171 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20172 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20173 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20174 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20177 ## ------------------------------------------ ##
20178 ## Report this to the AC_PACKAGE_NAME lists. ##
20179 ## ------------------------------------------ ##
20182 sed "s/^/$as_me: WARNING: /" >&2
20185 echo "$as_me:$LINENO: checking for $ac_header" >&5
20186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20188 echo $ECHO_N "(cached) $ECHO_C" >&6
20190 eval "$as_ac_Header=\$ac_header_preproc"
20192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20193 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20196 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20197 cat >>confdefs.h
<<_ACEOF
20198 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20206 for ac_func
in getpagesize
20208 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20209 echo "$as_me:$LINENO: checking for $ac_func" >&5
20210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20211 if eval "test \"\${$as_ac_var+set}\" = set"; then
20212 echo $ECHO_N "(cached) $ECHO_C" >&6
20214 cat >conftest.
$ac_ext <<_ACEOF
20217 cat confdefs.h
>>conftest.
$ac_ext
20218 cat >>conftest.
$ac_ext <<_ACEOF
20219 /* end confdefs.h. */
20220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20222 #define $ac_func innocuous_$ac_func
20224 /* System header to define __stub macros and hopefully few prototypes,
20225 which can conflict with char $ac_func (); below.
20226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20227 <limits.h> exists even on freestanding compilers. */
20230 # include <limits.h>
20232 # include <assert.h>
20237 /* Override any gcc2 internal prototype to avoid an error. */
20242 /* We use char because int might match the return type of a gcc2
20243 builtin and then its argument prototype would still apply. */
20245 /* The GNU C library defines this for functions which it implements
20246 to always fail with ENOSYS. Some functions are actually named
20247 something starting with __ and the normal name is an alias. */
20248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20251 char (*f) () = $ac_func;
20260 return f != $ac_func;
20265 rm -f conftest.
$ac_objext conftest
$ac_exeext
20266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20267 (eval $ac_link) 2>conftest.er1
20269 grep -v '^ *+' conftest.er1
>conftest.err
20271 cat conftest.err
>&5
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); } &&
20274 { ac_try
='test -z "$ac_c_werror_flag"
20275 || test ! -s conftest.err'
20276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20277 (eval $ac_try) 2>&5
20279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280 (exit $ac_status); }; } &&
20281 { ac_try
='test -s conftest$ac_exeext'
20282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20283 (eval $ac_try) 2>&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); }; }; then
20287 eval "$as_ac_var=yes"
20289 echo "$as_me: failed program was:" >&5
20290 sed 's/^/| /' conftest.
$ac_ext >&5
20292 eval "$as_ac_var=no"
20294 rm -f conftest.err conftest.
$ac_objext \
20295 conftest
$ac_exeext conftest.
$ac_ext
20297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20299 if test `eval echo '${'$as_ac_var'}'` = yes; then
20300 cat >>confdefs.h
<<_ACEOF
20301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20307 echo "$as_me:$LINENO: checking for working mmap" >&5
20308 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
20309 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
20310 echo $ECHO_N "(cached) $ECHO_C" >&6
20312 if test "$cross_compiling" = yes; then
20313 ac_cv_func_mmap_fixed_mapped
=no
20315 cat >conftest.
$ac_ext <<_ACEOF
20318 cat confdefs.h
>>conftest.
$ac_ext
20319 cat >>conftest.
$ac_ext <<_ACEOF
20320 /* end confdefs.h. */
20321 $ac_includes_default
20322 /* malloc might have been renamed as rpl_malloc. */
20325 /* Thanks to Mike Haertel and Jim Avera for this test.
20326 Here is a matrix of mmap possibilities:
20327 mmap private not fixed
20328 mmap private fixed at somewhere currently unmapped
20329 mmap private fixed at somewhere already mapped
20330 mmap shared not fixed
20331 mmap shared fixed at somewhere currently unmapped
20332 mmap shared fixed at somewhere already mapped
20333 For private mappings, we should verify that changes cannot be read()
20334 back from the file, nor mmap's back from the file at a different
20335 address. (There have been systems where private was not correctly
20336 implemented like the infamous i386 svr4.0, and systems where the
20337 VM page cache was not coherent with the file system buffer cache
20338 like early versions of FreeBSD and possibly contemporary NetBSD.)
20339 For shared mappings, we should conversely verify that changes get
20340 propagated back to all the places they're supposed to be.
20342 Grep wants private fixed already mapped.
20343 The main things grep needs to know about mmap are:
20344 * does it exist and is it safe to write into the mmap'd area
20345 * how to use it (BSD variants) */
20348 #include <sys/mman.h>
20350 #if !STDC_HEADERS && !HAVE_STDLIB_H
20354 /* This mess was copied from the GNU getpagesize.h. */
20355 #if !HAVE_GETPAGESIZE
20356 /* Assume that all systems that can run configure have sys/param.h. */
20357 # if !HAVE_SYS_PARAM_H
20358 # define HAVE_SYS_PARAM_H 1
20361 # ifdef _SC_PAGESIZE
20362 # define getpagesize() sysconf(_SC_PAGESIZE)
20363 # else /* no _SC_PAGESIZE */
20364 # if HAVE_SYS_PARAM_H
20365 # include <sys/param.h>
20366 # ifdef EXEC_PAGESIZE
20367 # define getpagesize() EXEC_PAGESIZE
20368 # else /* no EXEC_PAGESIZE */
20370 # define getpagesize() NBPG * CLSIZE
20373 # endif /* no CLSIZE */
20374 # else /* no NBPG */
20376 # define getpagesize() NBPC
20377 # else /* no NBPC */
20379 # define getpagesize() PAGESIZE
20380 # endif /* PAGESIZE */
20381 # endif /* no NBPC */
20382 # endif /* no NBPG */
20383 # endif /* no EXEC_PAGESIZE */
20384 # else /* no HAVE_SYS_PARAM_H */
20385 # define getpagesize() 8192 /* punt totally */
20386 # endif /* no HAVE_SYS_PARAM_H */
20387 # endif /* no _SC_PAGESIZE */
20389 #endif /* no HAVE_GETPAGESIZE */
20394 char *data, *data2, *data3;
20398 pagesize = getpagesize ();
20400 /* First, make a file with some known garbage in it. */
20401 data = (char *) malloc (pagesize);
20404 for (i = 0; i < pagesize; ++i)
20405 *(data + i) = rand ();
20407 fd = creat ("conftest.mmap", 0600);
20410 if (write (fd, data, pagesize) != pagesize)
20414 /* Next, try to mmap the file at a fixed address which already has
20415 something else allocated at it. If we can, also make sure that
20416 we see the same garbage. */
20417 fd = open ("conftest.mmap", O_RDWR);
20420 data2 = (char *) malloc (2 * pagesize);
20423 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
20424 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
20425 MAP_PRIVATE | MAP_FIXED, fd, 0L))
20427 for (i = 0; i < pagesize; ++i)
20428 if (*(data + i) != *(data2 + i))
20431 /* Finally, make sure that changes to the mapped area do not
20432 percolate back to the file as seen by read(). (This is a bug on
20433 some variants of i386 svr4.0.) */
20434 for (i = 0; i < pagesize; ++i)
20435 *(data2 + i) = *(data2 + i) + 1;
20436 data3 = (char *) malloc (pagesize);
20439 if (read (fd, data3, pagesize) != pagesize)
20441 for (i = 0; i < pagesize; ++i)
20442 if (*(data + i) != *(data3 + i))
20448 rm -f conftest
$ac_exeext
20449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20450 (eval $ac_link) 2>&5
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20455 (eval $ac_try) 2>&5
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); }; }; then
20459 ac_cv_func_mmap_fixed_mapped
=yes
20461 echo "$as_me: program exited with status $ac_status" >&5
20462 echo "$as_me: failed program was:" >&5
20463 sed 's/^/| /' conftest.
$ac_ext >&5
20465 ( exit $ac_status )
20466 ac_cv_func_mmap_fixed_mapped
=no
20468 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20471 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
20472 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
20473 if test $ac_cv_func_mmap_fixed_mapped = yes; then
20475 cat >>confdefs.h
<<\_ACEOF
20476 #define HAVE_MMAP 1
20480 rm -f conftest.mmap
20484 for ac_func
in madvise mprotect
20486 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20487 echo "$as_me:$LINENO: checking for $ac_func" >&5
20488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20489 if eval "test \"\${$as_ac_var+set}\" = set"; then
20490 echo $ECHO_N "(cached) $ECHO_C" >&6
20492 cat >conftest.
$ac_ext <<_ACEOF
20495 cat confdefs.h
>>conftest.
$ac_ext
20496 cat >>conftest.
$ac_ext <<_ACEOF
20497 /* end confdefs.h. */
20498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20500 #define $ac_func innocuous_$ac_func
20502 /* System header to define __stub macros and hopefully few prototypes,
20503 which can conflict with char $ac_func (); below.
20504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20505 <limits.h> exists even on freestanding compilers. */
20508 # include <limits.h>
20510 # include <assert.h>
20515 /* Override any gcc2 internal prototype to avoid an error. */
20520 /* We use char because int might match the return type of a gcc2
20521 builtin and then its argument prototype would still apply. */
20523 /* The GNU C library defines this for functions which it implements
20524 to always fail with ENOSYS. Some functions are actually named
20525 something starting with __ and the normal name is an alias. */
20526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20529 char (*f) () = $ac_func;
20538 return f != $ac_func;
20543 rm -f conftest.
$ac_objext conftest
$ac_exeext
20544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20545 (eval $ac_link) 2>conftest.er1
20547 grep -v '^ *+' conftest.er1
>conftest.err
20549 cat conftest.err
>&5
20550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551 (exit $ac_status); } &&
20552 { ac_try
='test -z "$ac_c_werror_flag"
20553 || test ! -s conftest.err'
20554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20555 (eval $ac_try) 2>&5
20557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20558 (exit $ac_status); }; } &&
20559 { ac_try
='test -s conftest$ac_exeext'
20560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20561 (eval $ac_try) 2>&5
20563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20564 (exit $ac_status); }; }; then
20565 eval "$as_ac_var=yes"
20567 echo "$as_me: failed program was:" >&5
20568 sed 's/^/| /' conftest.
$ac_ext >&5
20570 eval "$as_ac_var=no"
20572 rm -f conftest.err conftest.
$ac_objext \
20573 conftest
$ac_exeext conftest.
$ac_ext
20575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20577 if test `eval echo '${'$as_ac_var'}'` = yes; then
20578 cat >>confdefs.h
<<_ACEOF
20579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20585 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
20587 cat >>confdefs.h
<<\_ACEOF
20593 rm -f doc
/config.status
20594 ac_config_files
="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
20597 ac_config_commands
="$ac_config_commands default"
20604 cat >confcache
<<\_ACEOF
20605 # This file is a shell script that caches the results of configure
20606 # tests run on this system so they can be shared between configure
20607 # scripts and configure runs, see configure's option --config-cache.
20608 # It is not useful on other systems. If it contains results you don't
20609 # want to keep, you may remove or edit it.
20611 # config.status only pays attention to the cache file if you give it
20612 # the --recheck option to rerun configure.
20614 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20615 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20616 # following values.
20620 # The following way of writing the cache mishandles newlines in values,
20621 # but we know of no workaround that is simple, portable, and efficient.
20622 # So, don't put newlines in cache variables' values.
20623 # Ultrix sh set writes to stderr and can't be redirected directly,
20624 # and sets the high bit in the cache file unless we assign to the vars.
20627 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20629 # `set' does not quote correctly, so add quotes (double-quote
20630 # substitution turns \\\\ into \\, and sed turns \\ into \).
20633 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20636 # `set' quotes correctly as required by POSIX, so do not add quotes.
20638 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20645 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20647 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20649 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20650 if test -w $cache_file; then
20651 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20652 cat confcache
>$cache_file
20654 echo "not updating unwritable cache $cache_file"
20659 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20660 # Let make expand exec_prefix.
20661 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20663 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20664 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20665 # trailing colons and then remove the whole line if VPATH becomes empty
20666 # (actually we leave an empty line to preserve line numbers).
20667 if test "x$srcdir" = x.
; then
20668 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20669 s/:*\$(srcdir):*/:/;
20670 s/:*\${srcdir}:*/:/;
20672 s/^\([^=]*=[ ]*\):*/\1/;
20678 DEFS
=-DHAVE_CONFIG_H
20682 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20683 # 1. Remove the extension, and $U if already installed.
20684 ac_i
=`echo "$ac_i" |
20685 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20687 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
20688 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
20690 LIBOBJS
=$ac_libobjs
20692 LTLIBOBJS
=$ac_ltlibobjs
20695 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20696 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20697 Usually this means the macro was only invoked conditionally." >&5
20698 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20699 Usually this means the macro was only invoked conditionally." >&2;}
20700 { (exit 1); exit 1; }; }
20702 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20703 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20704 Usually this means the macro was only invoked conditionally." >&5
20705 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20706 Usually this means the macro was only invoked conditionally." >&2;}
20707 { (exit 1); exit 1; }; }
20709 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20710 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
20711 Usually this means the macro was only invoked conditionally." >&5
20712 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
20713 Usually this means the macro was only invoked conditionally." >&2;}
20714 { (exit 1); exit 1; }; }
20716 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
20717 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
20718 Usually this means the macro was only invoked conditionally." >&5
20719 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
20720 Usually this means the macro was only invoked conditionally." >&2;}
20721 { (exit 1); exit 1; }; }
20723 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
20724 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
20725 Usually this means the macro was only invoked conditionally." >&5
20726 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
20727 Usually this means the macro was only invoked conditionally." >&2;}
20728 { (exit 1); exit 1; }; }
20731 : ${CONFIG_STATUS=./config.status}
20732 ac_clean_files_save
=$ac_clean_files
20733 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20734 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20735 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20736 cat >$CONFIG_STATUS <<_ACEOF
20738 # Generated by $as_me.
20739 # Run this file to recreate the current configuration.
20740 # Compiler output produced by configure, useful for debugging
20741 # configure, is in config.log if it exists.
20744 ac_cs_recheck=false
20746 SHELL=\${CONFIG_SHELL-$SHELL}
20749 cat >>$CONFIG_STATUS <<\_ACEOF
20750 ## --------------------- ##
20751 ## M4sh Initialization. ##
20752 ## --------------------- ##
20754 # Be Bourne compatible
20755 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20758 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20759 # is contrary to our usage. Disable this feature.
20760 alias -g '${1+"$@"}'='"$@"'
20761 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20764 DUALCASE
=1; export DUALCASE
# for MKS sh
20766 # Support unset when possible.
20767 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20774 # Work around bugs in pre-3.0 UWIN ksh.
20775 $as_unset ENV MAIL MAILPATH
20782 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20783 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20784 LC_TELEPHONE LC_TIME
20786 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20787 eval $as_var=C
; export $as_var
20793 # Required to use basename.
20794 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20800 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20801 as_basename
=basename
20807 # Name of the executable.
20808 as_me
=`$as_basename "$0" ||
20809 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20810 X"$0" : 'X\(//\)$' \| \
20811 X"$0" : 'X\(/\)$' \| \
20812 . : '\(.\)' 2>/dev/null ||
20814 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20815 /^X\/\(\/\/\)$/{ s//\1/; q; }
20816 /^X\/\(\/\).*/{ s//\1/; q; }
20820 # PATH needs CR, and LINENO needs CR and PATH.
20821 # Avoid depending upon Character Ranges.
20822 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20823 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20824 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20825 as_cr_digits
='0123456789'
20826 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20828 # The user is always right.
20829 if test "${PATH_SEPARATOR+set}" != set; then
20830 echo "#! /bin/sh" >conf$$.sh
20831 echo "exit 0" >>conf$$.sh
20833 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20842 as_lineno_1
=$LINENO
20843 as_lineno_2
=$LINENO
20844 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20845 test "x$as_lineno_1" != "x$as_lineno_2" &&
20846 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20847 # Find who we are. Look in the path if we contain no path at all
20850 *[\\/]* ) as_myself
=$0 ;;
20851 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20852 for as_dir
in $PATH
20855 test -z "$as_dir" && as_dir
=.
20856 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20861 # We did not find ourselves, most probably we were run as `sh COMMAND'
20862 # in which case we are not to be found in the path.
20863 if test "x$as_myself" = x
; then
20866 if test ! -f "$as_myself"; then
20867 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20868 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20869 { (exit 1); exit 1; }; }
20871 case $CONFIG_SHELL in
20873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20874 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20877 test -z "$as_dir" && as_dir
=.
20878 for as_base
in sh bash ksh sh5
; do
20881 if ("$as_dir/$as_base" -c '
20882 as_lineno_1=$LINENO
20883 as_lineno_2=$LINENO
20884 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20885 test "x$as_lineno_1" != "x$as_lineno_2" &&
20886 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20887 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20888 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20889 CONFIG_SHELL
=$as_dir/$as_base
20890 export CONFIG_SHELL
20891 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20899 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20900 # uniformly replaced by the line number. The first 'sed' inserts a
20901 # line-number line before each line; the second 'sed' does the real
20902 # work. The second script uses 'N' to pair each line-number line
20903 # with the numbered line, and appends trailing '-' during
20904 # substitution so that $LINENO is not a special case at line end.
20905 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20906 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20907 sed '=' <$as_myself |
20912 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20915 s,^['$as_cr_digits']*\n,,
20916 ' >$as_me.lineno
&&
20917 chmod +x
$as_me.lineno ||
20918 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20919 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20920 { (exit 1); exit 1; }; }
20922 # Don't try to exec as it changes $[0], causing all sort of problems
20923 # (the dirname of $[0] is not the place where we might find the
20924 # original and so on. Autoconf is especially sensible to this).
20926 # Exit status is that of the last command.
20931 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20932 *c
*,-n*) ECHO_N
= ECHO_C
='
20934 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20935 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20938 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20944 rm -f conf$$ conf$$.exe conf$$.
file
20946 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20947 # We could just check for DJGPP; but this test a) works b) is more generic
20948 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20949 if test -f conf$$.exe
; then
20950 # Don't use ln at all; we don't have any links
20955 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20960 rm -f conf$$ conf$$.exe conf$$.
file
20962 if mkdir
-p .
2>/dev
/null
; then
20965 test -d .
/-p && rmdir .
/-p
20969 as_executable_p
="test -f"
20971 # Sed expression to map a string onto a valid CPP name.
20972 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20974 # Sed expression to map a string onto a valid variable name.
20975 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20979 # We need space, tab and new line, in precisely that order.
20989 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20990 # report actual input values of CONFIG_FILES etc. instead of their
20991 # values after options handling. Logging --version etc. is OK.
20995 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20996 ## Running $as_me. ##
21001 This file was extended by $as_me, which was
21002 generated by GNU Autoconf 2.59. Invocation command line was
21004 CONFIG_FILES = $CONFIG_FILES
21005 CONFIG_HEADERS = $CONFIG_HEADERS
21006 CONFIG_LINKS = $CONFIG_LINKS
21007 CONFIG_COMMANDS = $CONFIG_COMMANDS
21011 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21015 # Files that config.status was made for.
21016 if test -n "$ac_config_files"; then
21017 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21020 if test -n "$ac_config_headers"; then
21021 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21024 if test -n "$ac_config_links"; then
21025 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21028 if test -n "$ac_config_commands"; then
21029 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21032 cat >>$CONFIG_STATUS <<\_ACEOF
21035 \`$as_me' instantiates files from templates according to the
21036 current configuration.
21038 Usage: $0 [OPTIONS] [FILE]...
21040 -h, --help print this help, then exit
21041 -V, --version print version number, then exit
21042 -q, --quiet do not print progress messages
21043 -d, --debug don't remove temporary files
21044 --recheck update $as_me by reconfiguring in the same conditions
21045 --file=FILE[:TEMPLATE]
21046 instantiate the configuration file FILE
21047 --header=FILE[:TEMPLATE]
21048 instantiate the configuration header FILE
21050 Configuration files:
21053 Configuration headers:
21056 Configuration commands:
21059 Report bugs to <bug-autoconf@gnu.org>."
21062 cat >>$CONFIG_STATUS <<_ACEOF
21065 configured by $0, generated by GNU Autoconf 2.59,
21066 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21068 Copyright (C) 2003 Free Software Foundation, Inc.
21069 This config.status script is free software; the Free Software Foundation
21070 gives unlimited permission to copy, distribute and modify it."
21075 cat >>$CONFIG_STATUS <<\_ACEOF
21076 # If no file are specified by the user, then we need to provide default
21077 # value. By we need to know if files were specified by the user.
21083 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
21084 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
21092 *) # This is not an option, so the user has probably given explicit
21095 ac_need_defaults
=false
;;
21099 # Handling of the options.
21101 cat >>$CONFIG_STATUS <<\_ACEOF
21102 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21104 --version |
--vers* |
-V )
21105 echo "$ac_cs_version"; exit 0 ;;
21107 # Conflict between --help and --header
21108 { { echo "$as_me:$LINENO: error: ambiguous option: $1
21109 Try \`$0 --help' for more information." >&5
21110 echo "$as_me: error: ambiguous option: $1
21111 Try \`$0 --help' for more information." >&2;}
21112 { (exit 1); exit 1; }; };;
21113 --help |
--hel |
-h )
21114 echo "$ac_cs_usage"; exit 0 ;;
21115 --debug |
--d* |
-d )
21117 --file |
--fil |
--fi |
--f )
21119 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21120 ac_need_defaults
=false
;;
21121 --header |
--heade |
--head |
--hea )
21123 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21124 ac_need_defaults
=false
;;
21125 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21126 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21129 # This is an error.
21130 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21131 Try \`$0 --help' for more information." >&5
21132 echo "$as_me: error: unrecognized option: $1
21133 Try \`$0 --help' for more information." >&2;}
21134 { (exit 1); exit 1; }; } ;;
21136 *) ac_config_targets
="$ac_config_targets $1" ;;
21142 ac_configure_extra_args
=
21144 if $ac_cs_silent; then
21146 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21150 cat >>$CONFIG_STATUS <<_ACEOF
21151 if \$ac_cs_recheck; then
21152 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21153 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21158 cat >>$CONFIG_STATUS <<_ACEOF
21160 # INIT-COMMANDS section.
21163 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21166 # The HP-UX ksh and POSIX shell print the target directory to stdout
21167 # if CDPATH is set.
21168 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21170 sed_quote_subst='$sed_quote_subst'
21171 double_quote_subst='$double_quote_subst'
21172 delay_variable_subst='$delay_variable_subst'
21173 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
21174 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
21175 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
21176 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
21177 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
21178 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
21179 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
21180 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
21181 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
21182 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
21183 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
21184 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
21185 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
21186 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
21187 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
21188 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
21189 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
21190 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
21191 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
21192 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
21193 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
21194 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
21195 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
21196 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
21197 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
21198 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
21199 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
21200 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21201 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
21202 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
21203 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
21204 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
21205 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
21206 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
21207 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21208 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21209 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21210 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
21211 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
21212 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
21213 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
21214 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
21215 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
21216 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"`'
21217 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
21218 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
21219 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
21220 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
21221 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
21222 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
21223 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
21224 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
21225 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
21226 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
21227 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
21228 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21229 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21230 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
21231 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
21232 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21233 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21234 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
21235 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21236 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21237 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21238 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21239 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21240 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21241 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
21242 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
21243 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
21244 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21245 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
21246 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
21247 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
21248 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
21249 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
21250 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21251 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
21252 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
21253 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
21254 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
21255 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
21256 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21257 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
21258 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
21259 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21260 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
21261 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
21262 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
21263 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
21264 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
21265 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21266 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21267 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
21268 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
21269 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
21270 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
21271 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21272 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21273 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21274 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
21275 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
21276 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
21277 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
21278 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
21279 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
21280 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
21281 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
21282 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
21283 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
21286 LTCFLAGS='$LTCFLAGS'
21287 compiler='$compiler_DEFAULT'
21289 # Quote evaled strings.
21300 deplibs_check_method \
21309 lt_cv_sys_global_symbol_pipe \
21310 lt_cv_sys_global_symbol_to_cdecl \
21311 lt_cv_sys_global_symbol_to_c_name_address \
21314 lt_prog_compiler_no_builtin_flag \
21315 lt_prog_compiler_wl \
21316 lt_prog_compiler_pic \
21317 lt_prog_compiler_static \
21318 lt_cv_prog_compiler_c_o \
21321 export_dynamic_flag_spec \
21322 whole_archive_flag_spec \
21323 compiler_needs_object \
21325 allow_undefined_flag \
21326 no_undefined_flag \
21327 hardcode_libdir_flag_spec \
21328 hardcode_libdir_flag_spec_ld \
21329 hardcode_libdir_separator \
21334 variables_saved_for_relink \
21336 library_names_spec \
21341 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
21342 *[\\\\\\\`\\"\\\$]*)
21343 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21346 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21351 # Double-quote double-evaled strings.
21352 for var in reload_cmds \
21353 old_postinstall_cmds \
21354 old_postuninstall_cmds \
21356 extract_expsyms_cmds \
21357 old_archive_from_new_cmds \
21358 old_archive_from_expsyms_cmds \
21360 archive_expsym_cmds \
21362 module_expsym_cmds \
21363 export_symbols_cmds \
21366 postuninstall_cmds \
21368 sys_lib_search_path_spec \
21369 sys_lib_dlsearch_path_spec; do
21370 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
21371 *[\\\\\\\`\\"\\\$]*)
21372 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21375 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21380 # Fix-up fallback echo if it was mangled by the above quoting rules.
21382 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
21386 ac_aux_dir='$ac_aux_dir'
21387 xsi_shell='$xsi_shell'
21388 lt_shell_append='$lt_shell_append'
21390 # See if we are running on zsh, and set the options which allow our
21391 # commands through without removal of \ escapes INIT.
21392 if test -n "\${ZSH_VERSION+set}" ; then
21393 setopt NO_GLOB_SUBST
21399 TIMESTAMP='$TIMESTAMP'
21405 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
21406 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
21408 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
21409 # Capture the value of LINGUAS because we need it to compute CATALOGS.
21410 LINGUAS="${LINGUAS-%UNSET%}"
21415 acx_cv_header_stdint="$acx_cv_header_stdint"
21416 acx_cv_type_int8_t="$acx_cv_type_int8_t"
21417 acx_cv_type_int16_t="$acx_cv_type_int16_t"
21418 acx_cv_type_int32_t="$acx_cv_type_int32_t"
21419 acx_cv_type_int64_t="$acx_cv_type_int64_t"
21420 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
21421 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
21422 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
21423 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
21424 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
21425 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
21426 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
21427 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
21428 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
21436 cat >>$CONFIG_STATUS <<\_ACEOF
21437 for ac_config_target
in $ac_config_targets
21439 case "$ac_config_target" in
21440 # Handling of arguments.
21441 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21442 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
21443 "bfd-in3.h" ) CONFIG_FILES
="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
21444 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
21445 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21446 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21447 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
21448 "bfd_stdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS bfd_stdint.h" ;;
21449 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
21450 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
21451 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21452 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21453 { (exit 1); exit 1; }; };;
21457 # If the user did not use the arguments to specify the items to instantiate,
21458 # then the envvar interface is used. Set only those that are not.
21459 # We use the long form for the default assignment because of an extremely
21460 # bizarre bug on SunOS 4.1.3.
21461 if $ac_need_defaults; then
21462 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21463 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21464 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21467 # Have a temporary directory for convenience. Make it in the build tree
21468 # simply because there is no reason to put it here, and in addition,
21469 # creating and moving files from /tmp can sometimes cause problems.
21470 # Create a temporary directory, and hook for its removal unless debugging.
21473 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21474 trap '{ (exit 1); exit 1; }' 1 2 13 15
21477 # Create a (secure) tmp directory for tmp files.
21480 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21481 test -n "$tmp" && test -d "$tmp"
21484 tmp
=.
/confstat$$
-$RANDOM
21485 (umask 077 && mkdir
$tmp)
21488 echo "$me: cannot create a temporary directory in ." >&2
21489 { (exit 1); exit 1; }
21494 cat >>$CONFIG_STATUS <<_ACEOF
21497 # CONFIG_FILES section.
21500 # No need to generate the scripts if there are no CONFIG_FILES.
21501 # This happens for instance when ./config.status config.h
21502 if test -n "\$CONFIG_FILES"; then
21503 # Protect against being on the right side of a sed subst in config.status.
21504 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21505 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21506 s,@SHELL@,$SHELL,;t t
21507 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21508 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21509 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21510 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21511 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21512 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21513 s,@exec_prefix@,$exec_prefix,;t t
21514 s,@prefix@,$prefix,;t t
21515 s,@program_transform_name@,$program_transform_name,;t t
21516 s,@bindir@,$bindir,;t t
21517 s,@sbindir@,$sbindir,;t t
21518 s,@libexecdir@,$libexecdir,;t t
21519 s,@datadir@,$datadir,;t t
21520 s,@sysconfdir@,$sysconfdir,;t t
21521 s,@sharedstatedir@,$sharedstatedir,;t t
21522 s,@localstatedir@,$localstatedir,;t t
21523 s,@libdir@,$libdir,;t t
21524 s,@includedir@,$includedir,;t t
21525 s,@oldincludedir@,$oldincludedir,;t t
21526 s,@infodir@,$infodir,;t t
21527 s,@mandir@,$mandir,;t t
21528 s,@build_alias@,$build_alias,;t t
21529 s,@host_alias@,$host_alias,;t t
21530 s,@target_alias@,$target_alias,;t t
21531 s,@DEFS@,$DEFS,;t t
21532 s,@ECHO_C@,$ECHO_C,;t t
21533 s,@ECHO_N@,$ECHO_N,;t t
21534 s,@ECHO_T@,$ECHO_T,;t t
21535 s,@LIBS@,$LIBS,;t t
21536 s,@build@,$build,;t t
21537 s,@build_cpu@,$build_cpu,;t t
21538 s,@build_vendor@,$build_vendor,;t t
21539 s,@build_os@,$build_os,;t t
21540 s,@host@,$host,;t t
21541 s,@host_cpu@,$host_cpu,;t t
21542 s,@host_vendor@,$host_vendor,;t t
21543 s,@host_os@,$host_os,;t t
21544 s,@target@,$target,;t t
21545 s,@target_cpu@,$target_cpu,;t t
21546 s,@target_vendor@,$target_vendor,;t t
21547 s,@target_os@,$target_os,;t t
21549 s,@CFLAGS@,$CFLAGS,;t t
21550 s,@LDFLAGS@,$LDFLAGS,;t t
21551 s,@CPPFLAGS@,$CPPFLAGS,;t t
21552 s,@ac_ct_CC@,$ac_ct_CC,;t t
21553 s,@EXEEXT@,$EXEEXT,;t t
21554 s,@OBJEXT@,$OBJEXT,;t t
21555 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21556 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21557 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21558 s,@CYGPATH_W@,$CYGPATH_W,;t t
21559 s,@PACKAGE@,$PACKAGE,;t t
21560 s,@VERSION@,$VERSION,;t t
21561 s,@ACLOCAL@,$ACLOCAL,;t t
21562 s,@AUTOCONF@,$AUTOCONF,;t t
21563 s,@AUTOMAKE@,$AUTOMAKE,;t t
21564 s,@AUTOHEADER@,$AUTOHEADER,;t t
21565 s,@MAKEINFO@,$MAKEINFO,;t t
21566 s,@install_sh@,$install_sh,;t t
21567 s,@STRIP@,$STRIP,;t t
21568 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21569 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21570 s,@mkdir_p@,$mkdir_p,;t t
21572 s,@SET_MAKE@,$SET_MAKE,;t t
21573 s,@am__leading_dot@,$am__leading_dot,;t t
21574 s,@AMTAR@,$AMTAR,;t t
21575 s,@am__tar@,$am__tar,;t t
21576 s,@am__untar@,$am__untar,;t t
21577 s,@DEPDIR@,$DEPDIR,;t t
21578 s,@am__include@,$am__include,;t t
21579 s,@am__quote@,$am__quote,;t t
21580 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21581 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21582 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21583 s,@CCDEPMODE@,$CCDEPMODE,;t t
21584 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21585 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21587 s,@ac_ct_AR@,$ac_ct_AR,;t t
21588 s,@RANLIB@,$RANLIB,;t t
21589 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21590 s,@LIBTOOL@,$LIBTOOL,;t t
21592 s,@EGREP@,$EGREP,;t t
21593 s,@FGREP@,$FGREP,;t t
21594 s,@GREP@,$GREP,;t t
21596 s,@DUMPBIN@,$DUMPBIN,;t t
21597 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
21599 s,@LN_S@,$LN_S,;t t
21600 s,@lt_ECHO@,$lt_ECHO,;t t
21602 s,@DEBUGDIR@,$DEBUGDIR,;t t
21603 s,@PKGVERSION@,$PKGVERSION,;t t
21604 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
21605 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t
21606 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
21607 s,@NO_WERROR@,$NO_WERROR,;t t
21608 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21609 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21610 s,@MAINT@,$MAINT,;t t
21611 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
21612 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
21613 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
21614 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
21615 s,@host_noncanonical@,$host_noncanonical,;t t
21616 s,@target_noncanonical@,$target_noncanonical,;t t
21617 s,@bfdlibdir@,$bfdlibdir,;t t
21618 s,@bfdincludedir@,$bfdincludedir,;t t
21619 s,@USE_NLS@,$USE_NLS,;t t
21620 s,@LIBINTL@,$LIBINTL,;t t
21621 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
21622 s,@INCINTL@,$INCINTL,;t t
21623 s,@XGETTEXT@,$XGETTEXT,;t t
21624 s,@GMSGFMT@,$GMSGFMT,;t t
21625 s,@POSUB@,$POSUB,;t t
21626 s,@CATALOGS@,$CATALOGS,;t t
21627 s,@DATADIRNAME@,$DATADIRNAME,;t t
21628 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
21629 s,@GENCAT@,$GENCAT,;t t
21630 s,@CATOBJEXT@,$CATOBJEXT,;t t
21631 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
21632 s,@MSGFMT@,$MSGFMT,;t t
21633 s,@MSGMERGE@,$MSGMERGE,;t t
21634 s,@HDEFINES@,$HDEFINES,;t t
21635 s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
21636 s,@BFD_HOST_64BIT_LONG_LONG@,$BFD_HOST_64BIT_LONG_LONG,;t t
21637 s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
21638 s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
21639 s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
21640 s,@BFD_HOSTPTR_T@,$BFD_HOSTPTR_T,;t t
21641 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
21642 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
21643 s,@COREFILE@,$COREFILE,;t t
21644 s,@COREFLAG@,$COREFLAG,;t t
21645 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
21646 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
21647 s,@TDEFINES@,$TDEFINES,;t t
21648 s,@wordsize@,$wordsize,;t t
21649 s,@bfd64_libs@,$bfd64_libs,;t t
21650 s,@all_backends@,$all_backends,;t t
21651 s,@bfd_backends@,$bfd_backends,;t t
21652 s,@bfd_machines@,$bfd_machines,;t t
21653 s,@bfd_default_target_size@,$bfd_default_target_size,;t t
21654 s,@bfd_file_ptr@,$bfd_file_ptr,;t t
21655 s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
21656 s,@tdefaults@,$tdefaults,;t t
21657 s,@datarootdir@,$datarootdir,;t t
21658 s,@docdir@,$docdir,;t t
21659 s,@htmldir@,$htmldir,;t t
21660 s,@LIBOBJS@,$LIBOBJS,;t t
21661 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21666 cat >>$CONFIG_STATUS <<\_ACEOF
21667 # Split the substitutions into bite-sized pieces for seds with
21668 # small command number limits, like on Digital OSF/1 and HP-UX.
21669 ac_max_sed_lines
=48
21670 ac_sed_frag
=1 # Number of current file.
21671 ac_beg
=1 # First line for current file.
21672 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21675 while $ac_more_lines; do
21676 if test $ac_beg -gt 1; then
21677 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21679 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21681 if test ! -s $tmp/subs.frag
; then
21682 ac_more_lines
=false
21684 # The purpose of the label and of the branching condition is to
21685 # speed up the sed processing (if there are no `@' at all, there
21686 # is no need to browse any of the substitutions).
21687 # These are the two extra sed commands mentioned above.
21689 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
21690 if test -z "$ac_sed_cmds"; then
21691 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21693 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21695 ac_sed_frag
=`expr $ac_sed_frag + 1`
21697 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21700 if test -z "$ac_sed_cmds"; then
21703 fi # test -n "$CONFIG_FILES"
21706 cat >>$CONFIG_STATUS <<\_ACEOF
21707 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21708 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21710 - |
*:- |
*:-:* ) # input from stdin
21712 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21713 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21714 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21715 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21716 * ) ac_file_in
=$ac_file.
in ;;
21719 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21720 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21721 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21722 X"$ac_file" : 'X\(//\)[^/]' \| \
21723 X"$ac_file" : 'X\(//\)$' \| \
21724 X"$ac_file" : 'X\(/\)' \| \
21725 . : '\(.\)' 2>/dev/null ||
21727 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21728 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21729 /^X\(\/\/\)$/{ s//\1/; q; }
21730 /^X\(\/\).*/{ s//\1/; q; }
21732 { if $as_mkdir_p; then
21737 while test ! -d "$as_dir"; do
21738 as_dirs
="$as_dir $as_dirs"
21739 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21740 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21741 X"$as_dir" : 'X\(//\)[^/]' \| \
21742 X"$as_dir" : 'X\(//\)$' \| \
21743 X"$as_dir" : 'X\(/\)' \| \
21744 . : '\(.\)' 2>/dev/null ||
21746 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21747 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21748 /^X\(\/\/\)$/{ s//\1/; q; }
21749 /^X\(\/\).*/{ s//\1/; q; }
21752 test ! -n "$as_dirs" || mkdir
$as_dirs
21753 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21754 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21755 { (exit 1); exit 1; }; }; }
21759 if test "$ac_dir" != .
; then
21760 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21761 # A "../" for each directory in $ac_dir_suffix.
21762 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21764 ac_dir_suffix
= ac_top_builddir
=
21768 .
) # No --srcdir option. We are building in place.
21770 if test -z "$ac_top_builddir"; then
21773 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21775 [\\/]* | ?
:[\\/]* ) # Absolute path.
21776 ac_srcdir
=$srcdir$ac_dir_suffix;
21777 ac_top_srcdir
=$srcdir ;;
21778 *) # Relative path.
21779 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21780 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21783 # Do not use `cd foo && pwd` to compute absolute paths, because
21784 # the directories may not exist.
21786 .
) ac_abs_builddir
="$ac_dir";;
21789 .
) ac_abs_builddir
=`pwd`;;
21790 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21791 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21794 case $ac_abs_builddir in
21795 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21797 case ${ac_top_builddir}.
in
21798 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21799 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21800 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21803 case $ac_abs_builddir in
21804 .
) ac_abs_srcdir
=$ac_srcdir;;
21807 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21808 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21809 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21812 case $ac_abs_builddir in
21813 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21815 case $ac_top_srcdir in
21816 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21817 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21818 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21824 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21825 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21828 if test x
"$ac_file" != x-
; then
21829 { echo "$as_me:$LINENO: creating $ac_file" >&5
21830 echo "$as_me: creating $ac_file" >&6;}
21833 # Let's still pretend it is `configure' which instantiates (i.e., don't
21834 # use $as_me), people would be surprised to read:
21835 # /* config.h. Generated by config.status. */
21836 if test x
"$ac_file" = x-
; then
21839 configure_input
="$ac_file. "
21841 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21842 sed 's,.*/,,'` by configure."
21844 # First look for the input files in the build tree, otherwise in the
21846 ac_file_inputs
=`IFS=:
21847 for f in $ac_file_in; do
21849 -) echo $tmp/stdin ;;
21851 # Absolute (can't be DOS-style, as IFS=:)
21852 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21853 echo "$as_me: error: cannot find input file: $f" >&2;}
21854 { (exit 1); exit 1; }; }
21857 if test -f "$f"; then
21860 elif test -f "$srcdir/$f"; then
21865 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21866 echo "$as_me: error: cannot find input file: $f" >&2;}
21867 { (exit 1); exit 1; }; }
21870 done` ||
{ (exit 1); exit 1; }
21872 cat >>$CONFIG_STATUS <<_ACEOF
21876 cat >>$CONFIG_STATUS <<\_ACEOF
21878 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21879 s
,@configure_input@
,$configure_input,;t t
21880 s
,@srcdir@
,$ac_srcdir,;t t
21881 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21882 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21883 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21884 s
,@builddir@
,$ac_builddir,;t t
21885 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21886 s
,@top_builddir@
,$ac_top_builddir,;t t
21887 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21888 s
,@INSTALL@
,$ac_INSTALL,;t t
21889 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21891 if test x"$ac_file" != x-; then
21892 mv $tmp/out $ac_file
21900 cat >>$CONFIG_STATUS <<\_ACEOF
21903 # CONFIG_HEADER section.
21906 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21907 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21909 # ac_d sets the value in "#define NAME VALUE" lines.
21910 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21911 ac_dB
='[ ].*$,\1#\2'
21914 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21915 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21916 ac_uB
='$,\1#\2define\3'
21920 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21921 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21923 - |
*:- |
*:-:* ) # input from stdin
21925 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21926 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21927 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21928 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21929 * ) ac_file_in
=$ac_file.
in ;;
21932 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21933 echo "$as_me: creating $ac_file" >&6;}
21935 # First look for the input files in the build tree, otherwise in the
21937 ac_file_inputs
=`IFS=:
21938 for f in $ac_file_in; do
21940 -) echo $tmp/stdin ;;
21942 # Absolute (can't be DOS-style, as IFS=:)
21943 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21944 echo "$as_me: error: cannot find input file: $f" >&2;}
21945 { (exit 1); exit 1; }; }
21946 # Do quote $f, to prevent DOS paths from being IFS'd.
21949 if test -f "$f"; then
21952 elif test -f "$srcdir/$f"; then
21957 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21958 echo "$as_me: error: cannot find input file: $f" >&2;}
21959 { (exit 1); exit 1; }; }
21962 done` ||
{ (exit 1); exit 1; }
21963 # Remove the trailing spaces.
21964 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21968 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21969 # `conftest.undefs', that substitutes the proper values into
21970 # config.h.in to produce config.h. The first handles `#define'
21971 # templates, and the second `#undef' templates.
21972 # And first: Protect against being on the right side of a sed subst in
21973 # config.status. Protect against being in an unquoted here document
21974 # in config.status.
21975 rm -f conftest.defines conftest.undefs
21976 # Using a here document instead of a string reduces the quoting nightmare.
21977 # Putting comments in sed scripts is not portable.
21979 # `end' is used to avoid that the second main sed command (meant for
21980 # 0-ary CPP macros) applies to n-ary macro definitions.
21981 # See the Autoconf documentation for `clear'.
21982 cat >confdef2sed.
sed <<\_ACEOF
21987 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21989 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21992 # If some macros were called several times there might be several times
21993 # the same #defines, which is useless. Nevertheless, we may not want to
21994 # sort them, since we want the *last* AC-DEFINE to be honored.
21995 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21996 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21997 rm -f confdef2sed.sed
21999 # This sed command replaces #undef with comments. This is necessary, for
22000 # example, in the case of _POSIX_SOURCE, which is predefined and required
22001 # on some systems where configure will not decide to define it.
22002 cat >>conftest.undefs <<\_ACEOF
22003 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
22006 # Break up conftest.defines because some shells have a limit on the size
22007 # of here documents, and old seds have small limits too (100 cmds).
22008 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
22009 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22010 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
22011 echo ' :' >>$CONFIG_STATUS
22012 rm -f conftest.tail
22013 while grep . conftest.defines >/dev/null
22015 # Write a limited-size here document to $tmp/defines.sed.
22016 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
22017 # Speed up: don't consider the non `#define' lines.
22018 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
22019 # Work around the forget-to-reset-the-flag bug.
22020 echo 't clr' >>$CONFIG_STATUS
22021 echo ': clr' >>$CONFIG_STATUS
22022 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
22024 sed -f $tmp/defines.sed $tmp/in >$tmp/out
22026 mv $tmp/out $tmp/in
22028 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
22029 rm -f conftest.defines
22030 mv conftest.
tail conftest.defines
22032 rm -f conftest.defines
22033 echo ' fi # grep' >>$CONFIG_STATUS
22034 echo >>$CONFIG_STATUS
22036 # Break up conftest.undefs because some shells have a limit on the size
22037 # of here documents, and old seds have small limits too (100 cmds).
22038 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
22039 rm -f conftest.
tail
22040 while grep . conftest.undefs
>/dev
/null
22042 # Write a limited-size here document to $tmp/undefs.sed.
22043 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22044 # Speed up: don't consider the non
`#undef'
22045 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
22046 # Work around the forget-to-reset-the-flag bug.
22047 echo 't clr' >>$CONFIG_STATUS
22048 echo ': clr' >>$CONFIG_STATUS
22049 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22051 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22053 mv $tmp/out $tmp/in
22055 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22056 rm -f conftest.undefs
22057 mv conftest.tail conftest.undefs
22059 rm -f conftest.undefs
22061 cat >>$CONFIG_STATUS <<\_ACEOF
22062 # Let's still pretend it is `configure
' which instantiates (i.e., don't
22063 # use $as_me), people would be surprised to read:
22064 # /* config.h. Generated by config.status. */
22065 if test x
"$ac_file" = x-
; then
22066 echo "/* Generated by configure. */" >$tmp/config.h
22068 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
22070 cat $tmp/in >>$tmp/config.h
22072 if test x
"$ac_file" != x-
; then
22073 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
22074 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22075 echo "$as_me: $ac_file is unchanged" >&6;}
22077 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22078 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22079 X"$ac_file" : 'X\(//\)[^/]' \| \
22080 X"$ac_file" : 'X\(//\)$' \| \
22081 X"$ac_file" : 'X\(/\)' \| \
22082 . : '\(.\)' 2>/dev/null ||
22084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22085 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22086 /^X\(\/\/\)$/{ s//\1/; q; }
22087 /^X\(\/\).*/{ s//\1/; q; }
22089 { if $as_mkdir_p; then
22094 while test ! -d "$as_dir"; do
22095 as_dirs
="$as_dir $as_dirs"
22096 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22097 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22098 X"$as_dir" : 'X\(//\)[^/]' \| \
22099 X"$as_dir" : 'X\(//\)$' \| \
22100 X"$as_dir" : 'X\(/\)' \| \
22101 . : '\(.\)' 2>/dev/null ||
22103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22104 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22105 /^X\(\/\/\)$/{ s//\1/; q; }
22106 /^X\(\/\).*/{ s//\1/; q; }
22109 test ! -n "$as_dirs" || mkdir
$as_dirs
22110 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22111 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22112 { (exit 1); exit 1; }; }; }
22115 mv $tmp/config.h
$ac_file
22119 rm -f $tmp/config.h
22121 # Compute $ac_file's index in $config_headers.
22123 for _am_header
in $config_headers :; do
22124 case $_am_header in
22125 $ac_file |
$ac_file:* )
22128 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22131 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
22132 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22133 X$ac_file : 'X\(//\)[^/]' \| \
22134 X$ac_file : 'X\(//\)$' \| \
22135 X$ac_file : 'X\(/\)' \| \
22136 . : '\(.\)' 2>/dev/null ||
22138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22139 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22140 /^X\(\/\/\)$/{ s//\1/; q; }
22141 /^X\(\/\).*/{ s//\1/; q; }
22142 s/.*/./; q'`/stamp-h
$_am_stamp_count
22145 cat >>$CONFIG_STATUS <<\_ACEOF
22148 # CONFIG_COMMANDS section.
22150 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
22151 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
22152 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22153 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
22154 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22155 X"$ac_dest" : 'X\(//\)[^/]' \| \
22156 X"$ac_dest" : 'X\(//\)$' \| \
22157 X"$ac_dest" : 'X\(/\)' \| \
22158 . : '\(.\)' 2>/dev/null ||
22160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22161 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22162 /^X\(\/\/\)$/{ s//\1/; q; }
22163 /^X\(\/\).*/{ s//\1/; q; }
22165 { if $as_mkdir_p; then
22170 while test ! -d "$as_dir"; do
22171 as_dirs
="$as_dir $as_dirs"
22172 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22173 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22174 X"$as_dir" : 'X\(//\)[^/]' \| \
22175 X"$as_dir" : 'X\(//\)$' \| \
22176 X"$as_dir" : 'X\(/\)' \| \
22177 . : '\(.\)' 2>/dev/null ||
22179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22180 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22181 /^X\(\/\/\)$/{ s//\1/; q; }
22182 /^X\(\/\).*/{ s//\1/; q; }
22185 test ! -n "$as_dirs" || mkdir
$as_dirs
22186 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22187 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22188 { (exit 1); exit 1; }; }; }
22192 if test "$ac_dir" != .
; then
22193 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22194 # A "../" for each directory in $ac_dir_suffix.
22195 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22197 ac_dir_suffix
= ac_top_builddir
=
22201 .
) # No --srcdir option. We are building in place.
22203 if test -z "$ac_top_builddir"; then
22206 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22208 [\\/]* | ?
:[\\/]* ) # Absolute path.
22209 ac_srcdir
=$srcdir$ac_dir_suffix;
22210 ac_top_srcdir
=$srcdir ;;
22211 *) # Relative path.
22212 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
22213 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
22216 # Do not use `cd foo && pwd` to compute absolute paths, because
22217 # the directories may not exist.
22219 .
) ac_abs_builddir
="$ac_dir";;
22222 .
) ac_abs_builddir
=`pwd`;;
22223 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
22224 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
22227 case $ac_abs_builddir in
22228 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22230 case ${ac_top_builddir}.
in
22231 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
22232 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22233 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
22236 case $ac_abs_builddir in
22237 .
) ac_abs_srcdir
=$ac_srcdir;;
22240 .
) ac_abs_srcdir
=$ac_abs_builddir;;
22241 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
22242 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
22245 case $ac_abs_builddir in
22246 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
22248 case $ac_top_srcdir in
22249 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
22250 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
22251 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
22256 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22257 echo "$as_me: executing $ac_dest commands" >&6;}
22259 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
22260 # Strip MF so we end up with the name of the file.
22261 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22262 # Check whether this is an Automake generated Makefile or not.
22263 # We used to match only the files named `Makefile.in', but
22264 # some people rename them; so instead we look at the file content.
22265 # Grep'ing the first line is not enough: some people post-process
22266 # each Makefile.in and add a new line on top of each file to say so.
22267 # So let's grep whole file.
22268 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
22269 dirpart
=`(dirname "$mf") 2>/dev/null ||
22270 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22271 X"$mf" : 'X\(//\)[^/]' \| \
22272 X"$mf" : 'X\(//\)$' \| \
22273 X"$mf" : 'X\(/\)' \| \
22274 . : '\(.\)' 2>/dev/null ||
22276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22277 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22278 /^X\(\/\/\)$/{ s//\1/; q; }
22279 /^X\(\/\).*/{ s//\1/; q; }
22284 # Extract the definition of DEPDIR, am__include, and am__quote
22285 # from the Makefile without running `make'.
22286 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22287 test -z "$DEPDIR" && continue
22288 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22289 test -z "am__include" && continue
22290 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22291 # When using ansi2knr, U may be empty or an underscore; expand it
22292 U
=`sed -n 's/^U = //p' < "$mf"`
22293 # Find all dependency output files, they are included files with
22294 # $(DEPDIR) in their names. We invoke sed twice because it is the
22295 # simplest approach to changing $(DEPDIR) to its actual value in the
22297 for file in `sed -n "
22298 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22299 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22300 # Make sure the directory exists.
22301 test -f "$dirpart/$file" && continue
22302 fdir
=`(dirname "$file") 2>/dev/null ||
22303 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22304 X"$file" : 'X\(//\)[^/]' \| \
22305 X"$file" : 'X\(//\)$' \| \
22306 X"$file" : 'X\(/\)' \| \
22307 . : '\(.\)' 2>/dev/null ||
22309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22310 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22311 /^X\(\/\/\)$/{ s//\1/; q; }
22312 /^X\(\/\).*/{ s//\1/; q; }
22314 { if $as_mkdir_p; then
22315 mkdir
-p $dirpart/$fdir
22317 as_dir
=$dirpart/$fdir
22319 while test ! -d "$as_dir"; do
22320 as_dirs
="$as_dir $as_dirs"
22321 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22322 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22323 X"$as_dir" : 'X\(//\)[^/]' \| \
22324 X"$as_dir" : 'X\(//\)$' \| \
22325 X"$as_dir" : 'X\(/\)' \| \
22326 . : '\(.\)' 2>/dev/null ||
22328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22329 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22330 /^X\(\/\/\)$/{ s//\1/; q; }
22331 /^X\(\/\).*/{ s//\1/; q; }
22334 test ! -n "$as_dirs" || mkdir
$as_dirs
22335 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
22336 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
22337 { (exit 1); exit 1; }; }; }
22339 # echo "creating $dirpart/$file"
22340 echo '# dummy' > "$dirpart/$file"
22346 # See if we are running on zsh, and set the options which allow our
22347 # commands through without removal of \ escapes.
22348 if test -n "${ZSH_VERSION+set}" ; then
22349 setopt NO_GLOB_SUBST
22352 cfgfile
="${ofile}T"
22353 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22356 cat <<_LT_EOF >> "$cfgfile"
22359 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22360 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
22361 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22362 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22364 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22365 # 2006, 2007 Free Software Foundation, Inc.
22367 # This file is part of GNU Libtool:
22368 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
22370 # This program is free software; you can redistribute it and/or modify
22371 # it under the terms of the GNU General Public License as published by
22372 # the Free Software Foundation; either version 2 of the License, or
22373 # (at your option) any later version.
22375 # This program is distributed in the hope that it will be useful, but
22376 # WITHOUT ANY WARRANTY; without even the implied warranty of
22377 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22378 # General Public License for more details.
22380 # You should have received a copy of the GNU General Public License
22381 # along with this program; if not, a copy can be downloaded from
22382 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
22383 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
22384 # MA 02110-1301, USA.
22386 # As a special exception to the GNU General Public License, if you
22387 # distribute this file as part of a program that contains a
22388 # configuration script generated by Autoconf, you may include it under
22389 # the same distribution terms that you use for the rest of that program.
22392 # The names of the tagged configurations supported by this script.
22395 # ### BEGIN LIBTOOL CONFIG
22397 # Whether or not to build shared libraries.
22398 build_libtool_libs=$enable_shared
22400 # Which release of libtool.m4 was used?
22401 macro_version=$macro_version
22402 macro_revision=$macro_revision
22404 # Whether or not to build static libraries.
22405 build_old_libs=$enable_static
22407 # What type of objects to build.
22410 # Whether or not to optimize for fast installation.
22411 fast_install=$enable_fast_install
22414 host_alias=$host_alias
22418 # The build system.
22419 build_alias=$build_alias
22423 # A sed program that does not truncate output.
22426 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22427 Xsed="\$SED -e 1s/^X//"
22429 # A grep program that handles long lines.
22435 # A literal string matcher.
22438 # A BSD- or MS-compatible name lister.
22441 # Whether we need soft or hard links.
22444 # What is the maximum length of a command?
22445 max_cmd_len=$max_cmd_len
22447 # Object file suffix (normally "o").
22450 # Executable file suffix (normally "").
22453 # whether the shell understands "unset".
22456 # turn spaces into newlines.
22459 # turn newlines into spaces.
22462 # How to create reloadable object files.
22463 reload_flag=$lt_reload_flag
22464 reload_cmds=$lt_reload_cmds
22466 # Method to check whether dependent libraries are shared objects.
22467 deplibs_check_method=$lt_deplibs_check_method
22469 # Command to use when deplibs_check_method == "file_magic".
22470 file_magic_cmd=$lt_file_magic_cmd
22474 AR_FLAGS=$lt_AR_FLAGS
22476 # A symbol stripping program.
22479 # Commands used to install an old-style archive.
22481 old_postinstall_cmds=$lt_old_postinstall_cmds
22482 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22487 # LTCC compiler flags.
22488 LTCFLAGS=$lt_CFLAGS
22490 # Take the output of nm and produce a listing of raw symbols and C names.
22491 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22493 # Transform the output of nm in a proper C declaration.
22494 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22496 # Transform the output of nm in a C name address pair.
22497 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22499 # The name of the directory that contains temporary libtool files.
22502 # Shell to use when invoking shell scripts.
22505 # An echo program that does not interpret backslashes.
22508 # Used to examine libraries when file_magic_cmd begins with "file".
22509 MAGIC_CMD=$MAGIC_CMD
22511 # Must we lock files when doing compilation?
22512 need_locks=$lt_need_locks
22514 # Old archive suffix (normally "a").
22517 # Shared library suffix (normally ".so").
22518 shrext_cmds=$lt_shrext_cmds
22520 # The commands to extract the exported symbol list from a shared archive.
22521 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22523 # Variables whose values should be saved in libtool wrapper scripts and
22524 # restored at link time.
22525 variables_saved_for_relink=$lt_variables_saved_for_relink
22527 # Do we need the "lib" prefix for modules?
22528 need_lib_prefix=$need_lib_prefix
22530 # Do we need a version for libraries?
22531 need_version=$need_version
22533 # Library versioning type.
22534 version_type=$version_type
22536 # Shared library runtime path variable.
22537 runpath_var=$runpath_var
22539 # Shared library path variable.
22540 shlibpath_var=$shlibpath_var
22542 # Is shlibpath searched before the hard-coded library search path?
22543 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22545 # Format of library name prefix.
22546 libname_spec=$lt_libname_spec
22548 # List of archive names. First name is the real one, the rest are links.
22549 # The last name is the one that the linker finds with -lNAME
22550 library_names_spec=$lt_library_names_spec
22552 # The coded name of the library, if different from the real name.
22553 soname_spec=$lt_soname_spec
22555 # Command to use after installation of a shared archive.
22556 postinstall_cmds=$lt_postinstall_cmds
22558 # Command to use after uninstallation of a shared archive.
22559 postuninstall_cmds=$lt_postuninstall_cmds
22561 # Commands used to finish a libtool library installation in a directory.
22562 finish_cmds=$lt_finish_cmds
22564 # As "finish_cmds", except a single script fragment to be evaled but
22566 finish_eval=$lt_finish_eval
22568 # Whether we should hardcode library paths into libraries.
22569 hardcode_into_libs=$hardcode_into_libs
22571 # Compile-time system search path for libraries.
22572 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22574 # Run-time system search path for libraries.
22575 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22577 # Whether dlopen is supported.
22578 dlopen_support=$enable_dlopen
22580 # Whether dlopen of programs is supported.
22581 dlopen_self=$enable_dlopen_self
22583 # Whether dlopen of statically linked programs is supported.
22584 dlopen_self_static=$enable_dlopen_self_static
22586 # Commands to strip libraries.
22587 old_striplib=$lt_old_striplib
22588 striplib=$lt_striplib
22591 # The linker used to build libraries.
22594 # Commands used to build an old-style archive.
22595 old_archive_cmds=$lt_old_archive_cmds
22597 # A language specific compiler.
22600 # Is the compiler the GNU compiler?
22603 # Compiler flag to turn off builtin functions.
22604 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22606 # How to pass a linker flag through the compiler.
22607 wl=$lt_lt_prog_compiler_wl
22609 # Additional compiler flags for building library objects.
22610 pic_flag=$lt_lt_prog_compiler_pic
22612 # Compiler flag to prevent dynamic linking.
22613 link_static_flag=$lt_lt_prog_compiler_static
22615 # Does compiler simultaneously support -c and -o options?
22616 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22618 # Whether or not to add -lc for building shared libraries.
22619 build_libtool_need_lc=$archive_cmds_need_lc
22621 # Whether or not to disallow shared libs when runtime libs are static.
22622 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22624 # Compiler flag to allow reflexive dlopens.
22625 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22627 # Compiler flag to generate shared objects directly from archives.
22628 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22630 # Whether the compiler copes with passing no objects directly.
22631 compiler_needs_object=$lt_compiler_needs_object
22633 # Create an old-style archive from a shared archive.
22634 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22636 # Create a temporary old-style archive to link instead of a shared archive.
22637 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22639 # Commands used to build a shared archive.
22640 archive_cmds=$lt_archive_cmds
22641 archive_expsym_cmds=$lt_archive_expsym_cmds
22643 # Commands used to build a loadable module if different from building
22644 # a shared archive.
22645 module_cmds=$lt_module_cmds
22646 module_expsym_cmds=$lt_module_expsym_cmds
22648 # Whether we are building with GNU ld or not.
22649 with_gnu_ld=$lt_with_gnu_ld
22651 # Flag that allows shared libraries with undefined symbols to be built.
22652 allow_undefined_flag=$lt_allow_undefined_flag
22654 # Flag that enforces no undefined symbols.
22655 no_undefined_flag=$lt_no_undefined_flag
22657 # Flag to hardcode \$libdir into a binary during linking.
22658 # This must work even if \$libdir does not exist
22659 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22661 # If ld is used when linking, flag to hardcode \$libdir into a binary
22662 # during linking. This must work even if \$libdir does not exist.
22663 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
22665 # Whether we need a single "-rpath" flag with a separated argument.
22666 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22668 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22669 # DIR into the resulting binary.
22670 hardcode_direct=$hardcode_direct
22672 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22673 # DIR into the resulting binary and the resulting library dependency is
22674 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22675 # library is relocated.
22676 hardcode_direct_absolute=$hardcode_direct_absolute
22678 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22679 # into the resulting binary.
22680 hardcode_minus_L=$hardcode_minus_L
22682 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22683 # into the resulting binary.
22684 hardcode_shlibpath_var=$hardcode_shlibpath_var
22686 # Set to "yes" if building a shared library automatically hardcodes DIR
22687 # into the library and all subsequent libraries and executables linked
22689 hardcode_automatic=$hardcode_automatic
22691 # Set to yes if linker adds runtime paths of dependent libraries
22692 # to runtime path list.
22693 inherit_rpath=$inherit_rpath
22695 # Whether libtool must link a program against all its dependency libraries.
22696 link_all_deplibs=$link_all_deplibs
22698 # Fix the shell variable \$srcfile for the compiler.
22699 fix_srcfile_path=$lt_fix_srcfile_path
22701 # Set to "yes" if exported symbols are required.
22702 always_export_symbols=$always_export_symbols
22704 # The commands to list exported symbols.
22705 export_symbols_cmds=$lt_export_symbols_cmds
22707 # Symbols that should not be listed in the preloaded symbols.
22708 exclude_expsyms=$lt_exclude_expsyms
22710 # Symbols that must always be exported.
22711 include_expsyms=$lt_include_expsyms
22713 # Commands necessary for linking programs (against libraries) with templates.
22714 prelink_cmds=$lt_prelink_cmds
22716 # Specify filename containing input files.
22717 file_list_spec=$lt_file_list_spec
22719 # How to hardcode a shared library path into an executable.
22720 hardcode_action=$hardcode_action
22722 # ### END LIBTOOL CONFIG
22728 cat <<\_LT_EOF
>> "$cfgfile"
22729 # AIX sometimes has problems with the GCC collect2 program. For some
22730 # reason, if we set the COLLECT_NAMES environment variable, the problems
22731 # vanish in a puff of smoke.
22732 if test "X${COLLECT_NAMES+set}" != Xset
; then
22734 export COLLECT_NAMES
22741 ltmain
="$ac_aux_dir/ltmain.sh"
22744 # We use sed instead of cat because bash on DJGPP gets confused if
22745 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22746 # text mode, it properly converts lines to CR/LF. This bash problem
22747 # is reportedly fixed, but why not run on old versions too?
22748 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
22749 ||
(rm -f "$cfgfile"; exit 1)
22753 cat << \_LT_EOF
>> "$cfgfile"
22754 # func_dirname file append nondir_replacement
22755 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22756 # otherwise set result to NONDIR_REPLACEMENT.
22760 */*) func_dirname_result
="${1%/*}${2}" ;;
22761 * ) func_dirname_result
="${3}" ;;
22765 # func_basename file
22768 func_basename_result
="${1##*/}"
22771 # func_stripname prefix suffix name
22772 # strip PREFIX and SUFFIX off of NAME.
22773 # PREFIX and SUFFIX must not contain globbing or regex special
22774 # characters, hashes, percent signs, but SUFFIX may contain a leading
22775 # dot (in which case that matches only a dot).
22778 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
22779 # positional parameters, so assign one to ordinary parameter first.
22780 func_stripname_result
=${3}
22781 func_stripname_result
=${func_stripname_result#"${1}"}
22782 func_stripname_result
=${func_stripname_result%"${2}"}
22788 func_opt_split_opt
=${1%%=*}
22789 func_opt_split_arg
=${1#*=}
22796 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
22797 *) func_lo2o_result
=${1} ;;
22802 *) # Bourne compatible functions.
22803 cat << \_LT_EOF
>> "$cfgfile"
22804 # func_dirname file append nondir_replacement
22805 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22806 # otherwise set result to NONDIR_REPLACEMENT.
22809 # Extract subdirectory from the argument.
22810 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
22811 if test "X$func_dirname_result" = "X${1}"; then
22812 func_dirname_result
="${3}"
22814 func_dirname_result
="$func_dirname_result${2}"
22818 # func_basename file
22821 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
22824 # func_stripname prefix suffix name
22825 # strip PREFIX and SUFFIX off of NAME.
22826 # PREFIX and SUFFIX must not contain globbing or regex special
22827 # characters, hashes, percent signs, but SUFFIX may contain a leading
22828 # dot (in which case that matches only a dot).
22829 # func_strip_suffix prefix name
22833 .
*) func_stripname_result
=`$ECHO "X${3}" \
22834 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
22835 *) func_stripname_result
=`$ECHO "X${3}" \
22836 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
22841 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
22842 my_sed_long_arg
='1s/^-[^=]*=//'
22847 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
22848 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
22854 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
22859 case $lt_shell_append in
22861 cat << \_LT_EOF
>> "$cfgfile"
22863 # func_append var value
22864 # Append VALUE to the end of shell variable VAR.
22872 cat << \_LT_EOF
>> "$cfgfile"
22874 # func_append var value
22875 # Append VALUE to the end of shell variable VAR.
22885 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
22886 ||
(rm -f "$cfgfile"; exit 1)
22888 mv -f "$cfgfile" "$ofile" ||
22889 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22894 for ac_file
in $CONFIG_FILES; do
22895 # Support "outfile[:infile[:infile...]]"
22897 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22899 # PO directories have a Makefile.in generated from Makefile.in.in.
22900 case "$ac_file" in */Makefile.
in)
22901 # Adjust a relative srcdir.
22902 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
22903 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
22904 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
22905 # In autoconf-2.13 it is called $ac_given_srcdir.
22906 # In autoconf-2.50 it is called $srcdir.
22907 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
22908 case "$ac_given_srcdir" in
22909 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
22910 /*) top_srcdir
="$ac_given_srcdir" ;;
22911 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
22913 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
22914 rm -f "$ac_dir/POTFILES"
22915 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
22916 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
22917 POMAKEFILEDEPS
="POTFILES.in"
22918 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
22919 # on $ac_dir but don't depend on user-specified configuration
22921 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
22922 # The LINGUAS file contains the set of available languages.
22923 if test -n "$OBSOLETE_ALL_LINGUAS"; then
22924 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
22926 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
22927 # Hide the ALL_LINGUAS assigment from automake.
22928 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
22929 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
22931 # The set of available languages was given in configure.in.
22932 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
22934 case "$ac_given_srcdir" in
22936 *) srcdirpre
='$(srcdir)/' ;;
22942 for lang
in $ALL_LINGUAS; do
22943 POFILES
="$POFILES $srcdirpre$lang.po"
22944 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
22945 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
22946 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
22948 # CATALOGS depends on both $ac_dir and the user's LINGUAS
22949 # environment variable.
22951 if test -n "$ALL_LINGUAS"; then
22952 for presentlang
in $ALL_LINGUAS; do
22954 if test "%UNSET%" != "$LINGUAS"; then
22955 desiredlanguages
="$LINGUAS"
22957 desiredlanguages
="$ALL_LINGUAS"
22959 for desiredlang
in $desiredlanguages; do
22960 # Use the presentlang catalog if desiredlang is
22961 # a. equal to presentlang, or
22962 # b. a variant of presentlang (because in this case,
22963 # presentlang can be used as a fallback for messages
22964 # which are not translated in the desiredlang catalog).
22965 case "$desiredlang" in
22966 "$presentlang"*) useit
=yes;;
22969 if test $useit = yes; then
22970 INST_LINGUAS
="$INST_LINGUAS $presentlang"
22975 if test -n "$INST_LINGUAS"; then
22976 for lang
in $INST_LINGUAS; do
22977 CATALOGS
="$CATALOGS $lang.gmo"
22980 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
22981 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"
22982 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
22983 if test -f "$f"; then
22985 *.orig |
*.bak |
*~
) ;;
22986 *) cat "$f" >> "$ac_dir/Makefile" ;;
22995 if test "$GCC" = yes; then
22996 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
22998 echo "/* generated for $CC */" > tmp-stdint.h
23001 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23003 #ifndef GCC_GENERATED_STDINT_H
23004 #define GCC_GENERATED_STDINT_H 1
23006 #include <sys/types.h>
23009 if test "$acx_cv_header_stdint" != stdint.h
; then
23010 echo "#include <stddef.h>" >> tmp-stdint.h
23012 if test "$acx_cv_header_stdint" != stddef.h
; then
23013 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
23016 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23017 /* glibc uses these symbols as guards to prevent redefinitions. */
23018 #ifdef __int8_t_defined
23023 #ifdef __uint32_t_defined
23029 # ----------------- done header, emit basic int types -------------
23030 if test "$acx_cv_header_stdint" = stddef.h
; then
23031 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23035 #ifndef __uint8_t_defined
23036 #define __uint8_t_defined
23037 typedef unsigned $acx_cv_type_int8_t uint8_t;
23043 #ifndef __uint16_t_defined
23044 #define __uint16_t_defined
23045 typedef unsigned $acx_cv_type_int16_t uint16_t;
23051 #ifndef __uint32_t_defined
23052 #define __uint32_t_defined
23053 typedef unsigned $acx_cv_type_int32_t uint32_t;
23059 #ifndef __int8_t_defined
23060 #define __int8_t_defined
23061 typedef $acx_cv_type_int8_t int8_t;
23067 #ifndef __int16_t_defined
23068 #define __int16_t_defined
23069 typedef $acx_cv_type_int16_t int16_t;
23075 #ifndef __int32_t_defined
23076 #define __int32_t_defined
23077 typedef $acx_cv_type_int32_t int32_t;
23081 elif test "$ac_cv_type_u_int32_t" = yes; then
23082 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23084 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
23097 #ifndef __uint8_t_defined
23098 #define __uint8_t_defined
23099 typedef u_int8_t uint8_t;
23105 #ifndef __uint16_t_defined
23106 #define __uint16_t_defined
23107 typedef u_int16_t uint16_t;
23113 #ifndef __uint32_t_defined
23114 #define __uint32_t_defined
23115 typedef u_int32_t uint32_t;
23120 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23122 /* Some systems have guard macros to prevent redefinitions, define them. */
23144 # ------------- done basic int types, emit int64_t types ------------
23145 if test "$ac_cv_type_uint64_t" = yes; then
23146 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23148 /* system headers have good uint64_t and int64_t */
23156 elif test "$ac_cv_type_u_int64_t" = yes; then
23157 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23159 /* system headers have an u_int64_t (and int64_t) */
23165 #ifndef __uint64_t_defined
23166 #define __uint64_t_defined
23167 typedef u_int64_t uint64_t;
23171 elif test -n "$acx_cv_type_int64_t"; then
23172 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23174 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
23177 typedef $acx_cv_type_int64_t int64_t;
23181 #ifndef __uint64_t_defined
23182 #define __uint64_t_defined
23183 typedef unsigned $acx_cv_type_int64_t uint64_t;
23188 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23190 /* some common heuristics for int64_t, using compiler-specific tests */
23191 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
23194 #ifndef __int64_t_defined
23195 typedef long long int64_t;
23200 typedef unsigned long long uint64_t;
23203 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
23204 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
23205 does not implement __extension__. But that compiler doesn't define
23207 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
23208 # define __extension__
23213 __extension__ typedef long long int64_t;
23217 __extension__ typedef unsigned long long uint64_t;
23220 #elif !defined __STRICT_ANSI__
23221 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
23225 typedef __int64 int64_t;
23229 typedef unsigned __int64 uint64_t;
23231 # endif /* compiler */
23233 #endif /* ANSI version */
23237 # ------------- done int64_t types, emit intptr types ------------
23238 if test "$ac_cv_type_uintptr_t" != yes; then
23239 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23241 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
23242 #ifndef __uintptr_t_defined
23243 typedef u$acx_cv_type_intptr_t uintptr_t;
23245 #ifndef __intptr_t_defined
23246 typedef $acx_cv_type_intptr_t intptr_t;
23251 # ------------- done intptr types, emit int_least types ------------
23252 if test "$ac_cv_type_int_least32_t" != yes; then
23253 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23255 /* Define int_least types */
23256 typedef int8_t int_least8_t;
23257 typedef int16_t int_least16_t;
23258 typedef int32_t int_least32_t;
23260 typedef int64_t int_least64_t;
23263 typedef uint8_t uint_least8_t;
23264 typedef uint16_t uint_least16_t;
23265 typedef uint32_t uint_least32_t;
23267 typedef uint64_t uint_least64_t;
23272 # ------------- done intptr types, emit int_fast types ------------
23273 if test "$ac_cv_type_int_fast32_t" != yes; then
23274 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23276 /* Define int_fast types. short is often slow */
23277 typedef int8_t int_fast8_t;
23278 typedef int int_fast16_t;
23279 typedef int32_t int_fast32_t;
23281 typedef int64_t int_fast64_t;
23284 typedef uint8_t uint_fast8_t;
23285 typedef unsigned int uint_fast16_t;
23286 typedef uint32_t uint_fast32_t;
23288 typedef uint64_t uint_fast64_t;
23293 if test "$ac_cv_type_uintmax_t" != yes; then
23294 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23296 /* Define intmax based on what we found */
23298 typedef int64_t intmax_t;
23300 typedef long intmax_t;
23303 typedef uint64_t uintmax_t;
23305 typedef unsigned long uintmax_t;
23310 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23312 #endif /* GCC_GENERATED_STDINT_H */
23315 if test -r bfd_stdint.h
&& cmp -s tmp-stdint.h bfd_stdint.h
; then
23318 mv -f tmp-stdint.h bfd_stdint.h
23325 *) srcdirpre
='$(srcdir)/' ;;
23329 for lang
in dummy
$OBSOLETE_ALL_LINGUAS; do
23330 if test $lang != dummy
; then
23331 POFILES
="$POFILES $srcdirpre$lang.po"
23332 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
23335 sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' \
23336 -e '/BLD-POTFILES =/r po/BLD-POTFILES' \
23337 -e "s,@POFILES@,$POFILES," \
23338 -e "s,@GMOFILES@,$GMOFILES," \
23339 po
/Makefile.
in > po
/Makefile
;;
23344 cat >>$CONFIG_STATUS <<\_ACEOF
23346 { (exit 0); exit 0; }
23348 chmod +x
$CONFIG_STATUS
23349 ac_clean_files
=$ac_clean_files_save
23352 # configure is writing to config.log, and then calls config.status.
23353 # config.status does its own redirection, appending to config.log.
23354 # Unfortunately, on DOS this fails, as config.log is still kept open
23355 # by configure, so config.status won't be able to write to it; its
23356 # output is simply discarded. So we exec the FD to /dev/null,
23357 # effectively closing config.log, so it can be properly (re)opened and
23358 # appended to by config.status. When coming back to configure, we
23359 # need to make the FD available again.
23360 if test "$no_create" != yes; then
23362 ac_config_status_args
=
23363 test "$silent" = yes &&
23364 ac_config_status_args
="$ac_config_status_args --quiet"
23366 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23368 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23369 # would make configure fail if this is the last instruction.
23370 $ac_cs_success ||
{ (exit 1); exit 1; }