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_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG WIN32LDFLAGS WIN32LIBADD TDEFINES wordsize bfd64_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
464 # Initialize some variables set by options.
466 ac_init_version
=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
476 program_transform_name
=s
,x
,x
,
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir
='${exec_prefix}/bin'
490 sbindir
='${exec_prefix}/sbin'
491 libexecdir
='${exec_prefix}/libexec'
492 datadir
='${prefix}/share'
493 sysconfdir
='${prefix}/etc'
494 sharedstatedir
='${prefix}/com'
495 localstatedir
='${prefix}/var'
496 libdir
='${exec_prefix}/lib'
497 includedir
='${prefix}/include'
498 oldincludedir
='/usr/include'
499 infodir
='${prefix}/info'
500 mandir
='${prefix}/man'
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
512 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
518 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
520 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
523 -build |
--build |
--buil |
--bui |
--bu)
524 ac_prev
=build_alias
;;
525 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
526 build_alias
=$ac_optarg ;;
528 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
529 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
530 ac_prev
=cache_file
;;
531 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
532 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
533 cache_file
=$ac_optarg ;;
536 cache_file
=config.cache
;;
538 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
540 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
542 datadir
=$ac_optarg ;;
544 -disable-* |
--disable-*)
545 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* |
--enable-*)
554 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
561 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
567 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
568 |
--exec |
--exe |
--ex)
569 ac_prev
=exec_prefix
;;
570 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
571 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
572 |
--exec=* |
--exe=* |
--ex=*)
573 exec_prefix
=$ac_optarg ;;
575 -gas |
--gas |
--ga |
--g)
576 # Obsolete; use --with-gas.
579 -help |
--help |
--hel |
--he |
-h)
581 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
582 ac_init_help
=recursive
;;
583 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
584 ac_init_help
=short
;;
586 -host |
--host |
--hos |
--ho)
587 ac_prev
=host_alias
;;
588 -host=* |
--host=* |
--hos=* |
--ho=*)
589 host_alias
=$ac_optarg ;;
591 -includedir |
--includedir |
--includedi |
--included |
--include \
592 |
--includ |
--inclu |
--incl |
--inc)
593 ac_prev
=includedir
;;
594 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
595 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
596 includedir
=$ac_optarg ;;
598 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
600 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
601 infodir
=$ac_optarg ;;
603 -libdir |
--libdir |
--libdi |
--libd)
605 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
608 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
609 |
--libexe |
--libex |
--libe)
610 ac_prev
=libexecdir
;;
611 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
612 |
--libexe=* |
--libex=* |
--libe=*)
613 libexecdir
=$ac_optarg ;;
615 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
616 |
--localstate |
--localstat |
--localsta |
--localst \
617 |
--locals |
--local |
--loca |
--loc |
--lo)
618 ac_prev
=localstatedir
;;
619 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
620 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
621 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
622 localstatedir
=$ac_optarg ;;
624 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
626 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
630 # Obsolete; use --without-fp.
633 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
634 |
--no-cr |
--no-c |
-n)
637 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
638 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
641 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
642 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
643 |
--oldin |
--oldi |
--old |
--ol |
--o)
644 ac_prev
=oldincludedir
;;
645 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
646 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
647 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
648 oldincludedir
=$ac_optarg ;;
650 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
652 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
655 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
656 |
--program-pre |
--program-pr |
--program-p)
657 ac_prev
=program_prefix
;;
658 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
659 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
660 program_prefix
=$ac_optarg ;;
662 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
663 |
--program-suf |
--program-su |
--program-s)
664 ac_prev
=program_suffix
;;
665 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
666 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
667 program_suffix
=$ac_optarg ;;
669 -program-transform-name |
--program-transform-name \
670 |
--program-transform-nam |
--program-transform-na \
671 |
--program-transform-n |
--program-transform- \
672 |
--program-transform |
--program-transfor \
673 |
--program-transfo |
--program-transf \
674 |
--program-trans |
--program-tran \
675 |
--progr-tra |
--program-tr |
--program-t)
676 ac_prev
=program_transform_name
;;
677 -program-transform-name=* |
--program-transform-name=* \
678 |
--program-transform-nam=* |
--program-transform-na=* \
679 |
--program-transform-n=* |
--program-transform-=* \
680 |
--program-transform=* |
--program-transfor=* \
681 |
--program-transfo=* |
--program-transf=* \
682 |
--program-trans=* |
--program-tran=* \
683 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
684 program_transform_name
=$ac_optarg ;;
686 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
687 |
-silent |
--silent |
--silen |
--sile |
--sil)
690 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
692 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
694 sbindir
=$ac_optarg ;;
696 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
697 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
698 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
700 ac_prev
=sharedstatedir
;;
701 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
702 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
703 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
705 sharedstatedir
=$ac_optarg ;;
707 -site |
--site |
--sit)
709 -site=* |
--site=* |
--sit=*)
712 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
714 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
717 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
718 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
719 ac_prev
=sysconfdir
;;
720 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
721 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
722 sysconfdir
=$ac_optarg ;;
724 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
725 ac_prev
=target_alias
;;
726 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
727 target_alias
=$ac_optarg ;;
729 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
732 -version |
--version |
--versio |
--versi |
--vers |
-V)
736 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package
=`echo $ac_package| sed 's/-/_/g'`
743 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* |
--without-*)
749 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package
=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
758 # Obsolete; use --with-x.
761 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
762 |
--x-incl |
--x-inc |
--x-in |
--x-i)
763 ac_prev
=x_includes
;;
764 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
765 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
766 x_includes
=$ac_optarg ;;
768 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
769 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
770 ac_prev
=x_libraries
;;
771 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
772 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
773 x_libraries
=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
781 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
801 if test -n "$ac_prev"; then
802 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var
in exec_prefix prefix
810 eval ac_val
=$
`echo $ac_var`
812 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
818 # Be sure to have absolute paths.
819 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val
=$
`echo $ac_var`
824 [\\/$
]* | ?
:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x
; then
839 if test "x$build_alias" = x
; then
840 cross_compiling
=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
849 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
851 test "$silent" = yes && exec 6>/dev
/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted
=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir
=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
871 if test ! -r $srcdir/$ac_unique_file; then
875 ac_srcdir_defaulted
=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set
=${build_alias+set}
891 ac_env_build_alias_value
=$build_alias
892 ac_cv_env_build_alias_set
=${build_alias+set}
893 ac_cv_env_build_alias_value
=$build_alias
894 ac_env_host_alias_set
=${host_alias+set}
895 ac_env_host_alias_value
=$host_alias
896 ac_cv_env_host_alias_set
=${host_alias+set}
897 ac_cv_env_host_alias_value
=$host_alias
898 ac_env_target_alias_set
=${target_alias+set}
899 ac_env_target_alias_value
=$target_alias
900 ac_cv_env_target_alias_set
=${target_alias+set}
901 ac_cv_env_target_alias_value
=$target_alias
902 ac_env_CC_set
=${CC+set}
904 ac_cv_env_CC_set
=${CC+set}
905 ac_cv_env_CC_value
=$CC
906 ac_env_CFLAGS_set
=${CFLAGS+set}
907 ac_env_CFLAGS_value
=$CFLAGS
908 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
909 ac_cv_env_CFLAGS_value
=$CFLAGS
910 ac_env_LDFLAGS_set
=${LDFLAGS+set}
911 ac_env_LDFLAGS_value
=$LDFLAGS
912 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
913 ac_cv_env_LDFLAGS_value
=$LDFLAGS
914 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
915 ac_env_CPPFLAGS_value
=$CPPFLAGS
916 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
917 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
918 ac_env_CPP_set
=${CPP+set}
919 ac_env_CPP_value
=$CPP
920 ac_cv_env_CPP_set
=${CPP+set}
921 ac_cv_env_CPP_value
=$CPP
924 # Report the --help message.
926 if test "$ac_init_help" = "long"; then
927 # Omit some internal or obsolete options to make the list less imposing.
928 # This message is too long to be a string in the A/UX 3.1 sh.
930 \`configure' configures this package to adapt to many kinds of systems.
932 Usage: $0 [OPTION]... [VAR=VALUE]...
934 To assign environment variables (e.g., CC, CFLAGS...), specify them as
935 VAR=VALUE. See below for descriptions of some of the useful variables.
937 Defaults for the options are specified in brackets.
940 -h, --help display this help and exit
941 --help=short display options specific to this package
942 --help=recursive display the short help of all the included packages
943 -V, --version display version information and exit
944 -q, --quiet, --silent do not print \`checking...' messages
945 --cache-file=FILE cache test results in FILE [disabled]
946 -C, --config-cache alias for \`--cache-file=config.cache'
947 -n, --no-create do not create output files
948 --srcdir=DIR find the sources in DIR [configure dir or \`..']
953 Installation directories:
954 --prefix=PREFIX install architecture-independent files in PREFIX
956 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
959 By default, \`make install' will install all the files in
960 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
961 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
962 for instance \`--prefix=\$HOME'.
964 For better control, use the options below.
966 Fine tuning of the installation directories:
967 --bindir=DIR user executables [EPREFIX/bin]
968 --sbindir=DIR system admin executables [EPREFIX/sbin]
969 --libexecdir=DIR program executables [EPREFIX/libexec]
970 --datadir=DIR read-only architecture-independent data [PREFIX/share]
971 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
972 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
973 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
974 --libdir=DIR object code libraries [EPREFIX/lib]
975 --includedir=DIR C header files [PREFIX/include]
976 --oldincludedir=DIR C header files for non-gcc [/usr/include]
977 --infodir=DIR info documentation [PREFIX/info]
978 --mandir=DIR man documentation [PREFIX/man]
984 --program-prefix=PREFIX prepend PREFIX to installed program names
985 --program-suffix=SUFFIX append SUFFIX to installed program names
986 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
989 --build=BUILD configure
for building on BUILD
[guessed
]
990 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
991 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
995 if test -n "$ac_init_help"; then
1000 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1001 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1002 --disable-dependency-tracking speeds up one-time build
1003 --enable-dependency-tracking do not reject slow dependency extractors
1004 --enable-shared[=PKGS
]
1005 build shared libraries
[default
=no
]
1006 --enable-static[=PKGS
]
1007 build static libraries
[default
=yes]
1008 --enable-fast-install[=PKGS
]
1009 optimize
for fast installation
[default
=yes]
1010 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1011 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
1012 --enable-targets alternative target configurations
1013 --enable-commonbfdlib build shared BFD
/opcodes
/libiberty library
1014 --enable-secureplt Default to creating read-only plt entries
1015 --enable-werror treat compile warnings as errors
1016 --enable-build-warnings enable build-time compiler warnings
1017 --enable-maintainer-mode enable make rules and dependencies not useful
1018 (and sometimes confusing
) to the casual installer
1019 --enable-install-libbfd controls installation of libbfd and related headers
1020 --disable-nls do not use Native Language Support
1023 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1024 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1025 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1027 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1028 --with-mmap try using mmap
for BFD input files
if available
1029 --with-separate-debug-dir=DIR
1030 Look
for global separate debug info
in DIR
1031 [default
=LIBDIR
/debug
]
1032 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GNU
1034 --with-bugurl=URL Direct users to URL to report a bug
1036 Some influential environment variables
:
1037 CC C compiler
command
1038 CFLAGS C compiler flags
1039 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1040 nonstandard directory
<lib dir
>
1041 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1042 headers
in a nonstandard directory
<include dir
>
1045 Use these variables to override the choices made by
`configure' or to help
1046 it to find libraries and programs with nonstandard names/locations.
1051 if test "$ac_init_help" = "recursive"; then
1052 # If there are subdirs, report their specific --help.
1054 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1055 test -d $ac_dir || continue
1058 if test "$ac_dir" != .; then
1059 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1060 # A "../" for each directory in $ac_dir_suffix.
1061 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1063 ac_dir_suffix= ac_top_builddir=
1067 .) # No --srcdir option. We are building in place.
1069 if test -z "$ac_top_builddir"; then
1072 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1074 [\\/]* | ?:[\\/]* ) # Absolute path.
1075 ac_srcdir=$srcdir$ac_dir_suffix;
1076 ac_top_srcdir=$srcdir ;;
1078 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1079 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1082 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1083 # the directories may not exist.
1085 .) ac_abs_builddir="$ac_dir";;
1088 .) ac_abs_builddir=`pwd`;;
1089 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1090 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1093 case $ac_abs_builddir in
1094 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1096 case ${ac_top_builddir}. in
1097 .) ac_abs_top_builddir=$ac_abs_builddir;;
1098 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1099 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1102 case $ac_abs_builddir in
1103 .) ac_abs_srcdir=$ac_srcdir;;
1106 .) ac_abs_srcdir=$ac_abs_builddir;;
1107 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1108 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1111 case $ac_abs_builddir in
1112 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1114 case $ac_top_srcdir in
1115 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1116 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1117 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1122 # Check for guested configure; otherwise get Cygnus style configure.
1123 if test -f $ac_srcdir/configure.gnu; then
1125 $SHELL $ac_srcdir/configure.gnu --help=recursive
1126 elif test -f $ac_srcdir/configure; then
1128 $SHELL $ac_srcdir/configure --help=recursive
1129 elif test -f $ac_srcdir/configure.ac ||
1130 test -f $ac_srcdir/configure.in; then
1132 $ac_configure --help
1134 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1140 test -n "$ac_init_help" && exit 0
1141 if $ac_init_version; then
1144 Copyright (C) 2003 Free Software Foundation, Inc.
1145 This configure script is free software; the Free Software Foundation
1146 gives unlimited permission to copy, distribute and modify it.
1152 This file contains any messages produced by compilers while
1153 running configure, to aid debugging if configure makes a mistake.
1155 It was created by $as_me, which was
1156 generated by GNU Autoconf 2.59. Invocation command line was
1167 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1168 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1169 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1170 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1171 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1173 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1174 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1176 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1177 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1178 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1179 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1180 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1181 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1182 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1190 test -z "$as_dir" && as_dir=.
1191 echo "PATH: $as_dir"
1206 # Keep a trace of the command line.
1207 # Strip out --no-create and --no-recursion so they do not pile up.
1208 # Strip out --silent because we don't want to record it for future runs.
1209 # Also quote any args containing shell meta-characters.
1210 # Make two passes to allow for proper duplicate-argument suppression.
1215 ac_must_keep_next=false
1221 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1222 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1223 | -silent | --silent | --silen | --sile | --sil)
1225 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1226 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1229 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1231 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1232 if test $ac_must_keep_next = true; then
1233 ac_must_keep_next=false # Got value, back to normal.
1236 *=* | --config-cache | -C | -disable-* | --disable-* \
1237 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1238 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1239 | -with-* | --with-* | -without-* | --without-* | --x)
1240 case "$ac_configure_args0 " in
1241 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1244 -* ) ac_must_keep_next=true ;;
1247 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1248 # Get rid of the leading space.
1254 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1255 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1257 # When interrupted or exit'd, cleanup temporary files, and complete
1258 # config.log. We remove comments because anyway the quotes in there
1259 # would cause problems or look ugly.
1260 # WARNING: Be sure not to use single quotes in there, as some shells,
1261 # such as our DU 5.0 friend, will then `close
' the trap.
1262 trap 'exit_status
=$?
1263 # Save into config.log some information that might help in debugging.
1268 ## ---------------- ##
1269 ## Cache variables. ##
1270 ## ---------------- ##
1273 # The following way of writing the cache mishandles newlines in values,
1276 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1279 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1280 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1284 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1291 ## ----------------- ##
1292 ## Output variables. ##
1293 ## ----------------- ##
1296 for ac_var
in $ac_subst_vars
1298 eval ac_val
=$
`echo $ac_var`
1299 echo "$ac_var='"'"'$ac_val'"'"'"
1303 if test -n "$ac_subst_files"; then
1310 for ac_var
in $ac_subst_files
1312 eval ac_val
=$
`echo $ac_var`
1313 echo "$ac_var='"'"'$ac_val'"'"'"
1318 if test -s confdefs.h
; then
1325 sed "/^$/d" confdefs.h |
sort
1328 test "$ac_signal" != 0 &&
1329 echo "$as_me: caught signal $ac_signal"
1330 echo "$as_me: exit $exit_status"
1332 rm -f core
*.core
&&
1333 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1336 for ac_signal in 1 2 13 15; do
1337 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1341 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1342 rm -rf conftest* confdefs.h
1343 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1346 # Predefined preprocessor variables.
1348 cat >>confdefs.h <<_ACEOF
1349 #define PACKAGE_NAME "$PACKAGE_NAME"
1353 cat >>confdefs.h <<_ACEOF
1354 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1358 cat >>confdefs.h <<_ACEOF
1359 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1363 cat >>confdefs.h <<_ACEOF
1364 #define PACKAGE_STRING "$PACKAGE_STRING"
1368 cat >>confdefs.h <<_ACEOF
1369 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1373 # Let the site file select an alternate cache file if it wants to.
1374 # Prefer explicitly selected file to automatically selected ones.
1375 if test -z "$CONFIG_SITE"; then
1376 if test "x$prefix" != xNONE; then
1377 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1379 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1382 for ac_site_file in $CONFIG_SITE; do
1383 if test -r "$ac_site_file"; then
1384 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1385 echo "$as_me: loading site script $ac_site_file" >&6;}
1386 sed 's
/^
/|
/' "$ac_site_file" >&5
1391 if test -r "$cache_file"; then
1392 # Some versions of bash will fail to source /dev/null (special
1393 # files actually), so we avoid doing that.
1394 if test -f "$cache_file"; then
1395 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1396 echo "$as_me: loading cache $cache_file" >&6;}
1398 [\\/]* | ?:[\\/]* ) . $cache_file;;
1399 *) . ./$cache_file;;
1403 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1404 echo "$as_me: creating cache $cache_file" >&6;}
1408 # Check that the precious variables saved in the cache have kept the same
1410 ac_cache_corrupted=false
1411 for ac_var in `(set) 2>&1 |
1412 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1413 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1414 eval ac_new_set=\$ac_env_${ac_var}_set
1415 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1416 eval ac_new_val="\$ac_env_${ac_var}_value"
1417 case $ac_old_set,$ac_new_set in
1419 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1420 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1421 ac_cache_corrupted=: ;;
1423 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1424 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1425 ac_cache_corrupted=: ;;
1428 if test "x$ac_old_val" != "x$ac_new_val"; then
1429 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1430 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1431 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1432 echo "$as_me: former value: $ac_old_val" >&2;}
1433 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1434 echo "$as_me: current value: $ac_new_val" >&2;}
1435 ac_cache_corrupted=:
1438 # Pass precious variables to config.status.
1439 if test "$ac_new_set" = set; then
1441 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1442 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1443 *) ac_arg=$ac_var=$ac_new_val ;;
1445 case " $ac_configure_args " in
1446 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1447 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1451 if $ac_cache_corrupted; then
1452 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1453 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1454 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1455 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1456 { (exit 1); exit 1; }; }
1460 ac_cpp='$CPP $CPPFLAGS'
1461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1462 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1486 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1487 if test -f $ac_dir/install-sh; then
1489 ac_install_sh="$ac_aux_dir/install-sh -c"
1491 elif test -f $ac_dir/install.sh; then
1493 ac_install_sh="$ac_aux_dir/install.sh -c"
1495 elif test -f $ac_dir/shtool; then
1497 ac_install_sh="$ac_aux_dir/shtool install -c"
1501 if test -z "$ac_aux_dir"; then
1502 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1503 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1504 { (exit 1); exit 1; }; }
1506 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1507 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1508 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1510 # Make sure we can run config.sub.
1511 $ac_config_sub sun4 >/dev/null 2>&1 ||
1512 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1513 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1514 { (exit 1); exit 1; }; }
1516 echo "$as_me:$LINENO: checking build system type" >&5
1517 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1518 if test "${ac_cv_build+set}" = set; then
1519 echo $ECHO_N "(cached) $ECHO_C" >&6
1521 ac_cv_build_alias=$build_alias
1522 test -z "$ac_cv_build_alias" &&
1523 ac_cv_build_alias=`$ac_config_guess`
1524 test -z "$ac_cv_build_alias" &&
1525 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1526 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1527 { (exit 1); exit 1; }; }
1528 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1529 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1530 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1531 { (exit 1); exit 1; }; }
1534 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1535 echo "${ECHO_T}$ac_cv_build" >&6
1537 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1538 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1539 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1542 echo "$as_me:$LINENO: checking host system type" >&5
1543 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1544 if test "${ac_cv_host+set}" = set; then
1545 echo $ECHO_N "(cached) $ECHO_C" >&6
1547 ac_cv_host_alias=$host_alias
1548 test -z "$ac_cv_host_alias" &&
1549 ac_cv_host_alias=$ac_cv_build_alias
1550 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1551 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1552 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1553 { (exit 1); exit 1; }; }
1556 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1557 echo "${ECHO_T}$ac_cv_host" >&6
1559 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1560 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1561 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1564 echo "$as_me:$LINENO: checking target system type" >&5
1565 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1566 if test "${ac_cv_target+set}" = set; then
1567 echo $ECHO_N "(cached) $ECHO_C" >&6
1569 ac_cv_target_alias=$target_alias
1570 test "x$ac_cv_target_alias" = "x" &&
1571 ac_cv_target_alias=$ac_cv_host_alias
1572 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1573 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1574 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1575 { (exit 1); exit 1; }; }
1578 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1579 echo "${ECHO_T}$ac_cv_target" >&6
1580 target=$ac_cv_target
1581 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1582 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1583 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1586 # The aliases save the names the user supplied, while $host etc.
1587 # will get canonicalized.
1588 test -n "$target_alias" &&
1589 test "$program_prefix$program_suffix$program_transform_name" = \
1591 program_prefix=${target_alias}-
1593 ac_cpp='$CPP $CPPFLAGS'
1594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1595 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1597 if test -n "$ac_tool_prefix"; then
1598 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1599 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1600 echo "$as_me:$LINENO: checking for $ac_word" >&5
1601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1602 if test "${ac_cv_prog_CC+set}" = set; then
1603 echo $ECHO_N "(cached) $ECHO_C" >&6
1605 if test -n "$CC"; then
1606 ac_cv_prog_CC="$CC" # Let the user override the test.
1608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1612 test -z "$as_dir" && as_dir=.
1613 for ac_exec_ext in '' $ac_executable_extensions; do
1614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1615 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1625 if test -n "$CC"; then
1626 echo "$as_me:$LINENO: result: $CC" >&5
1627 echo "${ECHO_T}$CC" >&6
1629 echo "$as_me:$LINENO: result: no" >&5
1630 echo "${ECHO_T}no" >&6
1634 if test -z "$ac_cv_prog_CC"; then
1636 # Extract the first word of "gcc", so it can be a program name with args.
1637 set dummy gcc; ac_word=$2
1638 echo "$as_me:$LINENO: checking for $ac_word" >&5
1639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1640 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1641 echo $ECHO_N "(cached) $ECHO_C" >&6
1643 if test -n "$ac_ct_CC"; then
1644 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1650 test -z "$as_dir" && as_dir=.
1651 for ac_exec_ext in '' $ac_executable_extensions; do
1652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1653 ac_cv_prog_ac_ct_CC="gcc"
1654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1662 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1663 if test -n "$ac_ct_CC"; then
1664 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1665 echo "${ECHO_T}$ac_ct_CC" >&6
1667 echo "$as_me:$LINENO: result: no" >&5
1668 echo "${ECHO_T}no" >&6
1676 if test -z "$CC"; then
1677 if test -n "$ac_tool_prefix"; then
1678 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1679 set dummy ${ac_tool_prefix}cc; ac_word=$2
1680 echo "$as_me:$LINENO: checking for $ac_word" >&5
1681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1682 if test "${ac_cv_prog_CC+set}" = set; then
1683 echo $ECHO_N "(cached) $ECHO_C" >&6
1685 if test -n "$CC"; then
1686 ac_cv_prog_CC="$CC" # Let the user override the test.
1688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1692 test -z "$as_dir" && as_dir=.
1693 for ac_exec_ext in '' $ac_executable_extensions; do
1694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1695 ac_cv_prog_CC="${ac_tool_prefix}cc"
1696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1705 if test -n "$CC"; then
1706 echo "$as_me:$LINENO: result: $CC" >&5
1707 echo "${ECHO_T}$CC" >&6
1709 echo "$as_me:$LINENO: result: no" >&5
1710 echo "${ECHO_T}no" >&6
1714 if test -z "$ac_cv_prog_CC"; then
1716 # Extract the first word of "cc", so it can be a program name with args.
1717 set dummy cc; ac_word=$2
1718 echo "$as_me:$LINENO: checking for $ac_word" >&5
1719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1720 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1721 echo $ECHO_N "(cached) $ECHO_C" >&6
1723 if test -n "$ac_ct_CC"; then
1724 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1730 test -z "$as_dir" && as_dir=.
1731 for ac_exec_ext in '' $ac_executable_extensions; do
1732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1733 ac_cv_prog_ac_ct_CC="cc"
1734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1742 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1743 if test -n "$ac_ct_CC"; then
1744 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1745 echo "${ECHO_T}$ac_ct_CC" >&6
1747 echo "$as_me:$LINENO: result: no" >&5
1748 echo "${ECHO_T}no" >&6
1757 if test -z "$CC"; then
1758 # Extract the first word of "cc", so it can be a program name with args.
1759 set dummy cc; ac_word=$2
1760 echo "$as_me:$LINENO: checking for $ac_word" >&5
1761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1762 if test "${ac_cv_prog_CC+set}" = set; then
1763 echo $ECHO_N "(cached) $ECHO_C" >&6
1765 if test -n "$CC"; then
1766 ac_cv_prog_CC="$CC" # Let the user override the test.
1769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1773 test -z "$as_dir" && as_dir=.
1774 for ac_exec_ext in '' $ac_executable_extensions; do
1775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1776 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1777 ac_prog_rejected=yes
1781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1787 if test $ac_prog_rejected = yes; then
1788 # We found a bogon in the path, so make sure we never use it.
1789 set dummy $ac_cv_prog_CC
1791 if test $# != 0; then
1792 # We chose a different compiler from the bogus one.
1793 # However, it has the same basename, so the bogon will be chosen
1794 # first if we set CC to just the basename; use the full file name.
1796 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1802 if test -n "$CC"; then
1803 echo "$as_me:$LINENO: result: $CC" >&5
1804 echo "${ECHO_T}$CC" >&6
1806 echo "$as_me:$LINENO: result: no" >&5
1807 echo "${ECHO_T}no" >&6
1811 if test -z "$CC"; then
1812 if test -n "$ac_tool_prefix"; then
1815 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1816 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1817 echo "$as_me:$LINENO: checking for $ac_word" >&5
1818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1819 if test "${ac_cv_prog_CC+set}" = set; then
1820 echo $ECHO_N "(cached) $ECHO_C" >&6
1822 if test -n "$CC"; then
1823 ac_cv_prog_CC="$CC" # Let the user override the test.
1825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1829 test -z "$as_dir" && as_dir=.
1830 for ac_exec_ext in '' $ac_executable_extensions; do
1831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1832 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1842 if test -n "$CC"; then
1843 echo "$as_me:$LINENO: result: $CC" >&5
1844 echo "${ECHO_T}$CC" >&6
1846 echo "$as_me:$LINENO: result: no" >&5
1847 echo "${ECHO_T}no" >&6
1850 test -n "$CC" && break
1853 if test -z "$CC"; then
1857 # Extract the first word of "$ac_prog", so it can be a program name with args.
1858 set dummy $ac_prog; ac_word=$2
1859 echo "$as_me:$LINENO: checking for $ac_word" >&5
1860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1861 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1862 echo $ECHO_N "(cached) $ECHO_C" >&6
1864 if test -n "$ac_ct_CC"; then
1865 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1871 test -z "$as_dir" && as_dir=.
1872 for ac_exec_ext in '' $ac_executable_extensions; do
1873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1874 ac_cv_prog_ac_ct_CC="$ac_prog"
1875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1883 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1884 if test -n "$ac_ct_CC"; then
1885 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1886 echo "${ECHO_T}$ac_ct_CC" >&6
1888 echo "$as_me:$LINENO: result: no" >&5
1889 echo "${ECHO_T}no" >&6
1892 test -n "$ac_ct_CC" && break
1901 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1902 See \`config.log' for more details.
" >&5
1903 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1904 See \
`config.log' for more details." >&2;}
1905 { (exit 1); exit 1; }; }
1907 # Provide some information about the compiler.
1908 echo "$as_me:$LINENO:" \
1909 "checking for C compiler version" >&5
1910 ac_compiler=`set X
$ac_compile; echo $2`
1911 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1912 (eval $ac_compiler --version </dev/null >&5) 2>&5
1914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1915 (exit $ac_status); }
1916 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1917 (eval $ac_compiler -v </dev/null >&5) 2>&5
1919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1920 (exit $ac_status); }
1921 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1922 (eval $ac_compiler -V </dev/null >&5) 2>&5
1924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1925 (exit $ac_status); }
1927 cat >conftest.$ac_ext <<_ACEOF
1930 cat confdefs.h >>conftest.$ac_ext
1931 cat >>conftest.$ac_ext <<_ACEOF
1932 /* end confdefs.h. */
1942 ac_clean_files_save=$ac_clean_files
1943 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1944 # Try to create an executable without -o first, disregard a.out.
1945 # It will help us diagnose broken compilers, and finding out an intuition
1947 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1948 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1949 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1950 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1951 (eval $ac_link_default) 2>&5
1953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1954 (exit $ac_status); }; then
1955 # Find the output, starting from the most likely. This scheme is
1956 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1959 # Be careful to initialize this variable, since it used to be cached.
1960 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1962 # b.out is created by i960 compilers.
1963 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1965 test -f "$ac_file" || continue
1967 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1970 # This is the source file.
1973 # We found the default executable, but exeext='' is most
1977 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1978 # FIXME: I believe we export ac_cv_exeext for Libtool,
1979 # but it would be cool to find out if it's true. Does anybody
1980 # maintain Libtool? --akim.
1988 echo "$as_me: failed program was:" >&5
1989 sed 's/^/| /' conftest.$ac_ext >&5
1991 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1992 See \`config.log
' for more details." >&5
1993 echo "$as_me: error: C compiler cannot create executables
1994 See \`config.log' for more details.
" >&2;}
1995 { (exit 77); exit 77; }; }
1998 ac_exeext=$ac_cv_exeext
1999 echo "$as_me:$LINENO: result
: $ac_file" >&5
2000 echo "${ECHO_T}$ac_file" >&6
2002 # Check the compiler produces executables we can run. If not, either
2003 # the compiler is broken, or we cross compile.
2004 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2005 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
2006 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2007 # If not cross compiling, check that we can run a simple program.
2008 if test "$cross_compiling" != yes; then
2009 if { ac_try='./$ac_file'
2010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2013 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2014 (exit $ac_status); }; }; then
2017 if test "$cross_compiling" = maybe; then
2020 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2021 If you meant to cross compile
, use \
`--host'.
2022 See \`config.log
' for more details." >&5
2023 echo "$as_me: error: cannot run C compiled programs.
2024 If you meant to cross compile, use \`--host'.
2025 See \
`config.log' for more details." >&2;}
2026 { (exit 1); exit 1; }; }
2030 echo "$as_me:$LINENO: result: yes" >&5
2031 echo "${ECHO_T}yes" >&6
2033 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2034 ac_clean_files=$ac_clean_files_save
2035 # Check the compiler produces executables we can run. If not, either
2036 # the compiler is broken, or we cross compile.
2037 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2038 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2039 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2040 echo "${ECHO_T}$cross_compiling" >&6
2042 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2043 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2045 (eval $ac_link) 2>&5
2047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2048 (exit $ac_status); }; then
2049 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2050 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2051 # work properly (i.e., refer to `conftest.exe'), while it won't with
2053 for ac_file
in conftest.exe conftest conftest.
*; do
2054 test -f "$ac_file" ||
continue
2056 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2057 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2064 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2065 See \`config.log' for more details." >&5
2066 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2067 See \`config.log' for more details." >&2;}
2068 { (exit 1); exit 1; }; }
2071 rm -f conftest
$ac_cv_exeext
2072 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2073 echo "${ECHO_T}$ac_cv_exeext" >&6
2075 rm -f conftest.
$ac_ext
2076 EXEEXT
=$ac_cv_exeext
2078 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2079 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2080 if test "${ac_cv_objext+set}" = set; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2083 cat >conftest.
$ac_ext <<_ACEOF
2086 cat confdefs.h
>>conftest.
$ac_ext
2087 cat >>conftest.
$ac_ext <<_ACEOF
2088 /* end confdefs.h. */
2098 rm -f conftest.o conftest.obj
2099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2100 (eval $ac_compile) 2>&5
2102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2103 (exit $ac_status); }; then
2104 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2106 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2107 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2112 echo "$as_me: failed program was:" >&5
2113 sed 's/^/| /' conftest.
$ac_ext >&5
2115 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2116 See \`config.log' for more details." >&5
2117 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2118 See \`config.log' for more details." >&2;}
2119 { (exit 1); exit 1; }; }
2122 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2124 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2125 echo "${ECHO_T}$ac_cv_objext" >&6
2126 OBJEXT
=$ac_cv_objext
2128 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2129 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2130 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 cat >conftest.
$ac_ext <<_ACEOF
2136 cat confdefs.h
>>conftest.
$ac_ext
2137 cat >>conftest.
$ac_ext <<_ACEOF
2138 /* end confdefs.h. */
2151 rm -f conftest.
$ac_objext
2152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2153 (eval $ac_compile) 2>conftest.er1
2155 grep -v '^ *+' conftest.er1
>conftest.err
2157 cat conftest.err
>&5
2158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2159 (exit $ac_status); } &&
2160 { ac_try
='test -z "$ac_c_werror_flag"
2161 || test ! -s conftest.err'
2162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166 (exit $ac_status); }; } &&
2167 { ac_try
='test -s conftest.$ac_objext'
2168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172 (exit $ac_status); }; }; then
2175 echo "$as_me: failed program was:" >&5
2176 sed 's/^/| /' conftest.
$ac_ext >&5
2180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2181 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2184 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2185 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2186 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2187 ac_test_CFLAGS
=${CFLAGS+set}
2188 ac_save_CFLAGS
=$CFLAGS
2190 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2191 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2192 if test "${ac_cv_prog_cc_g+set}" = set; then
2193 echo $ECHO_N "(cached) $ECHO_C" >&6
2195 cat >conftest.
$ac_ext <<_ACEOF
2198 cat confdefs.h
>>conftest.
$ac_ext
2199 cat >>conftest.
$ac_ext <<_ACEOF
2200 /* end confdefs.h. */
2210 rm -f conftest.
$ac_objext
2211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2212 (eval $ac_compile) 2>conftest.er1
2214 grep -v '^ *+' conftest.er1
>conftest.err
2216 cat conftest.err
>&5
2217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2218 (exit $ac_status); } &&
2219 { ac_try
='test -z "$ac_c_werror_flag"
2220 || test ! -s conftest.err'
2221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2225 (exit $ac_status); }; } &&
2226 { ac_try
='test -s conftest.$ac_objext'
2227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231 (exit $ac_status); }; }; then
2234 echo "$as_me: failed program was:" >&5
2235 sed 's/^/| /' conftest.
$ac_ext >&5
2239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2241 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2242 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2243 if test "$ac_test_CFLAGS" = set; then
2244 CFLAGS
=$ac_save_CFLAGS
2245 elif test $ac_cv_prog_cc_g = yes; then
2246 if test "$GCC" = yes; then
2252 if test "$GCC" = yes; then
2258 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2259 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2260 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2261 echo $ECHO_N "(cached) $ECHO_C" >&6
2263 ac_cv_prog_cc_stdc
=no
2265 cat >conftest.
$ac_ext <<_ACEOF
2268 cat confdefs.h
>>conftest.
$ac_ext
2269 cat >>conftest.
$ac_ext <<_ACEOF
2270 /* end confdefs.h. */
2273 #include <sys/types.h>
2274 #include <sys/stat.h>
2275 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2276 struct buf { int x; };
2277 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2278 static char *e (p, i)
2284 static char *f (char * (*g) (char **, int), char **p, ...)
2289 s = g (p, va_arg (v,int));
2294 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2295 function prototypes and stuff, but not '\xHH' hex character constants.
2296 These don't provoke an error unfortunately, instead are silently treated
2297 as 'x'. The following induces an error, until -std1 is added to get
2298 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2299 array size at least. It's necessary to write '\x00'==0 to get something
2300 that's true only with -std1. */
2301 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2303 int test (int i, double x);
2304 struct s1 {int (*f) (int a);};
2305 struct s2 {int (*f) (double a);};
2306 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2312 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2317 # Don't try gcc -ansi; that turns off useful extensions and
2318 # breaks some systems' header files.
2319 # AIX -qlanglvl=ansi
2320 # Ultrix and OSF/1 -std1
2321 # HP-UX 10.20 and later -Ae
2322 # HP-UX older versions -Aa -D_HPUX_SOURCE
2323 # SVR4 -Xc -D__EXTENSIONS__
2324 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2326 CC
="$ac_save_CC $ac_arg"
2327 rm -f conftest.
$ac_objext
2328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2329 (eval $ac_compile) 2>conftest.er1
2331 grep -v '^ *+' conftest.er1
>conftest.err
2333 cat conftest.err
>&5
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); } &&
2336 { ac_try
='test -z "$ac_c_werror_flag"
2337 || test ! -s conftest.err'
2338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2342 (exit $ac_status); }; } &&
2343 { ac_try
='test -s conftest.$ac_objext'
2344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); }; }; then
2349 ac_cv_prog_cc_stdc
=$ac_arg
2352 echo "$as_me: failed program was:" >&5
2353 sed 's/^/| /' conftest.
$ac_ext >&5
2356 rm -f conftest.err conftest.
$ac_objext
2358 rm -f conftest.
$ac_ext conftest.
$ac_objext
2363 case "x$ac_cv_prog_cc_stdc" in
2365 echo "$as_me:$LINENO: result: none needed" >&5
2366 echo "${ECHO_T}none needed" >&6 ;;
2368 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2369 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2370 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2373 # Some people use a C++ compiler to compile C. Since we use `exit',
2374 # in C++ we need to declare it. In case someone uses the same compiler
2375 # for both compiling C and C++ we need to have the C++ compiler decide
2376 # the declaration of exit, since it's the most demanding environment.
2377 cat >conftest.
$ac_ext <<_ACEOF
2382 rm -f conftest.
$ac_objext
2383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2384 (eval $ac_compile) 2>conftest.er1
2386 grep -v '^ *+' conftest.er1
>conftest.err
2388 cat conftest.err
>&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); } &&
2391 { ac_try
='test -z "$ac_c_werror_flag"
2392 || test ! -s conftest.err'
2393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); }; } &&
2398 { ac_try
='test -s conftest.$ac_objext'
2399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }; }; then
2404 for ac_declaration
in \
2406 'extern "C" void std::exit (int) throw (); using std::exit;' \
2407 'extern "C" void std::exit (int); using std::exit;' \
2408 'extern "C" void exit (int) throw ();' \
2409 'extern "C" void exit (int);' \
2412 cat >conftest.
$ac_ext <<_ACEOF
2415 cat confdefs.h
>>conftest.
$ac_ext
2416 cat >>conftest.
$ac_ext <<_ACEOF
2417 /* end confdefs.h. */
2428 rm -f conftest.
$ac_objext
2429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2430 (eval $ac_compile) 2>conftest.er1
2432 grep -v '^ *+' conftest.er1
>conftest.err
2434 cat conftest.err
>&5
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); } &&
2437 { ac_try
='test -z "$ac_c_werror_flag"
2438 || test ! -s conftest.err'
2439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443 (exit $ac_status); }; } &&
2444 { ac_try
='test -s conftest.$ac_objext'
2445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2449 (exit $ac_status); }; }; then
2452 echo "$as_me: failed program was:" >&5
2453 sed 's/^/| /' conftest.
$ac_ext >&5
2457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2458 cat >conftest.
$ac_ext <<_ACEOF
2461 cat confdefs.h
>>conftest.
$ac_ext
2462 cat >>conftest.
$ac_ext <<_ACEOF
2463 /* end confdefs.h. */
2473 rm -f conftest.
$ac_objext
2474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2475 (eval $ac_compile) 2>conftest.er1
2477 grep -v '^ *+' conftest.er1
>conftest.err
2479 cat conftest.err
>&5
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); } &&
2482 { ac_try
='test -z "$ac_c_werror_flag"
2483 || test ! -s conftest.err'
2484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); }; } &&
2489 { ac_try
='test -s conftest.$ac_objext'
2490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494 (exit $ac_status); }; }; then
2497 echo "$as_me: failed program was:" >&5
2498 sed 's/^/| /' conftest.
$ac_ext >&5
2501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2504 if test -n "$ac_declaration"; then
2505 echo '#ifdef __cplusplus' >>confdefs.h
2506 echo $ac_declaration >>confdefs.h
2507 echo '#endif' >>confdefs.h
2511 echo "$as_me: failed program was:" >&5
2512 sed 's/^/| /' conftest.
$ac_ext >&5
2515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2517 ac_cpp
='$CPP $CPPFLAGS'
2518 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2519 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2520 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2523 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2524 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2525 if test "${ac_cv_search_strerror+set}" = set; then
2526 echo $ECHO_N "(cached) $ECHO_C" >&6
2528 ac_func_search_save_LIBS
=$LIBS
2529 ac_cv_search_strerror
=no
2530 cat >conftest.
$ac_ext <<_ACEOF
2533 cat confdefs.h
>>conftest.
$ac_ext
2534 cat >>conftest.
$ac_ext <<_ACEOF
2535 /* end confdefs.h. */
2537 /* Override any gcc2 internal prototype to avoid an error. */
2541 /* We use char because int might match the return type of a gcc2
2542 builtin and then its argument prototype would still apply. */
2552 rm -f conftest.
$ac_objext conftest
$ac_exeext
2553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2554 (eval $ac_link) 2>conftest.er1
2556 grep -v '^ *+' conftest.er1
>conftest.err
2558 cat conftest.err
>&5
2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560 (exit $ac_status); } &&
2561 { ac_try
='test -z "$ac_c_werror_flag"
2562 || test ! -s conftest.err'
2563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567 (exit $ac_status); }; } &&
2568 { ac_try
='test -s conftest$ac_exeext'
2569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573 (exit $ac_status); }; }; then
2574 ac_cv_search_strerror
="none required"
2576 echo "$as_me: failed program was:" >&5
2577 sed 's/^/| /' conftest.
$ac_ext >&5
2580 rm -f conftest.err conftest.
$ac_objext \
2581 conftest
$ac_exeext conftest.
$ac_ext
2582 if test "$ac_cv_search_strerror" = no
; then
2583 for ac_lib
in cposix
; do
2584 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2585 cat >conftest.
$ac_ext <<_ACEOF
2588 cat confdefs.h
>>conftest.
$ac_ext
2589 cat >>conftest.
$ac_ext <<_ACEOF
2590 /* end confdefs.h. */
2592 /* Override any gcc2 internal prototype to avoid an error. */
2596 /* We use char because int might match the return type of a gcc2
2597 builtin and then its argument prototype would still apply. */
2607 rm -f conftest.
$ac_objext conftest
$ac_exeext
2608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2609 (eval $ac_link) 2>conftest.er1
2611 grep -v '^ *+' conftest.er1
>conftest.err
2613 cat conftest.err
>&5
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); } &&
2616 { ac_try
='test -z "$ac_c_werror_flag"
2617 || test ! -s conftest.err'
2618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622 (exit $ac_status); }; } &&
2623 { ac_try
='test -s conftest$ac_exeext'
2624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }; }; then
2629 ac_cv_search_strerror
="-l$ac_lib"
2632 echo "$as_me: failed program was:" >&5
2633 sed 's/^/| /' conftest.
$ac_ext >&5
2636 rm -f conftest.err conftest.
$ac_objext \
2637 conftest
$ac_exeext conftest.
$ac_ext
2640 LIBS
=$ac_func_search_save_LIBS
2642 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2643 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2644 if test "$ac_cv_search_strerror" != no
; then
2645 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2650 am__api_version
="1.9"
2651 # Find a good install program. We prefer a C program (faster),
2652 # so one script is as good as another. But avoid the broken or
2653 # incompatible versions:
2654 # SysV /etc/install, /usr/sbin/install
2655 # SunOS /usr/etc/install
2656 # IRIX /sbin/install
2658 # AmigaOS /C/install, which installs bootblocks on floppy discs
2659 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2660 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2661 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2662 # OS/2's system install, which has a completely different semantic
2663 # ./install, which can be erroneously created by make from ./install.sh.
2664 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2665 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2666 if test -z "$INSTALL"; then
2667 if test "${ac_cv_path_install+set}" = set; then
2668 echo $ECHO_N "(cached) $ECHO_C" >&6
2670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2674 test -z "$as_dir" && as_dir
=.
2675 # Account for people who put trailing slashes in PATH elements.
2677 .
/ | .
// |
/cC
/* | \
2678 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2679 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2682 # OSF1 and SCO ODT 3.0 have their own names for install.
2683 # Don't use installbsd from OSF since it installs stuff as root
2685 for ac_prog
in ginstall scoinst
install; do
2686 for ac_exec_ext
in '' $ac_executable_extensions; do
2687 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2688 if test $ac_prog = install &&
2689 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2690 # AIX install. It has an incompatible calling convention.
2692 elif test $ac_prog = install &&
2693 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2694 # program-specific install script used by HP pwplus--don't use.
2697 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2709 if test "${ac_cv_path_install+set}" = set; then
2710 INSTALL
=$ac_cv_path_install
2712 # As a last resort, use the slow shell script. We don't cache a
2713 # path for INSTALL within a source directory, because that will
2714 # break other packages using the cache if that directory is
2715 # removed, or if the path is relative.
2716 INSTALL
=$ac_install_sh
2719 echo "$as_me:$LINENO: result: $INSTALL" >&5
2720 echo "${ECHO_T}$INSTALL" >&6
2722 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2723 # It thinks the first close brace ends the variable substitution.
2724 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2726 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2728 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2730 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2731 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2734 echo timestamp
> conftest.
file
2735 # Do `set' in a subshell so we don't clobber the current shell's
2736 # arguments. Must try -L first in case configure is actually a
2737 # symlink; some systems play weird games with the mod time of symlinks
2738 # (eg FreeBSD returns the mod time of the symlink's containing
2741 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2742 if test "$*" = "X"; then
2744 set X
`ls -t $srcdir/configure conftest.file`
2747 if test "$*" != "X $srcdir/configure conftest.file" \
2748 && test "$*" != "X conftest.file $srcdir/configure"; then
2750 # If neither matched, then we have a broken ls. This can happen
2751 # if, for instance, CONFIG_SHELL is bash and it inherits a
2752 # broken ls alias from the environment. This has actually
2753 # happened. Such a system could not be considered "sane".
2754 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2755 alias in your environment" >&5
2756 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2757 alias in your environment" >&2;}
2758 { (exit 1); exit 1; }; }
2761 test "$2" = conftest.
file
2767 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2768 Check your system clock" >&5
2769 echo "$as_me: error: newly created file is older than distributed files!
2770 Check your system clock" >&2;}
2771 { (exit 1); exit 1; }; }
2773 echo "$as_me:$LINENO: result: yes" >&5
2774 echo "${ECHO_T}yes" >&6
2775 test "$program_prefix" != NONE
&&
2776 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2777 # Use a double $ so make ignores it.
2778 test "$program_suffix" != NONE
&&
2779 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2780 # Double any \ or $. echo might interpret backslashes.
2781 # By default was `s,x,x', remove it if useless.
2782 cat <<\_ACEOF
>conftest.
sed
2783 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2785 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2788 # expand $ac_aux_dir to an absolute path
2789 am_aux_dir
=`cd $ac_aux_dir && pwd`
2791 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2792 # Use eval to expand $SHELL
2793 if eval "$MISSING --run true"; then
2794 am_missing_run
="$MISSING --run "
2797 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2798 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2801 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2802 # We used to keeping the `.' as first argument, in order to
2803 # allow $(mkdir_p) to be used without argument. As in
2804 # $(mkdir_p) $(somedir)
2805 # where $(somedir) is conditionally defined. However this is wrong
2807 # 1. if the package is installed by a user who cannot write `.'
2808 # make install will fail,
2809 # 2. the above comment should most certainly read
2810 # $(mkdir_p) $(DESTDIR)$(somedir)
2811 # so it does not work when $(somedir) is undefined and
2812 # $(DESTDIR) is not.
2813 # To support the latter case, we have to write
2814 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2815 # so the `.' trick is pointless.
2816 mkdir_p
='mkdir -p --'
2818 # On NextStep and OpenStep, the `mkdir' command does not
2819 # recognize any option. It will interpret all options as
2820 # directories to create, and then abort because `.' already
2822 for d
in .
/-p .
/--version;
2824 test -d $d && rmdir $d
2826 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2827 if test -f "$ac_aux_dir/mkinstalldirs"; then
2828 mkdir_p
='$(mkinstalldirs)'
2830 mkdir_p
='$(install_sh) -d'
2834 for ac_prog
in gawk mawk nawk
awk
2836 # Extract the first word of "$ac_prog", so it can be a program name with args.
2837 set dummy
$ac_prog; ac_word
=$2
2838 echo "$as_me:$LINENO: checking for $ac_word" >&5
2839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2840 if test "${ac_cv_prog_AWK+set}" = set; then
2841 echo $ECHO_N "(cached) $ECHO_C" >&6
2843 if test -n "$AWK"; then
2844 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2850 test -z "$as_dir" && as_dir
=.
2851 for ac_exec_ext
in '' $ac_executable_extensions; do
2852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2853 ac_cv_prog_AWK
="$ac_prog"
2854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2863 if test -n "$AWK"; then
2864 echo "$as_me:$LINENO: result: $AWK" >&5
2865 echo "${ECHO_T}$AWK" >&6
2867 echo "$as_me:$LINENO: result: no" >&5
2868 echo "${ECHO_T}no" >&6
2871 test -n "$AWK" && break
2874 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2875 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2876 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2877 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2878 echo $ECHO_N "(cached) $ECHO_C" >&6
2880 cat >conftest.
make <<\_ACEOF
2882 @
echo 'ac_maketemp="$(MAKE)"'
2884 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2885 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2886 if test -n "$ac_maketemp"; then
2887 eval ac_cv_prog_make_
${ac_make}_set
=yes
2889 eval ac_cv_prog_make_
${ac_make}_set
=no
2893 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2894 echo "$as_me:$LINENO: result: yes" >&5
2895 echo "${ECHO_T}yes" >&6
2898 echo "$as_me:$LINENO: result: no" >&5
2899 echo "${ECHO_T}no" >&6
2900 SET_MAKE
="MAKE=${MAKE-make}"
2903 rm -rf .tst
2>/dev
/null
2904 mkdir .tst
2>/dev
/null
2905 if test -d .tst
; then
2910 rmdir .tst
2>/dev
/null
2912 DEPDIR
="${am__leading_dot}deps"
2914 ac_config_commands
="$ac_config_commands depfiles"
2917 am_make
=${MAKE-make}
2918 cat > confinc
<< 'END'
2923 # If we don't find an include directive, just comment out the code.
2924 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2925 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2929 # First try GNU make style include.
2930 echo "include confinc" > confmf
2931 # We grep out `Entering directory' and `Leaving directory'
2932 # messages which can occur if `w' ends up in MAKEFLAGS.
2933 # In particular we don't look at `^make:' because GNU make might
2934 # be invoked under some other name (usually "gmake"), in which
2935 # case it prints its new name instead of `make'.
2936 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2941 # Now try BSD make style include.
2942 if test "$am__include" = "#"; then
2943 echo '.include "confinc"' > confmf
2944 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2945 am__include
=.include
2952 echo "$as_me:$LINENO: result: $_am_result" >&5
2953 echo "${ECHO_T}$_am_result" >&6
2954 rm -f confinc confmf
2956 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2957 if test "${enable_dependency_tracking+set}" = set; then
2958 enableval
="$enable_dependency_tracking"
2961 if test "x$enable_dependency_tracking" != xno
; then
2962 am_depcomp
="$ac_aux_dir/depcomp"
2967 if test "x$enable_dependency_tracking" != xno; then
2977 # test to see if srcdir already configured
2978 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2979 test -f $srcdir/config.status
; then
2980 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2981 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2982 { (exit 1); exit 1; }; }
2985 # test whether we have cygpath
2986 if test -z "$CYGPATH_W"; then
2987 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2988 CYGPATH_W
='cygpath -w'
2995 # Define the identity of the package.
3000 cat >>confdefs.h
<<_ACEOF
3001 #define PACKAGE "$PACKAGE"
3005 cat >>confdefs.h
<<_ACEOF
3006 #define VERSION "$VERSION"
3009 # Some tools Automake needs.
3011 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3014 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3017 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3020 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3023 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3025 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3027 # Installed binaries are usually stripped using `strip' when the user
3028 # run `make install-strip'. However `strip' might not be the right
3029 # tool to use in cross-compilation environments, therefore Automake
3030 # will honor the `STRIP' environment variable to overrule this program.
3031 if test "$cross_compiling" != no
; then
3032 if test -n "$ac_tool_prefix"; then
3033 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3034 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3035 echo "$as_me:$LINENO: checking for $ac_word" >&5
3036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3037 if test "${ac_cv_prog_STRIP+set}" = set; then
3038 echo $ECHO_N "(cached) $ECHO_C" >&6
3040 if test -n "$STRIP"; then
3041 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3047 test -z "$as_dir" && as_dir
=.
3048 for ac_exec_ext
in '' $ac_executable_extensions; do
3049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3050 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3059 STRIP
=$ac_cv_prog_STRIP
3060 if test -n "$STRIP"; then
3061 echo "$as_me:$LINENO: result: $STRIP" >&5
3062 echo "${ECHO_T}$STRIP" >&6
3064 echo "$as_me:$LINENO: result: no" >&5
3065 echo "${ECHO_T}no" >&6
3069 if test -z "$ac_cv_prog_STRIP"; then
3071 # Extract the first word of "strip", so it can be a program name with args.
3072 set dummy 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_ac_ct_STRIP+set}" = set; then
3076 echo $ECHO_N "(cached) $ECHO_C" >&6
3078 if test -n "$ac_ct_STRIP"; then
3079 ac_cv_prog_ac_ct_STRIP
="$ac_ct_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_ac_ct_STRIP
="strip"
3089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3095 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3098 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3099 if test -n "$ac_ct_STRIP"; then
3100 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3101 echo "${ECHO_T}$ac_ct_STRIP" >&6
3103 echo "$as_me:$LINENO: result: no" >&5
3104 echo "${ECHO_T}no" >&6
3109 STRIP
="$ac_cv_prog_STRIP"
3113 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3115 # We need awk for the "check" target. The system "awk" is bad on
3117 # Always define AMTAR for backward compatibility.
3119 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3121 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3126 depcc
="$CC" am_compiler_list
=
3128 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3129 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3130 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3131 echo $ECHO_N "(cached) $ECHO_C" >&6
3133 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3134 # We make a subdir and do the tests there. Otherwise we can end up
3135 # making bogus files that we don't know about and never remove. For
3136 # instance it was reported that on HP-UX the gcc test will end up
3137 # making a dummy file named `D' -- because `-MD' means `put the output
3140 # Copy depcomp to subdir because otherwise we won't find it if we're
3141 # using a relative directory.
3142 cp "$am_depcomp" conftest.dir
3144 # We will build objects and dependencies in a subdirectory because
3145 # it helps to detect inapplicable dependency modes. For instance
3146 # both Tru64's cc and ICC support -MD to output dependencies as a
3147 # side effect of compilation, but ICC will put the dependencies in
3148 # the current directory while Tru64 will put them in the object
3152 am_cv_CC_dependencies_compiler_type
=none
3153 if test "$am_compiler_list" = ""; then
3154 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3156 for depmode
in $am_compiler_list; do
3157 # Setup a source with many dependencies, because some compilers
3158 # like to wrap large dependency lists on column 80 (with \), and
3159 # we should not choose a depcomp mode which is confused by this.
3161 # We need to recreate these files for each test, as the compiler may
3162 # overwrite some of them when testing with obscure command lines.
3163 # This happens at least with the AIX C compiler.
3165 for i
in 1 2 3 4 5 6; do
3166 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3167 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3168 # Solaris 8's {/usr,}/bin/sh.
3169 touch sub
/conftst
$i.h
3171 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3175 # after this tag, mechanisms are not by side-effect, so they'll
3176 # only be used when explicitly requested
3177 if test "x$enable_dependency_tracking" = xyes
; then
3185 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3186 # mode. It turns out that the SunPro C++ compiler does not properly
3187 # handle `-M -o', and we need to detect this.
3188 if depmode
=$depmode \
3189 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3190 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3191 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3192 >/dev
/null
2>conftest.err
&&
3193 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3194 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3195 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3196 # icc doesn't choke on unknown options, it will just issue warnings
3197 # or remarks (even with -Werror). So we grep stderr for any message
3198 # that says an option was ignored or not supported.
3199 # When given -MP, icc 7.0 and 7.1 complain thusly:
3200 # icc: Command line warning: ignoring option '-M'; no argument required
3201 # The diagnosis changed in icc 8.0:
3202 # icc: Command line remark: option '-MP' not supported
3203 if (grep 'ignoring option' conftest.err ||
3204 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3205 am_cv_CC_dependencies_compiler_type
=$depmode
3214 am_cv_CC_dependencies_compiler_type
=none
3218 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3219 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3220 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3225 test "x$enable_dependency_tracking" != xno \
3226 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3228 am__fastdepCC_FALSE
='#'
3230 am__fastdepCC_TRUE
='#'
3231 am__fastdepCC_FALSE
=
3237 if test -n "$ac_tool_prefix"; then
3238 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3239 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3240 echo "$as_me:$LINENO: checking for $ac_word" >&5
3241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3242 if test "${ac_cv_prog_AR+set}" = set; then
3243 echo $ECHO_N "(cached) $ECHO_C" >&6
3245 if test -n "$AR"; then
3246 ac_cv_prog_AR
="$AR" # Let the user override the test.
3248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3252 test -z "$as_dir" && as_dir
=.
3253 for ac_exec_ext
in '' $ac_executable_extensions; do
3254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3255 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3265 if test -n "$AR"; then
3266 echo "$as_me:$LINENO: result: $AR" >&5
3267 echo "${ECHO_T}$AR" >&6
3269 echo "$as_me:$LINENO: result: no" >&5
3270 echo "${ECHO_T}no" >&6
3274 if test -z "$ac_cv_prog_AR"; then
3276 # Extract the first word of "ar", so it can be a program name with args.
3277 set dummy
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_ac_ct_AR+set}" = set; then
3281 echo $ECHO_N "(cached) $ECHO_C" >&6
3283 if test -n "$ac_ct_AR"; then
3284 ac_cv_prog_ac_ct_AR
="$ac_ct_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_ac_ct_AR
="ar"
3294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3302 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3303 if test -n "$ac_ct_AR"; then
3304 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3305 echo "${ECHO_T}$ac_ct_AR" >&6
3307 echo "$as_me:$LINENO: result: no" >&5
3308 echo "${ECHO_T}no" >&6
3316 if test -n "$ac_tool_prefix"; then
3317 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3318 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3319 echo "$as_me:$LINENO: checking for $ac_word" >&5
3320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3321 if test "${ac_cv_prog_RANLIB+set}" = set; then
3322 echo $ECHO_N "(cached) $ECHO_C" >&6
3324 if test -n "$RANLIB"; then
3325 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3331 test -z "$as_dir" && as_dir
=.
3332 for ac_exec_ext
in '' $ac_executable_extensions; do
3333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3334 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3343 RANLIB
=$ac_cv_prog_RANLIB
3344 if test -n "$RANLIB"; then
3345 echo "$as_me:$LINENO: result: $RANLIB" >&5
3346 echo "${ECHO_T}$RANLIB" >&6
3348 echo "$as_me:$LINENO: result: no" >&5
3349 echo "${ECHO_T}no" >&6
3353 if test -z "$ac_cv_prog_RANLIB"; then
3354 ac_ct_RANLIB
=$RANLIB
3355 # Extract the first word of "ranlib", so it can be a program name with args.
3356 set dummy 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_ac_ct_RANLIB+set}" = set; then
3360 echo $ECHO_N "(cached) $ECHO_C" >&6
3362 if test -n "$ac_ct_RANLIB"; then
3363 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_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_ac_ct_RANLIB
="ranlib"
3373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3379 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3382 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3383 if test -n "$ac_ct_RANLIB"; then
3384 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3385 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3387 echo "$as_me:$LINENO: result: no" >&5
3388 echo "${ECHO_T}no" >&6
3391 RANLIB
=$ac_ct_RANLIB
3393 RANLIB
="$ac_cv_prog_RANLIB"
3397 # Check whether --enable-shared or --disable-shared was given.
3398 if test "${enable_shared+set}" = set; then
3399 enableval
="$enable_shared"
3400 p
=${PACKAGE-default}
3402 yes) enable_shared
=yes ;;
3403 no
) enable_shared
=no
;;
3406 # Look at the argument we got. We use all the common list separators.
3407 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3408 for pkg
in $enableval; do
3410 if test "X$pkg" = "X$p"; then
3430 ac_cpp
='$CPP $CPPFLAGS'
3431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3434 if test -n "$ac_tool_prefix"; then
3435 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3436 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3437 echo "$as_me:$LINENO: checking for $ac_word" >&5
3438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3439 if test "${ac_cv_prog_CC+set}" = set; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 if test -n "$CC"; then
3443 ac_cv_prog_CC
="$CC" # Let the user override the test.
3445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3449 test -z "$as_dir" && as_dir
=.
3450 for ac_exec_ext
in '' $ac_executable_extensions; do
3451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3452 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3462 if test -n "$CC"; then
3463 echo "$as_me:$LINENO: result: $CC" >&5
3464 echo "${ECHO_T}$CC" >&6
3466 echo "$as_me:$LINENO: result: no" >&5
3467 echo "${ECHO_T}no" >&6
3471 if test -z "$ac_cv_prog_CC"; then
3473 # Extract the first word of "gcc", so it can be a program name with args.
3474 set dummy 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_ac_ct_CC+set}" = set; then
3478 echo $ECHO_N "(cached) $ECHO_C" >&6
3480 if test -n "$ac_ct_CC"; then
3481 ac_cv_prog_ac_ct_CC
="$ac_ct_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_ac_ct_CC
="gcc"
3491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3499 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3500 if test -n "$ac_ct_CC"; then
3501 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3502 echo "${ECHO_T}$ac_ct_CC" >&6
3504 echo "$as_me:$LINENO: result: no" >&5
3505 echo "${ECHO_T}no" >&6
3513 if test -z "$CC"; then
3514 if test -n "$ac_tool_prefix"; then
3515 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3516 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3517 echo "$as_me:$LINENO: checking for $ac_word" >&5
3518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3519 if test "${ac_cv_prog_CC+set}" = set; then
3520 echo $ECHO_N "(cached) $ECHO_C" >&6
3522 if test -n "$CC"; then
3523 ac_cv_prog_CC
="$CC" # Let the user override the test.
3525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3529 test -z "$as_dir" && as_dir
=.
3530 for ac_exec_ext
in '' $ac_executable_extensions; do
3531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3532 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3542 if test -n "$CC"; then
3543 echo "$as_me:$LINENO: result: $CC" >&5
3544 echo "${ECHO_T}$CC" >&6
3546 echo "$as_me:$LINENO: result: no" >&5
3547 echo "${ECHO_T}no" >&6
3551 if test -z "$ac_cv_prog_CC"; then
3553 # Extract the first word of "cc", so it can be a program name with args.
3554 set dummy 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_ac_ct_CC+set}" = set; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3560 if test -n "$ac_ct_CC"; then
3561 ac_cv_prog_ac_ct_CC
="$ac_ct_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_ac_ct_CC
="cc"
3571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3579 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3580 if test -n "$ac_ct_CC"; then
3581 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3582 echo "${ECHO_T}$ac_ct_CC" >&6
3584 echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6
3594 if test -z "$CC"; then
3595 # Extract the first word of "cc", so it can be a program name with args.
3596 set dummy cc
; ac_word
=$2
3597 echo "$as_me:$LINENO: checking for $ac_word" >&5
3598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3599 if test "${ac_cv_prog_CC+set}" = set; then
3600 echo $ECHO_N "(cached) $ECHO_C" >&6
3602 if test -n "$CC"; then
3603 ac_cv_prog_CC
="$CC" # Let the user override the test.
3606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3610 test -z "$as_dir" && as_dir
=.
3611 for ac_exec_ext
in '' $ac_executable_extensions; do
3612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3613 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3614 ac_prog_rejected
=yes
3618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3624 if test $ac_prog_rejected = yes; then
3625 # We found a bogon in the path, so make sure we never use it.
3626 set dummy
$ac_cv_prog_CC
3628 if test $# != 0; then
3629 # We chose a different compiler from the bogus one.
3630 # However, it has the same basename, so the bogon will be chosen
3631 # first if we set CC to just the basename; use the full file name.
3633 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3639 if test -n "$CC"; then
3640 echo "$as_me:$LINENO: result: $CC" >&5
3641 echo "${ECHO_T}$CC" >&6
3643 echo "$as_me:$LINENO: result: no" >&5
3644 echo "${ECHO_T}no" >&6
3648 if test -z "$CC"; then
3649 if test -n "$ac_tool_prefix"; then
3652 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3653 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3654 echo "$as_me:$LINENO: checking for $ac_word" >&5
3655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3656 if test "${ac_cv_prog_CC+set}" = set; then
3657 echo $ECHO_N "(cached) $ECHO_C" >&6
3659 if test -n "$CC"; then
3660 ac_cv_prog_CC
="$CC" # Let the user override the test.
3662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3666 test -z "$as_dir" && as_dir
=.
3667 for ac_exec_ext
in '' $ac_executable_extensions; do
3668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3669 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3679 if test -n "$CC"; then
3680 echo "$as_me:$LINENO: result: $CC" >&5
3681 echo "${ECHO_T}$CC" >&6
3683 echo "$as_me:$LINENO: result: no" >&5
3684 echo "${ECHO_T}no" >&6
3687 test -n "$CC" && break
3690 if test -z "$CC"; then
3694 # Extract the first word of "$ac_prog", so it can be a program name with args.
3695 set dummy
$ac_prog; ac_word
=$2
3696 echo "$as_me:$LINENO: checking for $ac_word" >&5
3697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3698 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3701 if test -n "$ac_ct_CC"; then
3702 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3708 test -z "$as_dir" && as_dir
=.
3709 for ac_exec_ext
in '' $ac_executable_extensions; do
3710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3711 ac_cv_prog_ac_ct_CC
="$ac_prog"
3712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3720 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3721 if test -n "$ac_ct_CC"; then
3722 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3723 echo "${ECHO_T}$ac_ct_CC" >&6
3725 echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6
3729 test -n "$ac_ct_CC" && break
3738 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3739 See \`config.log' for more details." >&5
3740 echo "$as_me: error: no acceptable C compiler found in \$PATH
3741 See \`config.log' for more details." >&2;}
3742 { (exit 1); exit 1; }; }
3744 # Provide some information about the compiler.
3745 echo "$as_me:$LINENO:" \
3746 "checking for C compiler version" >&5
3747 ac_compiler
=`set X $ac_compile; echo $2`
3748 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3749 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752 (exit $ac_status); }
3753 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3754 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757 (exit $ac_status); }
3758 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3759 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762 (exit $ac_status); }
3764 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3765 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3766 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3767 echo $ECHO_N "(cached) $ECHO_C" >&6
3769 cat >conftest.
$ac_ext <<_ACEOF
3772 cat confdefs.h
>>conftest.
$ac_ext
3773 cat >>conftest.
$ac_ext <<_ACEOF
3774 /* end confdefs.h. */
3787 rm -f conftest.
$ac_objext
3788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3789 (eval $ac_compile) 2>conftest.er1
3791 grep -v '^ *+' conftest.er1
>conftest.err
3793 cat conftest.err
>&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); } &&
3796 { ac_try
='test -z "$ac_c_werror_flag"
3797 || test ! -s conftest.err'
3798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); }; } &&
3803 { ac_try
='test -s conftest.$ac_objext'
3804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); }; }; then
3811 echo "$as_me: failed program was:" >&5
3812 sed 's/^/| /' conftest.
$ac_ext >&5
3816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3817 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3820 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3821 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3822 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3823 ac_test_CFLAGS
=${CFLAGS+set}
3824 ac_save_CFLAGS
=$CFLAGS
3826 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3827 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3828 if test "${ac_cv_prog_cc_g+set}" = set; then
3829 echo $ECHO_N "(cached) $ECHO_C" >&6
3831 cat >conftest.
$ac_ext <<_ACEOF
3834 cat confdefs.h
>>conftest.
$ac_ext
3835 cat >>conftest.
$ac_ext <<_ACEOF
3836 /* end confdefs.h. */
3846 rm -f conftest.
$ac_objext
3847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3848 (eval $ac_compile) 2>conftest.er1
3850 grep -v '^ *+' conftest.er1
>conftest.err
3852 cat conftest.err
>&5
3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); } &&
3855 { ac_try
='test -z "$ac_c_werror_flag"
3856 || test ! -s conftest.err'
3857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861 (exit $ac_status); }; } &&
3862 { ac_try
='test -s conftest.$ac_objext'
3863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); }; }; then
3870 echo "$as_me: failed program was:" >&5
3871 sed 's/^/| /' conftest.
$ac_ext >&5
3875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3877 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3878 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3879 if test "$ac_test_CFLAGS" = set; then
3880 CFLAGS
=$ac_save_CFLAGS
3881 elif test $ac_cv_prog_cc_g = yes; then
3882 if test "$GCC" = yes; then
3888 if test "$GCC" = yes; then
3894 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3895 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3896 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3897 echo $ECHO_N "(cached) $ECHO_C" >&6
3899 ac_cv_prog_cc_stdc
=no
3901 cat >conftest.
$ac_ext <<_ACEOF
3904 cat confdefs.h
>>conftest.
$ac_ext
3905 cat >>conftest.
$ac_ext <<_ACEOF
3906 /* end confdefs.h. */
3909 #include <sys/types.h>
3910 #include <sys/stat.h>
3911 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3912 struct buf { int x; };
3913 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3914 static char *e (p, i)
3920 static char *f (char * (*g) (char **, int), char **p, ...)
3925 s = g (p, va_arg (v,int));
3930 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3931 function prototypes and stuff, but not '\xHH' hex character constants.
3932 These don't provoke an error unfortunately, instead are silently treated
3933 as 'x'. The following induces an error, until -std1 is added to get
3934 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3935 array size at least. It's necessary to write '\x00'==0 to get something
3936 that's true only with -std1. */
3937 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3939 int test (int i, double x);
3940 struct s1 {int (*f) (int a);};
3941 struct s2 {int (*f) (double a);};
3942 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3948 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3953 # Don't try gcc -ansi; that turns off useful extensions and
3954 # breaks some systems' header files.
3955 # AIX -qlanglvl=ansi
3956 # Ultrix and OSF/1 -std1
3957 # HP-UX 10.20 and later -Ae
3958 # HP-UX older versions -Aa -D_HPUX_SOURCE
3959 # SVR4 -Xc -D__EXTENSIONS__
3960 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3962 CC
="$ac_save_CC $ac_arg"
3963 rm -f conftest.
$ac_objext
3964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3965 (eval $ac_compile) 2>conftest.er1
3967 grep -v '^ *+' conftest.er1
>conftest.err
3969 cat conftest.err
>&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); } &&
3972 { ac_try
='test -z "$ac_c_werror_flag"
3973 || test ! -s conftest.err'
3974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3978 (exit $ac_status); }; } &&
3979 { ac_try
='test -s conftest.$ac_objext'
3980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3984 (exit $ac_status); }; }; then
3985 ac_cv_prog_cc_stdc
=$ac_arg
3988 echo "$as_me: failed program was:" >&5
3989 sed 's/^/| /' conftest.
$ac_ext >&5
3992 rm -f conftest.err conftest.
$ac_objext
3994 rm -f conftest.
$ac_ext conftest.
$ac_objext
3999 case "x$ac_cv_prog_cc_stdc" in
4001 echo "$as_me:$LINENO: result: none needed" >&5
4002 echo "${ECHO_T}none needed" >&6 ;;
4004 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4005 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4006 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4009 # Some people use a C++ compiler to compile C. Since we use `exit',
4010 # in C++ we need to declare it. In case someone uses the same compiler
4011 # for both compiling C and C++ we need to have the C++ compiler decide
4012 # the declaration of exit, since it's the most demanding environment.
4013 cat >conftest.
$ac_ext <<_ACEOF
4018 rm -f conftest.
$ac_objext
4019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4020 (eval $ac_compile) 2>conftest.er1
4022 grep -v '^ *+' conftest.er1
>conftest.err
4024 cat conftest.err
>&5
4025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4026 (exit $ac_status); } &&
4027 { ac_try
='test -z "$ac_c_werror_flag"
4028 || test ! -s conftest.err'
4029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4033 (exit $ac_status); }; } &&
4034 { ac_try
='test -s conftest.$ac_objext'
4035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); }; }; then
4040 for ac_declaration
in \
4042 'extern "C" void std::exit (int) throw (); using std::exit;' \
4043 'extern "C" void std::exit (int); using std::exit;' \
4044 'extern "C" void exit (int) throw ();' \
4045 'extern "C" void exit (int);' \
4048 cat >conftest.
$ac_ext <<_ACEOF
4051 cat confdefs.h
>>conftest.
$ac_ext
4052 cat >>conftest.
$ac_ext <<_ACEOF
4053 /* end confdefs.h. */
4064 rm -f conftest.
$ac_objext
4065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4066 (eval $ac_compile) 2>conftest.er1
4068 grep -v '^ *+' conftest.er1
>conftest.err
4070 cat conftest.err
>&5
4071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072 (exit $ac_status); } &&
4073 { ac_try
='test -z "$ac_c_werror_flag"
4074 || test ! -s conftest.err'
4075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); }; } &&
4080 { ac_try
='test -s conftest.$ac_objext'
4081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); }; }; then
4088 echo "$as_me: failed program was:" >&5
4089 sed 's/^/| /' conftest.
$ac_ext >&5
4093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4094 cat >conftest.
$ac_ext <<_ACEOF
4097 cat confdefs.h
>>conftest.
$ac_ext
4098 cat >>conftest.
$ac_ext <<_ACEOF
4099 /* end confdefs.h. */
4109 rm -f conftest.
$ac_objext
4110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4111 (eval $ac_compile) 2>conftest.er1
4113 grep -v '^ *+' conftest.er1
>conftest.err
4115 cat conftest.err
>&5
4116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117 (exit $ac_status); } &&
4118 { ac_try
='test -z "$ac_c_werror_flag"
4119 || test ! -s conftest.err'
4120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4124 (exit $ac_status); }; } &&
4125 { ac_try
='test -s conftest.$ac_objext'
4126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130 (exit $ac_status); }; }; then
4133 echo "$as_me: failed program was:" >&5
4134 sed 's/^/| /' conftest.
$ac_ext >&5
4137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4140 if test -n "$ac_declaration"; then
4141 echo '#ifdef __cplusplus' >>confdefs.h
4142 echo $ac_declaration >>confdefs.h
4143 echo '#endif' >>confdefs.h
4147 echo "$as_me: failed program was:" >&5
4148 sed 's/^/| /' conftest.
$ac_ext >&5
4151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4153 ac_cpp
='$CPP $CPPFLAGS'
4154 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4155 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4156 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4159 cat >>confdefs.h
<<\_ACEOF
4160 #define _GNU_SOURCE 1
4167 macro_version
='2.1a'
4168 macro_revision
='1.2435'
4181 ltmain
="$ac_aux_dir/ltmain.sh"
4192 # Check whether --enable-static or --disable-static was given.
4193 if test "${enable_static+set}" = set; then
4194 enableval
="$enable_static"
4195 p
=${PACKAGE-default}
4197 yes) enable_static
=yes ;;
4198 no
) enable_static
=no
;;
4201 # Look at the argument we got. We use all the common list separators.
4202 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4203 for pkg
in $enableval; do
4205 if test "X$pkg" = "X$p"; then
4224 # Check whether --with-pic or --without-pic was given.
4225 if test "${with_pic+set}" = set; then
4232 test -z "$pic_mode" && pic_mode
=default
4240 # Check whether --enable-fast-install or --disable-fast-install was given.
4241 if test "${enable_fast_install+set}" = set; then
4242 enableval
="$enable_fast_install"
4243 p
=${PACKAGE-default}
4245 yes) enable_fast_install
=yes ;;
4246 no
) enable_fast_install
=no
;;
4248 enable_fast_install
=no
4249 # Look at the argument we got. We use all the common list separators.
4250 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4251 for pkg
in $enableval; do
4253 if test "X$pkg" = "X$p"; then
4254 enable_fast_install
=yes
4261 enable_fast_install
=yes
4271 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4272 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4273 if test "${lt_cv_path_SED+set}" = set; then
4274 echo $ECHO_N "(cached) $ECHO_C" >&6
4276 # Loop through the user's path and test for sed and gsed.
4277 # Then use that list of sed's as ones to test for truncation.
4278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4282 test -z "$as_dir" && as_dir
=.
4283 for lt_ac_prog
in sed gsed
; do
4284 for ac_exec_ext
in '' $ac_executable_extensions; do
4285 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4286 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4294 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4295 # along with /bin/sed that truncates output.
4296 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4297 test ! -f $lt_ac_sed && continue
4298 cat /dev
/null
> conftest.
in
4300 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4301 # Check for GNU sed and select it if it is found.
4302 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4303 lt_cv_path_SED
=$lt_ac_sed
4307 cat conftest.
in conftest.
in >conftest.tmp
4308 mv conftest.tmp conftest.
in
4309 cp conftest.
in conftest.
nl
4311 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4312 cmp -s conftest.out conftest.
nl ||
break
4313 # 10000 chars as input seems more than enough
4314 test $lt_ac_count -gt 10 && break
4315 lt_ac_count
=`expr $lt_ac_count + 1`
4316 if test $lt_ac_count -gt $lt_ac_max; then
4317 lt_ac_max
=$lt_ac_count
4318 lt_cv_path_SED
=$lt_ac_sed
4327 echo "$as_me:$LINENO: result: $SED" >&5
4328 echo "${ECHO_T}$SED" >&6
4330 test -z "$SED" && SED
=sed
4331 Xsed
="$SED -e 1s/^X//"
4343 echo "$as_me:$LINENO: checking for egrep" >&5
4344 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4345 if test "${ac_cv_prog_egrep+set}" = set; then
4346 echo $ECHO_N "(cached) $ECHO_C" >&6
4348 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4349 then ac_cv_prog_egrep
='grep -E'
4350 else ac_cv_prog_egrep
='egrep'
4353 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4354 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4355 EGREP
=$ac_cv_prog_egrep
4358 echo "$as_me:$LINENO: checking for fgrep" >&5
4359 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4360 if test "${ac_cv_prog_fgrep+set}" = set; then
4361 echo $ECHO_N "(cached) $ECHO_C" >&6
4363 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
4364 then ac_cv_prog_fgrep
='grep -F'
4365 else ac_cv_prog_fgrep
='fgrep'
4368 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4369 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4370 FGREP
=$ac_cv_prog_fgrep
4373 test -z "$GREP" && GREP
=grep
4393 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4394 if test "${with_gnu_ld+set}" = set; then
4395 withval
="$with_gnu_ld"
4396 test "$withval" = no || with_gnu_ld
=yes
4401 if test "$GCC" = yes; then
4402 # Check if gcc -print-prog-name=ld gives a path.
4403 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4404 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4407 # gcc leaves a trailing carriage return which upsets mingw
4408 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4410 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4413 # Accept absolute paths.
4415 re_direlt
='/[^/][^/]*/\.\./'
4416 # Canonicalize the pathname of ld
4417 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4418 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4419 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4421 test -z "$LD" && LD
="$ac_prog"
4424 # If it fails, then pretend we aren't using GCC.
4428 # If it is relative, then search for the first ld in PATH.
4432 elif test "$with_gnu_ld" = yes; then
4433 echo "$as_me:$LINENO: checking for GNU ld" >&5
4434 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4436 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4437 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4439 if test "${lt_cv_path_LD+set}" = set; then
4440 echo $ECHO_N "(cached) $ECHO_C" >&6
4442 if test -z "$LD"; then
4443 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4444 for ac_dir
in $PATH; do
4446 test -z "$ac_dir" && ac_dir
=.
4447 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4448 lt_cv_path_LD
="$ac_dir/$ac_prog"
4449 # Check to see if the program is GNU ld. I'd rather use --version,
4450 # but apparently some variants of GNU ld only accept -v.
4451 # Break only if it was the GNU/non-GNU ld that we prefer.
4452 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4453 *GNU
* |
*'with BFD'*)
4454 test "$with_gnu_ld" != no
&& break
4457 test "$with_gnu_ld" != yes && break
4464 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4469 if test -n "$LD"; then
4470 echo "$as_me:$LINENO: result: $LD" >&5
4471 echo "${ECHO_T}$LD" >&6
4473 echo "$as_me:$LINENO: result: no" >&5
4474 echo "${ECHO_T}no" >&6
4476 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4477 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4478 { (exit 1); exit 1; }; }
4479 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4480 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4481 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4482 echo $ECHO_N "(cached) $ECHO_C" >&6
4484 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4485 case `$LD -v 2>&1 </dev/null` in
4486 *GNU
* |
*'with BFD'*)
4487 lt_cv_prog_gnu_ld
=yes
4490 lt_cv_prog_gnu_ld
=no
4494 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4495 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4496 with_gnu_ld
=$lt_cv_prog_gnu_ld
4507 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4508 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4509 if test "${lt_cv_path_NM+set}" = set; then
4510 echo $ECHO_N "(cached) $ECHO_C" >&6
4512 if test -n "$NM"; then
4513 # Let the user override the test.
4516 lt_nm_to_check
="${ac_tool_prefix}nm"
4517 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4518 lt_nm_to_check
="$lt_nm_to_check nm"
4520 for lt_tmp_nm
in $lt_nm_to_check; do
4521 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4522 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4524 test -z "$ac_dir" && ac_dir
=.
4525 tmp_nm
="$ac_dir/$lt_tmp_nm"
4526 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4527 # Check to see if the nm accepts a BSD-compat flag.
4528 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4529 # nm: unknown option "B" ignored
4530 # Tru64's nm complains that /dev/null is an invalid object file
4531 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4532 */dev
/null
* |
*'Invalid file or object type'*)
4533 lt_cv_path_NM
="$tmp_nm -B"
4537 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4539 lt_cv_path_NM
="$tmp_nm -p"
4543 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4544 continue # so that we can try to find one that supports BSD flags
4553 : ${lt_cv_path_NM=no}
4556 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4557 echo "${ECHO_T}$lt_cv_path_NM" >&6
4558 if test "$lt_cv_path_NM" != "no"; then
4561 # Didn't find any BSD compatible name lister, look for dumpbin.
4562 if test -n "$ac_tool_prefix"; then
4563 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4565 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4566 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4567 echo "$as_me:$LINENO: checking for $ac_word" >&5
4568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4569 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 if test -n "$DUMPBIN"; then
4573 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4579 test -z "$as_dir" && as_dir
=.
4580 for ac_exec_ext
in '' $ac_executable_extensions; do
4581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4582 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4591 DUMPBIN
=$ac_cv_prog_DUMPBIN
4592 if test -n "$DUMPBIN"; then
4593 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4594 echo "${ECHO_T}$DUMPBIN" >&6
4596 echo "$as_me:$LINENO: result: no" >&5
4597 echo "${ECHO_T}no" >&6
4600 test -n "$DUMPBIN" && break
4603 if test -z "$DUMPBIN"; then
4604 ac_ct_DUMPBIN
=$DUMPBIN
4605 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4607 # Extract the first word of "$ac_prog", so it can be a program name with args.
4608 set dummy
$ac_prog; ac_word
=$2
4609 echo "$as_me:$LINENO: checking for $ac_word" >&5
4610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4611 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4612 echo $ECHO_N "(cached) $ECHO_C" >&6
4614 if test -n "$ac_ct_DUMPBIN"; then
4615 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4621 test -z "$as_dir" && as_dir
=.
4622 for ac_exec_ext
in '' $ac_executable_extensions; do
4623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4624 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4633 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4634 if test -n "$ac_ct_DUMPBIN"; then
4635 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4636 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4638 echo "$as_me:$LINENO: result: no" >&5
4639 echo "${ECHO_T}no" >&6
4642 test -n "$ac_ct_DUMPBIN" && break
4644 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
4646 DUMPBIN
=$ac_ct_DUMPBIN
4650 if test "$DUMPBIN" != ":"; then
4654 test -z "$NM" && NM
=nm
4661 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4662 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4663 if test "${lt_cv_nm_interface+set}" = set; then
4664 echo $ECHO_N "(cached) $ECHO_C" >&6
4666 lt_cv_nm_interface
="BSD nm"
4667 echo "int some_variable = 0;" > conftest.
$ac_ext
4668 (eval echo "\"\$as_me:4668: $ac_compile\"" >&5)
4669 (eval "$ac_compile" 2>conftest.err
)
4670 cat conftest.err
>&5
4671 (eval echo "\"\$as_me:4671: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4672 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4673 cat conftest.err
>&5
4674 (eval echo "\"\$as_me:4674: output\"" >&5)
4675 cat conftest.out
>&5
4676 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4677 lt_cv_nm_interface
="MS dumpbin"
4681 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4682 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4684 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4685 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4687 if test "$LN_S" = "ln -s"; then
4688 echo "$as_me:$LINENO: result: yes" >&5
4689 echo "${ECHO_T}yes" >&6
4691 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4692 echo "${ECHO_T}no, using $LN_S" >&6
4695 # find the maximum length of command line arguments
4696 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4697 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4698 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4706 # On DJGPP, this test can blow up pretty badly due to problems in libc
4707 # (any single argument exceeding 2000 bytes causes a buffer overrun
4708 # during glob expansion). Even if it were fixed, the result of this
4709 # check would be larger than it should be.
4710 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4714 # Under GNU Hurd, this test is not required because there is
4715 # no limit to the length of command line arguments.
4716 # Libtool will interpret -1 as no limit whatsoever
4717 lt_cv_sys_max_cmd_len
=-1;
4721 # On Win9x/ME, this test blows up -- it succeeds, but takes
4722 # about 5 minutes as the teststring grows exponentially.
4723 # Worse, since 9x/ME are not pre-emptively multitasking,
4724 # you end up with a "frozen" computer, even though with patience
4725 # the test eventually succeeds (with a max line length of 256k).
4726 # Instead, let's just punt: use the minimum linelength reported by
4727 # all of the supported platforms: 8192 (on NT/2K/XP).
4728 lt_cv_sys_max_cmd_len
=8192;
4732 # On AmigaOS with pdksh, this test takes hours, literally.
4733 # So we just punt and use a minimum line length of 8192.
4734 lt_cv_sys_max_cmd_len
=8192;
4737 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4738 # This has been around since 386BSD, at least. Likely further.
4739 if test -x /sbin
/sysctl
; then
4740 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4741 elif test -x /usr
/sbin
/sysctl
; then
4742 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4744 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4746 # And add a safety zone
4747 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4748 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4752 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4753 lt_cv_sys_max_cmd_len
=196608
4757 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4758 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4759 # nice to cause kernel panics so lets avoid the loop below.
4760 # First set a reasonable default.
4761 lt_cv_sys_max_cmd_len
=16384
4763 if test -x /sbin
/sysconfig
; then
4764 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4765 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4770 lt_cv_sys_max_cmd_len
=102400
4772 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4773 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4774 if test -n "$kargmax"; then
4775 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4777 lt_cv_sys_max_cmd_len
=32768
4781 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
4782 if test -n $lt_cv_sys_max_cmd_len; then
4783 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4784 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4786 # Make teststring a little bigger before we do anything with it.
4787 # a 1K string should be a reasonable start.
4788 for i
in 1 2 3 4 5 6 7 8 ; do
4789 teststring
=$teststring$teststring
4791 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4792 # If test is not a shell built-in, we'll probably end up computing a
4793 # maximum length that is only half of the actual maximum length, but
4795 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4796 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4797 test $i != 17 # 1/2 MB should be enough
4800 teststring
=$teststring$teststring
4802 # Only check the string length outside the loop.
4803 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4805 # Add a significant safety factor because C++ compilers can tack on
4806 # massive amounts of additional arguments before passing them to the
4807 # linker. It appears as though 1/2 is a usable value.
4808 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4815 if test -n $lt_cv_sys_max_cmd_len ; then
4816 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4817 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4819 echo "$as_me:$LINENO: result: none" >&5
4820 echo "${ECHO_T}none" >&6
4822 max_cmd_len
=$lt_cv_sys_max_cmd_len
4834 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4835 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4836 # Try some XSI features
4839 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4840 = c,a/b,, ) >/dev/null 2>&1 \
4842 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4843 echo "${ECHO_T}$xsi_shell" >&6
4846 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4847 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
4849 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4851 && lt_shell_append=yes
4852 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4853 echo "${ECHO_T}$lt_shell_append" >&6
4856 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4866 # test EBCDIC or ASCII
4867 case `echo X|tr X '\101'` in
4868 A) # ASCII based system
4869 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4870 lt_SP2NL='tr \040 \012'
4871 lt_NL2SP='tr \015\012 \040\040'
4873 *) # EBCDIC based system
4874 lt_SP2NL='tr \100 \n'
4875 lt_NL2SP='tr \r\n \100\100'
4887 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4888 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
4889 if test "${lt_cv_ld_reload_flag+set}" = set; then
4890 echo $ECHO_N "(cached
) $ECHO_C" >&6
4892 lt_cv_ld_reload_flag='-r'
4894 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4895 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4896 reload_flag=$lt_cv_ld_reload_flag
4897 case $reload_flag in
4899 *) reload_flag=" $reload_flag" ;;
4901 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4904 if test "$GCC" = yes; then
4905 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4907 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4921 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4922 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4923 if test "${lt_cv_deplibs_check_method+set}" = set; then
4924 echo $ECHO_N "(cached
) $ECHO_C" >&6
4926 lt_cv_file_magic_cmd='$MAGIC_CMD'
4927 lt_cv_file_magic_test_file=
4928 lt_cv_deplibs_check_method='unknown'
4929 # Need to set the preceding variable on all platforms that support
4930 # interlibrary dependencies.
4931 # 'none' -- dependencies not supported.
4932 # `unknown' -- same as none, but documents that we really don't know.
4933 # 'pass_all' -- all dependencies passed with no checks.
4934 # 'test_compile' -- check by making test program.
4935 # 'file_magic [[regex]]' -- check by looking for files in library path
4936 # which responds to the $file_magic_cmd with a given extended regex.
4937 # If you have `file' or equivalent on your system and you're not sure
4938 # whether `pass_all' will *always* work, you probably want this one.
4942 lt_cv_deplibs_check_method=pass_all
4946 lt_cv_deplibs_check_method=pass_all
4950 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4951 lt_cv_file_magic_cmd='/usr/bin/file -L'
4952 lt_cv_file_magic_test_file=/shlib/libc.so
4956 # func_win32_libid is a shell function defined in ltmain.sh
4957 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4958 lt_cv_file_magic_cmd='func_win32_libid'
4962 # Base MSYS/MinGW do not provide the 'file' command needed by
4963 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4964 # unless we find 'file', for example because we are cross-compiling.
4965 if ( file / ) >/dev/null 2>&1; then
4966 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4967 lt_cv_file_magic_cmd='func_win32_libid'
4969 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4970 lt_cv_file_magic_cmd='$OBJDUMP -f'
4974 darwin* | rhapsody*)
4975 lt_cv_deplibs_check_method=pass_all
4978 freebsd* | dragonfly*)
4979 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4982 # Not sure whether the presence of OpenBSD here was a mistake.
4983 # Let's accept both of them until this is cleared up.
4984 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4985 lt_cv_file_magic_cmd=/usr/bin/file
4986 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4990 lt_cv_deplibs_check_method=pass_all
4995 lt_cv_deplibs_check_method=pass_all
4998 hpux10.20* | hpux11*)
4999 lt_cv_file_magic_cmd=/usr/bin/file
5002 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5003 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5006 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]'
5007 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5010 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5011 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5017 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5018 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5021 irix5* | irix6* | nonstopux*)
5023 *-32|*"-32 ") libmagic=32-bit;;
5024 *-n32|*"-n32 ") libmagic=N32;;
5025 *-64|*"-64 ") libmagic=64-bit;;
5026 *) libmagic=never-match;;
5028 lt_cv_deplibs_check_method=pass_all
5031 # This must be Linux ELF.
5032 linux* | k*bsd*-gnu)
5033 lt_cv_deplibs_check_method=pass_all
5037 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5038 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5040 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5045 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5046 lt_cv_file_magic_cmd=/usr/bin/file
5047 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5051 lt_cv_deplibs_check_method=pass_all
5055 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5056 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5058 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5062 osf3* | osf4* | osf5*)
5063 lt_cv_deplibs_check_method=pass_all
5067 lt_cv_deplibs_check_method=pass_all
5071 lt_cv_deplibs_check_method=pass_all
5074 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5075 lt_cv_deplibs_check_method=pass_all
5079 case $host_vendor in
5081 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]'
5082 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5085 lt_cv_deplibs_check_method=pass_all
5088 lt_cv_file_magic_cmd='/bin/file'
5089 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5092 lt_cv_file_magic_cmd='/bin/file'
5093 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5094 lt_cv_file_magic_test_file=/lib/libc.so
5097 lt_cv_deplibs_check_method=pass_all
5100 lt_cv_deplibs_check_method=pass_all
5106 lt_cv_deplibs_check_method=pass_all
5111 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5112 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5113 file_magic_cmd=$lt_cv_file_magic_cmd
5114 deplibs_check_method=$lt_cv_deplibs_check_method
5115 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5128 if test -n "$ac_tool_prefix"; then
5129 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5130 set dummy ${ac_tool_prefix}ar; ac_word=$2
5131 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5132 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5133 if test "${ac_cv_prog_AR+set}" = set; then
5134 echo $ECHO_N "(cached
) $ECHO_C" >&6
5136 if test -n "$AR"; then
5137 ac_cv_prog_AR="$AR" # Let the user override the test.
5139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5143 test -z "$as_dir" && as_dir=.
5144 for ac_exec_ext in '' $ac_executable_extensions; do
5145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5146 ac_cv_prog_AR="${ac_tool_prefix}ar"
5147 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5156 if test -n "$AR"; then
5157 echo "$as_me:$LINENO: result
: $AR" >&5
5158 echo "${ECHO_T}$AR" >&6
5160 echo "$as_me:$LINENO: result
: no
" >&5
5161 echo "${ECHO_T}no
" >&6
5165 if test -z "$ac_cv_prog_AR"; then
5167 # Extract the first word of "ar", so it can be a program name with args.
5168 set dummy ar; ac_word=$2
5169 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5170 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5171 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5172 echo $ECHO_N "(cached
) $ECHO_C" >&6
5174 if test -n "$ac_ct_AR"; then
5175 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5181 test -z "$as_dir" && as_dir=.
5182 for ac_exec_ext in '' $ac_executable_extensions; do
5183 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5184 ac_cv_prog_ac_ct_AR="ar"
5185 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5191 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
5194 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5195 if test -n "$ac_ct_AR"; then
5196 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5197 echo "${ECHO_T}$ac_ct_AR" >&6
5199 echo "$as_me:$LINENO: result
: no
" >&5
5200 echo "${ECHO_T}no
" >&6
5208 test -z "$AR" && AR=ar
5209 test -z "$AR_FLAGS" && AR_FLAGS=cru
5221 if test -n "$ac_tool_prefix"; then
5222 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5223 set dummy ${ac_tool_prefix}strip; ac_word=$2
5224 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5225 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5226 if test "${ac_cv_prog_STRIP+set}" = set; then
5227 echo $ECHO_N "(cached
) $ECHO_C" >&6
5229 if test -n "$STRIP"; then
5230 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 test -z "$as_dir" && as_dir=.
5237 for ac_exec_ext in '' $ac_executable_extensions; do
5238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5239 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5240 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5248 STRIP=$ac_cv_prog_STRIP
5249 if test -n "$STRIP"; then
5250 echo "$as_me:$LINENO: result
: $STRIP" >&5
5251 echo "${ECHO_T}$STRIP" >&6
5253 echo "$as_me:$LINENO: result
: no
" >&5
5254 echo "${ECHO_T}no
" >&6
5258 if test -z "$ac_cv_prog_STRIP"; then
5260 # Extract the first word of "strip
", so it can be a program name with args.
5261 set dummy strip; ac_word=$2
5262 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5263 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5264 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5265 echo $ECHO_N "(cached
) $ECHO_C" >&6
5267 if test -n "$ac_ct_STRIP"; then
5268 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5274 test -z "$as_dir" && as_dir=.
5275 for ac_exec_ext in '' $ac_executable_extensions; do
5276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5277 ac_cv_prog_ac_ct_STRIP="strip
"
5278 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5284 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5287 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5288 if test -n "$ac_ct_STRIP"; then
5289 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5290 echo "${ECHO_T}$ac_ct_STRIP" >&6
5292 echo "$as_me:$LINENO: result
: no
" >&5
5293 echo "${ECHO_T}no
" >&6
5298 STRIP="$ac_cv_prog_STRIP"
5301 test -z "$STRIP" && STRIP=:
5308 if test -n "$ac_tool_prefix"; then
5309 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5310 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5311 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5312 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5313 if test "${ac_cv_prog_RANLIB+set}" = set; then
5314 echo $ECHO_N "(cached
) $ECHO_C" >&6
5316 if test -n "$RANLIB"; then
5317 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5323 test -z "$as_dir" && as_dir=.
5324 for ac_exec_ext in '' $ac_executable_extensions; do
5325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5326 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5327 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5335 RANLIB=$ac_cv_prog_RANLIB
5336 if test -n "$RANLIB"; then
5337 echo "$as_me:$LINENO: result
: $RANLIB" >&5
5338 echo "${ECHO_T}$RANLIB" >&6
5340 echo "$as_me:$LINENO: result
: no
" >&5
5341 echo "${ECHO_T}no
" >&6
5345 if test -z "$ac_cv_prog_RANLIB"; then
5346 ac_ct_RANLIB=$RANLIB
5347 # Extract the first word of "ranlib
", so it can be a program name with args.
5348 set dummy ranlib; ac_word=$2
5349 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5350 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5351 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5352 echo $ECHO_N "(cached
) $ECHO_C" >&6
5354 if test -n "$ac_ct_RANLIB"; then
5355 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5361 test -z "$as_dir" && as_dir=.
5362 for ac_exec_ext in '' $ac_executable_extensions; do
5363 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5364 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5365 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5371 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5374 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5375 if test -n "$ac_ct_RANLIB"; then
5376 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5377 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5379 echo "$as_me:$LINENO: result
: no
" >&5
5380 echo "${ECHO_T}no
" >&6
5383 RANLIB=$ac_ct_RANLIB
5385 RANLIB="$ac_cv_prog_RANLIB"
5388 test -z "$RANLIB" && RANLIB=:
5395 # Determine commands to create old-style static archives.
5396 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5397 old_postinstall_cmds='chmod 644 $oldlib'
5398 old_postuninstall_cmds=
5400 if test -n "$RANLIB"; then
5403 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5406 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5409 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5445 # If no C compiler was specified, use CC.
5448 # If no C compiler flags were specified, use CFLAGS.
5449 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5451 # Allow CC to be a program name with arguments.
5455 # Check for command to grab the raw symbol name followed by C symbol from nm.
5456 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5457 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
5458 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5459 echo $ECHO_N "(cached
) $ECHO_C" >&6
5462 # These are sane defaults that work on at least a few old systems.
5463 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5465 # Character class describing NM global symbol codes.
5466 symcode='[BCDEGRST]'
5468 # Regexp to match symbols that can be accessed directly from C.
5469 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5471 # Define system-specific variables.
5476 cygwin* | mingw* | pw32*)
5477 symcode='[ABCDGISTW]'
5480 if test "$host_cpu" = ia64; then
5481 symcode='[ABCDEGRST]'
5485 symcode='[BCDEGRST]'
5488 symcode='[BCDEGQRST]'
5499 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5507 # If we're using GNU nm, then use its standard symbol codes.
5508 case `$NM -V 2>&1` in
5509 *GNU* | *'with BFD'*)
5510 symcode='[ABCDGIRSTW]' ;;
5513 # Transform an extracted symbol line into a proper C declaration.
5514 # Some systems (esp. on ia64) link data and code symbols differently,
5515 # so use this general approach.
5516 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5518 # Transform an extracted symbol line into symbol name and symbol address
5519 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5521 # Handle CRLF in mingw tool chain
5525 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5529 # Try without a prefix underscore, then with it.
5530 for ac_symprfx in "" "_
"; do
5532 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5533 symxfrm="\\1 $ac_symprfx\\2 \\2"
5535 # Write the raw and C identifiers.
5536 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5537 # Fake it for dumpbin and say T for any non-static function
5538 # and D for any global variable.
5539 # Also find C++ and __fastcall symbols from MSVC++,
5540 # which start with @ or ?.
5541 lt_cv_sys_global_symbol_pipe="$AWK '"\
5542 " {last_section=section; section=\$ 3};"\
5543 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5544 " \$ 0!~/External *\|/{next};"\
5545 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5546 " {if(hide[section]) next};"\
5547 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5548 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5549 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5550 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5551 " ' prfx
=^
$ac_symprfx"
5553 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5556 # Check to see that the pipe works correctly.
5560 cat > conftest.$ac_ext <<_LT_EOF
5565 void nm_test_func(void);
5566 void nm_test_func(void){}
5570 int main(){nm_test_var='a';nm_test_func();return(0);}
5573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5574 (eval $ac_compile) 2>&5
5576 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5577 (exit $ac_status); }; then
5578 # Now try to grab the symbols.
5580 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5581 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5583 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5584 (exit $ac_status); } && test -s "$nlist"; then
5585 # Try sorting and uniquifying the output.
5586 if sort "$nlist" | uniq > "$nlist"T; then
5587 mv -f "$nlist"T "$nlist"
5592 # Make sure that we snagged all the symbols we need.
5593 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5594 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5595 cat <<_LT_EOF > conftest.$ac_ext
5601 # Now generate the symbol file.
5602 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5604 cat <<_LT_EOF >> conftest.$ac_ext
5606 /* The mapping between symbol names and symbols. */
5611 lt__PROGRAM__LTX_preloaded_symbols[] =
5613 { "@PROGRAM@
", (void *) 0 },
5615 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5616 cat <<\_LT_EOF >> conftest.$ac_ext
5620 /* This works around a problem in FreeBSD linker */
5621 #ifdef FREEBSD_WORKAROUND
5622 static const void *lt_preloaded_setup() {
5623 return lt__PROGRAM__LTX_preloaded_symbols;
5631 # Now try linking the two files.
5632 mv conftest.$ac_objext conftstm.$ac_objext
5633 lt_save_LIBS="$LIBS"
5634 lt_save_CFLAGS="$CFLAGS"
5635 LIBS="conftstm.
$ac_objext"
5636 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5638 (eval $ac_link) 2>&5
5640 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5641 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5644 LIBS="$lt_save_LIBS"
5645 CFLAGS="$lt_save_CFLAGS"
5647 echo "cannot
find nm_test_func
in $nlist" >&5
5650 echo "cannot
find nm_test_var
in $nlist" >&5
5653 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5656 echo "$progname: failed program was
:" >&5
5657 cat conftest.$ac_ext >&5
5659 rm -f conftest* conftst*
5661 # Do not use the global_symbol_pipe unless it works.
5662 if test "$pipe_works" = yes; then
5665 lt_cv_sys_global_symbol_pipe=
5671 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5672 lt_cv_sys_global_symbol_to_cdecl=
5674 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5675 echo "$as_me:$LINENO: result
: failed
" >&5
5676 echo "${ECHO_T}failed
" >&6
5678 echo "$as_me:$LINENO: result
: ok
" >&5
5679 echo "${ECHO_T}ok
" >&6
5698 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5699 if test "${enable_libtool_lock+set}" = set; then
5700 enableval="$enable_libtool_lock"
5703 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5705 # Some flags need to be propagated to the compiler or linker for good
5709 # Find out which ABI we are using.
5710 echo 'int i;' > conftest.$ac_ext
5711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5712 (eval $ac_compile) 2>&5
5714 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5715 (exit $ac_status); }; then
5716 case `/usr/bin/file conftest.$ac_objext` in
5728 # Find out which ABI we are using.
5729 echo '#line 5729 "configure
"' > conftest.$ac_ext
5730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5731 (eval $ac_compile) 2>&5
5733 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5734 (exit $ac_status); }; then
5735 if test "$lt_cv_prog_gnu_ld" = yes; then
5736 case `/usr/bin/file conftest.$ac_objext` in
5738 LD="${LD-ld} -melf32bsmip"
5741 LD="${LD-ld} -melf32bmipn32"
5744 LD="${LD-ld} -melf64bmip"
5748 case `/usr/bin/file conftest.$ac_objext` in
5764 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5765 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5766 # Find out which ABI we are using.
5767 echo 'int i;' > conftest.$ac_ext
5768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5769 (eval $ac_compile) 2>&5
5771 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5772 (exit $ac_status); }; then
5773 case `/usr/bin/file conftest.o` in
5776 x86_64-*kfreebsd*-gnu)
5777 LD="${LD-ld} -m elf_i386_fbsd
"
5780 LD="${LD-ld} -m elf_i386
"
5782 ppc64-*linux*|powerpc64-*linux*)
5783 LD="${LD-ld} -m elf32ppclinux
"
5786 LD="${LD-ld} -m elf_s390
"
5789 LD="${LD-ld} -m elf32_sparc
"
5795 x86_64-*kfreebsd*-gnu)
5796 LD="${LD-ld} -m elf_x86_64_fbsd
"
5799 LD="${LD-ld} -m elf_x86_64
"
5801 ppc*-*linux*|powerpc*-*linux*)
5802 LD="${LD-ld} -m elf64ppc
"
5804 s390*-*linux*|s390*-*tpf*)
5805 LD="${LD-ld} -m elf64_s390
"
5808 LD="${LD-ld} -m elf64_sparc
"
5818 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5819 SAVE_CFLAGS="$CFLAGS"
5820 CFLAGS="$CFLAGS -belf"
5821 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5822 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
5823 if test "${lt_cv_cc_needs_belf+set}" = set; then
5824 echo $ECHO_N "(cached
) $ECHO_C" >&6
5827 ac_cpp='$CPP $CPPFLAGS'
5828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5832 cat >conftest.$ac_ext <<_ACEOF
5835 cat confdefs.h >>conftest.$ac_ext
5836 cat >>conftest.$ac_ext <<_ACEOF
5837 /* end confdefs.h. */
5847 rm -f conftest.$ac_objext conftest$ac_exeext
5848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5849 (eval $ac_link) 2>conftest.er1
5851 grep -v '^ *+' conftest.er1 >conftest.err
5853 cat conftest.err >&5
5854 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5855 (exit $ac_status); } &&
5856 { ac_try='test -z "$ac_c_werror_flag"
5857 || test ! -s conftest.err'
5858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5861 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5862 (exit $ac_status); }; } &&
5863 { ac_try='test -s conftest$ac_exeext'
5864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5867 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5868 (exit $ac_status); }; }; then
5869 lt_cv_cc_needs_belf=yes
5871 echo "$as_me: failed program was
:" >&5
5872 sed 's/^/| /' conftest.$ac_ext >&5
5874 lt_cv_cc_needs_belf=no
5876 rm -f conftest.err conftest.$ac_objext \
5877 conftest$ac_exeext conftest.$ac_ext
5879 ac_cpp='$CPP $CPPFLAGS'
5880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5885 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5886 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5887 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5888 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5889 CFLAGS="$SAVE_CFLAGS"
5893 # Find out which ABI we are using.
5894 echo 'int i;' > conftest.$ac_ext
5895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5896 (eval $ac_compile) 2>&5
5898 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5899 (exit $ac_status); }; then
5900 case `/usr/bin/file conftest.o` in
5902 case $lt_cv_prog_gnu_ld in
5903 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5904 *) LD="${LD-ld} -64" ;;
5913 need_locks="$enable_libtool_lock"
5916 ac_cpp='$CPP $CPPFLAGS'
5917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5920 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5921 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
5922 # On Suns, sometimes $CPP names a directory.
5923 if test -n "$CPP" && test -d "$CPP"; then
5926 if test -z "$CPP"; then
5927 if test "${ac_cv_prog_CPP+set}" = set; then
5928 echo $ECHO_N "(cached
) $ECHO_C" >&6
5930 # Double quotes because CPP needs to be expanded
5931 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5934 for ac_c_preproc_warn_flag in '' yes
5936 # Use a header file that comes with gcc, so configuring glibc
5937 # with a fresh cross-compiler works.
5938 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5939 # <limits.h> exists even on freestanding compilers.
5940 # On the NeXT, cc -E runs the code through the compiler's parser,
5941 # not just through cpp. "Syntax error
" is here to catch this case.
5942 cat >conftest.$ac_ext <<_ACEOF
5945 cat confdefs.h >>conftest.$ac_ext
5946 cat >>conftest.$ac_ext <<_ACEOF
5947 /* end confdefs.h. */
5949 # include <limits.h>
5951 # include <assert.h>
5955 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5956 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5958 grep -v '^ *+' conftest.er1 >conftest.err
5960 cat conftest.err >&5
5961 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5962 (exit $ac_status); } >/dev/null; then
5963 if test -s conftest.err; then
5964 ac_cpp_err=$ac_c_preproc_warn_flag
5965 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5972 if test -z "$ac_cpp_err"; then
5975 echo "$as_me: failed program was
:" >&5
5976 sed 's/^/| /' conftest.$ac_ext >&5
5978 # Broken: fails on valid input.
5981 rm -f conftest.err conftest.$ac_ext
5983 # OK, works on sane cases. Now check whether non-existent headers
5984 # can be detected and how.
5985 cat >conftest.$ac_ext <<_ACEOF
5988 cat confdefs.h >>conftest.$ac_ext
5989 cat >>conftest.$ac_ext <<_ACEOF
5990 /* end confdefs.h. */
5991 #include <ac_nonexistent.h>
5993 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5994 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5996 grep -v '^ *+' conftest.er1 >conftest.err
5998 cat conftest.err >&5
5999 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6000 (exit $ac_status); } >/dev/null; then
6001 if test -s conftest.err; then
6002 ac_cpp_err=$ac_c_preproc_warn_flag
6003 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6010 if test -z "$ac_cpp_err"; then
6011 # Broken: success on invalid input.
6014 echo "$as_me: failed program was
:" >&5
6015 sed 's/^/| /' conftest.$ac_ext >&5
6017 # Passes both tests.
6021 rm -f conftest.err conftest.$ac_ext
6024 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6025 rm -f conftest.err conftest.$ac_ext
6026 if $ac_preproc_ok; then
6038 echo "$as_me:$LINENO: result
: $CPP" >&5
6039 echo "${ECHO_T}$CPP" >&6
6041 for ac_c_preproc_warn_flag in '' yes
6043 # Use a header file that comes with gcc, so configuring glibc
6044 # with a fresh cross-compiler works.
6045 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6046 # <limits.h> exists even on freestanding compilers.
6047 # On the NeXT, cc -E runs the code through the compiler's parser,
6048 # not just through cpp. "Syntax error
" is here to catch this case.
6049 cat >conftest.$ac_ext <<_ACEOF
6052 cat confdefs.h >>conftest.$ac_ext
6053 cat >>conftest.$ac_ext <<_ACEOF
6054 /* end confdefs.h. */
6056 # include <limits.h>
6058 # include <assert.h>
6062 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6063 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6065 grep -v '^ *+' conftest.er1 >conftest.err
6067 cat conftest.err >&5
6068 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6069 (exit $ac_status); } >/dev/null; then
6070 if test -s conftest.err; then
6071 ac_cpp_err=$ac_c_preproc_warn_flag
6072 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6079 if test -z "$ac_cpp_err"; then
6082 echo "$as_me: failed program was
:" >&5
6083 sed 's/^/| /' conftest.$ac_ext >&5
6085 # Broken: fails on valid input.
6088 rm -f conftest.err conftest.$ac_ext
6090 # OK, works on sane cases. Now check whether non-existent headers
6091 # can be detected and how.
6092 cat >conftest.$ac_ext <<_ACEOF
6095 cat confdefs.h >>conftest.$ac_ext
6096 cat >>conftest.$ac_ext <<_ACEOF
6097 /* end confdefs.h. */
6098 #include <ac_nonexistent.h>
6100 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6101 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6103 grep -v '^ *+' conftest.er1 >conftest.err
6105 cat conftest.err >&5
6106 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6107 (exit $ac_status); } >/dev/null; then
6108 if test -s conftest.err; then
6109 ac_cpp_err=$ac_c_preproc_warn_flag
6110 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6117 if test -z "$ac_cpp_err"; then
6118 # Broken: success on invalid input.
6121 echo "$as_me: failed program was
:" >&5
6122 sed 's/^/| /' conftest.$ac_ext >&5
6124 # Passes both tests.
6128 rm -f conftest.err conftest.$ac_ext
6131 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6132 rm -f conftest.err conftest.$ac_ext
6133 if $ac_preproc_ok; then
6136 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
6137 See \
`config.log' for more details." >&5
6138 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6139 See \`config.log
' for more details." >&2;}
6140 { (exit 1); exit 1; }; }
6144 ac_cpp='$CPP $CPPFLAGS'
6145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6146 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6150 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6151 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6152 if test "${ac_cv_header_stdc+set}" = set; then
6153 echo $ECHO_N "(cached) $ECHO_C" >&6
6155 cat >conftest.$ac_ext <<_ACEOF
6158 cat confdefs.h >>conftest.$ac_ext
6159 cat >>conftest.$ac_ext <<_ACEOF
6160 /* end confdefs.h. */
6174 rm -f conftest.$ac_objext
6175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6176 (eval $ac_compile) 2>conftest.er1
6178 grep -v '^
*+' conftest.er1 >conftest.err
6180 cat conftest.err >&5
6181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182 (exit $ac_status); } &&
6183 { ac_try='test -z "$ac_c_werror_flag"
6184 ||
test ! -s conftest.err
'
6185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); }; } &&
6190 { ac_try='test -s conftest.
$ac_objext'
6191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); }; }; then
6196 ac_cv_header_stdc=yes
6198 echo "$as_me: failed program was:" >&5
6199 sed 's
/^
/|
/' conftest.$ac_ext >&5
6201 ac_cv_header_stdc=no
6203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6205 if test $ac_cv_header_stdc = yes; then
6206 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6207 cat >conftest.$ac_ext <<_ACEOF
6210 cat confdefs.h >>conftest.$ac_ext
6211 cat >>conftest.$ac_ext <<_ACEOF
6212 /* end confdefs.h. */
6216 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6217 $EGREP "memchr" >/dev/null 2>&1; then
6220 ac_cv_header_stdc=no
6226 if test $ac_cv_header_stdc = yes; then
6227 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6228 cat >conftest.$ac_ext <<_ACEOF
6231 cat confdefs.h >>conftest.$ac_ext
6232 cat >>conftest.$ac_ext <<_ACEOF
6233 /* end confdefs.h. */
6237 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6238 $EGREP "free" >/dev/null 2>&1; then
6241 ac_cv_header_stdc=no
6247 if test $ac_cv_header_stdc = yes; then
6248 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6249 if test "$cross_compiling" = yes; then
6252 cat >conftest.$ac_ext <<_ACEOF
6255 cat confdefs.h >>conftest.$ac_ext
6256 cat >>conftest.$ac_ext <<_ACEOF
6257 /* end confdefs.h. */
6259 #if ((' ' & 0x0FF) == 0x020)
6260 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
6261 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
6263 # define ISLOWER(c) \
6264 (('a
' <= (c) && (c) <= 'i
') \
6265 || ('j
' <= (c) && (c) <= 'r
') \
6266 || ('s
' <= (c) && (c) <= 'z
'))
6267 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6270 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6275 for (i = 0; i < 256; i++)
6276 if (XOR (islower (i), ISLOWER (i))
6277 || toupper (i) != TOUPPER (i))
6282 rm -f conftest$ac_exeext
6283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6284 (eval $ac_link) 2>&5
6286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6287 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
6288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6292 (exit $ac_status); }; }; then
6295 echo "$as_me: program exited with status $ac_status" >&5
6296 echo "$as_me: failed program was:" >&5
6297 sed 's
/^
/|
/' conftest.$ac_ext >&5
6300 ac_cv_header_stdc=no
6302 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6306 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6307 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6308 if test $ac_cv_header_stdc = yes; then
6310 cat >>confdefs.h <<\_ACEOF
6311 #define STDC_HEADERS 1
6316 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6326 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6327 inttypes.h stdint.h unistd.h
6329 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6330 echo "$as_me:$LINENO: checking for $ac_header" >&5
6331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6333 echo $ECHO_N "(cached) $ECHO_C" >&6
6335 cat >conftest.$ac_ext <<_ACEOF
6338 cat confdefs.h >>conftest.$ac_ext
6339 cat >>conftest.$ac_ext <<_ACEOF
6340 /* end confdefs.h. */
6341 $ac_includes_default
6343 #include <$ac_header>
6345 rm -f conftest.$ac_objext
6346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6347 (eval $ac_compile) 2>conftest.er1
6349 grep -v '^
*+' conftest.er1 >conftest.err
6351 cat conftest.err >&5
6352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6353 (exit $ac_status); } &&
6354 { ac_try='test -z "$ac_c_werror_flag"
6355 ||
test ! -s conftest.err
'
6356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360 (exit $ac_status); }; } &&
6361 { ac_try='test -s conftest.
$ac_objext'
6362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6366 (exit $ac_status); }; }; then
6367 eval "$as_ac_Header=yes"
6369 echo "$as_me: failed program was:" >&5
6370 sed 's
/^
/|
/' conftest.$ac_ext >&5
6372 eval "$as_ac_Header=no"
6374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6378 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6379 cat >>confdefs.h <<_ACEOF
6380 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6389 for ac_header in dlfcn.h
6391 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6392 echo "$as_me:$LINENO: checking for $ac_header" >&5
6393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6395 echo $ECHO_N "(cached) $ECHO_C" >&6
6397 cat >conftest.$ac_ext <<_ACEOF
6400 cat confdefs.h >>conftest.$ac_ext
6401 cat >>conftest.$ac_ext <<_ACEOF
6402 /* end confdefs.h. */
6403 $ac_includes_default
6405 #include <$ac_header>
6407 rm -f conftest.$ac_objext
6408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6409 (eval $ac_compile) 2>conftest.er1
6411 grep -v '^
*+' conftest.er1 >conftest.err
6413 cat conftest.err >&5
6414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6415 (exit $ac_status); } &&
6416 { ac_try='test -z "$ac_c_werror_flag"
6417 ||
test ! -s conftest.err
'
6418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6422 (exit $ac_status); }; } &&
6423 { ac_try='test -s conftest.
$ac_objext'
6424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 (exit $ac_status); }; }; then
6429 eval "$as_ac_Header=yes"
6431 echo "$as_me: failed program was:" >&5
6432 sed 's
/^
/|
/' conftest.$ac_ext >&5
6434 eval "$as_ac_Header=no"
6436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6439 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6440 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6441 cat >>confdefs.h <<_ACEOF
6442 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6451 # This can be used to rebuild libtool when needed
6452 LIBTOOL_DEPS="$ltmain"
6454 # Always use our own libtool.
6455 LIBTOOL='$
(SHELL
) $
(top_builddir
)/libtool
'
6481 test -z "$LN_S" && LN_S="ln -s"
6496 if test -n "${ZSH_VERSION+set}" ; then
6497 setopt NO_GLOB_SUBST
6500 echo "$as_me:$LINENO: checking for objdir" >&5
6501 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6502 if test "${lt_cv_objdir+set}" = set; then
6503 echo $ECHO_N "(cached) $ECHO_C" >&6
6505 rm -f .libs 2>/dev/null
6506 mkdir .libs 2>/dev/null
6507 if test -d .libs; then
6510 # MS-DOS does not allow filenames that begin with a dot.
6513 rmdir .libs 2>/dev/null
6515 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6516 echo "${ECHO_T}$lt_cv_objdir" >&6
6517 objdir=$lt_cv_objdir
6523 cat >>confdefs.h <<_ACEOF
6524 #define LT_OBJDIR "$lt_cv_objdir/"
6545 # AIX sometimes has problems with the GCC collect2 program. For some
6546 # reason, if we set the COLLECT_NAMES environment variable, the problems
6547 # vanish in a puff of smoke.
6548 if test "X${COLLECT_NAMES+set}" != Xset; then
6550 export COLLECT_NAMES
6555 # Sed substitution that helps us do robust quoting. It backslashifies
6556 # metacharacters that are still active within double-quoted strings.
6557 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
6559 # Same as above, but do not quote variable references.
6560 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6562 # Sed substitution to delay expansion of an escaped shell variable in a
6563 # double_quote_subst'ed string.
6564 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6566 # Sed substitution to delay expansion of an escaped single quote.
6567 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6569 # Sed substitution to avoid accidental globbing in evaled expressions
6570 no_glob_subst='s/\*/\\\*/g'
6574 can_build_shared=yes
6576 # All known linkers require a `.a
' archive for static linking (except MSVC,
6577 # which needs '.lib
').
6580 with_gnu_ld="$lt_cv_prog_gnu_ld"
6583 old_CFLAGS="$CFLAGS"
6585 # Set sane defaults for various variables
6586 test -z "$CC" && CC=cc
6587 test -z "$LTCC" && LTCC=$CC
6588 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6589 test -z "$LD" && LD=ld
6590 test -z "$ac_objext" && ac_objext=o
6592 for cc_temp in $compiler""; do
6594 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6595 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6600 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
6603 # Only perform the check for file, if the check method requires it
6604 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6605 case $deplibs_check_method in
6607 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6608 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6609 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6610 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6611 echo $ECHO_N "(cached) $ECHO_C" >&6
6615 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6618 lt_save_MAGIC_CMD="$MAGIC_CMD"
6619 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6620 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6621 for ac_dir in $ac_dummy; do
6623 test -z "$ac_dir" && ac_dir=.
6624 if test -f $ac_dir/${ac_tool_prefix}file; then
6625 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6626 if test -n "$file_magic_test_file"; then
6627 case $deplibs_check_method in
6629 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6630 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6631 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6632 $EGREP "$file_magic_regex" > /dev/null; then
6637 *** Warning: the command libtool uses to detect shared libraries,
6638 *** $file_magic_cmd, produces output that libtool cannot recognize.
6639 *** The result is that libtool may fail to recognize shared libraries
6640 *** as such. This will affect the creation of libtool libraries that
6641 *** depend on shared libraries, but programs linked with such libtool
6642 *** libraries will work regardless of this problem. Nevertheless, you
6643 *** may want to report the problem to your system manager and/or to
6644 *** bug-libtool@gnu.org
6654 MAGIC_CMD="$lt_save_MAGIC_CMD"
6659 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6660 if test -n "$MAGIC_CMD"; then
6661 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6662 echo "${ECHO_T}$MAGIC_CMD" >&6
6664 echo "$as_me:$LINENO: result: no" >&5
6665 echo "${ECHO_T}no" >&6
6672 if test -z "$lt_cv_path_MAGIC_CMD"; then
6673 if test -n "$ac_tool_prefix"; then
6674 echo "$as_me:$LINENO: checking for file" >&5
6675 echo $ECHO_N "checking for file... $ECHO_C" >&6
6676 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6677 echo $ECHO_N "(cached) $ECHO_C" >&6
6681 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6684 lt_save_MAGIC_CMD="$MAGIC_CMD"
6685 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6686 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6687 for ac_dir in $ac_dummy; do
6689 test -z "$ac_dir" && ac_dir=.
6690 if test -f $ac_dir/file; then
6691 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6692 if test -n "$file_magic_test_file"; then
6693 case $deplibs_check_method in
6695 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6696 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6697 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6698 $EGREP "$file_magic_regex" > /dev/null; then
6703 *** Warning: the command libtool uses to detect shared libraries,
6704 *** $file_magic_cmd, produces output that libtool cannot recognize.
6705 *** The result is that libtool may fail to recognize shared libraries
6706 *** as such. This will affect the creation of libtool libraries that
6707 *** depend on shared libraries, but programs linked with such libtool
6708 *** libraries will work regardless of this problem. Nevertheless, you
6709 *** may want to report the problem to your system manager and/or to
6710 *** bug-libtool@gnu.org
6720 MAGIC_CMD="$lt_save_MAGIC_CMD"
6725 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6726 if test -n "$MAGIC_CMD"; then
6727 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6728 echo "${ECHO_T}$MAGIC_CMD" >&6
6730 echo "$as_me:$LINENO: result: no" >&5
6731 echo "${ECHO_T}no" >&6
6744 # Use C for the default configuration in the libtool script
6748 ac_cpp='$CPP $CPPFLAGS'
6749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6750 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6754 # Source file extension for C test sources.
6757 # Object file extension for compiled C test sources.
6761 # Code to be used in simple compile tests
6762 lt_simple_compile_test_code="int some_variable = 0;"
6764 # Code to be used in simple link tests
6765 lt_simple_link_test_code='int main
(){return(0);}'
6773 # If no C compiler was specified, use CC.
6776 # If no C compiler flags were specified, use CFLAGS.
6777 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6779 # Allow CC to be a program name with arguments.
6782 # Save the default compiler, since it gets overwritten when the other
6783 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6784 compiler_DEFAULT=$CC
6786 # save warnings/boilerplate of simple test code
6787 ac_outfile=conftest.$ac_objext
6788 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6789 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6790 _lt_compiler_boilerplate=`cat conftest.err`
6793 ac_outfile=conftest.$ac_objext
6794 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6795 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6796 _lt_linker_boilerplate=`cat conftest.err`
6801 ## There is no encapsulation within the following macros, do not change
6802 ## the running order or otherwise move them around unless you know exactly
6803 ## what you are doing...
6804 if test -n "$compiler"; then
6806 lt_prog_compiler_no_builtin_flag=
6808 if test "$GCC" = yes; then
6809 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6811 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6812 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6813 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6814 echo $ECHO_N "(cached) $ECHO_C" >&6
6816 lt_cv_prog_compiler_rtti_exceptions=no
6817 ac_outfile=conftest.$ac_objext
6818 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6819 lt_compiler_flag="-fno-rtti -fno-exceptions"
6820 # Insert the option either (1) after the last *FLAGS variable, or
6821 # (2) before a word containing "conftest.", or (3) at the end.
6822 # Note that $ac_compile itself does not contain backslashes and begins
6823 # with a dollar sign (not a hyphen), so the echo should work correctly.
6824 # The option is referenced via a variable to avoid confusing sed.
6825 lt_compile=`echo "$ac_compile" | $SED \
6826 -e 's
:.
*FLAGS
}\
{0,1\
} :&$lt_compiler_flag :; t
' \
6827 -e 's
: [^
]*conftest\.
: $lt_compiler_flag&:; t
' \
6828 -e 's
:$
: $lt_compiler_flag:'`
6829 (eval echo "\"\$as_me:6829: $lt_compile\"" >&5)
6830 (eval "$lt_compile" 2>conftest.err)
6832 cat conftest.err >&5
6833 echo "$as_me:6833: \$? = $ac_status" >&5
6834 if (exit $ac_status) && test -s "$ac_outfile"; then
6835 # The compiler can only warn and ignore the option if not recognized
6836 # So say no if there are warnings other than the usual output.
6837 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$
/d
' >conftest.exp
6838 $SED '/^$
/d
; /^
*+/d
' conftest.err >conftest.er2
6839 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6840 lt_cv_prog_compiler_rtti_exceptions=yes
6846 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6847 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6849 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6850 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6862 lt_prog_compiler_wl=
6863 lt_prog_compiler_pic=
6864 lt_prog_compiler_static=
6866 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6867 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6869 if test "$GCC" = yes; then
6870 lt_prog_compiler_wl='-Wl,'
6871 lt_prog_compiler_static='-static'
6875 # All AIX code is PIC.
6876 if test "$host_cpu" = ia64; then
6877 # AIX 5 now supports IA64 processor
6878 lt_prog_compiler_static='-Bstatic'
6883 if test "$host_cpu" = m68k; then
6884 # FIXME: we need at least 68020 code to build shared libraries, but
6885 # adding the `-m68020' flag to GCC prevents building anything better
,
6887 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6891 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6892 # PIC is the default for these OSes.
6895 mingw
* | cygwin
* | pw32
* | os2
*)
6896 # This hack is so that the source file can tell whether it is being
6897 # built for inclusion in a dll (and should export symbols for example).
6898 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6899 # (--disable-auto-import) libraries
6900 lt_prog_compiler_pic
='-DDLL_EXPORT'
6903 darwin
* | rhapsody
*)
6904 # PIC is the default on this platform
6905 # Common symbols not allowed in MH_DYLIB files
6906 lt_prog_compiler_pic
='-fno-common'
6910 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6917 lt_prog_compiler_pic
='-fPIC'
6923 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6924 # Instead, we relocate shared libraries at runtime.
6928 # Just because we use GCC doesn't mean we suddenly get shared libraries
6929 # on systems that don't support them.
6930 lt_prog_compiler_can_build_shared
=no
6935 # QNX uses GNU C++, but need to define -shared option too, otherwise
6937 lt_prog_compiler_pic
='-fPIC -shared'
6941 if test -d /usr
/nec
; then
6942 lt_prog_compiler_pic
=-Kconform_pic
6947 lt_prog_compiler_pic
='-fPIC'
6951 # PORTME Check for flag to pass linker flags through the system compiler.
6954 lt_prog_compiler_wl
='-Wl,'
6955 if test "$host_cpu" = ia64
; then
6956 # AIX 5 now supports IA64 processor
6957 lt_prog_compiler_static
='-Bstatic'
6959 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6963 # PIC is the default on this platform
6964 # Common symbols not allowed in MH_DYLIB files
6965 case $cc_basename in
6967 lt_prog_compiler_pic
='-qnocommon'
6968 lt_prog_compiler_wl
='-Wl,'
6973 mingw
* | cygwin
* | pw32
* | os2
*)
6974 # This hack is so that the source file can tell whether it is being
6975 # built for inclusion in a dll (and should export symbols for example).
6976 lt_prog_compiler_pic
='-DDLL_EXPORT'
6979 hpux9
* | hpux10
* | hpux11
*)
6980 lt_prog_compiler_wl
='-Wl,'
6981 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6988 lt_prog_compiler_pic
='+Z'
6991 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6992 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6995 irix5
* | irix6
* | nonstopux
*)
6996 lt_prog_compiler_wl
='-Wl,'
6997 # PIC (with -KPIC) is the default.
6998 lt_prog_compiler_static
='-non_shared'
7001 linux
* | k
*bsd
*-gnu)
7002 case $cc_basename in
7004 lt_prog_compiler_wl
='-Wl,'
7005 lt_prog_compiler_pic
='-KPIC'
7006 lt_prog_compiler_static
='-static'
7008 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7009 # Portland Group compilers (*not* the Pentium gcc compiler,
7010 # which looks to be a dead project)
7011 lt_prog_compiler_wl
='-Wl,'
7012 lt_prog_compiler_pic
='-fpic'
7013 lt_prog_compiler_static
='-Bstatic'
7016 lt_prog_compiler_wl
='-Wl,'
7017 # All Alpha code is PIC.
7018 lt_prog_compiler_static
='-non_shared'
7021 case `$CC -V 2>&1 | sed 5q` in
7024 lt_prog_compiler_pic
='-KPIC'
7025 lt_prog_compiler_static
='-Bstatic'
7026 lt_prog_compiler_wl
='-Wl,'
7029 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7030 lt_prog_compiler_pic
='-KPIC'
7031 lt_prog_compiler_static
='-Bstatic'
7032 lt_prog_compiler_wl
=''
7040 lt_prog_compiler_pic
='-KPIC'
7041 lt_prog_compiler_static
='-Bstatic'
7045 # QNX uses GNU C++, but need to define -shared option too, otherwise
7047 lt_prog_compiler_pic
='-fPIC -shared'
7050 osf3
* | osf4
* | osf5
*)
7051 lt_prog_compiler_wl
='-Wl,'
7052 # All OSF/1 code is PIC.
7053 lt_prog_compiler_static
='-non_shared'
7057 lt_prog_compiler_static
='-non_shared'
7061 lt_prog_compiler_pic
='-KPIC'
7062 lt_prog_compiler_static
='-Bstatic'
7063 case $cc_basename in
7065 lt_prog_compiler_wl
='-Qoption ld ';;
7067 lt_prog_compiler_wl
='-Wl,';;
7072 lt_prog_compiler_wl
='-Qoption ld '
7073 lt_prog_compiler_pic
='-PIC'
7074 lt_prog_compiler_static
='-Bstatic'
7077 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7078 lt_prog_compiler_wl
='-Wl,'
7079 lt_prog_compiler_pic
='-KPIC'
7080 lt_prog_compiler_static
='-Bstatic'
7084 if test -d /usr
/nec
;then
7085 lt_prog_compiler_pic
='-Kconform_pic'
7086 lt_prog_compiler_static
='-Bstatic'
7090 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7091 lt_prog_compiler_wl
='-Wl,'
7092 lt_prog_compiler_pic
='-KPIC'
7093 lt_prog_compiler_static
='-Bstatic'
7097 lt_prog_compiler_wl
='-Wl,'
7098 lt_prog_compiler_can_build_shared
=no
7102 lt_prog_compiler_pic
='-pic'
7103 lt_prog_compiler_static
='-Bstatic'
7107 lt_prog_compiler_can_build_shared
=no
7113 # For platforms which do not support PIC, -DPIC is meaningless:
7115 lt_prog_compiler_pic
=
7118 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7121 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7122 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7130 # Check to make sure the PIC flag actually works.
7132 if test -n "$lt_prog_compiler_pic"; then
7133 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7134 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7135 if test "${lt_prog_compiler_pic_works+set}" = set; then
7136 echo $ECHO_N "(cached) $ECHO_C" >&6
7138 lt_prog_compiler_pic_works
=no
7139 ac_outfile
=conftest.
$ac_objext
7140 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7141 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7142 # Insert the option either (1) after the last *FLAGS variable, or
7143 # (2) before a word containing "conftest.", or (3) at the end.
7144 # Note that $ac_compile itself does not contain backslashes and begins
7145 # with a dollar sign (not a hyphen), so the echo should work correctly.
7146 # The option is referenced via a variable to avoid confusing sed.
7147 lt_compile
=`echo "$ac_compile" | $SED \
7148 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7149 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7150 -e 's:$: $lt_compiler_flag:'`
7151 (eval echo "\"\$as_me:7151: $lt_compile\"" >&5)
7152 (eval "$lt_compile" 2>conftest.err
)
7154 cat conftest.err
>&5
7155 echo "$as_me:7155: \$? = $ac_status" >&5
7156 if (exit $ac_status) && test -s "$ac_outfile"; then
7157 # The compiler can only warn and ignore the option if not recognized
7158 # So say no if there are warnings other than the usual output.
7159 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7160 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7161 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7162 lt_prog_compiler_pic_works
=yes
7168 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7169 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7171 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7172 case $lt_prog_compiler_pic in
7174 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7177 lt_prog_compiler_pic
=
7178 lt_prog_compiler_can_build_shared
=no
7189 # Check to make sure the static flag actually works.
7191 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7192 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7193 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7194 if test "${lt_prog_compiler_static_works+set}" = set; then
7195 echo $ECHO_N "(cached) $ECHO_C" >&6
7197 lt_prog_compiler_static_works
=no
7198 save_LDFLAGS
="$LDFLAGS"
7199 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7200 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7201 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7202 # The linker can only warn and ignore the option if not recognized
7203 # So say no if there are warnings
7204 if test -s conftest.err
; then
7205 # Append any errors to the config.log.
7206 cat conftest.err
1>&5
7207 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7208 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7209 if diff conftest.exp conftest.er2
>/dev
/null
; then
7210 lt_prog_compiler_static_works
=yes
7213 lt_prog_compiler_static_works
=yes
7217 LDFLAGS
="$save_LDFLAGS"
7220 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7221 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7223 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7226 lt_prog_compiler_static
=
7235 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7236 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7237 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7238 echo $ECHO_N "(cached) $ECHO_C" >&6
7240 lt_cv_prog_compiler_c_o
=no
7241 $RM -r conftest
2>/dev
/null
7245 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7247 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7248 # Insert the option either (1) after the last *FLAGS variable, or
7249 # (2) before a word containing "conftest.", or (3) at the end.
7250 # Note that $ac_compile itself does not contain backslashes and begins
7251 # with a dollar sign (not a hyphen), so the echo should work correctly.
7252 lt_compile
=`echo "$ac_compile" | $SED \
7253 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7254 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7255 -e 's:$: $lt_compiler_flag:'`
7256 (eval echo "\"\$as_me:7256: $lt_compile\"" >&5)
7257 (eval "$lt_compile" 2>out
/conftest.err
)
7259 cat out
/conftest.err
>&5
7260 echo "$as_me:7260: \$? = $ac_status" >&5
7261 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7263 # The compiler can only warn and ignore the option if not recognized
7264 # So say no if there are warnings
7265 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7266 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7267 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7268 lt_cv_prog_compiler_c_o
=yes
7273 # SGI C++ compiler will create directory out/ii_files/ for
7274 # template instantiation
7275 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7276 $RM out
/* && rmdir out
7282 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7283 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7290 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7291 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7292 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7293 echo $ECHO_N "(cached) $ECHO_C" >&6
7295 lt_cv_prog_compiler_c_o
=no
7296 $RM -r conftest
2>/dev
/null
7300 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7302 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7303 # Insert the option either (1) after the last *FLAGS variable, or
7304 # (2) before a word containing "conftest.", or (3) at the end.
7305 # Note that $ac_compile itself does not contain backslashes and begins
7306 # with a dollar sign (not a hyphen), so the echo should work correctly.
7307 lt_compile
=`echo "$ac_compile" | $SED \
7308 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7309 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7310 -e 's:$: $lt_compiler_flag:'`
7311 (eval echo "\"\$as_me:7311: $lt_compile\"" >&5)
7312 (eval "$lt_compile" 2>out
/conftest.err
)
7314 cat out
/conftest.err
>&5
7315 echo "$as_me:7315: \$? = $ac_status" >&5
7316 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7318 # The compiler can only warn and ignore the option if not recognized
7319 # So say no if there are warnings
7320 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7321 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7322 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7323 lt_cv_prog_compiler_c_o
=yes
7328 # SGI C++ compiler will create directory out/ii_files/ for
7329 # template instantiation
7330 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7331 $RM out
/* && rmdir out
7337 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7338 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7343 hard_links
="nottested"
7344 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7345 # do not overwrite the value of need_locks provided by the user
7346 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7347 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7350 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7352 ln conftest.a conftest.b
2>&5 || hard_links
=no
7353 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7354 echo "$as_me:$LINENO: result: $hard_links" >&5
7355 echo "${ECHO_T}$hard_links" >&6
7356 if test "$hard_links" = no
; then
7357 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7358 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7370 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7371 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7374 allow_undefined_flag
=
7375 always_export_symbols
=no
7377 archive_expsym_cmds
=
7378 compiler_needs_object
=no
7379 enable_shared_with_static_runtimes
=no
7380 export_dynamic_flag_spec
=
7381 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7382 hardcode_automatic
=no
7384 hardcode_direct_absolute
=no
7385 hardcode_libdir_flag_spec
=
7386 hardcode_libdir_flag_spec_ld
=
7387 hardcode_libdir_separator
=
7389 hardcode_shlibpath_var
=unsupported
7391 link_all_deplibs
=unknown
7394 old_archive_from_new_cmds
=
7395 old_archive_from_expsyms_cmds
=
7396 thread_safe_flag_spec
=
7397 whole_archive_flag_spec
=
7398 # include_expsyms should be a list of space-separated symbols to be *always*
7399 # included in the symbol list
7401 # exclude_expsyms can be an extended regexp of symbols to exclude
7402 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7403 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7404 # as well as any symbol that contains `d'.
7405 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7406 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7407 # platforms (ab)use it in PIC code, but their linkers get confused if
7408 # the symbol is explicitly referenced. Since portable code cannot
7409 # rely on this symbol name, it's probably fine to never include it in
7410 # preloaded symbol tables.
7411 extract_expsyms_cmds
=
7414 cygwin
* | mingw
* | pw32
*)
7415 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7416 # When not using gcc, we currently assume that we are using
7417 # Microsoft Visual C++.
7418 if test "$GCC" != yes; then
7423 # we just hope/assume this is gcc and not c89 (= MSVC++)
7432 if test "$with_gnu_ld" = yes; then
7433 # If archive_cmds runs LD, not CC, wlarc should be empty
7436 # Set some defaults for GNU ld with shared library support. These
7437 # are reset later if shared libraries are not supported. Putting them
7438 # here allows them to be overridden if necessary.
7439 runpath_var
=LD_RUN_PATH
7440 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7441 export_dynamic_flag_spec
='${wl}--export-dynamic'
7442 # ancient GNU ld didn't support --whole-archive et. al.
7443 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7444 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7446 whole_archive_flag_spec
=
7448 supports_anon_versioning
=no
7449 case `$LD -v 2>&1` in
7450 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7451 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7452 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7453 *\
2.11.
*) ;; # other 2.11 versions
7454 *) supports_anon_versioning
=yes ;;
7457 # See if GNU ld supports shared libraries.
7459 aix3
* | aix4
* | aix5
*)
7460 # On AIX/PPC, the GNU linker is very broken
7461 if test "$host_cpu" != ia64
; then
7465 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7466 *** to be unable to reliably create shared libraries on AIX.
7467 *** Therefore, libtool is disabling shared libraries support. If you
7468 *** really care for shared libraries, you may want to modify your PATH
7469 *** so that a non-GNU linker is found, and then restart.
7476 if test "$host_cpu" = m68k
; then
7477 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)'
7478 hardcode_libdir_flag_spec
='-L$libdir'
7479 hardcode_minus_L
=yes
7482 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7483 # that the semantics of dynamic libraries on AmigaOS, at least up
7484 # to version 4, is to share data among multiple programs linked
7485 # with the same dynamic library. Since this doesn't match the
7486 # behavior of shared libraries on other platforms, we can't use
7492 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7493 allow_undefined_flag
=unsupported
7494 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7495 # support --undefined. This deserves some investigation. FIXME
7496 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7502 cygwin
* | mingw
* | pw32
*)
7503 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7504 # as there is no search path for DLLs.
7505 hardcode_libdir_flag_spec
='-L$libdir'
7506 allow_undefined_flag
=unsupported
7507 always_export_symbols
=no
7508 enable_shared_with_static_runtimes
=yes
7509 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7511 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7512 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7513 # If the export-symbols file already is a .def file (1st line
7514 # is EXPORTS), use it as is; otherwise, prepend...
7515 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7516 cp $export_symbols $output_objdir/$soname.def;
7518 echo EXPORTS > $output_objdir/$soname.def;
7519 cat $export_symbols >> $output_objdir/$soname.def;
7521 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7529 hardcode_shlibpath_var
=no
7530 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7531 export_dynamic_flag_spec
='${wl}-E'
7532 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7533 # Instead, shared libraries are loaded at an image base (0x10000000 by
7534 # default) and relocated if they conflict, which is a slow very memory
7535 # consuming and fragmenting process. To avoid this, we pick a random,
7536 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7537 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7538 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7539 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'
7542 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7544 if test "$host_os" = linux-dietlibc
; then
7545 case $cc_basename in
7546 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7549 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7550 && test "$tmp_diet" = no
7553 case $cc_basename,$host_cpu in
7554 pgcc
*) # Portland Group C compiler
7555 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'
7556 tmp_addflag
=' $pic_flag'
7558 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7559 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'
7560 tmp_addflag
=' $pic_flag -Mnomain' ;;
7561 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7562 tmp_addflag
=' -i_dynamic' ;;
7563 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7564 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7565 ifc
* | ifort
*) # Intel Fortran compiler
7566 tmp_addflag
=' -nofor_main' ;;
7568 case `$CC -V 2>&1 | sed 5q` in
7569 *Sun\ C
*) # Sun C 5.9
7570 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'
7571 compiler_needs_object
=yes
7572 tmp_sharedflag
='-G' ;;
7573 *Sun\ F
*) # Sun Fortran 8.3
7574 tmp_sharedflag
='-G' ;;
7576 tmp_sharedflag
='-shared' ;;
7578 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7580 if test "x$supports_anon_versioning" = xyes
; then
7581 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7582 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7583 echo "local: *; };" >> $output_objdir/$libname.ver~
7584 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7592 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7593 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7596 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7597 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7602 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7606 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7607 *** create shared libraries on Solaris systems. Therefore, libtool
7608 *** is disabling shared libraries support. We urge you to upgrade GNU
7609 *** binutils to release 2.9.1 or newer. Another option is to modify
7610 *** your PATH or compiler configuration so that the native linker is
7611 *** used, and then restart.
7614 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7615 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7616 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7622 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7623 case `$LD -v 2>&1` in
7624 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7628 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7629 *** reliably create shared libraries on SCO systems. Therefore, libtool
7630 *** is disabling shared libraries support. We urge you to upgrade GNU
7631 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7632 *** your PATH or compiler configuration so that the native linker is
7633 *** used, and then restart.
7638 # For security reasons, it is highly recommended that you always
7639 # use absolute paths for naming shared libraries, and exclude the
7640 # DT_RUNPATH tag from executables and libraries. But doing so
7641 # requires that you compile everything twice, which is a pain.
7642 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7643 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7644 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7645 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7654 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7657 hardcode_shlibpath_var
=no
7661 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7662 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7663 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7670 if test "$ld_shlibs" = no
; then
7672 hardcode_libdir_flag_spec
=
7673 export_dynamic_flag_spec
=
7674 whole_archive_flag_spec
=
7677 # PORTME fill in a description of your system's linker (not GNU ld)
7680 allow_undefined_flag
=unsupported
7681 always_export_symbols
=yes
7682 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'
7683 # Note: this linker hardcodes the directories in LIBPATH if there
7684 # are no directories specified by -L.
7685 hardcode_minus_L
=yes
7686 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7687 # Neither direct hardcoding nor static linking is supported with a
7689 hardcode_direct
=unsupported
7694 if test "$host_cpu" = ia64
; then
7695 # On IA64, the linker does run time linking by default, so we don't
7696 # have to do anything special.
7697 aix_use_runtimelinking
=no
7698 exp_sym_flag
='-Bexport'
7701 # If we're using GNU nm, then we don't want the "-C" option.
7702 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7703 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7704 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'
7706 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'
7708 aix_use_runtimelinking
=no
7710 # Test if we are trying to use run time linking or normal
7711 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7712 # need to do runtime linking.
7713 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7714 for ld_flag
in $LDFLAGS; do
7715 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7716 aix_use_runtimelinking
=yes
7723 exp_sym_flag
='-bexport'
7724 no_entry_flag
='-bnoentry'
7727 # When large executables or shared objects are built, AIX ld can
7728 # have problems creating the table of contents. If linking a library
7729 # or program results in "error TOC overflow" add -mminimal-toc to
7730 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7731 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7735 hardcode_direct_absolute
=yes
7736 hardcode_libdir_separator
=':'
7737 link_all_deplibs
=yes
7738 file_list_spec
='${wl}-f,'
7740 if test "$GCC" = yes; then
7741 case $host_os in aix4.
[012]|aix4.
[012].
*)
7742 # We only want to do this on AIX 4.2 and lower, the check
7743 # below for broken collect2 doesn't work under 4.3+
7744 collect2name
=`${CC} -print-prog-name=collect2`
7745 if test -f "$collect2name" &&
7746 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7748 # We have reworked collect2
7751 # We have old collect2
7752 hardcode_direct
=unsupported
7753 # It fails to find uninstalled libraries when the uninstalled
7754 # path is not listed in the libpath. Setting hardcode_minus_L
7755 # to unsupported forces relinking
7756 hardcode_minus_L
=yes
7757 hardcode_libdir_flag_spec
='-L$libdir'
7758 hardcode_libdir_separator
=
7762 shared_flag
='-shared'
7763 if test "$aix_use_runtimelinking" = yes; then
7764 shared_flag
="$shared_flag "'${wl}-G'
7768 if test "$host_cpu" = ia64
; then
7769 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7770 # chokes on -Wl,-G. The following line is correct:
7773 if test "$aix_use_runtimelinking" = yes; then
7774 shared_flag
='${wl}-G'
7776 shared_flag
='${wl}-bM:SRE'
7781 # It seems that -bexpall does not export symbols beginning with
7782 # underscore (_), so it is better to generate a list of symbols to export.
7783 always_export_symbols
=yes
7784 if test "$aix_use_runtimelinking" = yes; then
7785 # Warning - without using the other runtime loading flags (-brtl),
7786 # -berok will link without error, but may produce a broken library.
7787 allow_undefined_flag
='-berok'
7788 # Determine the default libpath from the value encoded in an
7790 cat >conftest.
$ac_ext <<_ACEOF
7793 cat confdefs.h
>>conftest.
$ac_ext
7794 cat >>conftest.
$ac_ext <<_ACEOF
7795 /* end confdefs.h. */
7805 rm -f conftest.
$ac_objext conftest
$ac_exeext
7806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7807 (eval $ac_link) 2>conftest.er1
7809 grep -v '^ *+' conftest.er1
>conftest.err
7811 cat conftest.err
>&5
7812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7813 (exit $ac_status); } &&
7814 { ac_try
='test -z "$ac_c_werror_flag"
7815 || test ! -s conftest.err'
7816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820 (exit $ac_status); }; } &&
7821 { ac_try
='test -s conftest$ac_exeext'
7822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); }; }; then
7828 lt_aix_libpath_sed
='
7829 /Import File Strings/,/^$/ {
7835 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7836 # Check for a 64-bit object if we didn't find anything.
7837 if test -z "$aix_libpath"; then
7838 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7841 echo "$as_me: failed program was:" >&5
7842 sed 's/^/| /' conftest.
$ac_ext >&5
7845 rm -f conftest.err conftest.
$ac_objext \
7846 conftest
$ac_exeext conftest.
$ac_ext
7847 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7849 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7850 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"
7852 if test "$host_cpu" = ia64
; then
7853 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7854 allow_undefined_flag
="-z nodefs"
7855 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"
7857 # Determine the default libpath from the value encoded in an
7859 cat >conftest.
$ac_ext <<_ACEOF
7862 cat confdefs.h
>>conftest.
$ac_ext
7863 cat >>conftest.
$ac_ext <<_ACEOF
7864 /* end confdefs.h. */
7874 rm -f conftest.
$ac_objext conftest
$ac_exeext
7875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7876 (eval $ac_link) 2>conftest.er1
7878 grep -v '^ *+' conftest.er1
>conftest.err
7880 cat conftest.err
>&5
7881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7882 (exit $ac_status); } &&
7883 { ac_try
='test -z "$ac_c_werror_flag"
7884 || test ! -s conftest.err'
7885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7889 (exit $ac_status); }; } &&
7890 { ac_try
='test -s conftest$ac_exeext'
7891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); }; }; then
7897 lt_aix_libpath_sed
='
7898 /Import File Strings/,/^$/ {
7904 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7905 # Check for a 64-bit object if we didn't find anything.
7906 if test -z "$aix_libpath"; then
7907 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7910 echo "$as_me: failed program was:" >&5
7911 sed 's/^/| /' conftest.
$ac_ext >&5
7914 rm -f conftest.err conftest.
$ac_objext \
7915 conftest
$ac_exeext conftest.
$ac_ext
7916 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7918 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7919 # Warning - without using the other run time loading flags,
7920 # -berok will link without error, but may produce a broken library.
7921 no_undefined_flag
=' ${wl}-bernotok'
7922 allow_undefined_flag
=' ${wl}-berok'
7923 # Exported symbols can be pulled into shared objects from archives
7924 whole_archive_flag_spec
='$convenience'
7925 archive_cmds_need_lc
=yes
7926 # This is similar to how AIX traditionally builds its shared libraries.
7927 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'
7933 if test "$host_cpu" = m68k
; then
7934 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)'
7935 hardcode_libdir_flag_spec
='-L$libdir'
7936 hardcode_minus_L
=yes
7938 # see comment about different semantics on the GNU ld section
7943 export_dynamic_flag_spec
=-rdynamic
7946 cygwin
* | mingw
* | pw32
*)
7947 # When not using gcc, we currently assume that we are using
7948 # Microsoft Visual C++.
7949 # hardcode_libdir_flag_spec is actually meaningless, as there is
7950 # no search path for DLLs.
7951 hardcode_libdir_flag_spec
=' '
7952 allow_undefined_flag
=unsupported
7953 # Tell ltmain to make .lib files, not .a files.
7955 # Tell ltmain to make .dll files, not .so files.
7957 # FIXME: Setting linknames here is a bad hack.
7958 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7959 # The linker will automatically build a .lib file if we build a DLL.
7960 old_archive_from_new_cmds
='true'
7961 # FIXME: Should let the user specify the lib program.
7962 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7963 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7964 enable_shared_with_static_runtimes
=yes
7967 darwin
* | rhapsody
*)
7969 rhapsody
* | darwin1.
[012])
7970 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7973 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7975 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7978 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7983 archive_cmds_need_lc
=no
7985 hardcode_automatic
=yes
7986 hardcode_shlibpath_var
=unsupported
7987 whole_archive_flag_spec
=''
7988 link_all_deplibs
=yes
7989 if test "$GCC" = yes ; then
7990 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7991 echo $ECHO_N "(cached) $ECHO_C" >&6
7993 lt_cv_apple_cc_single_mod
=no
7994 if test -z "${LT_MULTI_MODULE}"; then
7995 # By default we will add the -single_module flag. You can override
7996 # by either setting the environment variable LT_MULTI_MODULE
7997 # non-empty at configure time, or by adding -multi-module to the
7999 echo "int foo(void){return 1;}" > conftest.c
8000 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8001 -dynamiclib ${wl}-single_module conftest.c
8002 if test -f libconftest.dylib
; then
8003 lt_cv_apple_cc_single_mod
=yes
8004 rm libconftest.dylib
8010 output_verbose_link_cmd
=echo
8011 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
8012 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8013 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}'
8015 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8016 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}'
8018 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8019 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}'
8021 case $cc_basename in
8023 output_verbose_link_cmd
=echo
8024 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8025 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8026 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8027 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}'
8028 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}'
8038 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8039 hardcode_libdir_flag_spec
='-L$libdir'
8040 hardcode_shlibpath_var
=no
8047 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8048 # support. Future versions do this automatically, but an explicit c++rt0.o
8049 # does not break anything, and helps significantly (at the cost of a little
8052 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8053 hardcode_libdir_flag_spec
='-R$libdir'
8055 hardcode_shlibpath_var
=no
8058 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8060 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8062 hardcode_minus_L
=yes
8063 hardcode_shlibpath_var
=no
8066 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8067 freebsd
* | dragonfly
*)
8068 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8069 hardcode_libdir_flag_spec
='-R$libdir'
8071 hardcode_shlibpath_var
=no
8075 if test "$GCC" = yes; then
8076 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'
8078 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'
8080 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8081 hardcode_libdir_separator
=:
8084 # hardcode_minus_L: Not really in the search PATH,
8085 # but as the default location of the library.
8086 hardcode_minus_L
=yes
8087 export_dynamic_flag_spec
='${wl}-E'
8091 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8092 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8094 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8096 if test "$with_gnu_ld" = no
; then
8097 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8098 hardcode_libdir_flag_spec_ld
='+b $libdir'
8099 hardcode_libdir_separator
=:
8101 hardcode_direct_absolute
=yes
8102 export_dynamic_flag_spec
='${wl}-E'
8103 # hardcode_minus_L: Not really in the search PATH,
8104 # but as the default location of the library.
8105 hardcode_minus_L
=yes
8110 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8113 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8116 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8119 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8125 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8128 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8131 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8135 if test "$with_gnu_ld" = no
; then
8136 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8137 hardcode_libdir_separator
=:
8142 hardcode_shlibpath_var
=no
8146 hardcode_direct_absolute
=yes
8147 export_dynamic_flag_spec
='${wl}-E'
8149 # hardcode_minus_L: Not really in the search PATH,
8150 # but as the default location of the library.
8151 hardcode_minus_L
=yes
8157 irix5
* | irix6
* | nonstopux
*)
8158 if test "$GCC" = yes; then
8159 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'
8160 # Try to use the -exported_symbol ld option, if it does not
8161 # work, assume that -exports_file does not work either and
8162 # implicitly export all symbols.
8163 save_LDFLAGS
="$LDFLAGS"
8164 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8165 cat >conftest.
$ac_ext <<_ACEOF
8168 rm -f conftest.
$ac_objext conftest
$ac_exeext
8169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8170 (eval $ac_link) 2>conftest.er1
8172 grep -v '^ *+' conftest.er1
>conftest.err
8174 cat conftest.err
>&5
8175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8176 (exit $ac_status); } &&
8177 { ac_try
='test -z "$ac_c_werror_flag"
8178 || test ! -s conftest.err'
8179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8183 (exit $ac_status); }; } &&
8184 { ac_try
='test -s conftest$ac_exeext'
8185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189 (exit $ac_status); }; }; then
8190 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'
8193 echo "$as_me: failed program was:" >&5
8194 sed 's/^/| /' conftest.
$ac_ext >&5
8197 rm -f conftest.err conftest.
$ac_objext \
8198 conftest
$ac_exeext conftest.
$ac_ext
8199 LDFLAGS
="$save_LDFLAGS"
8201 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'
8202 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'
8204 archive_cmds_need_lc
='no'
8205 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8206 hardcode_libdir_separator
=:
8208 link_all_deplibs
=yes
8212 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8213 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8215 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8217 hardcode_libdir_flag_spec
='-R$libdir'
8219 hardcode_shlibpath_var
=no
8223 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8225 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8226 hardcode_libdir_separator
=:
8227 hardcode_shlibpath_var
=no
8235 hardcode_shlibpath_var
=no
8236 hardcode_direct_absolute
=yes
8237 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8238 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8239 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8240 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8241 export_dynamic_flag_spec
='${wl}-E'
8244 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8245 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8246 hardcode_libdir_flag_spec
='-R$libdir'
8249 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8250 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8257 hardcode_libdir_flag_spec
='-L$libdir'
8258 hardcode_minus_L
=yes
8259 allow_undefined_flag
=unsupported
8260 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'
8261 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8265 if test "$GCC" = yes; then
8266 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8267 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'
8269 allow_undefined_flag
=' -expect_unresolved \*'
8270 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'
8272 archive_cmds_need_lc
='no'
8273 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8274 hardcode_libdir_separator
=:
8277 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8278 if test "$GCC" = yes; then
8279 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8280 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-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'
8281 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8283 allow_undefined_flag
=' -expect_unresolved \*'
8284 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'
8285 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~
8286 $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'
8288 # Both c and cxx compiler support -rpath directly
8289 hardcode_libdir_flag_spec
='-rpath $libdir'
8291 archive_cmds_need_lc
='no'
8292 hardcode_libdir_separator
=:
8296 no_undefined_flag
=' -z defs'
8297 if test "$GCC" = yes; then
8299 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8300 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8301 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8303 case `$CC -V 2>&1` in
8306 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8307 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8308 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8312 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8313 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8314 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8318 hardcode_libdir_flag_spec
='-R$libdir'
8319 hardcode_shlibpath_var
=no
8321 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8323 # The compiler driver will combine and reorder linker options,
8324 # but understands `-z linker_flag'. GCC discards it without `$wl',
8325 # but is careful enough not to reorder.
8326 # Supported since Solaris 2.6 (maybe 2.5.1?)
8327 if test "$GCC" = yes; then
8328 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8330 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8334 link_all_deplibs
=yes
8338 if test "x$host_vendor" = xsequent
; then
8339 # Use $CC to link under sequent, because it throws in some extra .o
8340 # files that make .init and .fini sections work.
8341 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8343 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8345 hardcode_libdir_flag_spec
='-L$libdir'
8347 hardcode_minus_L
=yes
8348 hardcode_shlibpath_var
=no
8352 case $host_vendor in
8354 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8355 hardcode_direct
=yes # is this really true???
8358 ## LD is ld it makes a PLAMLIB
8359 ## CC just makes a GrossModule.
8360 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8361 reload_cmds
='$CC -r -o $output$reload_objs'
8365 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8366 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8369 runpath_var
='LD_RUN_PATH'
8370 hardcode_shlibpath_var
=no
8374 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8375 hardcode_shlibpath_var
=no
8376 export_dynamic_flag_spec
='-Bexport'
8380 if test -d /usr
/nec
; then
8381 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8382 hardcode_shlibpath_var
=no
8383 runpath_var
=LD_RUN_PATH
8384 hardcode_runpath_var
=yes
8389 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8390 no_undefined_flag
='${wl}-z,text'
8391 archive_cmds_need_lc
=no
8392 hardcode_shlibpath_var
=no
8393 runpath_var
='LD_RUN_PATH'
8395 if test "$GCC" = yes; then
8396 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8397 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8399 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8400 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8404 sysv5
* | sco3.2v5
* | sco5v6
*)
8405 # Note: We can NOT use -z defs as we might desire, because we do not
8406 # link with -lc, and that would cause any symbols used from libc to
8407 # always be unresolved, which means just about no library would
8408 # ever link correctly. If we're not using GNU ld we use -z text
8409 # though, which does catch some bad symbols but isn't as heavy-handed
8411 no_undefined_flag
='${wl}-z,text'
8412 allow_undefined_flag
='${wl}-z,nodefs'
8413 archive_cmds_need_lc
=no
8414 hardcode_shlibpath_var
=no
8415 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8416 hardcode_libdir_separator
=':'
8417 link_all_deplibs
=yes
8418 export_dynamic_flag_spec
='${wl}-Bexport'
8419 runpath_var
='LD_RUN_PATH'
8421 if test "$GCC" = yes; then
8422 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8423 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8425 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8426 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8431 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8432 hardcode_libdir_flag_spec
='-L$libdir'
8433 hardcode_shlibpath_var
=no
8441 if test x
$host_vendor = xsni
; then
8443 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8444 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8450 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8451 echo "${ECHO_T}$ld_shlibs" >&6
8452 test "$ld_shlibs" = no
&& can_build_shared
=no
8454 with_gnu_ld
=$with_gnu_ld
8471 # Do we need to explicitly link libc?
8473 case "x$archive_cmds_need_lc" in
8475 # Assume -lc should be added
8476 archive_cmds_need_lc
=yes
8478 if test "$enable_shared" = yes && test "$GCC" = yes; then
8479 case $archive_cmds in
8481 # FIXME: we may have to deal with multi-command sequences.
8484 # Test whether the compiler implicitly links with -lc since on some
8485 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8486 # to ld, don't add -lc before -lgcc.
8487 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8488 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8490 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8493 (eval $ac_compile) 2>&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 (exit $ac_status); } 2>conftest.err
; then
8499 libobjs
=conftest.
$ac_objext
8501 wl
=$lt_prog_compiler_wl
8502 pic_flag
=$lt_prog_compiler_pic
8508 lt_save_allow_undefined_flag
=$allow_undefined_flag
8509 allow_undefined_flag
=
8510 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8511 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514 (exit $ac_status); }
8516 archive_cmds_need_lc
=no
8518 archive_cmds_need_lc
=yes
8520 allow_undefined_flag
=$lt_save_allow_undefined_flag
8522 cat conftest.err
1>&5
8525 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8526 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8689 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8690 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8692 if test "$withGCC" = yes; then
8694 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8695 *) lt_awk_arg
="/^libraries:/" ;;
8697 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8698 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8699 # if the path contains ";" then we assume it to be the separator
8700 # otherwise default to the standard path separator (i.e. ":") - it is
8701 # assumed that no part of a normal pathname contains ";" but that should
8702 # okay in the real world where ";" in dirpaths is itself problematic.
8703 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8705 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8707 # Ok, now we have the path, separated by spaces, we can step through it
8708 # and add multilib dir if necessary.
8709 lt_tmp_lt_search_path_spec
=
8710 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8711 for lt_sys_path
in $lt_search_path_spec; do
8712 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8713 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8715 test -d "$lt_sys_path" && \
8716 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8719 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8720 BEGIN {RS=" "; FS="/|\n";} {
8723 for (lt_i = NF; lt_i > 0; lt_i--) {
8724 if ($lt_i != "" && $lt_i != ".") {
8725 if ($lt_i == "..") {
8728 if (lt_count == 0) {
8729 lt_foo="/" $lt_i lt_foo;
8736 if (lt_foo != "") { lt_freq[lt_foo]++; }
8737 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8739 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8741 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8744 libname_spec
='lib$name'
8752 shlibpath_overrides_runpath
=unknown
8754 dynamic_linker
="$host_os ld.so"
8755 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8756 need_lib_prefix
=unknown
8757 hardcode_into_libs
=no
8759 # when you set need_version to no, make sure it does not cause -set_version
8760 # flags to be left without arguments
8761 need_version
=unknown
8766 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8767 shlibpath_var
=LIBPATH
8769 # AIX 3 has no versioning support, so we append a major version to the name.
8770 soname_spec
='${libname}${release}${shared_ext}$major'
8777 hardcode_into_libs
=yes
8778 if test "$host_cpu" = ia64
; then
8779 # AIX 5 supports IA64
8780 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8781 shlibpath_var
=LD_LIBRARY_PATH
8783 # With GCC up to 2.95.x, collect2 would create an import file
8784 # for dependence libraries. The import file would start with
8785 # the line `#! .'. This would cause the generated library to
8786 # depend on `.', always an invalid library. This was fixed in
8787 # development snapshots of GCC prior to 3.0.
8789 aix4 | aix4.
[01] | aix4.
[01].
*)
8790 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8792 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8799 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8800 # soname into executable. Probably we can add versioning support to
8801 # collect2, so additional links can be useful in future.
8802 if test "$aix_use_runtimelinking" = yes; then
8803 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8804 # instead of lib<name>.a to let people know that these are not
8805 # typical AIX shared libraries.
8806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8808 # We preserve .a as extension for shared libraries through AIX4.2
8809 # and later when we are not doing run time linking.
8810 library_names_spec
='${libname}${release}.a $libname.a'
8811 soname_spec
='${libname}${release}${shared_ext}$major'
8813 shlibpath_var
=LIBPATH
8818 if test "$host_cpu" = m68k
; then
8819 library_names_spec
='$libname.ixlibrary $libname.a'
8820 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8821 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'
8828 library_names_spec
='${libname}${shared_ext}'
8829 dynamic_linker
="$host_os ld.so"
8830 shlibpath_var
=LIBRARY_PATH
8836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8837 soname_spec
='${libname}${release}${shared_ext}$major'
8838 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8839 shlibpath_var
=LD_LIBRARY_PATH
8840 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8841 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8842 # the default ld.so.conf also contains /usr/contrib/lib and
8843 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8844 # libtool to hard-code these into programs
8847 cygwin
* | mingw
* | pw32
*)
8848 version_type
=windows
8853 case $withGCC,$host_os in
8854 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8855 library_names_spec
='$libname.dll.a'
8856 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8857 postinstall_cmds
='base_file=`basename \${file}`~
8858 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8859 dldir=$destdir/`dirname \$dlpath`~
8860 test -d \$dldir || mkdir -p \$dldir~
8861 $install_prog $dir/$dlname \$dldir/$dlname~
8862 chmod a+x \$dldir/$dlname~
8863 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8864 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8866 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8867 dlpath=$dir/\$dldll~
8869 shlibpath_overrides_runpath
=yes
8873 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8874 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8875 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8878 # MinGW DLLs use traditional 'lib' prefix
8879 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8880 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8881 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8882 # It is most probably a Windows format PATH printed by
8883 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8884 # path with ; separators, and with drive letters. We can handle the
8885 # drive letters (cygwin fileutils understands them), so leave them,
8886 # especially as we might pass files found there to a mingw objdump,
8887 # which wouldn't understand a cygwinified path. Ahh.
8888 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8890 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8894 # pw32 DLLs use 'pw' prefix rather than 'lib'
8895 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8901 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8904 dynamic_linker
='Win32 ld.exe'
8905 # FIXME: first we should search . and the directory the executable is in
8909 darwin
* | rhapsody
*)
8910 dynamic_linker
="$host_os dyld"
8914 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8915 soname_spec
='${libname}${release}${major}$shared_ext'
8916 shlibpath_overrides_runpath
=yes
8917 shlibpath_var
=DYLD_LIBRARY_PATH
8918 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8920 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8921 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8929 soname_spec
='${libname}${release}${shared_ext}$major'
8930 shlibpath_var
=LD_LIBRARY_PATH
8937 freebsd
* | dragonfly
*)
8938 # DragonFly does not have aout. When/if they implement a new
8939 # versioning mechanism, adjust this.
8940 if test -x /usr
/bin
/objformat
; then
8941 objformat
=`/usr/bin/objformat`
8944 freebsd
[123]*) objformat
=aout
;;
8948 version_type
=freebsd-
$objformat
8949 case $version_type in
8951 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8956 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8960 shlibpath_var
=LD_LIBRARY_PATH
8963 shlibpath_overrides_runpath
=yes
8965 freebsd3.
[01]* | freebsdelf3.
[01]*)
8966 shlibpath_overrides_runpath
=yes
8967 hardcode_into_libs
=yes
8969 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8970 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8971 shlibpath_overrides_runpath
=no
8972 hardcode_into_libs
=yes
8974 *) # from 4.6 on, and DragonFly
8975 shlibpath_overrides_runpath
=yes
8976 hardcode_into_libs
=yes
8985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8986 soname_spec
='${libname}${release}${shared_ext}$major'
8987 shlibpath_var
=LD_LIBRARY_PATH
8988 hardcode_into_libs
=yes
8991 hpux9
* | hpux10
* | hpux11
*)
8992 # Give a soname corresponding to the major version so that dld.sl refuses to
8993 # link against other versions.
9000 hardcode_into_libs
=yes
9001 dynamic_linker
="$host_os dld.so"
9002 shlibpath_var
=LD_LIBRARY_PATH
9003 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9005 soname_spec
='${libname}${release}${shared_ext}$major'
9006 if test "X$HPUX_IA64_MODE" = X32
; then
9007 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9009 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9011 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9015 hardcode_into_libs
=yes
9016 dynamic_linker
="$host_os dld.sl"
9017 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9018 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9020 soname_spec
='${libname}${release}${shared_ext}$major'
9021 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9022 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9026 dynamic_linker
="$host_os dld.sl"
9027 shlibpath_var
=SHLIB_PATH
9028 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9030 soname_spec
='${libname}${release}${shared_ext}$major'
9033 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9034 postinstall_cmds
='chmod 555 $lib'
9041 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9042 soname_spec
='${libname}${release}${shared_ext}$major'
9043 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9044 shlibpath_var
=LD_LIBRARY_PATH
9045 shlibpath_overrides_runpath
=no
9046 hardcode_into_libs
=yes
9049 irix5
* | irix6
* | nonstopux
*)
9051 nonstopux
*) version_type
=nonstopux
;;
9053 if test "$lt_cv_prog_gnu_ld" = yes; then
9061 soname_spec
='${libname}${release}${shared_ext}$major'
9062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9064 irix5
* | nonstopux
*)
9068 case $LD in # libtool.m4 will add one of these switches to LD
9069 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9070 libsuff
= shlibsuff
= libmagic
=32-bit;;
9071 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9072 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9073 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9074 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9075 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9079 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9080 shlibpath_overrides_runpath
=no
9081 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9082 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9083 hardcode_into_libs
=yes
9086 # No shared lib support for Linux oldld, aout, or coff.
9087 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9091 # This must be Linux ELF.
9092 linux
* | k
*bsd
*-gnu)
9096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9097 soname_spec
='${libname}${release}${shared_ext}$major'
9098 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9099 shlibpath_var
=LD_LIBRARY_PATH
9100 shlibpath_overrides_runpath
=no
9101 # Some binutils ld are patched to set DT_RUNPATH
9102 save_LDFLAGS
=$LDFLAGS
9104 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9105 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9106 cat >conftest.
$ac_ext <<_ACEOF
9109 cat confdefs.h
>>conftest.
$ac_ext
9110 cat >>conftest.
$ac_ext <<_ACEOF
9111 /* end confdefs.h. */
9121 rm -f conftest.
$ac_objext conftest
$ac_exeext
9122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9123 (eval $ac_link) 2>conftest.er1
9125 grep -v '^ *+' conftest.er1
>conftest.err
9127 cat conftest.err
>&5
9128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9129 (exit $ac_status); } &&
9130 { ac_try
='test -z "$ac_c_werror_flag"
9131 || test ! -s conftest.err'
9132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136 (exit $ac_status); }; } &&
9137 { ac_try
='test -s conftest$ac_exeext'
9138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 (exit $ac_status); }; }; then
9143 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
9144 shlibpath_overrides_runpath
=yes
9148 echo "$as_me: failed program was:" >&5
9149 sed 's/^/| /' conftest.
$ac_ext >&5
9152 rm -f conftest.err conftest.
$ac_objext \
9153 conftest
$ac_exeext conftest.
$ac_ext
9154 LDFLAGS
=$save_LDFLAGS
9157 # This implies no fast_install, which is unacceptable.
9158 # Some rework will be needed to allow for fast_install
9159 # before this can be enabled.
9160 hardcode_into_libs
=yes
9162 # Append ld.so.conf contents to the search path
9163 if test -f /etc
/ld.so.conf
; then
9164 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' ' '`
9165 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9168 # We used to test for /lib/ld.so.1 and disable shared libraries on
9169 # powerpc, because MkLinux only supported shared libraries with the
9170 # GNU dynamic linker. Since this was broken with cross compilers,
9171 # most powerpc-linux boxes support dynamic linking these days and
9172 # people can always --disable-shared, the test was removed, and we
9173 # assume the GNU/Linux dynamic linker is in use.
9174 dynamic_linker
='GNU/Linux ld.so'
9181 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9183 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9184 dynamic_linker
='NetBSD (a.out) ld.so'
9186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9187 soname_spec
='${libname}${release}${shared_ext}$major'
9188 dynamic_linker
='NetBSD ld.elf_so'
9190 shlibpath_var
=LD_LIBRARY_PATH
9191 shlibpath_overrides_runpath
=yes
9192 hardcode_into_libs
=yes
9197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9198 shlibpath_var
=LD_LIBRARY_PATH
9199 shlibpath_overrides_runpath
=yes
9206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9207 soname_spec
='${libname}${release}${shared_ext}$major'
9208 shlibpath_var
=LD_LIBRARY_PATH
9209 shlibpath_overrides_runpath
=no
9210 hardcode_into_libs
=yes
9211 dynamic_linker
='ldqnx.so'
9216 sys_lib_dlsearch_path_spec
="/usr/lib"
9218 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9220 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9221 *) need_version
=no
;;
9223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9224 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9225 shlibpath_var
=LD_LIBRARY_PATH
9226 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9228 openbsd2.
[89] | openbsd2.
[89].
*)
9229 shlibpath_overrides_runpath
=no
9232 shlibpath_overrides_runpath
=yes
9236 shlibpath_overrides_runpath
=yes
9241 libname_spec
='$name'
9244 library_names_spec
='$libname${shared_ext} $libname.a'
9245 dynamic_linker
='OS/2 ld.exe'
9246 shlibpath_var
=LIBPATH
9249 osf3
* | osf4
* | osf5
*)
9253 soname_spec
='${libname}${release}${shared_ext}$major'
9254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9255 shlibpath_var
=LD_LIBRARY_PATH
9256 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9257 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9269 soname_spec
='${libname}${release}${shared_ext}$major'
9270 shlibpath_var
=LD_LIBRARY_PATH
9271 shlibpath_overrides_runpath
=yes
9272 hardcode_into_libs
=yes
9273 # ldd complains unless libraries are executable
9274 postinstall_cmds
='chmod +x $lib'
9279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9280 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9281 shlibpath_var
=LD_LIBRARY_PATH
9282 shlibpath_overrides_runpath
=yes
9283 if test "$with_gnu_ld" = yes; then
9291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9292 soname_spec
='${libname}${release}${shared_ext}$major'
9293 shlibpath_var
=LD_LIBRARY_PATH
9294 case $host_vendor in
9296 shlibpath_overrides_runpath
=no
9298 runpath_var
=LD_RUN_PATH
9306 shlibpath_overrides_runpath
=no
9307 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9313 if test -d /usr
/nec
;then
9315 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9316 soname_spec
='$libname${shared_ext}.$major'
9317 shlibpath_var
=LD_LIBRARY_PATH
9321 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9322 version_type
=freebsd-elf
9325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9326 soname_spec
='${libname}${release}${shared_ext}$major'
9327 shlibpath_var
=LD_LIBRARY_PATH
9328 shlibpath_overrides_runpath
=yes
9329 hardcode_into_libs
=yes
9330 if test "$with_gnu_ld" = yes; then
9331 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9333 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9336 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9340 sys_lib_dlsearch_path_spec
='/usr/lib'
9344 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9348 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9349 shlibpath_var
=LD_LIBRARY_PATH
9350 shlibpath_overrides_runpath
=no
9351 hardcode_into_libs
=yes
9356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9357 soname_spec
='${libname}${release}${shared_ext}$major'
9358 shlibpath_var
=LD_LIBRARY_PATH
9365 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9366 echo "${ECHO_T}$dynamic_linker" >&6
9367 test "$dynamic_linker" = no
&& can_build_shared
=no
9369 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9370 if test "$GCC" = yes; then
9371 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9460 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9461 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9463 if test -n "$hardcode_libdir_flag_spec" ||
9464 test -n "$runpath_var" ||
9465 test "X$hardcode_automatic" = "Xyes" ; then
9467 # We can hardcode non-existent directories.
9468 if test "$hardcode_direct" != no
&&
9469 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9470 # have to relink, otherwise we might link with an installed library
9471 # when we should be linking with a yet-to-be-installed one
9472 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9473 test "$hardcode_minus_L" != no
; then
9474 # Linking always hardcodes the temporary library directory.
9475 hardcode_action
=relink
9477 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9478 hardcode_action
=immediate
9481 # We cannot hardcode anything, or else we can only hardcode existing
9483 hardcode_action
=unsupported
9485 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9486 echo "${ECHO_T}$hardcode_action" >&6
9488 if test "$hardcode_action" = relink ||
9489 test "$inherit_rpath" = yes; then
9490 # Fast installation is not supported
9491 enable_fast_install
=no
9492 elif test "$shlibpath_overrides_runpath" = yes ||
9493 test "$enable_shared" = no
; then
9494 # Fast installation is not necessary
9495 enable_fast_install
=needless
9503 if test "x$enable_dlopen" != xyes
; then
9504 enable_dlopen
=unknown
9505 enable_dlopen_self
=unknown
9506 enable_dlopen_self_static
=unknown
9513 lt_cv_dlopen
="load_add_on"
9515 lt_cv_dlopen_self
=yes
9519 lt_cv_dlopen
="LoadLibrary"
9524 lt_cv_dlopen
="dlopen"
9529 # if libdl is installed we need to link against it
9530 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9531 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9532 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9533 echo $ECHO_N "(cached) $ECHO_C" >&6
9535 ac_check_lib_save_LIBS
=$LIBS
9537 cat >conftest.
$ac_ext <<_ACEOF
9540 cat confdefs.h
>>conftest.
$ac_ext
9541 cat >>conftest.
$ac_ext <<_ACEOF
9542 /* end confdefs.h. */
9544 /* Override any gcc2 internal prototype to avoid an error. */
9548 /* We use char because int might match the return type of a gcc2
9549 builtin and then its argument prototype would still apply. */
9559 rm -f conftest.
$ac_objext conftest
$ac_exeext
9560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9561 (eval $ac_link) 2>conftest.er1
9563 grep -v '^ *+' conftest.er1
>conftest.err
9565 cat conftest.err
>&5
9566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9567 (exit $ac_status); } &&
9568 { ac_try
='test -z "$ac_c_werror_flag"
9569 || test ! -s conftest.err'
9570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9574 (exit $ac_status); }; } &&
9575 { ac_try
='test -s conftest$ac_exeext'
9576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580 (exit $ac_status); }; }; then
9581 ac_cv_lib_dl_dlopen
=yes
9583 echo "$as_me: failed program was:" >&5
9584 sed 's/^/| /' conftest.
$ac_ext >&5
9586 ac_cv_lib_dl_dlopen
=no
9588 rm -f conftest.err conftest.
$ac_objext \
9589 conftest
$ac_exeext conftest.
$ac_ext
9590 LIBS
=$ac_check_lib_save_LIBS
9592 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9593 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9594 if test $ac_cv_lib_dl_dlopen = yes; then
9595 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9600 lt_cv_dlopen_self
=yes
9607 echo "$as_me:$LINENO: checking for shl_load" >&5
9608 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9609 if test "${ac_cv_func_shl_load+set}" = set; then
9610 echo $ECHO_N "(cached) $ECHO_C" >&6
9612 cat >conftest.
$ac_ext <<_ACEOF
9615 cat confdefs.h
>>conftest.
$ac_ext
9616 cat >>conftest.
$ac_ext <<_ACEOF
9617 /* end confdefs.h. */
9618 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9620 #define shl_load innocuous_shl_load
9622 /* System header to define __stub macros and hopefully few prototypes,
9623 which can conflict with char shl_load (); below.
9624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9625 <limits.h> exists even on freestanding compilers. */
9628 # include <limits.h>
9630 # include <assert.h>
9635 /* Override any gcc2 internal prototype to avoid an error. */
9640 /* We use char because int might match the return type of a gcc2
9641 builtin and then its argument prototype would still apply. */
9643 /* The GNU C library defines this for functions which it implements
9644 to always fail with ENOSYS. Some functions are actually named
9645 something starting with __ and the normal name is an alias. */
9646 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9649 char (*f) () = shl_load;
9658 return f != shl_load;
9663 rm -f conftest.
$ac_objext conftest
$ac_exeext
9664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9665 (eval $ac_link) 2>conftest.er1
9667 grep -v '^ *+' conftest.er1
>conftest.err
9669 cat conftest.err
>&5
9670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9671 (exit $ac_status); } &&
9672 { ac_try
='test -z "$ac_c_werror_flag"
9673 || test ! -s conftest.err'
9674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 (exit $ac_status); }; } &&
9679 { ac_try
='test -s conftest$ac_exeext'
9680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9684 (exit $ac_status); }; }; then
9685 ac_cv_func_shl_load
=yes
9687 echo "$as_me: failed program was:" >&5
9688 sed 's/^/| /' conftest.
$ac_ext >&5
9690 ac_cv_func_shl_load
=no
9692 rm -f conftest.err conftest.
$ac_objext \
9693 conftest
$ac_exeext conftest.
$ac_ext
9695 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9696 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9697 if test $ac_cv_func_shl_load = yes; then
9698 lt_cv_dlopen
="shl_load"
9700 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9701 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9702 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9703 echo $ECHO_N "(cached) $ECHO_C" >&6
9705 ac_check_lib_save_LIBS
=$LIBS
9707 cat >conftest.
$ac_ext <<_ACEOF
9710 cat confdefs.h
>>conftest.
$ac_ext
9711 cat >>conftest.
$ac_ext <<_ACEOF
9712 /* end confdefs.h. */
9714 /* Override any gcc2 internal prototype to avoid an error. */
9718 /* We use char because int might match the return type of a gcc2
9719 builtin and then its argument prototype would still apply. */
9729 rm -f conftest.
$ac_objext conftest
$ac_exeext
9730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9731 (eval $ac_link) 2>conftest.er1
9733 grep -v '^ *+' conftest.er1
>conftest.err
9735 cat conftest.err
>&5
9736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9737 (exit $ac_status); } &&
9738 { ac_try
='test -z "$ac_c_werror_flag"
9739 || test ! -s conftest.err'
9740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9744 (exit $ac_status); }; } &&
9745 { ac_try
='test -s conftest$ac_exeext'
9746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9750 (exit $ac_status); }; }; then
9751 ac_cv_lib_dld_shl_load
=yes
9753 echo "$as_me: failed program was:" >&5
9754 sed 's/^/| /' conftest.
$ac_ext >&5
9756 ac_cv_lib_dld_shl_load
=no
9758 rm -f conftest.err conftest.
$ac_objext \
9759 conftest
$ac_exeext conftest.
$ac_ext
9760 LIBS
=$ac_check_lib_save_LIBS
9762 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9763 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9764 if test $ac_cv_lib_dld_shl_load = yes; then
9765 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
9767 echo "$as_me:$LINENO: checking for dlopen" >&5
9768 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9769 if test "${ac_cv_func_dlopen+set}" = set; then
9770 echo $ECHO_N "(cached) $ECHO_C" >&6
9772 cat >conftest.
$ac_ext <<_ACEOF
9775 cat confdefs.h
>>conftest.
$ac_ext
9776 cat >>conftest.
$ac_ext <<_ACEOF
9777 /* end confdefs.h. */
9778 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9780 #define dlopen innocuous_dlopen
9782 /* System header to define __stub macros and hopefully few prototypes,
9783 which can conflict with char dlopen (); below.
9784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9785 <limits.h> exists even on freestanding compilers. */
9788 # include <limits.h>
9790 # include <assert.h>
9795 /* Override any gcc2 internal prototype to avoid an error. */
9800 /* We use char because int might match the return type of a gcc2
9801 builtin and then its argument prototype would still apply. */
9803 /* The GNU C library defines this for functions which it implements
9804 to always fail with ENOSYS. Some functions are actually named
9805 something starting with __ and the normal name is an alias. */
9806 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9809 char (*f) () = dlopen;
9823 rm -f conftest.
$ac_objext conftest
$ac_exeext
9824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9825 (eval $ac_link) 2>conftest.er1
9827 grep -v '^ *+' conftest.er1
>conftest.err
9829 cat conftest.err
>&5
9830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831 (exit $ac_status); } &&
9832 { ac_try
='test -z "$ac_c_werror_flag"
9833 || test ! -s conftest.err'
9834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 (exit $ac_status); }; } &&
9839 { ac_try
='test -s conftest$ac_exeext'
9840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9844 (exit $ac_status); }; }; then
9845 ac_cv_func_dlopen
=yes
9847 echo "$as_me: failed program was:" >&5
9848 sed 's/^/| /' conftest.
$ac_ext >&5
9850 ac_cv_func_dlopen
=no
9852 rm -f conftest.err conftest.
$ac_objext \
9853 conftest
$ac_exeext conftest.
$ac_ext
9855 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9856 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9857 if test $ac_cv_func_dlopen = yes; then
9858 lt_cv_dlopen
="dlopen"
9860 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9861 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9862 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9863 echo $ECHO_N "(cached) $ECHO_C" >&6
9865 ac_check_lib_save_LIBS
=$LIBS
9867 cat >conftest.
$ac_ext <<_ACEOF
9870 cat confdefs.h
>>conftest.
$ac_ext
9871 cat >>conftest.
$ac_ext <<_ACEOF
9872 /* end confdefs.h. */
9874 /* Override any gcc2 internal prototype to avoid an error. */
9878 /* We use char because int might match the return type of a gcc2
9879 builtin and then its argument prototype would still apply. */
9889 rm -f conftest.
$ac_objext conftest
$ac_exeext
9890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9891 (eval $ac_link) 2>conftest.er1
9893 grep -v '^ *+' conftest.er1
>conftest.err
9895 cat conftest.err
>&5
9896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9897 (exit $ac_status); } &&
9898 { ac_try
='test -z "$ac_c_werror_flag"
9899 || test ! -s conftest.err'
9900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9904 (exit $ac_status); }; } &&
9905 { ac_try
='test -s conftest$ac_exeext'
9906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9910 (exit $ac_status); }; }; then
9911 ac_cv_lib_dl_dlopen
=yes
9913 echo "$as_me: failed program was:" >&5
9914 sed 's/^/| /' conftest.
$ac_ext >&5
9916 ac_cv_lib_dl_dlopen
=no
9918 rm -f conftest.err conftest.
$ac_objext \
9919 conftest
$ac_exeext conftest.
$ac_ext
9920 LIBS
=$ac_check_lib_save_LIBS
9922 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9923 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9924 if test $ac_cv_lib_dl_dlopen = yes; then
9925 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9927 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9928 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9929 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9930 echo $ECHO_N "(cached) $ECHO_C" >&6
9932 ac_check_lib_save_LIBS
=$LIBS
9934 cat >conftest.
$ac_ext <<_ACEOF
9937 cat confdefs.h
>>conftest.
$ac_ext
9938 cat >>conftest.
$ac_ext <<_ACEOF
9939 /* end confdefs.h. */
9941 /* Override any gcc2 internal prototype to avoid an error. */
9945 /* We use char because int might match the return type of a gcc2
9946 builtin and then its argument prototype would still apply. */
9956 rm -f conftest.
$ac_objext conftest
$ac_exeext
9957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9958 (eval $ac_link) 2>conftest.er1
9960 grep -v '^ *+' conftest.er1
>conftest.err
9962 cat conftest.err
>&5
9963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9964 (exit $ac_status); } &&
9965 { ac_try
='test -z "$ac_c_werror_flag"
9966 || test ! -s conftest.err'
9967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9971 (exit $ac_status); }; } &&
9972 { ac_try
='test -s conftest$ac_exeext'
9973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9977 (exit $ac_status); }; }; then
9978 ac_cv_lib_svld_dlopen
=yes
9980 echo "$as_me: failed program was:" >&5
9981 sed 's/^/| /' conftest.
$ac_ext >&5
9983 ac_cv_lib_svld_dlopen
=no
9985 rm -f conftest.err conftest.
$ac_objext \
9986 conftest
$ac_exeext conftest.
$ac_ext
9987 LIBS
=$ac_check_lib_save_LIBS
9989 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9990 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9991 if test $ac_cv_lib_svld_dlopen = yes; then
9992 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9994 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9995 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9996 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9997 echo $ECHO_N "(cached) $ECHO_C" >&6
9999 ac_check_lib_save_LIBS
=$LIBS
10001 cat >conftest.
$ac_ext <<_ACEOF
10004 cat confdefs.h
>>conftest.
$ac_ext
10005 cat >>conftest.
$ac_ext <<_ACEOF
10006 /* end confdefs.h. */
10008 /* Override any gcc2 internal prototype to avoid an error. */
10012 /* We use char because int might match the return type of a gcc2
10013 builtin and then its argument prototype would still apply. */
10023 rm -f conftest.
$ac_objext conftest
$ac_exeext
10024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10025 (eval $ac_link) 2>conftest.er1
10027 grep -v '^ *+' conftest.er1
>conftest.err
10029 cat conftest.err
>&5
10030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10031 (exit $ac_status); } &&
10032 { ac_try
='test -z "$ac_c_werror_flag"
10033 || test ! -s conftest.err'
10034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10035 (eval $ac_try) 2>&5
10037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10038 (exit $ac_status); }; } &&
10039 { ac_try
='test -s conftest$ac_exeext'
10040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10041 (eval $ac_try) 2>&5
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); }; }; then
10045 ac_cv_lib_dld_dld_link
=yes
10047 echo "$as_me: failed program was:" >&5
10048 sed 's/^/| /' conftest.
$ac_ext >&5
10050 ac_cv_lib_dld_dld_link
=no
10052 rm -f conftest.err conftest.
$ac_objext \
10053 conftest
$ac_exeext conftest.
$ac_ext
10054 LIBS
=$ac_check_lib_save_LIBS
10056 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10057 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10058 if test $ac_cv_lib_dld_dld_link = yes; then
10059 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
10080 if test "x$lt_cv_dlopen" != xno
; then
10086 case $lt_cv_dlopen in
10088 save_CPPFLAGS
="$CPPFLAGS"
10089 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10091 save_LDFLAGS
="$LDFLAGS"
10092 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10095 LIBS
="$lt_cv_dlopen_libs $LIBS"
10097 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10098 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10099 if test "${lt_cv_dlopen_self+set}" = set; then
10100 echo $ECHO_N "(cached) $ECHO_C" >&6
10102 if test "$cross_compiling" = yes; then :
10103 lt_cv_dlopen_self
=cross
10105 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10106 lt_status
=$lt_dlunknown
10107 cat > conftest.
$ac_ext <<_LT_EOF
10108 #line 10108 "configure"
10109 #include "confdefs.h"
10118 # define LT_DLGLOBAL RTLD_GLOBAL
10121 # define LT_DLGLOBAL DL_GLOBAL
10123 # define LT_DLGLOBAL 0
10127 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10128 find out it does not work in some platform. */
10129 #ifndef LT_DLLAZY_OR_NOW
10131 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10134 # define LT_DLLAZY_OR_NOW DL_LAZY
10137 # define LT_DLLAZY_OR_NOW RTLD_NOW
10140 # define LT_DLLAZY_OR_NOW DL_NOW
10142 # define LT_DLLAZY_OR_NOW 0
10150 extern "C" void exit (int);
10153 void fnord() { int i=42;}
10156 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10157 int status = $lt_dlunknown;
10161 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10162 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10163 /* dlclose (self); */
10171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10172 (eval $ac_link) 2>&5
10174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10175 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10176 (.
/conftest
; exit; ) >&5 2>/dev
/null
10178 case x
$lt_status in
10179 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10180 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10181 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10184 # compilation failed
10185 lt_cv_dlopen_self
=no
10192 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10193 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10195 if test "x$lt_cv_dlopen_self" = xyes
; then
10196 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10197 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10198 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10199 if test "${lt_cv_dlopen_self_static+set}" = set; then
10200 echo $ECHO_N "(cached) $ECHO_C" >&6
10202 if test "$cross_compiling" = yes; then :
10203 lt_cv_dlopen_self_static
=cross
10205 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10206 lt_status
=$lt_dlunknown
10207 cat > conftest.
$ac_ext <<_LT_EOF
10208 #line 10208 "configure"
10209 #include "confdefs.h"
10218 # define LT_DLGLOBAL RTLD_GLOBAL
10221 # define LT_DLGLOBAL DL_GLOBAL
10223 # define LT_DLGLOBAL 0
10227 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10228 find out it does not work in some platform. */
10229 #ifndef LT_DLLAZY_OR_NOW
10231 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10234 # define LT_DLLAZY_OR_NOW DL_LAZY
10237 # define LT_DLLAZY_OR_NOW RTLD_NOW
10240 # define LT_DLLAZY_OR_NOW DL_NOW
10242 # define LT_DLLAZY_OR_NOW 0
10250 extern "C" void exit (int);
10253 void fnord() { int i=42;}
10256 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10257 int status = $lt_dlunknown;
10261 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10262 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10263 /* dlclose (self); */
10271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10272 (eval $ac_link) 2>&5
10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10276 (.
/conftest
; exit; ) >&5 2>/dev
/null
10278 case x
$lt_status in
10279 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10280 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10281 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10284 # compilation failed
10285 lt_cv_dlopen_self_static
=no
10292 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10293 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10296 CPPFLAGS
="$save_CPPFLAGS"
10297 LDFLAGS
="$save_LDFLAGS"
10302 case $lt_cv_dlopen_self in
10303 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10304 *) enable_dlopen_self
=unknown
;;
10307 case $lt_cv_dlopen_self_static in
10308 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10309 *) enable_dlopen_self_static
=unknown
;;
10331 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10332 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10333 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10334 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10335 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10336 echo "$as_me:$LINENO: result: yes" >&5
10337 echo "${ECHO_T}yes" >&6
10339 # FIXME - insert some real tests, host_os isn't really good enough
10342 if test -n "$STRIP" ; then
10343 striplib
="$STRIP -x"
10344 old_striplib
="$STRIP -S"
10345 echo "$as_me:$LINENO: result: yes" >&5
10346 echo "${ECHO_T}yes" >&6
10348 echo "$as_me:$LINENO: result: no" >&5
10349 echo "${ECHO_T}no" >&6
10353 echo "$as_me:$LINENO: result: no" >&5
10354 echo "${ECHO_T}no" >&6
10370 # Report which library types will actually be built
10371 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10372 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10373 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10374 echo "${ECHO_T}$can_build_shared" >&6
10376 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10377 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10378 test "$can_build_shared" = "no" && enable_shared
=no
10380 # On AIX, shared libraries and static libraries use the same namespace, and
10381 # are all built from PIC.
10384 test "$enable_shared" = yes && enable_static
=no
10385 if test -n "$RANLIB"; then
10386 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10387 postinstall_cmds
='$RANLIB $lib'
10392 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10393 test "$enable_shared" = yes && enable_static
=no
10397 echo "$as_me:$LINENO: result: $enable_shared" >&5
10398 echo "${ECHO_T}$enable_shared" >&6
10400 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10401 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10402 # Make sure either enable_shared or enable_static is yes.
10403 test "$enable_shared" = yes || enable_static
=yes
10404 echo "$as_me:$LINENO: result: $enable_static" >&5
10405 echo "${ECHO_T}$enable_static" >&6
10412 ac_cpp
='$CPP $CPPFLAGS'
10413 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10414 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10415 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10431 ac_config_commands
="$ac_config_commands libtool"
10436 # Only expand once:
10440 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
10441 if test "${enable_64_bit_bfd+set}" = set; then
10442 enableval
="$enable_64_bit_bfd"
10443 case "${enableval}" in
10444 yes) want64
=true
;;
10445 no
) want64
=false
;;
10446 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
10447 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
10448 { (exit 1); exit 1; }; } ;;
10452 fi; # Check whether --enable-targets or --disable-targets was given.
10453 if test "${enable_targets+set}" = set; then
10454 enableval
="$enable_targets"
10455 case "${enableval}" in
10456 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
10457 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
10458 { (exit 1); exit 1; }; }
10460 no
) enable_targets
= ;;
10461 *) enable_targets
=$enableval ;;
10463 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
10464 if test "${enable_commonbfdlib+set}" = set; then
10465 enableval
="$enable_commonbfdlib"
10466 case "${enableval}" in
10467 yes) commonbfdlib
=true
;;
10468 no
) commonbfdlib
=false
;;
10469 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
10470 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
10471 { (exit 1); exit 1; }; } ;;
10474 # Check whether --with-mmap or --without-mmap was given.
10475 if test "${with_mmap+set}" = set; then
10476 withval
="$with_mmap"
10477 case "${withval}" in
10478 yes) want_mmap
=true
;;
10479 no
) want_mmap
=false
;;
10480 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
10481 echo "$as_me: error: bad value ${withval} for BFD with-mmap option" >&2;}
10482 { (exit 1); exit 1; }; } ;;
10487 # Check whether --enable-secureplt or --disable-secureplt was given.
10488 if test "${enable_secureplt+set}" = set; then
10489 enableval
="$enable_secureplt"
10490 case "${enableval}" in
10491 yes) use_secureplt
=true
;;
10492 no
) use_secureplt
=false
;;
10493 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for secureplt option" >&5
10494 echo "$as_me: error: bad value ${enableval} for secureplt option" >&2;}
10495 { (exit 1); exit 1; }; } ;;
10498 use_secureplt
=false
10499 fi; if test $use_secureplt = true
; then
10501 cat >>confdefs.h
<<\_ACEOF
10502 #define USE_SECUREPLT 1
10507 DEBUGDIR
=${libdir}/debug
10510 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
10511 if test "${with_separate_debug_dir+set}" = set; then
10512 withval
="$with_separate_debug_dir"
10513 DEBUGDIR
="${withval}"
10519 # Check whether --with-pkgversion or --without-pkgversion was given.
10520 if test "${with_pkgversion+set}" = set; then
10521 withval
="$with_pkgversion"
10523 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
10524 echo "$as_me: error: package version not specified" >&2;}
10525 { (exit 1); exit 1; }; } ;;
10527 *) PKGVERSION
="($withval) " ;;
10530 PKGVERSION
="(GNU Binutils) "
10537 # Check whether --with-bugurl or --without-bugurl was given.
10538 if test "${with_bugurl+set}" = set; then
10539 withval
="$with_bugurl"
10541 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
10542 echo "$as_me: error: bug URL not specified" >&2;}
10543 { (exit 1); exit 1; }; } ;;
10546 *) BUGURL
="$withval"
10550 BUGURL
="http://www.sourceware.org/bugzilla/"
10559 REPORT_BUGS_TO
="<$BUGURL>"
10560 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
10568 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
10570 # Check whether --enable-werror or --disable-werror was given.
10571 if test "${enable_werror+set}" = set; then
10572 enableval
="$enable_werror"
10573 case "${enableval}" in
10574 yes | y
) ERROR_ON_WARNING
="yes" ;;
10575 no | n
) ERROR_ON_WARNING
="no" ;;
10576 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
10577 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
10578 { (exit 1); exit 1; }; } ;;
10582 # Enable -Werror by default when using gcc
10583 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
10584 ERROR_ON_WARNING
=yes
10588 if test "${ERROR_ON_WARNING}" = yes ; then
10589 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
10590 NO_WERROR
="-Wno-error"
10593 if test "${GCC}" = yes ; then
10594 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
10597 # Check whether --enable-build-warnings or --disable-build-warnings was given.
10598 if test "${enable_build_warnings+set}" = set; then
10599 enableval
="$enable_build_warnings"
10600 case "${enableval}" in
10601 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
10602 no
) if test "${GCC}" = yes ; then
10605 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
10606 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
10607 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
10608 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
10609 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
10613 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
10614 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
10621 ac_config_headers
="$ac_config_headers config.h:config.in"
10624 if test -z "$target" ; then
10625 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
10626 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
10627 { (exit 1); exit 1; }; }
10630 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
10631 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
10632 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
10633 if test "${enable_maintainer_mode+set}" = set; then
10634 enableval
="$enable_maintainer_mode"
10635 USE_MAINTAINER_MODE
=$enableval
10637 USE_MAINTAINER_MODE
=no
10639 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
10640 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
10643 if test $USE_MAINTAINER_MODE = yes; then
10644 MAINTAINER_MODE_TRUE
=
10645 MAINTAINER_MODE_FALSE
='#'
10647 MAINTAINER_MODE_TRUE
='#'
10648 MAINTAINER_MODE_FALSE
=
10651 MAINT
=$MAINTAINER_MODE_TRUE
10657 GENINSRC_NEVER_TRUE
=
10658 GENINSRC_NEVER_FALSE
='#'
10660 GENINSRC_NEVER_TRUE
='#'
10661 GENINSRC_NEVER_FALSE
=
10664 case ${build_alias} in
10665 "") build_noncanonical
=${build} ;;
10666 *) build_noncanonical
=${build_alias} ;;
10669 case ${host_alias} in
10670 "") host_noncanonical
=${build_noncanonical} ;;
10671 *) host_noncanonical
=${host_alias} ;;
10674 case ${target_alias} in
10675 "") target_noncanonical
=${host_noncanonical} ;;
10676 *) target_noncanonical
=${target_alias} ;;
10679 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
10680 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
10681 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
10682 if test "${enable_install_libbfd+set}" = set; then
10683 enableval
="$enable_install_libbfd"
10684 install_libbfd_p
=$enableval
10686 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
10687 install_libbfd_p
=yes
10689 install_libbfd_p
=no
10692 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
10693 echo "${ECHO_T}$install_libbfd_p" >&6
10696 if test $install_libbfd_p = yes; then
10697 INSTALL_LIBBFD_TRUE
=
10698 INSTALL_LIBBFD_FALSE
='#'
10700 INSTALL_LIBBFD_TRUE
='#'
10701 INSTALL_LIBBFD_FALSE
=
10704 # Need _noncanonical variables for this.
10709 # libbfd.a is a host library containing target dependent code
10710 bfdlibdir
='$(libdir)'
10711 bfdincludedir
='$(includedir)'
10712 if test "${host}" != "${target}"; then
10713 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
10714 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
10724 bfd_default_target_size
=32
10728 ALL_LINGUAS
="fr tr ja es sv da zh_CN ro rw vi"
10729 # If we haven't got the data from the intl directory,
10730 # assume NLS is disabled.
10739 if test -f ..
/intl
/config.intl
; then
10740 . ..
/intl
/config.intl
10742 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10743 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10744 if test x
"$USE_NLS" != xyes
; then
10745 echo "$as_me:$LINENO: result: no" >&5
10746 echo "${ECHO_T}no" >&6
10748 echo "$as_me:$LINENO: result: yes" >&5
10749 echo "${ECHO_T}yes" >&6
10751 cat >>confdefs.h
<<\_ACEOF
10752 #define ENABLE_NLS 1
10756 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
10757 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
10758 # Look for .po and .gmo files in the source directory.
10761 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
10762 # If there aren't any .gmo files the shell will give us the
10763 # literal string "../path/to/srcdir/po/*.gmo" which has to be
10765 case "$cat" in *\
**)
10768 # The quadruple backslash is collapsed to a double backslash
10769 # by the backticks, then collapsed again by the double quotes,
10770 # leaving us with one backslash in the sed expression (right
10771 # before the dot that mustn't act as a wildcard).
10772 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
10773 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
10774 # The user is allowed to set LINGUAS to a list of languages to
10775 # install catalogs for. If it's empty that means "all of them."
10776 if test "x$LINGUAS" = x
; then
10777 CATALOGS
="$CATALOGS $cat"
10778 XLINGUAS
="$XLINGUAS $lang"
10780 case "$LINGUAS" in *$lang*)
10781 CATALOGS
="$CATALOGS $cat"
10782 XLINGUAS
="$XLINGUAS $lang"
10787 LINGUAS
="$XLINGUAS"
10788 echo "$as_me:$LINENO: result: $LINGUAS" >&5
10789 echo "${ECHO_T}$LINGUAS" >&6
10803 if test -n "$ac_aux_dir"; then
10804 case "$ac_aux_dir" in
10805 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
10806 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
10809 if test -z "$MKINSTALLDIRS"; then
10810 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
10815 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10816 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10817 # Check whether --enable-nls or --disable-nls was given.
10818 if test "${enable_nls+set}" = set; then
10819 enableval
="$enable_nls"
10824 echo "$as_me:$LINENO: result: $USE_NLS" >&5
10825 echo "${ECHO_T}$USE_NLS" >&6
10832 # Prepare PATH_SEPARATOR.
10833 # The user is always right.
10834 if test "${PATH_SEPARATOR+set}" != set; then
10835 echo "#! /bin/sh" >conf$$.sh
10836 echo "exit 0" >>conf$$.sh
10838 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10846 # Find out how to test for executable files. Don't use a zero-byte file,
10847 # as systems may use methods other than mode bits to determine executability.
10848 cat >conf$$.
file <<_ASEOF
10852 chmod +x conf$$.
file
10853 if test -x conf$$.
file >/dev
/null
2>&1; then
10854 ac_executable_p
="test -x"
10856 ac_executable_p
="test -f"
10860 # Extract the first word of "msgfmt", so it can be a program name with args.
10861 set dummy msgfmt
; ac_word
=$2
10862 echo "$as_me:$LINENO: checking for $ac_word" >&5
10863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10864 if test "${ac_cv_path_MSGFMT+set}" = set; then
10865 echo $ECHO_N "(cached) $ECHO_C" >&6
10869 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
10872 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
10873 for ac_dir
in $PATH; do
10875 test -z "$ac_dir" && ac_dir
=.
10876 for ac_exec_ext
in '' $ac_executable_extensions; do
10877 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10878 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
10879 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
10880 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
10887 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
10891 MSGFMT
="$ac_cv_path_MSGFMT"
10892 if test "$MSGFMT" != ":"; then
10893 echo "$as_me:$LINENO: result: $MSGFMT" >&5
10894 echo "${ECHO_T}$MSGFMT" >&6
10896 echo "$as_me:$LINENO: result: no" >&5
10897 echo "${ECHO_T}no" >&6
10900 # Extract the first word of "gmsgfmt", so it can be a program name with args.
10901 set dummy gmsgfmt
; ac_word
=$2
10902 echo "$as_me:$LINENO: checking for $ac_word" >&5
10903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10904 if test "${ac_cv_path_GMSGFMT+set}" = set; then
10905 echo $ECHO_N "(cached) $ECHO_C" >&6
10909 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
10912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10913 for as_dir
in $PATH
10916 test -z "$as_dir" && as_dir
=.
10917 for ac_exec_ext
in '' $ac_executable_extensions; do
10918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10919 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
10920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10926 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
10930 GMSGFMT
=$ac_cv_path_GMSGFMT
10932 if test -n "$GMSGFMT"; then
10933 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
10934 echo "${ECHO_T}$GMSGFMT" >&6
10936 echo "$as_me:$LINENO: result: no" >&5
10937 echo "${ECHO_T}no" >&6
10942 # Prepare PATH_SEPARATOR.
10943 # The user is always right.
10944 if test "${PATH_SEPARATOR+set}" != set; then
10945 echo "#! /bin/sh" >conf$$.sh
10946 echo "exit 0" >>conf$$.sh
10948 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10956 # Find out how to test for executable files. Don't use a zero-byte file,
10957 # as systems may use methods other than mode bits to determine executability.
10958 cat >conf$$.
file <<_ASEOF
10962 chmod +x conf$$.
file
10963 if test -x conf$$.
file >/dev
/null
2>&1; then
10964 ac_executable_p
="test -x"
10966 ac_executable_p
="test -f"
10970 # Extract the first word of "xgettext", so it can be a program name with args.
10971 set dummy xgettext
; ac_word
=$2
10972 echo "$as_me:$LINENO: checking for $ac_word" >&5
10973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10974 if test "${ac_cv_path_XGETTEXT+set}" = set; then
10975 echo $ECHO_N "(cached) $ECHO_C" >&6
10977 case "$XGETTEXT" in
10979 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
10982 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
10983 for ac_dir
in $PATH; do
10985 test -z "$ac_dir" && ac_dir
=.
10986 for ac_exec_ext
in '' $ac_executable_extensions; do
10987 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10988 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
10989 (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
10990 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
10997 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11001 XGETTEXT
="$ac_cv_path_XGETTEXT"
11002 if test "$XGETTEXT" != ":"; then
11003 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
11004 echo "${ECHO_T}$XGETTEXT" >&6
11006 echo "$as_me:$LINENO: result: no" >&5
11007 echo "${ECHO_T}no" >&6
11013 # Prepare PATH_SEPARATOR.
11014 # The user is always right.
11015 if test "${PATH_SEPARATOR+set}" != set; then
11016 echo "#! /bin/sh" >conf$$.sh
11017 echo "exit 0" >>conf$$.sh
11019 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11027 # Find out how to test for executable files. Don't use a zero-byte file,
11028 # as systems may use methods other than mode bits to determine executability.
11029 cat >conf$$.
file <<_ASEOF
11033 chmod +x conf$$.
file
11034 if test -x conf$$.
file >/dev
/null
2>&1; then
11035 ac_executable_p
="test -x"
11037 ac_executable_p
="test -f"
11041 # Extract the first word of "msgmerge", so it can be a program name with args.
11042 set dummy msgmerge
; ac_word
=$2
11043 echo "$as_me:$LINENO: checking for $ac_word" >&5
11044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11045 if test "${ac_cv_path_MSGMERGE+set}" = set; then
11046 echo $ECHO_N "(cached) $ECHO_C" >&6
11048 case "$MSGMERGE" in
11050 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11053 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11054 for ac_dir
in $PATH; do
11056 test -z "$ac_dir" && ac_dir
=.
11057 for ac_exec_ext
in '' $ac_executable_extensions; do
11058 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11059 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11060 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
11067 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
11071 MSGMERGE
="$ac_cv_path_MSGMERGE"
11072 if test "$MSGMERGE" != ":"; then
11073 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
11074 echo "${ECHO_T}$MSGMERGE" >&6
11076 echo "$as_me:$LINENO: result: no" >&5
11077 echo "${ECHO_T}no" >&6
11081 if test "$GMSGFMT" != ":"; then
11082 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
11083 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11086 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11087 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11088 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
11093 if test "$XGETTEXT" != ":"; then
11094 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11095 (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
11098 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
11099 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
11105 ac_config_commands
="$ac_config_commands default-1"
11109 # Permit host specific settings.
11110 .
${srcdir}/configure.
host
11113 # Find a good install program. We prefer a C program (faster),
11114 # so one script is as good as another. But avoid the broken or
11115 # incompatible versions:
11116 # SysV /etc/install, /usr/sbin/install
11117 # SunOS /usr/etc/install
11118 # IRIX /sbin/install
11120 # AmigaOS /C/install, which installs bootblocks on floppy discs
11121 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11122 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11123 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11124 # OS/2's system install, which has a completely different semantic
11125 # ./install, which can be erroneously created by make from ./install.sh.
11126 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11127 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11128 if test -z "$INSTALL"; then
11129 if test "${ac_cv_path_install+set}" = set; then
11130 echo $ECHO_N "(cached) $ECHO_C" >&6
11132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11133 for as_dir
in $PATH
11136 test -z "$as_dir" && as_dir
=.
11137 # Account for people who put trailing slashes in PATH elements.
11139 .
/ | .
// |
/cC
/* | \
11140 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
11141 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11144 # OSF1 and SCO ODT 3.0 have their own names for install.
11145 # Don't use installbsd from OSF since it installs stuff as root
11147 for ac_prog
in ginstall scoinst
install; do
11148 for ac_exec_ext
in '' $ac_executable_extensions; do
11149 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11150 if test $ac_prog = install &&
11151 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11152 # AIX install. It has an incompatible calling convention.
11154 elif test $ac_prog = install &&
11155 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11156 # program-specific install script used by HP pwplus--don't use.
11159 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11171 if test "${ac_cv_path_install+set}" = set; then
11172 INSTALL
=$ac_cv_path_install
11174 # As a last resort, use the slow shell script. We don't cache a
11175 # path for INSTALL within a source directory, because that will
11176 # break other packages using the cache if that directory is
11177 # removed, or if the path is relative.
11178 INSTALL
=$ac_install_sh
11181 echo "$as_me:$LINENO: result: $INSTALL" >&5
11182 echo "${ECHO_T}$INSTALL" >&6
11184 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11185 # It thinks the first close brace ends the variable substitution.
11186 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11188 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11190 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11193 BFD_HOST_64BIT_LONG
=0
11194 BFD_HOST_LONG_LONG
=0
11195 BFD_HOST_64_BIT_DEFINED
=0
11199 echo "$as_me:$LINENO: checking for long long" >&5
11200 echo $ECHO_N "checking for long long... $ECHO_C" >&6
11201 if test "${bfd_cv_has_long_long+set}" = set; then
11202 echo $ECHO_N "(cached) $ECHO_C" >&6
11204 cat >conftest.
$ac_ext <<_ACEOF
11207 cat confdefs.h
>>conftest.
$ac_ext
11208 cat >>conftest.
$ac_ext <<_ACEOF
11209 /* end confdefs.h. */
11214 unsigned long long ll = 18446744073709551615ULL;
11219 rm -f conftest.
$ac_objext
11220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11221 (eval $ac_compile) 2>conftest.er1
11223 grep -v '^ *+' conftest.er1
>conftest.err
11225 cat conftest.err
>&5
11226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227 (exit $ac_status); } &&
11228 { ac_try
='test -z "$ac_c_werror_flag"
11229 || test ! -s conftest.err'
11230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11231 (eval $ac_try) 2>&5
11233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11234 (exit $ac_status); }; } &&
11235 { ac_try
='test -s conftest.$ac_objext'
11236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11237 (eval $ac_try) 2>&5
11239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11240 (exit $ac_status); }; }; then
11241 bfd_cv_has_long_long
=yes
11243 echo "$as_me: failed program was:" >&5
11244 sed 's/^/| /' conftest.
$ac_ext >&5
11246 bfd_cv_has_long_long
=no
11248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11251 echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
11252 echo "${ECHO_T}$bfd_cv_has_long_long" >&6
11253 if test $bfd_cv_has_long_long = yes; then
11254 BFD_HOST_LONG_LONG
=1
11255 echo "$as_me:$LINENO: checking for long long" >&5
11256 echo $ECHO_N "checking for long long... $ECHO_C" >&6
11257 if test "${ac_cv_type_long_long+set}" = set; then
11258 echo $ECHO_N "(cached) $ECHO_C" >&6
11260 cat >conftest.
$ac_ext <<_ACEOF
11263 cat confdefs.h
>>conftest.
$ac_ext
11264 cat >>conftest.
$ac_ext <<_ACEOF
11265 /* end confdefs.h. */
11266 $ac_includes_default
11270 if ((long long *) 0)
11272 if (sizeof (long long))
11278 rm -f conftest.
$ac_objext
11279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11280 (eval $ac_compile) 2>conftest.er1
11282 grep -v '^ *+' conftest.er1
>conftest.err
11284 cat conftest.err
>&5
11285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11286 (exit $ac_status); } &&
11287 { ac_try
='test -z "$ac_c_werror_flag"
11288 || test ! -s conftest.err'
11289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11290 (eval $ac_try) 2>&5
11292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293 (exit $ac_status); }; } &&
11294 { ac_try
='test -s conftest.$ac_objext'
11295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11296 (eval $ac_try) 2>&5
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); }; }; then
11300 ac_cv_type_long_long
=yes
11302 echo "$as_me: failed program was:" >&5
11303 sed 's/^/| /' conftest.
$ac_ext >&5
11305 ac_cv_type_long_long
=no
11307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11309 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
11310 echo "${ECHO_T}$ac_cv_type_long_long" >&6
11312 echo "$as_me:$LINENO: checking size of long long" >&5
11313 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
11314 if test "${ac_cv_sizeof_long_long+set}" = set; then
11315 echo $ECHO_N "(cached) $ECHO_C" >&6
11317 if test "$ac_cv_type_long_long" = yes; then
11318 # The cast to unsigned long works around a bug in the HP C Compiler
11319 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11320 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11321 # This bug is HP SR number 8606223364.
11322 if test "$cross_compiling" = yes; then
11323 # Depending upon the size, compute the lo and hi bounds.
11324 cat >conftest.
$ac_ext <<_ACEOF
11327 cat confdefs.h
>>conftest.
$ac_ext
11328 cat >>conftest.
$ac_ext <<_ACEOF
11329 /* end confdefs.h. */
11330 $ac_includes_default
11334 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
11341 rm -f conftest.
$ac_objext
11342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11343 (eval $ac_compile) 2>conftest.er1
11345 grep -v '^ *+' conftest.er1
>conftest.err
11347 cat conftest.err
>&5
11348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11349 (exit $ac_status); } &&
11350 { ac_try
='test -z "$ac_c_werror_flag"
11351 || test ! -s conftest.err'
11352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11353 (eval $ac_try) 2>&5
11355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11356 (exit $ac_status); }; } &&
11357 { ac_try
='test -s conftest.$ac_objext'
11358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11359 (eval $ac_try) 2>&5
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); }; }; then
11365 cat >conftest.
$ac_ext <<_ACEOF
11368 cat confdefs.h
>>conftest.
$ac_ext
11369 cat >>conftest.
$ac_ext <<_ACEOF
11370 /* end confdefs.h. */
11371 $ac_includes_default
11375 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
11382 rm -f conftest.
$ac_objext
11383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11384 (eval $ac_compile) 2>conftest.er1
11386 grep -v '^ *+' conftest.er1
>conftest.err
11388 cat conftest.err
>&5
11389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 (exit $ac_status); } &&
11391 { ac_try
='test -z "$ac_c_werror_flag"
11392 || test ! -s conftest.err'
11393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11394 (eval $ac_try) 2>&5
11396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11397 (exit $ac_status); }; } &&
11398 { ac_try
='test -s conftest.$ac_objext'
11399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11400 (eval $ac_try) 2>&5
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); }; }; then
11404 ac_hi
=$ac_mid; break
11406 echo "$as_me: failed program was:" >&5
11407 sed 's/^/| /' conftest.
$ac_ext >&5
11409 ac_lo
=`expr $ac_mid + 1`
11410 if test $ac_lo -le $ac_mid; then
11414 ac_mid
=`expr 2 '*' $ac_mid + 1`
11416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11419 echo "$as_me: failed program was:" >&5
11420 sed 's/^/| /' conftest.
$ac_ext >&5
11422 cat >conftest.
$ac_ext <<_ACEOF
11425 cat confdefs.h
>>conftest.
$ac_ext
11426 cat >>conftest.
$ac_ext <<_ACEOF
11427 /* end confdefs.h. */
11428 $ac_includes_default
11432 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
11439 rm -f conftest.
$ac_objext
11440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11441 (eval $ac_compile) 2>conftest.er1
11443 grep -v '^ *+' conftest.er1
>conftest.err
11445 cat conftest.err
>&5
11446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11447 (exit $ac_status); } &&
11448 { ac_try
='test -z "$ac_c_werror_flag"
11449 || test ! -s conftest.err'
11450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11451 (eval $ac_try) 2>&5
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); }; } &&
11455 { ac_try
='test -s conftest.$ac_objext'
11456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11457 (eval $ac_try) 2>&5
11459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11460 (exit $ac_status); }; }; then
11463 cat >conftest.
$ac_ext <<_ACEOF
11466 cat confdefs.h
>>conftest.
$ac_ext
11467 cat >>conftest.
$ac_ext <<_ACEOF
11468 /* end confdefs.h. */
11469 $ac_includes_default
11473 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
11480 rm -f conftest.
$ac_objext
11481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11482 (eval $ac_compile) 2>conftest.er1
11484 grep -v '^ *+' conftest.er1
>conftest.err
11486 cat conftest.err
>&5
11487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11488 (exit $ac_status); } &&
11489 { ac_try
='test -z "$ac_c_werror_flag"
11490 || test ! -s conftest.err'
11491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11492 (eval $ac_try) 2>&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); }; } &&
11496 { ac_try
='test -s conftest.$ac_objext'
11497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11498 (eval $ac_try) 2>&5
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); }; }; then
11502 ac_lo
=$ac_mid; break
11504 echo "$as_me: failed program was:" >&5
11505 sed 's/^/| /' conftest.
$ac_ext >&5
11507 ac_hi
=`expr '(' $ac_mid ')' - 1`
11508 if test $ac_mid -le $ac_hi; then
11512 ac_mid
=`expr 2 '*' $ac_mid`
11514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11517 echo "$as_me: failed program was:" >&5
11518 sed 's/^/| /' conftest.
$ac_ext >&5
11522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11525 # Binary search between lo and hi bounds.
11526 while test "x$ac_lo" != "x$ac_hi"; do
11527 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11528 cat >conftest.
$ac_ext <<_ACEOF
11531 cat confdefs.h
>>conftest.
$ac_ext
11532 cat >>conftest.
$ac_ext <<_ACEOF
11533 /* end confdefs.h. */
11534 $ac_includes_default
11538 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
11545 rm -f conftest.
$ac_objext
11546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11547 (eval $ac_compile) 2>conftest.er1
11549 grep -v '^ *+' conftest.er1
>conftest.err
11551 cat conftest.err
>&5
11552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11553 (exit $ac_status); } &&
11554 { ac_try
='test -z "$ac_c_werror_flag"
11555 || test ! -s conftest.err'
11556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11557 (eval $ac_try) 2>&5
11559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560 (exit $ac_status); }; } &&
11561 { ac_try
='test -s conftest.$ac_objext'
11562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11563 (eval $ac_try) 2>&5
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); }; }; then
11569 echo "$as_me: failed program was:" >&5
11570 sed 's/^/| /' conftest.
$ac_ext >&5
11572 ac_lo
=`expr '(' $ac_mid ')' + 1`
11574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11577 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
11578 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
11579 See \`config.log' for more details." >&5
11580 echo "$as_me: error: cannot compute sizeof (long long), 77
11581 See \`config.log' for more details." >&2;}
11582 { (exit 1); exit 1; }; } ;;
11585 if test "$cross_compiling" = yes; then
11586 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11587 See \`config.log' for more details." >&5
11588 echo "$as_me: error: cannot run test program while cross compiling
11589 See \`config.log' for more details." >&2;}
11590 { (exit 1); exit 1; }; }
11592 cat >conftest.
$ac_ext <<_ACEOF
11595 cat confdefs.h
>>conftest.
$ac_ext
11596 cat >>conftest.
$ac_ext <<_ACEOF
11597 /* end confdefs.h. */
11598 $ac_includes_default
11599 long longval () { return (long) (sizeof (long long)); }
11600 unsigned long ulongval () { return (long) (sizeof (long long)); }
11602 #include <stdlib.h>
11607 FILE *f = fopen ("conftest.val", "w");
11610 if (((long) (sizeof (long long))) < 0)
11612 long i = longval ();
11613 if (i != ((long) (sizeof (long long))))
11615 fprintf (f, "%ld\n", i);
11619 unsigned long i = ulongval ();
11620 if (i != ((long) (sizeof (long long))))
11622 fprintf (f, "%lu\n", i);
11624 exit (ferror (f) || fclose (f) != 0);
11630 rm -f conftest
$ac_exeext
11631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11632 (eval $ac_link) 2>&5
11634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11635 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11637 (eval $ac_try) 2>&5
11639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11640 (exit $ac_status); }; }; then
11641 ac_cv_sizeof_long_long
=`cat conftest.val`
11643 echo "$as_me: program exited with status $ac_status" >&5
11644 echo "$as_me: failed program was:" >&5
11645 sed 's/^/| /' conftest.
$ac_ext >&5
11647 ( exit $ac_status )
11648 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
11649 See \`config.log' for more details." >&5
11650 echo "$as_me: error: cannot compute sizeof (long long), 77
11651 See \`config.log' for more details." >&2;}
11652 { (exit 1); exit 1; }; }
11654 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11659 ac_cv_sizeof_long_long
=0
11662 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
11663 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
11664 cat >>confdefs.h
<<_ACEOF
11665 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
11671 echo "$as_me:$LINENO: checking for long" >&5
11672 echo $ECHO_N "checking for long... $ECHO_C" >&6
11673 if test "${ac_cv_type_long+set}" = set; then
11674 echo $ECHO_N "(cached) $ECHO_C" >&6
11676 cat >conftest.
$ac_ext <<_ACEOF
11679 cat confdefs.h
>>conftest.
$ac_ext
11680 cat >>conftest.
$ac_ext <<_ACEOF
11681 /* end confdefs.h. */
11682 $ac_includes_default
11694 rm -f conftest.
$ac_objext
11695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11696 (eval $ac_compile) 2>conftest.er1
11698 grep -v '^ *+' conftest.er1
>conftest.err
11700 cat conftest.err
>&5
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); } &&
11703 { ac_try
='test -z "$ac_c_werror_flag"
11704 || test ! -s conftest.err'
11705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11706 (eval $ac_try) 2>&5
11708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11709 (exit $ac_status); }; } &&
11710 { ac_try
='test -s conftest.$ac_objext'
11711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11712 (eval $ac_try) 2>&5
11714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715 (exit $ac_status); }; }; then
11716 ac_cv_type_long
=yes
11718 echo "$as_me: failed program was:" >&5
11719 sed 's/^/| /' conftest.
$ac_ext >&5
11723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11725 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
11726 echo "${ECHO_T}$ac_cv_type_long" >&6
11728 echo "$as_me:$LINENO: checking size of long" >&5
11729 echo $ECHO_N "checking size of long... $ECHO_C" >&6
11730 if test "${ac_cv_sizeof_long+set}" = set; then
11731 echo $ECHO_N "(cached) $ECHO_C" >&6
11733 if test "$ac_cv_type_long" = yes; then
11734 # The cast to unsigned long works around a bug in the HP C Compiler
11735 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11736 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11737 # This bug is HP SR number 8606223364.
11738 if test "$cross_compiling" = yes; then
11739 # Depending upon the size, compute the lo and hi bounds.
11740 cat >conftest.
$ac_ext <<_ACEOF
11743 cat confdefs.h
>>conftest.
$ac_ext
11744 cat >>conftest.
$ac_ext <<_ACEOF
11745 /* end confdefs.h. */
11746 $ac_includes_default
11750 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
11757 rm -f conftest.
$ac_objext
11758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11759 (eval $ac_compile) 2>conftest.er1
11761 grep -v '^ *+' conftest.er1
>conftest.err
11763 cat conftest.err
>&5
11764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11765 (exit $ac_status); } &&
11766 { ac_try
='test -z "$ac_c_werror_flag"
11767 || test ! -s conftest.err'
11768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11769 (eval $ac_try) 2>&5
11771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772 (exit $ac_status); }; } &&
11773 { ac_try
='test -s conftest.$ac_objext'
11774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11775 (eval $ac_try) 2>&5
11777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11778 (exit $ac_status); }; }; then
11781 cat >conftest.
$ac_ext <<_ACEOF
11784 cat confdefs.h
>>conftest.
$ac_ext
11785 cat >>conftest.
$ac_ext <<_ACEOF
11786 /* end confdefs.h. */
11787 $ac_includes_default
11791 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
11798 rm -f conftest.
$ac_objext
11799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11800 (eval $ac_compile) 2>conftest.er1
11802 grep -v '^ *+' conftest.er1
>conftest.err
11804 cat conftest.err
>&5
11805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806 (exit $ac_status); } &&
11807 { ac_try
='test -z "$ac_c_werror_flag"
11808 || test ! -s conftest.err'
11809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11810 (eval $ac_try) 2>&5
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); }; } &&
11814 { ac_try
='test -s conftest.$ac_objext'
11815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11816 (eval $ac_try) 2>&5
11818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819 (exit $ac_status); }; }; then
11820 ac_hi
=$ac_mid; break
11822 echo "$as_me: failed program was:" >&5
11823 sed 's/^/| /' conftest.
$ac_ext >&5
11825 ac_lo
=`expr $ac_mid + 1`
11826 if test $ac_lo -le $ac_mid; then
11830 ac_mid
=`expr 2 '*' $ac_mid + 1`
11832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11835 echo "$as_me: failed program was:" >&5
11836 sed 's/^/| /' conftest.
$ac_ext >&5
11838 cat >conftest.
$ac_ext <<_ACEOF
11841 cat confdefs.h
>>conftest.
$ac_ext
11842 cat >>conftest.
$ac_ext <<_ACEOF
11843 /* end confdefs.h. */
11844 $ac_includes_default
11848 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
11855 rm -f conftest.
$ac_objext
11856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11857 (eval $ac_compile) 2>conftest.er1
11859 grep -v '^ *+' conftest.er1
>conftest.err
11861 cat conftest.err
>&5
11862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11863 (exit $ac_status); } &&
11864 { ac_try
='test -z "$ac_c_werror_flag"
11865 || test ! -s conftest.err'
11866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11867 (eval $ac_try) 2>&5
11869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870 (exit $ac_status); }; } &&
11871 { ac_try
='test -s conftest.$ac_objext'
11872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11873 (eval $ac_try) 2>&5
11875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11876 (exit $ac_status); }; }; then
11879 cat >conftest.
$ac_ext <<_ACEOF
11882 cat confdefs.h
>>conftest.
$ac_ext
11883 cat >>conftest.
$ac_ext <<_ACEOF
11884 /* end confdefs.h. */
11885 $ac_includes_default
11889 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
11896 rm -f conftest.
$ac_objext
11897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11898 (eval $ac_compile) 2>conftest.er1
11900 grep -v '^ *+' conftest.er1
>conftest.err
11902 cat conftest.err
>&5
11903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904 (exit $ac_status); } &&
11905 { ac_try
='test -z "$ac_c_werror_flag"
11906 || test ! -s conftest.err'
11907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11908 (eval $ac_try) 2>&5
11910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 (exit $ac_status); }; } &&
11912 { ac_try
='test -s conftest.$ac_objext'
11913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11914 (eval $ac_try) 2>&5
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); }; }; then
11918 ac_lo
=$ac_mid; break
11920 echo "$as_me: failed program was:" >&5
11921 sed 's/^/| /' conftest.
$ac_ext >&5
11923 ac_hi
=`expr '(' $ac_mid ')' - 1`
11924 if test $ac_mid -le $ac_hi; then
11928 ac_mid
=`expr 2 '*' $ac_mid`
11930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11933 echo "$as_me: failed program was:" >&5
11934 sed 's/^/| /' conftest.
$ac_ext >&5
11938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11941 # Binary search between lo and hi bounds.
11942 while test "x$ac_lo" != "x$ac_hi"; do
11943 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11944 cat >conftest.
$ac_ext <<_ACEOF
11947 cat confdefs.h
>>conftest.
$ac_ext
11948 cat >>conftest.
$ac_ext <<_ACEOF
11949 /* end confdefs.h. */
11950 $ac_includes_default
11954 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
11961 rm -f conftest.
$ac_objext
11962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11963 (eval $ac_compile) 2>conftest.er1
11965 grep -v '^ *+' conftest.er1
>conftest.err
11967 cat conftest.err
>&5
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); } &&
11970 { ac_try
='test -z "$ac_c_werror_flag"
11971 || test ! -s conftest.err'
11972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11973 (eval $ac_try) 2>&5
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); }; } &&
11977 { ac_try
='test -s conftest.$ac_objext'
11978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11979 (eval $ac_try) 2>&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); }; }; then
11985 echo "$as_me: failed program was:" >&5
11986 sed 's/^/| /' conftest.
$ac_ext >&5
11988 ac_lo
=`expr '(' $ac_mid ')' + 1`
11990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11993 ?
*) ac_cv_sizeof_long
=$ac_lo;;
11994 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
11995 See \`config.log' for more details." >&5
11996 echo "$as_me: error: cannot compute sizeof (long), 77
11997 See \`config.log' for more details." >&2;}
11998 { (exit 1); exit 1; }; } ;;
12001 if test "$cross_compiling" = yes; then
12002 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12003 See \`config.log' for more details." >&5
12004 echo "$as_me: error: cannot run test program while cross compiling
12005 See \`config.log' for more details." >&2;}
12006 { (exit 1); exit 1; }; }
12008 cat >conftest.
$ac_ext <<_ACEOF
12011 cat confdefs.h
>>conftest.
$ac_ext
12012 cat >>conftest.
$ac_ext <<_ACEOF
12013 /* end confdefs.h. */
12014 $ac_includes_default
12015 long longval () { return (long) (sizeof (long)); }
12016 unsigned long ulongval () { return (long) (sizeof (long)); }
12018 #include <stdlib.h>
12023 FILE *f = fopen ("conftest.val", "w");
12026 if (((long) (sizeof (long))) < 0)
12028 long i = longval ();
12029 if (i != ((long) (sizeof (long))))
12031 fprintf (f, "%ld\n", i);
12035 unsigned long i = ulongval ();
12036 if (i != ((long) (sizeof (long))))
12038 fprintf (f, "%lu\n", i);
12040 exit (ferror (f) || fclose (f) != 0);
12046 rm -f conftest
$ac_exeext
12047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12048 (eval $ac_link) 2>&5
12050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12051 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12053 (eval $ac_try) 2>&5
12055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12056 (exit $ac_status); }; }; then
12057 ac_cv_sizeof_long
=`cat conftest.val`
12059 echo "$as_me: program exited with status $ac_status" >&5
12060 echo "$as_me: failed program was:" >&5
12061 sed 's/^/| /' conftest.
$ac_ext >&5
12063 ( exit $ac_status )
12064 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12065 See \`config.log' for more details." >&5
12066 echo "$as_me: error: cannot compute sizeof (long), 77
12067 See \`config.log' for more details." >&2;}
12068 { (exit 1); exit 1; }; }
12070 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12075 ac_cv_sizeof_long
=0
12078 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
12079 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
12080 cat >>confdefs.h
<<_ACEOF
12081 #define SIZEOF_LONG $ac_cv_sizeof_long
12085 if test "x${ac_cv_sizeof_long}" = "x8"; then
12087 BFD_HOST_64BIT_LONG
=1
12088 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long"
12089 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long"
12090 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
12091 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long long"
12092 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long long"
12095 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
12096 BFD_HOST_64_BIT_DEFINED
=1
12097 BFD_HOST_64_BIT
="${HOST_64BIT_TYPE}"
12098 BFD_HOST_U_64_BIT
="${HOST_U_64BIT_TYPE}"
12107 # Put a plausible default for CC_FOR_BUILD in Makefile.
12108 if test -z "$CC_FOR_BUILD"; then
12109 if test "x$cross_compiling" = "xno"; then
12110 CC_FOR_BUILD
='$(CC)'
12116 # Also set EXEEXT_FOR_BUILD.
12117 if test "x$cross_compiling" = "xno"; then
12118 EXEEXT_FOR_BUILD
='$(EXEEXT)'
12120 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
12121 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
12122 if test "${bfd_cv_build_exeext+set}" = set; then
12123 echo $ECHO_N "(cached) $ECHO_C" >&6
12126 echo 'int main () { return 0; }' > conftest.c
12127 bfd_cv_build_exeext
=
12128 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
12129 for file in conftest.
*; do
12131 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
12132 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
12136 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
12138 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
12139 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
12140 EXEEXT_FOR_BUILD
=""
12141 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
12151 for ac_header
in stddef.h string.h
strings.h stdlib.h
time.h unistd.h
12153 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12155 echo "$as_me:$LINENO: checking for $ac_header" >&5
12156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12158 echo $ECHO_N "(cached) $ECHO_C" >&6
12160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12163 # Is the header compilable?
12164 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12165 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12166 cat >conftest.
$ac_ext <<_ACEOF
12169 cat confdefs.h
>>conftest.
$ac_ext
12170 cat >>conftest.
$ac_ext <<_ACEOF
12171 /* end confdefs.h. */
12172 $ac_includes_default
12173 #include <$ac_header>
12175 rm -f conftest.
$ac_objext
12176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12177 (eval $ac_compile) 2>conftest.er1
12179 grep -v '^ *+' conftest.er1
>conftest.err
12181 cat conftest.err
>&5
12182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 (exit $ac_status); } &&
12184 { ac_try
='test -z "$ac_c_werror_flag"
12185 || test ! -s conftest.err'
12186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12187 (eval $ac_try) 2>&5
12189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12190 (exit $ac_status); }; } &&
12191 { ac_try
='test -s conftest.$ac_objext'
12192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12193 (eval $ac_try) 2>&5
12195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); }; }; then
12197 ac_header_compiler
=yes
12199 echo "$as_me: failed program was:" >&5
12200 sed 's/^/| /' conftest.
$ac_ext >&5
12202 ac_header_compiler
=no
12204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12205 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12206 echo "${ECHO_T}$ac_header_compiler" >&6
12208 # Is the header present?
12209 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12210 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12211 cat >conftest.
$ac_ext <<_ACEOF
12214 cat confdefs.h
>>conftest.
$ac_ext
12215 cat >>conftest.
$ac_ext <<_ACEOF
12216 /* end confdefs.h. */
12217 #include <$ac_header>
12219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12220 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12222 grep -v '^ *+' conftest.er1
>conftest.err
12224 cat conftest.err
>&5
12225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12226 (exit $ac_status); } >/dev
/null
; then
12227 if test -s conftest.err
; then
12228 ac_cpp_err
=$ac_c_preproc_warn_flag
12229 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12236 if test -z "$ac_cpp_err"; then
12237 ac_header_preproc
=yes
12239 echo "$as_me: failed program was:" >&5
12240 sed 's/^/| /' conftest.
$ac_ext >&5
12242 ac_header_preproc
=no
12244 rm -f conftest.err conftest.
$ac_ext
12245 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12246 echo "${ECHO_T}$ac_header_preproc" >&6
12248 # So? What about this header?
12249 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12251 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12252 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12254 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12255 ac_header_preproc
=yes
12258 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12259 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12260 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12261 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12262 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12263 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12264 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12265 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12267 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12268 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12269 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12272 ## ------------------------------------------ ##
12273 ## Report this to the AC_PACKAGE_NAME lists. ##
12274 ## ------------------------------------------ ##
12277 sed "s/^/$as_me: WARNING: /" >&2
12280 echo "$as_me:$LINENO: checking for $ac_header" >&5
12281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12283 echo $ECHO_N "(cached) $ECHO_C" >&6
12285 eval "$as_ac_Header=\$ac_header_preproc"
12287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12288 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12292 cat >>confdefs.h
<<_ACEOF
12293 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12303 for ac_header
in fcntl.h sys
/file.h sys
/time.h
12305 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12307 echo "$as_me:$LINENO: checking for $ac_header" >&5
12308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12310 echo $ECHO_N "(cached) $ECHO_C" >&6
12312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12315 # Is the header compilable?
12316 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12317 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12318 cat >conftest.
$ac_ext <<_ACEOF
12321 cat confdefs.h
>>conftest.
$ac_ext
12322 cat >>conftest.
$ac_ext <<_ACEOF
12323 /* end confdefs.h. */
12324 $ac_includes_default
12325 #include <$ac_header>
12327 rm -f conftest.
$ac_objext
12328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12329 (eval $ac_compile) 2>conftest.er1
12331 grep -v '^ *+' conftest.er1
>conftest.err
12333 cat conftest.err
>&5
12334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12335 (exit $ac_status); } &&
12336 { ac_try
='test -z "$ac_c_werror_flag"
12337 || test ! -s conftest.err'
12338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12339 (eval $ac_try) 2>&5
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); }; } &&
12343 { ac_try
='test -s conftest.$ac_objext'
12344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12345 (eval $ac_try) 2>&5
12347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12348 (exit $ac_status); }; }; then
12349 ac_header_compiler
=yes
12351 echo "$as_me: failed program was:" >&5
12352 sed 's/^/| /' conftest.
$ac_ext >&5
12354 ac_header_compiler
=no
12356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12357 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12358 echo "${ECHO_T}$ac_header_compiler" >&6
12360 # Is the header present?
12361 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12362 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12363 cat >conftest.
$ac_ext <<_ACEOF
12366 cat confdefs.h
>>conftest.
$ac_ext
12367 cat >>conftest.
$ac_ext <<_ACEOF
12368 /* end confdefs.h. */
12369 #include <$ac_header>
12371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12372 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12374 grep -v '^ *+' conftest.er1
>conftest.err
12376 cat conftest.err
>&5
12377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12378 (exit $ac_status); } >/dev
/null
; then
12379 if test -s conftest.err
; then
12380 ac_cpp_err
=$ac_c_preproc_warn_flag
12381 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12388 if test -z "$ac_cpp_err"; then
12389 ac_header_preproc
=yes
12391 echo "$as_me: failed program was:" >&5
12392 sed 's/^/| /' conftest.
$ac_ext >&5
12394 ac_header_preproc
=no
12396 rm -f conftest.err conftest.
$ac_ext
12397 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12398 echo "${ECHO_T}$ac_header_preproc" >&6
12400 # So? What about this header?
12401 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12403 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12404 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12406 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12407 ac_header_preproc
=yes
12410 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12411 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12412 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12413 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12414 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12415 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12416 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12417 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12418 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12419 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12420 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12421 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12424 ## ------------------------------------------ ##
12425 ## Report this to the AC_PACKAGE_NAME lists. ##
12426 ## ------------------------------------------ ##
12429 sed "s/^/$as_me: WARNING: /" >&2
12432 echo "$as_me:$LINENO: checking for $ac_header" >&5
12433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12435 echo $ECHO_N "(cached) $ECHO_C" >&6
12437 eval "$as_ac_Header=\$ac_header_preproc"
12439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12443 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12444 cat >>confdefs.h
<<_ACEOF
12445 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12454 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
12456 acx_cv_header_stdint
=stddef.h
12457 acx_cv_header_stdint_kind
="(already complete)"
12458 for i
in stdint.h
$inttype_headers; do
12459 unset ac_cv_type_uintptr_t
12460 unset ac_cv_type_uintmax_t
12461 unset ac_cv_type_int_least32_t
12462 unset ac_cv_type_int_fast32_t
12463 unset ac_cv_type_uint64_t
12464 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
12465 echo "$as_me:$LINENO: checking for uintmax_t" >&5
12466 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
12467 if test "${ac_cv_type_uintmax_t+set}" = set; then
12468 echo $ECHO_N "(cached) $ECHO_C" >&6
12470 cat >conftest.
$ac_ext <<_ACEOF
12473 cat confdefs.h
>>conftest.
$ac_ext
12474 cat >>conftest.
$ac_ext <<_ACEOF
12475 /* end confdefs.h. */
12476 #include <sys/types.h>
12482 if ((uintmax_t *) 0)
12484 if (sizeof (uintmax_t))
12490 rm -f conftest.
$ac_objext
12491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12492 (eval $ac_compile) 2>conftest.er1
12494 grep -v '^ *+' conftest.er1
>conftest.err
12496 cat conftest.err
>&5
12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12498 (exit $ac_status); } &&
12499 { ac_try
='test -z "$ac_c_werror_flag"
12500 || test ! -s conftest.err'
12501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12502 (eval $ac_try) 2>&5
12504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12505 (exit $ac_status); }; } &&
12506 { ac_try
='test -s conftest.$ac_objext'
12507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12508 (eval $ac_try) 2>&5
12510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12511 (exit $ac_status); }; }; then
12512 ac_cv_type_uintmax_t
=yes
12514 echo "$as_me: failed program was:" >&5
12515 sed 's/^/| /' conftest.
$ac_ext >&5
12517 ac_cv_type_uintmax_t
=no
12519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12521 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
12522 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
12523 if test $ac_cv_type_uintmax_t = yes; then
12524 acx_cv_header_stdint
=$i
12529 echo "$as_me:$LINENO: checking for uintptr_t" >&5
12530 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
12531 if test "${ac_cv_type_uintptr_t+set}" = set; then
12532 echo $ECHO_N "(cached) $ECHO_C" >&6
12534 cat >conftest.
$ac_ext <<_ACEOF
12537 cat confdefs.h
>>conftest.
$ac_ext
12538 cat >>conftest.
$ac_ext <<_ACEOF
12539 /* end confdefs.h. */
12540 #include <sys/types.h>
12546 if ((uintptr_t *) 0)
12548 if (sizeof (uintptr_t))
12554 rm -f conftest.
$ac_objext
12555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12556 (eval $ac_compile) 2>conftest.er1
12558 grep -v '^ *+' conftest.er1
>conftest.err
12560 cat conftest.err
>&5
12561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562 (exit $ac_status); } &&
12563 { ac_try
='test -z "$ac_c_werror_flag"
12564 || test ! -s conftest.err'
12565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12566 (eval $ac_try) 2>&5
12568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12569 (exit $ac_status); }; } &&
12570 { ac_try
='test -s conftest.$ac_objext'
12571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12572 (eval $ac_try) 2>&5
12574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575 (exit $ac_status); }; }; then
12576 ac_cv_type_uintptr_t
=yes
12578 echo "$as_me: failed program was:" >&5
12579 sed 's/^/| /' conftest.
$ac_ext >&5
12581 ac_cv_type_uintptr_t
=no
12583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12585 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
12586 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
12587 if test $ac_cv_type_uintptr_t = yes; then
12590 acx_cv_header_stdint_kind
="(mostly complete)"
12593 echo "$as_me:$LINENO: checking for int_least32_t" >&5
12594 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
12595 if test "${ac_cv_type_int_least32_t+set}" = set; then
12596 echo $ECHO_N "(cached) $ECHO_C" >&6
12598 cat >conftest.
$ac_ext <<_ACEOF
12601 cat confdefs.h
>>conftest.
$ac_ext
12602 cat >>conftest.
$ac_ext <<_ACEOF
12603 /* end confdefs.h. */
12604 #include <sys/types.h>
12610 if ((int_least32_t *) 0)
12612 if (sizeof (int_least32_t))
12618 rm -f conftest.
$ac_objext
12619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12620 (eval $ac_compile) 2>conftest.er1
12622 grep -v '^ *+' conftest.er1
>conftest.err
12624 cat conftest.err
>&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); } &&
12627 { ac_try
='test -z "$ac_c_werror_flag"
12628 || test ! -s conftest.err'
12629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12630 (eval $ac_try) 2>&5
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); }; } &&
12634 { ac_try
='test -s conftest.$ac_objext'
12635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12636 (eval $ac_try) 2>&5
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); }; }; then
12640 ac_cv_type_int_least32_t
=yes
12642 echo "$as_me: failed program was:" >&5
12643 sed 's/^/| /' conftest.
$ac_ext >&5
12645 ac_cv_type_int_least32_t
=no
12647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12649 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
12650 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
12651 if test $ac_cv_type_int_least32_t = yes; then
12654 acx_cv_header_stdint_kind
="(mostly complete)"
12657 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
12658 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
12659 if test "${ac_cv_type_int_fast32_t+set}" = set; then
12660 echo $ECHO_N "(cached) $ECHO_C" >&6
12662 cat >conftest.
$ac_ext <<_ACEOF
12665 cat confdefs.h
>>conftest.
$ac_ext
12666 cat >>conftest.
$ac_ext <<_ACEOF
12667 /* end confdefs.h. */
12668 #include <sys/types.h>
12674 if ((int_fast32_t *) 0)
12676 if (sizeof (int_fast32_t))
12682 rm -f conftest.
$ac_objext
12683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12684 (eval $ac_compile) 2>conftest.er1
12686 grep -v '^ *+' conftest.er1
>conftest.err
12688 cat conftest.err
>&5
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 (exit $ac_status); } &&
12691 { ac_try
='test -z "$ac_c_werror_flag"
12692 || test ! -s conftest.err'
12693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12694 (eval $ac_try) 2>&5
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); }; } &&
12698 { ac_try
='test -s conftest.$ac_objext'
12699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12700 (eval $ac_try) 2>&5
12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703 (exit $ac_status); }; }; then
12704 ac_cv_type_int_fast32_t
=yes
12706 echo "$as_me: failed program was:" >&5
12707 sed 's/^/| /' conftest.
$ac_ext >&5
12709 ac_cv_type_int_fast32_t
=no
12711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12713 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
12714 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
12715 if test $ac_cv_type_int_fast32_t = yes; then
12718 acx_cv_header_stdint_kind
="(mostly complete)"
12721 echo "$as_me:$LINENO: checking for uint64_t" >&5
12722 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
12723 if test "${ac_cv_type_uint64_t+set}" = set; then
12724 echo $ECHO_N "(cached) $ECHO_C" >&6
12726 cat >conftest.
$ac_ext <<_ACEOF
12729 cat confdefs.h
>>conftest.
$ac_ext
12730 cat >>conftest.
$ac_ext <<_ACEOF
12731 /* end confdefs.h. */
12732 #include <sys/types.h>
12738 if ((uint64_t *) 0)
12740 if (sizeof (uint64_t))
12746 rm -f conftest.
$ac_objext
12747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12748 (eval $ac_compile) 2>conftest.er1
12750 grep -v '^ *+' conftest.er1
>conftest.err
12752 cat conftest.err
>&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); } &&
12755 { ac_try
='test -z "$ac_c_werror_flag"
12756 || test ! -s conftest.err'
12757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12758 (eval $ac_try) 2>&5
12760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12761 (exit $ac_status); }; } &&
12762 { ac_try
='test -s conftest.$ac_objext'
12763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12764 (eval $ac_try) 2>&5
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); }; }; then
12768 ac_cv_type_uint64_t
=yes
12770 echo "$as_me: failed program was:" >&5
12771 sed 's/^/| /' conftest.
$ac_ext >&5
12773 ac_cv_type_uint64_t
=no
12775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12777 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
12778 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
12779 if test $ac_cv_type_uint64_t = yes; then
12782 acx_cv_header_stdint_kind
="(lacks uint64_t)"
12787 if test "$acx_cv_header_stdint" = stddef.h
; then
12788 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
12789 for i
in stdint.h
$inttype_headers; do
12790 unset ac_cv_type_uintptr_t
12791 unset ac_cv_type_uint32_t
12792 unset ac_cv_type_uint64_t
12793 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
12794 echo "$as_me:$LINENO: checking for uint32_t" >&5
12795 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
12796 if test "${ac_cv_type_uint32_t+set}" = set; then
12797 echo $ECHO_N "(cached) $ECHO_C" >&6
12799 cat >conftest.
$ac_ext <<_ACEOF
12802 cat confdefs.h
>>conftest.
$ac_ext
12803 cat >>conftest.
$ac_ext <<_ACEOF
12804 /* end confdefs.h. */
12805 #include <sys/types.h>
12811 if ((uint32_t *) 0)
12813 if (sizeof (uint32_t))
12819 rm -f conftest.
$ac_objext
12820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12821 (eval $ac_compile) 2>conftest.er1
12823 grep -v '^ *+' conftest.er1
>conftest.err
12825 cat conftest.err
>&5
12826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); } &&
12828 { ac_try
='test -z "$ac_c_werror_flag"
12829 || test ! -s conftest.err'
12830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12831 (eval $ac_try) 2>&5
12833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12834 (exit $ac_status); }; } &&
12835 { ac_try
='test -s conftest.$ac_objext'
12836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12837 (eval $ac_try) 2>&5
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); }; }; then
12841 ac_cv_type_uint32_t
=yes
12843 echo "$as_me: failed program was:" >&5
12844 sed 's/^/| /' conftest.
$ac_ext >&5
12846 ac_cv_type_uint32_t
=no
12848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12850 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
12851 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
12852 if test $ac_cv_type_uint32_t = yes; then
12853 acx_cv_header_stdint
=$i
12858 echo "$as_me:$LINENO: checking for uint64_t" >&5
12859 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
12860 if test "${ac_cv_type_uint64_t+set}" = set; then
12861 echo $ECHO_N "(cached) $ECHO_C" >&6
12863 cat >conftest.
$ac_ext <<_ACEOF
12866 cat confdefs.h
>>conftest.
$ac_ext
12867 cat >>conftest.
$ac_ext <<_ACEOF
12868 /* end confdefs.h. */
12869 #include <sys/types.h>
12875 if ((uint64_t *) 0)
12877 if (sizeof (uint64_t))
12883 rm -f conftest.
$ac_objext
12884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12885 (eval $ac_compile) 2>conftest.er1
12887 grep -v '^ *+' conftest.er1
>conftest.err
12889 cat conftest.err
>&5
12890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12891 (exit $ac_status); } &&
12892 { ac_try
='test -z "$ac_c_werror_flag"
12893 || test ! -s conftest.err'
12894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12895 (eval $ac_try) 2>&5
12897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898 (exit $ac_status); }; } &&
12899 { ac_try
='test -s conftest.$ac_objext'
12900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12901 (eval $ac_try) 2>&5
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); }; }; then
12905 ac_cv_type_uint64_t
=yes
12907 echo "$as_me: failed program was:" >&5
12908 sed 's/^/| /' conftest.
$ac_ext >&5
12910 ac_cv_type_uint64_t
=no
12912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12914 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
12915 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
12917 echo "$as_me:$LINENO: checking for uintptr_t" >&5
12918 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
12919 if test "${ac_cv_type_uintptr_t+set}" = set; then
12920 echo $ECHO_N "(cached) $ECHO_C" >&6
12922 cat >conftest.
$ac_ext <<_ACEOF
12925 cat confdefs.h
>>conftest.
$ac_ext
12926 cat >>conftest.
$ac_ext <<_ACEOF
12927 /* end confdefs.h. */
12928 #include <sys/types.h>
12934 if ((uintptr_t *) 0)
12936 if (sizeof (uintptr_t))
12942 rm -f conftest.
$ac_objext
12943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12944 (eval $ac_compile) 2>conftest.er1
12946 grep -v '^ *+' conftest.er1
>conftest.err
12948 cat conftest.err
>&5
12949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12950 (exit $ac_status); } &&
12951 { ac_try
='test -z "$ac_c_werror_flag"
12952 || test ! -s conftest.err'
12953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12954 (eval $ac_try) 2>&5
12956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12957 (exit $ac_status); }; } &&
12958 { ac_try
='test -s conftest.$ac_objext'
12959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12960 (eval $ac_try) 2>&5
12962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12963 (exit $ac_status); }; }; then
12964 ac_cv_type_uintptr_t
=yes
12966 echo "$as_me: failed program was:" >&5
12967 sed 's/^/| /' conftest.
$ac_ext >&5
12969 ac_cv_type_uintptr_t
=no
12971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12973 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
12974 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
12979 if test "$acx_cv_header_stdint" = stddef.h
; then
12980 acx_cv_header_stdint_kind
="(u_intXX_t style)"
12981 for i
in sys
/types.h
$inttype_headers; do
12982 unset ac_cv_type_u_int32_t
12983 unset ac_cv_type_u_int64_t
12984 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
12985 echo "$as_me:$LINENO: checking for u_int32_t" >&5
12986 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
12987 if test "${ac_cv_type_u_int32_t+set}" = set; then
12988 echo $ECHO_N "(cached) $ECHO_C" >&6
12990 cat >conftest.
$ac_ext <<_ACEOF
12993 cat confdefs.h
>>conftest.
$ac_ext
12994 cat >>conftest.
$ac_ext <<_ACEOF
12995 /* end confdefs.h. */
12996 #include <sys/types.h>
13002 if ((u_int32_t *) 0)
13004 if (sizeof (u_int32_t))
13010 rm -f conftest.
$ac_objext
13011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13012 (eval $ac_compile) 2>conftest.er1
13014 grep -v '^ *+' conftest.er1
>conftest.err
13016 cat conftest.err
>&5
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); } &&
13019 { ac_try
='test -z "$ac_c_werror_flag"
13020 || test ! -s conftest.err'
13021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13022 (eval $ac_try) 2>&5
13024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13025 (exit $ac_status); }; } &&
13026 { ac_try
='test -s conftest.$ac_objext'
13027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13028 (eval $ac_try) 2>&5
13030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13031 (exit $ac_status); }; }; then
13032 ac_cv_type_u_int32_t
=yes
13034 echo "$as_me: failed program was:" >&5
13035 sed 's/^/| /' conftest.
$ac_ext >&5
13037 ac_cv_type_u_int32_t
=no
13039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13041 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
13042 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
13043 if test $ac_cv_type_u_int32_t = yes; then
13044 acx_cv_header_stdint
=$i
13049 echo "$as_me:$LINENO: checking for u_int64_t" >&5
13050 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
13051 if test "${ac_cv_type_u_int64_t+set}" = set; then
13052 echo $ECHO_N "(cached) $ECHO_C" >&6
13054 cat >conftest.
$ac_ext <<_ACEOF
13057 cat confdefs.h
>>conftest.
$ac_ext
13058 cat >>conftest.
$ac_ext <<_ACEOF
13059 /* end confdefs.h. */
13060 #include <sys/types.h>
13066 if ((u_int64_t *) 0)
13068 if (sizeof (u_int64_t))
13074 rm -f conftest.
$ac_objext
13075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13076 (eval $ac_compile) 2>conftest.er1
13078 grep -v '^ *+' conftest.er1
>conftest.err
13080 cat conftest.err
>&5
13081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13082 (exit $ac_status); } &&
13083 { ac_try
='test -z "$ac_c_werror_flag"
13084 || test ! -s conftest.err'
13085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13086 (eval $ac_try) 2>&5
13088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13089 (exit $ac_status); }; } &&
13090 { ac_try
='test -s conftest.$ac_objext'
13091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13092 (eval $ac_try) 2>&5
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); }; }; then
13096 ac_cv_type_u_int64_t
=yes
13098 echo "$as_me: failed program was:" >&5
13099 sed 's/^/| /' conftest.
$ac_ext >&5
13101 ac_cv_type_u_int64_t
=no
13103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13105 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
13106 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
13111 if test "$acx_cv_header_stdint" = stddef.h
; then
13112 acx_cv_header_stdint_kind
="(using manual detection)"
13115 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
13116 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
13117 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
13118 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
13119 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
13121 # ----------------- Summarize what we found so far
13123 echo "$as_me:$LINENO: checking what to include in bfd_stdint.h" >&5
13124 echo $ECHO_N "checking what to include in bfd_stdint.h... $ECHO_C" >&6
13126 case `$as_basename bfd_stdint.h ||
13127 $as_expr X/bfd_stdint.h : '.*/\([^/][^/]*\)/*$' \| \
13128 Xbfd_stdint.h : 'X\(//\)$' \| \
13129 Xbfd_stdint.h : 'X\(/\)$' \| \
13130 . : '\(.\)' 2>/dev/null ||
13131 echo X/bfd_stdint.h |
13132 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13133 /^X\/\(\/\/\)$/{ s//\1/; q; }
13134 /^X\/\(\/\).*/{ s//\1/; q; }
13136 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
13137 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
13138 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
13139 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
13143 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
13144 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
13146 # ----------------- done included file, check C basic types --------
13148 # Lacking an uintptr_t? Test size of void *
13149 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
13150 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
13151 echo $ECHO_N "checking for void *... $ECHO_C" >&6
13152 if test "${ac_cv_type_void_p+set}" = set; then
13153 echo $ECHO_N "(cached) $ECHO_C" >&6
13155 cat >conftest.
$ac_ext <<_ACEOF
13158 cat confdefs.h
>>conftest.
$ac_ext
13159 cat >>conftest.
$ac_ext <<_ACEOF
13160 /* end confdefs.h. */
13161 $ac_includes_default
13167 if (sizeof (void *))
13173 rm -f conftest.
$ac_objext
13174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13175 (eval $ac_compile) 2>conftest.er1
13177 grep -v '^ *+' conftest.er1
>conftest.err
13179 cat conftest.err
>&5
13180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13181 (exit $ac_status); } &&
13182 { ac_try
='test -z "$ac_c_werror_flag"
13183 || test ! -s conftest.err'
13184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13185 (eval $ac_try) 2>&5
13187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13188 (exit $ac_status); }; } &&
13189 { ac_try
='test -s conftest.$ac_objext'
13190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13191 (eval $ac_try) 2>&5
13193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13194 (exit $ac_status); }; }; then
13195 ac_cv_type_void_p
=yes
13197 echo "$as_me: failed program was:" >&5
13198 sed 's/^/| /' conftest.
$ac_ext >&5
13200 ac_cv_type_void_p
=no
13202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13204 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
13205 echo "${ECHO_T}$ac_cv_type_void_p" >&6
13207 echo "$as_me:$LINENO: checking size of void *" >&5
13208 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
13209 if test "${ac_cv_sizeof_void_p+set}" = set; then
13210 echo $ECHO_N "(cached) $ECHO_C" >&6
13212 if test "$ac_cv_type_void_p" = yes; then
13213 # The cast to unsigned long works around a bug in the HP C Compiler
13214 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13215 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13216 # This bug is HP SR number 8606223364.
13217 if test "$cross_compiling" = yes; then
13218 # Depending upon the size, compute the lo and hi bounds.
13219 cat >conftest.
$ac_ext <<_ACEOF
13222 cat confdefs.h
>>conftest.
$ac_ext
13223 cat >>conftest.
$ac_ext <<_ACEOF
13224 /* end confdefs.h. */
13225 $ac_includes_default
13229 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
13236 rm -f conftest.
$ac_objext
13237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13238 (eval $ac_compile) 2>conftest.er1
13240 grep -v '^ *+' conftest.er1
>conftest.err
13242 cat conftest.err
>&5
13243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13244 (exit $ac_status); } &&
13245 { ac_try
='test -z "$ac_c_werror_flag"
13246 || test ! -s conftest.err'
13247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13248 (eval $ac_try) 2>&5
13250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251 (exit $ac_status); }; } &&
13252 { ac_try
='test -s conftest.$ac_objext'
13253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13254 (eval $ac_try) 2>&5
13256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13257 (exit $ac_status); }; }; then
13260 cat >conftest.
$ac_ext <<_ACEOF
13263 cat confdefs.h
>>conftest.
$ac_ext
13264 cat >>conftest.
$ac_ext <<_ACEOF
13265 /* end confdefs.h. */
13266 $ac_includes_default
13270 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
13277 rm -f conftest.
$ac_objext
13278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13279 (eval $ac_compile) 2>conftest.er1
13281 grep -v '^ *+' conftest.er1
>conftest.err
13283 cat conftest.err
>&5
13284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13285 (exit $ac_status); } &&
13286 { ac_try
='test -z "$ac_c_werror_flag"
13287 || test ! -s conftest.err'
13288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13289 (eval $ac_try) 2>&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); }; } &&
13293 { ac_try
='test -s conftest.$ac_objext'
13294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13295 (eval $ac_try) 2>&5
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }; }; then
13299 ac_hi
=$ac_mid; break
13301 echo "$as_me: failed program was:" >&5
13302 sed 's/^/| /' conftest.
$ac_ext >&5
13304 ac_lo
=`expr $ac_mid + 1`
13305 if test $ac_lo -le $ac_mid; then
13309 ac_mid
=`expr 2 '*' $ac_mid + 1`
13311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13314 echo "$as_me: failed program was:" >&5
13315 sed 's/^/| /' conftest.
$ac_ext >&5
13317 cat >conftest.
$ac_ext <<_ACEOF
13320 cat confdefs.h
>>conftest.
$ac_ext
13321 cat >>conftest.
$ac_ext <<_ACEOF
13322 /* end confdefs.h. */
13323 $ac_includes_default
13327 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
13334 rm -f conftest.
$ac_objext
13335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13336 (eval $ac_compile) 2>conftest.er1
13338 grep -v '^ *+' conftest.er1
>conftest.err
13340 cat conftest.err
>&5
13341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13342 (exit $ac_status); } &&
13343 { ac_try
='test -z "$ac_c_werror_flag"
13344 || test ! -s conftest.err'
13345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13346 (eval $ac_try) 2>&5
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); }; } &&
13350 { ac_try
='test -s conftest.$ac_objext'
13351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13352 (eval $ac_try) 2>&5
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); }; }; then
13358 cat >conftest.
$ac_ext <<_ACEOF
13361 cat confdefs.h
>>conftest.
$ac_ext
13362 cat >>conftest.
$ac_ext <<_ACEOF
13363 /* end confdefs.h. */
13364 $ac_includes_default
13368 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
13375 rm -f conftest.
$ac_objext
13376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13377 (eval $ac_compile) 2>conftest.er1
13379 grep -v '^ *+' conftest.er1
>conftest.err
13381 cat conftest.err
>&5
13382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13383 (exit $ac_status); } &&
13384 { ac_try
='test -z "$ac_c_werror_flag"
13385 || test ! -s conftest.err'
13386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13387 (eval $ac_try) 2>&5
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); }; } &&
13391 { ac_try
='test -s conftest.$ac_objext'
13392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13393 (eval $ac_try) 2>&5
13395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396 (exit $ac_status); }; }; then
13397 ac_lo
=$ac_mid; break
13399 echo "$as_me: failed program was:" >&5
13400 sed 's/^/| /' conftest.
$ac_ext >&5
13402 ac_hi
=`expr '(' $ac_mid ')' - 1`
13403 if test $ac_mid -le $ac_hi; then
13407 ac_mid
=`expr 2 '*' $ac_mid`
13409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13412 echo "$as_me: failed program was:" >&5
13413 sed 's/^/| /' conftest.
$ac_ext >&5
13417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13420 # Binary search between lo and hi bounds.
13421 while test "x$ac_lo" != "x$ac_hi"; do
13422 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13423 cat >conftest.
$ac_ext <<_ACEOF
13426 cat confdefs.h
>>conftest.
$ac_ext
13427 cat >>conftest.
$ac_ext <<_ACEOF
13428 /* end confdefs.h. */
13429 $ac_includes_default
13433 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
13440 rm -f conftest.
$ac_objext
13441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13442 (eval $ac_compile) 2>conftest.er1
13444 grep -v '^ *+' conftest.er1
>conftest.err
13446 cat conftest.err
>&5
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); } &&
13449 { ac_try
='test -z "$ac_c_werror_flag"
13450 || test ! -s conftest.err'
13451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13452 (eval $ac_try) 2>&5
13454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455 (exit $ac_status); }; } &&
13456 { ac_try
='test -s conftest.$ac_objext'
13457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13458 (eval $ac_try) 2>&5
13460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 (exit $ac_status); }; }; then
13464 echo "$as_me: failed program was:" >&5
13465 sed 's/^/| /' conftest.
$ac_ext >&5
13467 ac_lo
=`expr '(' $ac_mid ')' + 1`
13469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13472 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
13473 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
13474 See \`config.log' for more details." >&5
13475 echo "$as_me: error: cannot compute sizeof (void *), 77
13476 See \`config.log' for more details." >&2;}
13477 { (exit 1); exit 1; }; } ;;
13480 if test "$cross_compiling" = yes; then
13481 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13482 See \`config.log' for more details." >&5
13483 echo "$as_me: error: cannot run test program while cross compiling
13484 See \`config.log' for more details." >&2;}
13485 { (exit 1); exit 1; }; }
13487 cat >conftest.
$ac_ext <<_ACEOF
13490 cat confdefs.h
>>conftest.
$ac_ext
13491 cat >>conftest.
$ac_ext <<_ACEOF
13492 /* end confdefs.h. */
13493 $ac_includes_default
13494 long longval () { return (long) (sizeof (void *)); }
13495 unsigned long ulongval () { return (long) (sizeof (void *)); }
13497 #include <stdlib.h>
13502 FILE *f = fopen ("conftest.val", "w");
13505 if (((long) (sizeof (void *))) < 0)
13507 long i = longval ();
13508 if (i != ((long) (sizeof (void *))))
13510 fprintf (f, "%ld\n", i);
13514 unsigned long i = ulongval ();
13515 if (i != ((long) (sizeof (void *))))
13517 fprintf (f, "%lu\n", i);
13519 exit (ferror (f) || fclose (f) != 0);
13525 rm -f conftest
$ac_exeext
13526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13527 (eval $ac_link) 2>&5
13529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13530 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13532 (eval $ac_try) 2>&5
13534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13535 (exit $ac_status); }; }; then
13536 ac_cv_sizeof_void_p
=`cat conftest.val`
13538 echo "$as_me: program exited with status $ac_status" >&5
13539 echo "$as_me: failed program was:" >&5
13540 sed 's/^/| /' conftest.
$ac_ext >&5
13542 ( exit $ac_status )
13543 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
13544 See \`config.log' for more details." >&5
13545 echo "$as_me: error: cannot compute sizeof (void *), 77
13546 See \`config.log' for more details." >&2;}
13547 { (exit 1); exit 1; }; }
13549 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13554 ac_cv_sizeof_void_p
=0
13557 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
13558 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
13559 cat >>confdefs.h
<<_ACEOF
13560 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13566 # Lacking an uint64_t? Test size of long
13567 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
13568 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
13569 echo $ECHO_N "checking for long... $ECHO_C" >&6
13570 if test "${ac_cv_type_long+set}" = set; then
13571 echo $ECHO_N "(cached) $ECHO_C" >&6
13573 cat >conftest.
$ac_ext <<_ACEOF
13576 cat confdefs.h
>>conftest.
$ac_ext
13577 cat >>conftest.
$ac_ext <<_ACEOF
13578 /* end confdefs.h. */
13579 $ac_includes_default
13591 rm -f conftest.
$ac_objext
13592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13593 (eval $ac_compile) 2>conftest.er1
13595 grep -v '^ *+' conftest.er1
>conftest.err
13597 cat conftest.err
>&5
13598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13599 (exit $ac_status); } &&
13600 { ac_try
='test -z "$ac_c_werror_flag"
13601 || test ! -s conftest.err'
13602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13603 (eval $ac_try) 2>&5
13605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13606 (exit $ac_status); }; } &&
13607 { ac_try
='test -s conftest.$ac_objext'
13608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13609 (eval $ac_try) 2>&5
13611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612 (exit $ac_status); }; }; then
13613 ac_cv_type_long
=yes
13615 echo "$as_me: failed program was:" >&5
13616 sed 's/^/| /' conftest.
$ac_ext >&5
13620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13622 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
13623 echo "${ECHO_T}$ac_cv_type_long" >&6
13625 echo "$as_me:$LINENO: checking size of long" >&5
13626 echo $ECHO_N "checking size of long... $ECHO_C" >&6
13627 if test "${ac_cv_sizeof_long+set}" = set; then
13628 echo $ECHO_N "(cached) $ECHO_C" >&6
13630 if test "$ac_cv_type_long" = yes; then
13631 # The cast to unsigned long works around a bug in the HP C Compiler
13632 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13633 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13634 # This bug is HP SR number 8606223364.
13635 if test "$cross_compiling" = yes; then
13636 # Depending upon the size, compute the lo and hi bounds.
13637 cat >conftest.
$ac_ext <<_ACEOF
13640 cat confdefs.h
>>conftest.
$ac_ext
13641 cat >>conftest.
$ac_ext <<_ACEOF
13642 /* end confdefs.h. */
13643 $ac_includes_default
13647 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
13654 rm -f conftest.
$ac_objext
13655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13656 (eval $ac_compile) 2>conftest.er1
13658 grep -v '^ *+' conftest.er1
>conftest.err
13660 cat conftest.err
>&5
13661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662 (exit $ac_status); } &&
13663 { ac_try
='test -z "$ac_c_werror_flag"
13664 || test ! -s conftest.err'
13665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13666 (eval $ac_try) 2>&5
13668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 (exit $ac_status); }; } &&
13670 { ac_try
='test -s conftest.$ac_objext'
13671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13672 (eval $ac_try) 2>&5
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); }; }; then
13678 cat >conftest.
$ac_ext <<_ACEOF
13681 cat confdefs.h
>>conftest.
$ac_ext
13682 cat >>conftest.
$ac_ext <<_ACEOF
13683 /* end confdefs.h. */
13684 $ac_includes_default
13688 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
13695 rm -f conftest.
$ac_objext
13696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13697 (eval $ac_compile) 2>conftest.er1
13699 grep -v '^ *+' conftest.er1
>conftest.err
13701 cat conftest.err
>&5
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); } &&
13704 { ac_try
='test -z "$ac_c_werror_flag"
13705 || test ! -s conftest.err'
13706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13707 (eval $ac_try) 2>&5
13709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13710 (exit $ac_status); }; } &&
13711 { ac_try
='test -s conftest.$ac_objext'
13712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13713 (eval $ac_try) 2>&5
13715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13716 (exit $ac_status); }; }; then
13717 ac_hi
=$ac_mid; break
13719 echo "$as_me: failed program was:" >&5
13720 sed 's/^/| /' conftest.
$ac_ext >&5
13722 ac_lo
=`expr $ac_mid + 1`
13723 if test $ac_lo -le $ac_mid; then
13727 ac_mid
=`expr 2 '*' $ac_mid + 1`
13729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13732 echo "$as_me: failed program was:" >&5
13733 sed 's/^/| /' conftest.
$ac_ext >&5
13735 cat >conftest.
$ac_ext <<_ACEOF
13738 cat confdefs.h
>>conftest.
$ac_ext
13739 cat >>conftest.
$ac_ext <<_ACEOF
13740 /* end confdefs.h. */
13741 $ac_includes_default
13745 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
13752 rm -f conftest.
$ac_objext
13753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13754 (eval $ac_compile) 2>conftest.er1
13756 grep -v '^ *+' conftest.er1
>conftest.err
13758 cat conftest.err
>&5
13759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13760 (exit $ac_status); } &&
13761 { ac_try
='test -z "$ac_c_werror_flag"
13762 || test ! -s conftest.err'
13763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13764 (eval $ac_try) 2>&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); }; } &&
13768 { ac_try
='test -s conftest.$ac_objext'
13769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13770 (eval $ac_try) 2>&5
13772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13773 (exit $ac_status); }; }; then
13776 cat >conftest.
$ac_ext <<_ACEOF
13779 cat confdefs.h
>>conftest.
$ac_ext
13780 cat >>conftest.
$ac_ext <<_ACEOF
13781 /* end confdefs.h. */
13782 $ac_includes_default
13786 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
13793 rm -f conftest.
$ac_objext
13794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13795 (eval $ac_compile) 2>conftest.er1
13797 grep -v '^ *+' conftest.er1
>conftest.err
13799 cat conftest.err
>&5
13800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801 (exit $ac_status); } &&
13802 { ac_try
='test -z "$ac_c_werror_flag"
13803 || test ! -s conftest.err'
13804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13805 (eval $ac_try) 2>&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); }; } &&
13809 { ac_try
='test -s conftest.$ac_objext'
13810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13811 (eval $ac_try) 2>&5
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); }; }; then
13815 ac_lo
=$ac_mid; break
13817 echo "$as_me: failed program was:" >&5
13818 sed 's/^/| /' conftest.
$ac_ext >&5
13820 ac_hi
=`expr '(' $ac_mid ')' - 1`
13821 if test $ac_mid -le $ac_hi; then
13825 ac_mid
=`expr 2 '*' $ac_mid`
13827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13830 echo "$as_me: failed program was:" >&5
13831 sed 's/^/| /' conftest.
$ac_ext >&5
13835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13838 # Binary search between lo and hi bounds.
13839 while test "x$ac_lo" != "x$ac_hi"; do
13840 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13841 cat >conftest.
$ac_ext <<_ACEOF
13844 cat confdefs.h
>>conftest.
$ac_ext
13845 cat >>conftest.
$ac_ext <<_ACEOF
13846 /* end confdefs.h. */
13847 $ac_includes_default
13851 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
13858 rm -f conftest.
$ac_objext
13859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13860 (eval $ac_compile) 2>conftest.er1
13862 grep -v '^ *+' conftest.er1
>conftest.err
13864 cat conftest.err
>&5
13865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 (exit $ac_status); } &&
13867 { ac_try
='test -z "$ac_c_werror_flag"
13868 || test ! -s conftest.err'
13869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13870 (eval $ac_try) 2>&5
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); }; } &&
13874 { ac_try
='test -s conftest.$ac_objext'
13875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13876 (eval $ac_try) 2>&5
13878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879 (exit $ac_status); }; }; then
13882 echo "$as_me: failed program was:" >&5
13883 sed 's/^/| /' conftest.
$ac_ext >&5
13885 ac_lo
=`expr '(' $ac_mid ')' + 1`
13887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13890 ?
*) ac_cv_sizeof_long
=$ac_lo;;
13891 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
13892 See \`config.log' for more details." >&5
13893 echo "$as_me: error: cannot compute sizeof (long), 77
13894 See \`config.log' for more details." >&2;}
13895 { (exit 1); exit 1; }; } ;;
13898 if test "$cross_compiling" = yes; then
13899 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13900 See \`config.log' for more details." >&5
13901 echo "$as_me: error: cannot run test program while cross compiling
13902 See \`config.log' for more details." >&2;}
13903 { (exit 1); exit 1; }; }
13905 cat >conftest.
$ac_ext <<_ACEOF
13908 cat confdefs.h
>>conftest.
$ac_ext
13909 cat >>conftest.
$ac_ext <<_ACEOF
13910 /* end confdefs.h. */
13911 $ac_includes_default
13912 long longval () { return (long) (sizeof (long)); }
13913 unsigned long ulongval () { return (long) (sizeof (long)); }
13915 #include <stdlib.h>
13920 FILE *f = fopen ("conftest.val", "w");
13923 if (((long) (sizeof (long))) < 0)
13925 long i = longval ();
13926 if (i != ((long) (sizeof (long))))
13928 fprintf (f, "%ld\n", i);
13932 unsigned long i = ulongval ();
13933 if (i != ((long) (sizeof (long))))
13935 fprintf (f, "%lu\n", i);
13937 exit (ferror (f) || fclose (f) != 0);
13943 rm -f conftest
$ac_exeext
13944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13945 (eval $ac_link) 2>&5
13947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13948 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13950 (eval $ac_try) 2>&5
13952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13953 (exit $ac_status); }; }; then
13954 ac_cv_sizeof_long
=`cat conftest.val`
13956 echo "$as_me: program exited with status $ac_status" >&5
13957 echo "$as_me: failed program was:" >&5
13958 sed 's/^/| /' conftest.
$ac_ext >&5
13960 ( exit $ac_status )
13961 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
13962 See \`config.log' for more details." >&5
13963 echo "$as_me: error: cannot compute sizeof (long), 77
13964 See \`config.log' for more details." >&2;}
13965 { (exit 1); exit 1; }; }
13967 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13972 ac_cv_sizeof_long
=0
13975 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
13976 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
13977 cat >>confdefs.h
<<_ACEOF
13978 #define SIZEOF_LONG $ac_cv_sizeof_long
13984 if test $acx_cv_header_stdint = stddef.h
; then
13985 # Lacking a good header? Test size of everything and deduce all types.
13986 echo "$as_me:$LINENO: checking for int" >&5
13987 echo $ECHO_N "checking for int... $ECHO_C" >&6
13988 if test "${ac_cv_type_int+set}" = set; then
13989 echo $ECHO_N "(cached) $ECHO_C" >&6
13991 cat >conftest.
$ac_ext <<_ACEOF
13994 cat confdefs.h
>>conftest.
$ac_ext
13995 cat >>conftest.
$ac_ext <<_ACEOF
13996 /* end confdefs.h. */
13997 $ac_includes_default
14009 rm -f conftest.
$ac_objext
14010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14011 (eval $ac_compile) 2>conftest.er1
14013 grep -v '^ *+' conftest.er1
>conftest.err
14015 cat conftest.err
>&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); } &&
14018 { ac_try
='test -z "$ac_c_werror_flag"
14019 || test ! -s conftest.err'
14020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14021 (eval $ac_try) 2>&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); }; } &&
14025 { ac_try
='test -s conftest.$ac_objext'
14026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14027 (eval $ac_try) 2>&5
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); }; }; then
14033 echo "$as_me: failed program was:" >&5
14034 sed 's/^/| /' conftest.
$ac_ext >&5
14038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14040 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14041 echo "${ECHO_T}$ac_cv_type_int" >&6
14043 echo "$as_me:$LINENO: checking size of int" >&5
14044 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14045 if test "${ac_cv_sizeof_int+set}" = set; then
14046 echo $ECHO_N "(cached) $ECHO_C" >&6
14048 if test "$ac_cv_type_int" = yes; then
14049 # The cast to unsigned long works around a bug in the HP C Compiler
14050 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14051 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14052 # This bug is HP SR number 8606223364.
14053 if test "$cross_compiling" = yes; then
14054 # Depending upon the size, compute the lo and hi bounds.
14055 cat >conftest.
$ac_ext <<_ACEOF
14058 cat confdefs.h
>>conftest.
$ac_ext
14059 cat >>conftest.
$ac_ext <<_ACEOF
14060 /* end confdefs.h. */
14061 $ac_includes_default
14065 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14072 rm -f conftest.
$ac_objext
14073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14074 (eval $ac_compile) 2>conftest.er1
14076 grep -v '^ *+' conftest.er1
>conftest.err
14078 cat conftest.err
>&5
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); } &&
14081 { ac_try
='test -z "$ac_c_werror_flag"
14082 || test ! -s conftest.err'
14083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14084 (eval $ac_try) 2>&5
14086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14087 (exit $ac_status); }; } &&
14088 { ac_try
='test -s conftest.$ac_objext'
14089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14090 (eval $ac_try) 2>&5
14092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14093 (exit $ac_status); }; }; then
14096 cat >conftest.
$ac_ext <<_ACEOF
14099 cat confdefs.h
>>conftest.
$ac_ext
14100 cat >>conftest.
$ac_ext <<_ACEOF
14101 /* end confdefs.h. */
14102 $ac_includes_default
14106 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14113 rm -f conftest.
$ac_objext
14114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14115 (eval $ac_compile) 2>conftest.er1
14117 grep -v '^ *+' conftest.er1
>conftest.err
14119 cat conftest.err
>&5
14120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14121 (exit $ac_status); } &&
14122 { ac_try
='test -z "$ac_c_werror_flag"
14123 || test ! -s conftest.err'
14124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14125 (eval $ac_try) 2>&5
14127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14128 (exit $ac_status); }; } &&
14129 { ac_try
='test -s conftest.$ac_objext'
14130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14131 (eval $ac_try) 2>&5
14133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14134 (exit $ac_status); }; }; then
14135 ac_hi
=$ac_mid; break
14137 echo "$as_me: failed program was:" >&5
14138 sed 's/^/| /' conftest.
$ac_ext >&5
14140 ac_lo
=`expr $ac_mid + 1`
14141 if test $ac_lo -le $ac_mid; then
14145 ac_mid
=`expr 2 '*' $ac_mid + 1`
14147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14150 echo "$as_me: failed program was:" >&5
14151 sed 's/^/| /' conftest.
$ac_ext >&5
14153 cat >conftest.
$ac_ext <<_ACEOF
14156 cat confdefs.h
>>conftest.
$ac_ext
14157 cat >>conftest.
$ac_ext <<_ACEOF
14158 /* end confdefs.h. */
14159 $ac_includes_default
14163 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14170 rm -f conftest.
$ac_objext
14171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14172 (eval $ac_compile) 2>conftest.er1
14174 grep -v '^ *+' conftest.er1
>conftest.err
14176 cat conftest.err
>&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); } &&
14179 { ac_try
='test -z "$ac_c_werror_flag"
14180 || test ! -s conftest.err'
14181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14182 (eval $ac_try) 2>&5
14184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14185 (exit $ac_status); }; } &&
14186 { ac_try
='test -s conftest.$ac_objext'
14187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14188 (eval $ac_try) 2>&5
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); }; }; then
14194 cat >conftest.
$ac_ext <<_ACEOF
14197 cat confdefs.h
>>conftest.
$ac_ext
14198 cat >>conftest.
$ac_ext <<_ACEOF
14199 /* end confdefs.h. */
14200 $ac_includes_default
14204 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14211 rm -f conftest.
$ac_objext
14212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14213 (eval $ac_compile) 2>conftest.er1
14215 grep -v '^ *+' conftest.er1
>conftest.err
14217 cat conftest.err
>&5
14218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219 (exit $ac_status); } &&
14220 { ac_try
='test -z "$ac_c_werror_flag"
14221 || test ! -s conftest.err'
14222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14223 (eval $ac_try) 2>&5
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 (exit $ac_status); }; } &&
14227 { ac_try
='test -s conftest.$ac_objext'
14228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14229 (eval $ac_try) 2>&5
14231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14232 (exit $ac_status); }; }; then
14233 ac_lo
=$ac_mid; break
14235 echo "$as_me: failed program was:" >&5
14236 sed 's/^/| /' conftest.
$ac_ext >&5
14238 ac_hi
=`expr '(' $ac_mid ')' - 1`
14239 if test $ac_mid -le $ac_hi; then
14243 ac_mid
=`expr 2 '*' $ac_mid`
14245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14248 echo "$as_me: failed program was:" >&5
14249 sed 's/^/| /' conftest.
$ac_ext >&5
14253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14256 # Binary search between lo and hi bounds.
14257 while test "x$ac_lo" != "x$ac_hi"; do
14258 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14259 cat >conftest.
$ac_ext <<_ACEOF
14262 cat confdefs.h
>>conftest.
$ac_ext
14263 cat >>conftest.
$ac_ext <<_ACEOF
14264 /* end confdefs.h. */
14265 $ac_includes_default
14269 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14276 rm -f conftest.
$ac_objext
14277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14278 (eval $ac_compile) 2>conftest.er1
14280 grep -v '^ *+' conftest.er1
>conftest.err
14282 cat conftest.err
>&5
14283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14284 (exit $ac_status); } &&
14285 { ac_try
='test -z "$ac_c_werror_flag"
14286 || test ! -s conftest.err'
14287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14288 (eval $ac_try) 2>&5
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); }; } &&
14292 { ac_try
='test -s conftest.$ac_objext'
14293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14294 (eval $ac_try) 2>&5
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); }; }; then
14300 echo "$as_me: failed program was:" >&5
14301 sed 's/^/| /' conftest.
$ac_ext >&5
14303 ac_lo
=`expr '(' $ac_mid ')' + 1`
14305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14308 ?
*) ac_cv_sizeof_int
=$ac_lo;;
14309 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14310 See \`config.log' for more details." >&5
14311 echo "$as_me: error: cannot compute sizeof (int), 77
14312 See \`config.log' for more details." >&2;}
14313 { (exit 1); exit 1; }; } ;;
14316 if test "$cross_compiling" = yes; then
14317 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14318 See \`config.log' for more details." >&5
14319 echo "$as_me: error: cannot run test program while cross compiling
14320 See \`config.log' for more details." >&2;}
14321 { (exit 1); exit 1; }; }
14323 cat >conftest.
$ac_ext <<_ACEOF
14326 cat confdefs.h
>>conftest.
$ac_ext
14327 cat >>conftest.
$ac_ext <<_ACEOF
14328 /* end confdefs.h. */
14329 $ac_includes_default
14330 long longval () { return (long) (sizeof (int)); }
14331 unsigned long ulongval () { return (long) (sizeof (int)); }
14333 #include <stdlib.h>
14338 FILE *f = fopen ("conftest.val", "w");
14341 if (((long) (sizeof (int))) < 0)
14343 long i = longval ();
14344 if (i != ((long) (sizeof (int))))
14346 fprintf (f, "%ld\n", i);
14350 unsigned long i = ulongval ();
14351 if (i != ((long) (sizeof (int))))
14353 fprintf (f, "%lu\n", i);
14355 exit (ferror (f) || fclose (f) != 0);
14361 rm -f conftest
$ac_exeext
14362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14363 (eval $ac_link) 2>&5
14365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14368 (eval $ac_try) 2>&5
14370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14371 (exit $ac_status); }; }; then
14372 ac_cv_sizeof_int
=`cat conftest.val`
14374 echo "$as_me: program exited with status $ac_status" >&5
14375 echo "$as_me: failed program was:" >&5
14376 sed 's/^/| /' conftest.
$ac_ext >&5
14378 ( exit $ac_status )
14379 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14380 See \`config.log' for more details." >&5
14381 echo "$as_me: error: cannot compute sizeof (int), 77
14382 See \`config.log' for more details." >&2;}
14383 { (exit 1); exit 1; }; }
14385 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14393 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14394 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
14395 cat >>confdefs.h
<<_ACEOF
14396 #define SIZEOF_INT $ac_cv_sizeof_int
14400 echo "$as_me:$LINENO: checking for short" >&5
14401 echo $ECHO_N "checking for short... $ECHO_C" >&6
14402 if test "${ac_cv_type_short+set}" = set; then
14403 echo $ECHO_N "(cached) $ECHO_C" >&6
14405 cat >conftest.
$ac_ext <<_ACEOF
14408 cat confdefs.h
>>conftest.
$ac_ext
14409 cat >>conftest.
$ac_ext <<_ACEOF
14410 /* end confdefs.h. */
14411 $ac_includes_default
14417 if (sizeof (short))
14423 rm -f conftest.
$ac_objext
14424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14425 (eval $ac_compile) 2>conftest.er1
14427 grep -v '^ *+' conftest.er1
>conftest.err
14429 cat conftest.err
>&5
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); } &&
14432 { ac_try
='test -z "$ac_c_werror_flag"
14433 || test ! -s conftest.err'
14434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14435 (eval $ac_try) 2>&5
14437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14438 (exit $ac_status); }; } &&
14439 { ac_try
='test -s conftest.$ac_objext'
14440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14441 (eval $ac_try) 2>&5
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); }; }; then
14445 ac_cv_type_short
=yes
14447 echo "$as_me: failed program was:" >&5
14448 sed 's/^/| /' conftest.
$ac_ext >&5
14450 ac_cv_type_short
=no
14452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14454 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14455 echo "${ECHO_T}$ac_cv_type_short" >&6
14457 echo "$as_me:$LINENO: checking size of short" >&5
14458 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14459 if test "${ac_cv_sizeof_short+set}" = set; then
14460 echo $ECHO_N "(cached) $ECHO_C" >&6
14462 if test "$ac_cv_type_short" = yes; then
14463 # The cast to unsigned long works around a bug in the HP C Compiler
14464 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14465 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14466 # This bug is HP SR number 8606223364.
14467 if test "$cross_compiling" = yes; then
14468 # Depending upon the size, compute the lo and hi bounds.
14469 cat >conftest.
$ac_ext <<_ACEOF
14472 cat confdefs.h
>>conftest.
$ac_ext
14473 cat >>conftest.
$ac_ext <<_ACEOF
14474 /* end confdefs.h. */
14475 $ac_includes_default
14479 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14486 rm -f conftest.
$ac_objext
14487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14488 (eval $ac_compile) 2>conftest.er1
14490 grep -v '^ *+' conftest.er1
>conftest.err
14492 cat conftest.err
>&5
14493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14494 (exit $ac_status); } &&
14495 { ac_try
='test -z "$ac_c_werror_flag"
14496 || test ! -s conftest.err'
14497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14498 (eval $ac_try) 2>&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); }; } &&
14502 { ac_try
='test -s conftest.$ac_objext'
14503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14504 (eval $ac_try) 2>&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); }; }; then
14510 cat >conftest.
$ac_ext <<_ACEOF
14513 cat confdefs.h
>>conftest.
$ac_ext
14514 cat >>conftest.
$ac_ext <<_ACEOF
14515 /* end confdefs.h. */
14516 $ac_includes_default
14520 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14527 rm -f conftest.
$ac_objext
14528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14529 (eval $ac_compile) 2>conftest.er1
14531 grep -v '^ *+' conftest.er1
>conftest.err
14533 cat conftest.err
>&5
14534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14535 (exit $ac_status); } &&
14536 { ac_try
='test -z "$ac_c_werror_flag"
14537 || test ! -s conftest.err'
14538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14539 (eval $ac_try) 2>&5
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); }; } &&
14543 { ac_try
='test -s conftest.$ac_objext'
14544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14545 (eval $ac_try) 2>&5
14547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14548 (exit $ac_status); }; }; then
14549 ac_hi
=$ac_mid; break
14551 echo "$as_me: failed program was:" >&5
14552 sed 's/^/| /' conftest.
$ac_ext >&5
14554 ac_lo
=`expr $ac_mid + 1`
14555 if test $ac_lo -le $ac_mid; then
14559 ac_mid
=`expr 2 '*' $ac_mid + 1`
14561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14564 echo "$as_me: failed program was:" >&5
14565 sed 's/^/| /' conftest.
$ac_ext >&5
14567 cat >conftest.
$ac_ext <<_ACEOF
14570 cat confdefs.h
>>conftest.
$ac_ext
14571 cat >>conftest.
$ac_ext <<_ACEOF
14572 /* end confdefs.h. */
14573 $ac_includes_default
14577 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14584 rm -f conftest.
$ac_objext
14585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14586 (eval $ac_compile) 2>conftest.er1
14588 grep -v '^ *+' conftest.er1
>conftest.err
14590 cat conftest.err
>&5
14591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14592 (exit $ac_status); } &&
14593 { ac_try
='test -z "$ac_c_werror_flag"
14594 || test ! -s conftest.err'
14595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14596 (eval $ac_try) 2>&5
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); }; } &&
14600 { ac_try
='test -s conftest.$ac_objext'
14601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14602 (eval $ac_try) 2>&5
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); }; }; then
14608 cat >conftest.
$ac_ext <<_ACEOF
14611 cat confdefs.h
>>conftest.
$ac_ext
14612 cat >>conftest.
$ac_ext <<_ACEOF
14613 /* end confdefs.h. */
14614 $ac_includes_default
14618 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14625 rm -f conftest.
$ac_objext
14626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14627 (eval $ac_compile) 2>conftest.er1
14629 grep -v '^ *+' conftest.er1
>conftest.err
14631 cat conftest.err
>&5
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); } &&
14634 { ac_try
='test -z "$ac_c_werror_flag"
14635 || test ! -s conftest.err'
14636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14637 (eval $ac_try) 2>&5
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); }; } &&
14641 { ac_try
='test -s conftest.$ac_objext'
14642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14643 (eval $ac_try) 2>&5
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); }; }; then
14647 ac_lo
=$ac_mid; break
14649 echo "$as_me: failed program was:" >&5
14650 sed 's/^/| /' conftest.
$ac_ext >&5
14652 ac_hi
=`expr '(' $ac_mid ')' - 1`
14653 if test $ac_mid -le $ac_hi; then
14657 ac_mid
=`expr 2 '*' $ac_mid`
14659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14662 echo "$as_me: failed program was:" >&5
14663 sed 's/^/| /' conftest.
$ac_ext >&5
14667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14670 # Binary search between lo and hi bounds.
14671 while test "x$ac_lo" != "x$ac_hi"; do
14672 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14673 cat >conftest.
$ac_ext <<_ACEOF
14676 cat confdefs.h
>>conftest.
$ac_ext
14677 cat >>conftest.
$ac_ext <<_ACEOF
14678 /* end confdefs.h. */
14679 $ac_includes_default
14683 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14690 rm -f conftest.
$ac_objext
14691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14692 (eval $ac_compile) 2>conftest.er1
14694 grep -v '^ *+' conftest.er1
>conftest.err
14696 cat conftest.err
>&5
14697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698 (exit $ac_status); } &&
14699 { ac_try
='test -z "$ac_c_werror_flag"
14700 || test ! -s conftest.err'
14701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14702 (eval $ac_try) 2>&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); }; } &&
14706 { ac_try
='test -s conftest.$ac_objext'
14707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14708 (eval $ac_try) 2>&5
14710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14711 (exit $ac_status); }; }; then
14714 echo "$as_me: failed program was:" >&5
14715 sed 's/^/| /' conftest.
$ac_ext >&5
14717 ac_lo
=`expr '(' $ac_mid ')' + 1`
14719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14722 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14723 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14724 See \`config.log' for more details." >&5
14725 echo "$as_me: error: cannot compute sizeof (short), 77
14726 See \`config.log' for more details." >&2;}
14727 { (exit 1); exit 1; }; } ;;
14730 if test "$cross_compiling" = yes; then
14731 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14732 See \`config.log' for more details." >&5
14733 echo "$as_me: error: cannot run test program while cross compiling
14734 See \`config.log' for more details." >&2;}
14735 { (exit 1); exit 1; }; }
14737 cat >conftest.
$ac_ext <<_ACEOF
14740 cat confdefs.h
>>conftest.
$ac_ext
14741 cat >>conftest.
$ac_ext <<_ACEOF
14742 /* end confdefs.h. */
14743 $ac_includes_default
14744 long longval () { return (long) (sizeof (short)); }
14745 unsigned long ulongval () { return (long) (sizeof (short)); }
14747 #include <stdlib.h>
14752 FILE *f = fopen ("conftest.val", "w");
14755 if (((long) (sizeof (short))) < 0)
14757 long i = longval ();
14758 if (i != ((long) (sizeof (short))))
14760 fprintf (f, "%ld\n", i);
14764 unsigned long i = ulongval ();
14765 if (i != ((long) (sizeof (short))))
14767 fprintf (f, "%lu\n", i);
14769 exit (ferror (f) || fclose (f) != 0);
14775 rm -f conftest
$ac_exeext
14776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14777 (eval $ac_link) 2>&5
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14782 (eval $ac_try) 2>&5
14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14785 (exit $ac_status); }; }; then
14786 ac_cv_sizeof_short
=`cat conftest.val`
14788 echo "$as_me: program exited with status $ac_status" >&5
14789 echo "$as_me: failed program was:" >&5
14790 sed 's/^/| /' conftest.
$ac_ext >&5
14792 ( exit $ac_status )
14793 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14794 See \`config.log' for more details." >&5
14795 echo "$as_me: error: cannot compute sizeof (short), 77
14796 See \`config.log' for more details." >&2;}
14797 { (exit 1); exit 1; }; }
14799 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14804 ac_cv_sizeof_short
=0
14807 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14808 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14809 cat >>confdefs.h
<<_ACEOF
14810 #define SIZEOF_SHORT $ac_cv_sizeof_short
14814 echo "$as_me:$LINENO: checking for char" >&5
14815 echo $ECHO_N "checking for char... $ECHO_C" >&6
14816 if test "${ac_cv_type_char+set}" = set; then
14817 echo $ECHO_N "(cached) $ECHO_C" >&6
14819 cat >conftest.
$ac_ext <<_ACEOF
14822 cat confdefs.h
>>conftest.
$ac_ext
14823 cat >>conftest.
$ac_ext <<_ACEOF
14824 /* end confdefs.h. */
14825 $ac_includes_default
14837 rm -f conftest.
$ac_objext
14838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14839 (eval $ac_compile) 2>conftest.er1
14841 grep -v '^ *+' conftest.er1
>conftest.err
14843 cat conftest.err
>&5
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); } &&
14846 { ac_try
='test -z "$ac_c_werror_flag"
14847 || test ! -s conftest.err'
14848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14849 (eval $ac_try) 2>&5
14851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14852 (exit $ac_status); }; } &&
14853 { ac_try
='test -s conftest.$ac_objext'
14854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14855 (eval $ac_try) 2>&5
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); }; }; then
14859 ac_cv_type_char
=yes
14861 echo "$as_me: failed program was:" >&5
14862 sed 's/^/| /' conftest.
$ac_ext >&5
14866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14868 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14869 echo "${ECHO_T}$ac_cv_type_char" >&6
14871 echo "$as_me:$LINENO: checking size of char" >&5
14872 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14873 if test "${ac_cv_sizeof_char+set}" = set; then
14874 echo $ECHO_N "(cached) $ECHO_C" >&6
14876 if test "$ac_cv_type_char" = yes; then
14877 # The cast to unsigned long works around a bug in the HP C Compiler
14878 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14879 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14880 # This bug is HP SR number 8606223364.
14881 if test "$cross_compiling" = yes; then
14882 # Depending upon the size, compute the lo and hi bounds.
14883 cat >conftest.
$ac_ext <<_ACEOF
14886 cat confdefs.h
>>conftest.
$ac_ext
14887 cat >>conftest.
$ac_ext <<_ACEOF
14888 /* end confdefs.h. */
14889 $ac_includes_default
14893 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14900 rm -f conftest.
$ac_objext
14901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14902 (eval $ac_compile) 2>conftest.er1
14904 grep -v '^ *+' conftest.er1
>conftest.err
14906 cat conftest.err
>&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); } &&
14909 { ac_try
='test -z "$ac_c_werror_flag"
14910 || test ! -s conftest.err'
14911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14912 (eval $ac_try) 2>&5
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); }; } &&
14916 { ac_try
='test -s conftest.$ac_objext'
14917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14918 (eval $ac_try) 2>&5
14920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921 (exit $ac_status); }; }; then
14924 cat >conftest.
$ac_ext <<_ACEOF
14927 cat confdefs.h
>>conftest.
$ac_ext
14928 cat >>conftest.
$ac_ext <<_ACEOF
14929 /* end confdefs.h. */
14930 $ac_includes_default
14934 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14941 rm -f conftest.
$ac_objext
14942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14943 (eval $ac_compile) 2>conftest.er1
14945 grep -v '^ *+' conftest.er1
>conftest.err
14947 cat conftest.err
>&5
14948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14949 (exit $ac_status); } &&
14950 { ac_try
='test -z "$ac_c_werror_flag"
14951 || test ! -s conftest.err'
14952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14953 (eval $ac_try) 2>&5
14955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956 (exit $ac_status); }; } &&
14957 { ac_try
='test -s conftest.$ac_objext'
14958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14959 (eval $ac_try) 2>&5
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); }; }; then
14963 ac_hi
=$ac_mid; break
14965 echo "$as_me: failed program was:" >&5
14966 sed 's/^/| /' conftest.
$ac_ext >&5
14968 ac_lo
=`expr $ac_mid + 1`
14969 if test $ac_lo -le $ac_mid; then
14973 ac_mid
=`expr 2 '*' $ac_mid + 1`
14975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14978 echo "$as_me: failed program was:" >&5
14979 sed 's/^/| /' conftest.
$ac_ext >&5
14981 cat >conftest.
$ac_ext <<_ACEOF
14984 cat confdefs.h
>>conftest.
$ac_ext
14985 cat >>conftest.
$ac_ext <<_ACEOF
14986 /* end confdefs.h. */
14987 $ac_includes_default
14991 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14998 rm -f conftest.
$ac_objext
14999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15000 (eval $ac_compile) 2>conftest.er1
15002 grep -v '^ *+' conftest.er1
>conftest.err
15004 cat conftest.err
>&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); } &&
15007 { ac_try
='test -z "$ac_c_werror_flag"
15008 || test ! -s conftest.err'
15009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15010 (eval $ac_try) 2>&5
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); }; } &&
15014 { ac_try
='test -s conftest.$ac_objext'
15015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15016 (eval $ac_try) 2>&5
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); }; }; then
15022 cat >conftest.
$ac_ext <<_ACEOF
15025 cat confdefs.h
>>conftest.
$ac_ext
15026 cat >>conftest.
$ac_ext <<_ACEOF
15027 /* end confdefs.h. */
15028 $ac_includes_default
15032 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15039 rm -f conftest.
$ac_objext
15040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15041 (eval $ac_compile) 2>conftest.er1
15043 grep -v '^ *+' conftest.er1
>conftest.err
15045 cat conftest.err
>&5
15046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047 (exit $ac_status); } &&
15048 { ac_try
='test -z "$ac_c_werror_flag"
15049 || test ! -s conftest.err'
15050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15051 (eval $ac_try) 2>&5
15053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054 (exit $ac_status); }; } &&
15055 { ac_try
='test -s conftest.$ac_objext'
15056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15057 (eval $ac_try) 2>&5
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 (exit $ac_status); }; }; then
15061 ac_lo
=$ac_mid; break
15063 echo "$as_me: failed program was:" >&5
15064 sed 's/^/| /' conftest.
$ac_ext >&5
15066 ac_hi
=`expr '(' $ac_mid ')' - 1`
15067 if test $ac_mid -le $ac_hi; then
15071 ac_mid
=`expr 2 '*' $ac_mid`
15073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15076 echo "$as_me: failed program was:" >&5
15077 sed 's/^/| /' conftest.
$ac_ext >&5
15081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15084 # Binary search between lo and hi bounds.
15085 while test "x$ac_lo" != "x$ac_hi"; do
15086 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15087 cat >conftest.
$ac_ext <<_ACEOF
15090 cat confdefs.h
>>conftest.
$ac_ext
15091 cat >>conftest.
$ac_ext <<_ACEOF
15092 /* end confdefs.h. */
15093 $ac_includes_default
15097 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15104 rm -f conftest.
$ac_objext
15105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15106 (eval $ac_compile) 2>conftest.er1
15108 grep -v '^ *+' conftest.er1
>conftest.err
15110 cat conftest.err
>&5
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); } &&
15113 { ac_try
='test -z "$ac_c_werror_flag"
15114 || test ! -s conftest.err'
15115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15116 (eval $ac_try) 2>&5
15118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15119 (exit $ac_status); }; } &&
15120 { ac_try
='test -s conftest.$ac_objext'
15121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15122 (eval $ac_try) 2>&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); }; }; then
15128 echo "$as_me: failed program was:" >&5
15129 sed 's/^/| /' conftest.
$ac_ext >&5
15131 ac_lo
=`expr '(' $ac_mid ')' + 1`
15133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15136 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15137 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15138 See \`config.log' for more details." >&5
15139 echo "$as_me: error: cannot compute sizeof (char), 77
15140 See \`config.log' for more details." >&2;}
15141 { (exit 1); exit 1; }; } ;;
15144 if test "$cross_compiling" = yes; then
15145 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15146 See \`config.log' for more details." >&5
15147 echo "$as_me: error: cannot run test program while cross compiling
15148 See \`config.log' for more details." >&2;}
15149 { (exit 1); exit 1; }; }
15151 cat >conftest.
$ac_ext <<_ACEOF
15154 cat confdefs.h
>>conftest.
$ac_ext
15155 cat >>conftest.
$ac_ext <<_ACEOF
15156 /* end confdefs.h. */
15157 $ac_includes_default
15158 long longval () { return (long) (sizeof (char)); }
15159 unsigned long ulongval () { return (long) (sizeof (char)); }
15161 #include <stdlib.h>
15166 FILE *f = fopen ("conftest.val", "w");
15169 if (((long) (sizeof (char))) < 0)
15171 long i = longval ();
15172 if (i != ((long) (sizeof (char))))
15174 fprintf (f, "%ld\n", i);
15178 unsigned long i = ulongval ();
15179 if (i != ((long) (sizeof (char))))
15181 fprintf (f, "%lu\n", i);
15183 exit (ferror (f) || fclose (f) != 0);
15189 rm -f conftest
$ac_exeext
15190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15191 (eval $ac_link) 2>&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15196 (eval $ac_try) 2>&5
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); }; }; then
15200 ac_cv_sizeof_char
=`cat conftest.val`
15202 echo "$as_me: program exited with status $ac_status" >&5
15203 echo "$as_me: failed program was:" >&5
15204 sed 's/^/| /' conftest.
$ac_ext >&5
15206 ( exit $ac_status )
15207 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15208 See \`config.log' for more details." >&5
15209 echo "$as_me: error: cannot compute sizeof (char), 77
15210 See \`config.log' for more details." >&2;}
15211 { (exit 1); exit 1; }; }
15213 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15218 ac_cv_sizeof_char
=0
15221 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15222 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15223 cat >>confdefs.h
<<_ACEOF
15224 #define SIZEOF_CHAR $ac_cv_sizeof_char
15229 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
15230 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
15231 case "$ac_cv_sizeof_char" in
15232 1) acx_cv_type_int8_t
=char
;;
15233 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
15234 echo "$as_me: error: no 8-bit type" >&2;}
15235 { (exit please report a bug
); exit please report a bug
; }; }
15237 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
15238 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
15240 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
15241 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
15242 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15243 2:*) acx_cv_type_int16_t
=int
;;
15244 *:2) acx_cv_type_int16_t
=short
;;
15245 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
15246 echo "$as_me: error: no 16-bit type" >&2;}
15247 { (exit please report a bug
); exit please report a bug
; }; }
15249 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
15250 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
15252 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
15253 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
15254 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15255 4:*) acx_cv_type_int32_t
=int
;;
15256 *:4) acx_cv_type_int32_t
=long
;;
15257 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
15258 echo "$as_me: error: no 32-bit type" >&2;}
15259 { (exit please report a bug
); exit please report a bug
; }; }
15261 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
15262 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
15265 # These tests are here to make the output prettier
15267 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15268 case "$ac_cv_sizeof_long" in
15269 8) acx_cv_type_int64_t
=long
;;
15271 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
15272 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
15273 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15274 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
15277 # Now we can use the above types
15279 if test "$ac_cv_type_uintptr_t" != yes; then
15280 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
15281 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
15282 case $ac_cv_sizeof_void_p in
15283 2) acx_cv_type_intptr_t
=int16_t
;;
15284 4) acx_cv_type_intptr_t
=int32_t
;;
15285 8) acx_cv_type_intptr_t
=int64_t
;;
15286 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
15287 echo "$as_me: error: no equivalent for intptr_t" >&2;}
15288 { (exit please report a bug
); exit please report a bug
; }; }
15290 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
15291 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
15294 # ----------------- done all checks, emit header -------------
15295 ac_config_commands
="$ac_config_commands bfd_stdint.h"
15299 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
15300 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
15301 if test "${ac_cv_header_time+set}" = set; then
15302 echo $ECHO_N "(cached) $ECHO_C" >&6
15304 cat >conftest.
$ac_ext <<_ACEOF
15307 cat confdefs.h
>>conftest.
$ac_ext
15308 cat >>conftest.
$ac_ext <<_ACEOF
15309 /* end confdefs.h. */
15310 #include <sys/types.h>
15311 #include <sys/time.h>
15317 if ((struct tm *) 0)
15323 rm -f conftest.
$ac_objext
15324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15325 (eval $ac_compile) 2>conftest.er1
15327 grep -v '^ *+' conftest.er1
>conftest.err
15329 cat conftest.err
>&5
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); } &&
15332 { ac_try
='test -z "$ac_c_werror_flag"
15333 || test ! -s conftest.err'
15334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15335 (eval $ac_try) 2>&5
15337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15338 (exit $ac_status); }; } &&
15339 { ac_try
='test -s conftest.$ac_objext'
15340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15341 (eval $ac_try) 2>&5
15343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344 (exit $ac_status); }; }; then
15345 ac_cv_header_time
=yes
15347 echo "$as_me: failed program was:" >&5
15348 sed 's/^/| /' conftest.
$ac_ext >&5
15350 ac_cv_header_time
=no
15352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15354 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
15355 echo "${ECHO_T}$ac_cv_header_time" >&6
15356 if test $ac_cv_header_time = yes; then
15358 cat >>confdefs.h
<<\_ACEOF
15359 #define TIME_WITH_SYS_TIME 1
15369 ac_header_dirent
=no
15370 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
15371 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
15372 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
15373 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
15374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15375 echo $ECHO_N "(cached) $ECHO_C" >&6
15377 cat >conftest.
$ac_ext <<_ACEOF
15380 cat confdefs.h
>>conftest.
$ac_ext
15381 cat >>conftest.
$ac_ext <<_ACEOF
15382 /* end confdefs.h. */
15383 #include <sys/types.h>
15395 rm -f conftest.
$ac_objext
15396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15397 (eval $ac_compile) 2>conftest.er1
15399 grep -v '^ *+' conftest.er1
>conftest.err
15401 cat conftest.err
>&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); } &&
15404 { ac_try
='test -z "$ac_c_werror_flag"
15405 || test ! -s conftest.err'
15406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15407 (eval $ac_try) 2>&5
15409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15410 (exit $ac_status); }; } &&
15411 { ac_try
='test -s conftest.$ac_objext'
15412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15413 (eval $ac_try) 2>&5
15415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15416 (exit $ac_status); }; }; then
15417 eval "$as_ac_Header=yes"
15419 echo "$as_me: failed program was:" >&5
15420 sed 's/^/| /' conftest.
$ac_ext >&5
15422 eval "$as_ac_Header=no"
15424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15428 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15429 cat >>confdefs.h
<<_ACEOF
15430 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
15433 ac_header_dirent
=$ac_hdr; break
15437 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
15438 if test $ac_header_dirent = dirent.h
; then
15439 echo "$as_me:$LINENO: checking for library containing opendir" >&5
15440 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
15441 if test "${ac_cv_search_opendir+set}" = set; then
15442 echo $ECHO_N "(cached) $ECHO_C" >&6
15444 ac_func_search_save_LIBS
=$LIBS
15445 ac_cv_search_opendir
=no
15446 cat >conftest.
$ac_ext <<_ACEOF
15449 cat confdefs.h
>>conftest.
$ac_ext
15450 cat >>conftest.
$ac_ext <<_ACEOF
15451 /* end confdefs.h. */
15453 /* Override any gcc2 internal prototype to avoid an error. */
15457 /* We use char because int might match the return type of a gcc2
15458 builtin and then its argument prototype would still apply. */
15468 rm -f conftest.
$ac_objext conftest
$ac_exeext
15469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15470 (eval $ac_link) 2>conftest.er1
15472 grep -v '^ *+' conftest.er1
>conftest.err
15474 cat conftest.err
>&5
15475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15476 (exit $ac_status); } &&
15477 { ac_try
='test -z "$ac_c_werror_flag"
15478 || test ! -s conftest.err'
15479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15480 (eval $ac_try) 2>&5
15482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15483 (exit $ac_status); }; } &&
15484 { ac_try
='test -s conftest$ac_exeext'
15485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15486 (eval $ac_try) 2>&5
15488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489 (exit $ac_status); }; }; then
15490 ac_cv_search_opendir
="none required"
15492 echo "$as_me: failed program was:" >&5
15493 sed 's/^/| /' conftest.
$ac_ext >&5
15496 rm -f conftest.err conftest.
$ac_objext \
15497 conftest
$ac_exeext conftest.
$ac_ext
15498 if test "$ac_cv_search_opendir" = no
; then
15499 for ac_lib
in dir
; do
15500 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15501 cat >conftest.
$ac_ext <<_ACEOF
15504 cat confdefs.h
>>conftest.
$ac_ext
15505 cat >>conftest.
$ac_ext <<_ACEOF
15506 /* end confdefs.h. */
15508 /* Override any gcc2 internal prototype to avoid an error. */
15512 /* We use char because int might match the return type of a gcc2
15513 builtin and then its argument prototype would still apply. */
15523 rm -f conftest.
$ac_objext conftest
$ac_exeext
15524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15525 (eval $ac_link) 2>conftest.er1
15527 grep -v '^ *+' conftest.er1
>conftest.err
15529 cat conftest.err
>&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); } &&
15532 { ac_try
='test -z "$ac_c_werror_flag"
15533 || test ! -s conftest.err'
15534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15535 (eval $ac_try) 2>&5
15537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15538 (exit $ac_status); }; } &&
15539 { ac_try
='test -s conftest$ac_exeext'
15540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15541 (eval $ac_try) 2>&5
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); }; }; then
15545 ac_cv_search_opendir
="-l$ac_lib"
15548 echo "$as_me: failed program was:" >&5
15549 sed 's/^/| /' conftest.
$ac_ext >&5
15552 rm -f conftest.err conftest.
$ac_objext \
15553 conftest
$ac_exeext conftest.
$ac_ext
15556 LIBS
=$ac_func_search_save_LIBS
15558 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
15559 echo "${ECHO_T}$ac_cv_search_opendir" >&6
15560 if test "$ac_cv_search_opendir" != no
; then
15561 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
15566 echo "$as_me:$LINENO: checking for library containing opendir" >&5
15567 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
15568 if test "${ac_cv_search_opendir+set}" = set; then
15569 echo $ECHO_N "(cached) $ECHO_C" >&6
15571 ac_func_search_save_LIBS
=$LIBS
15572 ac_cv_search_opendir
=no
15573 cat >conftest.
$ac_ext <<_ACEOF
15576 cat confdefs.h
>>conftest.
$ac_ext
15577 cat >>conftest.
$ac_ext <<_ACEOF
15578 /* end confdefs.h. */
15580 /* Override any gcc2 internal prototype to avoid an error. */
15584 /* We use char because int might match the return type of a gcc2
15585 builtin and then its argument prototype would still apply. */
15595 rm -f conftest.
$ac_objext conftest
$ac_exeext
15596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15597 (eval $ac_link) 2>conftest.er1
15599 grep -v '^ *+' conftest.er1
>conftest.err
15601 cat conftest.err
>&5
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); } &&
15604 { ac_try
='test -z "$ac_c_werror_flag"
15605 || test ! -s conftest.err'
15606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15607 (eval $ac_try) 2>&5
15609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15610 (exit $ac_status); }; } &&
15611 { ac_try
='test -s conftest$ac_exeext'
15612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15613 (eval $ac_try) 2>&5
15615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15616 (exit $ac_status); }; }; then
15617 ac_cv_search_opendir
="none required"
15619 echo "$as_me: failed program was:" >&5
15620 sed 's/^/| /' conftest.
$ac_ext >&5
15623 rm -f conftest.err conftest.
$ac_objext \
15624 conftest
$ac_exeext conftest.
$ac_ext
15625 if test "$ac_cv_search_opendir" = no
; then
15626 for ac_lib
in x
; do
15627 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15628 cat >conftest.
$ac_ext <<_ACEOF
15631 cat confdefs.h
>>conftest.
$ac_ext
15632 cat >>conftest.
$ac_ext <<_ACEOF
15633 /* end confdefs.h. */
15635 /* Override any gcc2 internal prototype to avoid an error. */
15639 /* We use char because int might match the return type of a gcc2
15640 builtin and then its argument prototype would still apply. */
15650 rm -f conftest.
$ac_objext conftest
$ac_exeext
15651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15652 (eval $ac_link) 2>conftest.er1
15654 grep -v '^ *+' conftest.er1
>conftest.err
15656 cat conftest.err
>&5
15657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15658 (exit $ac_status); } &&
15659 { ac_try
='test -z "$ac_c_werror_flag"
15660 || test ! -s conftest.err'
15661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15662 (eval $ac_try) 2>&5
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); }; } &&
15666 { ac_try
='test -s conftest$ac_exeext'
15667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15668 (eval $ac_try) 2>&5
15670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671 (exit $ac_status); }; }; then
15672 ac_cv_search_opendir
="-l$ac_lib"
15675 echo "$as_me: failed program was:" >&5
15676 sed 's/^/| /' conftest.
$ac_ext >&5
15679 rm -f conftest.err conftest.
$ac_objext \
15680 conftest
$ac_exeext conftest.
$ac_ext
15683 LIBS
=$ac_func_search_save_LIBS
15685 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
15686 echo "${ECHO_T}$ac_cv_search_opendir" >&6
15687 if test "$ac_cv_search_opendir" != no
; then
15688 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
15694 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
15695 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
15696 if test "${gcc_cv_header_string+set}" = set; then
15697 echo $ECHO_N "(cached) $ECHO_C" >&6
15699 cat >conftest.
$ac_ext <<_ACEOF
15702 cat confdefs.h
>>conftest.
$ac_ext
15703 cat >>conftest.
$ac_ext <<_ACEOF
15704 /* end confdefs.h. */
15705 #include <string.h>
15706 #include <strings.h>
15715 rm -f conftest.
$ac_objext
15716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15717 (eval $ac_compile) 2>conftest.er1
15719 grep -v '^ *+' conftest.er1
>conftest.err
15721 cat conftest.err
>&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); } &&
15724 { ac_try
='test -z "$ac_c_werror_flag"
15725 || test ! -s conftest.err'
15726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15727 (eval $ac_try) 2>&5
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); }; } &&
15731 { ac_try
='test -s conftest.$ac_objext'
15732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15733 (eval $ac_try) 2>&5
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); }; }; then
15737 gcc_cv_header_string
=yes
15739 echo "$as_me: failed program was:" >&5
15740 sed 's/^/| /' conftest.
$ac_ext >&5
15742 gcc_cv_header_string
=no
15744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15746 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
15747 echo "${ECHO_T}$gcc_cv_header_string" >&6
15748 if test $gcc_cv_header_string = yes; then
15750 cat >>confdefs.h
<<\_ACEOF
15751 #define STRING_WITH_STRINGS 1
15763 for ac_func
in fcntl getpagesize setitimer sysconf fdopen getuid getgid
15765 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15766 echo "$as_me:$LINENO: checking for $ac_func" >&5
15767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15768 if eval "test \"\${$as_ac_var+set}\" = set"; then
15769 echo $ECHO_N "(cached) $ECHO_C" >&6
15771 cat >conftest.
$ac_ext <<_ACEOF
15774 cat confdefs.h
>>conftest.
$ac_ext
15775 cat >>conftest.
$ac_ext <<_ACEOF
15776 /* end confdefs.h. */
15777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15779 #define $ac_func innocuous_$ac_func
15781 /* System header to define __stub macros and hopefully few prototypes,
15782 which can conflict with char $ac_func (); below.
15783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15784 <limits.h> exists even on freestanding compilers. */
15787 # include <limits.h>
15789 # include <assert.h>
15794 /* Override any gcc2 internal prototype to avoid an error. */
15799 /* We use char because int might match the return type of a gcc2
15800 builtin and then its argument prototype would still apply. */
15802 /* The GNU C library defines this for functions which it implements
15803 to always fail with ENOSYS. Some functions are actually named
15804 something starting with __ and the normal name is an alias. */
15805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15808 char (*f) () = $ac_func;
15817 return f != $ac_func;
15822 rm -f conftest.
$ac_objext conftest
$ac_exeext
15823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15824 (eval $ac_link) 2>conftest.er1
15826 grep -v '^ *+' conftest.er1
>conftest.err
15828 cat conftest.err
>&5
15829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 (exit $ac_status); } &&
15831 { ac_try
='test -z "$ac_c_werror_flag"
15832 || test ! -s conftest.err'
15833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15834 (eval $ac_try) 2>&5
15836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); }; } &&
15838 { ac_try
='test -s conftest$ac_exeext'
15839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15840 (eval $ac_try) 2>&5
15842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15843 (exit $ac_status); }; }; then
15844 eval "$as_ac_var=yes"
15846 echo "$as_me: failed program was:" >&5
15847 sed 's/^/| /' conftest.
$ac_ext >&5
15849 eval "$as_ac_var=no"
15851 rm -f conftest.err conftest.
$ac_objext \
15852 conftest
$ac_exeext conftest.
$ac_ext
15854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15856 if test `eval echo '${'$as_ac_var'}'` = yes; then
15857 cat >>confdefs.h
<<_ACEOF
15858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15865 for ac_func
in strtoull
15867 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15868 echo "$as_me:$LINENO: checking for $ac_func" >&5
15869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15870 if eval "test \"\${$as_ac_var+set}\" = set"; then
15871 echo $ECHO_N "(cached) $ECHO_C" >&6
15873 cat >conftest.
$ac_ext <<_ACEOF
15876 cat confdefs.h
>>conftest.
$ac_ext
15877 cat >>conftest.
$ac_ext <<_ACEOF
15878 /* end confdefs.h. */
15879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15881 #define $ac_func innocuous_$ac_func
15883 /* System header to define __stub macros and hopefully few prototypes,
15884 which can conflict with char $ac_func (); below.
15885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15886 <limits.h> exists even on freestanding compilers. */
15889 # include <limits.h>
15891 # include <assert.h>
15896 /* Override any gcc2 internal prototype to avoid an error. */
15901 /* We use char because int might match the return type of a gcc2
15902 builtin and then its argument prototype would still apply. */
15904 /* The GNU C library defines this for functions which it implements
15905 to always fail with ENOSYS. Some functions are actually named
15906 something starting with __ and the normal name is an alias. */
15907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15910 char (*f) () = $ac_func;
15919 return f != $ac_func;
15924 rm -f conftest.
$ac_objext conftest
$ac_exeext
15925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15926 (eval $ac_link) 2>conftest.er1
15928 grep -v '^ *+' conftest.er1
>conftest.err
15930 cat conftest.err
>&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); } &&
15933 { ac_try
='test -z "$ac_c_werror_flag"
15934 || test ! -s conftest.err'
15935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15936 (eval $ac_try) 2>&5
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); }; } &&
15940 { ac_try
='test -s conftest$ac_exeext'
15941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15942 (eval $ac_try) 2>&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); }; }; then
15946 eval "$as_ac_var=yes"
15948 echo "$as_me: failed program was:" >&5
15949 sed 's/^/| /' conftest.
$ac_ext >&5
15951 eval "$as_ac_var=no"
15953 rm -f conftest.err conftest.
$ac_objext \
15954 conftest
$ac_exeext conftest.
$ac_ext
15956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15958 if test `eval echo '${'$as_ac_var'}'` = yes; then
15959 cat >>confdefs.h
<<_ACEOF
15960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15967 echo "$as_me:$LINENO: checking whether basename is declared" >&5
15968 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
15969 if test "${ac_cv_have_decl_basename+set}" = set; then
15970 echo $ECHO_N "(cached) $ECHO_C" >&6
15972 cat >conftest.
$ac_ext <<_ACEOF
15975 cat confdefs.h
>>conftest.
$ac_ext
15976 cat >>conftest.
$ac_ext <<_ACEOF
15977 /* end confdefs.h. */
15978 $ac_includes_default
15983 char *p = (char *) basename;
15990 rm -f conftest.
$ac_objext
15991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15992 (eval $ac_compile) 2>conftest.er1
15994 grep -v '^ *+' conftest.er1
>conftest.err
15996 cat conftest.err
>&5
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); } &&
15999 { ac_try
='test -z "$ac_c_werror_flag"
16000 || test ! -s conftest.err'
16001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16002 (eval $ac_try) 2>&5
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); }; } &&
16006 { ac_try
='test -s conftest.$ac_objext'
16007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16008 (eval $ac_try) 2>&5
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); }; }; then
16012 ac_cv_have_decl_basename
=yes
16014 echo "$as_me: failed program was:" >&5
16015 sed 's/^/| /' conftest.
$ac_ext >&5
16017 ac_cv_have_decl_basename
=no
16019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16021 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
16022 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
16023 if test $ac_cv_have_decl_basename = yes; then
16025 cat >>confdefs.h
<<_ACEOF
16026 #define HAVE_DECL_BASENAME 1
16031 cat >>confdefs.h
<<_ACEOF
16032 #define HAVE_DECL_BASENAME 0
16039 echo "$as_me:$LINENO: checking whether ftello is declared" >&5
16040 echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6
16041 if test "${ac_cv_have_decl_ftello+set}" = set; then
16042 echo $ECHO_N "(cached) $ECHO_C" >&6
16044 cat >conftest.
$ac_ext <<_ACEOF
16047 cat confdefs.h
>>conftest.
$ac_ext
16048 cat >>conftest.
$ac_ext <<_ACEOF
16049 /* end confdefs.h. */
16050 $ac_includes_default
16055 char *p = (char *) ftello;
16062 rm -f conftest.
$ac_objext
16063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16064 (eval $ac_compile) 2>conftest.er1
16066 grep -v '^ *+' conftest.er1
>conftest.err
16068 cat conftest.err
>&5
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); } &&
16071 { ac_try
='test -z "$ac_c_werror_flag"
16072 || test ! -s conftest.err'
16073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16074 (eval $ac_try) 2>&5
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); }; } &&
16078 { ac_try
='test -s conftest.$ac_objext'
16079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16080 (eval $ac_try) 2>&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); }; }; then
16084 ac_cv_have_decl_ftello
=yes
16086 echo "$as_me: failed program was:" >&5
16087 sed 's/^/| /' conftest.
$ac_ext >&5
16089 ac_cv_have_decl_ftello
=no
16091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16093 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
16094 echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6
16095 if test $ac_cv_have_decl_ftello = yes; then
16097 cat >>confdefs.h
<<_ACEOF
16098 #define HAVE_DECL_FTELLO 1
16103 cat >>confdefs.h
<<_ACEOF
16104 #define HAVE_DECL_FTELLO 0
16111 echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
16112 echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6
16113 if test "${ac_cv_have_decl_ftello64+set}" = set; then
16114 echo $ECHO_N "(cached) $ECHO_C" >&6
16116 cat >conftest.
$ac_ext <<_ACEOF
16119 cat confdefs.h
>>conftest.
$ac_ext
16120 cat >>conftest.
$ac_ext <<_ACEOF
16121 /* end confdefs.h. */
16122 $ac_includes_default
16127 char *p = (char *) ftello64;
16134 rm -f conftest.
$ac_objext
16135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16136 (eval $ac_compile) 2>conftest.er1
16138 grep -v '^ *+' conftest.er1
>conftest.err
16140 cat conftest.err
>&5
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); } &&
16143 { ac_try
='test -z "$ac_c_werror_flag"
16144 || test ! -s conftest.err'
16145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16146 (eval $ac_try) 2>&5
16148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 (exit $ac_status); }; } &&
16150 { ac_try
='test -s conftest.$ac_objext'
16151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16152 (eval $ac_try) 2>&5
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); }; }; then
16156 ac_cv_have_decl_ftello64
=yes
16158 echo "$as_me: failed program was:" >&5
16159 sed 's/^/| /' conftest.
$ac_ext >&5
16161 ac_cv_have_decl_ftello64
=no
16163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16165 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
16166 echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6
16167 if test $ac_cv_have_decl_ftello64 = yes; then
16169 cat >>confdefs.h
<<_ACEOF
16170 #define HAVE_DECL_FTELLO64 1
16175 cat >>confdefs.h
<<_ACEOF
16176 #define HAVE_DECL_FTELLO64 0
16183 echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
16184 echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6
16185 if test "${ac_cv_have_decl_fseeko+set}" = set; then
16186 echo $ECHO_N "(cached) $ECHO_C" >&6
16188 cat >conftest.
$ac_ext <<_ACEOF
16191 cat confdefs.h
>>conftest.
$ac_ext
16192 cat >>conftest.
$ac_ext <<_ACEOF
16193 /* end confdefs.h. */
16194 $ac_includes_default
16199 char *p = (char *) fseeko;
16206 rm -f conftest.
$ac_objext
16207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16208 (eval $ac_compile) 2>conftest.er1
16210 grep -v '^ *+' conftest.er1
>conftest.err
16212 cat conftest.err
>&5
16213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16214 (exit $ac_status); } &&
16215 { ac_try
='test -z "$ac_c_werror_flag"
16216 || test ! -s conftest.err'
16217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16218 (eval $ac_try) 2>&5
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); }; } &&
16222 { ac_try
='test -s conftest.$ac_objext'
16223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16224 (eval $ac_try) 2>&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); }; }; then
16228 ac_cv_have_decl_fseeko
=yes
16230 echo "$as_me: failed program was:" >&5
16231 sed 's/^/| /' conftest.
$ac_ext >&5
16233 ac_cv_have_decl_fseeko
=no
16235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16237 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
16238 echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6
16239 if test $ac_cv_have_decl_fseeko = yes; then
16241 cat >>confdefs.h
<<_ACEOF
16242 #define HAVE_DECL_FSEEKO 1
16247 cat >>confdefs.h
<<_ACEOF
16248 #define HAVE_DECL_FSEEKO 0
16255 echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
16256 echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6
16257 if test "${ac_cv_have_decl_fseeko64+set}" = set; then
16258 echo $ECHO_N "(cached) $ECHO_C" >&6
16260 cat >conftest.
$ac_ext <<_ACEOF
16263 cat confdefs.h
>>conftest.
$ac_ext
16264 cat >>conftest.
$ac_ext <<_ACEOF
16265 /* end confdefs.h. */
16266 $ac_includes_default
16271 char *p = (char *) fseeko64;
16278 rm -f conftest.
$ac_objext
16279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16280 (eval $ac_compile) 2>conftest.er1
16282 grep -v '^ *+' conftest.er1
>conftest.err
16284 cat conftest.err
>&5
16285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 (exit $ac_status); } &&
16287 { ac_try
='test -z "$ac_c_werror_flag"
16288 || test ! -s conftest.err'
16289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16290 (eval $ac_try) 2>&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); }; } &&
16294 { ac_try
='test -s conftest.$ac_objext'
16295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16296 (eval $ac_try) 2>&5
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); }; }; then
16300 ac_cv_have_decl_fseeko64
=yes
16302 echo "$as_me: failed program was:" >&5
16303 sed 's/^/| /' conftest.
$ac_ext >&5
16305 ac_cv_have_decl_fseeko64
=no
16307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16309 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
16310 echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6
16311 if test $ac_cv_have_decl_fseeko64 = yes; then
16313 cat >>confdefs.h
<<_ACEOF
16314 #define HAVE_DECL_FSEEKO64 1
16319 cat >>confdefs.h
<<_ACEOF
16320 #define HAVE_DECL_FSEEKO64 0
16330 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
16332 cat >>confdefs.h
<<\_ACEOF
16333 #define USE_BINARY_FOPEN 1
16338 echo "$as_me:$LINENO: checking whether ffs is declared" >&5
16339 echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
16340 if test "${ac_cv_have_decl_ffs+set}" = set; then
16341 echo $ECHO_N "(cached) $ECHO_C" >&6
16343 cat >conftest.
$ac_ext <<_ACEOF
16346 cat confdefs.h
>>conftest.
$ac_ext
16347 cat >>conftest.
$ac_ext <<_ACEOF
16348 /* end confdefs.h. */
16349 $ac_includes_default
16354 char *p = (char *) ffs;
16361 rm -f conftest.
$ac_objext
16362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16363 (eval $ac_compile) 2>conftest.er1
16365 grep -v '^ *+' conftest.er1
>conftest.err
16367 cat conftest.err
>&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); } &&
16370 { ac_try
='test -z "$ac_c_werror_flag"
16371 || test ! -s conftest.err'
16372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16373 (eval $ac_try) 2>&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); }; } &&
16377 { ac_try
='test -s conftest.$ac_objext'
16378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16379 (eval $ac_try) 2>&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); }; }; then
16383 ac_cv_have_decl_ffs
=yes
16385 echo "$as_me: failed program was:" >&5
16386 sed 's/^/| /' conftest.
$ac_ext >&5
16388 ac_cv_have_decl_ffs
=no
16390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16392 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
16393 echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
16394 if test $ac_cv_have_decl_ffs = yes; then
16396 cat >>confdefs.h
<<_ACEOF
16397 #define HAVE_DECL_FFS 1
16402 cat >>confdefs.h
<<_ACEOF
16403 #define HAVE_DECL_FFS 0
16410 echo "$as_me:$LINENO: checking whether free is declared" >&5
16411 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
16412 if test "${ac_cv_have_decl_free+set}" = set; then
16413 echo $ECHO_N "(cached) $ECHO_C" >&6
16415 cat >conftest.
$ac_ext <<_ACEOF
16418 cat confdefs.h
>>conftest.
$ac_ext
16419 cat >>conftest.
$ac_ext <<_ACEOF
16420 /* end confdefs.h. */
16421 $ac_includes_default
16426 char *p = (char *) free;
16433 rm -f conftest.
$ac_objext
16434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16435 (eval $ac_compile) 2>conftest.er1
16437 grep -v '^ *+' conftest.er1
>conftest.err
16439 cat conftest.err
>&5
16440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441 (exit $ac_status); } &&
16442 { ac_try
='test -z "$ac_c_werror_flag"
16443 || test ! -s conftest.err'
16444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16445 (eval $ac_try) 2>&5
16447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16448 (exit $ac_status); }; } &&
16449 { ac_try
='test -s conftest.$ac_objext'
16450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16451 (eval $ac_try) 2>&5
16453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454 (exit $ac_status); }; }; then
16455 ac_cv_have_decl_free
=yes
16457 echo "$as_me: failed program was:" >&5
16458 sed 's/^/| /' conftest.
$ac_ext >&5
16460 ac_cv_have_decl_free
=no
16462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16464 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
16465 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
16466 if test $ac_cv_have_decl_free = yes; then
16468 cat >>confdefs.h
<<_ACEOF
16469 #define HAVE_DECL_FREE 1
16474 cat >>confdefs.h
<<_ACEOF
16475 #define HAVE_DECL_FREE 0
16482 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
16483 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
16484 if test "${ac_cv_have_decl_getenv+set}" = set; then
16485 echo $ECHO_N "(cached) $ECHO_C" >&6
16487 cat >conftest.
$ac_ext <<_ACEOF
16490 cat confdefs.h
>>conftest.
$ac_ext
16491 cat >>conftest.
$ac_ext <<_ACEOF
16492 /* end confdefs.h. */
16493 $ac_includes_default
16498 char *p = (char *) getenv;
16505 rm -f conftest.
$ac_objext
16506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16507 (eval $ac_compile) 2>conftest.er1
16509 grep -v '^ *+' conftest.er1
>conftest.err
16511 cat conftest.err
>&5
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); } &&
16514 { ac_try
='test -z "$ac_c_werror_flag"
16515 || test ! -s conftest.err'
16516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16517 (eval $ac_try) 2>&5
16519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520 (exit $ac_status); }; } &&
16521 { ac_try
='test -s conftest.$ac_objext'
16522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16523 (eval $ac_try) 2>&5
16525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16526 (exit $ac_status); }; }; then
16527 ac_cv_have_decl_getenv
=yes
16529 echo "$as_me: failed program was:" >&5
16530 sed 's/^/| /' conftest.
$ac_ext >&5
16532 ac_cv_have_decl_getenv
=no
16534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16536 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
16537 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
16538 if test $ac_cv_have_decl_getenv = yes; then
16540 cat >>confdefs.h
<<_ACEOF
16541 #define HAVE_DECL_GETENV 1
16546 cat >>confdefs.h
<<_ACEOF
16547 #define HAVE_DECL_GETENV 0
16554 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
16555 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
16556 if test "${ac_cv_have_decl_malloc+set}" = set; then
16557 echo $ECHO_N "(cached) $ECHO_C" >&6
16559 cat >conftest.
$ac_ext <<_ACEOF
16562 cat confdefs.h
>>conftest.
$ac_ext
16563 cat >>conftest.
$ac_ext <<_ACEOF
16564 /* end confdefs.h. */
16565 $ac_includes_default
16570 char *p = (char *) malloc;
16577 rm -f conftest.
$ac_objext
16578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16579 (eval $ac_compile) 2>conftest.er1
16581 grep -v '^ *+' conftest.er1
>conftest.err
16583 cat conftest.err
>&5
16584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585 (exit $ac_status); } &&
16586 { ac_try
='test -z "$ac_c_werror_flag"
16587 || test ! -s conftest.err'
16588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16589 (eval $ac_try) 2>&5
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); }; } &&
16593 { ac_try
='test -s conftest.$ac_objext'
16594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16595 (eval $ac_try) 2>&5
16597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); }; }; then
16599 ac_cv_have_decl_malloc
=yes
16601 echo "$as_me: failed program was:" >&5
16602 sed 's/^/| /' conftest.
$ac_ext >&5
16604 ac_cv_have_decl_malloc
=no
16606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16608 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
16609 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
16610 if test $ac_cv_have_decl_malloc = yes; then
16612 cat >>confdefs.h
<<_ACEOF
16613 #define HAVE_DECL_MALLOC 1
16618 cat >>confdefs.h
<<_ACEOF
16619 #define HAVE_DECL_MALLOC 0
16626 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
16627 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
16628 if test "${ac_cv_have_decl_realloc+set}" = set; then
16629 echo $ECHO_N "(cached) $ECHO_C" >&6
16631 cat >conftest.
$ac_ext <<_ACEOF
16634 cat confdefs.h
>>conftest.
$ac_ext
16635 cat >>conftest.
$ac_ext <<_ACEOF
16636 /* end confdefs.h. */
16637 $ac_includes_default
16642 char *p = (char *) realloc;
16649 rm -f conftest.
$ac_objext
16650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16651 (eval $ac_compile) 2>conftest.er1
16653 grep -v '^ *+' conftest.er1
>conftest.err
16655 cat conftest.err
>&5
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); } &&
16658 { ac_try
='test -z "$ac_c_werror_flag"
16659 || test ! -s conftest.err'
16660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16661 (eval $ac_try) 2>&5
16663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664 (exit $ac_status); }; } &&
16665 { ac_try
='test -s conftest.$ac_objext'
16666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16667 (eval $ac_try) 2>&5
16669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16670 (exit $ac_status); }; }; then
16671 ac_cv_have_decl_realloc
=yes
16673 echo "$as_me: failed program was:" >&5
16674 sed 's/^/| /' conftest.
$ac_ext >&5
16676 ac_cv_have_decl_realloc
=no
16678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16680 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
16681 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
16682 if test $ac_cv_have_decl_realloc = yes; then
16684 cat >>confdefs.h
<<_ACEOF
16685 #define HAVE_DECL_REALLOC 1
16690 cat >>confdefs.h
<<_ACEOF
16691 #define HAVE_DECL_REALLOC 0
16698 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
16699 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
16700 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
16701 echo $ECHO_N "(cached) $ECHO_C" >&6
16703 cat >conftest.
$ac_ext <<_ACEOF
16706 cat confdefs.h
>>conftest.
$ac_ext
16707 cat >>conftest.
$ac_ext <<_ACEOF
16708 /* end confdefs.h. */
16709 $ac_includes_default
16714 char *p = (char *) stpcpy;
16721 rm -f conftest.
$ac_objext
16722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16723 (eval $ac_compile) 2>conftest.er1
16725 grep -v '^ *+' conftest.er1
>conftest.err
16727 cat conftest.err
>&5
16728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729 (exit $ac_status); } &&
16730 { ac_try
='test -z "$ac_c_werror_flag"
16731 || test ! -s conftest.err'
16732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16733 (eval $ac_try) 2>&5
16735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16736 (exit $ac_status); }; } &&
16737 { ac_try
='test -s conftest.$ac_objext'
16738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16739 (eval $ac_try) 2>&5
16741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16742 (exit $ac_status); }; }; then
16743 ac_cv_have_decl_stpcpy
=yes
16745 echo "$as_me: failed program was:" >&5
16746 sed 's/^/| /' conftest.
$ac_ext >&5
16748 ac_cv_have_decl_stpcpy
=no
16750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16752 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
16753 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
16754 if test $ac_cv_have_decl_stpcpy = yes; then
16756 cat >>confdefs.h
<<_ACEOF
16757 #define HAVE_DECL_STPCPY 1
16762 cat >>confdefs.h
<<_ACEOF
16763 #define HAVE_DECL_STPCPY 0
16770 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
16771 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
16772 if test "${ac_cv_have_decl_strstr+set}" = set; then
16773 echo $ECHO_N "(cached) $ECHO_C" >&6
16775 cat >conftest.
$ac_ext <<_ACEOF
16778 cat confdefs.h
>>conftest.
$ac_ext
16779 cat >>conftest.
$ac_ext <<_ACEOF
16780 /* end confdefs.h. */
16781 $ac_includes_default
16786 char *p = (char *) strstr;
16793 rm -f conftest.
$ac_objext
16794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16795 (eval $ac_compile) 2>conftest.er1
16797 grep -v '^ *+' conftest.er1
>conftest.err
16799 cat conftest.err
>&5
16800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); } &&
16802 { ac_try
='test -z "$ac_c_werror_flag"
16803 || test ! -s conftest.err'
16804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16805 (eval $ac_try) 2>&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); }; } &&
16809 { ac_try
='test -s conftest.$ac_objext'
16810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16811 (eval $ac_try) 2>&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); }; }; then
16815 ac_cv_have_decl_strstr
=yes
16817 echo "$as_me: failed program was:" >&5
16818 sed 's/^/| /' conftest.
$ac_ext >&5
16820 ac_cv_have_decl_strstr
=no
16822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16824 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
16825 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
16826 if test $ac_cv_have_decl_strstr = yes; then
16828 cat >>confdefs.h
<<_ACEOF
16829 #define HAVE_DECL_STRSTR 1
16834 cat >>confdefs.h
<<_ACEOF
16835 #define HAVE_DECL_STRSTR 0
16842 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
16843 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
16844 if test "${ac_cv_have_decl_snprintf+set}" = set; then
16845 echo $ECHO_N "(cached) $ECHO_C" >&6
16847 cat >conftest.
$ac_ext <<_ACEOF
16850 cat confdefs.h
>>conftest.
$ac_ext
16851 cat >>conftest.
$ac_ext <<_ACEOF
16852 /* end confdefs.h. */
16853 $ac_includes_default
16858 char *p = (char *) snprintf;
16865 rm -f conftest.
$ac_objext
16866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16867 (eval $ac_compile) 2>conftest.er1
16869 grep -v '^ *+' conftest.er1
>conftest.err
16871 cat conftest.err
>&5
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); } &&
16874 { ac_try
='test -z "$ac_c_werror_flag"
16875 || test ! -s conftest.err'
16876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16877 (eval $ac_try) 2>&5
16879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16880 (exit $ac_status); }; } &&
16881 { ac_try
='test -s conftest.$ac_objext'
16882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16883 (eval $ac_try) 2>&5
16885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16886 (exit $ac_status); }; }; then
16887 ac_cv_have_decl_snprintf
=yes
16889 echo "$as_me: failed program was:" >&5
16890 sed 's/^/| /' conftest.
$ac_ext >&5
16892 ac_cv_have_decl_snprintf
=no
16894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16896 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
16897 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
16898 if test $ac_cv_have_decl_snprintf = yes; then
16900 cat >>confdefs.h
<<_ACEOF
16901 #define HAVE_DECL_SNPRINTF 1
16906 cat >>confdefs.h
<<_ACEOF
16907 #define HAVE_DECL_SNPRINTF 0
16914 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
16915 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
16916 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
16917 echo $ECHO_N "(cached) $ECHO_C" >&6
16919 cat >conftest.
$ac_ext <<_ACEOF
16922 cat confdefs.h
>>conftest.
$ac_ext
16923 cat >>conftest.
$ac_ext <<_ACEOF
16924 /* end confdefs.h. */
16925 $ac_includes_default
16930 char *p = (char *) vsnprintf;
16937 rm -f conftest.
$ac_objext
16938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16939 (eval $ac_compile) 2>conftest.er1
16941 grep -v '^ *+' conftest.er1
>conftest.err
16943 cat conftest.err
>&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); } &&
16946 { ac_try
='test -z "$ac_c_werror_flag"
16947 || test ! -s conftest.err'
16948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16949 (eval $ac_try) 2>&5
16951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16952 (exit $ac_status); }; } &&
16953 { ac_try
='test -s conftest.$ac_objext'
16954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16955 (eval $ac_try) 2>&5
16957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16958 (exit $ac_status); }; }; then
16959 ac_cv_have_decl_vsnprintf
=yes
16961 echo "$as_me: failed program was:" >&5
16962 sed 's/^/| /' conftest.
$ac_ext >&5
16964 ac_cv_have_decl_vsnprintf
=no
16966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16968 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
16969 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
16970 if test $ac_cv_have_decl_vsnprintf = yes; then
16972 cat >>confdefs.h
<<_ACEOF
16973 #define HAVE_DECL_VSNPRINTF 1
16978 cat >>confdefs.h
<<_ACEOF
16979 #define HAVE_DECL_VSNPRINTF 0
16987 # If we are configured native, pick a core file support file.
16991 if test "${target}" = "${host}"; then
16993 alpha
*-*-freebsd* | alpha
*-*-kfreebsd*-gnu)
16997 COREFILE
=trad-core.lo
16998 TRAD_HEADER
='"hosts/alphalinux.h"'
17000 alpha
*-*-netbsd* | alpha
*-*-openbsd*)
17001 COREFILE
=netbsd-core.lo
17003 alpha
*-*-*) COREFILE
=osf-core.lo
;;
17004 arm-
*-freebsd* | arm-
*-kfreebsd*-gnu)
17006 arm-
*-netbsd* | arm-
*-openbsd*)
17007 COREFILE
=netbsd-core.lo
17009 arm-
*-riscix) COREFILE
=trad-core.lo
;;
17010 hppa
*-*-hpux*) COREFILE
=hpux-core.lo
;;
17011 hppa
*-*-hiux*) COREFILE
=hpux-core.lo
;;
17012 hppa
*-*-mpeix*) COREFILE
=hpux-core.lo
;;
17013 hppa
*-*-bsd*) COREFILE
="hpux-core.lo hppabsd-core.lo"
17014 COREFLAG
="-DHPUX_CORE -DHPPABSD_CORE" ;;
17015 hppa
*-*-netbsd* | hppa
*-*-openbsd*)
17016 COREFILE
=netbsd-core.lo
17020 COREFILE
=trad-core.lo
17021 TRAD_HEADER
='"hosts/i370linux.h"'
17024 i
[3-7]86-sequent-bsd*)
17025 COREFILE
=trad-core.lo
17026 TRAD_HEADER
='"hosts/symmetry.h"'
17028 i
[3-7]86-sequent-sysv4*) ;;
17029 i
[3-7]86-sequent-sysv*)
17030 COREFILE
=trad-core.lo
17031 TRAD_HEADER
='"hosts/symmetry.h"'
17036 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
*)
17037 COREFILE
=trad-core.lo
17038 TRAD_HEADER
='"hosts/i386bsd.h"'
17040 i
[3-7]86-*-freebsd* | i
[3-7]86-*-kfreebsd*-gnu)
17042 TRAD_HEADER
='"hosts/i386bsd.h"'
17044 i
[3-7]86-*-netbsd* | i
[3-7]86-*-knetbsd*-gnu | i
[3-7]86-*-openbsd*)
17045 COREFILE
=netbsd-core.lo
17047 i
[3-7]86-esix-sysv3*)
17048 COREFILE
=trad-core.lo
17049 TRAD_HEADER
='"hosts/esix.h"'
17051 i
[3-7]86-*-sco3.2v5
*)
17052 COREFILE
=sco5-core.lo
17054 i
[3-7]86-*-sco* | i
[3-7]86-*-isc*)
17055 COREFILE
=trad-core.lo
17056 TRAD_HEADER
='"hosts/i386sco.h"'
17059 COREFILE
=trad-core.lo
17060 TRAD_HEADER
='"hosts/i386mach3.h"'
17062 i
[3-7]86-*-linux-*)
17063 COREFILE
=trad-core.lo
17064 TRAD_HEADER
='"hosts/i386linux.h"'
17066 i
[3-7]86-*-isc*) COREFILE
=trad-core.lo
;;
17067 i
[3-7]86-*-aix*) COREFILE
=aix386-core.lo
;;
17068 i860-
*-mach3* | i860-
*-osf1*)
17069 COREFILE
=trad-core.lo
17070 TRAD_HEADER
='"hosts/i860mach3.h"'
17072 mips-
*-netbsd* | mips
*-*-openbsd*)
17073 COREFILE
=netbsd-core.lo
17076 COREFILE
=trad-core.lo
17077 TRAD_HEADER
='"hosts/decstation.h"'
17079 mips-sgi-irix4
*) COREFILE
=irix-core.lo
;;
17080 mips-sgi-irix5
*) COREFILE
=irix-core.lo
;;
17081 mips-sgi-irix6
*) COREFILE
=irix-core.lo
;;
17083 mips-
*-sysv* | mips-
*-riscos*)
17084 COREFILE
=trad-core.lo
17085 TRAD_HEADER
='"hosts/riscos.h"'
17088 COREFILE
=trad-core.lo
17089 TRAD_HEADER
='"hosts/news-mips.h"'
17092 COREFILE
=trad-core.lo
17093 TRAD_HEADER
='"hosts/dpx2.h"'
17095 m68
*-hp-hpux*) COREFILE
=hpux-core.lo
;;
17097 COREFILE
=trad-core.lo
17098 TRAD_HEADER
='"hosts/hp300bsd.h"'
17101 COREFILE
=trad-core.lo
17102 TRAD_HEADER
='"hosts/m68klinux.h"'
17104 m68
*-motorola-sysv*)
17105 COREFILE
=trad-core.lo
17106 TRAD_HEADER
='"hosts/delta68.h"'
17109 COREFILE
=trad-core.lo
17110 TRAD_HEADER
='"hosts/news.h"'
17112 m68
*-*-netbsd* | m68
*-*-openbsd*)
17113 COREFILE
=netbsd-core.lo
17116 COREFILE
=trad-core.lo
17117 TRAD_HEADER
='"hosts/m68kaux.h"'
17121 m88
*-motorola-sysv*)
17122 COREFILE
=ptrace-core.lo
17125 COREFILE
=trad-core.lo
17126 TRAD_HEADER
='"hosts/m88kmach3.h"'
17129 COREFILE
=netbsd-core.lo
17132 COREFILE
=trad-core.lo
17133 TRAD_HEADER
='"hosts/pc532mach.h"'
17135 ns32k-
*-netbsd* | ns32k-
*-openbsd*)
17136 COREFILE
=netbsd-core.lo
17139 COREFILE
=lynx-core.lo
17141 rs6000-
*-aix5.
* | powerpc-
*-aix5.
*)
17142 COREFILE
=rs6000-core.lo
17143 COREFLAG
="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
17145 rs6000-
*-aix4.
[3-9]* | powerpc-
*-aix4.
[3-9]*)
17146 COREFILE
=rs6000-core.lo
17147 COREFLAG
="$COREFLAG -DAIX_CORE_DUMPX_CORE"
17148 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
17149 # have c_impl as a member of struct core_dumpx
17150 echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
17151 echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
17152 cat >conftest.
$ac_ext <<_ACEOF
17155 cat confdefs.h
>>conftest.
$ac_ext
17156 cat >>conftest.
$ac_ext <<_ACEOF
17157 /* end confdefs.h. */
17162 struct core_dumpx c; c.c_impl = 0;
17167 rm -f conftest.
$ac_objext
17168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17169 (eval $ac_compile) 2>conftest.er1
17171 grep -v '^ *+' conftest.er1
>conftest.err
17173 cat conftest.err
>&5
17174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17175 (exit $ac_status); } &&
17176 { ac_try
='test -z "$ac_c_werror_flag"
17177 || test ! -s conftest.err'
17178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17179 (eval $ac_try) 2>&5
17181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17182 (exit $ac_status); }; } &&
17183 { ac_try
='test -s conftest.$ac_objext'
17184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17185 (eval $ac_try) 2>&5
17187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17188 (exit $ac_status); }; }; then
17190 cat >>confdefs.h
<<\_ACEOF
17191 #define HAVE_ST_C_IMPL 1
17194 echo "$as_me:$LINENO: result: yes" >&5
17195 echo "${ECHO_T}yes" >&6
17197 echo "$as_me: failed program was:" >&5
17198 sed 's/^/| /' conftest.
$ac_ext >&5
17200 echo "$as_me:$LINENO: result: no" >&5
17201 echo "${ECHO_T}no" >&6
17203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17205 rs6000-
*-aix4*) COREFILE
=rs6000-core.lo
;;
17206 rs6000-
*-*) COREFILE
=rs6000-core.lo
;;
17207 powerpc-
*-aix4*) COREFILE
=rs6000-core.lo
;;
17208 powerpc-
*-aix*) COREFILE
=rs6000-core.lo
;;
17209 powerpc-
*-beos*) ;;
17210 powerpc-
*-freebsd* | powerpc-
*-kfreebsd*-gnu)
17212 powerpc-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
17213 powerpc-
*-*bsd
*) COREFILE
=netbsd-core.lo
;;
17214 s390
*-*-*) COREFILE
=trad-core.lo
;;
17215 sh
*-*-netbsd* | sh
*-*-openbsd*)
17216 COREFILE
=netbsd-core.lo
17218 sparc-
*-netbsd* | sparc
*-*-openbsd*)
17219 COREFILE
=netbsd-core.lo
17222 COREFILE
=trad-core.lo
17223 TRAD_HEADER
='"hosts/tahoe.h"'
17225 vax-
*-netbsd* | vax-
*-openbsd*)
17226 COREFILE
=netbsd-core.lo
17229 COREFILE
=trad-core.lo
17230 TRAD_HEADER
='"hosts/vaxult2.h"'
17233 COREFILE
=trad-core.lo
17234 TRAD_HEADER
='"hosts/vaxult2.h"'
17237 COREFILE
=trad-core.lo
17238 TRAD_HEADER
='"hosts/vaxlinux.h"'
17241 COREFILE
=trad-core.lo
17242 TRAD_HEADER
='"hosts/vaxbsd.h"'
17244 x86_64-
*-netbsd* | x86_64-
*-openbsd*)
17245 COREFILE
=netbsd-core.lo
17249 case "$COREFILE" in
17250 aix386-core.lo
) COREFLAG
=-DAIX386_CORE ;;
17251 hppabsd-core.lo
) COREFLAG
=-DHPPABSD_CORE ;;
17252 hpux-core.lo
) COREFLAG
=-DHPUX_CORE ;;
17253 irix-core.lo
) COREFLAG
=-DIRIX_CORE ;;
17254 lynx-core.lo
) COREFLAG
=-DLYNX_CORE ;;
17255 netbsd-core.lo
) COREFLAG
=-DNETBSD_CORE ;;
17256 osf-core.lo
) COREFLAG
=-DOSF_CORE ;;
17257 ptrace-core.lo
) COREFLAG
=-DPTRACE_CORE ;;
17258 rs6000-core.lo
) COREFLAG
="$COREFLAG -DAIX_CORE" ;;
17259 sco5-core.lo
) COREFLAG
="$COREFLAG -DSCO5_CORE" ;;
17260 trad-core.lo
) COREFLAG
="$COREFLAG -DTRAD_CORE" ;;
17263 # ELF corefile support has several flavors, but all of
17264 # them use something called <sys/procfs.h>
17266 for ac_header
in sys
/procfs.h
17268 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17270 echo "$as_me:$LINENO: checking for $ac_header" >&5
17271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17273 echo $ECHO_N "(cached) $ECHO_C" >&6
17275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17276 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17278 # Is the header compilable?
17279 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17280 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17281 cat >conftest.
$ac_ext <<_ACEOF
17284 cat confdefs.h
>>conftest.
$ac_ext
17285 cat >>conftest.
$ac_ext <<_ACEOF
17286 /* end confdefs.h. */
17287 $ac_includes_default
17288 #include <$ac_header>
17290 rm -f conftest.
$ac_objext
17291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17292 (eval $ac_compile) 2>conftest.er1
17294 grep -v '^ *+' conftest.er1
>conftest.err
17296 cat conftest.err
>&5
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); } &&
17299 { ac_try
='test -z "$ac_c_werror_flag"
17300 || test ! -s conftest.err'
17301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17302 (eval $ac_try) 2>&5
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); }; } &&
17306 { ac_try
='test -s conftest.$ac_objext'
17307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17308 (eval $ac_try) 2>&5
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); }; }; then
17312 ac_header_compiler
=yes
17314 echo "$as_me: failed program was:" >&5
17315 sed 's/^/| /' conftest.
$ac_ext >&5
17317 ac_header_compiler
=no
17319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17320 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17321 echo "${ECHO_T}$ac_header_compiler" >&6
17323 # Is the header present?
17324 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17325 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17326 cat >conftest.
$ac_ext <<_ACEOF
17329 cat confdefs.h
>>conftest.
$ac_ext
17330 cat >>conftest.
$ac_ext <<_ACEOF
17331 /* end confdefs.h. */
17332 #include <$ac_header>
17334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17335 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17337 grep -v '^ *+' conftest.er1
>conftest.err
17339 cat conftest.err
>&5
17340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17341 (exit $ac_status); } >/dev
/null
; then
17342 if test -s conftest.err
; then
17343 ac_cpp_err
=$ac_c_preproc_warn_flag
17344 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17351 if test -z "$ac_cpp_err"; then
17352 ac_header_preproc
=yes
17354 echo "$as_me: failed program was:" >&5
17355 sed 's/^/| /' conftest.
$ac_ext >&5
17357 ac_header_preproc
=no
17359 rm -f conftest.err conftest.
$ac_ext
17360 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17361 echo "${ECHO_T}$ac_header_preproc" >&6
17363 # So? What about this header?
17364 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17366 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17367 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17369 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17370 ac_header_preproc
=yes
17373 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17374 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17375 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17376 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17377 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17378 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17379 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17380 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17382 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17383 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17384 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17387 ## ------------------------------------------ ##
17388 ## Report this to the AC_PACKAGE_NAME lists. ##
17389 ## ------------------------------------------ ##
17392 sed "s/^/$as_me: WARNING: /" >&2
17395 echo "$as_me:$LINENO: checking for $ac_header" >&5
17396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17398 echo $ECHO_N "(cached) $ECHO_C" >&6
17400 eval "$as_ac_Header=\$ac_header_preproc"
17402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17407 cat >>confdefs.h
<<_ACEOF
17408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17415 if test "$ac_cv_header_sys_procfs_h" = yes; then
17416 echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
17417 echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
17418 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
17419 echo $ECHO_N "(cached) $ECHO_C" >&6
17421 cat >conftest.
$ac_ext <<_ACEOF
17424 cat confdefs.h
>>conftest.
$ac_ext
17425 cat >>conftest.
$ac_ext <<_ACEOF
17426 /* end confdefs.h. */
17429 #include <sys/procfs.h>
17438 rm -f conftest.
$ac_objext
17439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17440 (eval $ac_compile) 2>conftest.er1
17442 grep -v '^ *+' conftest.er1
>conftest.err
17444 cat conftest.err
>&5
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); } &&
17447 { ac_try
='test -z "$ac_c_werror_flag"
17448 || test ! -s conftest.err'
17449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17450 (eval $ac_try) 2>&5
17452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17453 (exit $ac_status); }; } &&
17454 { ac_try
='test -s conftest.$ac_objext'
17455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17456 (eval $ac_try) 2>&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); }; }; then
17460 bfd_cv_have_sys_procfs_type_prstatus_t
=yes
17462 echo "$as_me: failed program was:" >&5
17463 sed 's/^/| /' conftest.
$ac_ext >&5
17465 bfd_cv_have_sys_procfs_type_prstatus_t
=no
17468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17471 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
17473 cat >>confdefs.h
<<\_ACEOF
17474 #define HAVE_PRSTATUS_T 1
17478 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
17479 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
17481 echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
17482 echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
17483 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
17484 echo $ECHO_N "(cached) $ECHO_C" >&6
17486 cat >conftest.
$ac_ext <<_ACEOF
17489 cat confdefs.h
>>conftest.
$ac_ext
17490 cat >>conftest.
$ac_ext <<_ACEOF
17491 /* end confdefs.h. */
17494 #include <sys/procfs.h>
17503 rm -f conftest.
$ac_objext
17504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17505 (eval $ac_compile) 2>conftest.er1
17507 grep -v '^ *+' conftest.er1
>conftest.err
17509 cat conftest.err
>&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); } &&
17512 { ac_try
='test -z "$ac_c_werror_flag"
17513 || test ! -s conftest.err'
17514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17515 (eval $ac_try) 2>&5
17517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518 (exit $ac_status); }; } &&
17519 { ac_try
='test -s conftest.$ac_objext'
17520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17521 (eval $ac_try) 2>&5
17523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17524 (exit $ac_status); }; }; then
17525 bfd_cv_have_sys_procfs_type_prstatus32_t
=yes
17527 echo "$as_me: failed program was:" >&5
17528 sed 's/^/| /' conftest.
$ac_ext >&5
17530 bfd_cv_have_sys_procfs_type_prstatus32_t
=no
17533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17536 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
17538 cat >>confdefs.h
<<\_ACEOF
17539 #define HAVE_PRSTATUS32_T 1
17543 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
17544 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
17546 echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
17547 echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
17548 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
17549 echo $ECHO_N "(cached) $ECHO_C" >&6
17551 cat >conftest.
$ac_ext <<_ACEOF
17554 cat confdefs.h
>>conftest.
$ac_ext
17555 cat >>conftest.
$ac_ext <<_ACEOF
17556 /* end confdefs.h. */
17559 #include <sys/procfs.h>
17563 prstatus_t avar; void* aref = (void*) &avar.pr_who
17568 rm -f conftest.
$ac_objext
17569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17570 (eval $ac_compile) 2>conftest.er1
17572 grep -v '^ *+' conftest.er1
>conftest.err
17574 cat conftest.err
>&5
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); } &&
17577 { ac_try
='test -z "$ac_c_werror_flag"
17578 || test ! -s conftest.err'
17579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17580 (eval $ac_try) 2>&5
17582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583 (exit $ac_status); }; } &&
17584 { ac_try
='test -s conftest.$ac_objext'
17585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17586 (eval $ac_try) 2>&5
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); }; }; then
17590 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=yes
17592 echo "$as_me: failed program was:" >&5
17593 sed 's/^/| /' conftest.
$ac_ext >&5
17595 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=no
17598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17601 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
17603 cat >>confdefs.h
<<\_ACEOF
17604 #define HAVE_PRSTATUS_T_PR_WHO 1
17608 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
17609 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
17611 echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
17612 echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
17613 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
17614 echo $ECHO_N "(cached) $ECHO_C" >&6
17616 cat >conftest.
$ac_ext <<_ACEOF
17619 cat confdefs.h
>>conftest.
$ac_ext
17620 cat >>conftest.
$ac_ext <<_ACEOF
17621 /* end confdefs.h. */
17624 #include <sys/procfs.h>
17628 prstatus32_t avar; void* aref = (void*) &avar.pr_who
17633 rm -f conftest.
$ac_objext
17634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17635 (eval $ac_compile) 2>conftest.er1
17637 grep -v '^ *+' conftest.er1
>conftest.err
17639 cat conftest.err
>&5
17640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641 (exit $ac_status); } &&
17642 { ac_try
='test -z "$ac_c_werror_flag"
17643 || test ! -s conftest.err'
17644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17645 (eval $ac_try) 2>&5
17647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); }; } &&
17649 { ac_try
='test -s conftest.$ac_objext'
17650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17651 (eval $ac_try) 2>&5
17653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17654 (exit $ac_status); }; }; then
17655 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=yes
17657 echo "$as_me: failed program was:" >&5
17658 sed 's/^/| /' conftest.
$ac_ext >&5
17660 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=no
17663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17666 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
17668 cat >>confdefs.h
<<\_ACEOF
17669 #define HAVE_PRSTATUS32_T_PR_WHO 1
17673 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
17674 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
17676 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
17677 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
17678 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
17679 echo $ECHO_N "(cached) $ECHO_C" >&6
17681 cat >conftest.
$ac_ext <<_ACEOF
17684 cat confdefs.h
>>conftest.
$ac_ext
17685 cat >>conftest.
$ac_ext <<_ACEOF
17686 /* end confdefs.h. */
17689 #include <sys/procfs.h>
17698 rm -f conftest.
$ac_objext
17699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17700 (eval $ac_compile) 2>conftest.er1
17702 grep -v '^ *+' conftest.er1
>conftest.err
17704 cat conftest.err
>&5
17705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17706 (exit $ac_status); } &&
17707 { ac_try
='test -z "$ac_c_werror_flag"
17708 || test ! -s conftest.err'
17709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17710 (eval $ac_try) 2>&5
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); }; } &&
17714 { ac_try
='test -s conftest.$ac_objext'
17715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17716 (eval $ac_try) 2>&5
17718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17719 (exit $ac_status); }; }; then
17720 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
17722 echo "$as_me: failed program was:" >&5
17723 sed 's/^/| /' conftest.
$ac_ext >&5
17725 bfd_cv_have_sys_procfs_type_pstatus_t
=no
17728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17731 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
17733 cat >>confdefs.h
<<\_ACEOF
17734 #define HAVE_PSTATUS_T 1
17738 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
17739 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
17741 echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
17742 echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
17743 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
17744 echo $ECHO_N "(cached) $ECHO_C" >&6
17746 cat >conftest.
$ac_ext <<_ACEOF
17749 cat confdefs.h
>>conftest.
$ac_ext
17750 cat >>conftest.
$ac_ext <<_ACEOF
17751 /* end confdefs.h. */
17754 #include <sys/procfs.h>
17763 rm -f conftest.
$ac_objext
17764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17765 (eval $ac_compile) 2>conftest.er1
17767 grep -v '^ *+' conftest.er1
>conftest.err
17769 cat conftest.err
>&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); } &&
17772 { ac_try
='test -z "$ac_c_werror_flag"
17773 || test ! -s conftest.err'
17774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17775 (eval $ac_try) 2>&5
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); }; } &&
17779 { ac_try
='test -s conftest.$ac_objext'
17780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17781 (eval $ac_try) 2>&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); }; }; then
17785 bfd_cv_have_sys_procfs_type_pxstatus_t
=yes
17787 echo "$as_me: failed program was:" >&5
17788 sed 's/^/| /' conftest.
$ac_ext >&5
17790 bfd_cv_have_sys_procfs_type_pxstatus_t
=no
17793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17796 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
17798 cat >>confdefs.h
<<\_ACEOF
17799 #define HAVE_PXSTATUS_T 1
17803 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
17804 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
17806 echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
17807 echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
17808 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
17809 echo $ECHO_N "(cached) $ECHO_C" >&6
17811 cat >conftest.
$ac_ext <<_ACEOF
17814 cat confdefs.h
>>conftest.
$ac_ext
17815 cat >>conftest.
$ac_ext <<_ACEOF
17816 /* end confdefs.h. */
17819 #include <sys/procfs.h>
17828 rm -f conftest.
$ac_objext
17829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17830 (eval $ac_compile) 2>conftest.er1
17832 grep -v '^ *+' conftest.er1
>conftest.err
17834 cat conftest.err
>&5
17835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836 (exit $ac_status); } &&
17837 { ac_try
='test -z "$ac_c_werror_flag"
17838 || test ! -s conftest.err'
17839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17840 (eval $ac_try) 2>&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); }; } &&
17844 { ac_try
='test -s conftest.$ac_objext'
17845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17846 (eval $ac_try) 2>&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); }; }; then
17850 bfd_cv_have_sys_procfs_type_pstatus32_t
=yes
17852 echo "$as_me: failed program was:" >&5
17853 sed 's/^/| /' conftest.
$ac_ext >&5
17855 bfd_cv_have_sys_procfs_type_pstatus32_t
=no
17858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17861 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
17863 cat >>confdefs.h
<<\_ACEOF
17864 #define HAVE_PSTATUS32_T 1
17868 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
17869 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
17871 echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
17872 echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
17873 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
17874 echo $ECHO_N "(cached) $ECHO_C" >&6
17876 cat >conftest.
$ac_ext <<_ACEOF
17879 cat confdefs.h
>>conftest.
$ac_ext
17880 cat >>conftest.
$ac_ext <<_ACEOF
17881 /* end confdefs.h. */
17884 #include <sys/procfs.h>
17893 rm -f conftest.
$ac_objext
17894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17895 (eval $ac_compile) 2>conftest.er1
17897 grep -v '^ *+' conftest.er1
>conftest.err
17899 cat conftest.err
>&5
17900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17901 (exit $ac_status); } &&
17902 { ac_try
='test -z "$ac_c_werror_flag"
17903 || test ! -s conftest.err'
17904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17905 (eval $ac_try) 2>&5
17907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908 (exit $ac_status); }; } &&
17909 { ac_try
='test -s conftest.$ac_objext'
17910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17911 (eval $ac_try) 2>&5
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); }; }; then
17915 bfd_cv_have_sys_procfs_type_prpsinfo_t
=yes
17917 echo "$as_me: failed program was:" >&5
17918 sed 's/^/| /' conftest.
$ac_ext >&5
17920 bfd_cv_have_sys_procfs_type_prpsinfo_t
=no
17923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17926 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
17928 cat >>confdefs.h
<<\_ACEOF
17929 #define HAVE_PRPSINFO_T 1
17933 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
17934 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
17936 echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
17937 echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
17938 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
17939 echo $ECHO_N "(cached) $ECHO_C" >&6
17941 cat >conftest.
$ac_ext <<_ACEOF
17944 cat confdefs.h
>>conftest.
$ac_ext
17945 cat >>conftest.
$ac_ext <<_ACEOF
17946 /* end confdefs.h. */
17949 #include <sys/procfs.h>
17958 rm -f conftest.
$ac_objext
17959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17960 (eval $ac_compile) 2>conftest.er1
17962 grep -v '^ *+' conftest.er1
>conftest.err
17964 cat conftest.err
>&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); } &&
17967 { ac_try
='test -z "$ac_c_werror_flag"
17968 || test ! -s conftest.err'
17969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17970 (eval $ac_try) 2>&5
17972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17973 (exit $ac_status); }; } &&
17974 { ac_try
='test -s conftest.$ac_objext'
17975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17976 (eval $ac_try) 2>&5
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); }; }; then
17980 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=yes
17982 echo "$as_me: failed program was:" >&5
17983 sed 's/^/| /' conftest.
$ac_ext >&5
17985 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=no
17988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17991 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
17993 cat >>confdefs.h
<<\_ACEOF
17994 #define HAVE_PRPSINFO32_T 1
17998 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
17999 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
18001 echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
18002 echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
18003 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
18004 echo $ECHO_N "(cached) $ECHO_C" >&6
18006 cat >conftest.
$ac_ext <<_ACEOF
18009 cat confdefs.h
>>conftest.
$ac_ext
18010 cat >>conftest.
$ac_ext <<_ACEOF
18011 /* end confdefs.h. */
18014 #include <sys/procfs.h>
18023 rm -f conftest.
$ac_objext
18024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18025 (eval $ac_compile) 2>conftest.er1
18027 grep -v '^ *+' conftest.er1
>conftest.err
18029 cat conftest.err
>&5
18030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18031 (exit $ac_status); } &&
18032 { ac_try
='test -z "$ac_c_werror_flag"
18033 || test ! -s conftest.err'
18034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18035 (eval $ac_try) 2>&5
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); }; } &&
18039 { ac_try
='test -s conftest.$ac_objext'
18040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18041 (eval $ac_try) 2>&5
18043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18044 (exit $ac_status); }; }; then
18045 bfd_cv_have_sys_procfs_type_psinfo_t
=yes
18047 echo "$as_me: failed program was:" >&5
18048 sed 's/^/| /' conftest.
$ac_ext >&5
18050 bfd_cv_have_sys_procfs_type_psinfo_t
=no
18053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18056 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
18058 cat >>confdefs.h
<<\_ACEOF
18059 #define HAVE_PSINFO_T 1
18063 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
18064 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
18066 echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
18067 echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
18068 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
18069 echo $ECHO_N "(cached) $ECHO_C" >&6
18071 cat >conftest.
$ac_ext <<_ACEOF
18074 cat confdefs.h
>>conftest.
$ac_ext
18075 cat >>conftest.
$ac_ext <<_ACEOF
18076 /* end confdefs.h. */
18079 #include <sys/procfs.h>
18088 rm -f conftest.
$ac_objext
18089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18090 (eval $ac_compile) 2>conftest.er1
18092 grep -v '^ *+' conftest.er1
>conftest.err
18094 cat conftest.err
>&5
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); } &&
18097 { ac_try
='test -z "$ac_c_werror_flag"
18098 || test ! -s conftest.err'
18099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18100 (eval $ac_try) 2>&5
18102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103 (exit $ac_status); }; } &&
18104 { ac_try
='test -s conftest.$ac_objext'
18105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18106 (eval $ac_try) 2>&5
18108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109 (exit $ac_status); }; }; then
18110 bfd_cv_have_sys_procfs_type_psinfo32_t
=yes
18112 echo "$as_me: failed program was:" >&5
18113 sed 's/^/| /' conftest.
$ac_ext >&5
18115 bfd_cv_have_sys_procfs_type_psinfo32_t
=no
18118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18121 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
18123 cat >>confdefs.h
<<\_ACEOF
18124 #define HAVE_PSINFO32_T 1
18128 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
18129 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
18131 echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
18132 echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
18133 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
18134 echo $ECHO_N "(cached) $ECHO_C" >&6
18136 cat >conftest.
$ac_ext <<_ACEOF
18139 cat confdefs.h
>>conftest.
$ac_ext
18140 cat >>conftest.
$ac_ext <<_ACEOF
18141 /* end confdefs.h. */
18144 #include <sys/procfs.h>
18153 rm -f conftest.
$ac_objext
18154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18155 (eval $ac_compile) 2>conftest.er1
18157 grep -v '^ *+' conftest.er1
>conftest.err
18159 cat conftest.err
>&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); } &&
18162 { ac_try
='test -z "$ac_c_werror_flag"
18163 || test ! -s conftest.err'
18164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18165 (eval $ac_try) 2>&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); }; } &&
18169 { ac_try
='test -s conftest.$ac_objext'
18170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18171 (eval $ac_try) 2>&5
18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 (exit $ac_status); }; }; then
18175 bfd_cv_have_sys_procfs_type_lwpstatus_t
=yes
18177 echo "$as_me: failed program was:" >&5
18178 sed 's/^/| /' conftest.
$ac_ext >&5
18180 bfd_cv_have_sys_procfs_type_lwpstatus_t
=no
18183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18186 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
18188 cat >>confdefs.h
<<\_ACEOF
18189 #define HAVE_LWPSTATUS_T 1
18193 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
18194 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
18196 echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
18197 echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
18198 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
18199 echo $ECHO_N "(cached) $ECHO_C" >&6
18201 cat >conftest.
$ac_ext <<_ACEOF
18204 cat confdefs.h
>>conftest.
$ac_ext
18205 cat >>conftest.
$ac_ext <<_ACEOF
18206 /* end confdefs.h. */
18209 #include <sys/procfs.h>
18218 rm -f conftest.
$ac_objext
18219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18220 (eval $ac_compile) 2>conftest.er1
18222 grep -v '^ *+' conftest.er1
>conftest.err
18224 cat conftest.err
>&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); } &&
18227 { ac_try
='test -z "$ac_c_werror_flag"
18228 || test ! -s conftest.err'
18229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18230 (eval $ac_try) 2>&5
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); }; } &&
18234 { ac_try
='test -s conftest.$ac_objext'
18235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18236 (eval $ac_try) 2>&5
18238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18239 (exit $ac_status); }; }; then
18240 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=yes
18242 echo "$as_me: failed program was:" >&5
18243 sed 's/^/| /' conftest.
$ac_ext >&5
18245 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=no
18248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18251 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
18253 cat >>confdefs.h
<<\_ACEOF
18254 #define HAVE_LWPXSTATUS_T 1
18258 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
18259 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
18261 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
18262 echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
18263 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
18264 echo $ECHO_N "(cached) $ECHO_C" >&6
18266 cat >conftest.
$ac_ext <<_ACEOF
18269 cat confdefs.h
>>conftest.
$ac_ext
18270 cat >>conftest.
$ac_ext <<_ACEOF
18271 /* end confdefs.h. */
18274 #include <sys/procfs.h>
18278 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
18283 rm -f conftest.
$ac_objext
18284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18285 (eval $ac_compile) 2>conftest.er1
18287 grep -v '^ *+' conftest.er1
>conftest.err
18289 cat conftest.err
>&5
18290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18291 (exit $ac_status); } &&
18292 { ac_try
='test -z "$ac_c_werror_flag"
18293 || test ! -s conftest.err'
18294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18295 (eval $ac_try) 2>&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); }; } &&
18299 { ac_try
='test -s conftest.$ac_objext'
18300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18301 (eval $ac_try) 2>&5
18303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18304 (exit $ac_status); }; }; then
18305 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=yes
18307 echo "$as_me: failed program was:" >&5
18308 sed 's/^/| /' conftest.
$ac_ext >&5
18310 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=no
18313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18316 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
18318 cat >>confdefs.h
<<\_ACEOF
18319 #define HAVE_LWPSTATUS_T_PR_CONTEXT 1
18323 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
18324 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
18326 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
18327 echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
18328 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
18329 echo $ECHO_N "(cached) $ECHO_C" >&6
18331 cat >conftest.
$ac_ext <<_ACEOF
18334 cat confdefs.h
>>conftest.
$ac_ext
18335 cat >>conftest.
$ac_ext <<_ACEOF
18336 /* end confdefs.h. */
18339 #include <sys/procfs.h>
18343 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
18348 rm -f conftest.
$ac_objext
18349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18350 (eval $ac_compile) 2>conftest.er1
18352 grep -v '^ *+' conftest.er1
>conftest.err
18354 cat conftest.err
>&5
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); } &&
18357 { ac_try
='test -z "$ac_c_werror_flag"
18358 || test ! -s conftest.err'
18359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18360 (eval $ac_try) 2>&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); }; } &&
18364 { ac_try
='test -s conftest.$ac_objext'
18365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18366 (eval $ac_try) 2>&5
18368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369 (exit $ac_status); }; }; then
18370 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=yes
18372 echo "$as_me: failed program was:" >&5
18373 sed 's/^/| /' conftest.
$ac_ext >&5
18375 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=no
18378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18381 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
18383 cat >>confdefs.h
<<\_ACEOF
18384 #define HAVE_LWPSTATUS_T_PR_REG 1
18388 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
18389 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
18391 echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
18392 echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
18393 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
18394 echo $ECHO_N "(cached) $ECHO_C" >&6
18396 cat >conftest.
$ac_ext <<_ACEOF
18399 cat confdefs.h
>>conftest.
$ac_ext
18400 cat >>conftest.
$ac_ext <<_ACEOF
18401 /* end confdefs.h. */
18404 #include <sys/procfs.h>
18408 win32_pstatus_t avar
18413 rm -f conftest.
$ac_objext
18414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18415 (eval $ac_compile) 2>conftest.er1
18417 grep -v '^ *+' conftest.er1
>conftest.err
18419 cat conftest.err
>&5
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); } &&
18422 { ac_try
='test -z "$ac_c_werror_flag"
18423 || test ! -s conftest.err'
18424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18425 (eval $ac_try) 2>&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); }; } &&
18429 { ac_try
='test -s conftest.$ac_objext'
18430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18431 (eval $ac_try) 2>&5
18433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18434 (exit $ac_status); }; }; then
18435 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=yes
18437 echo "$as_me: failed program was:" >&5
18438 sed 's/^/| /' conftest.
$ac_ext >&5
18440 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=no
18443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18446 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
18448 cat >>confdefs.h
<<\_ACEOF
18449 #define HAVE_WIN32_PSTATUS_T 1
18453 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
18454 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
18460 if test -n "$TRAD_HEADER"; then
18462 cat >>confdefs.h
<<_ACEOF
18463 #define TRAD_HEADER $TRAD_HEADER
18468 # Horrible hacks to build DLLs on Windows.
18473 if test "$enable_shared" = "yes"; then
18474 WIN32LDFLAGS
="-no-undefined"
18475 WIN32LIBADD
="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
18479 # We borrow WIN32LIBADD so that the shared libbfd won't depend on
18483 # Linux/MIPS uses PIC by default.
18484 if test "$enable_shared" = "yes"; then
18485 WIN32LIBADD
="-L../libiberty -liberty"
18489 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
18490 if test -n "$x"; then
18491 WIN32LIBADD
="-L../libiberty/pic -liberty"
18502 # Canonicalize the secondary target names.
18503 if test -n "$enable_targets" ; then
18504 for targ
in `echo $enable_targets | sed 's/,/ /g'`
18506 result
=`$ac_config_sub $targ 2>/dev/null`
18507 if test -n "$result" ; then
18508 canon_targets
="$canon_targets $result"
18510 # Allow targets that config.sub doesn't recognize, like "all".
18511 canon_targets
="$canon_targets $targ"
18522 for targ
in $target $canon_targets
18524 if test "x$targ" = "xall"; then
18526 assocvecs
="$assocvecs $targ_defvec $targ_selvecs"
18528 .
$srcdir/config.bfd
18529 if test "x$targ" = "x$target"; then
18530 defvec
=$targ_defvec
18532 selvecs
="$selvecs $targ_defvec $targ_selvecs"
18533 selarchs
="$selarchs $targ_archs"
18534 TDEFINES
="$TDEFINES $targ_cflags"
18539 # This processing still needs to be done if we're to decide properly whether
18540 # 64-bit support needs to be compiled in. Currently, it will be included if
18541 # the default or any other explicitly requested target requires it; it
18542 # will not be included on a 32-bit host if no 64-bit target is requested, and
18543 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
18546 # uniq the default and selected vectors in all the configured targets.
18548 for i
in $selvecs ; do
18557 # uniq the associated vectors in all the configured targets.
18559 for i
in $assocvecs ; do
18568 # uniq the architectures in all the configured targets.
18570 for i
in $selarchs ; do
18578 # Target backend .o files.
18581 elf
="elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
18583 for vec
in $selvecs
18587 # This list is alphabetized to make it easy to compare
18588 # with the two vector lists in targets.c. For the same reason,
18589 # use one entry per line, even though this leads to long lines.
18590 a_out_adobe_vec
) tb
="$tb aout-adobe.lo aout32.lo" ;;
18591 aix5coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
18592 aout0_big_vec
) tb
="$tb aout0.lo aout32.lo" ;;
18593 aout_arm_big_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
18594 aout_arm_little_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
18595 apollocoff_vec
) tb
="$tb coff-apollo.lo" ;;
18596 arm_epoc_pe_big_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
18597 arm_epoc_pe_little_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
18598 arm_epoc_pei_big_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
18599 arm_epoc_pei_little_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
18600 arm_wince_pe_big_vec
) tb
="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
18601 arm_wince_pe_little_vec
) tb
="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
18602 arm_wince_pei_big_vec
) tb
="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
18603 arm_wince_pei_little_vec
) tb
="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
18604 armcoff_big_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
18605 armcoff_little_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
18606 armnetbsd_vec
) tb
="$tb armnetbsd.lo aout32.lo" ;;
18607 armpe_big_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
18608 armpe_little_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
18609 armpei_big_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
18610 armpei_little_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
18611 b_out_vec_big_host
) tb
="$tb bout.lo aout32.lo" ;;
18612 b_out_vec_little_host
) tb
="$tb bout.lo aout32.lo" ;;
18613 bfd_efi_app_ia32_vec
) tb
="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;;
18614 bfd_efi_app_x86_64_vec
) tb
="$tb efi-app-x86_64.lo pex64igen.lo cofflink.lo" ;target_size
=64;;
18615 bfd_efi_app_ia64_vec
) tb
="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
18616 bfd_elf32_am33lin_vec
) tb
="$tb elf32-am33lin.lo elf32.lo $elf" ;;
18617 bfd_elf32_avr_vec
) tb
="$tb elf32-avr.lo elf32.lo $elf" ;;
18618 bfd_elf32_bfin_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
18619 bfd_elf32_bfinfdpic_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
18620 bfd_elf32_big_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
18621 bfd_elf32_bigarc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
18622 bfd_elf32_bigarm_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
18623 bfd_elf32_bigarm_symbian_vec
)
18624 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
18625 bfd_elf32_bigarm_vxworks_vec
)
18626 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
18627 bfd_elf32_bigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
18628 bfd_elf32_bigmips_vxworks_vec
)
18629 tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
18630 bfd_elf32_cr16_vec
) tb
="$tb elf32-cr16.lo elf32.lo $elf" ;;
18631 bfd_elf32_cr16c_vec
) tb
="$tb elf32-cr16c.lo elf32.lo $elf" ;;
18632 bfd_elf32_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
18633 bfd_elf32_crx_vec
) tb
="$tb elf32-crx.lo elf32.lo $elf" ;;
18634 bfd_elf32_d10v_vec
) tb
="$tb elf32-d10v.lo elf32.lo $elf" ;;
18635 bfd_elf32_d30v_vec
) tb
="$tb elf32-d30v.lo elf32.lo $elf" ;;
18636 bfd_elf32_dlx_big_vec
) tb
="$tb elf32-dlx.lo elf32.lo $elf" ;;
18637 bfd_elf32_fr30_vec
) tb
="$tb elf32-fr30.lo elf32.lo $elf" ;;
18638 bfd_elf32_frv_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
18639 bfd_elf32_frvfdpic_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
18640 bfd_elf32_h8300_vec
) tb
="$tb elf32-h8300.lo elf32.lo $elf" ;;
18641 bfd_elf32_hppa_linux_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
18642 bfd_elf32_hppa_nbsd_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
18643 bfd_elf32_hppa_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
18644 bfd_elf32_i370_vec
) tb
="$tb elf32-i370.lo elf32.lo $elf" ;;
18645 bfd_elf32_i386_freebsd_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
18646 bfd_elf32_i386_vxworks_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
18647 bfd_elf32_i386_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
18648 bfd_elf32_i860_little_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
18649 bfd_elf32_i860_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
18650 bfd_elf32_i960_vec
) tb
="$tb elf32-i960.lo elf32.lo $elf" ;;
18651 bfd_elf32_ia64_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf" ;;
18652 bfd_elf32_ia64_hpux_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf";;
18653 bfd_elf32_ip2k_vec
) tb
="$tb elf32-ip2k.lo elf32.lo $elf" ;;
18654 bfd_elf32_iq2000_vec
) tb
="$tb elf32-iq2000.lo elf32.lo $elf" ;;
18655 bfd_elf32_little_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
18656 bfd_elf32_littlearc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
18657 bfd_elf32_littlearm_symbian_vec
)
18658 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
18659 bfd_elf32_littlearm_vxworks_vec
)
18660 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
18661 bfd_elf32_littlearm_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
18662 bfd_elf32_littlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
18663 bfd_elf32_littlemips_vxworks_vec
)
18664 tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
18665 bfd_elf32_m32c_vec
) tb
="$tb elf32-m32c.lo elf32.lo $elf" ;;
18666 bfd_elf32_m32r_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
18667 bfd_elf32_m32rle_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
18668 bfd_elf32_m32rlin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
18669 bfd_elf32_m32rlelin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
18670 bfd_elf32_m68hc11_vec
) tb
="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
18671 bfd_elf32_m68hc12_vec
) tb
="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
18672 bfd_elf32_m68k_vec
) tb
="$tb elf32-m68k.lo elf32.lo $elf" ;;
18673 bfd_elf32_m88k_vec
) tb
="$tb elf32-m88k.lo elf32.lo $elf" ;;
18674 bfd_elf32_mcore_big_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
18675 bfd_elf32_mcore_little_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
18676 bfd_elf32_mep_vec
) tb
="$tb elf32-mep.lo elf32.lo $elf" ;;
18677 bfd_elf32_mep_little_vec
) tb
="$tb elf32-mep.lo elf32.lo $elf" ;;
18678 bfd_elf32_mn10200_vec
) tb
="$tb elf-m10200.lo elf32.lo $elf" ;;
18679 bfd_elf32_mn10300_vec
) tb
="$tb elf-m10300.lo elf32.lo $elf" ;;
18680 bfd_elf32_mt_vec
) tb
="$tb elf32-mt.lo elf32.lo $elf" ;;
18681 bfd_elf32_msp430_vec
) tb
="$tb elf32-msp430.lo elf32.lo $elf" ;;
18682 bfd_elf32_nbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
18683 bfd_elf32_nlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
18684 bfd_elf32_ntradbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
18685 bfd_elf32_ntradlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
18686 bfd_elf32_openrisc_vec
) tb
="$tb elf32-openrisc.lo elf32.lo $elf" ;;
18687 bfd_elf32_or32_big_vec
) tb
="$tb elf32-or32.lo elf32.lo $elf" ;;
18688 bfd_elf32_pj_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
18689 bfd_elf32_pjl_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
18690 bfd_elf32_powerpc_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
18691 bfd_elf32_powerpcle_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
18692 bfd_elf32_powerpc_vxworks_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
18693 bfd_elf32_s390_vec
) tb
="$tb elf32-s390.lo elf32.lo $elf" ;;
18694 bfd_elf32_bigscore_vec
) tb
="$tb elf32-score.lo elf32.lo $elf" ;;
18695 bfd_elf32_littlescore_vec
) tb
="$tb elf32-score.lo elf32.lo $elf" ;;
18696 # FIXME: We include cofflink.lo not because it's needed for
18697 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
18698 # which needs it but does not list it. Should be fixed in right place.
18699 bfd_elf32_sh64_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
18700 bfd_elf32_sh64l_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
18701 bfd_elf32_sh64lin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
18702 bfd_elf32_sh64blin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
18703 bfd_elf32_sh64lnbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
18704 bfd_elf32_sh64nbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
18705 bfd_elf32_sh_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
18706 bfd_elf32_shblin_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
18707 bfd_elf32_shl_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
18708 bfd_elf32_shl_symbian_vec
) tb
="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
18709 bfd_elf32_shlin_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
18710 bfd_elf32_shlnbsd_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
18711 bfd_elf32_shlvxworks_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
18712 bfd_elf32_shnbsd_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
18713 bfd_elf32_shvxworks_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
18714 bfd_elf32_sparc_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
18715 bfd_elf32_sparc_vxworks_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
18716 bfd_elf32_spu_vec
) tb
="$tb elf32-spu.lo elf32.lo $elf" ;;
18717 bfd_elf32_tradbigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
18718 bfd_elf32_tradlittlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
18719 bfd_elf32_us_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
18720 bfd_elf32_v850_vec
) tb
="$tb elf32-v850.lo elf32.lo $elf" ;;
18721 bfd_elf32_vax_vec
) tb
="$tb elf32-vax.lo elf32.lo $elf" ;;
18722 bfd_elf32_xstormy16_vec
) tb
="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
18723 bfd_elf32_xc16x_vec
) tb
="$tb elf32-xc16x.lo elf32.lo $elf" ;;
18724 bfd_elf32_xtensa_le_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
18725 bfd_elf32_xtensa_be_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
18726 bfd_elf64_alpha_freebsd_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
18727 bfd_elf64_alpha_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
18728 bfd_elf64_big_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
18729 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 ;;
18730 bfd_elf64_hppa_linux_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
18731 bfd_elf64_hppa_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
18732 bfd_elf64_ia64_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
18733 bfd_elf64_ia64_hpux_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
18734 bfd_elf64_ia64_little_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
18735 bfd_elf64_little_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
18736 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 ;;
18737 bfd_elf64_mmix_vec
) tb
="$tb elf64-mmix.lo elf64.lo $elf" target_size
=64 ;;
18738 bfd_elf64_powerpc_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
18739 bfd_elf64_powerpcle_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size
=64 ;;
18740 bfd_elf64_s390_vec
) tb
="$tb elf64-s390.lo elf64.lo $elf"; target_size
=64 ;;
18741 bfd_elf64_sh64_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
18742 bfd_elf64_sh64l_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
18743 bfd_elf64_sh64lin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
18744 bfd_elf64_sh64blin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
18745 bfd_elf64_sh64lnbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
18746 bfd_elf64_sh64nbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
18747 bfd_elf64_sparc_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size
=64 ;;
18748 bfd_elf64_sparc_freebsd_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size
=64 ;;
18749 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 ;;
18750 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 ;;
18751 bfd_elf64_x86_64_freebsd_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
18752 bfd_elf64_x86_64_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
18753 bfd_mmo_vec
) tb
="$tb mmo.lo" target_size
=64 ;;
18754 bfd_powerpc_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
18755 bfd_powerpc_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
18756 bfd_powerpcle_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
18757 bfd_powerpcle_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
18758 cris_aout_vec
) tb
="$tb aout-cris.lo" ;;
18759 demo_64_vec
) tb
="$tb demo64.lo aout64.lo"; target_size
=64 ;;
18760 ecoff_big_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
18761 ecoff_biglittle_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
18762 ecoff_little_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
18763 ecoffalpha_little_vec
) tb
="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size
=64 ;;
18764 go32coff_vec
) tb
="$tb coff-go32.lo cofflink.lo" ;;
18765 go32stubbedcoff_vec
) tb
="$tb coff-stgo32.lo cofflink.lo" ;;
18766 h8300coff_vec
) tb
="$tb coff-h8300.lo reloc16.lo" ;;
18767 h8500coff_vec
) tb
="$tb coff-h8500.lo reloc16.lo" ;;
18768 host_aout_vec
) tb
="$tb host-aout.lo aout32.lo" ;;
18769 hp300bsd_vec
) tb
="$tb hp300bsd.lo aout32.lo" ;;
18770 hp300hpux_vec
) tb
="$tb hp300hpux.lo aout32.lo" ;;
18771 i386aout_vec
) tb
="$tb i386aout.lo aout32.lo" ;;
18772 i386bsd_vec
) tb
="$tb i386bsd.lo aout32.lo" ;;
18773 i386coff_vec
) tb
="$tb coff-i386.lo cofflink.lo" ;;
18774 x86_64coff_vec
) tb
="$tb coff-x86_64.lo cofflink.lo"; target_size
=64 ;;
18775 i386dynix_vec
) tb
="$tb i386dynix.lo aout32.lo" ;;
18776 i386freebsd_vec
) tb
="$tb i386freebsd.lo aout32.lo" ;;
18777 i386linux_vec
) tb
="$tb i386linux.lo aout32.lo" ;;
18778 i386lynx_aout_vec
) tb
="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
18779 i386lynx_coff_vec
) tb
="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
18780 i386mach3_vec
) tb
="$tb i386mach3.lo aout32.lo" ;;
18781 i386msdos_vec
) tb
="$tb i386msdos.lo" ;;
18782 i386netbsd_vec
) tb
="$tb i386netbsd.lo aout32.lo" ;;
18783 i386os9k_vec
) tb
="$tb i386os9k.lo aout32.lo" ;;
18784 i386pe_vec
) tb
="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
18785 i386pei_vec
) tb
="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
18786 x86_64pe_vec
) tb
="$tb pe-x86_64.lo pex64igen.lo cofflink.lo"; target_size
=64 ;;
18787 x86_64pei_vec
) tb
="$tb pei-x86_64.lo pex64igen.lo cofflink.lo"; target_size
=64 ;;
18788 i860coff_vec
) tb
="$tb coff-i860.lo cofflink.lo" ;;
18789 icoff_big_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
18790 icoff_little_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
18791 ieee_vec
) tb
="$tb ieee.lo" ;;
18792 m68k4knetbsd_vec
) tb
="$tb m68k4knetbsd.lo aout32.lo" ;;
18793 m68kaux_coff_vec
) tb
="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
18794 m68kcoff_vec
) tb
="$tb coff-m68k.lo cofflink.lo" ;;
18795 m68kcoffun_vec
) tb
="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
18796 m68klinux_vec
) tb
="$tb m68klinux.lo aout32.lo" ;;
18797 m68knetbsd_vec
) tb
="$tb m68knetbsd.lo aout32.lo" ;;
18798 m68ksysvcoff_vec
) tb
="$tb coff-svm68k.lo cofflink.lo" ;;
18799 m88kbcs_vec
) tb
="$tb coff-m88k.lo" ;;
18800 m88kmach3_vec
) tb
="$tb m88kmach3.lo aout32.lo" ;;
18801 m88kopenbsd_vec
) tb
="$tb m88kopenbsd.lo aout32.lo" ;;
18802 maxqcoff_vec
) tb
="$tb coff-maxq.lo" ;;
18803 mach_o_be_vec
) tb
="$tb mach-o.lo" ;;
18804 mach_o_le_vec
) tb
="$tb mach-o.lo" ;;
18805 mach_o_fat_vec
) tb
="$tb mach-o.lo" ;;
18806 mcore_pe_big_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
18807 mcore_pe_little_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
18808 mcore_pei_big_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
18809 mcore_pei_little_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
18810 mipslpe_vec
) tb
="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
18811 mipslpei_vec
) tb
="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
18812 newsos3_vec
) tb
="$tb newsos3.lo aout32.lo" ;;
18813 nlm32_alpha_vec
) tb
="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size
=64 ;;
18814 nlm32_i386_vec
) tb
="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
18815 nlm32_powerpc_vec
) tb
="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
18816 nlm32_sparc_vec
) tb
="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
18817 or32coff_big_vec
) tb
="$tb coff-or32.lo cofflink.lo" ;;
18818 pc532machaout_vec
) tb
="$tb pc532-mach.lo aout-ns32k.lo" ;;
18819 pc532netbsd_vec
) tb
="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
18820 pef_vec
) tb
="$tb pef.lo" ;;
18821 pef_xlib_vec
) tb
="$tb pef.lo" ;;
18822 pdp11_aout_vec
) tb
="$tb pdp11.lo" ;;
18823 pmac_xcoff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
18824 ppcboot_vec
) tb
="$tb ppcboot.lo" ;;
18825 riscix_vec
) tb
="$tb aout32.lo riscix.lo" ;;
18826 rs6000coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
18827 rs6000coff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
18828 shcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
18829 shcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
18830 shlcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
18831 shlcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
18832 shlpe_vec
) tb
="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
18833 shlpei_vec
) tb
="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
18834 som_vec
) tb
="$tb som.lo" ;;
18835 sparccoff_vec
) tb
="$tb coff-sparc.lo" ;;
18836 sparcle_aout_vec
) tb
="$tb aout-sparcle.lo aout32.lo" ;;
18837 sparclinux_vec
) tb
="$tb sparclinux.lo aout32.lo" ;;
18838 sparclynx_aout_vec
) tb
="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
18839 sparclynx_coff_vec
) tb
="$tb cf-sparclynx.lo lynx-core.lo" ;;
18840 sparcnetbsd_vec
) tb
="$tb sparcnetbsd.lo aout32.lo" ;;
18841 sunos_big_vec
) tb
="$tb sunos.lo aout32.lo" ;;
18842 sym_vec
) tb
="$tb xsym.lo" ;;
18843 tic30_aout_vec
) tb
="$tb aout-tic30.lo" ;;
18844 tic30_coff_vec
) tb
="$tb coff-tic30.lo" ;;
18845 tic4x_coff0_vec
) tb
="$tb coff-tic4x.lo" ;;
18846 tic4x_coff0_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
18847 tic4x_coff1_vec
) tb
="$tb coff-tic4x.lo" ;;
18848 tic4x_coff1_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
18849 tic4x_coff2_vec
) tb
="$tb coff-tic4x.lo" ;;
18850 tic4x_coff2_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
18851 tic54x_coff0_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
18852 tic54x_coff0_vec
) tb
="$tb coff-tic54x.lo" ;;
18853 tic54x_coff1_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
18854 tic54x_coff1_vec
) tb
="$tb coff-tic54x.lo" ;;
18855 tic54x_coff2_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
18856 tic54x_coff2_vec
) tb
="$tb coff-tic54x.lo" ;;
18857 tic80coff_vec
) tb
="$tb coff-tic80.lo cofflink.lo" ;;
18858 vaxnetbsd_vec
) tb
="$tb vaxnetbsd.lo aout32.lo" ;;
18859 vax1knetbsd_vec
) tb
="$tb vax1knetbsd.lo aout32.lo" ;;
18860 vaxbsd_vec
) tb
="$tb vaxbsd.lo aout32.lo" ;;
18861 versados_vec
) tb
="$tb versados.lo" ;;
18862 vms_alpha_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size
=64 ;;
18863 vms_vax_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
18864 w65_vec
) tb
="$tb coff-w65.lo reloc16.lo" ;;
18865 we32kcoff_vec
) tb
="$tb coff-we32k.lo" ;;
18866 z80coff_vec
) tb
="$tb coff-z80.lo reloc16.lo" ;;
18867 z8kcoff_vec
) tb
="$tb coff-z8k.lo reloc16.lo cofflink.lo" ;;
18869 # These appear out of order in targets.c
18870 srec_vec
) tb
="$tb srec.lo" ;;
18871 symbolsrec_vec
) tb
="$tb srec.lo" ;;
18872 tekhex_vec
) tb
="$tb tekhex.lo" ;;
18873 cisco_core_big_vec
) tb
="$tb cisco-core.lo" ;;
18874 cisco_core_little_vec
) tb
="$tb cisco-core.lo" ;;
18877 *) { { echo "$as_me:$LINENO: error: *** unknown target vector $vec" >&5
18878 echo "$as_me: error: *** unknown target vector $vec" >&2;}
18879 { (exit 1); exit 1; }; } ;;
18882 if test ${target_size} = 64; then
18885 if test x
"${vec}" = x
"${defvec}"; then
18886 bfd_default_target_size
=${target_size}
18890 # Target architecture .o files.
18891 # A couple of CPUs use shorter file names to avoid problems on DOS
18893 ta
=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
18895 # Weed out duplicate .o files.
18917 if test x
${all_targets} = xtrue
; then
18918 bfd_backends
="${bfd_backends}"' $(ALL_BACKENDS)'
18919 bfd_machines
="${bfd_machines}"' $(ALL_MACHINES)'
18923 test -n "$assocvecs" &&
18924 assocvecs
=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
18925 else # all_targets is true
18926 # Only set these if they will be nonempty, for the clever echo.
18929 test -n "$selvecs" &&
18930 havevecs
=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
18931 test -n "$selvecs" &&
18932 selvecs
=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
18933 test -n "$selarchs" &&
18934 selarchs
=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
18935 fi # all_targets is true
18937 case ${host64}-${target64}-${want64} in
18940 bfd64_libs
='$(BFD64_LIBS)'
18941 all_backends
='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
18942 if test $BFD_HOST_64_BIT_DEFINED = 0; then
18943 { echo "$as_me:$LINENO: WARNING: You have requested a 64 bit BFD configuration, but" >&5
18944 echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
18945 { echo "$as_me:$LINENO: WARNING: your compiler may not have a 64 bit integral type" >&5
18946 echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
18948 if test -n "$GCC" ; then
18950 echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
18951 echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
18952 # Add more tests for gcc versions with non-working 64-bit support here.
18953 cat >conftest.
$ac_ext <<_ACEOF
18956 cat confdefs.h
>>conftest.
$ac_ext
18957 cat >>conftest.
$ac_ext <<_ACEOF
18958 /* end confdefs.h. */
18959 :__GNUC__:__GNUC_MINOR__:__i386__:
18961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18962 $EGREP ": 2 : 91 : 1 :" >/dev
/null
2>&1; then
18964 echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
18965 echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
18967 echo "$as_me:$LINENO: result: no" >&5
18968 echo "${ECHO_T}no" >&6
18972 if test $bad_64bit_gcc = yes ; then
18973 { { echo "$as_me:$LINENO: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&5
18974 echo "$as_me: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&2;}
18975 { (exit 1); exit 1; }; }
18981 all_backends
='$(BFD32_BACKENDS)'
18992 # Determine the host dependant file_ptr a.k.a. off_t type. In order
18993 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
18994 # fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
18995 # Hopefully a reasonable assumption since fseeko et.al. should be
18996 # upward compatible.
19002 for ac_func
in ftello ftello64 fseeko fseeko64 fopen64
19004 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19005 echo "$as_me:$LINENO: checking for $ac_func" >&5
19006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19007 if eval "test \"\${$as_ac_var+set}\" = set"; then
19008 echo $ECHO_N "(cached) $ECHO_C" >&6
19010 cat >conftest.
$ac_ext <<_ACEOF
19013 cat confdefs.h
>>conftest.
$ac_ext
19014 cat >>conftest.
$ac_ext <<_ACEOF
19015 /* end confdefs.h. */
19016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19018 #define $ac_func innocuous_$ac_func
19020 /* System header to define __stub macros and hopefully few prototypes,
19021 which can conflict with char $ac_func (); below.
19022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19023 <limits.h> exists even on freestanding compilers. */
19026 # include <limits.h>
19028 # include <assert.h>
19033 /* Override any gcc2 internal prototype to avoid an error. */
19038 /* We use char because int might match the return type of a gcc2
19039 builtin and then its argument prototype would still apply. */
19041 /* The GNU C library defines this for functions which it implements
19042 to always fail with ENOSYS. Some functions are actually named
19043 something starting with __ and the normal name is an alias. */
19044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19047 char (*f) () = $ac_func;
19056 return f != $ac_func;
19061 rm -f conftest.
$ac_objext conftest
$ac_exeext
19062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19063 (eval $ac_link) 2>conftest.er1
19065 grep -v '^ *+' conftest.er1
>conftest.err
19067 cat conftest.err
>&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); } &&
19070 { ac_try
='test -z "$ac_c_werror_flag"
19071 || test ! -s conftest.err'
19072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19073 (eval $ac_try) 2>&5
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); }; } &&
19077 { ac_try
='test -s conftest$ac_exeext'
19078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19079 (eval $ac_try) 2>&5
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); }; }; then
19083 eval "$as_ac_var=yes"
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.
$ac_ext >&5
19088 eval "$as_ac_var=no"
19090 rm -f conftest.err conftest.
$ac_objext \
19091 conftest
$ac_exeext conftest.
$ac_ext
19093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19095 if test `eval echo '${'$as_ac_var'}'` = yes; then
19096 cat >>confdefs.h
<<_ACEOF
19097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19103 if test x
"$ac_cv_func_ftello" = xyes
-a x
"$ac_cv_func_fseeko" = xyes
; then
19104 echo "$as_me:$LINENO: checking for off_t" >&5
19105 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
19106 if test "${ac_cv_type_off_t+set}" = set; then
19107 echo $ECHO_N "(cached) $ECHO_C" >&6
19109 cat >conftest.
$ac_ext <<_ACEOF
19112 cat confdefs.h
>>conftest.
$ac_ext
19113 cat >>conftest.
$ac_ext <<_ACEOF
19114 /* end confdefs.h. */
19115 $ac_includes_default
19121 if (sizeof (off_t))
19127 rm -f conftest.
$ac_objext
19128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19129 (eval $ac_compile) 2>conftest.er1
19131 grep -v '^ *+' conftest.er1
>conftest.err
19133 cat conftest.err
>&5
19134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135 (exit $ac_status); } &&
19136 { ac_try
='test -z "$ac_c_werror_flag"
19137 || test ! -s conftest.err'
19138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19139 (eval $ac_try) 2>&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); }; } &&
19143 { ac_try
='test -s conftest.$ac_objext'
19144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19145 (eval $ac_try) 2>&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); }; }; then
19149 ac_cv_type_off_t
=yes
19151 echo "$as_me: failed program was:" >&5
19152 sed 's/^/| /' conftest.
$ac_ext >&5
19154 ac_cv_type_off_t
=no
19156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19158 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19159 echo "${ECHO_T}$ac_cv_type_off_t" >&6
19161 echo "$as_me:$LINENO: checking size of off_t" >&5
19162 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
19163 if test "${ac_cv_sizeof_off_t+set}" = set; then
19164 echo $ECHO_N "(cached) $ECHO_C" >&6
19166 if test "$ac_cv_type_off_t" = yes; then
19167 # The cast to unsigned long works around a bug in the HP C Compiler
19168 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19169 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19170 # This bug is HP SR number 8606223364.
19171 if test "$cross_compiling" = yes; then
19172 # Depending upon the size, compute the lo and hi bounds.
19173 cat >conftest.
$ac_ext <<_ACEOF
19176 cat confdefs.h
>>conftest.
$ac_ext
19177 cat >>conftest.
$ac_ext <<_ACEOF
19178 /* end confdefs.h. */
19179 $ac_includes_default
19183 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)];
19190 rm -f conftest.
$ac_objext
19191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19192 (eval $ac_compile) 2>conftest.er1
19194 grep -v '^ *+' conftest.er1
>conftest.err
19196 cat conftest.err
>&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); } &&
19199 { ac_try
='test -z "$ac_c_werror_flag"
19200 || test ! -s conftest.err'
19201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19202 (eval $ac_try) 2>&5
19204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205 (exit $ac_status); }; } &&
19206 { ac_try
='test -s conftest.$ac_objext'
19207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19208 (eval $ac_try) 2>&5
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); }; }; then
19214 cat >conftest.
$ac_ext <<_ACEOF
19217 cat confdefs.h
>>conftest.
$ac_ext
19218 cat >>conftest.
$ac_ext <<_ACEOF
19219 /* end confdefs.h. */
19220 $ac_includes_default
19224 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
19231 rm -f conftest.
$ac_objext
19232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19233 (eval $ac_compile) 2>conftest.er1
19235 grep -v '^ *+' conftest.er1
>conftest.err
19237 cat conftest.err
>&5
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); } &&
19240 { ac_try
='test -z "$ac_c_werror_flag"
19241 || test ! -s conftest.err'
19242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19243 (eval $ac_try) 2>&5
19245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19246 (exit $ac_status); }; } &&
19247 { ac_try
='test -s conftest.$ac_objext'
19248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19249 (eval $ac_try) 2>&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); }; }; then
19253 ac_hi
=$ac_mid; break
19255 echo "$as_me: failed program was:" >&5
19256 sed 's/^/| /' conftest.
$ac_ext >&5
19258 ac_lo
=`expr $ac_mid + 1`
19259 if test $ac_lo -le $ac_mid; then
19263 ac_mid
=`expr 2 '*' $ac_mid + 1`
19265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19268 echo "$as_me: failed program was:" >&5
19269 sed 's/^/| /' conftest.
$ac_ext >&5
19271 cat >conftest.
$ac_ext <<_ACEOF
19274 cat confdefs.h
>>conftest.
$ac_ext
19275 cat >>conftest.
$ac_ext <<_ACEOF
19276 /* end confdefs.h. */
19277 $ac_includes_default
19281 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)];
19288 rm -f conftest.
$ac_objext
19289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19290 (eval $ac_compile) 2>conftest.er1
19292 grep -v '^ *+' conftest.er1
>conftest.err
19294 cat conftest.err
>&5
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); } &&
19297 { ac_try
='test -z "$ac_c_werror_flag"
19298 || test ! -s conftest.err'
19299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19300 (eval $ac_try) 2>&5
19302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19303 (exit $ac_status); }; } &&
19304 { ac_try
='test -s conftest.$ac_objext'
19305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19306 (eval $ac_try) 2>&5
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); }; }; then
19312 cat >conftest.
$ac_ext <<_ACEOF
19315 cat confdefs.h
>>conftest.
$ac_ext
19316 cat >>conftest.
$ac_ext <<_ACEOF
19317 /* end confdefs.h. */
19318 $ac_includes_default
19322 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)];
19329 rm -f conftest.
$ac_objext
19330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19331 (eval $ac_compile) 2>conftest.er1
19333 grep -v '^ *+' conftest.er1
>conftest.err
19335 cat conftest.err
>&5
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); } &&
19338 { ac_try
='test -z "$ac_c_werror_flag"
19339 || test ! -s conftest.err'
19340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19341 (eval $ac_try) 2>&5
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); }; } &&
19345 { ac_try
='test -s conftest.$ac_objext'
19346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19347 (eval $ac_try) 2>&5
19349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19350 (exit $ac_status); }; }; then
19351 ac_lo
=$ac_mid; break
19353 echo "$as_me: failed program was:" >&5
19354 sed 's/^/| /' conftest.
$ac_ext >&5
19356 ac_hi
=`expr '(' $ac_mid ')' - 1`
19357 if test $ac_mid -le $ac_hi; then
19361 ac_mid
=`expr 2 '*' $ac_mid`
19363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19366 echo "$as_me: failed program was:" >&5
19367 sed 's/^/| /' conftest.
$ac_ext >&5
19371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19374 # Binary search between lo and hi bounds.
19375 while test "x$ac_lo" != "x$ac_hi"; do
19376 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19377 cat >conftest.
$ac_ext <<_ACEOF
19380 cat confdefs.h
>>conftest.
$ac_ext
19381 cat >>conftest.
$ac_ext <<_ACEOF
19382 /* end confdefs.h. */
19383 $ac_includes_default
19387 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
19394 rm -f conftest.
$ac_objext
19395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19396 (eval $ac_compile) 2>conftest.er1
19398 grep -v '^ *+' conftest.er1
>conftest.err
19400 cat conftest.err
>&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } &&
19403 { ac_try
='test -z "$ac_c_werror_flag"
19404 || test ! -s conftest.err'
19405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19406 (eval $ac_try) 2>&5
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); }; } &&
19410 { ac_try
='test -s conftest.$ac_objext'
19411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19412 (eval $ac_try) 2>&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); }; }; then
19418 echo "$as_me: failed program was:" >&5
19419 sed 's/^/| /' conftest.
$ac_ext >&5
19421 ac_lo
=`expr '(' $ac_mid ')' + 1`
19423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19426 ?
*) ac_cv_sizeof_off_t
=$ac_lo;;
19427 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
19428 See \`config.log' for more details." >&5
19429 echo "$as_me: error: cannot compute sizeof (off_t), 77
19430 See \`config.log' for more details." >&2;}
19431 { (exit 1); exit 1; }; } ;;
19434 if test "$cross_compiling" = yes; then
19435 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19436 See \`config.log' for more details." >&5
19437 echo "$as_me: error: cannot run test program while cross compiling
19438 See \`config.log' for more details." >&2;}
19439 { (exit 1); exit 1; }; }
19441 cat >conftest.
$ac_ext <<_ACEOF
19444 cat confdefs.h
>>conftest.
$ac_ext
19445 cat >>conftest.
$ac_ext <<_ACEOF
19446 /* end confdefs.h. */
19447 $ac_includes_default
19448 long longval () { return (long) (sizeof (off_t)); }
19449 unsigned long ulongval () { return (long) (sizeof (off_t)); }
19451 #include <stdlib.h>
19456 FILE *f = fopen ("conftest.val", "w");
19459 if (((long) (sizeof (off_t))) < 0)
19461 long i = longval ();
19462 if (i != ((long) (sizeof (off_t))))
19464 fprintf (f, "%ld\n", i);
19468 unsigned long i = ulongval ();
19469 if (i != ((long) (sizeof (off_t))))
19471 fprintf (f, "%lu\n", i);
19473 exit (ferror (f) || fclose (f) != 0);
19479 rm -f conftest
$ac_exeext
19480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19481 (eval $ac_link) 2>&5
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19486 (eval $ac_try) 2>&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); }; }; then
19490 ac_cv_sizeof_off_t
=`cat conftest.val`
19492 echo "$as_me: program exited with status $ac_status" >&5
19493 echo "$as_me: failed program was:" >&5
19494 sed 's/^/| /' conftest.
$ac_ext >&5
19496 ( exit $ac_status )
19497 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
19498 See \`config.log' for more details." >&5
19499 echo "$as_me: error: cannot compute sizeof (off_t), 77
19500 See \`config.log' for more details." >&2;}
19501 { (exit 1); exit 1; }; }
19503 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19508 ac_cv_sizeof_off_t
=0
19511 echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
19512 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
19513 cat >>confdefs.h
<<_ACEOF
19514 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
19519 echo "$as_me:$LINENO: checking file_ptr type" >&5
19520 echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
19521 bfd_file_ptr
="long"
19522 bfd_ufile_ptr
="unsigned long"
19523 if test x
"$ac_cv_func_ftello64" = xyes
-a x
"$ac_cv_func_fseeko64" = xyes \
19524 -o x
"${ac_cv_sizeof_off_t}" = x8
; then
19525 bfd_file_ptr
=BFD_HOST_64_BIT
19526 bfd_ufile_ptr
=BFD_HOST_U_64_BIT
19528 echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
19529 echo "${ECHO_T}$bfd_file_ptr" >&6
19535 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
19536 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
19537 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
19538 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
19539 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
19544 for ac_header
in stdlib.h unistd.h
19546 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19548 echo "$as_me:$LINENO: checking for $ac_header" >&5
19549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19551 echo $ECHO_N "(cached) $ECHO_C" >&6
19553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19556 # Is the header compilable?
19557 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19558 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19559 cat >conftest.
$ac_ext <<_ACEOF
19562 cat confdefs.h
>>conftest.
$ac_ext
19563 cat >>conftest.
$ac_ext <<_ACEOF
19564 /* end confdefs.h. */
19565 $ac_includes_default
19566 #include <$ac_header>
19568 rm -f conftest.
$ac_objext
19569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19570 (eval $ac_compile) 2>conftest.er1
19572 grep -v '^ *+' conftest.er1
>conftest.err
19574 cat conftest.err
>&5
19575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576 (exit $ac_status); } &&
19577 { ac_try
='test -z "$ac_c_werror_flag"
19578 || test ! -s conftest.err'
19579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19580 (eval $ac_try) 2>&5
19582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583 (exit $ac_status); }; } &&
19584 { ac_try
='test -s conftest.$ac_objext'
19585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19586 (eval $ac_try) 2>&5
19588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589 (exit $ac_status); }; }; then
19590 ac_header_compiler
=yes
19592 echo "$as_me: failed program was:" >&5
19593 sed 's/^/| /' conftest.
$ac_ext >&5
19595 ac_header_compiler
=no
19597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19598 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19599 echo "${ECHO_T}$ac_header_compiler" >&6
19601 # Is the header present?
19602 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19603 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19604 cat >conftest.
$ac_ext <<_ACEOF
19607 cat confdefs.h
>>conftest.
$ac_ext
19608 cat >>conftest.
$ac_ext <<_ACEOF
19609 /* end confdefs.h. */
19610 #include <$ac_header>
19612 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19613 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19615 grep -v '^ *+' conftest.er1
>conftest.err
19617 cat conftest.err
>&5
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); } >/dev
/null
; then
19620 if test -s conftest.err
; then
19621 ac_cpp_err
=$ac_c_preproc_warn_flag
19622 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19629 if test -z "$ac_cpp_err"; then
19630 ac_header_preproc
=yes
19632 echo "$as_me: failed program was:" >&5
19633 sed 's/^/| /' conftest.
$ac_ext >&5
19635 ac_header_preproc
=no
19637 rm -f conftest.err conftest.
$ac_ext
19638 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19639 echo "${ECHO_T}$ac_header_preproc" >&6
19641 # So? What about this header?
19642 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19644 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19645 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19646 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19647 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19648 ac_header_preproc
=yes
19651 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19652 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19653 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19654 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19655 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19656 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19657 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19658 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19659 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19660 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19661 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19662 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19665 ## ------------------------------------------ ##
19666 ## Report this to the AC_PACKAGE_NAME lists. ##
19667 ## ------------------------------------------ ##
19670 sed "s/^/$as_me: WARNING: /" >&2
19673 echo "$as_me:$LINENO: checking for $ac_header" >&5
19674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19676 echo $ECHO_N "(cached) $ECHO_C" >&6
19678 eval "$as_ac_Header=\$ac_header_preproc"
19680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19684 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19685 cat >>confdefs.h
<<_ACEOF
19686 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19694 for ac_func
in getpagesize
19696 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19697 echo "$as_me:$LINENO: checking for $ac_func" >&5
19698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19699 if eval "test \"\${$as_ac_var+set}\" = set"; then
19700 echo $ECHO_N "(cached) $ECHO_C" >&6
19702 cat >conftest.
$ac_ext <<_ACEOF
19705 cat confdefs.h
>>conftest.
$ac_ext
19706 cat >>conftest.
$ac_ext <<_ACEOF
19707 /* end confdefs.h. */
19708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19710 #define $ac_func innocuous_$ac_func
19712 /* System header to define __stub macros and hopefully few prototypes,
19713 which can conflict with char $ac_func (); below.
19714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19715 <limits.h> exists even on freestanding compilers. */
19718 # include <limits.h>
19720 # include <assert.h>
19725 /* Override any gcc2 internal prototype to avoid an error. */
19730 /* We use char because int might match the return type of a gcc2
19731 builtin and then its argument prototype would still apply. */
19733 /* The GNU C library defines this for functions which it implements
19734 to always fail with ENOSYS. Some functions are actually named
19735 something starting with __ and the normal name is an alias. */
19736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19739 char (*f) () = $ac_func;
19748 return f != $ac_func;
19753 rm -f conftest.
$ac_objext conftest
$ac_exeext
19754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19755 (eval $ac_link) 2>conftest.er1
19757 grep -v '^ *+' conftest.er1
>conftest.err
19759 cat conftest.err
>&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); } &&
19762 { ac_try
='test -z "$ac_c_werror_flag"
19763 || test ! -s conftest.err'
19764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765 (eval $ac_try) 2>&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); }; } &&
19769 { ac_try
='test -s conftest$ac_exeext'
19770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771 (eval $ac_try) 2>&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); }; }; then
19775 eval "$as_ac_var=yes"
19777 echo "$as_me: failed program was:" >&5
19778 sed 's/^/| /' conftest.
$ac_ext >&5
19780 eval "$as_ac_var=no"
19782 rm -f conftest.err conftest.
$ac_objext \
19783 conftest
$ac_exeext conftest.
$ac_ext
19785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19787 if test `eval echo '${'$as_ac_var'}'` = yes; then
19788 cat >>confdefs.h
<<_ACEOF
19789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19795 echo "$as_me:$LINENO: checking for working mmap" >&5
19796 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
19797 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
19798 echo $ECHO_N "(cached) $ECHO_C" >&6
19800 if test "$cross_compiling" = yes; then
19801 ac_cv_func_mmap_fixed_mapped
=no
19803 cat >conftest.
$ac_ext <<_ACEOF
19806 cat confdefs.h
>>conftest.
$ac_ext
19807 cat >>conftest.
$ac_ext <<_ACEOF
19808 /* end confdefs.h. */
19809 $ac_includes_default
19810 /* malloc might have been renamed as rpl_malloc. */
19813 /* Thanks to Mike Haertel and Jim Avera for this test.
19814 Here is a matrix of mmap possibilities:
19815 mmap private not fixed
19816 mmap private fixed at somewhere currently unmapped
19817 mmap private fixed at somewhere already mapped
19818 mmap shared not fixed
19819 mmap shared fixed at somewhere currently unmapped
19820 mmap shared fixed at somewhere already mapped
19821 For private mappings, we should verify that changes cannot be read()
19822 back from the file, nor mmap's back from the file at a different
19823 address. (There have been systems where private was not correctly
19824 implemented like the infamous i386 svr4.0, and systems where the
19825 VM page cache was not coherent with the file system buffer cache
19826 like early versions of FreeBSD and possibly contemporary NetBSD.)
19827 For shared mappings, we should conversely verify that changes get
19828 propagated back to all the places they're supposed to be.
19830 Grep wants private fixed already mapped.
19831 The main things grep needs to know about mmap are:
19832 * does it exist and is it safe to write into the mmap'd area
19833 * how to use it (BSD variants) */
19836 #include <sys/mman.h>
19838 #if !STDC_HEADERS && !HAVE_STDLIB_H
19842 /* This mess was copied from the GNU getpagesize.h. */
19843 #if !HAVE_GETPAGESIZE
19844 /* Assume that all systems that can run configure have sys/param.h. */
19845 # if !HAVE_SYS_PARAM_H
19846 # define HAVE_SYS_PARAM_H 1
19849 # ifdef _SC_PAGESIZE
19850 # define getpagesize() sysconf(_SC_PAGESIZE)
19851 # else /* no _SC_PAGESIZE */
19852 # if HAVE_SYS_PARAM_H
19853 # include <sys/param.h>
19854 # ifdef EXEC_PAGESIZE
19855 # define getpagesize() EXEC_PAGESIZE
19856 # else /* no EXEC_PAGESIZE */
19858 # define getpagesize() NBPG * CLSIZE
19861 # endif /* no CLSIZE */
19862 # else /* no NBPG */
19864 # define getpagesize() NBPC
19865 # else /* no NBPC */
19867 # define getpagesize() PAGESIZE
19868 # endif /* PAGESIZE */
19869 # endif /* no NBPC */
19870 # endif /* no NBPG */
19871 # endif /* no EXEC_PAGESIZE */
19872 # else /* no HAVE_SYS_PARAM_H */
19873 # define getpagesize() 8192 /* punt totally */
19874 # endif /* no HAVE_SYS_PARAM_H */
19875 # endif /* no _SC_PAGESIZE */
19877 #endif /* no HAVE_GETPAGESIZE */
19882 char *data, *data2, *data3;
19886 pagesize = getpagesize ();
19888 /* First, make a file with some known garbage in it. */
19889 data = (char *) malloc (pagesize);
19892 for (i = 0; i < pagesize; ++i)
19893 *(data + i) = rand ();
19895 fd = creat ("conftest.mmap", 0600);
19898 if (write (fd, data, pagesize) != pagesize)
19902 /* Next, try to mmap the file at a fixed address which already has
19903 something else allocated at it. If we can, also make sure that
19904 we see the same garbage. */
19905 fd = open ("conftest.mmap", O_RDWR);
19908 data2 = (char *) malloc (2 * pagesize);
19911 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
19912 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
19913 MAP_PRIVATE | MAP_FIXED, fd, 0L))
19915 for (i = 0; i < pagesize; ++i)
19916 if (*(data + i) != *(data2 + i))
19919 /* Finally, make sure that changes to the mapped area do not
19920 percolate back to the file as seen by read(). (This is a bug on
19921 some variants of i386 svr4.0.) */
19922 for (i = 0; i < pagesize; ++i)
19923 *(data2 + i) = *(data2 + i) + 1;
19924 data3 = (char *) malloc (pagesize);
19927 if (read (fd, data3, pagesize) != pagesize)
19929 for (i = 0; i < pagesize; ++i)
19930 if (*(data + i) != *(data3 + i))
19936 rm -f conftest
$ac_exeext
19937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19938 (eval $ac_link) 2>&5
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19943 (eval $ac_try) 2>&5
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); }; }; then
19947 ac_cv_func_mmap_fixed_mapped
=yes
19949 echo "$as_me: program exited with status $ac_status" >&5
19950 echo "$as_me: failed program was:" >&5
19951 sed 's/^/| /' conftest.
$ac_ext >&5
19953 ( exit $ac_status )
19954 ac_cv_func_mmap_fixed_mapped
=no
19956 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19959 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
19960 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
19961 if test $ac_cv_func_mmap_fixed_mapped = yes; then
19963 cat >>confdefs.h
<<\_ACEOF
19964 #define HAVE_MMAP 1
19968 rm -f conftest.mmap
19972 for ac_func
in madvise mprotect
19974 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19975 echo "$as_me:$LINENO: checking for $ac_func" >&5
19976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19977 if eval "test \"\${$as_ac_var+set}\" = set"; then
19978 echo $ECHO_N "(cached) $ECHO_C" >&6
19980 cat >conftest.
$ac_ext <<_ACEOF
19983 cat confdefs.h
>>conftest.
$ac_ext
19984 cat >>conftest.
$ac_ext <<_ACEOF
19985 /* end confdefs.h. */
19986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19988 #define $ac_func innocuous_$ac_func
19990 /* System header to define __stub macros and hopefully few prototypes,
19991 which can conflict with char $ac_func (); below.
19992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19993 <limits.h> exists even on freestanding compilers. */
19996 # include <limits.h>
19998 # include <assert.h>
20003 /* Override any gcc2 internal prototype to avoid an error. */
20008 /* We use char because int might match the return type of a gcc2
20009 builtin and then its argument prototype would still apply. */
20011 /* The GNU C library defines this for functions which it implements
20012 to always fail with ENOSYS. Some functions are actually named
20013 something starting with __ and the normal name is an alias. */
20014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20017 char (*f) () = $ac_func;
20026 return f != $ac_func;
20031 rm -f conftest.
$ac_objext conftest
$ac_exeext
20032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20033 (eval $ac_link) 2>conftest.er1
20035 grep -v '^ *+' conftest.er1
>conftest.err
20037 cat conftest.err
>&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); } &&
20040 { ac_try
='test -z "$ac_c_werror_flag"
20041 || test ! -s conftest.err'
20042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20043 (eval $ac_try) 2>&5
20045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046 (exit $ac_status); }; } &&
20047 { ac_try
='test -s conftest$ac_exeext'
20048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20049 (eval $ac_try) 2>&5
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); }; }; then
20053 eval "$as_ac_var=yes"
20055 echo "$as_me: failed program was:" >&5
20056 sed 's/^/| /' conftest.
$ac_ext >&5
20058 eval "$as_ac_var=no"
20060 rm -f conftest.err conftest.
$ac_objext \
20061 conftest
$ac_exeext conftest.
$ac_ext
20063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20065 if test `eval echo '${'$as_ac_var'}'` = yes; then
20066 cat >>confdefs.h
<<_ACEOF
20067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20073 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
20075 cat >>confdefs.h
<<\_ACEOF
20081 rm -f doc
/config.status
20082 ac_config_files
="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
20085 ac_config_commands
="$ac_config_commands default"
20092 cat >confcache
<<\_ACEOF
20093 # This file is a shell script that caches the results of configure
20094 # tests run on this system so they can be shared between configure
20095 # scripts and configure runs, see configure's option --config-cache.
20096 # It is not useful on other systems. If it contains results you don't
20097 # want to keep, you may remove or edit it.
20099 # config.status only pays attention to the cache file if you give it
20100 # the --recheck option to rerun configure.
20102 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20103 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20104 # following values.
20108 # The following way of writing the cache mishandles newlines in values,
20109 # but we know of no workaround that is simple, portable, and efficient.
20110 # So, don't put newlines in cache variables' values.
20111 # Ultrix sh set writes to stderr and can't be redirected directly,
20112 # and sets the high bit in the cache file unless we assign to the vars.
20115 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20117 # `set' does not quote correctly, so add quotes (double-quote
20118 # substitution turns \\\\ into \\, and sed turns \\ into \).
20121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20124 # `set' quotes correctly as required by POSIX, so do not add quotes.
20126 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20133 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20135 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20137 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20138 if test -w $cache_file; then
20139 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20140 cat confcache
>$cache_file
20142 echo "not updating unwritable cache $cache_file"
20147 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20148 # Let make expand exec_prefix.
20149 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20151 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20152 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20153 # trailing colons and then remove the whole line if VPATH becomes empty
20154 # (actually we leave an empty line to preserve line numbers).
20155 if test "x$srcdir" = x.
; then
20156 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20157 s/:*\$(srcdir):*/:/;
20158 s/:*\${srcdir}:*/:/;
20160 s/^\([^=]*=[ ]*\):*/\1/;
20166 DEFS
=-DHAVE_CONFIG_H
20170 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20171 # 1. Remove the extension, and $U if already installed.
20172 ac_i
=`echo "$ac_i" |
20173 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20175 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
20176 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
20178 LIBOBJS
=$ac_libobjs
20180 LTLIBOBJS
=$ac_ltlibobjs
20183 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20184 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20185 Usually this means the macro was only invoked conditionally." >&5
20186 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20187 Usually this means the macro was only invoked conditionally." >&2;}
20188 { (exit 1); exit 1; }; }
20190 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20191 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20192 Usually this means the macro was only invoked conditionally." >&5
20193 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20194 Usually this means the macro was only invoked conditionally." >&2;}
20195 { (exit 1); exit 1; }; }
20197 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20198 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
20199 Usually this means the macro was only invoked conditionally." >&5
20200 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
20201 Usually this means the macro was only invoked conditionally." >&2;}
20202 { (exit 1); exit 1; }; }
20204 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
20205 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
20206 Usually this means the macro was only invoked conditionally." >&5
20207 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
20208 Usually this means the macro was only invoked conditionally." >&2;}
20209 { (exit 1); exit 1; }; }
20211 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
20212 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
20213 Usually this means the macro was only invoked conditionally." >&5
20214 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
20215 Usually this means the macro was only invoked conditionally." >&2;}
20216 { (exit 1); exit 1; }; }
20219 : ${CONFIG_STATUS=./config.status}
20220 ac_clean_files_save
=$ac_clean_files
20221 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20222 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20223 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20224 cat >$CONFIG_STATUS <<_ACEOF
20226 # Generated by $as_me.
20227 # Run this file to recreate the current configuration.
20228 # Compiler output produced by configure, useful for debugging
20229 # configure, is in config.log if it exists.
20232 ac_cs_recheck=false
20234 SHELL=\${CONFIG_SHELL-$SHELL}
20237 cat >>$CONFIG_STATUS <<\_ACEOF
20238 ## --------------------- ##
20239 ## M4sh Initialization. ##
20240 ## --------------------- ##
20242 # Be Bourne compatible
20243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20247 # is contrary to our usage. Disable this feature.
20248 alias -g '${1+"$@"}'='"$@"'
20249 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20252 DUALCASE
=1; export DUALCASE
# for MKS sh
20254 # Support unset when possible.
20255 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20262 # Work around bugs in pre-3.0 UWIN ksh.
20263 $as_unset ENV MAIL MAILPATH
20270 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20271 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20272 LC_TELEPHONE LC_TIME
20274 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20275 eval $as_var=C
; export $as_var
20281 # Required to use basename.
20282 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20288 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20289 as_basename
=basename
20295 # Name of the executable.
20296 as_me
=`$as_basename "$0" ||
20297 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20298 X"$0" : 'X\(//\)$' \| \
20299 X"$0" : 'X\(/\)$' \| \
20300 . : '\(.\)' 2>/dev/null ||
20302 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20303 /^X\/\(\/\/\)$/{ s//\1/; q; }
20304 /^X\/\(\/\).*/{ s//\1/; q; }
20308 # PATH needs CR, and LINENO needs CR and PATH.
20309 # Avoid depending upon Character Ranges.
20310 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20311 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20312 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20313 as_cr_digits
='0123456789'
20314 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20316 # The user is always right.
20317 if test "${PATH_SEPARATOR+set}" != set; then
20318 echo "#! /bin/sh" >conf$$.sh
20319 echo "exit 0" >>conf$$.sh
20321 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20330 as_lineno_1
=$LINENO
20331 as_lineno_2
=$LINENO
20332 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20333 test "x$as_lineno_1" != "x$as_lineno_2" &&
20334 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20335 # Find who we are. Look in the path if we contain no path at all
20338 *[\\/]* ) as_myself
=$0 ;;
20339 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20340 for as_dir
in $PATH
20343 test -z "$as_dir" && as_dir
=.
20344 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20349 # We did not find ourselves, most probably we were run as `sh COMMAND'
20350 # in which case we are not to be found in the path.
20351 if test "x$as_myself" = x
; then
20354 if test ! -f "$as_myself"; then
20355 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20356 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20357 { (exit 1); exit 1; }; }
20359 case $CONFIG_SHELL in
20361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20362 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20365 test -z "$as_dir" && as_dir
=.
20366 for as_base
in sh bash ksh sh5
; do
20369 if ("$as_dir/$as_base" -c '
20370 as_lineno_1=$LINENO
20371 as_lineno_2=$LINENO
20372 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20373 test "x$as_lineno_1" != "x$as_lineno_2" &&
20374 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20375 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20376 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20377 CONFIG_SHELL
=$as_dir/$as_base
20378 export CONFIG_SHELL
20379 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20387 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20388 # uniformly replaced by the line number. The first 'sed' inserts a
20389 # line-number line before each line; the second 'sed' does the real
20390 # work. The second script uses 'N' to pair each line-number line
20391 # with the numbered line, and appends trailing '-' during
20392 # substitution so that $LINENO is not a special case at line end.
20393 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20394 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20395 sed '=' <$as_myself |
20400 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20403 s,^['$as_cr_digits']*\n,,
20404 ' >$as_me.lineno
&&
20405 chmod +x
$as_me.lineno ||
20406 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20407 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20408 { (exit 1); exit 1; }; }
20410 # Don't try to exec as it changes $[0], causing all sort of problems
20411 # (the dirname of $[0] is not the place where we might find the
20412 # original and so on. Autoconf is especially sensible to this).
20414 # Exit status is that of the last command.
20419 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20420 *c
*,-n*) ECHO_N
= ECHO_C
='
20422 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20423 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20426 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20432 rm -f conf$$ conf$$.exe conf$$.
file
20434 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20435 # We could just check for DJGPP; but this test a) works b) is more generic
20436 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20437 if test -f conf$$.exe
; then
20438 # Don't use ln at all; we don't have any links
20443 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20448 rm -f conf$$ conf$$.exe conf$$.
file
20450 if mkdir
-p .
2>/dev
/null
; then
20453 test -d .
/-p && rmdir .
/-p
20457 as_executable_p
="test -f"
20459 # Sed expression to map a string onto a valid CPP name.
20460 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20462 # Sed expression to map a string onto a valid variable name.
20463 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20467 # We need space, tab and new line, in precisely that order.
20477 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20478 # report actual input values of CONFIG_FILES etc. instead of their
20479 # values after options handling. Logging --version etc. is OK.
20483 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20484 ## Running $as_me. ##
20489 This file was extended by $as_me, which was
20490 generated by GNU Autoconf 2.59. Invocation command line was
20492 CONFIG_FILES = $CONFIG_FILES
20493 CONFIG_HEADERS = $CONFIG_HEADERS
20494 CONFIG_LINKS = $CONFIG_LINKS
20495 CONFIG_COMMANDS = $CONFIG_COMMANDS
20499 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20503 # Files that config.status was made for.
20504 if test -n "$ac_config_files"; then
20505 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20508 if test -n "$ac_config_headers"; then
20509 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20512 if test -n "$ac_config_links"; then
20513 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20516 if test -n "$ac_config_commands"; then
20517 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20520 cat >>$CONFIG_STATUS <<\_ACEOF
20523 \`$as_me' instantiates files from templates according to the
20524 current configuration.
20526 Usage: $0 [OPTIONS] [FILE]...
20528 -h, --help print this help, then exit
20529 -V, --version print version number, then exit
20530 -q, --quiet do not print progress messages
20531 -d, --debug don't remove temporary files
20532 --recheck update $as_me by reconfiguring in the same conditions
20533 --file=FILE[:TEMPLATE]
20534 instantiate the configuration file FILE
20535 --header=FILE[:TEMPLATE]
20536 instantiate the configuration header FILE
20538 Configuration files:
20541 Configuration headers:
20544 Configuration commands:
20547 Report bugs to <bug-autoconf@gnu.org>."
20550 cat >>$CONFIG_STATUS <<_ACEOF
20553 configured by $0, generated by GNU Autoconf 2.59,
20554 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20556 Copyright (C) 2003 Free Software Foundation, Inc.
20557 This config.status script is free software; the Free Software Foundation
20558 gives unlimited permission to copy, distribute and modify it."
20563 cat >>$CONFIG_STATUS <<\_ACEOF
20564 # If no file are specified by the user, then we need to provide default
20565 # value. By we need to know if files were specified by the user.
20571 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20572 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20580 *) # This is not an option, so the user has probably given explicit
20583 ac_need_defaults
=false
;;
20587 # Handling of the options.
20589 cat >>$CONFIG_STATUS <<\_ACEOF
20590 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20592 --version |
--vers* |
-V )
20593 echo "$ac_cs_version"; exit 0 ;;
20595 # Conflict between --help and --header
20596 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20597 Try \`$0 --help' for more information." >&5
20598 echo "$as_me: error: ambiguous option: $1
20599 Try \`$0 --help' for more information." >&2;}
20600 { (exit 1); exit 1; }; };;
20601 --help |
--hel |
-h )
20602 echo "$ac_cs_usage"; exit 0 ;;
20603 --debug |
--d* |
-d )
20605 --file |
--fil |
--fi |
--f )
20607 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20608 ac_need_defaults
=false
;;
20609 --header |
--heade |
--head |
--hea )
20611 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20612 ac_need_defaults
=false
;;
20613 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20614 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20617 # This is an error.
20618 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20619 Try \`$0 --help' for more information." >&5
20620 echo "$as_me: error: unrecognized option: $1
20621 Try \`$0 --help' for more information." >&2;}
20622 { (exit 1); exit 1; }; } ;;
20624 *) ac_config_targets
="$ac_config_targets $1" ;;
20630 ac_configure_extra_args
=
20632 if $ac_cs_silent; then
20634 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20638 cat >>$CONFIG_STATUS <<_ACEOF
20639 if \$ac_cs_recheck; then
20640 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20641 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20646 cat >>$CONFIG_STATUS <<_ACEOF
20648 # INIT-COMMANDS section.
20651 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20654 # The HP-UX ksh and POSIX shell print the target directory to stdout
20655 # if CDPATH is set.
20656 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20658 sed_quote_subst='$sed_quote_subst'
20659 double_quote_subst='$double_quote_subst'
20660 delay_variable_subst='$delay_variable_subst'
20661 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
20662 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
20663 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
20664 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
20665 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
20666 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
20667 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
20668 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
20669 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
20670 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
20671 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
20672 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
20673 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
20674 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
20675 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
20676 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
20677 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
20678 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
20679 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
20680 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
20681 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
20682 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
20683 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
20684 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
20685 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
20686 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
20687 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
20688 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20689 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
20690 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
20691 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
20692 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20693 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
20694 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
20695 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20696 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20697 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20698 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
20699 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20700 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
20701 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
20702 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20703 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20704 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"`'
20705 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20706 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20707 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20708 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20709 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20710 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20711 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20712 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20713 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20714 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20715 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
20716 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20717 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20718 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20719 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20720 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20721 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20722 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
20723 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20724 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20725 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20726 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20727 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20728 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20729 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20730 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20731 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20732 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20733 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20734 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20735 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20736 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
20737 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20738 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20739 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20740 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20741 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20742 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20743 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20744 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20745 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20746 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20747 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20748 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20749 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20750 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20751 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20752 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20753 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20754 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20755 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20756 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20757 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20758 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20759 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20760 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20761 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20762 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20763 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20764 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20765 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20766 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20767 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20768 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20769 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20770 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20771 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20774 LTCFLAGS='$LTCFLAGS'
20775 compiler='$compiler_DEFAULT'
20777 # Quote evaled strings.
20788 deplibs_check_method \
20797 lt_cv_sys_global_symbol_pipe \
20798 lt_cv_sys_global_symbol_to_cdecl \
20799 lt_cv_sys_global_symbol_to_c_name_address \
20802 lt_prog_compiler_no_builtin_flag \
20803 lt_prog_compiler_wl \
20804 lt_prog_compiler_pic \
20805 lt_prog_compiler_static \
20806 lt_cv_prog_compiler_c_o \
20809 export_dynamic_flag_spec \
20810 whole_archive_flag_spec \
20811 compiler_needs_object \
20813 allow_undefined_flag \
20814 no_undefined_flag \
20815 hardcode_libdir_flag_spec \
20816 hardcode_libdir_flag_spec_ld \
20817 hardcode_libdir_separator \
20822 variables_saved_for_relink \
20824 library_names_spec \
20829 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20830 *[\\\\\\\`\\"\\\$]*)
20831 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20834 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20839 # Double-quote double-evaled strings.
20840 for var in reload_cmds \
20841 old_postinstall_cmds \
20842 old_postuninstall_cmds \
20844 extract_expsyms_cmds \
20845 old_archive_from_new_cmds \
20846 old_archive_from_expsyms_cmds \
20848 archive_expsym_cmds \
20850 module_expsym_cmds \
20851 export_symbols_cmds \
20854 postuninstall_cmds \
20856 sys_lib_search_path_spec \
20857 sys_lib_dlsearch_path_spec; do
20858 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20859 *[\\\\\\\`\\"\\\$]*)
20860 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20863 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20868 # Fix-up fallback echo if it was mangled by the above quoting rules.
20870 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
20874 ac_aux_dir='$ac_aux_dir'
20875 xsi_shell='$xsi_shell'
20876 lt_shell_append='$lt_shell_append'
20878 # See if we are running on zsh, and set the options which allow our
20879 # commands through without removal of \ escapes INIT.
20880 if test -n "\${ZSH_VERSION+set}" ; then
20881 setopt NO_GLOB_SUBST
20887 TIMESTAMP='$TIMESTAMP'
20893 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
20894 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
20896 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
20897 # Capture the value of LINGUAS because we need it to compute CATALOGS.
20898 LINGUAS="${LINGUAS-%UNSET%}"
20903 acx_cv_header_stdint="$acx_cv_header_stdint"
20904 acx_cv_type_int8_t="$acx_cv_type_int8_t"
20905 acx_cv_type_int16_t="$acx_cv_type_int16_t"
20906 acx_cv_type_int32_t="$acx_cv_type_int32_t"
20907 acx_cv_type_int64_t="$acx_cv_type_int64_t"
20908 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
20909 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
20910 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
20911 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
20912 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
20913 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
20914 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
20915 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
20916 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
20924 cat >>$CONFIG_STATUS <<\_ACEOF
20925 for ac_config_target
in $ac_config_targets
20927 case "$ac_config_target" in
20928 # Handling of arguments.
20929 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20930 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
20931 "bfd-in3.h" ) CONFIG_FILES
="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
20932 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
20933 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20934 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20935 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
20936 "bfd_stdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS bfd_stdint.h" ;;
20937 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
20938 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
20939 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20940 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20941 { (exit 1); exit 1; }; };;
20945 # If the user did not use the arguments to specify the items to instantiate,
20946 # then the envvar interface is used. Set only those that are not.
20947 # We use the long form for the default assignment because of an extremely
20948 # bizarre bug on SunOS 4.1.3.
20949 if $ac_need_defaults; then
20950 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20951 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20952 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20955 # Have a temporary directory for convenience. Make it in the build tree
20956 # simply because there is no reason to put it here, and in addition,
20957 # creating and moving files from /tmp can sometimes cause problems.
20958 # Create a temporary directory, and hook for its removal unless debugging.
20961 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20962 trap '{ (exit 1); exit 1; }' 1 2 13 15
20965 # Create a (secure) tmp directory for tmp files.
20968 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20969 test -n "$tmp" && test -d "$tmp"
20972 tmp
=.
/confstat$$
-$RANDOM
20973 (umask 077 && mkdir
$tmp)
20976 echo "$me: cannot create a temporary directory in ." >&2
20977 { (exit 1); exit 1; }
20982 cat >>$CONFIG_STATUS <<_ACEOF
20985 # CONFIG_FILES section.
20988 # No need to generate the scripts if there are no CONFIG_FILES.
20989 # This happens for instance when ./config.status config.h
20990 if test -n "\$CONFIG_FILES"; then
20991 # Protect against being on the right side of a sed subst in config.status.
20992 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20993 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20994 s,@SHELL@,$SHELL,;t t
20995 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20996 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20997 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20998 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20999 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21000 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21001 s,@exec_prefix@,$exec_prefix,;t t
21002 s,@prefix@,$prefix,;t t
21003 s,@program_transform_name@,$program_transform_name,;t t
21004 s,@bindir@,$bindir,;t t
21005 s,@sbindir@,$sbindir,;t t
21006 s,@libexecdir@,$libexecdir,;t t
21007 s,@datadir@,$datadir,;t t
21008 s,@sysconfdir@,$sysconfdir,;t t
21009 s,@sharedstatedir@,$sharedstatedir,;t t
21010 s,@localstatedir@,$localstatedir,;t t
21011 s,@libdir@,$libdir,;t t
21012 s,@includedir@,$includedir,;t t
21013 s,@oldincludedir@,$oldincludedir,;t t
21014 s,@infodir@,$infodir,;t t
21015 s,@mandir@,$mandir,;t t
21016 s,@build_alias@,$build_alias,;t t
21017 s,@host_alias@,$host_alias,;t t
21018 s,@target_alias@,$target_alias,;t t
21019 s,@DEFS@,$DEFS,;t t
21020 s,@ECHO_C@,$ECHO_C,;t t
21021 s,@ECHO_N@,$ECHO_N,;t t
21022 s,@ECHO_T@,$ECHO_T,;t t
21023 s,@LIBS@,$LIBS,;t t
21024 s,@build@,$build,;t t
21025 s,@build_cpu@,$build_cpu,;t t
21026 s,@build_vendor@,$build_vendor,;t t
21027 s,@build_os@,$build_os,;t t
21028 s,@host@,$host,;t t
21029 s,@host_cpu@,$host_cpu,;t t
21030 s,@host_vendor@,$host_vendor,;t t
21031 s,@host_os@,$host_os,;t t
21032 s,@target@,$target,;t t
21033 s,@target_cpu@,$target_cpu,;t t
21034 s,@target_vendor@,$target_vendor,;t t
21035 s,@target_os@,$target_os,;t t
21037 s,@CFLAGS@,$CFLAGS,;t t
21038 s,@LDFLAGS@,$LDFLAGS,;t t
21039 s,@CPPFLAGS@,$CPPFLAGS,;t t
21040 s,@ac_ct_CC@,$ac_ct_CC,;t t
21041 s,@EXEEXT@,$EXEEXT,;t t
21042 s,@OBJEXT@,$OBJEXT,;t t
21043 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21044 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21045 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21046 s,@CYGPATH_W@,$CYGPATH_W,;t t
21047 s,@PACKAGE@,$PACKAGE,;t t
21048 s,@VERSION@,$VERSION,;t t
21049 s,@ACLOCAL@,$ACLOCAL,;t t
21050 s,@AUTOCONF@,$AUTOCONF,;t t
21051 s,@AUTOMAKE@,$AUTOMAKE,;t t
21052 s,@AUTOHEADER@,$AUTOHEADER,;t t
21053 s,@MAKEINFO@,$MAKEINFO,;t t
21054 s,@install_sh@,$install_sh,;t t
21055 s,@STRIP@,$STRIP,;t t
21056 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21057 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21058 s,@mkdir_p@,$mkdir_p,;t t
21060 s,@SET_MAKE@,$SET_MAKE,;t t
21061 s,@am__leading_dot@,$am__leading_dot,;t t
21062 s,@AMTAR@,$AMTAR,;t t
21063 s,@am__tar@,$am__tar,;t t
21064 s,@am__untar@,$am__untar,;t t
21065 s,@DEPDIR@,$DEPDIR,;t t
21066 s,@am__include@,$am__include,;t t
21067 s,@am__quote@,$am__quote,;t t
21068 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21069 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21070 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21071 s,@CCDEPMODE@,$CCDEPMODE,;t t
21072 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21073 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21075 s,@ac_ct_AR@,$ac_ct_AR,;t t
21076 s,@RANLIB@,$RANLIB,;t t
21077 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21078 s,@LIBTOOL@,$LIBTOOL,;t t
21080 s,@EGREP@,$EGREP,;t t
21081 s,@FGREP@,$FGREP,;t t
21082 s,@GREP@,$GREP,;t t
21084 s,@DUMPBIN@,$DUMPBIN,;t t
21085 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
21087 s,@LN_S@,$LN_S,;t t
21088 s,@lt_ECHO@,$lt_ECHO,;t t
21090 s,@DEBUGDIR@,$DEBUGDIR,;t t
21091 s,@PKGVERSION@,$PKGVERSION,;t t
21092 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
21093 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t
21094 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
21095 s,@NO_WERROR@,$NO_WERROR,;t t
21096 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21097 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21098 s,@MAINT@,$MAINT,;t t
21099 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
21100 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
21101 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
21102 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
21103 s,@host_noncanonical@,$host_noncanonical,;t t
21104 s,@target_noncanonical@,$target_noncanonical,;t t
21105 s,@bfdlibdir@,$bfdlibdir,;t t
21106 s,@bfdincludedir@,$bfdincludedir,;t t
21107 s,@USE_NLS@,$USE_NLS,;t t
21108 s,@LIBINTL@,$LIBINTL,;t t
21109 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
21110 s,@INCINTL@,$INCINTL,;t t
21111 s,@XGETTEXT@,$XGETTEXT,;t t
21112 s,@GMSGFMT@,$GMSGFMT,;t t
21113 s,@POSUB@,$POSUB,;t t
21114 s,@CATALOGS@,$CATALOGS,;t t
21115 s,@DATADIRNAME@,$DATADIRNAME,;t t
21116 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
21117 s,@GENCAT@,$GENCAT,;t t
21118 s,@CATOBJEXT@,$CATOBJEXT,;t t
21119 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
21120 s,@MSGFMT@,$MSGFMT,;t t
21121 s,@MSGMERGE@,$MSGMERGE,;t t
21122 s,@HDEFINES@,$HDEFINES,;t t
21123 s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
21124 s,@BFD_HOST_LONG_LONG@,$BFD_HOST_LONG_LONG,;t t
21125 s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
21126 s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
21127 s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
21128 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
21129 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
21130 s,@COREFILE@,$COREFILE,;t t
21131 s,@COREFLAG@,$COREFLAG,;t t
21132 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
21133 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
21134 s,@TDEFINES@,$TDEFINES,;t t
21135 s,@wordsize@,$wordsize,;t t
21136 s,@bfd64_libs@,$bfd64_libs,;t t
21137 s,@all_backends@,$all_backends,;t t
21138 s,@bfd_backends@,$bfd_backends,;t t
21139 s,@bfd_machines@,$bfd_machines,;t t
21140 s,@bfd_default_target_size@,$bfd_default_target_size,;t t
21141 s,@bfd_file_ptr@,$bfd_file_ptr,;t t
21142 s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
21143 s,@tdefaults@,$tdefaults,;t t
21144 s,@datarootdir@,$datarootdir,;t t
21145 s,@docdir@,$docdir,;t t
21146 s,@htmldir@,$htmldir,;t t
21147 s,@LIBOBJS@,$LIBOBJS,;t t
21148 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21153 cat >>$CONFIG_STATUS <<\_ACEOF
21154 # Split the substitutions into bite-sized pieces for seds with
21155 # small command number limits, like on Digital OSF/1 and HP-UX.
21156 ac_max_sed_lines
=48
21157 ac_sed_frag
=1 # Number of current file.
21158 ac_beg
=1 # First line for current file.
21159 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21162 while $ac_more_lines; do
21163 if test $ac_beg -gt 1; then
21164 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21166 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21168 if test ! -s $tmp/subs.frag
; then
21169 ac_more_lines
=false
21171 # The purpose of the label and of the branching condition is to
21172 # speed up the sed processing (if there are no `@' at all, there
21173 # is no need to browse any of the substitutions).
21174 # These are the two extra sed commands mentioned above.
21176 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
21177 if test -z "$ac_sed_cmds"; then
21178 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21180 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21182 ac_sed_frag
=`expr $ac_sed_frag + 1`
21184 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21187 if test -z "$ac_sed_cmds"; then
21190 fi # test -n "$CONFIG_FILES"
21193 cat >>$CONFIG_STATUS <<\_ACEOF
21194 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21195 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21197 - |
*:- |
*:-:* ) # input from stdin
21199 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21200 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21201 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21202 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21203 * ) ac_file_in
=$ac_file.
in ;;
21206 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21207 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21208 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21209 X"$ac_file" : 'X\(//\)[^/]' \| \
21210 X"$ac_file" : 'X\(//\)$' \| \
21211 X"$ac_file" : 'X\(/\)' \| \
21212 . : '\(.\)' 2>/dev/null ||
21214 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21215 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21216 /^X\(\/\/\)$/{ s//\1/; q; }
21217 /^X\(\/\).*/{ s//\1/; q; }
21219 { if $as_mkdir_p; then
21224 while test ! -d "$as_dir"; do
21225 as_dirs
="$as_dir $as_dirs"
21226 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21227 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21228 X"$as_dir" : 'X\(//\)[^/]' \| \
21229 X"$as_dir" : 'X\(//\)$' \| \
21230 X"$as_dir" : 'X\(/\)' \| \
21231 . : '\(.\)' 2>/dev/null ||
21233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21234 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21235 /^X\(\/\/\)$/{ s//\1/; q; }
21236 /^X\(\/\).*/{ s//\1/; q; }
21239 test ! -n "$as_dirs" || mkdir
$as_dirs
21240 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21241 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21242 { (exit 1); exit 1; }; }; }
21246 if test "$ac_dir" != .
; then
21247 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21248 # A "../" for each directory in $ac_dir_suffix.
21249 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21251 ac_dir_suffix
= ac_top_builddir
=
21255 .
) # No --srcdir option. We are building in place.
21257 if test -z "$ac_top_builddir"; then
21260 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21262 [\\/]* | ?
:[\\/]* ) # Absolute path.
21263 ac_srcdir
=$srcdir$ac_dir_suffix;
21264 ac_top_srcdir
=$srcdir ;;
21265 *) # Relative path.
21266 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21267 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21270 # Do not use `cd foo && pwd` to compute absolute paths, because
21271 # the directories may not exist.
21273 .
) ac_abs_builddir
="$ac_dir";;
21276 .
) ac_abs_builddir
=`pwd`;;
21277 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21278 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21281 case $ac_abs_builddir in
21282 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21284 case ${ac_top_builddir}.
in
21285 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21286 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21287 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21290 case $ac_abs_builddir in
21291 .
) ac_abs_srcdir
=$ac_srcdir;;
21294 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21295 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21296 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21299 case $ac_abs_builddir in
21300 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21302 case $ac_top_srcdir in
21303 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21304 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21305 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21311 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21312 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21315 if test x
"$ac_file" != x-
; then
21316 { echo "$as_me:$LINENO: creating $ac_file" >&5
21317 echo "$as_me: creating $ac_file" >&6;}
21320 # Let's still pretend it is `configure' which instantiates (i.e., don't
21321 # use $as_me), people would be surprised to read:
21322 # /* config.h. Generated by config.status. */
21323 if test x
"$ac_file" = x-
; then
21326 configure_input
="$ac_file. "
21328 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21329 sed 's,.*/,,'` by configure."
21331 # First look for the input files in the build tree, otherwise in the
21333 ac_file_inputs
=`IFS=:
21334 for f in $ac_file_in; do
21336 -) echo $tmp/stdin ;;
21338 # Absolute (can't be DOS-style, as IFS=:)
21339 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21340 echo "$as_me: error: cannot find input file: $f" >&2;}
21341 { (exit 1); exit 1; }; }
21344 if test -f "$f"; then
21347 elif test -f "$srcdir/$f"; then
21352 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21353 echo "$as_me: error: cannot find input file: $f" >&2;}
21354 { (exit 1); exit 1; }; }
21357 done` ||
{ (exit 1); exit 1; }
21359 cat >>$CONFIG_STATUS <<_ACEOF
21363 cat >>$CONFIG_STATUS <<\_ACEOF
21365 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21366 s
,@configure_input@
,$configure_input,;t t
21367 s
,@srcdir@
,$ac_srcdir,;t t
21368 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21369 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21370 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21371 s
,@builddir@
,$ac_builddir,;t t
21372 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21373 s
,@top_builddir@
,$ac_top_builddir,;t t
21374 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21375 s
,@INSTALL@
,$ac_INSTALL,;t t
21376 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21378 if test x"$ac_file" != x-; then
21379 mv $tmp/out $ac_file
21387 cat >>$CONFIG_STATUS <<\_ACEOF
21390 # CONFIG_HEADER section.
21393 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21394 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21396 # ac_d sets the value in "#define NAME VALUE" lines.
21397 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21398 ac_dB
='[ ].*$,\1#\2'
21401 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21402 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21403 ac_uB
='$,\1#\2define\3'
21407 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21408 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21410 - |
*:- |
*:-:* ) # input from stdin
21412 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21413 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21414 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21415 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21416 * ) ac_file_in
=$ac_file.
in ;;
21419 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21420 echo "$as_me: creating $ac_file" >&6;}
21422 # First look for the input files in the build tree, otherwise in the
21424 ac_file_inputs
=`IFS=:
21425 for f in $ac_file_in; do
21427 -) echo $tmp/stdin ;;
21429 # Absolute (can't be DOS-style, as IFS=:)
21430 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21431 echo "$as_me: error: cannot find input file: $f" >&2;}
21432 { (exit 1); exit 1; }; }
21433 # Do quote $f, to prevent DOS paths from being IFS'd.
21436 if test -f "$f"; then
21439 elif test -f "$srcdir/$f"; then
21444 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21445 echo "$as_me: error: cannot find input file: $f" >&2;}
21446 { (exit 1); exit 1; }; }
21449 done` ||
{ (exit 1); exit 1; }
21450 # Remove the trailing spaces.
21451 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21455 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21456 # `conftest.undefs', that substitutes the proper values into
21457 # config.h.in to produce config.h. The first handles `#define'
21458 # templates, and the second `#undef' templates.
21459 # And first: Protect against being on the right side of a sed subst in
21460 # config.status. Protect against being in an unquoted here document
21461 # in config.status.
21462 rm -f conftest.defines conftest.undefs
21463 # Using a here document instead of a string reduces the quoting nightmare.
21464 # Putting comments in sed scripts is not portable.
21466 # `end' is used to avoid that the second main sed command (meant for
21467 # 0-ary CPP macros) applies to n-ary macro definitions.
21468 # See the Autoconf documentation for `clear'.
21469 cat >confdef2sed.
sed <<\_ACEOF
21474 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21476 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21479 # If some macros were called several times there might be several times
21480 # the same #defines, which is useless. Nevertheless, we may not want to
21481 # sort them, since we want the *last* AC-DEFINE to be honored.
21482 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21483 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21484 rm -f confdef2sed.sed
21486 # This sed command replaces #undef with comments. This is necessary, for
21487 # example, in the case of _POSIX_SOURCE, which is predefined and required
21488 # on some systems where configure will not decide to define it.
21489 cat >>conftest.undefs <<\_ACEOF
21490 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21493 # Break up conftest.defines because some shells have a limit on the size
21494 # of here documents, and old seds have small limits too (100 cmds).
21495 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21496 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21497 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21498 echo ' :' >>$CONFIG_STATUS
21499 rm -f conftest.tail
21500 while grep . conftest.defines >/dev/null
21502 # Write a limited-size here document to $tmp/defines.sed.
21503 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21504 # Speed up: don't consider the non `#define' lines.
21505 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21506 # Work around the forget-to-reset-the-flag bug.
21507 echo 't clr' >>$CONFIG_STATUS
21508 echo ': clr' >>$CONFIG_STATUS
21509 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21511 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21513 mv $tmp/out $tmp/in
21515 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21516 rm -f conftest.defines
21517 mv conftest.
tail conftest.defines
21519 rm -f conftest.defines
21520 echo ' fi # grep' >>$CONFIG_STATUS
21521 echo >>$CONFIG_STATUS
21523 # Break up conftest.undefs because some shells have a limit on the size
21524 # of here documents, and old seds have small limits too (100 cmds).
21525 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21526 rm -f conftest.
tail
21527 while grep . conftest.undefs
>/dev
/null
21529 # Write a limited-size here document to $tmp/undefs.sed.
21530 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21531 # Speed up: don't consider the non
`#undef'
21532 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21533 # Work around the forget-to-reset-the-flag bug.
21534 echo 't clr' >>$CONFIG_STATUS
21535 echo ': clr' >>$CONFIG_STATUS
21536 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21538 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21540 mv $tmp/out $tmp/in
21542 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21543 rm -f conftest.undefs
21544 mv conftest.tail conftest.undefs
21546 rm -f conftest.undefs
21548 cat >>$CONFIG_STATUS <<\_ACEOF
21549 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21550 # use $as_me), people would be surprised to read:
21551 # /* config.h. Generated by config.status. */
21552 if test x
"$ac_file" = x-
; then
21553 echo "/* Generated by configure. */" >$tmp/config.h
21555 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21557 cat $tmp/in >>$tmp/config.h
21559 if test x
"$ac_file" != x-
; then
21560 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21561 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21562 echo "$as_me: $ac_file is unchanged" >&6;}
21564 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21565 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21566 X"$ac_file" : 'X\(//\)[^/]' \| \
21567 X"$ac_file" : 'X\(//\)$' \| \
21568 X"$ac_file" : 'X\(/\)' \| \
21569 . : '\(.\)' 2>/dev/null ||
21571 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21572 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21573 /^X\(\/\/\)$/{ s//\1/; q; }
21574 /^X\(\/\).*/{ s//\1/; q; }
21576 { if $as_mkdir_p; then
21581 while test ! -d "$as_dir"; do
21582 as_dirs
="$as_dir $as_dirs"
21583 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21584 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21585 X"$as_dir" : 'X\(//\)[^/]' \| \
21586 X"$as_dir" : 'X\(//\)$' \| \
21587 X"$as_dir" : 'X\(/\)' \| \
21588 . : '\(.\)' 2>/dev/null ||
21590 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21591 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21592 /^X\(\/\/\)$/{ s//\1/; q; }
21593 /^X\(\/\).*/{ s//\1/; q; }
21596 test ! -n "$as_dirs" || mkdir
$as_dirs
21597 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21598 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21599 { (exit 1); exit 1; }; }; }
21602 mv $tmp/config.h
$ac_file
21606 rm -f $tmp/config.h
21608 # Compute $ac_file's index in $config_headers.
21610 for _am_header
in $config_headers :; do
21611 case $_am_header in
21612 $ac_file |
$ac_file:* )
21615 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21618 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21619 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21620 X$ac_file : 'X\(//\)[^/]' \| \
21621 X$ac_file : 'X\(//\)$' \| \
21622 X$ac_file : 'X\(/\)' \| \
21623 . : '\(.\)' 2>/dev/null ||
21625 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21626 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21627 /^X\(\/\/\)$/{ s//\1/; q; }
21628 /^X\(\/\).*/{ s//\1/; q; }
21629 s/.*/./; q'`/stamp-h
$_am_stamp_count
21632 cat >>$CONFIG_STATUS <<\_ACEOF
21635 # CONFIG_COMMANDS section.
21637 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21638 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21639 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21640 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21641 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21642 X"$ac_dest" : 'X\(//\)[^/]' \| \
21643 X"$ac_dest" : 'X\(//\)$' \| \
21644 X"$ac_dest" : 'X\(/\)' \| \
21645 . : '\(.\)' 2>/dev/null ||
21647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21648 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21649 /^X\(\/\/\)$/{ s//\1/; q; }
21650 /^X\(\/\).*/{ s//\1/; q; }
21652 { if $as_mkdir_p; then
21657 while test ! -d "$as_dir"; do
21658 as_dirs
="$as_dir $as_dirs"
21659 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21660 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21661 X"$as_dir" : 'X\(//\)[^/]' \| \
21662 X"$as_dir" : 'X\(//\)$' \| \
21663 X"$as_dir" : 'X\(/\)' \| \
21664 . : '\(.\)' 2>/dev/null ||
21666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21667 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21668 /^X\(\/\/\)$/{ s//\1/; q; }
21669 /^X\(\/\).*/{ s//\1/; q; }
21672 test ! -n "$as_dirs" || mkdir
$as_dirs
21673 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21674 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21675 { (exit 1); exit 1; }; }; }
21679 if test "$ac_dir" != .
; then
21680 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21681 # A "../" for each directory in $ac_dir_suffix.
21682 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21684 ac_dir_suffix
= ac_top_builddir
=
21688 .
) # No --srcdir option. We are building in place.
21690 if test -z "$ac_top_builddir"; then
21693 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21695 [\\/]* | ?
:[\\/]* ) # Absolute path.
21696 ac_srcdir
=$srcdir$ac_dir_suffix;
21697 ac_top_srcdir
=$srcdir ;;
21698 *) # Relative path.
21699 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21700 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21703 # Do not use `cd foo && pwd` to compute absolute paths, because
21704 # the directories may not exist.
21706 .
) ac_abs_builddir
="$ac_dir";;
21709 .
) ac_abs_builddir
=`pwd`;;
21710 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21711 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21714 case $ac_abs_builddir in
21715 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21717 case ${ac_top_builddir}.
in
21718 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21719 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21720 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21723 case $ac_abs_builddir in
21724 .
) ac_abs_srcdir
=$ac_srcdir;;
21727 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21728 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21729 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21732 case $ac_abs_builddir in
21733 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21735 case $ac_top_srcdir in
21736 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21737 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21738 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21743 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21744 echo "$as_me: executing $ac_dest commands" >&6;}
21746 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21747 # Strip MF so we end up with the name of the file.
21748 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21749 # Check whether this is an Automake generated Makefile or not.
21750 # We used to match only the files named `Makefile.in', but
21751 # some people rename them; so instead we look at the file content.
21752 # Grep'ing the first line is not enough: some people post-process
21753 # each Makefile.in and add a new line on top of each file to say so.
21754 # So let's grep whole file.
21755 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
21756 dirpart
=`(dirname "$mf") 2>/dev/null ||
21757 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21758 X"$mf" : 'X\(//\)[^/]' \| \
21759 X"$mf" : 'X\(//\)$' \| \
21760 X"$mf" : 'X\(/\)' \| \
21761 . : '\(.\)' 2>/dev/null ||
21763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21764 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21765 /^X\(\/\/\)$/{ s//\1/; q; }
21766 /^X\(\/\).*/{ s//\1/; q; }
21771 # Extract the definition of DEPDIR, am__include, and am__quote
21772 # from the Makefile without running `make'.
21773 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21774 test -z "$DEPDIR" && continue
21775 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21776 test -z "am__include" && continue
21777 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21778 # When using ansi2knr, U may be empty or an underscore; expand it
21779 U
=`sed -n 's/^U = //p' < "$mf"`
21780 # Find all dependency output files, they are included files with
21781 # $(DEPDIR) in their names. We invoke sed twice because it is the
21782 # simplest approach to changing $(DEPDIR) to its actual value in the
21784 for file in `sed -n "
21785 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21786 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21787 # Make sure the directory exists.
21788 test -f "$dirpart/$file" && continue
21789 fdir
=`(dirname "$file") 2>/dev/null ||
21790 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21791 X"$file" : 'X\(//\)[^/]' \| \
21792 X"$file" : 'X\(//\)$' \| \
21793 X"$file" : 'X\(/\)' \| \
21794 . : '\(.\)' 2>/dev/null ||
21796 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21797 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21798 /^X\(\/\/\)$/{ s//\1/; q; }
21799 /^X\(\/\).*/{ s//\1/; q; }
21801 { if $as_mkdir_p; then
21802 mkdir
-p $dirpart/$fdir
21804 as_dir
=$dirpart/$fdir
21806 while test ! -d "$as_dir"; do
21807 as_dirs
="$as_dir $as_dirs"
21808 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21809 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21810 X"$as_dir" : 'X\(//\)[^/]' \| \
21811 X"$as_dir" : 'X\(//\)$' \| \
21812 X"$as_dir" : 'X\(/\)' \| \
21813 . : '\(.\)' 2>/dev/null ||
21815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21816 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21817 /^X\(\/\/\)$/{ s//\1/; q; }
21818 /^X\(\/\).*/{ s//\1/; q; }
21821 test ! -n "$as_dirs" || mkdir
$as_dirs
21822 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21823 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21824 { (exit 1); exit 1; }; }; }
21826 # echo "creating $dirpart/$file"
21827 echo '# dummy' > "$dirpart/$file"
21833 # See if we are running on zsh, and set the options which allow our
21834 # commands through without removal of \ escapes.
21835 if test -n "${ZSH_VERSION+set}" ; then
21836 setopt NO_GLOB_SUBST
21839 cfgfile
="${ofile}T"
21840 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21843 cat <<_LT_EOF >> "$cfgfile"
21846 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21847 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
21848 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21849 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21851 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21852 # 2006, 2007 Free Software Foundation, Inc.
21854 # This file is part of GNU Libtool:
21855 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
21857 # This program is free software; you can redistribute it and/or modify
21858 # it under the terms of the GNU General Public License as published by
21859 # the Free Software Foundation; either version 2 of the License, or
21860 # (at your option) any later version.
21862 # This program is distributed in the hope that it will be useful, but
21863 # WITHOUT ANY WARRANTY; without even the implied warranty of
21864 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21865 # General Public License for more details.
21867 # You should have received a copy of the GNU General Public License
21868 # along with this program; if not, a copy can be downloaded from
21869 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
21870 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21871 # MA 02110-1301, USA.
21873 # As a special exception to the GNU General Public License, if you
21874 # distribute this file as part of a program that contains a
21875 # configuration script generated by Autoconf, you may include it under
21876 # the same distribution terms that you use for the rest of that program.
21879 # The names of the tagged configurations supported by this script.
21882 # ### BEGIN LIBTOOL CONFIG
21884 # Whether or not to build shared libraries.
21885 build_libtool_libs=$enable_shared
21887 # Which release of libtool.m4 was used?
21888 macro_version=$macro_version
21889 macro_revision=$macro_revision
21891 # Whether or not to build static libraries.
21892 build_old_libs=$enable_static
21894 # What type of objects to build.
21897 # Whether or not to optimize for fast installation.
21898 fast_install=$enable_fast_install
21901 host_alias=$host_alias
21905 # The build system.
21906 build_alias=$build_alias
21910 # A sed program that does not truncate output.
21913 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21914 Xsed="\$SED -e 1s/^X//"
21916 # A grep program that handles long lines.
21922 # A literal string matcher.
21925 # A BSD- or MS-compatible name lister.
21928 # Whether we need soft or hard links.
21931 # What is the maximum length of a command?
21932 max_cmd_len=$max_cmd_len
21934 # Object file suffix (normally "o").
21937 # Executable file suffix (normally "").
21940 # whether the shell understands "unset".
21943 # turn spaces into newlines.
21946 # turn newlines into spaces.
21949 # How to create reloadable object files.
21950 reload_flag=$lt_reload_flag
21951 reload_cmds=$lt_reload_cmds
21953 # Method to check whether dependent libraries are shared objects.
21954 deplibs_check_method=$lt_deplibs_check_method
21956 # Command to use when deplibs_check_method == "file_magic".
21957 file_magic_cmd=$lt_file_magic_cmd
21961 AR_FLAGS=$lt_AR_FLAGS
21963 # A symbol stripping program.
21966 # Commands used to install an old-style archive.
21968 old_postinstall_cmds=$lt_old_postinstall_cmds
21969 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21974 # LTCC compiler flags.
21975 LTCFLAGS=$lt_CFLAGS
21977 # Take the output of nm and produce a listing of raw symbols and C names.
21978 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21980 # Transform the output of nm in a proper C declaration.
21981 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21983 # Transform the output of nm in a C name address pair.
21984 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21986 # The name of the directory that contains temporary libtool files.
21989 # Shell to use when invoking shell scripts.
21992 # An echo program that does not interpret backslashes.
21995 # Used to examine libraries when file_magic_cmd begins with "file".
21996 MAGIC_CMD=$MAGIC_CMD
21998 # Must we lock files when doing compilation?
21999 need_locks=$lt_need_locks
22001 # Old archive suffix (normally "a").
22004 # Shared library suffix (normally ".so").
22005 shrext_cmds=$lt_shrext_cmds
22007 # The commands to extract the exported symbol list from a shared archive.
22008 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22010 # Variables whose values should be saved in libtool wrapper scripts and
22011 # restored at link time.
22012 variables_saved_for_relink=$lt_variables_saved_for_relink
22014 # Do we need the "lib" prefix for modules?
22015 need_lib_prefix=$need_lib_prefix
22017 # Do we need a version for libraries?
22018 need_version=$need_version
22020 # Library versioning type.
22021 version_type=$version_type
22023 # Shared library runtime path variable.
22024 runpath_var=$runpath_var
22026 # Shared library path variable.
22027 shlibpath_var=$shlibpath_var
22029 # Is shlibpath searched before the hard-coded library search path?
22030 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22032 # Format of library name prefix.
22033 libname_spec=$lt_libname_spec
22035 # List of archive names. First name is the real one, the rest are links.
22036 # The last name is the one that the linker finds with -lNAME
22037 library_names_spec=$lt_library_names_spec
22039 # The coded name of the library, if different from the real name.
22040 soname_spec=$lt_soname_spec
22042 # Command to use after installation of a shared archive.
22043 postinstall_cmds=$lt_postinstall_cmds
22045 # Command to use after uninstallation of a shared archive.
22046 postuninstall_cmds=$lt_postuninstall_cmds
22048 # Commands used to finish a libtool library installation in a directory.
22049 finish_cmds=$lt_finish_cmds
22051 # As "finish_cmds", except a single script fragment to be evaled but
22053 finish_eval=$lt_finish_eval
22055 # Whether we should hardcode library paths into libraries.
22056 hardcode_into_libs=$hardcode_into_libs
22058 # Compile-time system search path for libraries.
22059 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22061 # Run-time system search path for libraries.
22062 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22064 # Whether dlopen is supported.
22065 dlopen_support=$enable_dlopen
22067 # Whether dlopen of programs is supported.
22068 dlopen_self=$enable_dlopen_self
22070 # Whether dlopen of statically linked programs is supported.
22071 dlopen_self_static=$enable_dlopen_self_static
22073 # Commands to strip libraries.
22074 old_striplib=$lt_old_striplib
22075 striplib=$lt_striplib
22078 # The linker used to build libraries.
22081 # Commands used to build an old-style archive.
22082 old_archive_cmds=$lt_old_archive_cmds
22084 # A language specific compiler.
22087 # Is the compiler the GNU compiler?
22090 # Compiler flag to turn off builtin functions.
22091 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22093 # How to pass a linker flag through the compiler.
22094 wl=$lt_lt_prog_compiler_wl
22096 # Additional compiler flags for building library objects.
22097 pic_flag=$lt_lt_prog_compiler_pic
22099 # Compiler flag to prevent dynamic linking.
22100 link_static_flag=$lt_lt_prog_compiler_static
22102 # Does compiler simultaneously support -c and -o options?
22103 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22105 # Whether or not to add -lc for building shared libraries.
22106 build_libtool_need_lc=$archive_cmds_need_lc
22108 # Whether or not to disallow shared libs when runtime libs are static.
22109 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22111 # Compiler flag to allow reflexive dlopens.
22112 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22114 # Compiler flag to generate shared objects directly from archives.
22115 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22117 # Whether the compiler copes with passing no objects directly.
22118 compiler_needs_object=$lt_compiler_needs_object
22120 # Create an old-style archive from a shared archive.
22121 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22123 # Create a temporary old-style archive to link instead of a shared archive.
22124 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22126 # Commands used to build a shared archive.
22127 archive_cmds=$lt_archive_cmds
22128 archive_expsym_cmds=$lt_archive_expsym_cmds
22130 # Commands used to build a loadable module if different from building
22131 # a shared archive.
22132 module_cmds=$lt_module_cmds
22133 module_expsym_cmds=$lt_module_expsym_cmds
22135 # Whether we are building with GNU ld or not.
22136 with_gnu_ld=$lt_with_gnu_ld
22138 # Flag that allows shared libraries with undefined symbols to be built.
22139 allow_undefined_flag=$lt_allow_undefined_flag
22141 # Flag that enforces no undefined symbols.
22142 no_undefined_flag=$lt_no_undefined_flag
22144 # Flag to hardcode \$libdir into a binary during linking.
22145 # This must work even if \$libdir does not exist
22146 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22148 # If ld is used when linking, flag to hardcode \$libdir into a binary
22149 # during linking. This must work even if \$libdir does not exist.
22150 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
22152 # Whether we need a single "-rpath" flag with a separated argument.
22153 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22155 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22156 # DIR into the resulting binary.
22157 hardcode_direct=$hardcode_direct
22159 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22160 # DIR into the resulting binary and the resulting library dependency is
22161 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22162 # library is relocated.
22163 hardcode_direct_absolute=$hardcode_direct_absolute
22165 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22166 # into the resulting binary.
22167 hardcode_minus_L=$hardcode_minus_L
22169 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22170 # into the resulting binary.
22171 hardcode_shlibpath_var=$hardcode_shlibpath_var
22173 # Set to "yes" if building a shared library automatically hardcodes DIR
22174 # into the library and all subsequent libraries and executables linked
22176 hardcode_automatic=$hardcode_automatic
22178 # Set to yes if linker adds runtime paths of dependent libraries
22179 # to runtime path list.
22180 inherit_rpath=$inherit_rpath
22182 # Whether libtool must link a program against all its dependency libraries.
22183 link_all_deplibs=$link_all_deplibs
22185 # Fix the shell variable \$srcfile for the compiler.
22186 fix_srcfile_path=$lt_fix_srcfile_path
22188 # Set to "yes" if exported symbols are required.
22189 always_export_symbols=$always_export_symbols
22191 # The commands to list exported symbols.
22192 export_symbols_cmds=$lt_export_symbols_cmds
22194 # Symbols that should not be listed in the preloaded symbols.
22195 exclude_expsyms=$lt_exclude_expsyms
22197 # Symbols that must always be exported.
22198 include_expsyms=$lt_include_expsyms
22200 # Commands necessary for linking programs (against libraries) with templates.
22201 prelink_cmds=$lt_prelink_cmds
22203 # Specify filename containing input files.
22204 file_list_spec=$lt_file_list_spec
22206 # How to hardcode a shared library path into an executable.
22207 hardcode_action=$hardcode_action
22209 # ### END LIBTOOL CONFIG
22215 cat <<\_LT_EOF
>> "$cfgfile"
22216 # AIX sometimes has problems with the GCC collect2 program. For some
22217 # reason, if we set the COLLECT_NAMES environment variable, the problems
22218 # vanish in a puff of smoke.
22219 if test "X${COLLECT_NAMES+set}" != Xset
; then
22221 export COLLECT_NAMES
22228 ltmain
="$ac_aux_dir/ltmain.sh"
22231 # We use sed instead of cat because bash on DJGPP gets confused if
22232 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22233 # text mode, it properly converts lines to CR/LF. This bash problem
22234 # is reportedly fixed, but why not run on old versions too?
22235 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
22236 ||
(rm -f "$cfgfile"; exit 1)
22240 cat << \_LT_EOF
>> "$cfgfile"
22241 # func_dirname file append nondir_replacement
22242 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22243 # otherwise set result to NONDIR_REPLACEMENT.
22247 */*) func_dirname_result
="${1%/*}${2}" ;;
22248 * ) func_dirname_result
="${3}" ;;
22252 # func_basename file
22255 func_basename_result
="${1##*/}"
22258 # func_stripname prefix suffix name
22259 # strip PREFIX and SUFFIX off of NAME.
22260 # PREFIX and SUFFIX must not contain globbing or regex special
22261 # characters, hashes, percent signs, but SUFFIX may contain a leading
22262 # dot (in which case that matches only a dot).
22265 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
22266 # positional parameters, so assign one to ordinary parameter first.
22267 func_stripname_result
=${3}
22268 func_stripname_result
=${func_stripname_result#"${1}"}
22269 func_stripname_result
=${func_stripname_result%"${2}"}
22275 func_opt_split_opt
=${1%%=*}
22276 func_opt_split_arg
=${1#*=}
22283 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
22284 *) func_lo2o_result
=${1} ;;
22289 *) # Bourne compatible functions.
22290 cat << \_LT_EOF
>> "$cfgfile"
22291 # func_dirname file append nondir_replacement
22292 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22293 # otherwise set result to NONDIR_REPLACEMENT.
22296 # Extract subdirectory from the argument.
22297 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
22298 if test "X$func_dirname_result" = "X${1}"; then
22299 func_dirname_result
="${3}"
22301 func_dirname_result
="$func_dirname_result${2}"
22305 # func_basename file
22308 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
22311 # func_stripname prefix suffix name
22312 # strip PREFIX and SUFFIX off of NAME.
22313 # PREFIX and SUFFIX must not contain globbing or regex special
22314 # characters, hashes, percent signs, but SUFFIX may contain a leading
22315 # dot (in which case that matches only a dot).
22316 # func_strip_suffix prefix name
22320 .
*) func_stripname_result
=`$ECHO "X${3}" \
22321 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
22322 *) func_stripname_result
=`$ECHO "X${3}" \
22323 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
22328 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
22329 my_sed_long_arg
='1s/^-[^=]*=//'
22334 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
22335 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
22341 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
22346 case $lt_shell_append in
22348 cat << \_LT_EOF
>> "$cfgfile"
22350 # func_append var value
22351 # Append VALUE to the end of shell variable VAR.
22359 cat << \_LT_EOF
>> "$cfgfile"
22361 # func_append var value
22362 # Append VALUE to the end of shell variable VAR.
22372 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
22373 ||
(rm -f "$cfgfile"; exit 1)
22375 mv -f "$cfgfile" "$ofile" ||
22376 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22381 for ac_file
in $CONFIG_FILES; do
22382 # Support "outfile[:infile[:infile...]]"
22384 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22386 # PO directories have a Makefile.in generated from Makefile.in.in.
22387 case "$ac_file" in */Makefile.
in)
22388 # Adjust a relative srcdir.
22389 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
22390 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
22391 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
22392 # In autoconf-2.13 it is called $ac_given_srcdir.
22393 # In autoconf-2.50 it is called $srcdir.
22394 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
22395 case "$ac_given_srcdir" in
22396 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
22397 /*) top_srcdir
="$ac_given_srcdir" ;;
22398 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
22400 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
22401 rm -f "$ac_dir/POTFILES"
22402 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
22403 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
22404 POMAKEFILEDEPS
="POTFILES.in"
22405 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
22406 # on $ac_dir but don't depend on user-specified configuration
22408 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
22409 # The LINGUAS file contains the set of available languages.
22410 if test -n "$OBSOLETE_ALL_LINGUAS"; then
22411 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
22413 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
22414 # Hide the ALL_LINGUAS assigment from automake.
22415 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
22416 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
22418 # The set of available languages was given in configure.in.
22419 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
22421 case "$ac_given_srcdir" in
22423 *) srcdirpre
='$(srcdir)/' ;;
22429 for lang
in $ALL_LINGUAS; do
22430 POFILES
="$POFILES $srcdirpre$lang.po"
22431 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
22432 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
22433 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
22435 # CATALOGS depends on both $ac_dir and the user's LINGUAS
22436 # environment variable.
22438 if test -n "$ALL_LINGUAS"; then
22439 for presentlang
in $ALL_LINGUAS; do
22441 if test "%UNSET%" != "$LINGUAS"; then
22442 desiredlanguages
="$LINGUAS"
22444 desiredlanguages
="$ALL_LINGUAS"
22446 for desiredlang
in $desiredlanguages; do
22447 # Use the presentlang catalog if desiredlang is
22448 # a. equal to presentlang, or
22449 # b. a variant of presentlang (because in this case,
22450 # presentlang can be used as a fallback for messages
22451 # which are not translated in the desiredlang catalog).
22452 case "$desiredlang" in
22453 "$presentlang"*) useit
=yes;;
22456 if test $useit = yes; then
22457 INST_LINGUAS
="$INST_LINGUAS $presentlang"
22462 if test -n "$INST_LINGUAS"; then
22463 for lang
in $INST_LINGUAS; do
22464 CATALOGS
="$CATALOGS $lang.gmo"
22467 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
22468 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"
22469 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
22470 if test -f "$f"; then
22472 *.orig |
*.bak |
*~
) ;;
22473 *) cat "$f" >> "$ac_dir/Makefile" ;;
22482 if test "$GCC" = yes; then
22483 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
22485 echo "/* generated for $CC */" > tmp-stdint.h
22488 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22490 #ifndef GCC_GENERATED_STDINT_H
22491 #define GCC_GENERATED_STDINT_H 1
22493 #include <sys/types.h>
22496 if test "$acx_cv_header_stdint" != stdint.h
; then
22497 echo "#include <stddef.h>" >> tmp-stdint.h
22499 if test "$acx_cv_header_stdint" != stddef.h
; then
22500 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
22503 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22504 /* glibc uses these symbols as guards to prevent redefinitions. */
22505 #ifdef __int8_t_defined
22510 #ifdef __uint32_t_defined
22516 # ----------------- done header, emit basic int types -------------
22517 if test "$acx_cv_header_stdint" = stddef.h
; then
22518 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22522 #ifndef __uint8_t_defined
22523 #define __uint8_t_defined
22524 typedef unsigned $acx_cv_type_int8_t uint8_t;
22530 #ifndef __uint16_t_defined
22531 #define __uint16_t_defined
22532 typedef unsigned $acx_cv_type_int16_t uint16_t;
22538 #ifndef __uint32_t_defined
22539 #define __uint32_t_defined
22540 typedef unsigned $acx_cv_type_int32_t uint32_t;
22546 #ifndef __int8_t_defined
22547 #define __int8_t_defined
22548 typedef $acx_cv_type_int8_t int8_t;
22554 #ifndef __int16_t_defined
22555 #define __int16_t_defined
22556 typedef $acx_cv_type_int16_t int16_t;
22562 #ifndef __int32_t_defined
22563 #define __int32_t_defined
22564 typedef $acx_cv_type_int32_t int32_t;
22568 elif test "$ac_cv_type_u_int32_t" = yes; then
22569 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22571 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
22584 #ifndef __uint8_t_defined
22585 #define __uint8_t_defined
22586 typedef u_int8_t uint8_t;
22592 #ifndef __uint16_t_defined
22593 #define __uint16_t_defined
22594 typedef u_int16_t uint16_t;
22600 #ifndef __uint32_t_defined
22601 #define __uint32_t_defined
22602 typedef u_int32_t uint32_t;
22607 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22609 /* Some systems have guard macros to prevent redefinitions, define them. */
22631 # ------------- done basic int types, emit int64_t types ------------
22632 if test "$ac_cv_type_uint64_t" = yes; then
22633 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22635 /* system headers have good uint64_t and int64_t */
22643 elif test "$ac_cv_type_u_int64_t" = yes; then
22644 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22646 /* system headers have an u_int64_t (and int64_t) */
22652 #ifndef __uint64_t_defined
22653 #define __uint64_t_defined
22654 typedef u_int64_t uint64_t;
22658 elif test -n "$acx_cv_type_int64_t"; then
22659 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22661 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
22664 typedef $acx_cv_type_int64_t int64_t;
22668 #ifndef __uint64_t_defined
22669 #define __uint64_t_defined
22670 typedef unsigned $acx_cv_type_int64_t uint64_t;
22675 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22677 /* some common heuristics for int64_t, using compiler-specific tests */
22678 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
22681 #ifndef __int64_t_defined
22682 typedef long long int64_t;
22687 typedef unsigned long long uint64_t;
22690 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
22691 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
22692 does not implement __extension__. But that compiler doesn't define
22694 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
22695 # define __extension__
22700 __extension__ typedef long long int64_t;
22704 __extension__ typedef unsigned long long uint64_t;
22707 #elif !defined __STRICT_ANSI__
22708 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
22712 typedef __int64 int64_t;
22716 typedef unsigned __int64 uint64_t;
22718 # endif /* compiler */
22720 #endif /* ANSI version */
22724 # ------------- done int64_t types, emit intptr types ------------
22725 if test "$ac_cv_type_uintptr_t" != yes; then
22726 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22728 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
22729 #ifndef __uintptr_t_defined
22730 typedef u$acx_cv_type_intptr_t uintptr_t;
22732 #ifndef __intptr_t_defined
22733 typedef $acx_cv_type_intptr_t intptr_t;
22738 # ------------- done intptr types, emit int_least types ------------
22739 if test "$ac_cv_type_int_least32_t" != yes; then
22740 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22742 /* Define int_least types */
22743 typedef int8_t int_least8_t;
22744 typedef int16_t int_least16_t;
22745 typedef int32_t int_least32_t;
22747 typedef int64_t int_least64_t;
22750 typedef uint8_t uint_least8_t;
22751 typedef uint16_t uint_least16_t;
22752 typedef uint32_t uint_least32_t;
22754 typedef uint64_t uint_least64_t;
22759 # ------------- done intptr types, emit int_fast types ------------
22760 if test "$ac_cv_type_int_fast32_t" != yes; then
22761 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22763 /* Define int_fast types. short is often slow */
22764 typedef int8_t int_fast8_t;
22765 typedef int int_fast16_t;
22766 typedef int32_t int_fast32_t;
22768 typedef int64_t int_fast64_t;
22771 typedef uint8_t uint_fast8_t;
22772 typedef unsigned int uint_fast16_t;
22773 typedef uint32_t uint_fast32_t;
22775 typedef uint64_t uint_fast64_t;
22780 if test "$ac_cv_type_uintmax_t" != yes; then
22781 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22783 /* Define intmax based on what we found */
22785 typedef int64_t intmax_t;
22787 typedef long intmax_t;
22790 typedef uint64_t uintmax_t;
22792 typedef unsigned long uintmax_t;
22797 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22799 #endif /* GCC_GENERATED_STDINT_H */
22802 if test -r bfd_stdint.h
&& cmp -s tmp-stdint.h bfd_stdint.h
; then
22805 mv -f tmp-stdint.h bfd_stdint.h
22812 *) srcdirpre
='$(srcdir)/' ;;
22816 for lang
in dummy
$OBSOLETE_ALL_LINGUAS; do
22817 if test $lang != dummy
; then
22818 POFILES
="$POFILES $srcdirpre$lang.po"
22819 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
22822 sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' \
22823 -e '/BLD-POTFILES =/r po/BLD-POTFILES' \
22824 -e "s,@POFILES@,$POFILES," \
22825 -e "s,@GMOFILES@,$GMOFILES," \
22826 po
/Makefile.
in > po
/Makefile
;;
22831 cat >>$CONFIG_STATUS <<\_ACEOF
22833 { (exit 0); exit 0; }
22835 chmod +x
$CONFIG_STATUS
22836 ac_clean_files
=$ac_clean_files_save
22839 # configure is writing to config.log, and then calls config.status.
22840 # config.status does its own redirection, appending to config.log.
22841 # Unfortunately, on DOS this fails, as config.log is still kept open
22842 # by configure, so config.status won't be able to write to it; its
22843 # output is simply discarded. So we exec the FD to /dev/null,
22844 # effectively closing config.log, so it can be properly (re)opened and
22845 # appended to by config.status. When coming back to configure, we
22846 # need to make the FD available again.
22847 if test "$no_create" != yes; then
22849 ac_config_status_args
=
22850 test "$silent" = yes &&
22851 ac_config_status_args
="$ac_config_status_args --quiet"
22853 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22855 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22856 # would make configure fail if this is the last instruction.
22857 $ac_cs_success ||
{ (exit 1); exit 1; }