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
="gcj_mlc.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 multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical mkinstalldirs 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 CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CFLAGS CXXFLAGS CCAS CCASFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GC_CFLAGS LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S lt_ECHO CPP CPPFLAGS LDFLAGS CXXCPP THREADLIBS POWERPC_DARWIN_TRUE POWERPC_DARWIN_FALSE extra_ldflags_libgc EXTRA_TEST_LIBS target_all CPLUSPLUS_TRUE CPLUSPLUS_FALSE AM_CPPFLAGS addobjs addincludes addlibs addtests MY_CFLAGS toolexecdir toolexeclibdir 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_CPP_set
=${CPP+set}
903 ac_env_CPP_value
=$CPP
904 ac_cv_env_CPP_set
=${CPP+set}
905 ac_cv_env_CPP_value
=$CPP
906 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value
=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
910 ac_env_CXX_set
=${CXX+set}
911 ac_env_CXX_value
=$CXX
912 ac_cv_env_CXX_set
=${CXX+set}
913 ac_cv_env_CXX_value
=$CXX
914 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
915 ac_env_CXXFLAGS_value
=$CXXFLAGS
916 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
917 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
918 ac_env_LDFLAGS_set
=${LDFLAGS+set}
919 ac_env_LDFLAGS_value
=$LDFLAGS
920 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value
=$LDFLAGS
922 ac_env_CXXCPP_set
=${CXXCPP+set}
923 ac_env_CXXCPP_value
=$CXXCPP
924 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
925 ac_cv_env_CXXCPP_value
=$CXXCPP
928 # Report the --help message.
930 if test "$ac_init_help" = "long"; then
931 # Omit some internal or obsolete options to make the list less imposing.
932 # This message is too long to be a string in the A/UX 3.1 sh.
934 \`configure' configures this package to adapt to many kinds of systems.
936 Usage: $0 [OPTION]... [VAR=VALUE]...
938 To assign environment variables (e.g., CC, CFLAGS...), specify them as
939 VAR=VALUE. See below for descriptions of some of the useful variables.
941 Defaults for the options are specified in brackets.
944 -h, --help display this help and exit
945 --help=short display options specific to this package
946 --help=recursive display the short help of all the included packages
947 -V, --version display version information and exit
948 -q, --quiet, --silent do not print \`checking...' messages
949 --cache-file=FILE cache test results in FILE [disabled]
950 -C, --config-cache alias for \`--cache-file=config.cache'
951 -n, --no-create do not create output files
952 --srcdir=DIR find the sources in DIR [configure dir or \`..']
957 Installation directories:
958 --prefix=PREFIX install architecture-independent files in PREFIX
960 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
963 By default, \`make install' will install all the files in
964 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
965 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
966 for instance \`--prefix=\$HOME'.
968 For better control, use the options below.
970 Fine tuning of the installation directories:
971 --bindir=DIR user executables [EPREFIX/bin]
972 --sbindir=DIR system admin executables [EPREFIX/sbin]
973 --libexecdir=DIR program executables [EPREFIX/libexec]
974 --datadir=DIR read-only architecture-independent data [PREFIX/share]
975 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
976 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
977 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
978 --libdir=DIR object code libraries [EPREFIX/lib]
979 --includedir=DIR C header files [PREFIX/include]
980 --oldincludedir=DIR C header files for non-gcc [/usr/include]
981 --infodir=DIR info documentation [PREFIX/info]
982 --mandir=DIR man documentation [PREFIX/man]
988 --program-prefix=PREFIX prepend PREFIX to installed program names
989 --program-suffix=SUFFIX append SUFFIX to installed program names
990 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
993 --build=BUILD configure
for building on BUILD
[guessed
]
994 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
995 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
999 if test -n "$ac_init_help"; then
1004 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1005 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1006 --enable-multilib build many library versions
(default
)
1007 --disable-dependency-tracking speeds up one-time build
1008 --enable-dependency-tracking do not reject slow dependency extractors
1009 --enable-maintainer-mode enable make rules and dependencies not useful
1010 (and sometimes confusing
) to the casual installer
1011 --enable-shared[=PKGS
]
1012 build shared libraries
[default
=yes]
1013 --enable-static[=PKGS
]
1014 build static libraries
[default
=yes]
1015 --enable-fast-install[=PKGS
]
1016 optimize
for fast installation
[default
=yes]
1017 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1018 --enable-parallel-mark parallelize marking and free list construction
1019 --enable-gc-debug include full support
for pointer backtracing etc.
1022 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1023 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1024 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1026 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1027 --with-target-subdir=SUBDIR
1028 configuring with a cross compiler
1029 --with-cross-host=HOST configuring with a cross compiler
1030 --with-ecos enable runtime eCos target support
1032 Some influential environment variables
:
1033 CC C compiler
command
1034 CFLAGS C compiler flags
1035 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1036 nonstandard directory
<lib dir
>
1037 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1038 headers
in a nonstandard directory
<include dir
>
1039 CXX C
++ compiler
command
1040 CXXFLAGS C
++ compiler flags
1042 CXXCPP C
++ preprocessor
1044 Use these variables to override the choices made by
`configure' or to help
1045 it to find libraries and programs with nonstandard names/locations.
1050 if test "$ac_init_help" = "recursive"; then
1051 # If there are subdirs, report their specific --help.
1053 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1054 test -d $ac_dir || continue
1057 if test "$ac_dir" != .; then
1058 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1059 # A "../" for each directory in $ac_dir_suffix.
1060 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1062 ac_dir_suffix= ac_top_builddir=
1066 .) # No --srcdir option. We are building in place.
1068 if test -z "$ac_top_builddir"; then
1071 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1073 [\\/]* | ?:[\\/]* ) # Absolute path.
1074 ac_srcdir=$srcdir$ac_dir_suffix;
1075 ac_top_srcdir=$srcdir ;;
1077 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1078 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1081 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1082 # the directories may not exist.
1084 .) ac_abs_builddir="$ac_dir";;
1087 .) ac_abs_builddir=`pwd`;;
1088 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1089 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1092 case $ac_abs_builddir in
1093 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1095 case ${ac_top_builddir}. in
1096 .) ac_abs_top_builddir=$ac_abs_builddir;;
1097 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1098 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1101 case $ac_abs_builddir in
1102 .) ac_abs_srcdir=$ac_srcdir;;
1105 .) ac_abs_srcdir=$ac_abs_builddir;;
1106 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1107 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1110 case $ac_abs_builddir in
1111 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1113 case $ac_top_srcdir in
1114 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1115 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1116 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1121 # Check for guested configure; otherwise get Cygnus style configure.
1122 if test -f $ac_srcdir/configure.gnu; then
1124 $SHELL $ac_srcdir/configure.gnu --help=recursive
1125 elif test -f $ac_srcdir/configure; then
1127 $SHELL $ac_srcdir/configure --help=recursive
1128 elif test -f $ac_srcdir/configure.ac ||
1129 test -f $ac_srcdir/configure.in; then
1131 $ac_configure --help
1133 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1139 test -n "$ac_init_help" && exit 0
1140 if $ac_init_version; then
1143 Copyright (C) 2003 Free Software Foundation, Inc.
1144 This configure script is free software; the Free Software Foundation
1145 gives unlimited permission to copy, distribute and modify it.
1151 This file contains any messages produced by compilers while
1152 running configure, to aid debugging if configure makes a mistake.
1154 It was created by $as_me, which was
1155 generated by GNU Autoconf 2.59. Invocation command line was
1166 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1167 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1168 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1169 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1170 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1172 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1173 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1175 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1176 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1177 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1178 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1179 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1180 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1181 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1189 test -z "$as_dir" && as_dir=.
1190 echo "PATH: $as_dir"
1205 # Keep a trace of the command line.
1206 # Strip out --no-create and --no-recursion so they do not pile up.
1207 # Strip out --silent because we don't want to record it for future runs.
1208 # Also quote any args containing shell meta-characters.
1209 # Make two passes to allow for proper duplicate-argument suppression.
1214 ac_must_keep_next=false
1220 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1221 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1222 | -silent | --silent | --silen | --sile | --sil)
1224 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1225 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1228 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1230 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1231 if test $ac_must_keep_next = true; then
1232 ac_must_keep_next=false # Got value, back to normal.
1235 *=* | --config-cache | -C | -disable-* | --disable-* \
1236 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1237 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1238 | -with-* | --with-* | -without-* | --without-* | --x)
1239 case "$ac_configure_args0 " in
1240 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1243 -* ) ac_must_keep_next=true ;;
1246 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1247 # Get rid of the leading space.
1253 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1254 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1256 # When interrupted or exit'd, cleanup temporary files, and complete
1257 # config.log. We remove comments because anyway the quotes in there
1258 # would cause problems or look ugly.
1259 # WARNING: Be sure not to use single quotes in there, as some shells,
1260 # such as our DU 5.0 friend, will then `close
' the trap.
1261 trap 'exit_status
=$?
1262 # Save into config.log some information that might help in debugging.
1267 ## ---------------- ##
1268 ## Cache variables. ##
1269 ## ---------------- ##
1272 # The following way of writing the cache mishandles newlines in values,
1275 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1278 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1279 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1283 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1290 ## ----------------- ##
1291 ## Output variables. ##
1292 ## ----------------- ##
1295 for ac_var
in $ac_subst_vars
1297 eval ac_val
=$
`echo $ac_var`
1298 echo "$ac_var='"'"'$ac_val'"'"'"
1302 if test -n "$ac_subst_files"; then
1309 for ac_var
in $ac_subst_files
1311 eval ac_val
=$
`echo $ac_var`
1312 echo "$ac_var='"'"'$ac_val'"'"'"
1317 if test -s confdefs.h
; then
1324 sed "/^$/d" confdefs.h |
sort
1327 test "$ac_signal" != 0 &&
1328 echo "$as_me: caught signal $ac_signal"
1329 echo "$as_me: exit $exit_status"
1331 rm -f core
*.core
&&
1332 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1335 for ac_signal in 1 2 13 15; do
1336 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1340 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1341 rm -rf conftest* confdefs.h
1342 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1345 # Predefined preprocessor variables.
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_NAME "$PACKAGE_NAME"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_STRING "$PACKAGE_STRING"
1367 cat >>confdefs.h <<_ACEOF
1368 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1372 # Let the site file select an alternate cache file if it wants to.
1373 # Prefer explicitly selected file to automatically selected ones.
1374 if test -z "$CONFIG_SITE"; then
1375 if test "x$prefix" != xNONE; then
1376 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1378 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1381 for ac_site_file in $CONFIG_SITE; do
1382 if test -r "$ac_site_file"; then
1383 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1384 echo "$as_me: loading site script $ac_site_file" >&6;}
1385 sed 's
/^
/|
/' "$ac_site_file" >&5
1390 if test -r "$cache_file"; then
1391 # Some versions of bash will fail to source /dev/null (special
1392 # files actually), so we avoid doing that.
1393 if test -f "$cache_file"; then
1394 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1395 echo "$as_me: loading cache $cache_file" >&6;}
1397 [\\/]* | ?:[\\/]* ) . $cache_file;;
1398 *) . ./$cache_file;;
1402 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1403 echo "$as_me: creating cache $cache_file" >&6;}
1407 # Check that the precious variables saved in the cache have kept the same
1409 ac_cache_corrupted=false
1410 for ac_var in `(set) 2>&1 |
1411 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1412 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1413 eval ac_new_set=\$ac_env_${ac_var}_set
1414 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1415 eval ac_new_val="\$ac_env_${ac_var}_value"
1416 case $ac_old_set,$ac_new_set in
1418 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1420 ac_cache_corrupted=: ;;
1422 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1423 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1424 ac_cache_corrupted=: ;;
1427 if test "x$ac_old_val" != "x$ac_new_val"; then
1428 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1429 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1430 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1431 echo "$as_me: former value: $ac_old_val" >&2;}
1432 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1433 echo "$as_me: current value: $ac_new_val" >&2;}
1434 ac_cache_corrupted=:
1437 # Pass precious variables to config.status.
1438 if test "$ac_new_set" = set; then
1440 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1441 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1442 *) ac_arg=$ac_var=$ac_new_val ;;
1444 case " $ac_configure_args " in
1445 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1446 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1450 if $ac_cache_corrupted; then
1451 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1452 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1453 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1454 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1455 { (exit 1); exit 1; }; }
1459 ac_cpp='$CPP $CPPFLAGS'
1460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1461 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1483 # This works around the fact that libtool configuration may change LD
1484 # for this particular configuration, but some shells, instead of
1485 # keeping the changes in LD private, export them just because LD is
1487 ORIGINAL_LD_FOR_MULTILIBS=$LD
1489 # Default to --enable-multilib
1490 # Check whether --enable-multilib or --disable-multilib was given.
1491 if test "${enable_multilib+set}" = set; then
1492 enableval="$enable_multilib"
1493 case "$enableval" in
1494 yes) multilib=yes ;;
1496 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1497 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1498 { (exit 1); exit 1; }; } ;;
1504 # We may get other options which we leave undocumented:
1505 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1506 # See config-ml.in if you want the gory details.
1508 if test "$srcdir" = "."; then
1509 if test "$with_target_subdir" != "."; then
1510 multi_basedir="$srcdir/$with_multisrctop../.."
1512 multi_basedir="$srcdir/$with_multisrctop.."
1515 multi_basedir="$srcdir/.."
1519 # Even if the default multilib is not a cross compilation,
1520 # it may be that some of the other multilibs are.
1521 if test $cross_compiling = no && test $multilib = yes \
1522 && test "x${with_multisubdir}" != x ; then
1523 cross_compiling=maybe
1526 ac_config_commands="$ac_config_commands default-1"
1530 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1531 if test -f $ac_dir/install-sh; then
1533 ac_install_sh="$ac_aux_dir/install-sh -c"
1535 elif test -f $ac_dir/install.sh; then
1537 ac_install_sh="$ac_aux_dir/install.sh -c"
1539 elif test -f $ac_dir/shtool; then
1541 ac_install_sh="$ac_aux_dir/shtool install -c"
1545 if test -z "$ac_aux_dir"; then
1546 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1547 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1548 { (exit 1); exit 1; }; }
1550 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1551 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1552 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1554 # Make sure we can run config.sub.
1555 $ac_config_sub sun4 >/dev/null 2>&1 ||
1556 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1557 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1558 { (exit 1); exit 1; }; }
1560 echo "$as_me:$LINENO: checking build system type" >&5
1561 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1562 if test "${ac_cv_build+set}" = set; then
1563 echo $ECHO_N "(cached) $ECHO_C" >&6
1565 ac_cv_build_alias=$build_alias
1566 test -z "$ac_cv_build_alias" &&
1567 ac_cv_build_alias=`$ac_config_guess`
1568 test -z "$ac_cv_build_alias" &&
1569 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1570 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1571 { (exit 1); exit 1; }; }
1572 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1573 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1574 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1575 { (exit 1); exit 1; }; }
1578 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1579 echo "${ECHO_T}$ac_cv_build" >&6
1581 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1582 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1583 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1586 echo "$as_me:$LINENO: checking host system type" >&5
1587 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1588 if test "${ac_cv_host+set}" = set; then
1589 echo $ECHO_N "(cached) $ECHO_C" >&6
1591 ac_cv_host_alias=$host_alias
1592 test -z "$ac_cv_host_alias" &&
1593 ac_cv_host_alias=$ac_cv_build_alias
1594 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1595 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1596 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1597 { (exit 1); exit 1; }; }
1600 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1601 echo "${ECHO_T}$ac_cv_host" >&6
1603 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1604 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1605 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1608 echo "$as_me:$LINENO: checking target system type" >&5
1609 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1610 if test "${ac_cv_target+set}" = set; then
1611 echo $ECHO_N "(cached) $ECHO_C" >&6
1613 ac_cv_target_alias=$target_alias
1614 test "x$ac_cv_target_alias" = "x" &&
1615 ac_cv_target_alias=$ac_cv_host_alias
1616 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1617 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1618 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1619 { (exit 1); exit 1; }; }
1622 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1623 echo "${ECHO_T}$ac_cv_target" >&6
1624 target=$ac_cv_target
1625 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1626 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1627 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1630 # The aliases save the names the user supplied, while $host etc.
1631 # will get canonicalized.
1632 test -n "$target_alias" &&
1633 test "$program_prefix$program_suffix$program_transform_name" = \
1635 program_prefix=${target_alias}-
1637 # Get the 'noncanonical
' system names.
1638 case ${build_alias} in
1639 "") build_noncanonical=${build} ;;
1640 *) build_noncanonical=${build_alias} ;;
1643 case ${host_alias} in
1644 "") host_noncanonical=${build_noncanonical} ;;
1645 *) host_noncanonical=${host_alias} ;;
1648 case ${target_alias} in
1649 "") target_noncanonical=${host_noncanonical} ;;
1650 *) target_noncanonical=${target_alias} ;;
1656 # This works around an automake problem.
1657 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1660 am__api_version="1.9"
1661 # Find a good install program. We prefer a C program (faster),
1662 # so one script is as good as another. But avoid the broken or
1663 # incompatible versions:
1664 # SysV /etc/install, /usr/sbin/install
1665 # SunOS /usr/etc/install
1666 # IRIX /sbin/install
1668 # AmigaOS /C/install, which installs bootblocks on floppy discs
1669 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1670 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1671 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1672 # OS/2's system install, which has a completely different semantic
1673 # ./install, which can be erroneously created by make from ./install.sh.
1674 # Reject install programs that cannot install multiple files.
1675 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1676 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1677 if test -z "$INSTALL"; then
1678 if test "${ac_cv_path_install+set}" = set; then
1679 echo $ECHO_N "(cached) $ECHO_C" >&6
1681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1685 test -z "$as_dir" && as_dir
=.
1686 # Account for people who put trailing slashes in PATH elements.
1688 .
/ | .
// |
/cC
/* | \
1689 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1690 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1693 # OSF1 and SCO ODT 3.0 have their own names for install.
1694 # Don't use installbsd from OSF since it installs stuff as root
1696 for ac_prog
in ginstall scoinst
install; do
1697 for ac_exec_ext
in '' $ac_executable_extensions; do
1698 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1699 if test $ac_prog = install &&
1700 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1701 # AIX install. It has an incompatible calling convention.
1703 elif test $ac_prog = install &&
1704 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1705 # program-specific install script used by HP pwplus--don't use.
1708 rm -rf conftest.one conftest.two conftest.dir
1709 echo one
> conftest.one
1710 echo two
> conftest.two
1712 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1713 test -s conftest.one
&& test -s conftest.two
&&
1714 test -s conftest.dir
/conftest.one
&&
1715 test -s conftest.dir
/conftest.two
1717 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1728 rm -rf conftest.one conftest.two conftest.dir
1731 if test "${ac_cv_path_install+set}" = set; then
1732 INSTALL
=$ac_cv_path_install
1734 # As a last resort, use the slow shell script. Don't cache a
1735 # value for INSTALL within a source directory, because that will
1736 # break other packages using the cache if that directory is
1737 # removed, or if the value is a relative name.
1738 INSTALL
=$ac_install_sh
1741 echo "$as_me:$LINENO: result: $INSTALL" >&5
1742 echo "${ECHO_T}$INSTALL" >&6
1744 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1745 # It thinks the first close brace ends the variable substitution.
1746 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1748 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1750 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1752 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1753 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1756 echo timestamp
> conftest.
file
1757 # Do `set' in a subshell so we don't clobber the current shell's
1758 # arguments. Must try -L first in case configure is actually a
1759 # symlink; some systems play weird games with the mod time of symlinks
1760 # (eg FreeBSD returns the mod time of the symlink's containing
1763 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1764 if test "$*" = "X"; then
1766 set X
`ls -t $srcdir/configure conftest.file`
1769 if test "$*" != "X $srcdir/configure conftest.file" \
1770 && test "$*" != "X conftest.file $srcdir/configure"; then
1772 # If neither matched, then we have a broken ls. This can happen
1773 # if, for instance, CONFIG_SHELL is bash and it inherits a
1774 # broken ls alias from the environment. This has actually
1775 # happened. Such a system could not be considered "sane".
1776 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1777 alias in your environment" >&5
1778 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1779 alias in your environment" >&2;}
1780 { (exit 1); exit 1; }; }
1783 test "$2" = conftest.
file
1789 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1790 Check your system clock" >&5
1791 echo "$as_me: error: newly created file is older than distributed files!
1792 Check your system clock" >&2;}
1793 { (exit 1); exit 1; }; }
1795 echo "$as_me:$LINENO: result: yes" >&5
1796 echo "${ECHO_T}yes" >&6
1797 test "$program_prefix" != NONE
&&
1798 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1799 # Use a double $ so make ignores it.
1800 test "$program_suffix" != NONE
&&
1801 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1802 # Double any \ or $. echo might interpret backslashes.
1803 # By default was `s,x,x', remove it if useless.
1804 cat <<\_ACEOF
>conftest.
sed
1805 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1807 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1810 # expand $ac_aux_dir to an absolute path
1811 am_aux_dir
=`cd $ac_aux_dir && pwd`
1813 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1814 # Use eval to expand $SHELL
1815 if eval "$MISSING --run true"; then
1816 am_missing_run
="$MISSING --run "
1819 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1820 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1823 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1824 # We used to keeping the `.' as first argument, in order to
1825 # allow $(mkdir_p) to be used without argument. As in
1826 # $(mkdir_p) $(somedir)
1827 # where $(somedir) is conditionally defined. However this is wrong
1829 # 1. if the package is installed by a user who cannot write `.'
1830 # make install will fail,
1831 # 2. the above comment should most certainly read
1832 # $(mkdir_p) $(DESTDIR)$(somedir)
1833 # so it does not work when $(somedir) is undefined and
1834 # $(DESTDIR) is not.
1835 # To support the latter case, we have to write
1836 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1837 # so the `.' trick is pointless.
1838 mkdir_p
='mkdir -p --'
1840 # On NextStep and OpenStep, the `mkdir' command does not
1841 # recognize any option. It will interpret all options as
1842 # directories to create, and then abort because `.' already
1844 for d
in .
/-p .
/--version;
1846 test -d $d && rmdir $d
1848 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1849 if test -f "$ac_aux_dir/mkinstalldirs"; then
1850 mkdir_p
='$(mkinstalldirs)'
1852 mkdir_p
='$(install_sh) -d'
1856 for ac_prog
in gawk mawk nawk
awk
1858 # Extract the first word of "$ac_prog", so it can be a program name with args.
1859 set dummy
$ac_prog; ac_word
=$2
1860 echo "$as_me:$LINENO: checking for $ac_word" >&5
1861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1862 if test "${ac_cv_prog_AWK+set}" = set; then
1863 echo $ECHO_N "(cached) $ECHO_C" >&6
1865 if test -n "$AWK"; then
1866 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1872 test -z "$as_dir" && as_dir
=.
1873 for ac_exec_ext
in '' $ac_executable_extensions; do
1874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1875 ac_cv_prog_AWK
="$ac_prog"
1876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1885 if test -n "$AWK"; then
1886 echo "$as_me:$LINENO: result: $AWK" >&5
1887 echo "${ECHO_T}$AWK" >&6
1889 echo "$as_me:$LINENO: result: no" >&5
1890 echo "${ECHO_T}no" >&6
1893 test -n "$AWK" && break
1896 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1897 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1898 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1899 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1900 echo $ECHO_N "(cached) $ECHO_C" >&6
1902 cat >conftest.
make <<\_ACEOF
1904 @
echo 'ac_maketemp="$(MAKE)"'
1906 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1907 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1908 if test -n "$ac_maketemp"; then
1909 eval ac_cv_prog_make_
${ac_make}_set
=yes
1911 eval ac_cv_prog_make_
${ac_make}_set
=no
1915 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1916 echo "$as_me:$LINENO: result: yes" >&5
1917 echo "${ECHO_T}yes" >&6
1920 echo "$as_me:$LINENO: result: no" >&5
1921 echo "${ECHO_T}no" >&6
1922 SET_MAKE
="MAKE=${MAKE-make}"
1925 rm -rf .tst
2>/dev
/null
1926 mkdir .tst
2>/dev
/null
1927 if test -d .tst
; then
1932 rmdir .tst
2>/dev
/null
1934 # test to see if srcdir already configured
1935 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1936 test -f $srcdir/config.status
; then
1937 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1938 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1939 { (exit 1); exit 1; }; }
1942 # test whether we have cygpath
1943 if test -z "$CYGPATH_W"; then
1944 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1945 CYGPATH_W
='cygpath -w'
1952 # Define the identity of the package.
1957 # Some tools Automake needs.
1959 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1962 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1965 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1968 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1971 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1973 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1975 # Installed binaries are usually stripped using `strip' when the user
1976 # run `make install-strip'. However `strip' might not be the right
1977 # tool to use in cross-compilation environments, therefore Automake
1978 # will honor the `STRIP' environment variable to overrule this program.
1979 if test "$cross_compiling" != no
; then
1980 if test -n "$ac_tool_prefix"; then
1981 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1982 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1983 echo "$as_me:$LINENO: checking for $ac_word" >&5
1984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1985 if test "${ac_cv_prog_STRIP+set}" = set; then
1986 echo $ECHO_N "(cached) $ECHO_C" >&6
1988 if test -n "$STRIP"; then
1989 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1995 test -z "$as_dir" && as_dir
=.
1996 for ac_exec_ext
in '' $ac_executable_extensions; do
1997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1998 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2007 STRIP
=$ac_cv_prog_STRIP
2008 if test -n "$STRIP"; then
2009 echo "$as_me:$LINENO: result: $STRIP" >&5
2010 echo "${ECHO_T}$STRIP" >&6
2012 echo "$as_me:$LINENO: result: no" >&5
2013 echo "${ECHO_T}no" >&6
2017 if test -z "$ac_cv_prog_STRIP"; then
2019 # Extract the first word of "strip", so it can be a program name with args.
2020 set dummy strip
; ac_word
=$2
2021 echo "$as_me:$LINENO: checking for $ac_word" >&5
2022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2023 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2024 echo $ECHO_N "(cached) $ECHO_C" >&6
2026 if test -n "$ac_ct_STRIP"; then
2027 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2033 test -z "$as_dir" && as_dir
=.
2034 for ac_exec_ext
in '' $ac_executable_extensions; do
2035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2036 ac_cv_prog_ac_ct_STRIP
="strip"
2037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2043 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2046 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2047 if test -n "$ac_ct_STRIP"; then
2048 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2049 echo "${ECHO_T}$ac_ct_STRIP" >&6
2051 echo "$as_me:$LINENO: result: no" >&5
2052 echo "${ECHO_T}no" >&6
2057 STRIP
="$ac_cv_prog_STRIP"
2061 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2063 # We need awk for the "check" target. The system "awk" is bad on
2065 # Always define AMTAR for backward compatibility.
2067 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2069 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2076 # The autoconf 2.5x version of the no-executables hack.
2079 # Yak. We must force CC and CXX to /not/ be precious variables; otherwise
2080 # the wrong, non-multilib-adjusted value will be used in multilibs.
2081 # As a side effect, we have to subst CFLAGS and CXXFLAGS ourselves.
2086 ac_cpp
='$CPP $CPPFLAGS'
2087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2090 if test -n "$ac_tool_prefix"; then
2091 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2092 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2093 echo "$as_me:$LINENO: checking for $ac_word" >&5
2094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2095 if test "${ac_cv_prog_CC+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2098 if test -n "$CC"; then
2099 ac_cv_prog_CC
="$CC" # Let the user override the test.
2101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir
=.
2106 for ac_exec_ext
in '' $ac_executable_extensions; do
2107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2108 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118 if test -n "$CC"; then
2119 echo "$as_me:$LINENO: result: $CC" >&5
2120 echo "${ECHO_T}$CC" >&6
2122 echo "$as_me:$LINENO: result: no" >&5
2123 echo "${ECHO_T}no" >&6
2127 if test -z "$ac_cv_prog_CC"; then
2129 # Extract the first word of "gcc", so it can be a program name with args.
2130 set dummy gcc
; ac_word
=$2
2131 echo "$as_me:$LINENO: checking for $ac_word" >&5
2132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2133 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2134 echo $ECHO_N "(cached) $ECHO_C" >&6
2136 if test -n "$ac_ct_CC"; then
2137 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2143 test -z "$as_dir" && as_dir
=.
2144 for ac_exec_ext
in '' $ac_executable_extensions; do
2145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2146 ac_cv_prog_ac_ct_CC
="gcc"
2147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2155 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2156 if test -n "$ac_ct_CC"; then
2157 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2158 echo "${ECHO_T}$ac_ct_CC" >&6
2160 echo "$as_me:$LINENO: result: no" >&5
2161 echo "${ECHO_T}no" >&6
2169 if test -z "$CC"; then
2170 if test -n "$ac_tool_prefix"; then
2171 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2172 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2173 echo "$as_me:$LINENO: checking for $ac_word" >&5
2174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2175 if test "${ac_cv_prog_CC+set}" = set; then
2176 echo $ECHO_N "(cached) $ECHO_C" >&6
2178 if test -n "$CC"; then
2179 ac_cv_prog_CC
="$CC" # Let the user override the test.
2181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2185 test -z "$as_dir" && as_dir
=.
2186 for ac_exec_ext
in '' $ac_executable_extensions; do
2187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2188 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198 if test -n "$CC"; then
2199 echo "$as_me:$LINENO: result: $CC" >&5
2200 echo "${ECHO_T}$CC" >&6
2202 echo "$as_me:$LINENO: result: no" >&5
2203 echo "${ECHO_T}no" >&6
2207 if test -z "$ac_cv_prog_CC"; then
2209 # Extract the first word of "cc", so it can be a program name with args.
2210 set dummy cc
; ac_word
=$2
2211 echo "$as_me:$LINENO: checking for $ac_word" >&5
2212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2213 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2214 echo $ECHO_N "(cached) $ECHO_C" >&6
2216 if test -n "$ac_ct_CC"; then
2217 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2223 test -z "$as_dir" && as_dir
=.
2224 for ac_exec_ext
in '' $ac_executable_extensions; do
2225 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2226 ac_cv_prog_ac_ct_CC
="cc"
2227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2235 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2236 if test -n "$ac_ct_CC"; then
2237 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2238 echo "${ECHO_T}$ac_ct_CC" >&6
2240 echo "$as_me:$LINENO: result: no" >&5
2241 echo "${ECHO_T}no" >&6
2250 if test -z "$CC"; then
2251 # Extract the first word of "cc", so it can be a program name with args.
2252 set dummy cc
; ac_word
=$2
2253 echo "$as_me:$LINENO: checking for $ac_word" >&5
2254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2255 if test "${ac_cv_prog_CC+set}" = set; then
2256 echo $ECHO_N "(cached) $ECHO_C" >&6
2258 if test -n "$CC"; then
2259 ac_cv_prog_CC
="$CC" # Let the user override the test.
2262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2266 test -z "$as_dir" && as_dir
=.
2267 for ac_exec_ext
in '' $ac_executable_extensions; do
2268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2269 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2270 ac_prog_rejected
=yes
2274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2280 if test $ac_prog_rejected = yes; then
2281 # We found a bogon in the path, so make sure we never use it.
2282 set dummy
$ac_cv_prog_CC
2284 if test $# != 0; then
2285 # We chose a different compiler from the bogus one.
2286 # However, it has the same basename, so the bogon will be chosen
2287 # first if we set CC to just the basename; use the full file name.
2289 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2295 if test -n "$CC"; then
2296 echo "$as_me:$LINENO: result: $CC" >&5
2297 echo "${ECHO_T}$CC" >&6
2299 echo "$as_me:$LINENO: result: no" >&5
2300 echo "${ECHO_T}no" >&6
2304 if test -z "$CC"; then
2305 if test -n "$ac_tool_prefix"; then
2308 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2309 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2310 echo "$as_me:$LINENO: checking for $ac_word" >&5
2311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2312 if test "${ac_cv_prog_CC+set}" = set; then
2313 echo $ECHO_N "(cached) $ECHO_C" >&6
2315 if test -n "$CC"; then
2316 ac_cv_prog_CC
="$CC" # Let the user override the test.
2318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2322 test -z "$as_dir" && as_dir
=.
2323 for ac_exec_ext
in '' $ac_executable_extensions; do
2324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2325 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2335 if test -n "$CC"; then
2336 echo "$as_me:$LINENO: result: $CC" >&5
2337 echo "${ECHO_T}$CC" >&6
2339 echo "$as_me:$LINENO: result: no" >&5
2340 echo "${ECHO_T}no" >&6
2343 test -n "$CC" && break
2346 if test -z "$CC"; then
2350 # Extract the first word of "$ac_prog", so it can be a program name with args.
2351 set dummy
$ac_prog; ac_word
=$2
2352 echo "$as_me:$LINENO: checking for $ac_word" >&5
2353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2354 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2355 echo $ECHO_N "(cached) $ECHO_C" >&6
2357 if test -n "$ac_ct_CC"; then
2358 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2364 test -z "$as_dir" && as_dir
=.
2365 for ac_exec_ext
in '' $ac_executable_extensions; do
2366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2367 ac_cv_prog_ac_ct_CC
="$ac_prog"
2368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2376 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2377 if test -n "$ac_ct_CC"; then
2378 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2379 echo "${ECHO_T}$ac_ct_CC" >&6
2381 echo "$as_me:$LINENO: result: no" >&5
2382 echo "${ECHO_T}no" >&6
2385 test -n "$ac_ct_CC" && break
2394 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2395 See \`config.log' for more details." >&5
2396 echo "$as_me: error: no acceptable C compiler found in \$PATH
2397 See \`config.log' for more details." >&2;}
2398 { (exit 1); exit 1; }; }
2400 # Provide some information about the compiler.
2401 echo "$as_me:$LINENO:" \
2402 "checking for C compiler version" >&5
2403 ac_compiler
=`set X $ac_compile; echo $2`
2404 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2405 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); }
2409 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2410 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); }
2414 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2415 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418 (exit $ac_status); }
2420 cat >conftest.
$ac_ext <<_ACEOF
2423 cat confdefs.h
>>conftest.
$ac_ext
2424 cat >>conftest.
$ac_ext <<_ACEOF
2425 /* end confdefs.h. */
2436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2437 (eval $ac_link) 2>&5
2439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440 (exit $ac_status); }; then
2446 if test x
$gcc_no_link = xyes
; then
2447 # Setting cross_compile will disable run tests; it will
2448 # also disable AC_CHECK_FILE but that's generally
2449 # correct if we can't link.
2453 cat >conftest.
$ac_ext <<_ACEOF
2456 cat confdefs.h
>>conftest.
$ac_ext
2457 cat >>conftest.
$ac_ext <<_ACEOF
2458 /* end confdefs.h. */
2468 ac_clean_files_save
=$ac_clean_files
2469 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2470 # Try to create an executable without -o first, disregard a.out.
2471 # It will help us diagnose broken compilers, and finding out an intuition
2473 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2474 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2475 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2476 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2477 (eval $ac_link_default) 2>&5
2479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480 (exit $ac_status); }; then
2481 # Find the output, starting from the most likely. This scheme is
2482 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2485 # Be careful to initialize this variable, since it used to be cached.
2486 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2488 # b.out is created by i960 compilers.
2489 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2491 test -f "$ac_file" ||
continue
2493 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2496 # This is the source file.
2499 # We found the default executable, but exeext='' is most
2503 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2504 # FIXME: I believe we export ac_cv_exeext for Libtool,
2505 # but it would be cool to find out if it's true. Does anybody
2506 # maintain Libtool? --akim.
2514 echo "$as_me: failed program was:" >&5
2515 sed 's/^/| /' conftest.
$ac_ext >&5
2517 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2518 See \`config.log' for more details." >&5
2519 echo "$as_me: error: C compiler cannot create executables
2520 See \`config.log' for more details." >&2;}
2521 { (exit 77); exit 77; }; }
2524 ac_exeext
=$ac_cv_exeext
2525 echo "$as_me:$LINENO: result: $ac_file" >&5
2526 echo "${ECHO_T}$ac_file" >&6
2528 # Check the compiler produces executables we can run. If not, either
2529 # the compiler is broken, or we cross compile.
2530 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2531 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2532 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2533 # If not cross compiling, check that we can run a simple program.
2534 if test "$cross_compiling" != yes; then
2535 if { ac_try
='./$ac_file'
2536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }; }; then
2543 if test "$cross_compiling" = maybe
; then
2546 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2547 If you meant to cross compile, use \`--host'.
2548 See \`config.log' for more details." >&5
2549 echo "$as_me: error: cannot run C compiled programs.
2550 If you meant to cross compile, use \`--host'.
2551 See \`config.log' for more details." >&2;}
2552 { (exit 1); exit 1; }; }
2556 echo "$as_me:$LINENO: result: yes" >&5
2557 echo "${ECHO_T}yes" >&6
2559 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2560 ac_clean_files
=$ac_clean_files_save
2561 # Check the compiler produces executables we can run. If not, either
2562 # the compiler is broken, or we cross compile.
2563 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2564 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2565 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2566 echo "${ECHO_T}$cross_compiling" >&6
2568 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2569 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2571 (eval $ac_link) 2>&5
2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574 (exit $ac_status); }; then
2575 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2576 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2577 # work properly (i.e., refer to `conftest.exe'), while it won't with
2579 for ac_file
in conftest.exe conftest conftest.
*; do
2580 test -f "$ac_file" ||
continue
2582 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2583 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2590 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2591 See \`config.log' for more details." >&5
2592 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2593 See \`config.log' for more details." >&2;}
2594 { (exit 1); exit 1; }; }
2597 rm -f conftest
$ac_cv_exeext
2598 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2599 echo "${ECHO_T}$ac_cv_exeext" >&6
2601 rm -f conftest.
$ac_ext
2602 EXEEXT
=$ac_cv_exeext
2605 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2606 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2607 if test "${ac_cv_objext+set}" = set; then
2608 echo $ECHO_N "(cached) $ECHO_C" >&6
2610 cat >conftest.
$ac_ext <<_ACEOF
2613 cat confdefs.h
>>conftest.
$ac_ext
2614 cat >>conftest.
$ac_ext <<_ACEOF
2615 /* end confdefs.h. */
2625 rm -f conftest.o conftest.obj
2626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2627 (eval $ac_compile) 2>&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }; then
2631 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2633 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2634 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2639 echo "$as_me: failed program was:" >&5
2640 sed 's/^/| /' conftest.
$ac_ext >&5
2642 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2643 See \`config.log' for more details." >&5
2644 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2645 See \`config.log' for more details." >&2;}
2646 { (exit 1); exit 1; }; }
2649 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2651 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2652 echo "${ECHO_T}$ac_cv_objext" >&6
2653 OBJEXT
=$ac_cv_objext
2655 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2656 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2657 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2658 echo $ECHO_N "(cached) $ECHO_C" >&6
2660 cat >conftest.
$ac_ext <<_ACEOF
2663 cat confdefs.h
>>conftest.
$ac_ext
2664 cat >>conftest.
$ac_ext <<_ACEOF
2665 /* end confdefs.h. */
2678 rm -f conftest.
$ac_objext
2679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2680 (eval $ac_compile) 2>conftest.er1
2682 grep -v '^ *+' conftest.er1
>conftest.err
2684 cat conftest.err
>&5
2685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686 (exit $ac_status); } &&
2687 { ac_try
='test -z "$ac_c_werror_flag"
2688 || test ! -s conftest.err'
2689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }; } &&
2694 { ac_try
='test -s conftest.$ac_objext'
2695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); }; }; then
2702 echo "$as_me: failed program was:" >&5
2703 sed 's/^/| /' conftest.
$ac_ext >&5
2707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2708 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2711 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2712 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2713 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2714 ac_test_CFLAGS
=${CFLAGS+set}
2715 ac_save_CFLAGS
=$CFLAGS
2717 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2718 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2719 if test "${ac_cv_prog_cc_g+set}" = set; then
2720 echo $ECHO_N "(cached) $ECHO_C" >&6
2722 cat >conftest.
$ac_ext <<_ACEOF
2725 cat confdefs.h
>>conftest.
$ac_ext
2726 cat >>conftest.
$ac_ext <<_ACEOF
2727 /* end confdefs.h. */
2737 rm -f conftest.
$ac_objext
2738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2739 (eval $ac_compile) 2>conftest.er1
2741 grep -v '^ *+' conftest.er1
>conftest.err
2743 cat conftest.err
>&5
2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745 (exit $ac_status); } &&
2746 { ac_try
='test -z "$ac_c_werror_flag"
2747 || test ! -s conftest.err'
2748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752 (exit $ac_status); }; } &&
2753 { ac_try
='test -s conftest.$ac_objext'
2754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); }; }; then
2761 echo "$as_me: failed program was:" >&5
2762 sed 's/^/| /' conftest.
$ac_ext >&5
2766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2768 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2769 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2770 if test "$ac_test_CFLAGS" = set; then
2771 CFLAGS
=$ac_save_CFLAGS
2772 elif test $ac_cv_prog_cc_g = yes; then
2773 if test "$GCC" = yes; then
2779 if test "$GCC" = yes; then
2785 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2786 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2787 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2788 echo $ECHO_N "(cached) $ECHO_C" >&6
2790 ac_cv_prog_cc_stdc
=no
2792 cat >conftest.
$ac_ext <<_ACEOF
2795 cat confdefs.h
>>conftest.
$ac_ext
2796 cat >>conftest.
$ac_ext <<_ACEOF
2797 /* end confdefs.h. */
2800 #include <sys/types.h>
2801 #include <sys/stat.h>
2802 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2803 struct buf { int x; };
2804 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2805 static char *e (p, i)
2811 static char *f (char * (*g) (char **, int), char **p, ...)
2816 s = g (p, va_arg (v,int));
2821 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2822 function prototypes and stuff, but not '\xHH' hex character constants.
2823 These don't provoke an error unfortunately, instead are silently treated
2824 as 'x'. The following induces an error, until -std1 is added to get
2825 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2826 array size at least. It's necessary to write '\x00'==0 to get something
2827 that's true only with -std1. */
2828 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2830 int test (int i, double x);
2831 struct s1 {int (*f) (int a);};
2832 struct s2 {int (*f) (double a);};
2833 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2839 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2844 # Don't try gcc -ansi; that turns off useful extensions and
2845 # breaks some systems' header files.
2846 # AIX -qlanglvl=ansi
2847 # Ultrix and OSF/1 -std1
2848 # HP-UX 10.20 and later -Ae
2849 # HP-UX older versions -Aa -D_HPUX_SOURCE
2850 # SVR4 -Xc -D__EXTENSIONS__
2851 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2853 CC
="$ac_save_CC $ac_arg"
2854 rm -f conftest.
$ac_objext
2855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2856 (eval $ac_compile) 2>conftest.er1
2858 grep -v '^ *+' conftest.er1
>conftest.err
2860 cat conftest.err
>&5
2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); } &&
2863 { ac_try
='test -z "$ac_c_werror_flag"
2864 || test ! -s conftest.err'
2865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869 (exit $ac_status); }; } &&
2870 { ac_try
='test -s conftest.$ac_objext'
2871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); }; }; then
2876 ac_cv_prog_cc_stdc
=$ac_arg
2879 echo "$as_me: failed program was:" >&5
2880 sed 's/^/| /' conftest.
$ac_ext >&5
2883 rm -f conftest.err conftest.
$ac_objext
2885 rm -f conftest.
$ac_ext conftest.
$ac_objext
2890 case "x$ac_cv_prog_cc_stdc" in
2892 echo "$as_me:$LINENO: result: none needed" >&5
2893 echo "${ECHO_T}none needed" >&6 ;;
2895 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2896 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2897 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2900 # Some people use a C++ compiler to compile C. Since we use `exit',
2901 # in C++ we need to declare it. In case someone uses the same compiler
2902 # for both compiling C and C++ we need to have the C++ compiler decide
2903 # the declaration of exit, since it's the most demanding environment.
2904 cat >conftest.
$ac_ext <<_ACEOF
2909 rm -f conftest.
$ac_objext
2910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2911 (eval $ac_compile) 2>conftest.er1
2913 grep -v '^ *+' conftest.er1
>conftest.err
2915 cat conftest.err
>&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); } &&
2918 { ac_try
='test -z "$ac_c_werror_flag"
2919 || test ! -s conftest.err'
2920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); }; } &&
2925 { ac_try
='test -s conftest.$ac_objext'
2926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }; }; then
2931 for ac_declaration
in \
2933 'extern "C" void std::exit (int) throw (); using std::exit;' \
2934 'extern "C" void std::exit (int); using std::exit;' \
2935 'extern "C" void exit (int) throw ();' \
2936 'extern "C" void exit (int);' \
2939 cat >conftest.
$ac_ext <<_ACEOF
2942 cat confdefs.h
>>conftest.
$ac_ext
2943 cat >>conftest.
$ac_ext <<_ACEOF
2944 /* end confdefs.h. */
2955 rm -f conftest.
$ac_objext
2956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2957 (eval $ac_compile) 2>conftest.er1
2959 grep -v '^ *+' conftest.er1
>conftest.err
2961 cat conftest.err
>&5
2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); } &&
2964 { ac_try
='test -z "$ac_c_werror_flag"
2965 || test ! -s conftest.err'
2966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); }; } &&
2971 { ac_try
='test -s conftest.$ac_objext'
2972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976 (exit $ac_status); }; }; then
2979 echo "$as_me: failed program was:" >&5
2980 sed 's/^/| /' conftest.
$ac_ext >&5
2984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2985 cat >conftest.
$ac_ext <<_ACEOF
2988 cat confdefs.h
>>conftest.
$ac_ext
2989 cat >>conftest.
$ac_ext <<_ACEOF
2990 /* end confdefs.h. */
3000 rm -f conftest.
$ac_objext
3001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3002 (eval $ac_compile) 2>conftest.er1
3004 grep -v '^ *+' conftest.er1
>conftest.err
3006 cat conftest.err
>&5
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); } &&
3009 { ac_try
='test -z "$ac_c_werror_flag"
3010 || test ! -s conftest.err'
3011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015 (exit $ac_status); }; } &&
3016 { ac_try
='test -s conftest.$ac_objext'
3017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); }; }; then
3024 echo "$as_me: failed program was:" >&5
3025 sed 's/^/| /' conftest.
$ac_ext >&5
3028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3031 if test -n "$ac_declaration"; then
3032 echo '#ifdef __cplusplus' >>confdefs.h
3033 echo $ac_declaration >>confdefs.h
3034 echo '#endif' >>confdefs.h
3038 echo "$as_me: failed program was:" >&5
3039 sed 's/^/| /' conftest.
$ac_ext >&5
3042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3044 ac_cpp
='$CPP $CPPFLAGS'
3045 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3046 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3047 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3048 DEPDIR
="${am__leading_dot}deps"
3050 ac_config_commands
="$ac_config_commands depfiles"
3053 am_make
=${MAKE-make}
3054 cat > confinc
<< 'END'
3059 # If we don't find an include directive, just comment out the code.
3060 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3061 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3065 # First try GNU make style include.
3066 echo "include confinc" > confmf
3067 # We grep out `Entering directory' and `Leaving directory'
3068 # messages which can occur if `w' ends up in MAKEFLAGS.
3069 # In particular we don't look at `^make:' because GNU make might
3070 # be invoked under some other name (usually "gmake"), in which
3071 # case it prints its new name instead of `make'.
3072 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3077 # Now try BSD make style include.
3078 if test "$am__include" = "#"; then
3079 echo '.include "confinc"' > confmf
3080 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3081 am__include
=.include
3088 echo "$as_me:$LINENO: result: $_am_result" >&5
3089 echo "${ECHO_T}$_am_result" >&6
3090 rm -f confinc confmf
3092 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3093 if test "${enable_dependency_tracking+set}" = set; then
3094 enableval
="$enable_dependency_tracking"
3097 if test "x$enable_dependency_tracking" != xno
; then
3098 am_depcomp
="$ac_aux_dir/depcomp"
3103 if test "x$enable_dependency_tracking" != xno; then
3114 depcc
="$CC" am_compiler_list
=
3116 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3117 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3118 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3119 echo $ECHO_N "(cached) $ECHO_C" >&6
3121 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3122 # We make a subdir and do the tests there. Otherwise we can end up
3123 # making bogus files that we don't know about and never remove. For
3124 # instance it was reported that on HP-UX the gcc test will end up
3125 # making a dummy file named `D' -- because `-MD' means `put the output
3128 # Copy depcomp to subdir because otherwise we won't find it if we're
3129 # using a relative directory.
3130 cp "$am_depcomp" conftest.dir
3132 # We will build objects and dependencies in a subdirectory because
3133 # it helps to detect inapplicable dependency modes. For instance
3134 # both Tru64's cc and ICC support -MD to output dependencies as a
3135 # side effect of compilation, but ICC will put the dependencies in
3136 # the current directory while Tru64 will put them in the object
3140 am_cv_CC_dependencies_compiler_type
=none
3141 if test "$am_compiler_list" = ""; then
3142 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3144 for depmode
in $am_compiler_list; do
3145 # Setup a source with many dependencies, because some compilers
3146 # like to wrap large dependency lists on column 80 (with \), and
3147 # we should not choose a depcomp mode which is confused by this.
3149 # We need to recreate these files for each test, as the compiler may
3150 # overwrite some of them when testing with obscure command lines.
3151 # This happens at least with the AIX C compiler.
3153 for i
in 1 2 3 4 5 6; do
3154 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3155 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3156 # Solaris 8's {/usr,}/bin/sh.
3157 touch sub
/conftst
$i.h
3159 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3163 # after this tag, mechanisms are not by side-effect, so they'll
3164 # only be used when explicitly requested
3165 if test "x$enable_dependency_tracking" = xyes
; then
3173 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3174 # mode. It turns out that the SunPro C++ compiler does not properly
3175 # handle `-M -o', and we need to detect this.
3176 if depmode
=$depmode \
3177 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3178 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3179 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3180 >/dev
/null
2>conftest.err
&&
3181 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3182 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3183 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3184 # icc doesn't choke on unknown options, it will just issue warnings
3185 # or remarks (even with -Werror). So we grep stderr for any message
3186 # that says an option was ignored or not supported.
3187 # When given -MP, icc 7.0 and 7.1 complain thusly:
3188 # icc: Command line warning: ignoring option '-M'; no argument required
3189 # The diagnosis changed in icc 8.0:
3190 # icc: Command line remark: option '-MP' not supported
3191 if (grep 'ignoring option' conftest.err ||
3192 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3193 am_cv_CC_dependencies_compiler_type
=$depmode
3202 am_cv_CC_dependencies_compiler_type
=none
3206 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3207 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3208 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3213 test "x$enable_dependency_tracking" != xno \
3214 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3216 am__fastdepCC_FALSE
='#'
3218 am__fastdepCC_TRUE
='#'
3219 am__fastdepCC_FALSE
=
3224 ac_cpp
='$CXXCPP $CPPFLAGS'
3225 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3226 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3227 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3228 if test -n "$ac_tool_prefix"; then
3229 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3231 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3232 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3233 echo "$as_me:$LINENO: checking for $ac_word" >&5
3234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3235 if test "${ac_cv_prog_CXX+set}" = set; then
3236 echo $ECHO_N "(cached) $ECHO_C" >&6
3238 if test -n "$CXX"; then
3239 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3245 test -z "$as_dir" && as_dir
=.
3246 for ac_exec_ext
in '' $ac_executable_extensions; do
3247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3248 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3258 if test -n "$CXX"; then
3259 echo "$as_me:$LINENO: result: $CXX" >&5
3260 echo "${ECHO_T}$CXX" >&6
3262 echo "$as_me:$LINENO: result: no" >&5
3263 echo "${ECHO_T}no" >&6
3266 test -n "$CXX" && break
3269 if test -z "$CXX"; then
3271 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3273 # Extract the first word of "$ac_prog", so it can be a program name with args.
3274 set dummy
$ac_prog; ac_word
=$2
3275 echo "$as_me:$LINENO: checking for $ac_word" >&5
3276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3277 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3278 echo $ECHO_N "(cached) $ECHO_C" >&6
3280 if test -n "$ac_ct_CXX"; then
3281 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3287 test -z "$as_dir" && as_dir
=.
3288 for ac_exec_ext
in '' $ac_executable_extensions; do
3289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3290 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3299 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3300 if test -n "$ac_ct_CXX"; then
3301 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3302 echo "${ECHO_T}$ac_ct_CXX" >&6
3304 echo "$as_me:$LINENO: result: no" >&5
3305 echo "${ECHO_T}no" >&6
3308 test -n "$ac_ct_CXX" && break
3310 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3316 # Provide some information about the compiler.
3317 echo "$as_me:$LINENO:" \
3318 "checking for C++ compiler version" >&5
3319 ac_compiler
=`set X $ac_compile; echo $2`
3320 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3321 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); }
3325 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3326 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329 (exit $ac_status); }
3330 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3331 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334 (exit $ac_status); }
3336 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3337 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3338 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3339 echo $ECHO_N "(cached) $ECHO_C" >&6
3341 cat >conftest.
$ac_ext <<_ACEOF
3344 cat confdefs.h
>>conftest.
$ac_ext
3345 cat >>conftest.
$ac_ext <<_ACEOF
3346 /* end confdefs.h. */
3359 rm -f conftest.
$ac_objext
3360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3361 (eval $ac_compile) 2>conftest.er1
3363 grep -v '^ *+' conftest.er1
>conftest.err
3365 cat conftest.err
>&5
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); } &&
3368 { ac_try
='test -z "$ac_cxx_werror_flag"
3369 || test ! -s conftest.err'
3370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 (exit $ac_status); }; } &&
3375 { ac_try
='test -s conftest.$ac_objext'
3376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); }; }; then
3383 echo "$as_me: failed program was:" >&5
3384 sed 's/^/| /' conftest.
$ac_ext >&5
3388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3389 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3392 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3393 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3394 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3395 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3396 ac_save_CXXFLAGS
=$CXXFLAGS
3398 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3399 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3400 if test "${ac_cv_prog_cxx_g+set}" = set; then
3401 echo $ECHO_N "(cached) $ECHO_C" >&6
3403 cat >conftest.
$ac_ext <<_ACEOF
3406 cat confdefs.h
>>conftest.
$ac_ext
3407 cat >>conftest.
$ac_ext <<_ACEOF
3408 /* end confdefs.h. */
3418 rm -f conftest.
$ac_objext
3419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3420 (eval $ac_compile) 2>conftest.er1
3422 grep -v '^ *+' conftest.er1
>conftest.err
3424 cat conftest.err
>&5
3425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426 (exit $ac_status); } &&
3427 { ac_try
='test -z "$ac_cxx_werror_flag"
3428 || test ! -s conftest.err'
3429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3433 (exit $ac_status); }; } &&
3434 { ac_try
='test -s conftest.$ac_objext'
3435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439 (exit $ac_status); }; }; then
3440 ac_cv_prog_cxx_g
=yes
3442 echo "$as_me: failed program was:" >&5
3443 sed 's/^/| /' conftest.
$ac_ext >&5
3447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3449 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3450 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3451 if test "$ac_test_CXXFLAGS" = set; then
3452 CXXFLAGS
=$ac_save_CXXFLAGS
3453 elif test $ac_cv_prog_cxx_g = yes; then
3454 if test "$GXX" = yes; then
3460 if test "$GXX" = yes; then
3466 for ac_declaration
in \
3468 'extern "C" void std::exit (int) throw (); using std::exit;' \
3469 'extern "C" void std::exit (int); using std::exit;' \
3470 'extern "C" void exit (int) throw ();' \
3471 'extern "C" void exit (int);' \
3474 cat >conftest.
$ac_ext <<_ACEOF
3477 cat confdefs.h
>>conftest.
$ac_ext
3478 cat >>conftest.
$ac_ext <<_ACEOF
3479 /* end confdefs.h. */
3490 rm -f conftest.
$ac_objext
3491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3492 (eval $ac_compile) 2>conftest.er1
3494 grep -v '^ *+' conftest.er1
>conftest.err
3496 cat conftest.err
>&5
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); } &&
3499 { ac_try
='test -z "$ac_cxx_werror_flag"
3500 || test ! -s conftest.err'
3501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); }; } &&
3506 { ac_try
='test -s conftest.$ac_objext'
3507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); }; }; then
3514 echo "$as_me: failed program was:" >&5
3515 sed 's/^/| /' conftest.
$ac_ext >&5
3519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3520 cat >conftest.
$ac_ext <<_ACEOF
3523 cat confdefs.h
>>conftest.
$ac_ext
3524 cat >>conftest.
$ac_ext <<_ACEOF
3525 /* end confdefs.h. */
3535 rm -f conftest.
$ac_objext
3536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3537 (eval $ac_compile) 2>conftest.er1
3539 grep -v '^ *+' conftest.er1
>conftest.err
3541 cat conftest.err
>&5
3542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543 (exit $ac_status); } &&
3544 { ac_try
='test -z "$ac_cxx_werror_flag"
3545 || test ! -s conftest.err'
3546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3550 (exit $ac_status); }; } &&
3551 { ac_try
='test -s conftest.$ac_objext'
3552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3556 (exit $ac_status); }; }; then
3559 echo "$as_me: failed program was:" >&5
3560 sed 's/^/| /' conftest.
$ac_ext >&5
3563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3566 if test -n "$ac_declaration"; then
3567 echo '#ifdef __cplusplus' >>confdefs.h
3568 echo $ac_declaration >>confdefs.h
3569 echo '#endif' >>confdefs.h
3573 ac_cpp
='$CPP $CPPFLAGS'
3574 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3575 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3576 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3578 depcc
="$CXX" am_compiler_list
=
3580 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3581 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3582 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3583 echo $ECHO_N "(cached) $ECHO_C" >&6
3585 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3586 # We make a subdir and do the tests there. Otherwise we can end up
3587 # making bogus files that we don't know about and never remove. For
3588 # instance it was reported that on HP-UX the gcc test will end up
3589 # making a dummy file named `D' -- because `-MD' means `put the output
3592 # Copy depcomp to subdir because otherwise we won't find it if we're
3593 # using a relative directory.
3594 cp "$am_depcomp" conftest.dir
3596 # We will build objects and dependencies in a subdirectory because
3597 # it helps to detect inapplicable dependency modes. For instance
3598 # both Tru64's cc and ICC support -MD to output dependencies as a
3599 # side effect of compilation, but ICC will put the dependencies in
3600 # the current directory while Tru64 will put them in the object
3604 am_cv_CXX_dependencies_compiler_type
=none
3605 if test "$am_compiler_list" = ""; then
3606 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3608 for depmode
in $am_compiler_list; do
3609 # Setup a source with many dependencies, because some compilers
3610 # like to wrap large dependency lists on column 80 (with \), and
3611 # we should not choose a depcomp mode which is confused by this.
3613 # We need to recreate these files for each test, as the compiler may
3614 # overwrite some of them when testing with obscure command lines.
3615 # This happens at least with the AIX C compiler.
3617 for i
in 1 2 3 4 5 6; do
3618 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3619 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3620 # Solaris 8's {/usr,}/bin/sh.
3621 touch sub
/conftst
$i.h
3623 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3627 # after this tag, mechanisms are not by side-effect, so they'll
3628 # only be used when explicitly requested
3629 if test "x$enable_dependency_tracking" = xyes
; then
3637 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3638 # mode. It turns out that the SunPro C++ compiler does not properly
3639 # handle `-M -o', and we need to detect this.
3640 if depmode
=$depmode \
3641 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3642 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3643 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3644 >/dev
/null
2>conftest.err
&&
3645 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3646 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3647 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3648 # icc doesn't choke on unknown options, it will just issue warnings
3649 # or remarks (even with -Werror). So we grep stderr for any message
3650 # that says an option was ignored or not supported.
3651 # When given -MP, icc 7.0 and 7.1 complain thusly:
3652 # icc: Command line warning: ignoring option '-M'; no argument required
3653 # The diagnosis changed in icc 8.0:
3654 # icc: Command line remark: option '-MP' not supported
3655 if (grep 'ignoring option' conftest.err ||
3656 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3657 am_cv_CXX_dependencies_compiler_type
=$depmode
3666 am_cv_CXX_dependencies_compiler_type
=none
3670 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3671 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3672 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3677 test "x$enable_dependency_tracking" != xno \
3678 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3679 am__fastdepCXX_TRUE
=
3680 am__fastdepCXX_FALSE
='#'
3682 am__fastdepCXX_TRUE
='#'
3683 am__fastdepCXX_FALSE
=
3689 if test "x$CC" != xcc
; then
3690 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3691 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
3693 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3694 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
3696 set dummy
$CC; ac_cc
=`echo $2 |
3697 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3698 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3701 cat >conftest.
$ac_ext <<_ACEOF
3704 cat confdefs.h
>>conftest.
$ac_ext
3705 cat >>conftest.
$ac_ext <<_ACEOF
3706 /* end confdefs.h. */
3716 # Make sure it works both with $CC and with simple cc.
3717 # We do the test twice because some compilers refuse to overwrite an
3718 # existing .o file with -o, though they will create one.
3719 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3720 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724 (exit $ac_status); } &&
3725 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729 (exit $ac_status); };
3731 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
3732 if test "x$CC" != xcc
; then
3733 # Test first that cc exists at all.
3734 if { ac_try
='cc -c conftest.$ac_ext >&5'
3735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739 (exit $ac_status); }; }; then
3740 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3741 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); } &&
3746 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750 (exit $ac_status); };
3755 # cc exists but doesn't like -o.
3756 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
3761 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
3766 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
3767 echo "$as_me:$LINENO: result: yes" >&5
3768 echo "${ECHO_T}yes" >&6
3770 echo "$as_me:$LINENO: result: no" >&5
3771 echo "${ECHO_T}no" >&6
3773 cat >>confdefs.h
<<\_ACEOF
3774 #define NO_MINUS_C_MINUS_O 1
3779 # FIXME: we rely on the cache variable name because
3780 # there is no other way.
3782 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3783 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3784 # Losing compiler, so override with the script.
3785 # FIXME: It is wrong to rewrite CC.
3786 # But if we don't then we get into trouble of one sort or another.
3787 # A longer-term fix would be to have automake use am__CC in this case,
3788 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3789 CC
="$am_aux_dir/compile $CC"
3796 # Newer automakes demand CCAS and CCASFLAGS.
3798 : ${CCASFLAGS='$(CFLAGS)'}
3802 if test -n "$ac_tool_prefix"; then
3803 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3804 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3805 echo "$as_me:$LINENO: checking for $ac_word" >&5
3806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3807 if test "${ac_cv_prog_AS+set}" = set; then
3808 echo $ECHO_N "(cached) $ECHO_C" >&6
3810 if test -n "$AS"; then
3811 ac_cv_prog_AS
="$AS" # Let the user override the test.
3813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3817 test -z "$as_dir" && as_dir
=.
3818 for ac_exec_ext
in '' $ac_executable_extensions; do
3819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3820 ac_cv_prog_AS
="${ac_tool_prefix}as"
3821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3830 if test -n "$AS"; then
3831 echo "$as_me:$LINENO: result: $AS" >&5
3832 echo "${ECHO_T}$AS" >&6
3834 echo "$as_me:$LINENO: result: no" >&5
3835 echo "${ECHO_T}no" >&6
3839 if test -z "$ac_cv_prog_AS"; then
3841 # Extract the first word of "as", so it can be a program name with args.
3842 set dummy as
; ac_word
=$2
3843 echo "$as_me:$LINENO: checking for $ac_word" >&5
3844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3845 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3846 echo $ECHO_N "(cached) $ECHO_C" >&6
3848 if test -n "$ac_ct_AS"; then
3849 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3855 test -z "$as_dir" && as_dir
=.
3856 for ac_exec_ext
in '' $ac_executable_extensions; do
3857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3858 ac_cv_prog_ac_ct_AS
="as"
3859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3867 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3868 if test -n "$ac_ct_AS"; then
3869 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3870 echo "${ECHO_T}$ac_ct_AS" >&6
3872 echo "$as_me:$LINENO: result: no" >&5
3873 echo "${ECHO_T}no" >&6
3881 if test -n "$ac_tool_prefix"; then
3882 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3883 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3884 echo "$as_me:$LINENO: checking for $ac_word" >&5
3885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3886 if test "${ac_cv_prog_AR+set}" = set; then
3887 echo $ECHO_N "(cached) $ECHO_C" >&6
3889 if test -n "$AR"; then
3890 ac_cv_prog_AR
="$AR" # Let the user override the test.
3892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3896 test -z "$as_dir" && as_dir
=.
3897 for ac_exec_ext
in '' $ac_executable_extensions; do
3898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3899 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3909 if test -n "$AR"; then
3910 echo "$as_me:$LINENO: result: $AR" >&5
3911 echo "${ECHO_T}$AR" >&6
3913 echo "$as_me:$LINENO: result: no" >&5
3914 echo "${ECHO_T}no" >&6
3918 if test -z "$ac_cv_prog_AR"; then
3920 # Extract the first word of "ar", so it can be a program name with args.
3921 set dummy
ar; ac_word
=$2
3922 echo "$as_me:$LINENO: checking for $ac_word" >&5
3923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3924 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3925 echo $ECHO_N "(cached) $ECHO_C" >&6
3927 if test -n "$ac_ct_AR"; then
3928 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3934 test -z "$as_dir" && as_dir
=.
3935 for ac_exec_ext
in '' $ac_executable_extensions; do
3936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3937 ac_cv_prog_ac_ct_AR
="ar"
3938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3946 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3947 if test -n "$ac_ct_AR"; then
3948 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3949 echo "${ECHO_T}$ac_ct_AR" >&6
3951 echo "$as_me:$LINENO: result: no" >&5
3952 echo "${ECHO_T}no" >&6
3960 if test -n "$ac_tool_prefix"; then
3961 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3962 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3963 echo "$as_me:$LINENO: checking for $ac_word" >&5
3964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3965 if test "${ac_cv_prog_RANLIB+set}" = set; then
3966 echo $ECHO_N "(cached) $ECHO_C" >&6
3968 if test -n "$RANLIB"; then
3969 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3975 test -z "$as_dir" && as_dir
=.
3976 for ac_exec_ext
in '' $ac_executable_extensions; do
3977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3978 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3987 RANLIB
=$ac_cv_prog_RANLIB
3988 if test -n "$RANLIB"; then
3989 echo "$as_me:$LINENO: result: $RANLIB" >&5
3990 echo "${ECHO_T}$RANLIB" >&6
3992 echo "$as_me:$LINENO: result: no" >&5
3993 echo "${ECHO_T}no" >&6
3997 if test -z "$ac_cv_prog_RANLIB"; then
3998 ac_ct_RANLIB
=$RANLIB
3999 # Extract the first word of "ranlib", so it can be a program name with args.
4000 set dummy ranlib
; ac_word
=$2
4001 echo "$as_me:$LINENO: checking for $ac_word" >&5
4002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4003 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4004 echo $ECHO_N "(cached) $ECHO_C" >&6
4006 if test -n "$ac_ct_RANLIB"; then
4007 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4013 test -z "$as_dir" && as_dir
=.
4014 for ac_exec_ext
in '' $ac_executable_extensions; do
4015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4016 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4023 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4026 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4027 if test -n "$ac_ct_RANLIB"; then
4028 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4029 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4031 echo "$as_me:$LINENO: result: no" >&5
4032 echo "${ECHO_T}no" >&6
4035 RANLIB
=$ac_ct_RANLIB
4037 RANLIB
="$ac_cv_prog_RANLIB"
4041 # Find a good install program. We prefer a C program (faster),
4042 # so one script is as good as another. But avoid the broken or
4043 # incompatible versions:
4044 # SysV /etc/install, /usr/sbin/install
4045 # SunOS /usr/etc/install
4046 # IRIX /sbin/install
4048 # AmigaOS /C/install, which installs bootblocks on floppy discs
4049 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4050 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4051 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4052 # OS/2's system install, which has a completely different semantic
4053 # ./install, which can be erroneously created by make from ./install.sh.
4054 # Reject install programs that cannot install multiple files.
4055 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4056 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4057 if test -z "$INSTALL"; then
4058 if test "${ac_cv_path_install+set}" = set; then
4059 echo $ECHO_N "(cached) $ECHO_C" >&6
4061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4065 test -z "$as_dir" && as_dir
=.
4066 # Account for people who put trailing slashes in PATH elements.
4068 .
/ | .
// |
/cC
/* | \
4069 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4070 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4073 # OSF1 and SCO ODT 3.0 have their own names for install.
4074 # Don't use installbsd from OSF since it installs stuff as root
4076 for ac_prog
in ginstall scoinst
install; do
4077 for ac_exec_ext
in '' $ac_executable_extensions; do
4078 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4079 if test $ac_prog = install &&
4080 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4081 # AIX install. It has an incompatible calling convention.
4083 elif test $ac_prog = install &&
4084 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4085 # program-specific install script used by HP pwplus--don't use.
4088 rm -rf conftest.one conftest.two conftest.dir
4089 echo one
> conftest.one
4090 echo two
> conftest.two
4092 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4093 test -s conftest.one
&& test -s conftest.two
&&
4094 test -s conftest.dir
/conftest.one
&&
4095 test -s conftest.dir
/conftest.two
4097 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4108 rm -rf conftest.one conftest.two conftest.dir
4111 if test "${ac_cv_path_install+set}" = set; then
4112 INSTALL
=$ac_cv_path_install
4114 # As a last resort, use the slow shell script. Don't cache a
4115 # value for INSTALL within a source directory, because that will
4116 # break other packages using the cache if that directory is
4117 # removed, or if the value is a relative name.
4118 INSTALL
=$ac_install_sh
4121 echo "$as_me:$LINENO: result: $INSTALL" >&5
4122 echo "${ECHO_T}$INSTALL" >&6
4124 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4125 # It thinks the first close brace ends the variable substitution.
4126 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4128 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4130 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4133 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4134 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4135 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4136 if test "${enable_maintainer_mode+set}" = set; then
4137 enableval
="$enable_maintainer_mode"
4138 USE_MAINTAINER_MODE
=$enableval
4140 USE_MAINTAINER_MODE
=no
4142 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4143 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4146 if test $USE_MAINTAINER_MODE = yes; then
4147 MAINTAINER_MODE_TRUE
=
4148 MAINTAINER_MODE_FALSE
='#'
4150 MAINTAINER_MODE_TRUE
='#'
4151 MAINTAINER_MODE_FALSE
=
4154 MAINT
=$MAINTAINER_MODE_TRUE
4158 .
${srcdir}/configure.
host
4160 case ${gc_basedir} in
4161 /* | A-Za-z
:/\\*) gc_flagbasedir
=${gc_basedir} ;;
4162 *) gc_flagbasedir
='$(top_builddir)/'${gc_basedir} ;;
4165 gc_cflags
="${gc_cflags} -Iinclude -I"'$(top_builddir)'"/./targ-include -I${gc_flagbasedir}/libc/include"
4168 gc_cflags
="${gc_cflags} -I${gc_flagbasedir}/../winsup/include"
4173 GC_CFLAGS
=${gc_cflags}
4178 macro_version
='2.1a'
4179 macro_revision
='1.2435'
4192 ltmain
="$ac_aux_dir/ltmain.sh"
4202 # Check whether --enable-shared or --disable-shared was given.
4203 if test "${enable_shared+set}" = set; then
4204 enableval
="$enable_shared"
4205 p
=${PACKAGE-default}
4207 yes) enable_shared
=yes ;;
4208 no
) enable_shared
=no
;;
4211 # Look at the argument we got. We use all the common list separators.
4212 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4213 for pkg
in $enableval; do
4215 if test "X$pkg" = "X$p"; then
4233 # Check whether --enable-static or --disable-static was given.
4234 if test "${enable_static+set}" = set; then
4235 enableval
="$enable_static"
4236 p
=${PACKAGE-default}
4238 yes) enable_static
=yes ;;
4239 no
) enable_static
=no
;;
4242 # Look at the argument we got. We use all the common list separators.
4243 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4244 for pkg
in $enableval; do
4246 if test "X$pkg" = "X$p"; then
4265 # Check whether --with-pic or --without-pic was given.
4266 if test "${with_pic+set}" = set; then
4273 test -z "$pic_mode" && pic_mode
=default
4281 # Check whether --enable-fast-install or --disable-fast-install was given.
4282 if test "${enable_fast_install+set}" = set; then
4283 enableval
="$enable_fast_install"
4284 p
=${PACKAGE-default}
4286 yes) enable_fast_install
=yes ;;
4287 no
) enable_fast_install
=no
;;
4289 enable_fast_install
=no
4290 # Look at the argument we got. We use all the common list separators.
4291 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4292 for pkg
in $enableval; do
4294 if test "X$pkg" = "X$p"; then
4295 enable_fast_install
=yes
4302 enable_fast_install
=yes
4312 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4313 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4314 if test "${lt_cv_path_SED+set}" = set; then
4315 echo $ECHO_N "(cached) $ECHO_C" >&6
4317 # Loop through the user's path and test for sed and gsed.
4318 # Then use that list of sed's as ones to test for truncation.
4319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4323 test -z "$as_dir" && as_dir
=.
4324 for lt_ac_prog
in sed gsed
; do
4325 for ac_exec_ext
in '' $ac_executable_extensions; do
4326 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4327 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4335 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4336 # along with /bin/sed that truncates output.
4337 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4338 test ! -f $lt_ac_sed && continue
4339 cat /dev
/null
> conftest.
in
4341 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4342 # Check for GNU sed and select it if it is found.
4343 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4344 lt_cv_path_SED
=$lt_ac_sed
4348 cat conftest.
in conftest.
in >conftest.tmp
4349 mv conftest.tmp conftest.
in
4350 cp conftest.
in conftest.
nl
4352 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4353 cmp -s conftest.out conftest.
nl ||
break
4354 # 10000 chars as input seems more than enough
4355 test $lt_ac_count -gt 10 && break
4356 lt_ac_count
=`expr $lt_ac_count + 1`
4357 if test $lt_ac_count -gt $lt_ac_max; then
4358 lt_ac_max
=$lt_ac_count
4359 lt_cv_path_SED
=$lt_ac_sed
4368 echo "$as_me:$LINENO: result: $SED" >&5
4369 echo "${ECHO_T}$SED" >&6
4371 test -z "$SED" && SED
=sed
4372 Xsed
="$SED -e 1s/^X//"
4384 echo "$as_me:$LINENO: checking for egrep" >&5
4385 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4386 if test "${ac_cv_prog_egrep+set}" = set; then
4387 echo $ECHO_N "(cached) $ECHO_C" >&6
4389 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4390 then ac_cv_prog_egrep
='grep -E'
4391 else ac_cv_prog_egrep
='egrep'
4394 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4395 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4396 EGREP
=$ac_cv_prog_egrep
4399 echo "$as_me:$LINENO: checking for fgrep" >&5
4400 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4401 if test "${ac_cv_prog_fgrep+set}" = set; then
4402 echo $ECHO_N "(cached) $ECHO_C" >&6
4404 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
4405 then ac_cv_prog_fgrep
='grep -F'
4406 else ac_cv_prog_fgrep
='fgrep'
4409 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4410 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4411 FGREP
=$ac_cv_prog_fgrep
4414 test -z "$GREP" && GREP
=grep
4434 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4435 if test "${with_gnu_ld+set}" = set; then
4436 withval
="$with_gnu_ld"
4437 test "$withval" = no || with_gnu_ld
=yes
4442 if test "$GCC" = yes; then
4443 # Check if gcc -print-prog-name=ld gives a path.
4444 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4445 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4448 # gcc leaves a trailing carriage return which upsets mingw
4449 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4451 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4454 # Accept absolute paths.
4456 re_direlt
='/[^/][^/]*/\.\./'
4457 # Canonicalize the pathname of ld
4458 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4459 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4460 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4462 test -z "$LD" && LD
="$ac_prog"
4465 # If it fails, then pretend we aren't using GCC.
4469 # If it is relative, then search for the first ld in PATH.
4473 elif test "$with_gnu_ld" = yes; then
4474 echo "$as_me:$LINENO: checking for GNU ld" >&5
4475 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4477 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4478 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4480 if test "${lt_cv_path_LD+set}" = set; then
4481 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 if test -z "$LD"; then
4484 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4485 for ac_dir
in $PATH; do
4487 test -z "$ac_dir" && ac_dir
=.
4488 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4489 lt_cv_path_LD
="$ac_dir/$ac_prog"
4490 # Check to see if the program is GNU ld. I'd rather use --version,
4491 # but apparently some variants of GNU ld only accept -v.
4492 # Break only if it was the GNU/non-GNU ld that we prefer.
4493 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4494 *GNU
* |
*'with BFD'*)
4495 test "$with_gnu_ld" != no
&& break
4498 test "$with_gnu_ld" != yes && break
4505 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4510 if test -n "$LD"; then
4511 echo "$as_me:$LINENO: result: $LD" >&5
4512 echo "${ECHO_T}$LD" >&6
4514 echo "$as_me:$LINENO: result: no" >&5
4515 echo "${ECHO_T}no" >&6
4517 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4518 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4519 { (exit 1); exit 1; }; }
4520 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4521 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4522 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4523 echo $ECHO_N "(cached) $ECHO_C" >&6
4525 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4526 case `$LD -v 2>&1 </dev/null` in
4527 *GNU
* |
*'with BFD'*)
4528 lt_cv_prog_gnu_ld
=yes
4531 lt_cv_prog_gnu_ld
=no
4535 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4536 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4537 with_gnu_ld
=$lt_cv_prog_gnu_ld
4548 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4549 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4550 if test "${lt_cv_path_NM+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4553 if test -n "$NM"; then
4554 # Let the user override the test.
4557 lt_nm_to_check
="${ac_tool_prefix}nm"
4558 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4559 lt_nm_to_check
="$lt_nm_to_check nm"
4561 for lt_tmp_nm
in $lt_nm_to_check; do
4562 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4563 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4565 test -z "$ac_dir" && ac_dir
=.
4566 tmp_nm
="$ac_dir/$lt_tmp_nm"
4567 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4568 # Check to see if the nm accepts a BSD-compat flag.
4569 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4570 # nm: unknown option "B" ignored
4571 # Tru64's nm complains that /dev/null is an invalid object file
4572 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4573 */dev
/null
* |
*'Invalid file or object type'*)
4574 lt_cv_path_NM
="$tmp_nm -B"
4578 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4580 lt_cv_path_NM
="$tmp_nm -p"
4584 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4585 continue # so that we can try to find one that supports BSD flags
4594 : ${lt_cv_path_NM=no}
4597 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4598 echo "${ECHO_T}$lt_cv_path_NM" >&6
4599 if test "$lt_cv_path_NM" != "no"; then
4602 # Didn't find any BSD compatible name lister, look for dumpbin.
4603 if test -n "$ac_tool_prefix"; then
4604 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4606 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4607 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4608 echo "$as_me:$LINENO: checking for $ac_word" >&5
4609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4610 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4611 echo $ECHO_N "(cached) $ECHO_C" >&6
4613 if test -n "$DUMPBIN"; then
4614 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4620 test -z "$as_dir" && as_dir
=.
4621 for ac_exec_ext
in '' $ac_executable_extensions; do
4622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4623 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4632 DUMPBIN
=$ac_cv_prog_DUMPBIN
4633 if test -n "$DUMPBIN"; then
4634 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4635 echo "${ECHO_T}$DUMPBIN" >&6
4637 echo "$as_me:$LINENO: result: no" >&5
4638 echo "${ECHO_T}no" >&6
4641 test -n "$DUMPBIN" && break
4644 if test -z "$DUMPBIN"; then
4645 ac_ct_DUMPBIN
=$DUMPBIN
4646 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4648 # Extract the first word of "$ac_prog", so it can be a program name with args.
4649 set dummy
$ac_prog; ac_word
=$2
4650 echo "$as_me:$LINENO: checking for $ac_word" >&5
4651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4652 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4653 echo $ECHO_N "(cached) $ECHO_C" >&6
4655 if test -n "$ac_ct_DUMPBIN"; then
4656 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4662 test -z "$as_dir" && as_dir
=.
4663 for ac_exec_ext
in '' $ac_executable_extensions; do
4664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4665 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4674 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4675 if test -n "$ac_ct_DUMPBIN"; then
4676 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4677 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4679 echo "$as_me:$LINENO: result: no" >&5
4680 echo "${ECHO_T}no" >&6
4683 test -n "$ac_ct_DUMPBIN" && break
4685 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
4687 DUMPBIN
=$ac_ct_DUMPBIN
4691 if test "$DUMPBIN" != ":"; then
4695 test -z "$NM" && NM
=nm
4702 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4703 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4704 if test "${lt_cv_nm_interface+set}" = set; then
4705 echo $ECHO_N "(cached) $ECHO_C" >&6
4707 lt_cv_nm_interface
="BSD nm"
4708 echo "int some_variable = 0;" > conftest.
$ac_ext
4709 (eval echo "\"\$as_me:4709: $ac_compile\"" >&5)
4710 (eval "$ac_compile" 2>conftest.err
)
4711 cat conftest.err
>&5
4712 (eval echo "\"\$as_me:4712: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4713 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4714 cat conftest.err
>&5
4715 (eval echo "\"\$as_me:4715: output\"" >&5)
4716 cat conftest.out
>&5
4717 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4718 lt_cv_nm_interface
="MS dumpbin"
4722 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4723 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4725 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4726 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4728 if test "$LN_S" = "ln -s"; then
4729 echo "$as_me:$LINENO: result: yes" >&5
4730 echo "${ECHO_T}yes" >&6
4732 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4733 echo "${ECHO_T}no, using $LN_S" >&6
4736 # find the maximum length of command line arguments
4737 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4738 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4739 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4740 echo $ECHO_N "(cached) $ECHO_C" >&6
4747 # On DJGPP, this test can blow up pretty badly due to problems in libc
4748 # (any single argument exceeding 2000 bytes causes a buffer overrun
4749 # during glob expansion). Even if it were fixed, the result of this
4750 # check would be larger than it should be.
4751 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4755 # Under GNU Hurd, this test is not required because there is
4756 # no limit to the length of command line arguments.
4757 # Libtool will interpret -1 as no limit whatsoever
4758 lt_cv_sys_max_cmd_len
=-1;
4762 # On Win9x/ME, this test blows up -- it succeeds, but takes
4763 # about 5 minutes as the teststring grows exponentially.
4764 # Worse, since 9x/ME are not pre-emptively multitasking,
4765 # you end up with a "frozen" computer, even though with patience
4766 # the test eventually succeeds (with a max line length of 256k).
4767 # Instead, let's just punt: use the minimum linelength reported by
4768 # all of the supported platforms: 8192 (on NT/2K/XP).
4769 lt_cv_sys_max_cmd_len
=8192;
4773 # On AmigaOS with pdksh, this test takes hours, literally.
4774 # So we just punt and use a minimum line length of 8192.
4775 lt_cv_sys_max_cmd_len
=8192;
4778 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4779 # This has been around since 386BSD, at least. Likely further.
4780 if test -x /sbin
/sysctl
; then
4781 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4782 elif test -x /usr
/sbin
/sysctl
; then
4783 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4785 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4787 # And add a safety zone
4788 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4789 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4793 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4794 lt_cv_sys_max_cmd_len
=196608
4798 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4799 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4800 # nice to cause kernel panics so lets avoid the loop below.
4801 # First set a reasonable default.
4802 lt_cv_sys_max_cmd_len
=16384
4804 if test -x /sbin
/sysconfig
; then
4805 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4806 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4811 lt_cv_sys_max_cmd_len
=102400
4813 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4814 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4815 if test -n "$kargmax"; then
4816 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4818 lt_cv_sys_max_cmd_len
=32768
4822 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
4823 if test -n $lt_cv_sys_max_cmd_len; then
4824 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4825 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4827 # Make teststring a little bigger before we do anything with it.
4828 # a 1K string should be a reasonable start.
4829 for i
in 1 2 3 4 5 6 7 8 ; do
4830 teststring
=$teststring$teststring
4832 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4833 # If test is not a shell built-in, we'll probably end up computing a
4834 # maximum length that is only half of the actual maximum length, but
4836 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4837 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4838 test $i != 17 # 1/2 MB should be enough
4841 teststring
=$teststring$teststring
4843 # Only check the string length outside the loop.
4844 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4846 # Add a significant safety factor because C++ compilers can tack on
4847 # massive amounts of additional arguments before passing them to the
4848 # linker. It appears as though 1/2 is a usable value.
4849 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4856 if test -n $lt_cv_sys_max_cmd_len ; then
4857 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4858 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4860 echo "$as_me:$LINENO: result: none" >&5
4861 echo "${ECHO_T}none" >&6
4863 max_cmd_len
=$lt_cv_sys_max_cmd_len
4875 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4876 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4877 # Try some XSI features
4880 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4881 = c,a/b,, ) >/dev/null 2>&1 \
4883 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4884 echo "${ECHO_T}$xsi_shell" >&6
4887 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4888 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
4890 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4892 && lt_shell_append=yes
4893 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4894 echo "${ECHO_T}$lt_shell_append" >&6
4897 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4907 # test EBCDIC or ASCII
4908 case `echo X|tr X '\101'` in
4909 A) # ASCII based system
4910 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4911 lt_SP2NL='tr \040 \012'
4912 lt_NL2SP='tr \015\012 \040\040'
4914 *) # EBCDIC based system
4915 lt_SP2NL='tr \100 \n'
4916 lt_NL2SP='tr \r\n \100\100'
4928 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4929 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
4930 if test "${lt_cv_ld_reload_flag+set}" = set; then
4931 echo $ECHO_N "(cached
) $ECHO_C" >&6
4933 lt_cv_ld_reload_flag='-r'
4935 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4936 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4937 reload_flag=$lt_cv_ld_reload_flag
4938 case $reload_flag in
4940 *) reload_flag=" $reload_flag" ;;
4942 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4945 if test "$GCC" = yes; then
4946 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4948 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4962 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4963 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4964 if test "${lt_cv_deplibs_check_method+set}" = set; then
4965 echo $ECHO_N "(cached
) $ECHO_C" >&6
4967 lt_cv_file_magic_cmd='$MAGIC_CMD'
4968 lt_cv_file_magic_test_file=
4969 lt_cv_deplibs_check_method='unknown'
4970 # Need to set the preceding variable on all platforms that support
4971 # interlibrary dependencies.
4972 # 'none' -- dependencies not supported.
4973 # `unknown' -- same as none, but documents that we really don't know.
4974 # 'pass_all' -- all dependencies passed with no checks.
4975 # 'test_compile' -- check by making test program.
4976 # 'file_magic [[regex]]' -- check by looking for files in library path
4977 # which responds to the $file_magic_cmd with a given extended regex.
4978 # If you have `file' or equivalent on your system and you're not sure
4979 # whether `pass_all' will *always* work, you probably want this one.
4983 lt_cv_deplibs_check_method=pass_all
4987 lt_cv_deplibs_check_method=pass_all
4991 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4992 lt_cv_file_magic_cmd='/usr/bin/file -L'
4993 lt_cv_file_magic_test_file=/shlib/libc.so
4997 # func_win32_libid is a shell function defined in ltmain.sh
4998 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4999 lt_cv_file_magic_cmd='func_win32_libid'
5003 # Base MSYS/MinGW do not provide the 'file' command needed by
5004 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5005 # unless we find 'file', for example because we are cross-compiling.
5006 if ( file / ) >/dev/null 2>&1; then
5007 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5008 lt_cv_file_magic_cmd='func_win32_libid'
5010 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5011 lt_cv_file_magic_cmd='$OBJDUMP -f'
5015 darwin* | rhapsody*)
5016 lt_cv_deplibs_check_method=pass_all
5019 freebsd* | dragonfly*)
5020 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5023 # Not sure whether the presence of OpenBSD here was a mistake.
5024 # Let's accept both of them until this is cleared up.
5025 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5026 lt_cv_file_magic_cmd=/usr/bin/file
5027 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5031 lt_cv_deplibs_check_method=pass_all
5036 lt_cv_deplibs_check_method=pass_all
5039 hpux10.20* | hpux11*)
5040 lt_cv_file_magic_cmd=/usr/bin/file
5043 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5044 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5047 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]'
5048 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5051 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5052 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5058 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5059 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5062 irix5* | irix6* | nonstopux*)
5064 *-32|*"-32 ") libmagic=32-bit;;
5065 *-n32|*"-n32 ") libmagic=N32;;
5066 *-64|*"-64 ") libmagic=64-bit;;
5067 *) libmagic=never-match;;
5069 lt_cv_deplibs_check_method=pass_all
5072 # This must be Linux ELF.
5073 linux* | k*bsd*-gnu)
5074 lt_cv_deplibs_check_method=pass_all
5078 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5079 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5081 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5086 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5087 lt_cv_file_magic_cmd=/usr/bin/file
5088 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5092 lt_cv_deplibs_check_method=pass_all
5096 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5097 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5099 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5103 osf3* | osf4* | osf5*)
5104 lt_cv_deplibs_check_method=pass_all
5108 lt_cv_deplibs_check_method=pass_all
5112 lt_cv_deplibs_check_method=pass_all
5115 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5116 lt_cv_deplibs_check_method=pass_all
5120 case $host_vendor in
5122 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]'
5123 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5126 lt_cv_deplibs_check_method=pass_all
5129 lt_cv_file_magic_cmd='/bin/file'
5130 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5133 lt_cv_file_magic_cmd='/bin/file'
5134 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5135 lt_cv_file_magic_test_file=/lib/libc.so
5138 lt_cv_deplibs_check_method=pass_all
5141 lt_cv_deplibs_check_method=pass_all
5147 lt_cv_deplibs_check_method=pass_all
5152 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5153 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5154 file_magic_cmd=$lt_cv_file_magic_cmd
5155 deplibs_check_method=$lt_cv_deplibs_check_method
5156 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5169 if test -n "$ac_tool_prefix"; then
5170 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5171 set dummy ${ac_tool_prefix}ar; ac_word=$2
5172 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5173 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5174 if test "${ac_cv_prog_AR+set}" = set; then
5175 echo $ECHO_N "(cached
) $ECHO_C" >&6
5177 if test -n "$AR"; then
5178 ac_cv_prog_AR="$AR" # Let the user override the test.
5180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5184 test -z "$as_dir" && as_dir=.
5185 for ac_exec_ext in '' $ac_executable_extensions; do
5186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5187 ac_cv_prog_AR="${ac_tool_prefix}ar"
5188 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5197 if test -n "$AR"; then
5198 echo "$as_me:$LINENO: result
: $AR" >&5
5199 echo "${ECHO_T}$AR" >&6
5201 echo "$as_me:$LINENO: result
: no
" >&5
5202 echo "${ECHO_T}no
" >&6
5206 if test -z "$ac_cv_prog_AR"; then
5208 # Extract the first word of "ar", so it can be a program name with args.
5209 set dummy ar; ac_word=$2
5210 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5211 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5212 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5213 echo $ECHO_N "(cached
) $ECHO_C" >&6
5215 if test -n "$ac_ct_AR"; then
5216 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5222 test -z "$as_dir" && as_dir=.
5223 for ac_exec_ext in '' $ac_executable_extensions; do
5224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5225 ac_cv_prog_ac_ct_AR="ar"
5226 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5232 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
5235 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5236 if test -n "$ac_ct_AR"; then
5237 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5238 echo "${ECHO_T}$ac_ct_AR" >&6
5240 echo "$as_me:$LINENO: result
: no
" >&5
5241 echo "${ECHO_T}no
" >&6
5249 test -z "$AR" && AR=ar
5250 test -z "$AR_FLAGS" && AR_FLAGS=cru
5262 if test -n "$ac_tool_prefix"; then
5263 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5264 set dummy ${ac_tool_prefix}strip; ac_word=$2
5265 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5266 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5267 if test "${ac_cv_prog_STRIP+set}" = set; then
5268 echo $ECHO_N "(cached
) $ECHO_C" >&6
5270 if test -n "$STRIP"; then
5271 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5277 test -z "$as_dir" && as_dir=.
5278 for ac_exec_ext in '' $ac_executable_extensions; do
5279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5280 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5281 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5289 STRIP=$ac_cv_prog_STRIP
5290 if test -n "$STRIP"; then
5291 echo "$as_me:$LINENO: result
: $STRIP" >&5
5292 echo "${ECHO_T}$STRIP" >&6
5294 echo "$as_me:$LINENO: result
: no
" >&5
5295 echo "${ECHO_T}no
" >&6
5299 if test -z "$ac_cv_prog_STRIP"; then
5301 # Extract the first word of "strip
", so it can be a program name with args.
5302 set dummy strip; ac_word=$2
5303 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5304 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5305 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5306 echo $ECHO_N "(cached
) $ECHO_C" >&6
5308 if test -n "$ac_ct_STRIP"; then
5309 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5315 test -z "$as_dir" && as_dir=.
5316 for ac_exec_ext in '' $ac_executable_extensions; do
5317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5318 ac_cv_prog_ac_ct_STRIP="strip
"
5319 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5325 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5328 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5329 if test -n "$ac_ct_STRIP"; then
5330 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5331 echo "${ECHO_T}$ac_ct_STRIP" >&6
5333 echo "$as_me:$LINENO: result
: no
" >&5
5334 echo "${ECHO_T}no
" >&6
5339 STRIP="$ac_cv_prog_STRIP"
5342 test -z "$STRIP" && STRIP=:
5349 if test -n "$ac_tool_prefix"; then
5350 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5351 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5352 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5353 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5354 if test "${ac_cv_prog_RANLIB+set}" = set; then
5355 echo $ECHO_N "(cached
) $ECHO_C" >&6
5357 if test -n "$RANLIB"; then
5358 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5364 test -z "$as_dir" && as_dir=.
5365 for ac_exec_ext in '' $ac_executable_extensions; do
5366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5367 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5368 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5376 RANLIB=$ac_cv_prog_RANLIB
5377 if test -n "$RANLIB"; then
5378 echo "$as_me:$LINENO: result
: $RANLIB" >&5
5379 echo "${ECHO_T}$RANLIB" >&6
5381 echo "$as_me:$LINENO: result
: no
" >&5
5382 echo "${ECHO_T}no
" >&6
5386 if test -z "$ac_cv_prog_RANLIB"; then
5387 ac_ct_RANLIB=$RANLIB
5388 # Extract the first word of "ranlib
", so it can be a program name with args.
5389 set dummy ranlib; ac_word=$2
5390 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5391 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5392 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5393 echo $ECHO_N "(cached
) $ECHO_C" >&6
5395 if test -n "$ac_ct_RANLIB"; then
5396 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 test -z "$as_dir" && as_dir=.
5403 for ac_exec_ext in '' $ac_executable_extensions; do
5404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5405 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5406 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5412 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5415 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5416 if test -n "$ac_ct_RANLIB"; then
5417 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5418 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5420 echo "$as_me:$LINENO: result
: no
" >&5
5421 echo "${ECHO_T}no
" >&6
5424 RANLIB=$ac_ct_RANLIB
5426 RANLIB="$ac_cv_prog_RANLIB"
5429 test -z "$RANLIB" && RANLIB=:
5436 # Determine commands to create old-style static archives.
5437 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5438 old_postinstall_cmds='chmod 644 $oldlib'
5439 old_postuninstall_cmds=
5441 if test -n "$RANLIB"; then
5444 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5447 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5450 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5486 # If no C compiler was specified, use CC.
5489 # If no C compiler flags were specified, use CFLAGS.
5490 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5492 # Allow CC to be a program name with arguments.
5496 # Check for command to grab the raw symbol name followed by C symbol from nm.
5497 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5498 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
5499 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5500 echo $ECHO_N "(cached
) $ECHO_C" >&6
5503 # These are sane defaults that work on at least a few old systems.
5504 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5506 # Character class describing NM global symbol codes.
5507 symcode='[BCDEGRST]'
5509 # Regexp to match symbols that can be accessed directly from C.
5510 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5512 # Define system-specific variables.
5517 cygwin* | mingw* | pw32*)
5518 symcode='[ABCDGISTW]'
5521 if test "$host_cpu" = ia64; then
5522 symcode='[ABCDEGRST]'
5526 symcode='[BCDEGRST]'
5529 symcode='[BCDEGQRST]'
5540 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5548 # If we're using GNU nm, then use its standard symbol codes.
5549 case `$NM -V 2>&1` in
5550 *GNU* | *'with BFD'*)
5551 symcode='[ABCDGIRSTW]' ;;
5554 # Transform an extracted symbol line into a proper C declaration.
5555 # Some systems (esp. on ia64) link data and code symbols differently,
5556 # so use this general approach.
5557 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5559 # Transform an extracted symbol line into symbol name and symbol address
5560 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5562 # Handle CRLF in mingw tool chain
5566 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5570 # Try without a prefix underscore, then with it.
5571 for ac_symprfx in "" "_
"; do
5573 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5574 symxfrm="\\1 $ac_symprfx\\2 \\2"
5576 # Write the raw and C identifiers.
5577 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5578 # Fake it for dumpbin and say T for any non-static function
5579 # and D for any global variable.
5580 # Also find C++ and __fastcall symbols from MSVC++,
5581 # which start with @ or ?.
5582 lt_cv_sys_global_symbol_pipe="$AWK '"\
5583 " {last_section=section; section=\$ 3};"\
5584 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5585 " \$ 0!~/External *\|/{next};"\
5586 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5587 " {if(hide[section]) next};"\
5588 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5589 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5590 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5591 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5592 " ' prfx
=^
$ac_symprfx"
5594 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5597 # Check to see that the pipe works correctly.
5601 cat > conftest.$ac_ext <<_LT_EOF
5606 void nm_test_func(void);
5607 void nm_test_func(void){}
5611 int main(){nm_test_var='a';nm_test_func();return(0);}
5614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5615 (eval $ac_compile) 2>&5
5617 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5618 (exit $ac_status); }; then
5619 # Now try to grab the symbols.
5621 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5622 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5624 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5625 (exit $ac_status); } && test -s "$nlist"; then
5626 # Try sorting and uniquifying the output.
5627 if sort "$nlist" | uniq > "$nlist"T; then
5628 mv -f "$nlist"T "$nlist"
5633 # Make sure that we snagged all the symbols we need.
5634 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5635 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5636 cat <<_LT_EOF > conftest.$ac_ext
5642 # Now generate the symbol file.
5643 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5645 cat <<_LT_EOF >> conftest.$ac_ext
5647 /* The mapping between symbol names and symbols. */
5652 lt__PROGRAM__LTX_preloaded_symbols[] =
5654 { "@PROGRAM@
", (void *) 0 },
5656 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5657 cat <<\_LT_EOF >> conftest.$ac_ext
5661 /* This works around a problem in FreeBSD linker */
5662 #ifdef FREEBSD_WORKAROUND
5663 static const void *lt_preloaded_setup() {
5664 return lt__PROGRAM__LTX_preloaded_symbols;
5672 # Now try linking the two files.
5673 mv conftest.$ac_objext conftstm.$ac_objext
5674 lt_save_LIBS="$LIBS"
5675 lt_save_CFLAGS="$CFLAGS"
5676 LIBS="conftstm.
$ac_objext"
5677 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5679 (eval $ac_link) 2>&5
5681 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5682 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5685 LIBS="$lt_save_LIBS"
5686 CFLAGS="$lt_save_CFLAGS"
5688 echo "cannot
find nm_test_func
in $nlist" >&5
5691 echo "cannot
find nm_test_var
in $nlist" >&5
5694 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5697 echo "$progname: failed program was
:" >&5
5698 cat conftest.$ac_ext >&5
5700 rm -f conftest* conftst*
5702 # Do not use the global_symbol_pipe unless it works.
5703 if test "$pipe_works" = yes; then
5706 lt_cv_sys_global_symbol_pipe=
5712 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5713 lt_cv_sys_global_symbol_to_cdecl=
5715 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5716 echo "$as_me:$LINENO: result
: failed
" >&5
5717 echo "${ECHO_T}failed
" >&6
5719 echo "$as_me:$LINENO: result
: ok
" >&5
5720 echo "${ECHO_T}ok
" >&6
5740 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5741 if test "${enable_libtool_lock+set}" = set; then
5742 enableval="$enable_libtool_lock"
5745 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5747 # Some flags need to be propagated to the compiler or linker for good
5751 # Find out which ABI we are using.
5752 echo 'int i;' > conftest.$ac_ext
5753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5754 (eval $ac_compile) 2>&5
5756 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5757 (exit $ac_status); }; then
5758 case `/usr/bin/file conftest.$ac_objext` in
5770 # Find out which ABI we are using.
5771 echo '#line 5771 "configure
"' > conftest.$ac_ext
5772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5773 (eval $ac_compile) 2>&5
5775 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5776 (exit $ac_status); }; then
5777 if test "$lt_cv_prog_gnu_ld" = yes; then
5778 case `/usr/bin/file conftest.$ac_objext` in
5780 LD="${LD-ld} -melf32bsmip"
5783 LD="${LD-ld} -melf32bmipn32"
5786 LD="${LD-ld} -melf64bmip"
5790 case `/usr/bin/file conftest.$ac_objext` in
5806 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5807 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5808 # Find out which ABI we are using.
5809 echo 'int i;' > conftest.$ac_ext
5810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5811 (eval $ac_compile) 2>&5
5813 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5814 (exit $ac_status); }; then
5815 case `/usr/bin/file conftest.o` in
5818 x86_64-*kfreebsd*-gnu)
5819 LD="${LD-ld} -m elf_i386_fbsd
"
5822 LD="${LD-ld} -m elf_i386
"
5824 ppc64-*linux*|powerpc64-*linux*)
5825 LD="${LD-ld} -m elf32ppclinux
"
5828 LD="${LD-ld} -m elf_s390
"
5831 LD="${LD-ld} -m elf32_sparc
"
5837 x86_64-*kfreebsd*-gnu)
5838 LD="${LD-ld} -m elf_x86_64_fbsd
"
5841 LD="${LD-ld} -m elf_x86_64
"
5843 ppc*-*linux*|powerpc*-*linux*)
5844 LD="${LD-ld} -m elf64ppc
"
5846 s390*-*linux*|s390*-*tpf*)
5847 LD="${LD-ld} -m elf64_s390
"
5850 LD="${LD-ld} -m elf64_sparc
"
5860 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5861 SAVE_CFLAGS="$CFLAGS"
5862 CFLAGS="$CFLAGS -belf"
5863 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5864 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
5865 if test "${lt_cv_cc_needs_belf+set}" = set; then
5866 echo $ECHO_N "(cached
) $ECHO_C" >&6
5869 ac_cpp='$CPP $CPPFLAGS'
5870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5874 if test x$gcc_no_link = xyes; then
5875 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
5876 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
5877 { (exit 1); exit 1; }; }
5879 cat >conftest.$ac_ext <<_ACEOF
5882 cat confdefs.h >>conftest.$ac_ext
5883 cat >>conftest.$ac_ext <<_ACEOF
5884 /* end confdefs.h. */
5894 rm -f conftest.$ac_objext conftest$ac_exeext
5895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5896 (eval $ac_link) 2>conftest.er1
5898 grep -v '^ *+' conftest.er1 >conftest.err
5900 cat conftest.err >&5
5901 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5902 (exit $ac_status); } &&
5903 { ac_try='test -z "$ac_c_werror_flag"
5904 || test ! -s conftest.err'
5905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5908 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5909 (exit $ac_status); }; } &&
5910 { ac_try='test -s conftest$ac_exeext'
5911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5914 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5915 (exit $ac_status); }; }; then
5916 lt_cv_cc_needs_belf=yes
5918 echo "$as_me: failed program was
:" >&5
5919 sed 's/^/| /' conftest.$ac_ext >&5
5921 lt_cv_cc_needs_belf=no
5923 rm -f conftest.err conftest.$ac_objext \
5924 conftest$ac_exeext conftest.$ac_ext
5926 ac_cpp='$CPP $CPPFLAGS'
5927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5932 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5933 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5934 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5935 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5936 CFLAGS="$SAVE_CFLAGS"
5940 # Find out which ABI we are using.
5941 echo 'int i;' > conftest.$ac_ext
5942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5943 (eval $ac_compile) 2>&5
5945 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5946 (exit $ac_status); }; then
5947 case `/usr/bin/file conftest.o` in
5949 case $lt_cv_prog_gnu_ld in
5950 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5951 *) LD="${LD-ld} -64" ;;
5960 need_locks="$enable_libtool_lock"
5963 ac_cpp='$CPP $CPPFLAGS'
5964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5967 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5968 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
5969 # On Suns, sometimes $CPP names a directory.
5970 if test -n "$CPP" && test -d "$CPP"; then
5973 if test -z "$CPP"; then
5974 if test "${ac_cv_prog_CPP+set}" = set; then
5975 echo $ECHO_N "(cached
) $ECHO_C" >&6
5977 # Double quotes because CPP needs to be expanded
5978 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5981 for ac_c_preproc_warn_flag in '' yes
5983 # Use a header file that comes with gcc, so configuring glibc
5984 # with a fresh cross-compiler works.
5985 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5986 # <limits.h> exists even on freestanding compilers.
5987 # On the NeXT, cc -E runs the code through the compiler's parser,
5988 # not just through cpp. "Syntax error
" is here to catch this case.
5989 cat >conftest.$ac_ext <<_ACEOF
5992 cat confdefs.h >>conftest.$ac_ext
5993 cat >>conftest.$ac_ext <<_ACEOF
5994 /* end confdefs.h. */
5996 # include <limits.h>
5998 # include <assert.h>
6002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6003 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6005 grep -v '^ *+' conftest.er1 >conftest.err
6007 cat conftest.err >&5
6008 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6009 (exit $ac_status); } >/dev/null; then
6010 if test -s conftest.err; then
6011 ac_cpp_err=$ac_c_preproc_warn_flag
6012 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6019 if test -z "$ac_cpp_err"; then
6022 echo "$as_me: failed program was
:" >&5
6023 sed 's/^/| /' conftest.$ac_ext >&5
6025 # Broken: fails on valid input.
6028 rm -f conftest.err conftest.$ac_ext
6030 # OK, works on sane cases. Now check whether non-existent headers
6031 # can be detected and how.
6032 cat >conftest.$ac_ext <<_ACEOF
6035 cat confdefs.h >>conftest.$ac_ext
6036 cat >>conftest.$ac_ext <<_ACEOF
6037 /* end confdefs.h. */
6038 #include <ac_nonexistent.h>
6040 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6041 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6043 grep -v '^ *+' conftest.er1 >conftest.err
6045 cat conftest.err >&5
6046 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6047 (exit $ac_status); } >/dev/null; then
6048 if test -s conftest.err; then
6049 ac_cpp_err=$ac_c_preproc_warn_flag
6050 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6057 if test -z "$ac_cpp_err"; then
6058 # Broken: success on invalid input.
6061 echo "$as_me: failed program was
:" >&5
6062 sed 's/^/| /' conftest.$ac_ext >&5
6064 # Passes both tests.
6068 rm -f conftest.err conftest.$ac_ext
6071 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6072 rm -f conftest.err conftest.$ac_ext
6073 if $ac_preproc_ok; then
6085 echo "$as_me:$LINENO: result
: $CPP" >&5
6086 echo "${ECHO_T}$CPP" >&6
6088 for ac_c_preproc_warn_flag in '' yes
6090 # Use a header file that comes with gcc, so configuring glibc
6091 # with a fresh cross-compiler works.
6092 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6093 # <limits.h> exists even on freestanding compilers.
6094 # On the NeXT, cc -E runs the code through the compiler's parser,
6095 # not just through cpp. "Syntax error
" is here to catch this case.
6096 cat >conftest.$ac_ext <<_ACEOF
6099 cat confdefs.h >>conftest.$ac_ext
6100 cat >>conftest.$ac_ext <<_ACEOF
6101 /* end confdefs.h. */
6103 # include <limits.h>
6105 # include <assert.h>
6109 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6110 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6112 grep -v '^ *+' conftest.er1 >conftest.err
6114 cat conftest.err >&5
6115 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6116 (exit $ac_status); } >/dev/null; then
6117 if test -s conftest.err; then
6118 ac_cpp_err=$ac_c_preproc_warn_flag
6119 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6126 if test -z "$ac_cpp_err"; then
6129 echo "$as_me: failed program was
:" >&5
6130 sed 's/^/| /' conftest.$ac_ext >&5
6132 # Broken: fails on valid input.
6135 rm -f conftest.err conftest.$ac_ext
6137 # OK, works on sane cases. Now check whether non-existent headers
6138 # can be detected and how.
6139 cat >conftest.$ac_ext <<_ACEOF
6142 cat confdefs.h >>conftest.$ac_ext
6143 cat >>conftest.$ac_ext <<_ACEOF
6144 /* end confdefs.h. */
6145 #include <ac_nonexistent.h>
6147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6148 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6150 grep -v '^ *+' conftest.er1 >conftest.err
6152 cat conftest.err >&5
6153 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6154 (exit $ac_status); } >/dev/null; then
6155 if test -s conftest.err; then
6156 ac_cpp_err=$ac_c_preproc_warn_flag
6157 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6164 if test -z "$ac_cpp_err"; then
6165 # Broken: success on invalid input.
6168 echo "$as_me: failed program was
:" >&5
6169 sed 's/^/| /' conftest.$ac_ext >&5
6171 # Passes both tests.
6175 rm -f conftest.err conftest.$ac_ext
6178 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6179 rm -f conftest.err conftest.$ac_ext
6180 if $ac_preproc_ok; then
6183 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
6184 See \
`config.log' for more details." >&5
6185 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6186 See \`config.log
' for more details." >&2;}
6187 { (exit 1); exit 1; }; }
6191 ac_cpp='$CPP $CPPFLAGS'
6192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6193 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6197 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6198 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6199 if test "${ac_cv_header_stdc+set}" = set; then
6200 echo $ECHO_N "(cached) $ECHO_C" >&6
6202 cat >conftest.$ac_ext <<_ACEOF
6205 cat confdefs.h >>conftest.$ac_ext
6206 cat >>conftest.$ac_ext <<_ACEOF
6207 /* end confdefs.h. */
6221 rm -f conftest.$ac_objext
6222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6223 (eval $ac_compile) 2>conftest.er1
6225 grep -v '^
*+' conftest.er1 >conftest.err
6227 cat conftest.err >&5
6228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6229 (exit $ac_status); } &&
6230 { ac_try='test -z "$ac_c_werror_flag"
6231 ||
test ! -s conftest.err
'
6232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6236 (exit $ac_status); }; } &&
6237 { ac_try='test -s conftest.
$ac_objext'
6238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 (exit $ac_status); }; }; then
6243 ac_cv_header_stdc=yes
6245 echo "$as_me: failed program was:" >&5
6246 sed 's
/^
/|
/' conftest.$ac_ext >&5
6248 ac_cv_header_stdc=no
6250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6252 if test $ac_cv_header_stdc = yes; then
6253 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6254 cat >conftest.$ac_ext <<_ACEOF
6257 cat confdefs.h >>conftest.$ac_ext
6258 cat >>conftest.$ac_ext <<_ACEOF
6259 /* end confdefs.h. */
6263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6264 $EGREP "memchr" >/dev/null 2>&1; then
6267 ac_cv_header_stdc=no
6273 if test $ac_cv_header_stdc = yes; then
6274 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6275 cat >conftest.$ac_ext <<_ACEOF
6278 cat confdefs.h >>conftest.$ac_ext
6279 cat >>conftest.$ac_ext <<_ACEOF
6280 /* end confdefs.h. */
6284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6285 $EGREP "free" >/dev/null 2>&1; then
6288 ac_cv_header_stdc=no
6294 if test $ac_cv_header_stdc = yes; then
6295 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6296 if test "$cross_compiling" = yes; then
6299 cat >conftest.$ac_ext <<_ACEOF
6302 cat confdefs.h >>conftest.$ac_ext
6303 cat >>conftest.$ac_ext <<_ACEOF
6304 /* end confdefs.h. */
6306 #if ((' ' & 0x0FF) == 0x020)
6307 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
6308 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
6310 # define ISLOWER(c) \
6311 (('a
' <= (c) && (c) <= 'i
') \
6312 || ('j
' <= (c) && (c) <= 'r
') \
6313 || ('s
' <= (c) && (c) <= 'z
'))
6314 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6317 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6322 for (i = 0; i < 256; i++)
6323 if (XOR (islower (i), ISLOWER (i))
6324 || toupper (i) != TOUPPER (i))
6329 rm -f conftest$ac_exeext
6330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6331 (eval $ac_link) 2>&5
6333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6334 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
6335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339 (exit $ac_status); }; }; then
6342 echo "$as_me: program exited with status $ac_status" >&5
6343 echo "$as_me: failed program was:" >&5
6344 sed 's
/^
/|
/' conftest.$ac_ext >&5
6347 ac_cv_header_stdc=no
6349 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6353 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6354 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6355 if test $ac_cv_header_stdc = yes; then
6357 cat >>confdefs.h <<\_ACEOF
6358 #define STDC_HEADERS 1
6363 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6373 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6374 inttypes.h stdint.h unistd.h
6376 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6377 echo "$as_me:$LINENO: checking for $ac_header" >&5
6378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6380 echo $ECHO_N "(cached) $ECHO_C" >&6
6382 cat >conftest.$ac_ext <<_ACEOF
6385 cat confdefs.h >>conftest.$ac_ext
6386 cat >>conftest.$ac_ext <<_ACEOF
6387 /* end confdefs.h. */
6388 $ac_includes_default
6390 #include <$ac_header>
6392 rm -f conftest.$ac_objext
6393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6394 (eval $ac_compile) 2>conftest.er1
6396 grep -v '^
*+' conftest.er1 >conftest.err
6398 cat conftest.err >&5
6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); } &&
6401 { ac_try='test -z "$ac_c_werror_flag"
6402 ||
test ! -s conftest.err
'
6403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407 (exit $ac_status); }; } &&
6408 { ac_try='test -s conftest.
$ac_objext'
6409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6413 (exit $ac_status); }; }; then
6414 eval "$as_ac_Header=yes"
6416 echo "$as_me: failed program was:" >&5
6417 sed 's
/^
/|
/' conftest.$ac_ext >&5
6419 eval "$as_ac_Header=no"
6421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6426 cat >>confdefs.h <<_ACEOF
6427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6436 for ac_header in dlfcn.h
6438 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6439 echo "$as_me:$LINENO: checking for $ac_header" >&5
6440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6442 echo $ECHO_N "(cached) $ECHO_C" >&6
6444 cat >conftest.$ac_ext <<_ACEOF
6447 cat confdefs.h >>conftest.$ac_ext
6448 cat >>conftest.$ac_ext <<_ACEOF
6449 /* end confdefs.h. */
6450 $ac_includes_default
6452 #include <$ac_header>
6454 rm -f conftest.$ac_objext
6455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6456 (eval $ac_compile) 2>conftest.er1
6458 grep -v '^
*+' conftest.er1 >conftest.err
6460 cat conftest.err >&5
6461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462 (exit $ac_status); } &&
6463 { ac_try='test -z "$ac_c_werror_flag"
6464 ||
test ! -s conftest.err
'
6465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6469 (exit $ac_status); }; } &&
6470 { ac_try='test -s conftest.
$ac_objext'
6471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6475 (exit $ac_status); }; }; then
6476 eval "$as_ac_Header=yes"
6478 echo "$as_me: failed program was:" >&5
6479 sed 's
/^
/|
/' conftest.$ac_ext >&5
6481 eval "$as_ac_Header=no"
6483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6486 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6488 cat >>confdefs.h <<_ACEOF
6489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6499 ac_cpp='$CXXCPP $CPPFLAGS'
6500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6501 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6503 if test -n "$ac_tool_prefix"; then
6504 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6506 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6507 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6508 echo "$as_me:$LINENO: checking for $ac_word" >&5
6509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6510 if test "${ac_cv_prog_CXX+set}" = set; then
6511 echo $ECHO_N "(cached) $ECHO_C" >&6
6513 if test -n "$CXX"; then
6514 ac_cv_prog_CXX="$CXX" # Let the user override the test.
6516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6520 test -z "$as_dir" && as_dir=.
6521 for ac_exec_ext in '' $ac_executable_extensions; do
6522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6523 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6533 if test -n "$CXX"; then
6534 echo "$as_me:$LINENO: result: $CXX" >&5
6535 echo "${ECHO_T}$CXX" >&6
6537 echo "$as_me:$LINENO: result: no" >&5
6538 echo "${ECHO_T}no" >&6
6541 test -n "$CXX" && break
6544 if test -z "$CXX"; then
6546 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6548 # Extract the first word of "$ac_prog", so it can be a program name with args.
6549 set dummy $ac_prog; ac_word=$2
6550 echo "$as_me:$LINENO: checking for $ac_word" >&5
6551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6552 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6553 echo $ECHO_N "(cached) $ECHO_C" >&6
6555 if test -n "$ac_ct_CXX"; then
6556 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6562 test -z "$as_dir" && as_dir=.
6563 for ac_exec_ext in '' $ac_executable_extensions; do
6564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6565 ac_cv_prog_ac_ct_CXX="$ac_prog"
6566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6574 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6575 if test -n "$ac_ct_CXX"; then
6576 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6577 echo "${ECHO_T}$ac_ct_CXX" >&6
6579 echo "$as_me:$LINENO: result: no" >&5
6580 echo "${ECHO_T}no" >&6
6583 test -n "$ac_ct_CXX" && break
6585 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6591 # Provide some information about the compiler.
6592 echo "$as_me:$LINENO:" \
6593 "checking for C++ compiler version" >&5
6594 ac_compiler=`set X $ac_compile; echo $2`
6595 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6596 (eval $ac_compiler --version </dev/null >&5) 2>&5
6598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599 (exit $ac_status); }
6600 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6601 (eval $ac_compiler -v </dev/null >&5) 2>&5
6603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604 (exit $ac_status); }
6605 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6606 (eval $ac_compiler -V </dev/null >&5) 2>&5
6608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609 (exit $ac_status); }
6611 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6612 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6613 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6614 echo $ECHO_N "(cached) $ECHO_C" >&6
6616 cat >conftest.$ac_ext <<_ACEOF
6619 cat confdefs.h >>conftest.$ac_ext
6620 cat >>conftest.$ac_ext <<_ACEOF
6621 /* end confdefs.h. */
6634 rm -f conftest.$ac_objext
6635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6636 (eval $ac_compile) 2>conftest.er1
6638 grep -v '^
*+' conftest.er1 >conftest.err
6640 cat conftest.err >&5
6641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642 (exit $ac_status); } &&
6643 { ac_try='test -z "$ac_cxx_werror_flag"
6644 ||
test ! -s conftest.err
'
6645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6649 (exit $ac_status); }; } &&
6650 { ac_try='test -s conftest.
$ac_objext'
6651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655 (exit $ac_status); }; }; then
6658 echo "$as_me: failed program was:" >&5
6659 sed 's
/^
/|
/' conftest.$ac_ext >&5
6663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6664 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6667 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6668 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6669 GXX=`test $ac_compiler_gnu = yes && echo yes`
6670 ac_test_CXXFLAGS=${CXXFLAGS+set}
6671 ac_save_CXXFLAGS=$CXXFLAGS
6673 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6674 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6675 if test "${ac_cv_prog_cxx_g+set}" = set; then
6676 echo $ECHO_N "(cached) $ECHO_C" >&6
6678 cat >conftest.$ac_ext <<_ACEOF
6681 cat confdefs.h >>conftest.$ac_ext
6682 cat >>conftest.$ac_ext <<_ACEOF
6683 /* end confdefs.h. */
6693 rm -f conftest.$ac_objext
6694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6695 (eval $ac_compile) 2>conftest.er1
6697 grep -v '^
*+' conftest.er1 >conftest.err
6699 cat conftest.err >&5
6700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701 (exit $ac_status); } &&
6702 { ac_try='test -z "$ac_cxx_werror_flag"
6703 ||
test ! -s conftest.err
'
6704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); }; } &&
6709 { ac_try='test -s conftest.
$ac_objext'
6710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); }; }; then
6715 ac_cv_prog_cxx_g=yes
6717 echo "$as_me: failed program was:" >&5
6718 sed 's
/^
/|
/' conftest.$ac_ext >&5
6722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6724 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6725 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6726 if test "$ac_test_CXXFLAGS" = set; then
6727 CXXFLAGS=$ac_save_CXXFLAGS
6728 elif test $ac_cv_prog_cxx_g = yes; then
6729 if test "$GXX" = yes; then
6735 if test "$GXX" = yes; then
6741 for ac_declaration in \
6743 'extern
"C" void std
::exit (int
) throw
(); using std
::exit;' \
6744 'extern
"C" void std
::exit (int
); using std
::exit;' \
6745 'extern
"C" void
exit (int
) throw
();' \
6746 'extern
"C" void
exit (int
);' \
6749 cat >conftest.$ac_ext <<_ACEOF
6752 cat confdefs.h >>conftest.$ac_ext
6753 cat >>conftest.$ac_ext <<_ACEOF
6754 /* end confdefs.h. */
6765 rm -f conftest.$ac_objext
6766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6767 (eval $ac_compile) 2>conftest.er1
6769 grep -v '^
*+' conftest.er1 >conftest.err
6771 cat conftest.err >&5
6772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773 (exit $ac_status); } &&
6774 { ac_try='test -z "$ac_cxx_werror_flag"
6775 ||
test ! -s conftest.err
'
6776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780 (exit $ac_status); }; } &&
6781 { ac_try='test -s conftest.
$ac_objext'
6782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786 (exit $ac_status); }; }; then
6789 echo "$as_me: failed program was:" >&5
6790 sed 's
/^
/|
/' conftest.$ac_ext >&5
6794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6795 cat >conftest.$ac_ext <<_ACEOF
6798 cat confdefs.h >>conftest.$ac_ext
6799 cat >>conftest.$ac_ext <<_ACEOF
6800 /* end confdefs.h. */
6810 rm -f conftest.$ac_objext
6811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6812 (eval $ac_compile) 2>conftest.er1
6814 grep -v '^
*+' conftest.er1 >conftest.err
6816 cat conftest.err >&5
6817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6818 (exit $ac_status); } &&
6819 { ac_try='test -z "$ac_cxx_werror_flag"
6820 ||
test ! -s conftest.err
'
6821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825 (exit $ac_status); }; } &&
6826 { ac_try='test -s conftest.
$ac_objext'
6827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831 (exit $ac_status); }; }; then
6834 echo "$as_me: failed program was:" >&5
6835 sed 's
/^
/|
/' conftest.$ac_ext >&5
6838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6841 if test -n "$ac_declaration"; then
6842 echo '#ifdef __cplusplus' >>confdefs.h
6843 echo $ac_declaration >>confdefs.h
6844 echo '#endif' >>confdefs.h
6848 ac_cpp
='$CPP $CPPFLAGS'
6849 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6850 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6851 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6853 depcc
="$CXX" am_compiler_list
=
6855 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6856 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6857 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6858 echo $ECHO_N "(cached) $ECHO_C" >&6
6860 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6861 # We make a subdir and do the tests there. Otherwise we can end up
6862 # making bogus files that we don't know about and never remove. For
6863 # instance it was reported that on HP-UX the gcc test will end up
6864 # making a dummy file named `D' -- because `-MD' means `put the output
6867 # Copy depcomp to subdir because otherwise we won't find it if we're
6868 # using a relative directory.
6869 cp "$am_depcomp" conftest.dir
6871 # We will build objects and dependencies in a subdirectory because
6872 # it helps to detect inapplicable dependency modes. For instance
6873 # both Tru64's cc and ICC support -MD to output dependencies as a
6874 # side effect of compilation, but ICC will put the dependencies in
6875 # the current directory while Tru64 will put them in the object
6879 am_cv_CXX_dependencies_compiler_type
=none
6880 if test "$am_compiler_list" = ""; then
6881 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6883 for depmode
in $am_compiler_list; do
6884 # Setup a source with many dependencies, because some compilers
6885 # like to wrap large dependency lists on column 80 (with \), and
6886 # we should not choose a depcomp mode which is confused by this.
6888 # We need to recreate these files for each test, as the compiler may
6889 # overwrite some of them when testing with obscure command lines.
6890 # This happens at least with the AIX C compiler.
6892 for i
in 1 2 3 4 5 6; do
6893 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6894 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6895 # Solaris 8's {/usr,}/bin/sh.
6896 touch sub
/conftst
$i.h
6898 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6902 # after this tag, mechanisms are not by side-effect, so they'll
6903 # only be used when explicitly requested
6904 if test "x$enable_dependency_tracking" = xyes
; then
6912 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6913 # mode. It turns out that the SunPro C++ compiler does not properly
6914 # handle `-M -o', and we need to detect this.
6915 if depmode
=$depmode \
6916 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6917 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6918 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6919 >/dev
/null
2>conftest.err
&&
6920 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6921 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6922 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6923 # icc doesn't choke on unknown options, it will just issue warnings
6924 # or remarks (even with -Werror). So we grep stderr for any message
6925 # that says an option was ignored or not supported.
6926 # When given -MP, icc 7.0 and 7.1 complain thusly:
6927 # icc: Command line warning: ignoring option '-M'; no argument required
6928 # The diagnosis changed in icc 8.0:
6929 # icc: Command line remark: option '-MP' not supported
6930 if (grep 'ignoring option' conftest.err ||
6931 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6932 am_cv_CXX_dependencies_compiler_type
=$depmode
6941 am_cv_CXX_dependencies_compiler_type
=none
6945 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6946 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
6947 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6952 test "x$enable_dependency_tracking" != xno \
6953 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6954 am__fastdepCXX_TRUE
=
6955 am__fastdepCXX_FALSE
='#'
6957 am__fastdepCXX_TRUE
='#'
6958 am__fastdepCXX_FALSE
=
6962 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6963 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6964 (test "X$CXX" != "Xg++"))) ; then
6966 ac_cpp
='$CXXCPP $CPPFLAGS'
6967 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6968 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6969 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6970 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6971 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6972 if test -z "$CXXCPP"; then
6973 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6974 echo $ECHO_N "(cached) $ECHO_C" >&6
6976 # Double quotes because CXXCPP needs to be expanded
6977 for CXXCPP
in "$CXX -E" "/lib/cpp"
6980 for ac_cxx_preproc_warn_flag
in '' yes
6982 # Use a header file that comes with gcc, so configuring glibc
6983 # with a fresh cross-compiler works.
6984 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6985 # <limits.h> exists even on freestanding compilers.
6986 # On the NeXT, cc -E runs the code through the compiler's parser,
6987 # not just through cpp. "Syntax error" is here to catch this case.
6988 cat >conftest.
$ac_ext <<_ACEOF
6991 cat confdefs.h
>>conftest.
$ac_ext
6992 cat >>conftest.
$ac_ext <<_ACEOF
6993 /* end confdefs.h. */
6995 # include <limits.h>
6997 # include <assert.h>
7001 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7002 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7004 grep -v '^ *+' conftest.er1
>conftest.err
7006 cat conftest.err
>&5
7007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7008 (exit $ac_status); } >/dev
/null
; then
7009 if test -s conftest.err
; then
7010 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7011 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7018 if test -z "$ac_cpp_err"; then
7021 echo "$as_me: failed program was:" >&5
7022 sed 's/^/| /' conftest.
$ac_ext >&5
7024 # Broken: fails on valid input.
7027 rm -f conftest.err conftest.
$ac_ext
7029 # OK, works on sane cases. Now check whether non-existent headers
7030 # can be detected and how.
7031 cat >conftest.
$ac_ext <<_ACEOF
7034 cat confdefs.h
>>conftest.
$ac_ext
7035 cat >>conftest.
$ac_ext <<_ACEOF
7036 /* end confdefs.h. */
7037 #include <ac_nonexistent.h>
7039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7040 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7042 grep -v '^ *+' conftest.er1
>conftest.err
7044 cat conftest.err
>&5
7045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046 (exit $ac_status); } >/dev
/null
; then
7047 if test -s conftest.err
; then
7048 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7049 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7056 if test -z "$ac_cpp_err"; then
7057 # Broken: success on invalid input.
7060 echo "$as_me: failed program was:" >&5
7061 sed 's/^/| /' conftest.
$ac_ext >&5
7063 # Passes both tests.
7067 rm -f conftest.err conftest.
$ac_ext
7070 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7071 rm -f conftest.err conftest.
$ac_ext
7072 if $ac_preproc_ok; then
7077 ac_cv_prog_CXXCPP
=$CXXCPP
7080 CXXCPP
=$ac_cv_prog_CXXCPP
7082 ac_cv_prog_CXXCPP
=$CXXCPP
7084 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7085 echo "${ECHO_T}$CXXCPP" >&6
7087 for ac_cxx_preproc_warn_flag
in '' yes
7089 # Use a header file that comes with gcc, so configuring glibc
7090 # with a fresh cross-compiler works.
7091 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7092 # <limits.h> exists even on freestanding compilers.
7093 # On the NeXT, cc -E runs the code through the compiler's parser,
7094 # not just through cpp. "Syntax error" is here to catch this case.
7095 cat >conftest.
$ac_ext <<_ACEOF
7098 cat confdefs.h
>>conftest.
$ac_ext
7099 cat >>conftest.
$ac_ext <<_ACEOF
7100 /* end confdefs.h. */
7102 # include <limits.h>
7104 # include <assert.h>
7108 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7109 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7111 grep -v '^ *+' conftest.er1
>conftest.err
7113 cat conftest.err
>&5
7114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7115 (exit $ac_status); } >/dev
/null
; then
7116 if test -s conftest.err
; then
7117 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7118 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7125 if test -z "$ac_cpp_err"; then
7128 echo "$as_me: failed program was:" >&5
7129 sed 's/^/| /' conftest.
$ac_ext >&5
7131 # Broken: fails on valid input.
7134 rm -f conftest.err conftest.
$ac_ext
7136 # OK, works on sane cases. Now check whether non-existent headers
7137 # can be detected and how.
7138 cat >conftest.
$ac_ext <<_ACEOF
7141 cat confdefs.h
>>conftest.
$ac_ext
7142 cat >>conftest.
$ac_ext <<_ACEOF
7143 /* end confdefs.h. */
7144 #include <ac_nonexistent.h>
7146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7147 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7149 grep -v '^ *+' conftest.er1
>conftest.err
7151 cat conftest.err
>&5
7152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153 (exit $ac_status); } >/dev
/null
; then
7154 if test -s conftest.err
; then
7155 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7156 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7163 if test -z "$ac_cpp_err"; then
7164 # Broken: success on invalid input.
7167 echo "$as_me: failed program was:" >&5
7168 sed 's/^/| /' conftest.
$ac_ext >&5
7170 # Passes both tests.
7174 rm -f conftest.err conftest.
$ac_ext
7177 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7178 rm -f conftest.err conftest.
$ac_ext
7179 if $ac_preproc_ok; then
7182 _lt_caught_CXX_error
=yes
7186 ac_cpp
='$CPP $CPPFLAGS'
7187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7192 _lt_caught_CXX_error
=yes
7199 # This can be used to rebuild libtool when needed
7200 LIBTOOL_DEPS
="$ltmain"
7202 # Always use our own libtool.
7203 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7229 test -z "$LN_S" && LN_S
="ln -s"
7244 if test -n "${ZSH_VERSION+set}" ; then
7245 setopt NO_GLOB_SUBST
7248 echo "$as_me:$LINENO: checking for objdir" >&5
7249 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7250 if test "${lt_cv_objdir+set}" = set; then
7251 echo $ECHO_N "(cached) $ECHO_C" >&6
7253 rm -f .libs
2>/dev
/null
7254 mkdir .libs
2>/dev
/null
7255 if test -d .libs
; then
7258 # MS-DOS does not allow filenames that begin with a dot.
7261 rmdir .libs
2>/dev
/null
7263 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7264 echo "${ECHO_T}$lt_cv_objdir" >&6
7265 objdir
=$lt_cv_objdir
7271 cat >>confdefs.h
<<_ACEOF
7272 #define LT_OBJDIR "$lt_cv_objdir/"
7293 # AIX sometimes has problems with the GCC collect2 program. For some
7294 # reason, if we set the COLLECT_NAMES environment variable, the problems
7295 # vanish in a puff of smoke.
7296 if test "X${COLLECT_NAMES+set}" != Xset
; then
7298 export COLLECT_NAMES
7303 # Sed substitution that helps us do robust quoting. It backslashifies
7304 # metacharacters that are still active within double-quoted strings.
7305 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7307 # Same as above, but do not quote variable references.
7308 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7310 # Sed substitution to delay expansion of an escaped shell variable in a
7311 # double_quote_subst'ed string.
7312 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7314 # Sed substitution to delay expansion of an escaped single quote.
7315 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7317 # Sed substitution to avoid accidental globbing in evaled expressions
7318 no_glob_subst
='s/\*/\\\*/g'
7322 can_build_shared
=yes
7324 # All known linkers require a `.a' archive for static linking (except MSVC,
7325 # which needs '.lib').
7328 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7331 old_CFLAGS
="$CFLAGS"
7333 # Set sane defaults for various variables
7334 test -z "$CC" && CC
=cc
7335 test -z "$LTCC" && LTCC
=$CC
7336 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7337 test -z "$LD" && LD
=ld
7338 test -z "$ac_objext" && ac_objext
=o
7340 for cc_temp
in $compiler""; do
7342 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7343 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7348 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7351 # Only perform the check for file, if the check method requires it
7352 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7353 case $deplibs_check_method in
7355 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7356 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7357 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7358 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7359 echo $ECHO_N "(cached) $ECHO_C" >&6
7363 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7366 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7367 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7368 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7369 for ac_dir
in $ac_dummy; do
7371 test -z "$ac_dir" && ac_dir
=.
7372 if test -f $ac_dir/${ac_tool_prefix}file; then
7373 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7374 if test -n "$file_magic_test_file"; then
7375 case $deplibs_check_method in
7377 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7378 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7379 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7380 $EGREP "$file_magic_regex" > /dev
/null
; then
7385 *** Warning: the command libtool uses to detect shared libraries,
7386 *** $file_magic_cmd, produces output that libtool cannot recognize.
7387 *** The result is that libtool may fail to recognize shared libraries
7388 *** as such. This will affect the creation of libtool libraries that
7389 *** depend on shared libraries, but programs linked with such libtool
7390 *** libraries will work regardless of this problem. Nevertheless, you
7391 *** may want to report the problem to your system manager and/or to
7392 *** bug-libtool@gnu.org
7402 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7407 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7408 if test -n "$MAGIC_CMD"; then
7409 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7410 echo "${ECHO_T}$MAGIC_CMD" >&6
7412 echo "$as_me:$LINENO: result: no" >&5
7413 echo "${ECHO_T}no" >&6
7420 if test -z "$lt_cv_path_MAGIC_CMD"; then
7421 if test -n "$ac_tool_prefix"; then
7422 echo "$as_me:$LINENO: checking for file" >&5
7423 echo $ECHO_N "checking for file... $ECHO_C" >&6
7424 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7425 echo $ECHO_N "(cached) $ECHO_C" >&6
7429 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7432 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7433 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7434 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7435 for ac_dir
in $ac_dummy; do
7437 test -z "$ac_dir" && ac_dir
=.
7438 if test -f $ac_dir/file; then
7439 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7440 if test -n "$file_magic_test_file"; then
7441 case $deplibs_check_method in
7443 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7444 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7445 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7446 $EGREP "$file_magic_regex" > /dev
/null
; then
7451 *** Warning: the command libtool uses to detect shared libraries,
7452 *** $file_magic_cmd, produces output that libtool cannot recognize.
7453 *** The result is that libtool may fail to recognize shared libraries
7454 *** as such. This will affect the creation of libtool libraries that
7455 *** depend on shared libraries, but programs linked with such libtool
7456 *** libraries will work regardless of this problem. Nevertheless, you
7457 *** may want to report the problem to your system manager and/or to
7458 *** bug-libtool@gnu.org
7468 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7473 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7474 if test -n "$MAGIC_CMD"; then
7475 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7476 echo "${ECHO_T}$MAGIC_CMD" >&6
7478 echo "$as_me:$LINENO: result: no" >&5
7479 echo "${ECHO_T}no" >&6
7492 # Use C for the default configuration in the libtool script
7496 ac_cpp
='$CPP $CPPFLAGS'
7497 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7498 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7499 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7502 # Source file extension for C test sources.
7505 # Object file extension for compiled C test sources.
7509 # Code to be used in simple compile tests
7510 lt_simple_compile_test_code
="int some_variable = 0;"
7512 # Code to be used in simple link tests
7513 lt_simple_link_test_code
='int main(){return(0);}'
7521 # If no C compiler was specified, use CC.
7524 # If no C compiler flags were specified, use CFLAGS.
7525 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7527 # Allow CC to be a program name with arguments.
7530 # Save the default compiler, since it gets overwritten when the other
7531 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7532 compiler_DEFAULT
=$CC
7534 # save warnings/boilerplate of simple test code
7535 ac_outfile
=conftest.
$ac_objext
7536 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7537 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7538 _lt_compiler_boilerplate
=`cat conftest.err`
7541 ac_outfile
=conftest.
$ac_objext
7542 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7543 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7544 _lt_linker_boilerplate
=`cat conftest.err`
7549 ## There is no encapsulation within the following macros, do not change
7550 ## the running order or otherwise move them around unless you know exactly
7551 ## what you are doing...
7552 if test -n "$compiler"; then
7554 lt_prog_compiler_no_builtin_flag
=
7556 if test "$GCC" = yes; then
7557 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7559 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7560 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7561 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7562 echo $ECHO_N "(cached) $ECHO_C" >&6
7564 lt_cv_prog_compiler_rtti_exceptions
=no
7565 ac_outfile
=conftest.
$ac_objext
7566 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7567 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7568 # Insert the option either (1) after the last *FLAGS variable, or
7569 # (2) before a word containing "conftest.", or (3) at the end.
7570 # Note that $ac_compile itself does not contain backslashes and begins
7571 # with a dollar sign (not a hyphen), so the echo should work correctly.
7572 # The option is referenced via a variable to avoid confusing sed.
7573 lt_compile
=`echo "$ac_compile" | $SED \
7574 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7575 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7576 -e 's:$: $lt_compiler_flag:'`
7577 (eval echo "\"\$as_me:7577: $lt_compile\"" >&5)
7578 (eval "$lt_compile" 2>conftest.err
)
7580 cat conftest.err
>&5
7581 echo "$as_me:7581: \$? = $ac_status" >&5
7582 if (exit $ac_status) && test -s "$ac_outfile"; then
7583 # The compiler can only warn and ignore the option if not recognized
7584 # So say no if there are warnings other than the usual output.
7585 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7586 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7587 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7588 lt_cv_prog_compiler_rtti_exceptions
=yes
7594 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7595 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7597 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7598 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7610 lt_prog_compiler_wl
=
7611 lt_prog_compiler_pic
=
7612 lt_prog_compiler_static
=
7614 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7615 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7617 if test "$GCC" = yes; then
7618 lt_prog_compiler_wl
='-Wl,'
7619 lt_prog_compiler_static
='-static'
7623 # All AIX code is PIC.
7624 if test "$host_cpu" = ia64
; then
7625 # AIX 5 now supports IA64 processor
7626 lt_prog_compiler_static
='-Bstatic'
7631 if test "$host_cpu" = m68k
; then
7632 # FIXME: we need at least 68020 code to build shared libraries, but
7633 # adding the `-m68020' flag to GCC prevents building anything better,
7635 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7639 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7640 # PIC is the default for these OSes.
7643 mingw
* | cygwin
* | pw32
* | os2
*)
7644 # This hack is so that the source file can tell whether it is being
7645 # built for inclusion in a dll (and should export symbols for example).
7646 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7647 # (--disable-auto-import) libraries
7648 lt_prog_compiler_pic
='-DDLL_EXPORT'
7651 darwin
* | rhapsody
*)
7652 # PIC is the default on this platform
7653 # Common symbols not allowed in MH_DYLIB files
7654 lt_prog_compiler_pic
='-fno-common'
7658 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7665 lt_prog_compiler_pic
='-fPIC'
7671 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7672 # Instead, we relocate shared libraries at runtime.
7676 # Just because we use GCC doesn't mean we suddenly get shared libraries
7677 # on systems that don't support them.
7678 lt_prog_compiler_can_build_shared
=no
7683 # QNX uses GNU C++, but need to define -shared option too, otherwise
7685 lt_prog_compiler_pic
='-fPIC -shared'
7689 if test -d /usr
/nec
; then
7690 lt_prog_compiler_pic
=-Kconform_pic
7695 lt_prog_compiler_pic
='-fPIC'
7699 # PORTME Check for flag to pass linker flags through the system compiler.
7702 lt_prog_compiler_wl
='-Wl,'
7703 if test "$host_cpu" = ia64
; then
7704 # AIX 5 now supports IA64 processor
7705 lt_prog_compiler_static
='-Bstatic'
7707 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7711 # PIC is the default on this platform
7712 # Common symbols not allowed in MH_DYLIB files
7713 case $cc_basename in
7715 lt_prog_compiler_pic
='-qnocommon'
7716 lt_prog_compiler_wl
='-Wl,'
7721 mingw
* | cygwin
* | pw32
* | os2
*)
7722 # This hack is so that the source file can tell whether it is being
7723 # built for inclusion in a dll (and should export symbols for example).
7724 lt_prog_compiler_pic
='-DDLL_EXPORT'
7727 hpux9
* | hpux10
* | hpux11
*)
7728 lt_prog_compiler_wl
='-Wl,'
7729 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7736 lt_prog_compiler_pic
='+Z'
7739 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7740 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7743 irix5
* | irix6
* | nonstopux
*)
7744 lt_prog_compiler_wl
='-Wl,'
7745 # PIC (with -KPIC) is the default.
7746 lt_prog_compiler_static
='-non_shared'
7749 linux
* | k
*bsd
*-gnu)
7750 case $cc_basename in
7752 lt_prog_compiler_wl
='-Wl,'
7753 lt_prog_compiler_pic
='-KPIC'
7754 lt_prog_compiler_static
='-static'
7756 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7757 # Portland Group compilers (*not* the Pentium gcc compiler,
7758 # which looks to be a dead project)
7759 lt_prog_compiler_wl
='-Wl,'
7760 lt_prog_compiler_pic
='-fpic'
7761 lt_prog_compiler_static
='-Bstatic'
7764 lt_prog_compiler_wl
='-Wl,'
7765 # All Alpha code is PIC.
7766 lt_prog_compiler_static
='-non_shared'
7769 case `$CC -V 2>&1 | sed 5q` in
7772 lt_prog_compiler_pic
='-KPIC'
7773 lt_prog_compiler_static
='-Bstatic'
7774 lt_prog_compiler_wl
='-Wl,'
7777 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7778 lt_prog_compiler_pic
='-KPIC'
7779 lt_prog_compiler_static
='-Bstatic'
7780 lt_prog_compiler_wl
=''
7788 lt_prog_compiler_pic
='-KPIC'
7789 lt_prog_compiler_static
='-Bstatic'
7793 # QNX uses GNU C++, but need to define -shared option too, otherwise
7795 lt_prog_compiler_pic
='-fPIC -shared'
7798 osf3
* | osf4
* | osf5
*)
7799 lt_prog_compiler_wl
='-Wl,'
7800 # All OSF/1 code is PIC.
7801 lt_prog_compiler_static
='-non_shared'
7805 lt_prog_compiler_static
='-non_shared'
7809 lt_prog_compiler_pic
='-KPIC'
7810 lt_prog_compiler_static
='-Bstatic'
7811 case $cc_basename in
7813 lt_prog_compiler_wl
='-Qoption ld ';;
7815 lt_prog_compiler_wl
='-Wl,';;
7820 lt_prog_compiler_wl
='-Qoption ld '
7821 lt_prog_compiler_pic
='-PIC'
7822 lt_prog_compiler_static
='-Bstatic'
7825 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7826 lt_prog_compiler_wl
='-Wl,'
7827 lt_prog_compiler_pic
='-KPIC'
7828 lt_prog_compiler_static
='-Bstatic'
7832 if test -d /usr
/nec
;then
7833 lt_prog_compiler_pic
='-Kconform_pic'
7834 lt_prog_compiler_static
='-Bstatic'
7838 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7839 lt_prog_compiler_wl
='-Wl,'
7840 lt_prog_compiler_pic
='-KPIC'
7841 lt_prog_compiler_static
='-Bstatic'
7845 lt_prog_compiler_wl
='-Wl,'
7846 lt_prog_compiler_can_build_shared
=no
7850 lt_prog_compiler_pic
='-pic'
7851 lt_prog_compiler_static
='-Bstatic'
7855 lt_prog_compiler_can_build_shared
=no
7861 # For platforms which do not support PIC, -DPIC is meaningless:
7863 lt_prog_compiler_pic
=
7866 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7869 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7870 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7878 # Check to make sure the PIC flag actually works.
7880 if test -n "$lt_prog_compiler_pic"; then
7881 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7882 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7883 if test "${lt_prog_compiler_pic_works+set}" = set; then
7884 echo $ECHO_N "(cached) $ECHO_C" >&6
7886 lt_prog_compiler_pic_works
=no
7887 ac_outfile
=conftest.
$ac_objext
7888 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7889 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7890 # Insert the option either (1) after the last *FLAGS variable, or
7891 # (2) before a word containing "conftest.", or (3) at the end.
7892 # Note that $ac_compile itself does not contain backslashes and begins
7893 # with a dollar sign (not a hyphen), so the echo should work correctly.
7894 # The option is referenced via a variable to avoid confusing sed.
7895 lt_compile
=`echo "$ac_compile" | $SED \
7896 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7897 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7898 -e 's:$: $lt_compiler_flag:'`
7899 (eval echo "\"\$as_me:7899: $lt_compile\"" >&5)
7900 (eval "$lt_compile" 2>conftest.err
)
7902 cat conftest.err
>&5
7903 echo "$as_me:7903: \$? = $ac_status" >&5
7904 if (exit $ac_status) && test -s "$ac_outfile"; then
7905 # The compiler can only warn and ignore the option if not recognized
7906 # So say no if there are warnings other than the usual output.
7907 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7908 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7909 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7910 lt_prog_compiler_pic_works
=yes
7916 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7917 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7919 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7920 case $lt_prog_compiler_pic in
7922 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7925 lt_prog_compiler_pic
=
7926 lt_prog_compiler_can_build_shared
=no
7937 # Check to make sure the static flag actually works.
7939 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7940 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7941 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7942 if test "${lt_prog_compiler_static_works+set}" = set; then
7943 echo $ECHO_N "(cached) $ECHO_C" >&6
7945 lt_prog_compiler_static_works
=no
7946 save_LDFLAGS
="$LDFLAGS"
7947 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7948 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7949 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7950 # The linker can only warn and ignore the option if not recognized
7951 # So say no if there are warnings
7952 if test -s conftest.err
; then
7953 # Append any errors to the config.log.
7954 cat conftest.err
1>&5
7955 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7956 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7957 if diff conftest.exp conftest.er2
>/dev
/null
; then
7958 lt_prog_compiler_static_works
=yes
7961 lt_prog_compiler_static_works
=yes
7965 LDFLAGS
="$save_LDFLAGS"
7968 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7969 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7971 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7974 lt_prog_compiler_static
=
7983 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7984 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7985 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7986 echo $ECHO_N "(cached) $ECHO_C" >&6
7988 lt_cv_prog_compiler_c_o
=no
7989 $RM -r conftest
2>/dev
/null
7993 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7995 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7996 # Insert the option either (1) after the last *FLAGS variable, or
7997 # (2) before a word containing "conftest.", or (3) at the end.
7998 # Note that $ac_compile itself does not contain backslashes and begins
7999 # with a dollar sign (not a hyphen), so the echo should work correctly.
8000 lt_compile
=`echo "$ac_compile" | $SED \
8001 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8002 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8003 -e 's:$: $lt_compiler_flag:'`
8004 (eval echo "\"\$as_me:8004: $lt_compile\"" >&5)
8005 (eval "$lt_compile" 2>out
/conftest.err
)
8007 cat out
/conftest.err
>&5
8008 echo "$as_me:8008: \$? = $ac_status" >&5
8009 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8011 # The compiler can only warn and ignore the option if not recognized
8012 # So say no if there are warnings
8013 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8014 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8015 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8016 lt_cv_prog_compiler_c_o
=yes
8021 # SGI C++ compiler will create directory out/ii_files/ for
8022 # template instantiation
8023 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8024 $RM out
/* && rmdir out
8030 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8031 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8038 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8039 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8040 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8041 echo $ECHO_N "(cached) $ECHO_C" >&6
8043 lt_cv_prog_compiler_c_o
=no
8044 $RM -r conftest
2>/dev
/null
8048 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8050 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8051 # Insert the option either (1) after the last *FLAGS variable, or
8052 # (2) before a word containing "conftest.", or (3) at the end.
8053 # Note that $ac_compile itself does not contain backslashes and begins
8054 # with a dollar sign (not a hyphen), so the echo should work correctly.
8055 lt_compile
=`echo "$ac_compile" | $SED \
8056 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8057 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8058 -e 's:$: $lt_compiler_flag:'`
8059 (eval echo "\"\$as_me:8059: $lt_compile\"" >&5)
8060 (eval "$lt_compile" 2>out
/conftest.err
)
8062 cat out
/conftest.err
>&5
8063 echo "$as_me:8063: \$? = $ac_status" >&5
8064 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8066 # The compiler can only warn and ignore the option if not recognized
8067 # So say no if there are warnings
8068 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8069 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8070 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8071 lt_cv_prog_compiler_c_o
=yes
8076 # SGI C++ compiler will create directory out/ii_files/ for
8077 # template instantiation
8078 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8079 $RM out
/* && rmdir out
8085 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8086 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8091 hard_links
="nottested"
8092 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8093 # do not overwrite the value of need_locks provided by the user
8094 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8095 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8098 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8100 ln conftest.a conftest.b
2>&5 || hard_links
=no
8101 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8102 echo "$as_me:$LINENO: result: $hard_links" >&5
8103 echo "${ECHO_T}$hard_links" >&6
8104 if test "$hard_links" = no
; then
8105 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8106 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8118 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8119 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8122 allow_undefined_flag
=
8123 always_export_symbols
=no
8125 archive_expsym_cmds
=
8126 compiler_needs_object
=no
8127 enable_shared_with_static_runtimes
=no
8128 export_dynamic_flag_spec
=
8129 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8130 hardcode_automatic
=no
8132 hardcode_direct_absolute
=no
8133 hardcode_libdir_flag_spec
=
8134 hardcode_libdir_flag_spec_ld
=
8135 hardcode_libdir_separator
=
8137 hardcode_shlibpath_var
=unsupported
8139 link_all_deplibs
=unknown
8142 old_archive_from_new_cmds
=
8143 old_archive_from_expsyms_cmds
=
8144 thread_safe_flag_spec
=
8145 whole_archive_flag_spec
=
8146 # include_expsyms should be a list of space-separated symbols to be *always*
8147 # included in the symbol list
8149 # exclude_expsyms can be an extended regexp of symbols to exclude
8150 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8151 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8152 # as well as any symbol that contains `d'.
8153 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
8154 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8155 # platforms (ab)use it in PIC code, but their linkers get confused if
8156 # the symbol is explicitly referenced. Since portable code cannot
8157 # rely on this symbol name, it's probably fine to never include it in
8158 # preloaded symbol tables.
8159 extract_expsyms_cmds
=
8162 cygwin
* | mingw
* | pw32
*)
8163 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8164 # When not using gcc, we currently assume that we are using
8165 # Microsoft Visual C++.
8166 if test "$GCC" != yes; then
8171 # we just hope/assume this is gcc and not c89 (= MSVC++)
8180 if test "$with_gnu_ld" = yes; then
8181 # If archive_cmds runs LD, not CC, wlarc should be empty
8184 # Set some defaults for GNU ld with shared library support. These
8185 # are reset later if shared libraries are not supported. Putting them
8186 # here allows them to be overridden if necessary.
8187 runpath_var
=LD_RUN_PATH
8188 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8189 export_dynamic_flag_spec
='${wl}--export-dynamic'
8190 # ancient GNU ld didn't support --whole-archive et. al.
8191 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8192 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8194 whole_archive_flag_spec
=
8196 supports_anon_versioning
=no
8197 case `$LD -v 2>&1` in
8198 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8199 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8200 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8201 *\
2.11.
*) ;; # other 2.11 versions
8202 *) supports_anon_versioning
=yes ;;
8205 # See if GNU ld supports shared libraries.
8208 # On AIX/PPC, the GNU linker is very broken
8209 if test "$host_cpu" != ia64
; then
8213 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8214 *** to be unable to reliably create shared libraries on AIX.
8215 *** Therefore, libtool is disabling shared libraries support. If you
8216 *** really care for shared libraries, you may want to modify your PATH
8217 *** so that a non-GNU linker is found, and then restart.
8224 if test "$host_cpu" = m68k
; then
8225 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)'
8226 hardcode_libdir_flag_spec
='-L$libdir'
8227 hardcode_minus_L
=yes
8230 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8231 # that the semantics of dynamic libraries on AmigaOS, at least up
8232 # to version 4, is to share data among multiple programs linked
8233 # with the same dynamic library. Since this doesn't match the
8234 # behavior of shared libraries on other platforms, we can't use
8240 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8241 allow_undefined_flag
=unsupported
8242 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8243 # support --undefined. This deserves some investigation. FIXME
8244 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8250 cygwin
* | mingw
* | pw32
*)
8251 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8252 # as there is no search path for DLLs.
8253 hardcode_libdir_flag_spec
='-L$libdir'
8254 allow_undefined_flag
=unsupported
8255 always_export_symbols
=no
8256 enable_shared_with_static_runtimes
=yes
8257 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8259 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8260 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8261 # If the export-symbols file already is a .def file (1st line
8262 # is EXPORTS), use it as is; otherwise, prepend...
8263 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8264 cp $export_symbols $output_objdir/$soname.def;
8266 echo EXPORTS > $output_objdir/$soname.def;
8267 cat $export_symbols >> $output_objdir/$soname.def;
8269 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8277 hardcode_shlibpath_var
=no
8278 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8279 export_dynamic_flag_spec
='${wl}-E'
8280 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8281 # Instead, shared libraries are loaded at an image base (0x10000000 by
8282 # default) and relocated if they conflict, which is a slow very memory
8283 # consuming and fragmenting process. To avoid this, we pick a random,
8284 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8285 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8286 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8287 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'
8290 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8292 if test "$host_os" = linux-dietlibc
; then
8293 case $cc_basename in
8294 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8297 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8298 && test "$tmp_diet" = no
8301 case $cc_basename,$host_cpu in
8302 pgcc
*) # Portland Group C compiler
8303 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'
8304 tmp_addflag
=' $pic_flag'
8306 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8307 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'
8308 tmp_addflag
=' $pic_flag -Mnomain' ;;
8309 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8310 tmp_addflag
=' -i_dynamic' ;;
8311 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8312 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8313 ifc
* | ifort
*) # Intel Fortran compiler
8314 tmp_addflag
=' -nofor_main' ;;
8316 case `$CC -V 2>&1 | sed 5q` in
8317 *Sun\ C
*) # Sun C 5.9
8318 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'
8319 compiler_needs_object
=yes
8320 tmp_sharedflag
='-G' ;;
8321 *Sun\ F
*) # Sun Fortran 8.3
8322 tmp_sharedflag
='-G' ;;
8324 tmp_sharedflag
='-shared' ;;
8326 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8328 if test "x$supports_anon_versioning" = xyes
; then
8329 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8330 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8331 echo "local: *; };" >> $output_objdir/$libname.ver~
8332 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8340 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8341 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8344 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8345 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8350 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8354 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8355 *** create shared libraries on Solaris systems. Therefore, libtool
8356 *** is disabling shared libraries support. We urge you to upgrade GNU
8357 *** binutils to release 2.9.1 or newer. Another option is to modify
8358 *** your PATH or compiler configuration so that the native linker is
8359 *** used, and then restart.
8362 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8363 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8364 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8370 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8371 case `$LD -v 2>&1` in
8372 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8376 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8377 *** reliably create shared libraries on SCO systems. Therefore, libtool
8378 *** is disabling shared libraries support. We urge you to upgrade GNU
8379 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8380 *** your PATH or compiler configuration so that the native linker is
8381 *** used, and then restart.
8386 # For security reasons, it is highly recommended that you always
8387 # use absolute paths for naming shared libraries, and exclude the
8388 # DT_RUNPATH tag from executables and libraries. But doing so
8389 # requires that you compile everything twice, which is a pain.
8390 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8391 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8392 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8393 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8402 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8405 hardcode_shlibpath_var
=no
8409 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8410 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8411 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8418 if test "$ld_shlibs" = no
; then
8420 hardcode_libdir_flag_spec
=
8421 export_dynamic_flag_spec
=
8422 whole_archive_flag_spec
=
8425 # PORTME fill in a description of your system's linker (not GNU ld)
8428 allow_undefined_flag
=unsupported
8429 always_export_symbols
=yes
8430 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'
8431 # Note: this linker hardcodes the directories in LIBPATH if there
8432 # are no directories specified by -L.
8433 hardcode_minus_L
=yes
8434 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8435 # Neither direct hardcoding nor static linking is supported with a
8437 hardcode_direct
=unsupported
8442 if test "$host_cpu" = ia64
; then
8443 # On IA64, the linker does run time linking by default, so we don't
8444 # have to do anything special.
8445 aix_use_runtimelinking
=no
8446 exp_sym_flag
='-Bexport'
8449 # If we're using GNU nm, then we don't want the "-C" option.
8450 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8451 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8452 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'
8454 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'
8456 aix_use_runtimelinking
=no
8458 # Test if we are trying to use run time linking or normal
8459 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8460 # need to do runtime linking.
8461 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8462 for ld_flag
in $LDFLAGS; do
8463 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8464 aix_use_runtimelinking
=yes
8471 exp_sym_flag
='-bexport'
8472 no_entry_flag
='-bnoentry'
8475 # When large executables or shared objects are built, AIX ld can
8476 # have problems creating the table of contents. If linking a library
8477 # or program results in "error TOC overflow" add -mminimal-toc to
8478 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8479 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8483 hardcode_direct_absolute
=yes
8484 hardcode_libdir_separator
=':'
8485 link_all_deplibs
=yes
8486 file_list_spec
='${wl}-f,'
8488 if test "$GCC" = yes; then
8489 case $host_os in aix4.
[012]|aix4.
[012].
*)
8490 # We only want to do this on AIX 4.2 and lower, the check
8491 # below for broken collect2 doesn't work under 4.3+
8492 collect2name
=`${CC} -print-prog-name=collect2`
8493 if test -f "$collect2name" &&
8494 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8496 # We have reworked collect2
8499 # We have old collect2
8500 hardcode_direct
=unsupported
8501 # It fails to find uninstalled libraries when the uninstalled
8502 # path is not listed in the libpath. Setting hardcode_minus_L
8503 # to unsupported forces relinking
8504 hardcode_minus_L
=yes
8505 hardcode_libdir_flag_spec
='-L$libdir'
8506 hardcode_libdir_separator
=
8510 shared_flag
='-shared'
8511 if test "$aix_use_runtimelinking" = yes; then
8512 shared_flag
="$shared_flag "'${wl}-G'
8516 if test "$host_cpu" = ia64
; then
8517 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8518 # chokes on -Wl,-G. The following line is correct:
8521 if test "$aix_use_runtimelinking" = yes; then
8522 shared_flag
='${wl}-G'
8524 shared_flag
='${wl}-bM:SRE'
8529 # It seems that -bexpall does not export symbols beginning with
8530 # underscore (_), so it is better to generate a list of symbols to export.
8531 always_export_symbols
=yes
8532 if test "$aix_use_runtimelinking" = yes; then
8533 # Warning - without using the other runtime loading flags (-brtl),
8534 # -berok will link without error, but may produce a broken library.
8535 allow_undefined_flag
='-berok'
8536 # Determine the default libpath from the value encoded in an
8538 if test x
$gcc_no_link = xyes
; then
8539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8541 { (exit 1); exit 1; }; }
8543 cat >conftest.
$ac_ext <<_ACEOF
8546 cat confdefs.h
>>conftest.
$ac_ext
8547 cat >>conftest.
$ac_ext <<_ACEOF
8548 /* end confdefs.h. */
8558 rm -f conftest.
$ac_objext conftest
$ac_exeext
8559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8560 (eval $ac_link) 2>conftest.er1
8562 grep -v '^ *+' conftest.er1
>conftest.err
8564 cat conftest.err
>&5
8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8566 (exit $ac_status); } &&
8567 { ac_try
='test -z "$ac_c_werror_flag"
8568 || test ! -s conftest.err'
8569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573 (exit $ac_status); }; } &&
8574 { ac_try
='test -s conftest$ac_exeext'
8575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8579 (exit $ac_status); }; }; then
8581 lt_aix_libpath_sed
='
8582 /Import File Strings/,/^$/ {
8588 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8589 # Check for a 64-bit object if we didn't find anything.
8590 if test -z "$aix_libpath"; then
8591 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8594 echo "$as_me: failed program was:" >&5
8595 sed 's/^/| /' conftest.
$ac_ext >&5
8598 rm -f conftest.err conftest.
$ac_objext \
8599 conftest
$ac_exeext conftest.
$ac_ext
8600 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8602 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8603 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"
8605 if test "$host_cpu" = ia64
; then
8606 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8607 allow_undefined_flag
="-z nodefs"
8608 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"
8610 # Determine the default libpath from the value encoded in an
8612 if test x
$gcc_no_link = xyes
; then
8613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8615 { (exit 1); exit 1; }; }
8617 cat >conftest.
$ac_ext <<_ACEOF
8620 cat confdefs.h
>>conftest.
$ac_ext
8621 cat >>conftest.
$ac_ext <<_ACEOF
8622 /* end confdefs.h. */
8632 rm -f conftest.
$ac_objext conftest
$ac_exeext
8633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8634 (eval $ac_link) 2>conftest.er1
8636 grep -v '^ *+' conftest.er1
>conftest.err
8638 cat conftest.err
>&5
8639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640 (exit $ac_status); } &&
8641 { ac_try
='test -z "$ac_c_werror_flag"
8642 || test ! -s conftest.err'
8643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647 (exit $ac_status); }; } &&
8648 { ac_try
='test -s conftest$ac_exeext'
8649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8653 (exit $ac_status); }; }; then
8655 lt_aix_libpath_sed
='
8656 /Import File Strings/,/^$/ {
8662 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8663 # Check for a 64-bit object if we didn't find anything.
8664 if test -z "$aix_libpath"; then
8665 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8668 echo "$as_me: failed program was:" >&5
8669 sed 's/^/| /' conftest.
$ac_ext >&5
8672 rm -f conftest.err conftest.
$ac_objext \
8673 conftest
$ac_exeext conftest.
$ac_ext
8674 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8676 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8677 # Warning - without using the other run time loading flags,
8678 # -berok will link without error, but may produce a broken library.
8679 no_undefined_flag
=' ${wl}-bernotok'
8680 allow_undefined_flag
=' ${wl}-berok'
8681 # Exported symbols can be pulled into shared objects from archives
8682 whole_archive_flag_spec
='$convenience'
8683 archive_cmds_need_lc
=yes
8684 # This is similar to how AIX traditionally builds its shared libraries.
8685 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'
8691 if test "$host_cpu" = m68k
; then
8692 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)'
8693 hardcode_libdir_flag_spec
='-L$libdir'
8694 hardcode_minus_L
=yes
8696 # see comment about different semantics on the GNU ld section
8701 export_dynamic_flag_spec
=-rdynamic
8704 cygwin
* | mingw
* | pw32
*)
8705 # When not using gcc, we currently assume that we are using
8706 # Microsoft Visual C++.
8707 # hardcode_libdir_flag_spec is actually meaningless, as there is
8708 # no search path for DLLs.
8709 hardcode_libdir_flag_spec
=' '
8710 allow_undefined_flag
=unsupported
8711 # Tell ltmain to make .lib files, not .a files.
8713 # Tell ltmain to make .dll files, not .so files.
8715 # FIXME: Setting linknames here is a bad hack.
8716 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8717 # The linker will automatically build a .lib file if we build a DLL.
8718 old_archive_from_new_cmds
='true'
8719 # FIXME: Should let the user specify the lib program.
8720 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8721 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8722 enable_shared_with_static_runtimes
=yes
8725 darwin
* | rhapsody
*)
8727 rhapsody
* | darwin1.
[012])
8728 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8731 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8733 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8736 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8741 archive_cmds_need_lc
=no
8743 hardcode_automatic
=yes
8744 hardcode_shlibpath_var
=unsupported
8745 whole_archive_flag_spec
=''
8746 link_all_deplibs
=yes
8747 if test "$GCC" = yes ; then
8748 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8749 echo $ECHO_N "(cached) $ECHO_C" >&6
8751 lt_cv_apple_cc_single_mod
=no
8752 if test -z "${LT_MULTI_MODULE}"; then
8753 # By default we will add the -single_module flag. You can override
8754 # by either setting the environment variable LT_MULTI_MODULE
8755 # non-empty at configure time, or by adding -multi-module to the
8757 echo "int foo(void){return 1;}" > conftest.c
8758 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8759 -dynamiclib ${wl}-single_module conftest.c
8760 if test -f libconftest.dylib
; then
8761 lt_cv_apple_cc_single_mod
=yes
8762 rm libconftest.dylib
8768 output_verbose_link_cmd
=echo
8769 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
8770 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8771 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}'
8773 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8774 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}'
8776 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8777 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}'
8779 case $cc_basename in
8781 output_verbose_link_cmd
=echo
8782 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8783 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8784 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8785 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}'
8786 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}'
8796 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8797 hardcode_libdir_flag_spec
='-L$libdir'
8798 hardcode_shlibpath_var
=no
8805 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8806 # support. Future versions do this automatically, but an explicit c++rt0.o
8807 # does not break anything, and helps significantly (at the cost of a little
8810 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8811 hardcode_libdir_flag_spec
='-R$libdir'
8813 hardcode_shlibpath_var
=no
8816 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8818 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8820 hardcode_minus_L
=yes
8821 hardcode_shlibpath_var
=no
8824 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8825 freebsd
* | dragonfly
*)
8826 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8827 hardcode_libdir_flag_spec
='-R$libdir'
8829 hardcode_shlibpath_var
=no
8833 if test "$GCC" = yes; then
8834 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'
8836 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'
8838 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8839 hardcode_libdir_separator
=:
8842 # hardcode_minus_L: Not really in the search PATH,
8843 # but as the default location of the library.
8844 hardcode_minus_L
=yes
8845 export_dynamic_flag_spec
='${wl}-E'
8849 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8850 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8852 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8854 if test "$with_gnu_ld" = no
; then
8855 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8856 hardcode_libdir_flag_spec_ld
='+b $libdir'
8857 hardcode_libdir_separator
=:
8859 hardcode_direct_absolute
=yes
8860 export_dynamic_flag_spec
='${wl}-E'
8861 # hardcode_minus_L: Not really in the search PATH,
8862 # but as the default location of the library.
8863 hardcode_minus_L
=yes
8868 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8871 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8874 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8877 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8883 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8886 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8889 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8893 if test "$with_gnu_ld" = no
; then
8894 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8895 hardcode_libdir_separator
=:
8900 hardcode_shlibpath_var
=no
8904 hardcode_direct_absolute
=yes
8905 export_dynamic_flag_spec
='${wl}-E'
8907 # hardcode_minus_L: Not really in the search PATH,
8908 # but as the default location of the library.
8909 hardcode_minus_L
=yes
8915 irix5
* | irix6
* | nonstopux
*)
8916 if test "$GCC" = yes; then
8917 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'
8918 # Try to use the -exported_symbol ld option, if it does not
8919 # work, assume that -exports_file does not work either and
8920 # implicitly export all symbols.
8921 save_LDFLAGS
="$LDFLAGS"
8922 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8923 if test x
$gcc_no_link = xyes
; then
8924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8926 { (exit 1); exit 1; }; }
8928 cat >conftest.
$ac_ext <<_ACEOF
8931 rm -f conftest.
$ac_objext conftest
$ac_exeext
8932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8933 (eval $ac_link) 2>conftest.er1
8935 grep -v '^ *+' conftest.er1
>conftest.err
8937 cat conftest.err
>&5
8938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8939 (exit $ac_status); } &&
8940 { ac_try
='test -z "$ac_c_werror_flag"
8941 || test ! -s conftest.err'
8942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8946 (exit $ac_status); }; } &&
8947 { ac_try
='test -s conftest$ac_exeext'
8948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8952 (exit $ac_status); }; }; then
8953 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'
8956 echo "$as_me: failed program was:" >&5
8957 sed 's/^/| /' conftest.
$ac_ext >&5
8960 rm -f conftest.err conftest.
$ac_objext \
8961 conftest
$ac_exeext conftest.
$ac_ext
8962 LDFLAGS
="$save_LDFLAGS"
8964 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'
8965 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'
8967 archive_cmds_need_lc
='no'
8968 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8969 hardcode_libdir_separator
=:
8971 link_all_deplibs
=yes
8975 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8976 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8978 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8980 hardcode_libdir_flag_spec
='-R$libdir'
8982 hardcode_shlibpath_var
=no
8986 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8988 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8989 hardcode_libdir_separator
=:
8990 hardcode_shlibpath_var
=no
8998 hardcode_shlibpath_var
=no
8999 hardcode_direct_absolute
=yes
9000 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9001 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9002 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9003 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9004 export_dynamic_flag_spec
='${wl}-E'
9007 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9008 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9009 hardcode_libdir_flag_spec
='-R$libdir'
9012 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9013 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9020 hardcode_libdir_flag_spec
='-L$libdir'
9021 hardcode_minus_L
=yes
9022 allow_undefined_flag
=unsupported
9023 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'
9024 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9028 if test "$GCC" = yes; then
9029 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9030 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'
9032 allow_undefined_flag
=' -expect_unresolved \*'
9033 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'
9035 archive_cmds_need_lc
='no'
9036 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9037 hardcode_libdir_separator
=:
9040 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9041 if test "$GCC" = yes; then
9042 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9043 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'
9044 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9046 allow_undefined_flag
=' -expect_unresolved \*'
9047 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'
9048 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~
9049 $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'
9051 # Both c and cxx compiler support -rpath directly
9052 hardcode_libdir_flag_spec
='-rpath $libdir'
9054 archive_cmds_need_lc
='no'
9055 hardcode_libdir_separator
=:
9059 no_undefined_flag
=' -z defs'
9060 if test "$GCC" = yes; then
9062 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9063 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9064 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9066 case `$CC -V 2>&1` in
9069 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9070 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9071 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9075 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9076 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9077 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9081 hardcode_libdir_flag_spec
='-R$libdir'
9082 hardcode_shlibpath_var
=no
9084 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9086 # The compiler driver will combine and reorder linker options,
9087 # but understands `-z linker_flag'. GCC discards it without `$wl',
9088 # but is careful enough not to reorder.
9089 # Supported since Solaris 2.6 (maybe 2.5.1?)
9090 if test "$GCC" = yes; then
9091 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9093 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9097 link_all_deplibs
=yes
9101 if test "x$host_vendor" = xsequent
; then
9102 # Use $CC to link under sequent, because it throws in some extra .o
9103 # files that make .init and .fini sections work.
9104 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9106 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9108 hardcode_libdir_flag_spec
='-L$libdir'
9110 hardcode_minus_L
=yes
9111 hardcode_shlibpath_var
=no
9115 case $host_vendor in
9117 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9118 hardcode_direct
=yes # is this really true???
9121 ## LD is ld it makes a PLAMLIB
9122 ## CC just makes a GrossModule.
9123 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9124 reload_cmds
='$CC -r -o $output$reload_objs'
9128 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9129 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9132 runpath_var
='LD_RUN_PATH'
9133 hardcode_shlibpath_var
=no
9137 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9138 hardcode_shlibpath_var
=no
9139 export_dynamic_flag_spec
='-Bexport'
9143 if test -d /usr
/nec
; then
9144 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9145 hardcode_shlibpath_var
=no
9146 runpath_var
=LD_RUN_PATH
9147 hardcode_runpath_var
=yes
9152 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9153 no_undefined_flag
='${wl}-z,text'
9154 archive_cmds_need_lc
=no
9155 hardcode_shlibpath_var
=no
9156 runpath_var
='LD_RUN_PATH'
9158 if test "$GCC" = yes; then
9159 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9160 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9162 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9163 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9167 sysv5
* | sco3.2v5
* | sco5v6
*)
9168 # Note: We can NOT use -z defs as we might desire, because we do not
9169 # link with -lc, and that would cause any symbols used from libc to
9170 # always be unresolved, which means just about no library would
9171 # ever link correctly. If we're not using GNU ld we use -z text
9172 # though, which does catch some bad symbols but isn't as heavy-handed
9174 no_undefined_flag
='${wl}-z,text'
9175 allow_undefined_flag
='${wl}-z,nodefs'
9176 archive_cmds_need_lc
=no
9177 hardcode_shlibpath_var
=no
9178 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9179 hardcode_libdir_separator
=':'
9180 link_all_deplibs
=yes
9181 export_dynamic_flag_spec
='${wl}-Bexport'
9182 runpath_var
='LD_RUN_PATH'
9184 if test "$GCC" = yes; then
9185 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9186 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9188 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9189 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9194 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9195 hardcode_libdir_flag_spec
='-L$libdir'
9196 hardcode_shlibpath_var
=no
9204 if test x
$host_vendor = xsni
; then
9206 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9207 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9213 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9214 echo "${ECHO_T}$ld_shlibs" >&6
9215 test "$ld_shlibs" = no
&& can_build_shared
=no
9217 with_gnu_ld
=$with_gnu_ld
9234 # Do we need to explicitly link libc?
9236 case "x$archive_cmds_need_lc" in
9238 # Assume -lc should be added
9239 archive_cmds_need_lc
=yes
9241 if test "$enable_shared" = yes && test "$GCC" = yes; then
9242 case $archive_cmds in
9244 # FIXME: we may have to deal with multi-command sequences.
9247 # Test whether the compiler implicitly links with -lc since on some
9248 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9249 # to ld, don't add -lc before -lgcc.
9250 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9251 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9253 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9256 (eval $ac_compile) 2>&5
9258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9259 (exit $ac_status); } 2>conftest.err
; then
9262 libobjs
=conftest.
$ac_objext
9264 wl
=$lt_prog_compiler_wl
9265 pic_flag
=$lt_prog_compiler_pic
9271 lt_save_allow_undefined_flag
=$allow_undefined_flag
9272 allow_undefined_flag
=
9273 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9274 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9277 (exit $ac_status); }
9279 archive_cmds_need_lc
=no
9281 archive_cmds_need_lc
=yes
9283 allow_undefined_flag
=$lt_save_allow_undefined_flag
9285 cat conftest.err
1>&5
9288 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9289 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9452 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9453 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9455 if test "$withGCC" = yes; then
9457 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9458 *) lt_awk_arg
="/^libraries:/" ;;
9460 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9461 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9462 # if the path contains ";" then we assume it to be the separator
9463 # otherwise default to the standard path separator (i.e. ":") - it is
9464 # assumed that no part of a normal pathname contains ";" but that should
9465 # okay in the real world where ";" in dirpaths is itself problematic.
9466 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9468 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9470 # Ok, now we have the path, separated by spaces, we can step through it
9471 # and add multilib dir if necessary.
9472 lt_tmp_lt_search_path_spec
=
9473 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9474 for lt_sys_path
in $lt_search_path_spec; do
9475 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9476 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9478 test -d "$lt_sys_path" && \
9479 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9482 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9483 BEGIN {RS=" "; FS="/|\n";} {
9486 for (lt_i = NF; lt_i > 0; lt_i--) {
9487 if ($lt_i != "" && $lt_i != ".") {
9488 if ($lt_i == "..") {
9491 if (lt_count == 0) {
9492 lt_foo="/" $lt_i lt_foo;
9499 if (lt_foo != "") { lt_freq[lt_foo]++; }
9500 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9502 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9504 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9507 libname_spec
='lib$name'
9515 shlibpath_overrides_runpath
=unknown
9517 dynamic_linker
="$host_os ld.so"
9518 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9519 need_lib_prefix
=unknown
9520 hardcode_into_libs
=no
9522 # when you set need_version to no, make sure it does not cause -set_version
9523 # flags to be left without arguments
9524 need_version
=unknown
9529 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9530 shlibpath_var
=LIBPATH
9532 # AIX 3 has no versioning support, so we append a major version to the name.
9533 soname_spec
='${libname}${release}${shared_ext}$major'
9540 hardcode_into_libs
=yes
9541 if test "$host_cpu" = ia64
; then
9542 # AIX 5 supports IA64
9543 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9544 shlibpath_var
=LD_LIBRARY_PATH
9546 # With GCC up to 2.95.x, collect2 would create an import file
9547 # for dependence libraries. The import file would start with
9548 # the line `#! .'. This would cause the generated library to
9549 # depend on `.', always an invalid library. This was fixed in
9550 # development snapshots of GCC prior to 3.0.
9552 aix4 | aix4.
[01] | aix4.
[01].
*)
9553 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9555 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9562 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9563 # soname into executable. Probably we can add versioning support to
9564 # collect2, so additional links can be useful in future.
9565 if test "$aix_use_runtimelinking" = yes; then
9566 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9567 # instead of lib<name>.a to let people know that these are not
9568 # typical AIX shared libraries.
9569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9571 # We preserve .a as extension for shared libraries through AIX4.2
9572 # and later when we are not doing run time linking.
9573 library_names_spec
='${libname}${release}.a $libname.a'
9574 soname_spec
='${libname}${release}${shared_ext}$major'
9576 shlibpath_var
=LIBPATH
9581 if test "$host_cpu" = m68k
; then
9582 library_names_spec
='$libname.ixlibrary $libname.a'
9583 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9584 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'
9591 library_names_spec
='${libname}${shared_ext}'
9592 dynamic_linker
="$host_os ld.so"
9593 shlibpath_var
=LIBRARY_PATH
9599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9600 soname_spec
='${libname}${release}${shared_ext}$major'
9601 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9602 shlibpath_var
=LD_LIBRARY_PATH
9603 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9604 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9605 # the default ld.so.conf also contains /usr/contrib/lib and
9606 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9607 # libtool to hard-code these into programs
9610 cygwin
* | mingw
* | pw32
*)
9611 version_type
=windows
9616 case $withGCC,$host_os in
9617 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9618 library_names_spec
='$libname.dll.a'
9619 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9620 postinstall_cmds
='base_file=`basename \${file}`~
9621 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9622 dldir=$destdir/`dirname \$dlpath`~
9623 test -d \$dldir || mkdir -p \$dldir~
9624 $install_prog $dir/$dlname \$dldir/$dlname~
9625 chmod a+x \$dldir/$dlname~
9626 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9627 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9629 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9630 dlpath=$dir/\$dldll~
9632 shlibpath_overrides_runpath
=yes
9636 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9637 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9638 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9641 # MinGW DLLs use traditional 'lib' prefix
9642 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9643 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9644 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9645 # It is most probably a Windows format PATH printed by
9646 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9647 # path with ; separators, and with drive letters. We can handle the
9648 # drive letters (cygwin fileutils understands them), so leave them,
9649 # especially as we might pass files found there to a mingw objdump,
9650 # which wouldn't understand a cygwinified path. Ahh.
9651 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9653 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9657 # pw32 DLLs use 'pw' prefix rather than 'lib'
9658 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9664 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9667 dynamic_linker
='Win32 ld.exe'
9668 # FIXME: first we should search . and the directory the executable is in
9672 darwin
* | rhapsody
*)
9673 dynamic_linker
="$host_os dyld"
9677 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9678 soname_spec
='${libname}${release}${major}$shared_ext'
9679 shlibpath_overrides_runpath
=yes
9680 shlibpath_var
=DYLD_LIBRARY_PATH
9681 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9683 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9684 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9692 soname_spec
='${libname}${release}${shared_ext}$major'
9693 shlibpath_var
=LD_LIBRARY_PATH
9700 freebsd
* | dragonfly
*)
9701 # DragonFly does not have aout. When/if they implement a new
9702 # versioning mechanism, adjust this.
9703 if test -x /usr
/bin
/objformat
; then
9704 objformat
=`/usr/bin/objformat`
9707 freebsd
[123]*) objformat
=aout
;;
9711 version_type
=freebsd-
$objformat
9712 case $version_type in
9714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9719 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9723 shlibpath_var
=LD_LIBRARY_PATH
9726 shlibpath_overrides_runpath
=yes
9728 freebsd3.
[01]* | freebsdelf3.
[01]*)
9729 shlibpath_overrides_runpath
=yes
9730 hardcode_into_libs
=yes
9732 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9733 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9734 shlibpath_overrides_runpath
=no
9735 hardcode_into_libs
=yes
9737 *) # from 4.6 on, and DragonFly
9738 shlibpath_overrides_runpath
=yes
9739 hardcode_into_libs
=yes
9748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9749 soname_spec
='${libname}${release}${shared_ext}$major'
9750 shlibpath_var
=LD_LIBRARY_PATH
9751 hardcode_into_libs
=yes
9754 hpux9
* | hpux10
* | hpux11
*)
9755 # Give a soname corresponding to the major version so that dld.sl refuses to
9756 # link against other versions.
9763 hardcode_into_libs
=yes
9764 dynamic_linker
="$host_os dld.so"
9765 shlibpath_var
=LD_LIBRARY_PATH
9766 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9768 soname_spec
='${libname}${release}${shared_ext}$major'
9769 if test "X$HPUX_IA64_MODE" = X32
; then
9770 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9772 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9774 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9778 hardcode_into_libs
=yes
9779 dynamic_linker
="$host_os dld.sl"
9780 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9781 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9783 soname_spec
='${libname}${release}${shared_ext}$major'
9784 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9785 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9789 dynamic_linker
="$host_os dld.sl"
9790 shlibpath_var
=SHLIB_PATH
9791 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9792 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9793 soname_spec
='${libname}${release}${shared_ext}$major'
9796 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9797 postinstall_cmds
='chmod 555 $lib'
9804 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9805 soname_spec
='${libname}${release}${shared_ext}$major'
9806 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9807 shlibpath_var
=LD_LIBRARY_PATH
9808 shlibpath_overrides_runpath
=no
9809 hardcode_into_libs
=yes
9812 irix5
* | irix6
* | nonstopux
*)
9814 nonstopux
*) version_type
=nonstopux
;;
9816 if test "$lt_cv_prog_gnu_ld" = yes; then
9824 soname_spec
='${libname}${release}${shared_ext}$major'
9825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9827 irix5
* | nonstopux
*)
9831 case $LD in # libtool.m4 will add one of these switches to LD
9832 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9833 libsuff
= shlibsuff
= libmagic
=32-bit;;
9834 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9835 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9836 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9837 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9838 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9842 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9843 shlibpath_overrides_runpath
=no
9844 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9845 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9846 hardcode_into_libs
=yes
9849 # No shared lib support for Linux oldld, aout, or coff.
9850 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9854 # This must be Linux ELF.
9855 linux
* | k
*bsd
*-gnu)
9859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9860 soname_spec
='${libname}${release}${shared_ext}$major'
9861 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9862 shlibpath_var
=LD_LIBRARY_PATH
9863 shlibpath_overrides_runpath
=no
9864 # Some binutils ld are patched to set DT_RUNPATH
9865 save_LDFLAGS
=$LDFLAGS
9867 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9868 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9869 if test x
$gcc_no_link = xyes
; then
9870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9872 { (exit 1); exit 1; }; }
9874 cat >conftest.
$ac_ext <<_ACEOF
9877 cat confdefs.h
>>conftest.
$ac_ext
9878 cat >>conftest.
$ac_ext <<_ACEOF
9879 /* end confdefs.h. */
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 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
9912 shlibpath_overrides_runpath
=yes
9916 echo "$as_me: failed program was:" >&5
9917 sed 's/^/| /' conftest.
$ac_ext >&5
9920 rm -f conftest.err conftest.
$ac_objext \
9921 conftest
$ac_exeext conftest.
$ac_ext
9922 LDFLAGS
=$save_LDFLAGS
9925 # This implies no fast_install, which is unacceptable.
9926 # Some rework will be needed to allow for fast_install
9927 # before this can be enabled.
9928 hardcode_into_libs
=yes
9930 # Append ld.so.conf contents to the search path
9931 if test -f /etc
/ld.so.conf
; then
9932 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' ' '`
9933 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9936 # We used to test for /lib/ld.so.1 and disable shared libraries on
9937 # powerpc, because MkLinux only supported shared libraries with the
9938 # GNU dynamic linker. Since this was broken with cross compilers,
9939 # most powerpc-linux boxes support dynamic linking these days and
9940 # people can always --disable-shared, the test was removed, and we
9941 # assume the GNU/Linux dynamic linker is in use.
9942 dynamic_linker
='GNU/Linux ld.so'
9949 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9951 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9952 dynamic_linker
='NetBSD (a.out) ld.so'
9954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9955 soname_spec
='${libname}${release}${shared_ext}$major'
9956 dynamic_linker
='NetBSD ld.elf_so'
9958 shlibpath_var
=LD_LIBRARY_PATH
9959 shlibpath_overrides_runpath
=yes
9960 hardcode_into_libs
=yes
9965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9966 shlibpath_var
=LD_LIBRARY_PATH
9967 shlibpath_overrides_runpath
=yes
9974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9975 soname_spec
='${libname}${release}${shared_ext}$major'
9976 shlibpath_var
=LD_LIBRARY_PATH
9977 shlibpath_overrides_runpath
=no
9978 hardcode_into_libs
=yes
9979 dynamic_linker
='ldqnx.so'
9984 sys_lib_dlsearch_path_spec
="/usr/lib"
9986 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9988 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9989 *) need_version
=no
;;
9991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9992 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9993 shlibpath_var
=LD_LIBRARY_PATH
9994 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9996 openbsd2.
[89] | openbsd2.
[89].
*)
9997 shlibpath_overrides_runpath
=no
10000 shlibpath_overrides_runpath
=yes
10004 shlibpath_overrides_runpath
=yes
10009 libname_spec
='$name'
10012 library_names_spec
='$libname${shared_ext} $libname.a'
10013 dynamic_linker
='OS/2 ld.exe'
10014 shlibpath_var
=LIBPATH
10017 osf3
* | osf4
* | osf5
*)
10021 soname_spec
='${libname}${release}${shared_ext}$major'
10022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10023 shlibpath_var
=LD_LIBRARY_PATH
10024 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10025 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10037 soname_spec
='${libname}${release}${shared_ext}$major'
10038 shlibpath_var
=LD_LIBRARY_PATH
10039 shlibpath_overrides_runpath
=yes
10040 hardcode_into_libs
=yes
10041 # ldd complains unless libraries are executable
10042 postinstall_cmds
='chmod +x $lib'
10047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10048 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10049 shlibpath_var
=LD_LIBRARY_PATH
10050 shlibpath_overrides_runpath
=yes
10051 if test "$with_gnu_ld" = yes; then
10059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10060 soname_spec
='${libname}${release}${shared_ext}$major'
10061 shlibpath_var
=LD_LIBRARY_PATH
10062 case $host_vendor in
10064 shlibpath_overrides_runpath
=no
10066 runpath_var
=LD_RUN_PATH
10074 shlibpath_overrides_runpath
=no
10075 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10081 if test -d /usr
/nec
;then
10083 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10084 soname_spec
='$libname${shared_ext}.$major'
10085 shlibpath_var
=LD_LIBRARY_PATH
10089 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10090 version_type
=freebsd-elf
10093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10094 soname_spec
='${libname}${release}${shared_ext}$major'
10095 shlibpath_var
=LD_LIBRARY_PATH
10096 shlibpath_overrides_runpath
=yes
10097 hardcode_into_libs
=yes
10098 if test "$with_gnu_ld" = yes; then
10099 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10101 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10104 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10108 sys_lib_dlsearch_path_spec
='/usr/lib'
10112 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10116 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10117 shlibpath_var
=LD_LIBRARY_PATH
10118 shlibpath_overrides_runpath
=no
10119 hardcode_into_libs
=yes
10124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10125 soname_spec
='${libname}${release}${shared_ext}$major'
10126 shlibpath_var
=LD_LIBRARY_PATH
10133 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10134 echo "${ECHO_T}$dynamic_linker" >&6
10135 test "$dynamic_linker" = no
&& can_build_shared
=no
10137 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10138 if test "$GCC" = yes; then
10139 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10228 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10229 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10231 if test -n "$hardcode_libdir_flag_spec" ||
10232 test -n "$runpath_var" ||
10233 test "X$hardcode_automatic" = "Xyes" ; then
10235 # We can hardcode non-existent directories.
10236 if test "$hardcode_direct" != no
&&
10237 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10238 # have to relink, otherwise we might link with an installed library
10239 # when we should be linking with a yet-to-be-installed one
10240 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10241 test "$hardcode_minus_L" != no
; then
10242 # Linking always hardcodes the temporary library directory.
10243 hardcode_action
=relink
10245 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10246 hardcode_action
=immediate
10249 # We cannot hardcode anything, or else we can only hardcode existing
10251 hardcode_action
=unsupported
10253 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10254 echo "${ECHO_T}$hardcode_action" >&6
10256 if test "$hardcode_action" = relink ||
10257 test "$inherit_rpath" = yes; then
10258 # Fast installation is not supported
10259 enable_fast_install
=no
10260 elif test "$shlibpath_overrides_runpath" = yes ||
10261 test "$enable_shared" = no
; then
10262 # Fast installation is not necessary
10263 enable_fast_install
=needless
10271 if test "x$enable_dlopen" != xyes
; then
10272 enable_dlopen
=unknown
10273 enable_dlopen_self
=unknown
10274 enable_dlopen_self_static
=unknown
10281 lt_cv_dlopen
="load_add_on"
10283 lt_cv_dlopen_self
=yes
10287 lt_cv_dlopen
="LoadLibrary"
10292 lt_cv_dlopen
="dlopen"
10297 # if libdl is installed we need to link against it
10298 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10299 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10300 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10301 echo $ECHO_N "(cached) $ECHO_C" >&6
10303 ac_check_lib_save_LIBS
=$LIBS
10305 if test x
$gcc_no_link = xyes
; then
10306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10308 { (exit 1); exit 1; }; }
10310 cat >conftest.
$ac_ext <<_ACEOF
10313 cat confdefs.h
>>conftest.
$ac_ext
10314 cat >>conftest.
$ac_ext <<_ACEOF
10315 /* end confdefs.h. */
10317 /* Override any gcc2 internal prototype to avoid an error. */
10321 /* We use char because int might match the return type of a gcc2
10322 builtin and then its argument prototype would still apply. */
10332 rm -f conftest.
$ac_objext conftest
$ac_exeext
10333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10334 (eval $ac_link) 2>conftest.er1
10336 grep -v '^ *+' conftest.er1
>conftest.err
10338 cat conftest.err
>&5
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); } &&
10341 { ac_try
='test -z "$ac_c_werror_flag"
10342 || test ! -s conftest.err'
10343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10344 (eval $ac_try) 2>&5
10346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10347 (exit $ac_status); }; } &&
10348 { ac_try
='test -s conftest$ac_exeext'
10349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10350 (eval $ac_try) 2>&5
10352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10353 (exit $ac_status); }; }; then
10354 ac_cv_lib_dl_dlopen
=yes
10356 echo "$as_me: failed program was:" >&5
10357 sed 's/^/| /' conftest.
$ac_ext >&5
10359 ac_cv_lib_dl_dlopen
=no
10361 rm -f conftest.err conftest.
$ac_objext \
10362 conftest
$ac_exeext conftest.
$ac_ext
10363 LIBS
=$ac_check_lib_save_LIBS
10365 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10366 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10367 if test $ac_cv_lib_dl_dlopen = yes; then
10368 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10371 lt_cv_dlopen
="dyld"
10373 lt_cv_dlopen_self
=yes
10380 echo "$as_me:$LINENO: checking for shl_load" >&5
10381 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10382 if test "${ac_cv_func_shl_load+set}" = set; then
10383 echo $ECHO_N "(cached) $ECHO_C" >&6
10385 if test x
$gcc_no_link = xyes
; then
10386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10388 { (exit 1); exit 1; }; }
10390 cat >conftest.
$ac_ext <<_ACEOF
10393 cat confdefs.h
>>conftest.
$ac_ext
10394 cat >>conftest.
$ac_ext <<_ACEOF
10395 /* end confdefs.h. */
10396 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10398 #define shl_load innocuous_shl_load
10400 /* System header to define __stub macros and hopefully few prototypes,
10401 which can conflict with char shl_load (); below.
10402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10403 <limits.h> exists even on freestanding compilers. */
10406 # include <limits.h>
10408 # include <assert.h>
10413 /* Override any gcc2 internal prototype to avoid an error. */
10418 /* We use char because int might match the return type of a gcc2
10419 builtin and then its argument prototype would still apply. */
10421 /* The GNU C library defines this for functions which it implements
10422 to always fail with ENOSYS. Some functions are actually named
10423 something starting with __ and the normal name is an alias. */
10424 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10427 char (*f) () = shl_load;
10436 return f != shl_load;
10441 rm -f conftest.
$ac_objext conftest
$ac_exeext
10442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10443 (eval $ac_link) 2>conftest.er1
10445 grep -v '^ *+' conftest.er1
>conftest.err
10447 cat conftest.err
>&5
10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10449 (exit $ac_status); } &&
10450 { ac_try
='test -z "$ac_c_werror_flag"
10451 || test ! -s conftest.err'
10452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10453 (eval $ac_try) 2>&5
10455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10456 (exit $ac_status); }; } &&
10457 { ac_try
='test -s conftest$ac_exeext'
10458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10459 (eval $ac_try) 2>&5
10461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462 (exit $ac_status); }; }; then
10463 ac_cv_func_shl_load
=yes
10465 echo "$as_me: failed program was:" >&5
10466 sed 's/^/| /' conftest.
$ac_ext >&5
10468 ac_cv_func_shl_load
=no
10470 rm -f conftest.err conftest.
$ac_objext \
10471 conftest
$ac_exeext conftest.
$ac_ext
10473 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10474 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10475 if test $ac_cv_func_shl_load = yes; then
10476 lt_cv_dlopen
="shl_load"
10478 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10479 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10480 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10481 echo $ECHO_N "(cached) $ECHO_C" >&6
10483 ac_check_lib_save_LIBS
=$LIBS
10485 if test x
$gcc_no_link = xyes
; then
10486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10488 { (exit 1); exit 1; }; }
10490 cat >conftest.
$ac_ext <<_ACEOF
10493 cat confdefs.h
>>conftest.
$ac_ext
10494 cat >>conftest.
$ac_ext <<_ACEOF
10495 /* end confdefs.h. */
10497 /* Override any gcc2 internal prototype to avoid an error. */
10501 /* We use char because int might match the return type of a gcc2
10502 builtin and then its argument prototype would still apply. */
10512 rm -f conftest.
$ac_objext conftest
$ac_exeext
10513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10514 (eval $ac_link) 2>conftest.er1
10516 grep -v '^ *+' conftest.er1
>conftest.err
10518 cat conftest.err
>&5
10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520 (exit $ac_status); } &&
10521 { ac_try
='test -z "$ac_c_werror_flag"
10522 || test ! -s conftest.err'
10523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10524 (eval $ac_try) 2>&5
10526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10527 (exit $ac_status); }; } &&
10528 { ac_try
='test -s conftest$ac_exeext'
10529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10530 (eval $ac_try) 2>&5
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); }; }; then
10534 ac_cv_lib_dld_shl_load
=yes
10536 echo "$as_me: failed program was:" >&5
10537 sed 's/^/| /' conftest.
$ac_ext >&5
10539 ac_cv_lib_dld_shl_load
=no
10541 rm -f conftest.err conftest.
$ac_objext \
10542 conftest
$ac_exeext conftest.
$ac_ext
10543 LIBS
=$ac_check_lib_save_LIBS
10545 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10546 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10547 if test $ac_cv_lib_dld_shl_load = yes; then
10548 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
10550 echo "$as_me:$LINENO: checking for dlopen" >&5
10551 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10552 if test "${ac_cv_func_dlopen+set}" = set; then
10553 echo $ECHO_N "(cached) $ECHO_C" >&6
10555 if test x
$gcc_no_link = xyes
; then
10556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10558 { (exit 1); exit 1; }; }
10560 cat >conftest.
$ac_ext <<_ACEOF
10563 cat confdefs.h
>>conftest.
$ac_ext
10564 cat >>conftest.
$ac_ext <<_ACEOF
10565 /* end confdefs.h. */
10566 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10568 #define dlopen innocuous_dlopen
10570 /* System header to define __stub macros and hopefully few prototypes,
10571 which can conflict with char dlopen (); below.
10572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10573 <limits.h> exists even on freestanding compilers. */
10576 # include <limits.h>
10578 # include <assert.h>
10583 /* Override any gcc2 internal prototype to avoid an error. */
10588 /* We use char because int might match the return type of a gcc2
10589 builtin and then its argument prototype would still apply. */
10591 /* The GNU C library defines this for functions which it implements
10592 to always fail with ENOSYS. Some functions are actually named
10593 something starting with __ and the normal name is an alias. */
10594 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10597 char (*f) () = dlopen;
10606 return f != dlopen;
10611 rm -f conftest.
$ac_objext conftest
$ac_exeext
10612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10613 (eval $ac_link) 2>conftest.er1
10615 grep -v '^ *+' conftest.er1
>conftest.err
10617 cat conftest.err
>&5
10618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10619 (exit $ac_status); } &&
10620 { ac_try
='test -z "$ac_c_werror_flag"
10621 || test ! -s conftest.err'
10622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10623 (eval $ac_try) 2>&5
10625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626 (exit $ac_status); }; } &&
10627 { ac_try
='test -s conftest$ac_exeext'
10628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10629 (eval $ac_try) 2>&5
10631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10632 (exit $ac_status); }; }; then
10633 ac_cv_func_dlopen
=yes
10635 echo "$as_me: failed program was:" >&5
10636 sed 's/^/| /' conftest.
$ac_ext >&5
10638 ac_cv_func_dlopen
=no
10640 rm -f conftest.err conftest.
$ac_objext \
10641 conftest
$ac_exeext conftest.
$ac_ext
10643 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10644 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10645 if test $ac_cv_func_dlopen = yes; then
10646 lt_cv_dlopen
="dlopen"
10648 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10649 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10650 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10651 echo $ECHO_N "(cached) $ECHO_C" >&6
10653 ac_check_lib_save_LIBS
=$LIBS
10655 if test x
$gcc_no_link = xyes
; then
10656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10658 { (exit 1); exit 1; }; }
10660 cat >conftest.
$ac_ext <<_ACEOF
10663 cat confdefs.h
>>conftest.
$ac_ext
10664 cat >>conftest.
$ac_ext <<_ACEOF
10665 /* end confdefs.h. */
10667 /* Override any gcc2 internal prototype to avoid an error. */
10671 /* We use char because int might match the return type of a gcc2
10672 builtin and then its argument prototype would still apply. */
10682 rm -f conftest.
$ac_objext conftest
$ac_exeext
10683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10684 (eval $ac_link) 2>conftest.er1
10686 grep -v '^ *+' conftest.er1
>conftest.err
10688 cat conftest.err
>&5
10689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690 (exit $ac_status); } &&
10691 { ac_try
='test -z "$ac_c_werror_flag"
10692 || test ! -s conftest.err'
10693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10694 (eval $ac_try) 2>&5
10696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10697 (exit $ac_status); }; } &&
10698 { ac_try
='test -s conftest$ac_exeext'
10699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10700 (eval $ac_try) 2>&5
10702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10703 (exit $ac_status); }; }; then
10704 ac_cv_lib_dl_dlopen
=yes
10706 echo "$as_me: failed program was:" >&5
10707 sed 's/^/| /' conftest.
$ac_ext >&5
10709 ac_cv_lib_dl_dlopen
=no
10711 rm -f conftest.err conftest.
$ac_objext \
10712 conftest
$ac_exeext conftest.
$ac_ext
10713 LIBS
=$ac_check_lib_save_LIBS
10715 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10716 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10717 if test $ac_cv_lib_dl_dlopen = yes; then
10718 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10720 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10721 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10722 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10723 echo $ECHO_N "(cached) $ECHO_C" >&6
10725 ac_check_lib_save_LIBS
=$LIBS
10726 LIBS
="-lsvld $LIBS"
10727 if test x
$gcc_no_link = xyes
; then
10728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10730 { (exit 1); exit 1; }; }
10732 cat >conftest.
$ac_ext <<_ACEOF
10735 cat confdefs.h
>>conftest.
$ac_ext
10736 cat >>conftest.
$ac_ext <<_ACEOF
10737 /* end confdefs.h. */
10739 /* Override any gcc2 internal prototype to avoid an error. */
10743 /* We use char because int might match the return type of a gcc2
10744 builtin and then its argument prototype would still apply. */
10754 rm -f conftest.
$ac_objext conftest
$ac_exeext
10755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10756 (eval $ac_link) 2>conftest.er1
10758 grep -v '^ *+' conftest.er1
>conftest.err
10760 cat conftest.err
>&5
10761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10762 (exit $ac_status); } &&
10763 { ac_try
='test -z "$ac_c_werror_flag"
10764 || test ! -s conftest.err'
10765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10766 (eval $ac_try) 2>&5
10768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769 (exit $ac_status); }; } &&
10770 { ac_try
='test -s conftest$ac_exeext'
10771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10772 (eval $ac_try) 2>&5
10774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10775 (exit $ac_status); }; }; then
10776 ac_cv_lib_svld_dlopen
=yes
10778 echo "$as_me: failed program was:" >&5
10779 sed 's/^/| /' conftest.
$ac_ext >&5
10781 ac_cv_lib_svld_dlopen
=no
10783 rm -f conftest.err conftest.
$ac_objext \
10784 conftest
$ac_exeext conftest.
$ac_ext
10785 LIBS
=$ac_check_lib_save_LIBS
10787 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10788 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10789 if test $ac_cv_lib_svld_dlopen = yes; then
10790 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10792 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10793 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10794 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10795 echo $ECHO_N "(cached) $ECHO_C" >&6
10797 ac_check_lib_save_LIBS
=$LIBS
10799 if test x
$gcc_no_link = xyes
; then
10800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10802 { (exit 1); exit 1; }; }
10804 cat >conftest.
$ac_ext <<_ACEOF
10807 cat confdefs.h
>>conftest.
$ac_ext
10808 cat >>conftest.
$ac_ext <<_ACEOF
10809 /* end confdefs.h. */
10811 /* Override any gcc2 internal prototype to avoid an error. */
10815 /* We use char because int might match the return type of a gcc2
10816 builtin and then its argument prototype would still apply. */
10826 rm -f conftest.
$ac_objext conftest
$ac_exeext
10827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10828 (eval $ac_link) 2>conftest.er1
10830 grep -v '^ *+' conftest.er1
>conftest.err
10832 cat conftest.err
>&5
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); } &&
10835 { ac_try
='test -z "$ac_c_werror_flag"
10836 || test ! -s conftest.err'
10837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10838 (eval $ac_try) 2>&5
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); }; } &&
10842 { ac_try
='test -s conftest$ac_exeext'
10843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10844 (eval $ac_try) 2>&5
10846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10847 (exit $ac_status); }; }; then
10848 ac_cv_lib_dld_dld_link
=yes
10850 echo "$as_me: failed program was:" >&5
10851 sed 's/^/| /' conftest.
$ac_ext >&5
10853 ac_cv_lib_dld_dld_link
=no
10855 rm -f conftest.err conftest.
$ac_objext \
10856 conftest
$ac_exeext conftest.
$ac_ext
10857 LIBS
=$ac_check_lib_save_LIBS
10859 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10860 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10861 if test $ac_cv_lib_dld_dld_link = yes; then
10862 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
10883 if test "x$lt_cv_dlopen" != xno
; then
10889 case $lt_cv_dlopen in
10891 save_CPPFLAGS
="$CPPFLAGS"
10892 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10894 save_LDFLAGS
="$LDFLAGS"
10895 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10898 LIBS
="$lt_cv_dlopen_libs $LIBS"
10900 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10901 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10902 if test "${lt_cv_dlopen_self+set}" = set; then
10903 echo $ECHO_N "(cached) $ECHO_C" >&6
10905 if test "$cross_compiling" = yes; then :
10906 lt_cv_dlopen_self
=cross
10908 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10909 lt_status
=$lt_dlunknown
10910 cat > conftest.
$ac_ext <<_LT_EOF
10911 #line 10911 "configure"
10912 #include "confdefs.h"
10921 # define LT_DLGLOBAL RTLD_GLOBAL
10924 # define LT_DLGLOBAL DL_GLOBAL
10926 # define LT_DLGLOBAL 0
10930 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10931 find out it does not work in some platform. */
10932 #ifndef LT_DLLAZY_OR_NOW
10934 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10937 # define LT_DLLAZY_OR_NOW DL_LAZY
10940 # define LT_DLLAZY_OR_NOW RTLD_NOW
10943 # define LT_DLLAZY_OR_NOW DL_NOW
10945 # define LT_DLLAZY_OR_NOW 0
10953 extern "C" void exit (int);
10956 void fnord() { int i=42;}
10959 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10960 int status = $lt_dlunknown;
10964 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10965 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10966 /* dlclose (self); */
10974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10975 (eval $ac_link) 2>&5
10977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10979 (.
/conftest
; exit; ) >&5 2>/dev
/null
10981 case x
$lt_status in
10982 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10983 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10984 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10987 # compilation failed
10988 lt_cv_dlopen_self
=no
10995 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10996 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10998 if test "x$lt_cv_dlopen_self" = xyes
; then
10999 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11000 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11001 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11002 if test "${lt_cv_dlopen_self_static+set}" = set; then
11003 echo $ECHO_N "(cached) $ECHO_C" >&6
11005 if test "$cross_compiling" = yes; then :
11006 lt_cv_dlopen_self_static
=cross
11008 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11009 lt_status
=$lt_dlunknown
11010 cat > conftest.
$ac_ext <<_LT_EOF
11011 #line 11011 "configure"
11012 #include "confdefs.h"
11021 # define LT_DLGLOBAL RTLD_GLOBAL
11024 # define LT_DLGLOBAL DL_GLOBAL
11026 # define LT_DLGLOBAL 0
11030 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11031 find out it does not work in some platform. */
11032 #ifndef LT_DLLAZY_OR_NOW
11034 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11037 # define LT_DLLAZY_OR_NOW DL_LAZY
11040 # define LT_DLLAZY_OR_NOW RTLD_NOW
11043 # define LT_DLLAZY_OR_NOW DL_NOW
11045 # define LT_DLLAZY_OR_NOW 0
11053 extern "C" void exit (int);
11056 void fnord() { int i=42;}
11059 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11060 int status = $lt_dlunknown;
11064 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11065 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11066 /* dlclose (self); */
11074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11075 (eval $ac_link) 2>&5
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11079 (.
/conftest
; exit; ) >&5 2>/dev
/null
11081 case x
$lt_status in
11082 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11083 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11084 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11087 # compilation failed
11088 lt_cv_dlopen_self_static
=no
11095 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11096 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11099 CPPFLAGS
="$save_CPPFLAGS"
11100 LDFLAGS
="$save_LDFLAGS"
11105 case $lt_cv_dlopen_self in
11106 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11107 *) enable_dlopen_self
=unknown
;;
11110 case $lt_cv_dlopen_self_static in
11111 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11112 *) enable_dlopen_self_static
=unknown
;;
11134 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11135 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11136 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11137 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11138 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11139 echo "$as_me:$LINENO: result: yes" >&5
11140 echo "${ECHO_T}yes" >&6
11142 # FIXME - insert some real tests, host_os isn't really good enough
11145 if test -n "$STRIP" ; then
11146 striplib
="$STRIP -x"
11147 old_striplib
="$STRIP -S"
11148 echo "$as_me:$LINENO: result: yes" >&5
11149 echo "${ECHO_T}yes" >&6
11151 echo "$as_me:$LINENO: result: no" >&5
11152 echo "${ECHO_T}no" >&6
11156 echo "$as_me:$LINENO: result: no" >&5
11157 echo "${ECHO_T}no" >&6
11173 # Report which library types will actually be built
11174 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11175 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11176 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11177 echo "${ECHO_T}$can_build_shared" >&6
11179 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11180 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11181 test "$can_build_shared" = "no" && enable_shared
=no
11183 # On AIX, shared libraries and static libraries use the same namespace, and
11184 # are all built from PIC.
11187 test "$enable_shared" = yes && enable_static
=no
11188 if test -n "$RANLIB"; then
11189 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11190 postinstall_cmds
='$RANLIB $lib'
11195 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11196 test "$enable_shared" = yes && enable_static
=no
11200 echo "$as_me:$LINENO: result: $enable_shared" >&5
11201 echo "${ECHO_T}$enable_shared" >&6
11203 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11204 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11205 # Make sure either enable_shared or enable_static is yes.
11206 test "$enable_shared" = yes || enable_static
=yes
11207 echo "$as_me:$LINENO: result: $enable_static" >&5
11208 echo "${ECHO_T}$enable_static" >&6
11215 ac_cpp
='$CPP $CPPFLAGS'
11216 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11217 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11218 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11224 ac_cpp
='$CXXCPP $CPPFLAGS'
11225 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11226 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11227 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11229 archive_cmds_need_lc_CXX
=no
11230 allow_undefined_flag_CXX
=
11231 always_export_symbols_CXX
=no
11232 archive_expsym_cmds_CXX
=
11233 compiler_needs_object_CXX
=no
11234 export_dynamic_flag_spec_CXX
=
11235 hardcode_direct_CXX
=no
11236 hardcode_direct_absolute_CXX
=no
11237 hardcode_libdir_flag_spec_CXX
=
11238 hardcode_libdir_flag_spec_ld_CXX
=
11239 hardcode_libdir_separator_CXX
=
11240 hardcode_minus_L_CXX
=no
11241 hardcode_shlibpath_var_CXX
=unsupported
11242 hardcode_automatic_CXX
=no
11243 inherit_rpath_CXX
=no
11245 module_expsym_cmds_CXX
=
11246 link_all_deplibs_CXX
=unknown
11247 old_archive_cmds_CXX
=$old_archive_cmds
11248 no_undefined_flag_CXX
=
11249 whole_archive_flag_spec_CXX
=
11250 enable_shared_with_static_runtimes_CXX
=no
11252 # Source file extension for C++ test sources.
11255 # Object file extension for compiled C++ test sources.
11259 # No sense in running all these tests if we already determined that
11260 # the CXX compiler isn't working. Some variables (like enable_shared)
11261 # are currently assumed to apply to all compilers on this platform,
11262 # and will be corrupted by setting them based on a non-working compiler.
11263 if test "$_lt_caught_CXX_error" != yes; then
11264 # Code to be used in simple compile tests
11265 lt_simple_compile_test_code
="int some_variable = 0;"
11267 # Code to be used in simple link tests
11268 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11270 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11277 # If no C compiler was specified, use CC.
11280 # If no C compiler flags were specified, use CFLAGS.
11281 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11283 # Allow CC to be a program name with arguments.
11287 # save warnings/boilerplate of simple test code
11288 ac_outfile
=conftest.
$ac_objext
11289 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11290 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11291 _lt_compiler_boilerplate
=`cat conftest.err`
11294 ac_outfile
=conftest.
$ac_objext
11295 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11296 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11297 _lt_linker_boilerplate
=`cat conftest.err`
11301 # Allow CC to be a program name with arguments.
11306 lt_save_with_gnu_ld
=$with_gnu_ld
11307 lt_save_path_LD
=$lt_cv_path_LD
11308 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11309 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11311 $as_unset lt_cv_prog_gnu_ld
11313 if test -n "${lt_cv_path_LDCXX+set}"; then
11314 lt_cv_path_LD
=$lt_cv_path_LDCXX
11316 $as_unset lt_cv_path_LD
11318 test -z "${LDCXX+set}" || LD
=$LDCXX
11322 for cc_temp
in $compiler""; do
11324 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11325 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11330 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11333 if test -n "$compiler"; then
11334 # We don't want -fno-exception when compiling C++ code, so set the
11335 # no_builtin_flag separately
11336 if test "$GXX" = yes; then
11337 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11339 lt_prog_compiler_no_builtin_flag_CXX
=
11342 if test "$GXX" = yes; then
11343 # Set up default GNU C++ configuration
11347 # Check whether --with-gnu-ld or --without-gnu-ld was given.
11348 if test "${with_gnu_ld+set}" = set; then
11349 withval
="$with_gnu_ld"
11350 test "$withval" = no || with_gnu_ld
=yes
11355 if test "$GCC" = yes; then
11356 # Check if gcc -print-prog-name=ld gives a path.
11357 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11358 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
11361 # gcc leaves a trailing carriage return which upsets mingw
11362 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11364 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11367 # Accept absolute paths.
11369 re_direlt
='/[^/][^/]*/\.\./'
11370 # Canonicalize the pathname of ld
11371 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11372 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11373 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11375 test -z "$LD" && LD
="$ac_prog"
11378 # If it fails, then pretend we aren't using GCC.
11382 # If it is relative, then search for the first ld in PATH.
11383 with_gnu_ld
=unknown
11386 elif test "$with_gnu_ld" = yes; then
11387 echo "$as_me:$LINENO: checking for GNU ld" >&5
11388 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11390 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11391 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11393 if test "${lt_cv_path_LD+set}" = set; then
11394 echo $ECHO_N "(cached) $ECHO_C" >&6
11396 if test -z "$LD"; then
11397 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11398 for ac_dir
in $PATH; do
11400 test -z "$ac_dir" && ac_dir
=.
11401 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11402 lt_cv_path_LD
="$ac_dir/$ac_prog"
11403 # Check to see if the program is GNU ld. I'd rather use --version,
11404 # but apparently some variants of GNU ld only accept -v.
11405 # Break only if it was the GNU/non-GNU ld that we prefer.
11406 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11407 *GNU
* |
*'with BFD'*)
11408 test "$with_gnu_ld" != no
&& break
11411 test "$with_gnu_ld" != yes && break
11418 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11422 LD
="$lt_cv_path_LD"
11423 if test -n "$LD"; then
11424 echo "$as_me:$LINENO: result: $LD" >&5
11425 echo "${ECHO_T}$LD" >&6
11427 echo "$as_me:$LINENO: result: no" >&5
11428 echo "${ECHO_T}no" >&6
11430 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11431 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11432 { (exit 1); exit 1; }; }
11433 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11434 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11435 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11436 echo $ECHO_N "(cached) $ECHO_C" >&6
11438 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11439 case `$LD -v 2>&1 </dev/null` in
11440 *GNU
* |
*'with BFD'*)
11441 lt_cv_prog_gnu_ld
=yes
11444 lt_cv_prog_gnu_ld
=no
11448 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11449 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11450 with_gnu_ld
=$lt_cv_prog_gnu_ld
11458 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11459 # archiving commands below assume that GNU ld is being used.
11460 if test "$with_gnu_ld" = yes; then
11461 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11462 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11464 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11465 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11467 # If archive_cmds runs LD, not CC, wlarc should be empty
11468 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11469 # investigate it a little bit more. (MM)
11472 # ancient GNU ld didn't support --whole-archive et. al.
11473 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11474 $GREP 'no-whole-archive' > /dev
/null
; then
11475 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11477 whole_archive_flag_spec_CXX
=
11483 # A generic and very simple default shared library creation
11484 # command for GNU C++ for the case where it uses the native
11485 # linker, instead of GNU ld. If possible, this setting should
11486 # overridden to take advantage of the native linker features on
11487 # the platform it is being used on.
11488 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11491 # Commands to make compiler produce verbose output that lists
11492 # what "hidden" libraries, object files and flags are used when
11493 # linking a shared library.
11494 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11502 # PORTME: fill in a description of your system's C++ link characteristics
11503 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11504 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11508 # FIXME: insert proper C++ library support
11512 if test "$host_cpu" = ia64
; then
11513 # On IA64, the linker does run time linking by default, so we don't
11514 # have to do anything special.
11515 aix_use_runtimelinking
=no
11516 exp_sym_flag
='-Bexport'
11519 aix_use_runtimelinking
=no
11521 # Test if we are trying to use run time linking or normal
11522 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11523 # need to do runtime linking.
11524 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11525 for ld_flag
in $LDFLAGS; do
11528 aix_use_runtimelinking
=yes
11536 exp_sym_flag
='-bexport'
11537 no_entry_flag
='-bnoentry'
11540 # When large executables or shared objects are built, AIX ld can
11541 # have problems creating the table of contents. If linking a library
11542 # or program results in "error TOC overflow" add -mminimal-toc to
11543 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11544 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11546 archive_cmds_CXX
=''
11547 hardcode_direct_CXX
=yes
11548 hardcode_direct_absolute_CXX
=yes
11549 hardcode_libdir_separator_CXX
=':'
11550 link_all_deplibs_CXX
=yes
11551 file_list_spec_CXX
='${wl}-f,'
11553 if test "$GXX" = yes; then
11554 case $host_os in aix4.
[012]|aix4.
[012].
*)
11555 # We only want to do this on AIX 4.2 and lower, the check
11556 # below for broken collect2 doesn't work under 4.3+
11557 collect2name
=`${CC} -print-prog-name=collect2`
11558 if test -f "$collect2name" &&
11559 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11561 # We have reworked collect2
11564 # We have old collect2
11565 hardcode_direct_CXX
=unsupported
11566 # It fails to find uninstalled libraries when the uninstalled
11567 # path is not listed in the libpath. Setting hardcode_minus_L
11568 # to unsupported forces relinking
11569 hardcode_minus_L_CXX
=yes
11570 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11571 hardcode_libdir_separator_CXX
=
11574 shared_flag
='-shared'
11575 if test "$aix_use_runtimelinking" = yes; then
11576 shared_flag
="$shared_flag "'${wl}-G'
11580 if test "$host_cpu" = ia64
; then
11581 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11582 # chokes on -Wl,-G. The following line is correct:
11585 if test "$aix_use_runtimelinking" = yes; then
11586 shared_flag
='${wl}-G'
11588 shared_flag
='${wl}-bM:SRE'
11593 # It seems that -bexpall does not export symbols beginning with
11594 # underscore (_), so it is better to generate a list of symbols to
11596 always_export_symbols_CXX
=yes
11597 if test "$aix_use_runtimelinking" = yes; then
11598 # Warning - without using the other runtime loading flags (-brtl),
11599 # -berok will link without error, but may produce a broken library.
11600 allow_undefined_flag_CXX
='-berok'
11601 # Determine the default libpath from the value encoded in an empty
11603 if test x
$gcc_no_link = xyes
; then
11604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11606 { (exit 1); exit 1; }; }
11608 cat >conftest.
$ac_ext <<_ACEOF
11611 cat confdefs.h
>>conftest.
$ac_ext
11612 cat >>conftest.
$ac_ext <<_ACEOF
11613 /* end confdefs.h. */
11623 rm -f conftest.
$ac_objext conftest
$ac_exeext
11624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11625 (eval $ac_link) 2>conftest.er1
11627 grep -v '^ *+' conftest.er1
>conftest.err
11629 cat conftest.err
>&5
11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 (exit $ac_status); } &&
11632 { ac_try
='test -z "$ac_cxx_werror_flag"
11633 || test ! -s conftest.err'
11634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11635 (eval $ac_try) 2>&5
11637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11638 (exit $ac_status); }; } &&
11639 { ac_try
='test -s conftest$ac_exeext'
11640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11641 (eval $ac_try) 2>&5
11643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11644 (exit $ac_status); }; }; then
11646 lt_aix_libpath_sed
='
11647 /Import File Strings/,/^$/ {
11653 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11654 # Check for a 64-bit object if we didn't find anything.
11655 if test -z "$aix_libpath"; then
11656 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11659 echo "$as_me: failed program was:" >&5
11660 sed 's/^/| /' conftest.
$ac_ext >&5
11663 rm -f conftest.err conftest.
$ac_objext \
11664 conftest
$ac_exeext conftest.
$ac_ext
11665 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11667 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11669 archive_expsym_cmds_CXX
='$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"
11671 if test "$host_cpu" = ia64
; then
11672 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11673 allow_undefined_flag_CXX
="-z nodefs"
11674 archive_expsym_cmds_CXX
="\$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"
11676 # Determine the default libpath from the value encoded in an
11677 # empty executable.
11678 if test x
$gcc_no_link = xyes
; then
11679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11681 { (exit 1); exit 1; }; }
11683 cat >conftest.
$ac_ext <<_ACEOF
11686 cat confdefs.h
>>conftest.
$ac_ext
11687 cat >>conftest.
$ac_ext <<_ACEOF
11688 /* end confdefs.h. */
11698 rm -f conftest.
$ac_objext conftest
$ac_exeext
11699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11700 (eval $ac_link) 2>conftest.er1
11702 grep -v '^ *+' conftest.er1
>conftest.err
11704 cat conftest.err
>&5
11705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11706 (exit $ac_status); } &&
11707 { ac_try
='test -z "$ac_cxx_werror_flag"
11708 || test ! -s conftest.err'
11709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11710 (eval $ac_try) 2>&5
11712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11713 (exit $ac_status); }; } &&
11714 { ac_try
='test -s conftest$ac_exeext'
11715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11716 (eval $ac_try) 2>&5
11718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11719 (exit $ac_status); }; }; then
11721 lt_aix_libpath_sed
='
11722 /Import File Strings/,/^$/ {
11728 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11729 # Check for a 64-bit object if we didn't find anything.
11730 if test -z "$aix_libpath"; then
11731 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11734 echo "$as_me: failed program was:" >&5
11735 sed 's/^/| /' conftest.
$ac_ext >&5
11738 rm -f conftest.err conftest.
$ac_objext \
11739 conftest
$ac_exeext conftest.
$ac_ext
11740 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11742 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11743 # Warning - without using the other run time loading flags,
11744 # -berok will link without error, but may produce a broken library.
11745 no_undefined_flag_CXX
=' ${wl}-bernotok'
11746 allow_undefined_flag_CXX
=' ${wl}-berok'
11747 # Exported symbols can be pulled into shared objects from archives
11748 whole_archive_flag_spec_CXX
='$convenience'
11749 archive_cmds_need_lc_CXX
=yes
11750 # This is similar to how AIX traditionally builds its shared
11752 archive_expsym_cmds_CXX
="\$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'
11758 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11759 allow_undefined_flag_CXX
=unsupported
11760 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11761 # support --undefined. This deserves some investigation. FIXME
11762 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11769 case $cc_basename in
11771 # FIXME: insert proper C++ library support
11777 cygwin
* | mingw
* | pw32
*)
11778 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11779 # as there is no search path for DLLs.
11780 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11781 allow_undefined_flag_CXX
=unsupported
11782 always_export_symbols_CXX
=no
11783 enable_shared_with_static_runtimes_CXX
=yes
11785 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11786 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11787 # If the export-symbols file already is a .def file (1st line
11788 # is EXPORTS), use it as is; otherwise, prepend...
11789 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11790 cp $export_symbols $output_objdir/$soname.def;
11792 echo EXPORTS > $output_objdir/$soname.def;
11793 cat $export_symbols >> $output_objdir/$soname.def;
11795 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11800 darwin
* | rhapsody
*)
11802 rhapsody
* | darwin1.
[012])
11803 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
11806 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11808 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11811 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
11816 archive_cmds_need_lc_CXX
=no
11817 hardcode_direct_CXX
=no
11818 hardcode_automatic_CXX
=yes
11819 hardcode_shlibpath_var_CXX
=unsupported
11820 whole_archive_flag_spec_CXX
=''
11821 link_all_deplibs_CXX
=yes
11823 if test "$GXX" = yes ; then
11824 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11825 echo $ECHO_N "(cached) $ECHO_C" >&6
11827 lt_cv_apple_cc_single_mod
=no
11828 if test -z "${LT_MULTI_MODULE}"; then
11829 # By default we will add the -single_module flag. You can override
11830 # by either setting the environment variable LT_MULTI_MODULE
11831 # non-empty at configure time, or by adding -multi-module to the
11833 echo "int foo(void){return 1;}" > conftest.c
11834 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11835 -dynamiclib ${wl}-single_module conftest.c
11836 if test -f libconftest.dylib
; then
11837 lt_cv_apple_cc_single_mod
=yes
11838 rm libconftest.dylib
11840 rm conftest.
$ac_ext
11844 output_verbose_link_cmd
=echo
11845 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
11846 archive_cmds_CXX
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11847 archive_expsym_cmds_CXX
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11849 archive_cmds_CXX
='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11850 archive_expsym_cmds_CXX
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11852 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11853 module_expsym_cmds_CXX
='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}'
11855 case $cc_basename in
11857 output_verbose_link_cmd
=echo
11858 archive_cmds_CXX
='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO "$rpath/$soname"` $verstring'
11859 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11860 # Don't fix this by using the ld -exported_symbols_list flag,
11861 # it doesn't exist in older darwin lds
11862 archive_expsym_cmds_CXX
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11863 module_expsym_cmds_CXX
='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}'
11873 case $cc_basename in
11875 # FIXME: insert proper C++ library support
11879 # Green Hills C++ Compiler
11880 # FIXME: insert proper C++ library support
11884 # FIXME: insert proper C++ library support
11891 # C++ shared libraries reported to be fairly broken before
11897 archive_cmds_need_lc_CXX
=no
11900 freebsd
* | dragonfly
*)
11901 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11910 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11911 hardcode_libdir_separator_CXX
=:
11912 export_dynamic_flag_spec_CXX
='${wl}-E'
11913 hardcode_direct_CXX
=yes
11914 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11915 # but as the default
11916 # location of the library.
11918 case $cc_basename in
11920 # FIXME: insert proper C++ library support
11924 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11925 # Commands to make compiler produce verbose output that lists
11926 # what "hidden" libraries, object files and flags are used when
11927 # linking a shared library.
11929 # There doesn't appear to be a way to prevent this compiler from
11930 # explicitly linking system object files so we need to strip them
11931 # from the output so that they don't get included in the library
11933 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11936 if test "$GXX" = yes; then
11937 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11939 # FIXME: insert proper C++ library support
11947 if test $with_gnu_ld = no
; then
11948 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11949 hardcode_libdir_separator_CXX
=:
11955 export_dynamic_flag_spec_CXX
='${wl}-E'
11961 hardcode_direct_CXX
=no
11962 hardcode_shlibpath_var_CXX
=no
11965 hardcode_direct_CXX
=yes
11966 hardcode_direct_absolute_CXX
=yes
11967 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11968 # but as the default
11969 # location of the library.
11973 case $cc_basename in
11975 # FIXME: insert proper C++ library support
11981 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11984 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11987 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11990 # Commands to make compiler produce verbose output that lists
11991 # what "hidden" libraries, object files and flags are used when
11992 # linking a shared library.
11994 # There doesn't appear to be a way to prevent this compiler from
11995 # explicitly linking system object files so we need to strip them
11996 # from the output so that they don't get included in the library
11998 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12001 if test "$GXX" = yes; then
12002 if test $with_gnu_ld = no
; then
12005 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12008 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12011 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12016 # FIXME: insert proper C++ library support
12024 hardcode_direct_CXX
=no
12025 hardcode_shlibpath_var_CXX
=no
12026 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12027 export_dynamic_flag_spec_CXX
='${wl}-E'
12028 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12029 # Instead, shared libraries are loaded at an image base (0x10000000 by
12030 # default) and relocated if they conflict, which is a slow very memory
12031 # consuming and fragmenting process. To avoid this, we pick a random,
12032 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12033 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12034 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12035 archive_expsym_cmds_CXX
='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'
12038 case $cc_basename in
12041 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12043 # Archives containing C++ object files must be created using
12044 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12045 # necessary to make sure instantiated templates are included
12047 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12050 if test "$GXX" = yes; then
12051 if test "$with_gnu_ld" = no
; then
12052 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
12054 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
12057 link_all_deplibs_CXX
=yes
12060 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12061 hardcode_libdir_separator_CXX
=:
12062 inherit_rpath_CXX
=yes
12065 linux
* | k
*bsd
*-gnu)
12066 case $cc_basename in
12068 # Kuck and Associates, Inc. (KAI) C++ Compiler
12070 # KCC will only create a shared library if the output file
12071 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12072 # to its proper name (with version) after linking.
12073 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12074 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12075 # Commands to make compiler produce verbose output that lists
12076 # what "hidden" libraries, object files and flags are used when
12077 # linking a shared library.
12079 # There doesn't appear to be a way to prevent this compiler from
12080 # explicitly linking system object files so we need to strip them
12081 # from the output so that they don't get included in the library
12083 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12085 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12086 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12088 # Archives containing C++ object files must be created using
12089 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12090 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12095 # version 8.0 and above of icpc choke on multiply defined symbols
12096 # if we add $predep_objects and $postdep_objects, however 7.1 and
12097 # earlier do not add the objects themselves.
12098 case `$CC -V 2>&1` in
12100 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12101 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12103 *) # Version 8.0 or newer
12106 ia64
*) tmp_idyn
=' -i_dynamic';;
12108 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12109 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12112 archive_cmds_need_lc_CXX
=no
12113 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12114 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12115 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12118 # Portland Group C++ compiler
12121 prelink_cmds_CXX
='tpldir=Template.dir~
12123 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12124 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12125 old_archive_cmds_CXX
='tpldir=Template.dir~
12127 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12128 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12130 archive_cmds_CXX
='tpldir=Template.dir~
12132 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12133 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12134 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12136 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12137 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12139 *) # Version 6 will use weak symbols
12140 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12141 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12145 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12146 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12147 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12151 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12152 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12154 runpath_var
=LD_RUN_PATH
12155 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12156 hardcode_libdir_separator_CXX
=:
12158 # Commands to make compiler produce verbose output that lists
12159 # what "hidden" libraries, object files and flags are used when
12160 # linking a shared library.
12162 # There doesn't appear to be a way to prevent this compiler from
12163 # explicitly linking system object files so we need to strip them
12164 # from the output so that they don't get included in the library
12166 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12169 case `$CC -V 2>&1 | sed 5q` in
12172 no_undefined_flag_CXX
=' -zdefs'
12173 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12174 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12175 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12176 whole_archive_flag_spec_CXX
='${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'
12177 compiler_needs_object_CXX
=yes
12179 # Not sure whether something based on
12180 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12182 output_verbose_link_cmd
='echo'
12184 # Archives containing C++ object files must be created using
12185 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12186 # necessary to make sure instantiated templates are included
12188 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12196 # FIXME: insert proper C++ library support
12201 # FIXME: insert proper C++ library support
12206 case $cc_basename in
12208 # FIXME: insert proper C++ library support
12212 # FIXME: insert proper C++ library support
12219 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12220 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12222 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12223 hardcode_direct_CXX
=yes
12224 hardcode_shlibpath_var_CXX
=no
12226 # Workaround some broken pre-1.5 toolchains
12227 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12235 # C++ shared libraries are fairly broken
12240 hardcode_direct_CXX
=yes
12241 hardcode_shlibpath_var_CXX
=no
12242 hardcode_direct_absolute_CXX
=yes
12243 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12244 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12245 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12246 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12247 export_dynamic_flag_spec_CXX
='${wl}-E'
12248 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12250 output_verbose_link_cmd
=echo
12253 osf3
* | osf4
* | osf5
*)
12254 case $cc_basename in
12256 # Kuck and Associates, Inc. (KAI) C++ Compiler
12258 # KCC will only create a shared library if the output file
12259 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12260 # to its proper name (with version) after linking.
12261 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12263 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12264 hardcode_libdir_separator_CXX
=:
12266 # Archives containing C++ object files must be created using
12267 # the KAI C++ compiler.
12269 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12270 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12274 # Rational C++ 2.4.1
12275 # FIXME: insert proper C++ library support
12281 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12282 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12283 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12286 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12287 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12288 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12289 echo "-hidden">> $lib.exp~
12290 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
12292 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12296 hardcode_libdir_separator_CXX
=:
12298 # Commands to make compiler produce verbose output that lists
12299 # what "hidden" libraries, object files and flags are used when
12300 # linking a shared library.
12302 # There doesn't appear to be a way to prevent this compiler from
12303 # explicitly linking system object files so we need to strip them
12304 # from the output so that they don't get included in the library
12306 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12309 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12310 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12313 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
12316 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12320 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12321 hardcode_libdir_separator_CXX
=:
12323 # Commands to make compiler produce verbose output that lists
12324 # what "hidden" libraries, object files and flags are used when
12325 # linking a shared library.
12326 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12329 # FIXME: insert proper C++ library support
12337 # FIXME: insert proper C++ library support
12342 case $cc_basename in
12345 # FIXME: insert proper C++ library support
12350 # FIXME: insert proper C++ library support
12354 # FIXME: insert proper C++ library support
12361 case $cc_basename in
12363 # Sun C++ 4.2, 5.x and Centerline C++
12364 archive_cmds_need_lc_CXX
=yes
12365 no_undefined_flag_CXX
=' -zdefs'
12366 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12367 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12368 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12370 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12371 hardcode_shlibpath_var_CXX
=no
12373 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12375 # The compiler driver will combine and reorder linker options,
12376 # but understands `-z linker_flag'.
12377 # Supported since Solaris 2.6 (maybe 2.5.1?)
12378 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12381 link_all_deplibs_CXX
=yes
12383 output_verbose_link_cmd
='echo'
12385 # Archives containing C++ object files must be created using
12386 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12387 # necessary to make sure instantiated templates are included
12389 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12392 # Green Hills C++ Compiler
12393 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12395 # The C++ compiler must be used to create the archive.
12396 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12399 # GNU C++ compiler with Solaris linker
12400 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12401 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12402 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12403 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12404 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12405 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12407 # Commands to make compiler produce verbose output that lists
12408 # what "hidden" libraries, object files and flags are used when
12409 # linking a shared library.
12410 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12412 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12414 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12415 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12416 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12418 # Commands to make compiler produce verbose output that lists
12419 # what "hidden" libraries, object files and flags are used when
12420 # linking a shared library.
12421 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12424 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12426 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12428 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12436 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12437 no_undefined_flag_CXX
='${wl}-z,text'
12438 archive_cmds_need_lc_CXX
=no
12439 hardcode_shlibpath_var_CXX
=no
12440 runpath_var
='LD_RUN_PATH'
12442 case $cc_basename in
12444 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12445 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12448 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12449 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12454 sysv5
* | sco3.2v5
* | sco5v6
*)
12455 # Note: We can NOT use -z defs as we might desire, because we do not
12456 # link with -lc, and that would cause any symbols used from libc to
12457 # always be unresolved, which means just about no library would
12458 # ever link correctly. If we're not using GNU ld we use -z text
12459 # though, which does catch some bad symbols but isn't as heavy-handed
12461 no_undefined_flag_CXX
='${wl}-z,text'
12462 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12463 archive_cmds_need_lc_CXX
=no
12464 hardcode_shlibpath_var_CXX
=no
12465 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12466 hardcode_libdir_separator_CXX
=':'
12467 link_all_deplibs_CXX
=yes
12468 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12469 runpath_var
='LD_RUN_PATH'
12471 case $cc_basename in
12473 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12474 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12477 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12478 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12484 case $cc_basename in
12486 # NonStop-UX NCC 3.20
12487 # FIXME: insert proper C++ library support
12491 # FIXME: insert proper C++ library support
12498 # FIXME: insert proper C++ library support
12503 # FIXME: insert proper C++ library support
12508 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12509 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12510 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12516 ## There is no encapsulation within the following macros, do not change
12517 ## the running order or otherwise move them around unless you know exactly
12518 ## what you are doing...
12519 # Dependencies to place before and after the object being linked:
12520 predep_objects_CXX
=
12521 postdep_objects_CXX
=
12524 compiler_lib_search_path_CXX
=
12526 cat > conftest.
$ac_ext <<_LT_EOF
12530 Foo (void) { a = 0; }
12536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12537 (eval $ac_compile) 2>&5
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); }; then
12541 # Parse the compiler output and extract the necessary
12542 # objects, libraries and library flags.
12544 # Sentinel used to keep track of whether or not we are before
12545 # the conftest object file.
12546 pre_test_object_deps_done
=no
12548 # The `*' in the case matches for architectures that use `case' in
12549 # $output_verbose_cmd can trigger glob expansion during the loop
12550 # eval without this substitution.
12551 output_verbose_link_cmd
=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12553 for p
in `eval $output_verbose_link_cmd`; do
12557 # Some compilers place space between "-{L,R}" and the path.
12558 # Remove the space.
12559 if test $p = "-L" ||
12560 test $p = "-R"; then
12567 if test "$pre_test_object_deps_done" = no
; then
12570 # Internal compiler library paths should come after those
12571 # provided the user. The postdeps already come after the
12572 # user supplied libs so there is no need to process them.
12573 if test -z "$compiler_lib_search_path_CXX"; then
12574 compiler_lib_search_path_CXX
="${prev}${p}"
12576 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12579 # The "-l" case would never come before the object being
12580 # linked, so don't bother handling this case.
12583 if test -z "$postdeps_CXX"; then
12584 postdeps_CXX
="${prev}${p}"
12586 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12592 # This assumes that the test object file only shows up
12593 # once in the compiler output.
12594 if test "$p" = "conftest.$objext"; then
12595 pre_test_object_deps_done
=yes
12599 if test "$pre_test_object_deps_done" = no
; then
12600 if test -z "$predep_objects_CXX"; then
12601 predep_objects_CXX
="$p"
12603 predep_objects_CXX
="$predep_objects_CXX $p"
12606 if test -z "$postdep_objects_CXX"; then
12607 postdep_objects_CXX
="$p"
12609 postdep_objects_CXX
="$postdep_objects_CXX $p"
12614 *) ;; # Ignore the rest.
12622 echo "libtool.m4: error: problem compiling CXX test program"
12625 $RM -f confest.
$objext
12627 # PORTME: override above test on systems where it is broken
12630 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12631 # hack all around it, let's just trust "g++" to DTRT.
12632 predep_objects_CXX
=
12633 postdep_objects_CXX
=
12638 case `$CC -V 2>&1 | sed 5q` in
12642 # The more standards-conforming stlport4 library is
12643 # incompatible with the Cstd library. Avoid specifying
12644 # it if it's in CXXFLAGS. Ignore libCrun as
12645 # -library=stlport4 depends on it.
12646 case " $CXX $CXXFLAGS " in
12647 *" -library=stlport4 "*)
12648 solaris_use_stlport4
=yes
12652 if test "$solaris_use_stlport4" != yes; then
12653 postdeps_CXX
='-library=Cstd -library=Crun'
12660 case $cc_basename in
12662 # The more standards-conforming stlport4 library is
12663 # incompatible with the Cstd library. Avoid specifying
12664 # it if it's in CXXFLAGS. Ignore libCrun as
12665 # -library=stlport4 depends on it.
12666 case " $CXX $CXXFLAGS " in
12667 *" -library=stlport4 "*)
12668 solaris_use_stlport4
=yes
12672 # Adding this requires a known-good setup of shared libraries for
12673 # Sun compiler versions before 5.6, else PIC objects from an old
12674 # archive will be linked into the output, leading to subtle bugs.
12675 if test "$solaris_use_stlport4" != yes; then
12676 postdeps_CXX
='-library=Cstd -library=Crun'
12684 case " $postdeps_CXX " in
12685 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12713 lt_prog_compiler_wl_CXX
=
12714 lt_prog_compiler_pic_CXX
=
12715 lt_prog_compiler_static_CXX
=
12717 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12718 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12720 # C++ specific cases for pic, static, wl, etc.
12721 if test "$GXX" = yes; then
12722 lt_prog_compiler_wl_CXX
='-Wl,'
12723 lt_prog_compiler_static_CXX
='-static'
12727 # All AIX code is PIC.
12728 if test "$host_cpu" = ia64
; then
12729 # AIX 5 now supports IA64 processor
12730 lt_prog_compiler_static_CXX
='-Bstatic'
12734 if test "$host_cpu" = m68k
; then
12735 # FIXME: we need at least 68020 code to build shared libraries, but
12736 # adding the `-m68020' flag to GCC prevents building anything better,
12738 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12741 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12742 # PIC is the default for these OSes.
12744 mingw
* | cygwin
* | os2
* | pw32
*)
12745 # This hack is so that the source file can tell whether it is being
12746 # built for inclusion in a dll (and should export symbols for example).
12747 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12748 # (--disable-auto-import) libraries
12749 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12751 darwin
* | rhapsody
*)
12752 # PIC is the default on this platform
12753 # Common symbols not allowed in MH_DYLIB files
12754 lt_prog_compiler_pic_CXX
='-fno-common'
12757 # DJGPP does not support shared libraries at all
12758 lt_prog_compiler_pic_CXX
=
12761 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12762 # Instead, we relocate shared libraries at runtime.
12765 if test -d /usr
/nec
; then
12766 lt_prog_compiler_pic_CXX
=-Kconform_pic
12770 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12771 # not for PA HP-UX.
12776 lt_prog_compiler_pic_CXX
='-fPIC'
12781 # QNX uses GNU C++, but need to define -shared option too, otherwise
12782 # it will coredump.
12783 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12786 lt_prog_compiler_pic_CXX
='-fPIC'
12792 # All AIX code is PIC.
12793 if test "$host_cpu" = ia64
; then
12794 # AIX 5 now supports IA64 processor
12795 lt_prog_compiler_static_CXX
='-Bstatic'
12797 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12801 case $cc_basename in
12803 # Green Hills C++ Compiler
12804 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12809 # PIC is the default on this platform
12810 # Common symbols not allowed in MH_DYLIB files
12811 case $cc_basename in
12813 lt_prog_compiler_pic_CXX
='-qnocommon'
12814 lt_prog_compiler_wl_CXX
='-Wl,'
12819 case $cc_basename in
12821 lt_prog_compiler_pic_CXX
='-KPIC'
12824 # Green Hills C++ Compiler
12825 lt_prog_compiler_pic_CXX
='-pic'
12831 freebsd
* | dragonfly
*)
12832 # FreeBSD uses GNU C++
12834 hpux9
* | hpux10
* | hpux11
*)
12835 case $cc_basename in
12837 lt_prog_compiler_wl_CXX
='-Wl,'
12838 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12839 if test "$host_cpu" != ia64
; then
12840 lt_prog_compiler_pic_CXX
='+Z'
12844 lt_prog_compiler_wl_CXX
='-Wl,'
12845 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12851 lt_prog_compiler_pic_CXX
='+Z'
12860 # This is c89, which is MS Visual C++ (no shared libs)
12861 # Anyone wants to do a port?
12863 irix5
* | irix6
* | nonstopux
*)
12864 case $cc_basename in
12866 lt_prog_compiler_wl_CXX
='-Wl,'
12867 lt_prog_compiler_static_CXX
='-non_shared'
12868 # CC pic flag -KPIC is the default.
12874 linux
* | k
*bsd
*-gnu)
12875 case $cc_basename in
12878 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12879 lt_prog_compiler_pic_CXX
='-fPIC'
12883 lt_prog_compiler_wl_CXX
='-Wl,'
12884 lt_prog_compiler_pic_CXX
='-KPIC'
12885 lt_prog_compiler_static_CXX
='-static'
12888 # Portland Group C++ compiler
12889 lt_prog_compiler_wl_CXX
='-Wl,'
12890 lt_prog_compiler_pic_CXX
='-fpic'
12891 lt_prog_compiler_static_CXX
='-Bstatic'
12895 # Make sure the PIC flag is empty. It appears that all Alpha
12896 # Linux and Compaq Tru64 Unix objects are PIC.
12897 lt_prog_compiler_pic_CXX
=
12898 lt_prog_compiler_static_CXX
='-non_shared'
12901 case `$CC -V 2>&1 | sed 5q` in
12904 lt_prog_compiler_pic_CXX
='-KPIC'
12905 lt_prog_compiler_static_CXX
='-Bstatic'
12906 lt_prog_compiler_wl_CXX
='-Qoption ld '
12917 case $cc_basename in
12919 lt_prog_compiler_pic_CXX
='-W c,exportall'
12928 # QNX uses GNU C++, but need to define -shared option too, otherwise
12929 # it will coredump.
12930 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12932 osf3
* | osf4
* | osf5
*)
12933 case $cc_basename in
12935 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12938 # Rational C++ 2.4.1
12939 lt_prog_compiler_pic_CXX
='-pic'
12942 # Digital/Compaq C++
12943 lt_prog_compiler_wl_CXX
='-Wl,'
12944 # Make sure the PIC flag is empty. It appears that all Alpha
12945 # Linux and Compaq Tru64 Unix objects are PIC.
12946 lt_prog_compiler_pic_CXX
=
12947 lt_prog_compiler_static_CXX
='-non_shared'
12956 case $cc_basename in
12958 # Sun C++ 4.2, 5.x and Centerline C++
12959 lt_prog_compiler_pic_CXX
='-KPIC'
12960 lt_prog_compiler_static_CXX
='-Bstatic'
12961 lt_prog_compiler_wl_CXX
='-Qoption ld '
12964 # Green Hills C++ Compiler
12965 lt_prog_compiler_pic_CXX
='-PIC'
12972 case $cc_basename in
12975 lt_prog_compiler_pic_CXX
='-pic'
12976 lt_prog_compiler_static_CXX
='-Bstatic'
12980 lt_prog_compiler_pic_CXX
='-pic'
12986 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12987 case $cc_basename in
12989 lt_prog_compiler_wl_CXX
='-Wl,'
12990 lt_prog_compiler_pic_CXX
='-KPIC'
12991 lt_prog_compiler_static_CXX
='-Bstatic'
12996 case $cc_basename in
12998 # NonStop-UX NCC 3.20
12999 lt_prog_compiler_pic_CXX
='-KPIC'
13008 lt_prog_compiler_can_build_shared_CXX
=no
13014 # For platforms which do not support PIC, -DPIC is meaningless:
13016 lt_prog_compiler_pic_CXX
=
13019 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13022 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13023 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
13028 # Check to make sure the PIC flag actually works.
13030 if test -n "$lt_prog_compiler_pic_CXX"; then
13031 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13032 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
13033 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13034 echo $ECHO_N "(cached) $ECHO_C" >&6
13036 lt_prog_compiler_pic_works_CXX
=no
13037 ac_outfile
=conftest.
$ac_objext
13038 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13039 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13040 # Insert the option either (1) after the last *FLAGS variable, or
13041 # (2) before a word containing "conftest.", or (3) at the end.
13042 # Note that $ac_compile itself does not contain backslashes and begins
13043 # with a dollar sign (not a hyphen), so the echo should work correctly.
13044 # The option is referenced via a variable to avoid confusing sed.
13045 lt_compile
=`echo "$ac_compile" | $SED \
13046 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13047 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13048 -e 's:$: $lt_compiler_flag:'`
13049 (eval echo "\"\$as_me:13049: $lt_compile\"" >&5)
13050 (eval "$lt_compile" 2>conftest.err
)
13052 cat conftest.err
>&5
13053 echo "$as_me:13053: \$? = $ac_status" >&5
13054 if (exit $ac_status) && test -s "$ac_outfile"; then
13055 # The compiler can only warn and ignore the option if not recognized
13056 # So say no if there are warnings other than the usual output.
13057 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13058 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13059 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13060 lt_prog_compiler_pic_works_CXX
=yes
13066 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13067 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
13069 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
13070 case $lt_prog_compiler_pic_CXX in
13072 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13075 lt_prog_compiler_pic_CXX
=
13076 lt_prog_compiler_can_build_shared_CXX
=no
13084 # Check to make sure the static flag actually works.
13086 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13087 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13088 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13089 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
13090 echo $ECHO_N "(cached) $ECHO_C" >&6
13092 lt_prog_compiler_static_works_CXX
=no
13093 save_LDFLAGS
="$LDFLAGS"
13094 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13095 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13096 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13097 # The linker can only warn and ignore the option if not recognized
13098 # So say no if there are warnings
13099 if test -s conftest.err
; then
13100 # Append any errors to the config.log.
13101 cat conftest.err
1>&5
13102 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13103 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13104 if diff conftest.exp conftest.er2
>/dev
/null
; then
13105 lt_prog_compiler_static_works_CXX
=yes
13108 lt_prog_compiler_static_works_CXX
=yes
13112 LDFLAGS
="$save_LDFLAGS"
13115 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13116 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
13118 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
13121 lt_prog_compiler_static_CXX
=
13127 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13128 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13129 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13130 echo $ECHO_N "(cached) $ECHO_C" >&6
13132 lt_cv_prog_compiler_c_o_CXX
=no
13133 $RM -r conftest
2>/dev
/null
13137 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13139 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13140 # Insert the option either (1) after the last *FLAGS variable, or
13141 # (2) before a word containing "conftest.", or (3) at the end.
13142 # Note that $ac_compile itself does not contain backslashes and begins
13143 # with a dollar sign (not a hyphen), so the echo should work correctly.
13144 lt_compile
=`echo "$ac_compile" | $SED \
13145 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13146 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13147 -e 's:$: $lt_compiler_flag:'`
13148 (eval echo "\"\$as_me:13148: $lt_compile\"" >&5)
13149 (eval "$lt_compile" 2>out
/conftest.err
)
13151 cat out
/conftest.err
>&5
13152 echo "$as_me:13152: \$? = $ac_status" >&5
13153 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13155 # The compiler can only warn and ignore the option if not recognized
13156 # So say no if there are warnings
13157 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13158 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13159 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13160 lt_cv_prog_compiler_c_o_CXX
=yes
13165 # SGI C++ compiler will create directory out/ii_files/ for
13166 # template instantiation
13167 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13168 $RM out
/* && rmdir out
13174 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13175 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13179 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13180 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13181 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13182 echo $ECHO_N "(cached) $ECHO_C" >&6
13184 lt_cv_prog_compiler_c_o_CXX
=no
13185 $RM -r conftest
2>/dev
/null
13189 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13191 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13192 # Insert the option either (1) after the last *FLAGS variable, or
13193 # (2) before a word containing "conftest.", or (3) at the end.
13194 # Note that $ac_compile itself does not contain backslashes and begins
13195 # with a dollar sign (not a hyphen), so the echo should work correctly.
13196 lt_compile
=`echo "$ac_compile" | $SED \
13197 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13198 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13199 -e 's:$: $lt_compiler_flag:'`
13200 (eval echo "\"\$as_me:13200: $lt_compile\"" >&5)
13201 (eval "$lt_compile" 2>out
/conftest.err
)
13203 cat out
/conftest.err
>&5
13204 echo "$as_me:13204: \$? = $ac_status" >&5
13205 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13207 # The compiler can only warn and ignore the option if not recognized
13208 # So say no if there are warnings
13209 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13210 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13211 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13212 lt_cv_prog_compiler_c_o_CXX
=yes
13217 # SGI C++ compiler will create directory out/ii_files/ for
13218 # template instantiation
13219 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13220 $RM out
/* && rmdir out
13226 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13227 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13232 hard_links
="nottested"
13233 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13234 # do not overwrite the value of need_locks provided by the user
13235 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13236 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13239 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13241 ln conftest.a conftest.b
2>&5 || hard_links
=no
13242 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13243 echo "$as_me:$LINENO: result: $hard_links" >&5
13244 echo "${ECHO_T}$hard_links" >&6
13245 if test "$hard_links" = no
; then
13246 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13247 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13256 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13257 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13259 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13262 # If we're using GNU nm, then we don't want the "-C" option.
13263 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13264 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13265 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13267 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13271 export_symbols_cmds_CXX
="$ltdll_cmds"
13274 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13277 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13281 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13282 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13283 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13285 with_gnu_ld_CXX
=$with_gnu_ld
13293 # Do we need to explicitly link libc?
13295 case "x$archive_cmds_need_lc_CXX" in
13297 # Assume -lc should be added
13298 archive_cmds_need_lc_CXX
=yes
13300 if test "$enable_shared" = yes && test "$GCC" = yes; then
13301 case $archive_cmds_CXX in
13303 # FIXME: we may have to deal with multi-command sequences.
13306 # Test whether the compiler implicitly links with -lc since on some
13307 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13308 # to ld, don't add -lc before -lgcc.
13309 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13310 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13312 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13315 (eval $ac_compile) 2>&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); } 2>conftest.err
; then
13321 libobjs
=conftest.
$ac_objext
13323 wl
=$lt_prog_compiler_wl_CXX
13324 pic_flag
=$lt_prog_compiler_pic_CXX
13330 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13331 allow_undefined_flag_CXX
=
13332 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13333 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13336 (exit $ac_status); }
13338 archive_cmds_need_lc_CXX
=no
13340 archive_cmds_need_lc_CXX
=yes
13342 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13344 cat conftest.err
1>&5
13347 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13348 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
13418 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13419 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13421 library_names_spec
=
13422 libname_spec
='lib$name'
13426 postuninstall_cmds
=
13430 shlibpath_overrides_runpath
=unknown
13432 dynamic_linker
="$host_os ld.so"
13433 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13434 need_lib_prefix
=unknown
13435 hardcode_into_libs
=no
13437 # when you set need_version to no, make sure it does not cause -set_version
13438 # flags to be left without arguments
13439 need_version
=unknown
13444 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13445 shlibpath_var
=LIBPATH
13447 # AIX 3 has no versioning support, so we append a major version to the name.
13448 soname_spec
='${libname}${release}${shared_ext}$major'
13455 hardcode_into_libs
=yes
13456 if test "$host_cpu" = ia64
; then
13457 # AIX 5 supports IA64
13458 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13459 shlibpath_var
=LD_LIBRARY_PATH
13461 # With GCC up to 2.95.x, collect2 would create an import file
13462 # for dependence libraries. The import file would start with
13463 # the line `#! .'. This would cause the generated library to
13464 # depend on `.', always an invalid library. This was fixed in
13465 # development snapshots of GCC prior to 3.0.
13467 aix4 | aix4.
[01] | aix4.
[01].
*)
13468 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13470 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13473 can_build_shared
=no
13477 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13478 # soname into executable. Probably we can add versioning support to
13479 # collect2, so additional links can be useful in future.
13480 if test "$aix_use_runtimelinking" = yes; then
13481 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13482 # instead of lib<name>.a to let people know that these are not
13483 # typical AIX shared libraries.
13484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13486 # We preserve .a as extension for shared libraries through AIX4.2
13487 # and later when we are not doing run time linking.
13488 library_names_spec
='${libname}${release}.a $libname.a'
13489 soname_spec
='${libname}${release}${shared_ext}$major'
13491 shlibpath_var
=LIBPATH
13496 if test "$host_cpu" = m68k
; then
13497 library_names_spec
='$libname.ixlibrary $libname.a'
13498 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13499 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'
13506 library_names_spec
='${libname}${shared_ext}'
13507 dynamic_linker
="$host_os ld.so"
13508 shlibpath_var
=LIBRARY_PATH
13514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13515 soname_spec
='${libname}${release}${shared_ext}$major'
13516 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13517 shlibpath_var
=LD_LIBRARY_PATH
13518 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13519 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13520 # the default ld.so.conf also contains /usr/contrib/lib and
13521 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13522 # libtool to hard-code these into programs
13525 cygwin
* | mingw
* | pw32
*)
13526 version_type
=windows
13531 case $withGCC,$host_os in
13532 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13533 library_names_spec
='$libname.dll.a'
13534 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13535 postinstall_cmds
='base_file=`basename \${file}`~
13536 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13537 dldir=$destdir/`dirname \$dlpath`~
13538 test -d \$dldir || mkdir -p \$dldir~
13539 $install_prog $dir/$dlname \$dldir/$dlname~
13540 chmod a+x \$dldir/$dlname~
13541 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13542 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13544 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13545 dlpath=$dir/\$dldll~
13547 shlibpath_overrides_runpath
=yes
13551 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13552 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13553 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13556 # MinGW DLLs use traditional 'lib' prefix
13557 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13558 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13559 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
13560 # It is most probably a Windows format PATH printed by
13561 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13562 # path with ; separators, and with drive letters. We can handle the
13563 # drive letters (cygwin fileutils understands them), so leave them,
13564 # especially as we might pass files found there to a mingw objdump,
13565 # which wouldn't understand a cygwinified path. Ahh.
13566 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13568 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13572 # pw32 DLLs use 'pw' prefix rather than 'lib'
13573 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13579 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13582 dynamic_linker
='Win32 ld.exe'
13583 # FIXME: first we should search . and the directory the executable is in
13587 darwin
* | rhapsody
*)
13588 dynamic_linker
="$host_os dyld"
13589 version_type
=darwin
13592 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13593 soname_spec
='${libname}${release}${major}$shared_ext'
13594 shlibpath_overrides_runpath
=yes
13595 shlibpath_var
=DYLD_LIBRARY_PATH
13596 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13598 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13605 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13606 soname_spec
='${libname}${release}${shared_ext}$major'
13607 shlibpath_var
=LD_LIBRARY_PATH
13614 freebsd
* | dragonfly
*)
13615 # DragonFly does not have aout. When/if they implement a new
13616 # versioning mechanism, adjust this.
13617 if test -x /usr
/bin
/objformat
; then
13618 objformat
=`/usr/bin/objformat`
13621 freebsd
[123]*) objformat
=aout
;;
13622 *) objformat
=elf
;;
13625 version_type
=freebsd-
$objformat
13626 case $version_type in
13628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13633 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13637 shlibpath_var
=LD_LIBRARY_PATH
13640 shlibpath_overrides_runpath
=yes
13642 freebsd3.
[01]* | freebsdelf3.
[01]*)
13643 shlibpath_overrides_runpath
=yes
13644 hardcode_into_libs
=yes
13646 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13647 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13648 shlibpath_overrides_runpath
=no
13649 hardcode_into_libs
=yes
13651 *) # from 4.6 on, and DragonFly
13652 shlibpath_overrides_runpath
=yes
13653 hardcode_into_libs
=yes
13662 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13663 soname_spec
='${libname}${release}${shared_ext}$major'
13664 shlibpath_var
=LD_LIBRARY_PATH
13665 hardcode_into_libs
=yes
13668 hpux9
* | hpux10
* | hpux11
*)
13669 # Give a soname corresponding to the major version so that dld.sl refuses to
13670 # link against other versions.
13677 hardcode_into_libs
=yes
13678 dynamic_linker
="$host_os dld.so"
13679 shlibpath_var
=LD_LIBRARY_PATH
13680 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13682 soname_spec
='${libname}${release}${shared_ext}$major'
13683 if test "X$HPUX_IA64_MODE" = X32
; then
13684 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13686 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13688 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13692 hardcode_into_libs
=yes
13693 dynamic_linker
="$host_os dld.sl"
13694 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13695 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13697 soname_spec
='${libname}${release}${shared_ext}$major'
13698 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13699 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13703 dynamic_linker
="$host_os dld.sl"
13704 shlibpath_var
=SHLIB_PATH
13705 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13707 soname_spec
='${libname}${release}${shared_ext}$major'
13710 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13711 postinstall_cmds
='chmod 555 $lib'
13718 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13719 soname_spec
='${libname}${release}${shared_ext}$major'
13720 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13721 shlibpath_var
=LD_LIBRARY_PATH
13722 shlibpath_overrides_runpath
=no
13723 hardcode_into_libs
=yes
13726 irix5
* | irix6
* | nonstopux
*)
13728 nonstopux
*) version_type
=nonstopux
;;
13730 if test "$lt_cv_prog_gnu_ld" = yes; then
13738 soname_spec
='${libname}${release}${shared_ext}$major'
13739 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13741 irix5
* | nonstopux
*)
13742 libsuff
= shlibsuff
=
13745 case $LD in # libtool.m4 will add one of these switches to LD
13746 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13747 libsuff
= shlibsuff
= libmagic
=32-bit;;
13748 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13749 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13750 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13751 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13752 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13756 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13757 shlibpath_overrides_runpath
=no
13758 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13759 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13760 hardcode_into_libs
=yes
13763 # No shared lib support for Linux oldld, aout, or coff.
13764 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13768 # This must be Linux ELF.
13769 linux
* | k
*bsd
*-gnu)
13773 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13774 soname_spec
='${libname}${release}${shared_ext}$major'
13775 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13776 shlibpath_var
=LD_LIBRARY_PATH
13777 shlibpath_overrides_runpath
=no
13778 # Some binutils ld are patched to set DT_RUNPATH
13779 save_LDFLAGS
=$LDFLAGS
13780 save_libdir
=$libdir
13781 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13782 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13783 if test x
$gcc_no_link = xyes
; then
13784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13786 { (exit 1); exit 1; }; }
13788 cat >conftest.
$ac_ext <<_ACEOF
13791 cat confdefs.h
>>conftest.
$ac_ext
13792 cat >>conftest.
$ac_ext <<_ACEOF
13793 /* end confdefs.h. */
13803 rm -f conftest.
$ac_objext conftest
$ac_exeext
13804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13805 (eval $ac_link) 2>conftest.er1
13807 grep -v '^ *+' conftest.er1
>conftest.err
13809 cat conftest.err
>&5
13810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); } &&
13812 { ac_try
='test -z "$ac_cxx_werror_flag"
13813 || test ! -s conftest.err'
13814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13815 (eval $ac_try) 2>&5
13817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818 (exit $ac_status); }; } &&
13819 { ac_try
='test -s conftest$ac_exeext'
13820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13821 (eval $ac_try) 2>&5
13823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13824 (exit $ac_status); }; }; then
13825 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
13826 shlibpath_overrides_runpath
=yes
13830 echo "$as_me: failed program was:" >&5
13831 sed 's/^/| /' conftest.
$ac_ext >&5
13834 rm -f conftest.err conftest.
$ac_objext \
13835 conftest
$ac_exeext conftest.
$ac_ext
13836 LDFLAGS
=$save_LDFLAGS
13837 libdir
=$save_libdir
13839 # This implies no fast_install, which is unacceptable.
13840 # Some rework will be needed to allow for fast_install
13841 # before this can be enabled.
13842 hardcode_into_libs
=yes
13844 # Append ld.so.conf contents to the search path
13845 if test -f /etc
/ld.so.conf
; then
13846 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' ' '`
13847 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13850 # We used to test for /lib/ld.so.1 and disable shared libraries on
13851 # powerpc, because MkLinux only supported shared libraries with the
13852 # GNU dynamic linker. Since this was broken with cross compilers,
13853 # most powerpc-linux boxes support dynamic linking these days and
13854 # people can always --disable-shared, the test was removed, and we
13855 # assume the GNU/Linux dynamic linker is in use.
13856 dynamic_linker
='GNU/Linux ld.so'
13863 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13864 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13865 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13866 dynamic_linker
='NetBSD (a.out) ld.so'
13868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13869 soname_spec
='${libname}${release}${shared_ext}$major'
13870 dynamic_linker
='NetBSD ld.elf_so'
13872 shlibpath_var
=LD_LIBRARY_PATH
13873 shlibpath_overrides_runpath
=yes
13874 hardcode_into_libs
=yes
13879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13880 shlibpath_var
=LD_LIBRARY_PATH
13881 shlibpath_overrides_runpath
=yes
13888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13889 soname_spec
='${libname}${release}${shared_ext}$major'
13890 shlibpath_var
=LD_LIBRARY_PATH
13891 shlibpath_overrides_runpath
=no
13892 hardcode_into_libs
=yes
13893 dynamic_linker
='ldqnx.so'
13898 sys_lib_dlsearch_path_spec
="/usr/lib"
13900 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13902 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13903 *) need_version
=no
;;
13905 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13906 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13907 shlibpath_var
=LD_LIBRARY_PATH
13908 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13910 openbsd2.
[89] | openbsd2.
[89].
*)
13911 shlibpath_overrides_runpath
=no
13914 shlibpath_overrides_runpath
=yes
13918 shlibpath_overrides_runpath
=yes
13923 libname_spec
='$name'
13926 library_names_spec
='$libname${shared_ext} $libname.a'
13927 dynamic_linker
='OS/2 ld.exe'
13928 shlibpath_var
=LIBPATH
13931 osf3
* | osf4
* | osf5
*)
13935 soname_spec
='${libname}${release}${shared_ext}$major'
13936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13937 shlibpath_var
=LD_LIBRARY_PATH
13938 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13939 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13951 soname_spec
='${libname}${release}${shared_ext}$major'
13952 shlibpath_var
=LD_LIBRARY_PATH
13953 shlibpath_overrides_runpath
=yes
13954 hardcode_into_libs
=yes
13955 # ldd complains unless libraries are executable
13956 postinstall_cmds
='chmod +x $lib'
13961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13962 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13963 shlibpath_var
=LD_LIBRARY_PATH
13964 shlibpath_overrides_runpath
=yes
13965 if test "$with_gnu_ld" = yes; then
13973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13974 soname_spec
='${libname}${release}${shared_ext}$major'
13975 shlibpath_var
=LD_LIBRARY_PATH
13976 case $host_vendor in
13978 shlibpath_overrides_runpath
=no
13980 runpath_var
=LD_RUN_PATH
13988 shlibpath_overrides_runpath
=no
13989 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13995 if test -d /usr
/nec
;then
13997 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13998 soname_spec
='$libname${shared_ext}.$major'
13999 shlibpath_var
=LD_LIBRARY_PATH
14003 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14004 version_type
=freebsd-elf
14007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14008 soname_spec
='${libname}${release}${shared_ext}$major'
14009 shlibpath_var
=LD_LIBRARY_PATH
14010 shlibpath_overrides_runpath
=yes
14011 hardcode_into_libs
=yes
14012 if test "$with_gnu_ld" = yes; then
14013 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14015 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14018 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14022 sys_lib_dlsearch_path_spec
='/usr/lib'
14026 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14030 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14031 shlibpath_var
=LD_LIBRARY_PATH
14032 shlibpath_overrides_runpath
=no
14033 hardcode_into_libs
=yes
14038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14039 soname_spec
='${libname}${release}${shared_ext}$major'
14040 shlibpath_var
=LD_LIBRARY_PATH
14047 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14048 echo "${ECHO_T}$dynamic_linker" >&6
14049 test "$dynamic_linker" = no
&& can_build_shared
=no
14051 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14052 if test "$GCC" = yes; then
14053 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14091 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14092 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14093 hardcode_action_CXX
=
14094 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14095 test -n "$runpath_var_CXX" ||
14096 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14098 # We can hardcode non-existent directories.
14099 if test "$hardcode_direct_CXX" != no
&&
14100 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14101 # have to relink, otherwise we might link with an installed library
14102 # when we should be linking with a yet-to-be-installed one
14103 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14104 test "$hardcode_minus_L_CXX" != no
; then
14105 # Linking always hardcodes the temporary library directory.
14106 hardcode_action_CXX
=relink
14108 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14109 hardcode_action_CXX
=immediate
14112 # We cannot hardcode anything, or else we can only hardcode existing
14114 hardcode_action_CXX
=unsupported
14116 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14117 echo "${ECHO_T}$hardcode_action_CXX" >&6
14119 if test "$hardcode_action_CXX" = relink ||
14120 test "$inherit_rpath_CXX" = yes; then
14121 # Fast installation is not supported
14122 enable_fast_install
=no
14123 elif test "$shlibpath_overrides_runpath" = yes ||
14124 test "$enable_shared" = no
; then
14125 # Fast installation is not necessary
14126 enable_fast_install
=needless
14135 fi # test -n "$compiler"
14141 with_gnu_ld
=$lt_save_with_gnu_ld
14142 lt_cv_path_LDCXX
=$lt_cv_path_LD
14143 lt_cv_path_LD
=$lt_save_path_LD
14144 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14145 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14146 fi # test "$_lt_caught_CXX_error" != yes
14149 ac_cpp
='$CPP $CPPFLAGS'
14150 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14151 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14152 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14166 ac_config_commands
="$ac_config_commands libtool"
14171 # Only expand once:
14176 # Check whether --with-target-subdir or --without-target-subdir was given.
14177 if test "${with_target_subdir+set}" = set; then
14178 withval
="$with_target_subdir"
14182 # Check whether --with-cross-host or --without-cross-host was given.
14183 if test "${with_cross_host+set}" = set; then
14184 withval
="$with_cross_host"
14188 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
14189 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
14190 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
14191 if test -z "$THREADS"; then
14194 echo "$as_me:$LINENO: result: $THREADS" >&5
14195 echo "${ECHO_T}$THREADS" >&6
14197 # Check whether --enable-parallel-mark or --disable-parallel-mark was given.
14198 if test "${enable_parallel_mark+set}" = set; then
14199 enableval
="$enable_parallel_mark"
14201 no | none | single
)
14202 { { echo "$as_me:$LINENO: error: Parallel mark requires --enable-threads=x spec" >&5
14203 echo "$as_me: error: Parallel mark requires --enable-threads=x spec" >&2;}
14204 { (exit 1); exit 1; }; }
14210 AM_CPPFLAGS
="-I`cd $srcdir && ${PWDCMD-pwd}`/include"
14213 no | none | single
)
14216 posix | posix95 | pthreads
)
14218 THREADLIBS
=-lpthread
14220 x86-
*-linux* | ia64-
*-linux* | i586-
*-linux* | i686-
*-linux* | x86_64-
*-linux* | alpha-
*-linux*)
14222 cat >>confdefs.h
<<\_ACEOF
14223 #define GC_LINUX_THREADS 1
14227 cat >>confdefs.h
<<\_ACEOF
14228 #define _REENTRANT 1
14231 if test "${enable_parallel_mark}" = yes; then
14233 cat >>confdefs.h
<<\_ACEOF
14234 #define PARALLEL_MARK 1
14239 cat >>confdefs.h
<<\_ACEOF
14240 #define THREAD_LOCAL_ALLOC 1
14245 cat >>confdefs.h
<<\_ACEOF
14246 #define GC_LINUX_THREADS 1
14249 cat >>confdefs.h
<<\_ACEOF
14250 #define _REENTRANT 1
14256 cat >>confdefs.h
<<\_ACEOF
14257 #define GC_AIX_THREADS 1
14260 cat >>confdefs.h
<<\_ACEOF
14261 #define _REENTRANT 1
14266 { echo "$as_me:$LINENO: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&5
14267 echo "$as_me: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&2;}
14269 cat >>confdefs.h
<<\_ACEOF
14270 #define GC_HPUX_THREADS 1
14274 cat >>confdefs.h
<<\_ACEOF
14275 #define _POSIX_C_SOURCE 199506L
14278 if test "${enable_parallel_mark}" = yes; then
14279 cat >>confdefs.h
<<\_ACEOF
14280 #define PARALLEL_MARK 1
14284 cat >>confdefs.h
<<\_ACEOF
14285 #define THREAD_LOCAL_ALLOC 1
14288 THREADLIBS
="-lpthread -lrt"
14289 # HPUX needs REENTRANT for the _r calls.
14291 cat >>confdefs.h
<<\_ACEOF
14292 #define _REENTRANT 1
14297 { echo "$as_me:$LINENO: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&5
14298 echo "$as_me: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&2;}
14301 cat >>confdefs.h
<<\_ACEOF
14302 #define GC_FREEBSD_THREADS 1
14305 INCLUDES
="$INCLUDES -pthread"
14306 THREADDLLIBS
=-pthread
14307 cat >>confdefs.h
<<\_ACEOF
14308 #define _REENTRANT 1
14311 if test "${enable_parallel_mark}" = yes; then
14312 cat >>confdefs.h
<<\_ACEOF
14313 #define PARALLEL_MARK 1
14317 cat >>confdefs.h
<<\_ACEOF
14318 #define THREAD_LOCAL_ALLOC 1
14322 cat >>confdefs.h
<<\_ACEOF
14323 #define USE_COMPILER_TLS 1
14328 { echo "$as_me:$LINENO: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5
14329 echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
14331 cat >>confdefs.h
<<\_ACEOF
14332 #define GC_FREEBSD_THREADS 1
14335 AM_CPPFLAGS
="$AM_CPPFLAGS -pthread"
14336 THREADLIBS
=-pthread
14340 cat >>confdefs.h
<<\_ACEOF
14341 #define GC_SOLARIS_PTHREADS 1
14344 # Need to use alternate thread library, otherwise gctest hangs
14346 multi_os_directory
=`$CC -print-multi-os-directory`
14347 THREADLIBS
="-L/usr/lib/lwp/$multi_os_directory \
14348 -R/usr/lib/lwp/$multi_os_directory -lpthread -lthread -lrt"
14352 cat >>confdefs.h
<<\_ACEOF
14353 #define GC_IRIX_THREADS 1
14359 cat >>confdefs.h
<<\_ACEOF
14360 #define GC_WIN32_THREADS 1
14366 cat >>confdefs.h
<<\_ACEOF
14367 #define GC_DARWIN_THREADS 1
14370 cat >>confdefs.h
<<\_ACEOF
14371 #define THREAD_LOCAL_ALLOC 1
14374 if test "${enable_parallel_mark}" = yes; then
14375 cat >>confdefs.h
<<\_ACEOF
14376 #define PARALLEL_MARK 1
14383 cat >>confdefs.h
<<\_ACEOF
14384 #define GC_OSF1_THREADS 1
14387 if test "${enable_parallel_mark}" = yes; then
14388 cat >>confdefs.h
<<\_ACEOF
14389 #define PARALLEL_MARK 1
14392 cat >>confdefs.h
<<\_ACEOF
14393 #define THREAD_LOCAL_ALLOC 1
14396 # May want to enable it in other cases, too.
14397 # Measurements havent yet been done.
14399 AM_CPPFLAGS
="$AM_CPPFLAGS -pthread"
14400 THREADLIBS
="-lpthread -lrt"
14405 cat >>confdefs.h
<<\_ACEOF
14406 #define GC_WIN32_THREADS 1
14412 echo "$as_me:$LINENO: result: $THREADLIBS" >&5
14413 echo "${ECHO_T}$THREADLIBS" >&6
14414 # Use pthread GCC switch
14415 THREADLIBS
=-pthread
14416 if test "${enable_parallel_mark}" = yes; then
14417 cat >>confdefs.h
<<\_ACEOF
14418 #define PARALLEL_MARK 1
14422 cat >>confdefs.h
<<\_ACEOF
14423 #define THREAD_LOCAL_ALLOC 1
14427 cat >>confdefs.h
<<\_ACEOF
14428 #define GC_DGUX386_THREADS 1
14432 cat >>confdefs.h
<<\_ACEOF
14433 #define DGUX_THREADS 1
14436 # Enable _POSIX4A_DRAFT10_SOURCE with flag -pthread
14437 AM_CPPFLAGS
="-pthread $AM_CPPFLAGS"
14441 THREADLIBS
=-lpthread
14442 cat >>confdefs.h
<<\_ACEOF
14443 #define GC_AIX_THREADS 1
14446 cat >>confdefs.h
<<\_ACEOF
14447 #define _REENTRANT 1
14451 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
14452 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
14453 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
14454 { (exit 1); exit 1; }; }
14457 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
14458 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
14459 { (exit 1); exit 1; }; }
14466 powerpc_darwin
=true
14471 if test x
$powerpc_darwin = xtrue
; then
14472 POWERPC_DARWIN_TRUE
=
14473 POWERPC_DARWIN_FALSE
='#'
14475 POWERPC_DARWIN_TRUE
='#'
14476 POWERPC_DARWIN_FALSE
=
14480 # Darwin needs a few extra special tests to deal with variation in the
14483 powerpc
*-*-darwin*)
14484 echo "$as_me:$LINENO: checking for ppc_thread_state_t.r0" >&5
14485 echo $ECHO_N "checking for ppc_thread_state_t.r0... $ECHO_C" >&6
14486 if test "${ac_cv_member_ppc_thread_state_t_r0+set}" = set; then
14487 echo $ECHO_N "(cached) $ECHO_C" >&6
14489 cat >conftest.
$ac_ext <<_ACEOF
14492 cat confdefs.h
>>conftest.
$ac_ext
14493 cat >>conftest.
$ac_ext <<_ACEOF
14494 /* end confdefs.h. */
14495 #include <mach/thread_status.h>
14500 static ppc_thread_state_t ac_aggr;
14507 rm -f conftest.
$ac_objext
14508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14509 (eval $ac_compile) 2>conftest.er1
14511 grep -v '^ *+' conftest.er1
>conftest.err
14513 cat conftest.err
>&5
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); } &&
14516 { ac_try
='test -z "$ac_c_werror_flag"
14517 || test ! -s conftest.err'
14518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14519 (eval $ac_try) 2>&5
14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14522 (exit $ac_status); }; } &&
14523 { ac_try
='test -s conftest.$ac_objext'
14524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14525 (eval $ac_try) 2>&5
14527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14528 (exit $ac_status); }; }; then
14529 ac_cv_member_ppc_thread_state_t_r0
=yes
14531 echo "$as_me: failed program was:" >&5
14532 sed 's/^/| /' conftest.
$ac_ext >&5
14534 cat >conftest.
$ac_ext <<_ACEOF
14537 cat confdefs.h
>>conftest.
$ac_ext
14538 cat >>conftest.
$ac_ext <<_ACEOF
14539 /* end confdefs.h. */
14540 #include <mach/thread_status.h>
14545 static ppc_thread_state_t ac_aggr;
14546 if (sizeof ac_aggr.r0)
14552 rm -f conftest.
$ac_objext
14553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14554 (eval $ac_compile) 2>conftest.er1
14556 grep -v '^ *+' conftest.er1
>conftest.err
14558 cat conftest.err
>&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); } &&
14561 { ac_try
='test -z "$ac_c_werror_flag"
14562 || test ! -s conftest.err'
14563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14564 (eval $ac_try) 2>&5
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }; } &&
14568 { ac_try
='test -s conftest.$ac_objext'
14569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14570 (eval $ac_try) 2>&5
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); }; }; then
14574 ac_cv_member_ppc_thread_state_t_r0
=yes
14576 echo "$as_me: failed program was:" >&5
14577 sed 's/^/| /' conftest.
$ac_ext >&5
14579 ac_cv_member_ppc_thread_state_t_r0
=no
14581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14585 echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state_t_r0" >&5
14586 echo "${ECHO_T}$ac_cv_member_ppc_thread_state_t_r0" >&6
14587 if test $ac_cv_member_ppc_thread_state_t_r0 = yes; then
14589 cat >>confdefs.h
<<\_ACEOF
14590 #define HAS_PPC_THREAD_STATE_R0 1
14595 echo "$as_me:$LINENO: checking for ppc_thread_state_t.__r0" >&5
14596 echo $ECHO_N "checking for ppc_thread_state_t.__r0... $ECHO_C" >&6
14597 if test "${ac_cv_member_ppc_thread_state_t___r0+set}" = set; then
14598 echo $ECHO_N "(cached) $ECHO_C" >&6
14600 cat >conftest.
$ac_ext <<_ACEOF
14603 cat confdefs.h
>>conftest.
$ac_ext
14604 cat >>conftest.
$ac_ext <<_ACEOF
14605 /* end confdefs.h. */
14606 #include <mach/thread_status.h>
14611 static ppc_thread_state_t ac_aggr;
14618 rm -f conftest.
$ac_objext
14619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14620 (eval $ac_compile) 2>conftest.er1
14622 grep -v '^ *+' conftest.er1
>conftest.err
14624 cat conftest.err
>&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); } &&
14627 { ac_try
='test -z "$ac_c_werror_flag"
14628 || test ! -s conftest.err'
14629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630 (eval $ac_try) 2>&5
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; } &&
14634 { ac_try
='test -s conftest.$ac_objext'
14635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14636 (eval $ac_try) 2>&5
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); }; }; then
14640 ac_cv_member_ppc_thread_state_t___r0
=yes
14642 echo "$as_me: failed program was:" >&5
14643 sed 's/^/| /' conftest.
$ac_ext >&5
14645 cat >conftest.
$ac_ext <<_ACEOF
14648 cat confdefs.h
>>conftest.
$ac_ext
14649 cat >>conftest.
$ac_ext <<_ACEOF
14650 /* end confdefs.h. */
14651 #include <mach/thread_status.h>
14656 static ppc_thread_state_t ac_aggr;
14657 if (sizeof ac_aggr.__r0)
14663 rm -f conftest.
$ac_objext
14664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14665 (eval $ac_compile) 2>conftest.er1
14667 grep -v '^ *+' conftest.er1
>conftest.err
14669 cat conftest.err
>&5
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); } &&
14672 { ac_try
='test -z "$ac_c_werror_flag"
14673 || test ! -s conftest.err'
14674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14675 (eval $ac_try) 2>&5
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); }; } &&
14679 { ac_try
='test -s conftest.$ac_objext'
14680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14681 (eval $ac_try) 2>&5
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); }; }; then
14685 ac_cv_member_ppc_thread_state_t___r0
=yes
14687 echo "$as_me: failed program was:" >&5
14688 sed 's/^/| /' conftest.
$ac_ext >&5
14690 ac_cv_member_ppc_thread_state_t___r0
=no
14692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14696 echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state_t___r0" >&5
14697 echo "${ECHO_T}$ac_cv_member_ppc_thread_state_t___r0" >&6
14698 if test $ac_cv_member_ppc_thread_state_t___r0 = yes; then
14700 cat >>confdefs.h
<<\_ACEOF
14701 #define HAS_PPC_THREAD_STATE___R0 1
14706 echo "$as_me:$LINENO: checking for ppc_thread_state64_t.r0" >&5
14707 echo $ECHO_N "checking for ppc_thread_state64_t.r0... $ECHO_C" >&6
14708 if test "${ac_cv_member_ppc_thread_state64_t_r0+set}" = set; then
14709 echo $ECHO_N "(cached) $ECHO_C" >&6
14711 cat >conftest.
$ac_ext <<_ACEOF
14714 cat confdefs.h
>>conftest.
$ac_ext
14715 cat >>conftest.
$ac_ext <<_ACEOF
14716 /* end confdefs.h. */
14717 #include <mach/thread_status.h>
14722 static ppc_thread_state64_t ac_aggr;
14729 rm -f conftest.
$ac_objext
14730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14731 (eval $ac_compile) 2>conftest.er1
14733 grep -v '^ *+' conftest.er1
>conftest.err
14735 cat conftest.err
>&5
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); } &&
14738 { ac_try
='test -z "$ac_c_werror_flag"
14739 || test ! -s conftest.err'
14740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14741 (eval $ac_try) 2>&5
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); }; } &&
14745 { ac_try
='test -s conftest.$ac_objext'
14746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14747 (eval $ac_try) 2>&5
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); }; }; then
14751 ac_cv_member_ppc_thread_state64_t_r0
=yes
14753 echo "$as_me: failed program was:" >&5
14754 sed 's/^/| /' conftest.
$ac_ext >&5
14756 cat >conftest.
$ac_ext <<_ACEOF
14759 cat confdefs.h
>>conftest.
$ac_ext
14760 cat >>conftest.
$ac_ext <<_ACEOF
14761 /* end confdefs.h. */
14762 #include <mach/thread_status.h>
14767 static ppc_thread_state64_t ac_aggr;
14768 if (sizeof ac_aggr.r0)
14774 rm -f conftest.
$ac_objext
14775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14776 (eval $ac_compile) 2>conftest.er1
14778 grep -v '^ *+' conftest.er1
>conftest.err
14780 cat conftest.err
>&5
14781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14782 (exit $ac_status); } &&
14783 { ac_try
='test -z "$ac_c_werror_flag"
14784 || test ! -s conftest.err'
14785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14786 (eval $ac_try) 2>&5
14788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14789 (exit $ac_status); }; } &&
14790 { ac_try
='test -s conftest.$ac_objext'
14791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14792 (eval $ac_try) 2>&5
14794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14795 (exit $ac_status); }; }; then
14796 ac_cv_member_ppc_thread_state64_t_r0
=yes
14798 echo "$as_me: failed program was:" >&5
14799 sed 's/^/| /' conftest.
$ac_ext >&5
14801 ac_cv_member_ppc_thread_state64_t_r0
=no
14803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14807 echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state64_t_r0" >&5
14808 echo "${ECHO_T}$ac_cv_member_ppc_thread_state64_t_r0" >&6
14809 if test $ac_cv_member_ppc_thread_state64_t_r0 = yes; then
14811 cat >>confdefs.h
<<\_ACEOF
14812 #define HAS_PPC_THREAD_STATE64_R0 1
14817 echo "$as_me:$LINENO: checking for ppc_thread_state64_t.__r0" >&5
14818 echo $ECHO_N "checking for ppc_thread_state64_t.__r0... $ECHO_C" >&6
14819 if test "${ac_cv_member_ppc_thread_state64_t___r0+set}" = set; then
14820 echo $ECHO_N "(cached) $ECHO_C" >&6
14822 cat >conftest.
$ac_ext <<_ACEOF
14825 cat confdefs.h
>>conftest.
$ac_ext
14826 cat >>conftest.
$ac_ext <<_ACEOF
14827 /* end confdefs.h. */
14828 #include <mach/thread_status.h>
14833 static ppc_thread_state64_t ac_aggr;
14840 rm -f conftest.
$ac_objext
14841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14842 (eval $ac_compile) 2>conftest.er1
14844 grep -v '^ *+' conftest.er1
>conftest.err
14846 cat conftest.err
>&5
14847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14848 (exit $ac_status); } &&
14849 { ac_try
='test -z "$ac_c_werror_flag"
14850 || test ! -s conftest.err'
14851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14852 (eval $ac_try) 2>&5
14854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14855 (exit $ac_status); }; } &&
14856 { ac_try
='test -s conftest.$ac_objext'
14857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14858 (eval $ac_try) 2>&5
14860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14861 (exit $ac_status); }; }; then
14862 ac_cv_member_ppc_thread_state64_t___r0
=yes
14864 echo "$as_me: failed program was:" >&5
14865 sed 's/^/| /' conftest.
$ac_ext >&5
14867 cat >conftest.
$ac_ext <<_ACEOF
14870 cat confdefs.h
>>conftest.
$ac_ext
14871 cat >>conftest.
$ac_ext <<_ACEOF
14872 /* end confdefs.h. */
14873 #include <mach/thread_status.h>
14878 static ppc_thread_state64_t ac_aggr;
14879 if (sizeof ac_aggr.__r0)
14885 rm -f conftest.
$ac_objext
14886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14887 (eval $ac_compile) 2>conftest.er1
14889 grep -v '^ *+' conftest.er1
>conftest.err
14891 cat conftest.err
>&5
14892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14893 (exit $ac_status); } &&
14894 { ac_try
='test -z "$ac_c_werror_flag"
14895 || test ! -s conftest.err'
14896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14897 (eval $ac_try) 2>&5
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); }; } &&
14901 { ac_try
='test -s conftest.$ac_objext'
14902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14903 (eval $ac_try) 2>&5
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); }; }; then
14907 ac_cv_member_ppc_thread_state64_t___r0
=yes
14909 echo "$as_me: failed program was:" >&5
14910 sed 's/^/| /' conftest.
$ac_ext >&5
14912 ac_cv_member_ppc_thread_state64_t___r0
=no
14914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14918 echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state64_t___r0" >&5
14919 echo "${ECHO_T}$ac_cv_member_ppc_thread_state64_t___r0" >&6
14920 if test $ac_cv_member_ppc_thread_state64_t___r0 = yes; then
14922 cat >>confdefs.h
<<\_ACEOF
14923 #define HAS_PPC_THREAD_STATE64___R0 1
14930 echo "$as_me:$LINENO: checking for x86_thread_state32_t.eax" >&5
14931 echo $ECHO_N "checking for x86_thread_state32_t.eax... $ECHO_C" >&6
14932 if test "${ac_cv_member_x86_thread_state32_t_eax+set}" = set; then
14933 echo $ECHO_N "(cached) $ECHO_C" >&6
14935 cat >conftest.
$ac_ext <<_ACEOF
14938 cat confdefs.h
>>conftest.
$ac_ext
14939 cat >>conftest.
$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14941 #include <sys/cdefs.h>
14942 #include <mach/thread_status.h>
14947 static x86_thread_state32_t ac_aggr;
14954 rm -f conftest.
$ac_objext
14955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14956 (eval $ac_compile) 2>conftest.er1
14958 grep -v '^ *+' conftest.er1
>conftest.err
14960 cat conftest.err
>&5
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); } &&
14963 { ac_try
='test -z "$ac_c_werror_flag"
14964 || test ! -s conftest.err'
14965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14966 (eval $ac_try) 2>&5
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); }; } &&
14970 { ac_try
='test -s conftest.$ac_objext'
14971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14972 (eval $ac_try) 2>&5
14974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14975 (exit $ac_status); }; }; then
14976 ac_cv_member_x86_thread_state32_t_eax
=yes
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 #include <sys/cdefs.h>
14988 #include <mach/thread_status.h>
14993 static x86_thread_state32_t ac_aggr;
14994 if (sizeof ac_aggr.eax)
15000 rm -f conftest.
$ac_objext
15001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15002 (eval $ac_compile) 2>conftest.er1
15004 grep -v '^ *+' conftest.er1
>conftest.err
15006 cat conftest.err
>&5
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); } &&
15009 { ac_try
='test -z "$ac_c_werror_flag"
15010 || test ! -s conftest.err'
15011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15012 (eval $ac_try) 2>&5
15014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15015 (exit $ac_status); }; } &&
15016 { ac_try
='test -s conftest.$ac_objext'
15017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15018 (eval $ac_try) 2>&5
15020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15021 (exit $ac_status); }; }; then
15022 ac_cv_member_x86_thread_state32_t_eax
=yes
15024 echo "$as_me: failed program was:" >&5
15025 sed 's/^/| /' conftest.
$ac_ext >&5
15027 ac_cv_member_x86_thread_state32_t_eax
=no
15029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15033 echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state32_t_eax" >&5
15034 echo "${ECHO_T}$ac_cv_member_x86_thread_state32_t_eax" >&6
15035 if test $ac_cv_member_x86_thread_state32_t_eax = yes; then
15037 cat >>confdefs.h
<<\_ACEOF
15038 #define HAS_X86_THREAD_STATE32_EAX 1
15043 echo "$as_me:$LINENO: checking for x86_thread_state32_t.__eax" >&5
15044 echo $ECHO_N "checking for x86_thread_state32_t.__eax... $ECHO_C" >&6
15045 if test "${ac_cv_member_x86_thread_state32_t___eax+set}" = set; then
15046 echo $ECHO_N "(cached) $ECHO_C" >&6
15048 cat >conftest.
$ac_ext <<_ACEOF
15051 cat confdefs.h
>>conftest.
$ac_ext
15052 cat >>conftest.
$ac_ext <<_ACEOF
15053 /* end confdefs.h. */
15054 #include <sys/cdefs.h>
15055 #include <mach/thread_status.h>
15060 static x86_thread_state32_t ac_aggr;
15067 rm -f conftest.
$ac_objext
15068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15069 (eval $ac_compile) 2>conftest.er1
15071 grep -v '^ *+' conftest.er1
>conftest.err
15073 cat conftest.err
>&5
15074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075 (exit $ac_status); } &&
15076 { ac_try
='test -z "$ac_c_werror_flag"
15077 || test ! -s conftest.err'
15078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15079 (eval $ac_try) 2>&5
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); }; } &&
15083 { ac_try
='test -s conftest.$ac_objext'
15084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15085 (eval $ac_try) 2>&5
15087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15088 (exit $ac_status); }; }; then
15089 ac_cv_member_x86_thread_state32_t___eax
=yes
15091 echo "$as_me: failed program was:" >&5
15092 sed 's/^/| /' conftest.
$ac_ext >&5
15094 cat >conftest.
$ac_ext <<_ACEOF
15097 cat confdefs.h
>>conftest.
$ac_ext
15098 cat >>conftest.
$ac_ext <<_ACEOF
15099 /* end confdefs.h. */
15100 #include <sys/cdefs.h>
15101 #include <mach/thread_status.h>
15106 static x86_thread_state32_t ac_aggr;
15107 if (sizeof ac_aggr.__eax)
15113 rm -f conftest.
$ac_objext
15114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15115 (eval $ac_compile) 2>conftest.er1
15117 grep -v '^ *+' conftest.er1
>conftest.err
15119 cat conftest.err
>&5
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); } &&
15122 { ac_try
='test -z "$ac_c_werror_flag"
15123 || test ! -s conftest.err'
15124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15125 (eval $ac_try) 2>&5
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); }; } &&
15129 { ac_try
='test -s conftest.$ac_objext'
15130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15131 (eval $ac_try) 2>&5
15133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134 (exit $ac_status); }; }; then
15135 ac_cv_member_x86_thread_state32_t___eax
=yes
15137 echo "$as_me: failed program was:" >&5
15138 sed 's/^/| /' conftest.
$ac_ext >&5
15140 ac_cv_member_x86_thread_state32_t___eax
=no
15142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15146 echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state32_t___eax" >&5
15147 echo "${ECHO_T}$ac_cv_member_x86_thread_state32_t___eax" >&6
15148 if test $ac_cv_member_x86_thread_state32_t___eax = yes; then
15150 cat >>confdefs.h
<<\_ACEOF
15151 #define HAS_X86_THREAD_STATE32___EAX 1
15158 echo "$as_me:$LINENO: checking for x86_thread_state64_t.rax" >&5
15159 echo $ECHO_N "checking for x86_thread_state64_t.rax... $ECHO_C" >&6
15160 if test "${ac_cv_member_x86_thread_state64_t_rax+set}" = set; then
15161 echo $ECHO_N "(cached) $ECHO_C" >&6
15163 cat >conftest.
$ac_ext <<_ACEOF
15166 cat confdefs.h
>>conftest.
$ac_ext
15167 cat >>conftest.
$ac_ext <<_ACEOF
15168 /* end confdefs.h. */
15169 #include <sys/cdefs.h>
15170 #include <mach/thread_status.h>
15175 static x86_thread_state64_t ac_aggr;
15182 rm -f conftest.
$ac_objext
15183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15184 (eval $ac_compile) 2>conftest.er1
15186 grep -v '^ *+' conftest.er1
>conftest.err
15188 cat conftest.err
>&5
15189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15190 (exit $ac_status); } &&
15191 { ac_try
='test -z "$ac_c_werror_flag"
15192 || test ! -s conftest.err'
15193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15194 (eval $ac_try) 2>&5
15196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15197 (exit $ac_status); }; } &&
15198 { ac_try
='test -s conftest.$ac_objext'
15199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15200 (eval $ac_try) 2>&5
15202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15203 (exit $ac_status); }; }; then
15204 ac_cv_member_x86_thread_state64_t_rax
=yes
15206 echo "$as_me: failed program was:" >&5
15207 sed 's/^/| /' conftest.
$ac_ext >&5
15209 cat >conftest.
$ac_ext <<_ACEOF
15212 cat confdefs.h
>>conftest.
$ac_ext
15213 cat >>conftest.
$ac_ext <<_ACEOF
15214 /* end confdefs.h. */
15215 #include <sys/cdefs.h>
15216 #include <mach/thread_status.h>
15221 static x86_thread_state64_t ac_aggr;
15222 if (sizeof ac_aggr.rax)
15228 rm -f conftest.
$ac_objext
15229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15230 (eval $ac_compile) 2>conftest.er1
15232 grep -v '^ *+' conftest.er1
>conftest.err
15234 cat conftest.err
>&5
15235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15236 (exit $ac_status); } &&
15237 { ac_try
='test -z "$ac_c_werror_flag"
15238 || test ! -s conftest.err'
15239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15240 (eval $ac_try) 2>&5
15242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15243 (exit $ac_status); }; } &&
15244 { ac_try
='test -s conftest.$ac_objext'
15245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15246 (eval $ac_try) 2>&5
15248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 (exit $ac_status); }; }; then
15250 ac_cv_member_x86_thread_state64_t_rax
=yes
15252 echo "$as_me: failed program was:" >&5
15253 sed 's/^/| /' conftest.
$ac_ext >&5
15255 ac_cv_member_x86_thread_state64_t_rax
=no
15257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15261 echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state64_t_rax" >&5
15262 echo "${ECHO_T}$ac_cv_member_x86_thread_state64_t_rax" >&6
15263 if test $ac_cv_member_x86_thread_state64_t_rax = yes; then
15265 cat >>confdefs.h
<<\_ACEOF
15266 #define HAS_X86_THREAD_STATE64_RAX 1
15271 echo "$as_me:$LINENO: checking for x86_thread_state64_t.__rax" >&5
15272 echo $ECHO_N "checking for x86_thread_state64_t.__rax... $ECHO_C" >&6
15273 if test "${ac_cv_member_x86_thread_state64_t___rax+set}" = set; then
15274 echo $ECHO_N "(cached) $ECHO_C" >&6
15276 cat >conftest.
$ac_ext <<_ACEOF
15279 cat confdefs.h
>>conftest.
$ac_ext
15280 cat >>conftest.
$ac_ext <<_ACEOF
15281 /* end confdefs.h. */
15282 #include <sys/cdefs.h>
15283 #include <mach/thread_status.h>
15288 static x86_thread_state64_t ac_aggr;
15295 rm -f conftest.
$ac_objext
15296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15297 (eval $ac_compile) 2>conftest.er1
15299 grep -v '^ *+' conftest.er1
>conftest.err
15301 cat conftest.err
>&5
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); } &&
15304 { ac_try
='test -z "$ac_c_werror_flag"
15305 || test ! -s conftest.err'
15306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15307 (eval $ac_try) 2>&5
15309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); }; } &&
15311 { ac_try
='test -s conftest.$ac_objext'
15312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15313 (eval $ac_try) 2>&5
15315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15316 (exit $ac_status); }; }; then
15317 ac_cv_member_x86_thread_state64_t___rax
=yes
15319 echo "$as_me: failed program was:" >&5
15320 sed 's/^/| /' conftest.
$ac_ext >&5
15322 cat >conftest.
$ac_ext <<_ACEOF
15325 cat confdefs.h
>>conftest.
$ac_ext
15326 cat >>conftest.
$ac_ext <<_ACEOF
15327 /* end confdefs.h. */
15328 #include <sys/cdefs.h>
15329 #include <mach/thread_status.h>
15334 static x86_thread_state64_t ac_aggr;
15335 if (sizeof ac_aggr.__rax)
15341 rm -f conftest.
$ac_objext
15342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15343 (eval $ac_compile) 2>conftest.er1
15345 grep -v '^ *+' conftest.er1
>conftest.err
15347 cat conftest.err
>&5
15348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15349 (exit $ac_status); } &&
15350 { ac_try
='test -z "$ac_c_werror_flag"
15351 || test ! -s conftest.err'
15352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15353 (eval $ac_try) 2>&5
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356 (exit $ac_status); }; } &&
15357 { ac_try
='test -s conftest.$ac_objext'
15358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15359 (eval $ac_try) 2>&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); }; }; then
15363 ac_cv_member_x86_thread_state64_t___rax
=yes
15365 echo "$as_me: failed program was:" >&5
15366 sed 's/^/| /' conftest.
$ac_ext >&5
15368 ac_cv_member_x86_thread_state64_t___rax
=no
15370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15374 echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state64_t___rax" >&5
15375 echo "${ECHO_T}$ac_cv_member_x86_thread_state64_t___rax" >&6
15376 if test $ac_cv_member_x86_thread_state64_t___rax = yes; then
15378 cat >>confdefs.h
<<\_ACEOF
15379 #define HAS_X86_THREAD_STATE64___RAX 1
15388 # We never want libdl on darwin. It is a fake libdl that just ends up making
15389 # dyld calls anyway
15393 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15394 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
15395 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15396 echo $ECHO_N "(cached) $ECHO_C" >&6
15398 ac_check_lib_save_LIBS
=$LIBS
15400 if test x
$gcc_no_link = xyes
; then
15401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15403 { (exit 1); exit 1; }; }
15405 cat >conftest.
$ac_ext <<_ACEOF
15408 cat confdefs.h
>>conftest.
$ac_ext
15409 cat >>conftest.
$ac_ext <<_ACEOF
15410 /* end confdefs.h. */
15412 /* Override any gcc2 internal prototype to avoid an error. */
15416 /* We use char because int might match the return type of a gcc2
15417 builtin and then its argument prototype would still apply. */
15427 rm -f conftest.
$ac_objext conftest
$ac_exeext
15428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15429 (eval $ac_link) 2>conftest.er1
15431 grep -v '^ *+' conftest.er1
>conftest.err
15433 cat conftest.err
>&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); } &&
15436 { ac_try
='test -z "$ac_c_werror_flag"
15437 || test ! -s conftest.err'
15438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15439 (eval $ac_try) 2>&5
15441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15442 (exit $ac_status); }; } &&
15443 { ac_try
='test -s conftest$ac_exeext'
15444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15445 (eval $ac_try) 2>&5
15447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15448 (exit $ac_status); }; }; then
15449 ac_cv_lib_dl_dlopen
=yes
15451 echo "$as_me: failed program was:" >&5
15452 sed 's/^/| /' conftest.
$ac_ext >&5
15454 ac_cv_lib_dl_dlopen
=no
15456 rm -f conftest.err conftest.
$ac_objext \
15457 conftest
$ac_exeext conftest.
$ac_ext
15458 LIBS
=$ac_check_lib_save_LIBS
15460 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15461 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
15462 if test $ac_cv_lib_dl_dlopen = yes; then
15463 EXTRA_TEST_LIBS
="$EXTRA_TEST_LIBS -ldl"
15469 # extra LD Flags which are required for targets
15472 extra_ldflags_libgc
=-Wl,-single_module
15479 target_all
=libgcjgc.la
15484 # Check whether --with-ecos or --without-ecos was given.
15485 if test "${with_ecos+set}" = set; then
15486 withval
="$with_ecos"
15487 TARGET_ECOS
="$with_ecos"
15495 case "$TARGET_ECOS" in
15500 cat >>confdefs.h
<<\_ACEOF
15504 AM_CPPFLAGS
="${AM_CPPFLAGS} -I${TARGET_ECOS}/include"
15505 addobjs
="$addobjs ecos.lo"
15509 if test "${enable_cplusplus}" = yes; then
15510 addincludes
="$addincludes include/gc_cpp.h include/gc_allocator.h"
15511 addtests
="$addtests test_cpp"
15516 if test "${enable_cplusplus}" = yes; then
15518 CPLUSPLUS_FALSE
='#'
15529 # Configuration of shared libraries
15531 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15532 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
15533 # Check whether --enable-shared or --disable-shared was given.
15534 if test "${enable_shared+set}" = set; then
15535 enableval
="$enable_shared"
15536 p
=${PACKAGE-default}
15538 yes) enable_shared
=yes ;;
15539 no
) enable_shared
=no
;;
15542 # Look at the argument we got. We use all the common list separators.
15543 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
15544 for pkg
in $enableval; do
15546 if test "X$pkg" = "X$p"; then
15565 echo "$as_me:$LINENO: result: no" >&5
15566 echo "${ECHO_T}no" >&6
15569 echo "$as_me:$LINENO: result: yes" >&5
15570 echo "${ECHO_T}yes" >&6
15574 # Checks for pthreads functions
15577 LIBS
="$LIBS $THREADLIBS"
15579 for ac_func
in pthread_getattr_np
15581 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15582 echo "$as_me:$LINENO: checking for $ac_func" >&5
15583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15584 if eval "test \"\${$as_ac_var+set}\" = set"; then
15585 echo $ECHO_N "(cached) $ECHO_C" >&6
15587 if test x
$gcc_no_link = xyes
; then
15588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15590 { (exit 1); exit 1; }; }
15592 cat >conftest.
$ac_ext <<_ACEOF
15595 cat confdefs.h
>>conftest.
$ac_ext
15596 cat >>conftest.
$ac_ext <<_ACEOF
15597 /* end confdefs.h. */
15598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15600 #define $ac_func innocuous_$ac_func
15602 /* System header to define __stub macros and hopefully few prototypes,
15603 which can conflict with char $ac_func (); below.
15604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15605 <limits.h> exists even on freestanding compilers. */
15608 # include <limits.h>
15610 # include <assert.h>
15615 /* Override any gcc2 internal prototype to avoid an error. */
15620 /* We use char because int might match the return type of a gcc2
15621 builtin and then its argument prototype would still apply. */
15623 /* The GNU C library defines this for functions which it implements
15624 to always fail with ENOSYS. Some functions are actually named
15625 something starting with __ and the normal name is an alias. */
15626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15629 char (*f) () = $ac_func;
15638 return f != $ac_func;
15643 rm -f conftest.
$ac_objext conftest
$ac_exeext
15644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15645 (eval $ac_link) 2>conftest.er1
15647 grep -v '^ *+' conftest.er1
>conftest.err
15649 cat conftest.err
>&5
15650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651 (exit $ac_status); } &&
15652 { ac_try
='test -z "$ac_c_werror_flag"
15653 || test ! -s conftest.err'
15654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15655 (eval $ac_try) 2>&5
15657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15658 (exit $ac_status); }; } &&
15659 { ac_try
='test -s conftest$ac_exeext'
15660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15661 (eval $ac_try) 2>&5
15663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15664 (exit $ac_status); }; }; then
15665 eval "$as_ac_var=yes"
15667 echo "$as_me: failed program was:" >&5
15668 sed 's/^/| /' conftest.
$ac_ext >&5
15670 eval "$as_ac_var=no"
15672 rm -f conftest.err conftest.
$ac_objext \
15673 conftest
$ac_exeext conftest.
$ac_ext
15675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15677 if test `eval echo '${'$as_ac_var'}'` = yes; then
15678 cat >>confdefs.h
<<_ACEOF
15679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15687 # Configuration of machine-dependent code
15689 # Set NO_EXECUTE_PERMISSION by default because gcj already uses
15690 # ffi_closure_{alloc,free} which takes care of allocating trampolines
15691 # in executable memory.
15693 echo "$as_me:$LINENO: checking which machine-dependent code should be used" >&5
15694 echo $ECHO_N "checking which machine-dependent code should be used... $ECHO_C" >&6
15698 machdep
="alpha_mach_dep.lo"
15699 if test x
"${ac_cv_lib_dl_dlopen}" != xyes
; then
15700 { echo "$as_me:$LINENO: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&5
15701 echo "$as_me: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&2;}
15705 machdep
="alpha_mach_dep.lo"
15707 i?
86-*-solaris2.
[89] | i?
86-*-solaris2.1?
)
15709 cat >>confdefs.h
<<\_ACEOF
15710 #define SOLARIS25_PROC_VDB_BUG_FIXED 1
15715 machdep
="mips_ultrix_mach_dep.lo"
15717 cat >>confdefs.h
<<\_ACEOF
15718 #define STACKBASE __stackbase
15722 cat >>confdefs.h
<<\_ACEOF
15723 #define DATASTART_IS_ETEXT 1
15728 machdep
="mips_ultrix_mach-dep.lo"
15730 mips-nec-sysv
*|mips-unknown-sysv
*)
15735 machdep
="mips_sgi_mach_dep.lo"
15738 machdep
="sparc_netbsd_mach_dep.lo"
15740 sparc-sun-solaris2.3
)
15741 machdep
="sparc_mach_dep.lo"
15743 cat >>confdefs.h
<<\_ACEOF
15744 #define SUNOS53_SHARED_LIB 1
15748 sparc
*-sun-solaris2.
*)
15749 machdep
="sparc_mach_dep.lo"
15752 machdep
="mach_dep.lo ia64_save_regs_in_stack.lo"
15756 cat >>confdefs.h
<<\_ACEOF
15757 #define NO_EXECUTE_PERMISSION 1
15760 if test x
"$machdep" = x
; then
15761 echo "$as_me:$LINENO: result: $machdep" >&5
15762 echo "${ECHO_T}$machdep" >&6
15763 machdep
="mach_dep.lo"
15765 addobjs
="$addobjs $machdep"
15772 # Check for AViiON Machines running DGUX
15774 echo "$as_me:$LINENO: checking if host is AViiON running DGUX" >&5
15775 echo $ECHO_N "checking if host is AViiON running DGUX... $ECHO_C" >&6
15777 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15778 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
15779 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
15780 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15781 echo $ECHO_N "(cached) $ECHO_C" >&6
15783 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
15784 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
15786 # Is the header compilable?
15787 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
15788 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
15789 cat >conftest.
$ac_ext <<_ACEOF
15792 cat confdefs.h
>>conftest.
$ac_ext
15793 cat >>conftest.
$ac_ext <<_ACEOF
15794 /* end confdefs.h. */
15795 $ac_includes_default
15796 #include <sys/dg_sys_info.h>
15798 rm -f conftest.
$ac_objext
15799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15800 (eval $ac_compile) 2>conftest.er1
15802 grep -v '^ *+' conftest.er1
>conftest.err
15804 cat conftest.err
>&5
15805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15806 (exit $ac_status); } &&
15807 { ac_try
='test -z "$ac_c_werror_flag"
15808 || test ! -s conftest.err'
15809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15810 (eval $ac_try) 2>&5
15812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15813 (exit $ac_status); }; } &&
15814 { ac_try
='test -s conftest.$ac_objext'
15815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15816 (eval $ac_try) 2>&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); }; }; then
15820 ac_header_compiler
=yes
15822 echo "$as_me: failed program was:" >&5
15823 sed 's/^/| /' conftest.
$ac_ext >&5
15825 ac_header_compiler
=no
15827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15828 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15829 echo "${ECHO_T}$ac_header_compiler" >&6
15831 # Is the header present?
15832 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
15833 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
15834 cat >conftest.
$ac_ext <<_ACEOF
15837 cat confdefs.h
>>conftest.
$ac_ext
15838 cat >>conftest.
$ac_ext <<_ACEOF
15839 /* end confdefs.h. */
15840 #include <sys/dg_sys_info.h>
15842 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15843 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15845 grep -v '^ *+' conftest.er1
>conftest.err
15847 cat conftest.err
>&5
15848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15849 (exit $ac_status); } >/dev
/null
; then
15850 if test -s conftest.err
; then
15851 ac_cpp_err
=$ac_c_preproc_warn_flag
15852 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15859 if test -z "$ac_cpp_err"; then
15860 ac_header_preproc
=yes
15862 echo "$as_me: failed program was:" >&5
15863 sed 's/^/| /' conftest.
$ac_ext >&5
15865 ac_header_preproc
=no
15867 rm -f conftest.err conftest.
$ac_ext
15868 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15869 echo "${ECHO_T}$ac_header_preproc" >&6
15871 # So? What about this header?
15872 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15874 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
15875 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15876 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
15877 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
15878 ac_header_preproc
=yes
15881 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
15882 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
15883 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
15884 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
15885 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
15886 echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
15887 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
15888 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
15889 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
15890 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
15891 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
15892 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
15895 ## ------------------------------------------ ##
15896 ## Report this to the AC_PACKAGE_NAME lists. ##
15897 ## ------------------------------------------ ##
15900 sed "s/^/$as_me: WARNING: /" >&2
15903 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
15904 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
15905 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15906 echo $ECHO_N "(cached) $ECHO_C" >&6
15908 ac_cv_header_sys_dg_sys_info_h
=$ac_header_preproc
15910 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
15911 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
15914 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
15920 echo "$as_me:$LINENO: result: $ac_is_dgux" >&5
15921 echo "${ECHO_T}$ac_is_dgux" >&6
15922 ## :GOTCHA: we do not check anything but sys/dg_sys_info.h
15923 if test $ac_is_dgux = yes; then
15924 if test "$enable_full_debug" = "yes"; then
15925 CFLAGS
="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
15926 CXXFLAGS
="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
15928 CFLAGS
="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
15929 CXXFLAGS
="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
15935 echo "$as_me:$LINENO: checking whether Solaris gcc optimization fix is necessary" >&5
15936 echo $ECHO_N "checking whether Solaris gcc optimization fix is necessary... $ECHO_C" >&6
15939 if test "$GCC" = yes; then
15940 echo "$as_me:$LINENO: result: yes" >&5
15941 echo "${ECHO_T}yes" >&6
15943 for i
in $CFLAGS; do
15948 new_CFLAGS
="$new_CFLAGS $i"
15952 CFLAGS
="$new_CFLAGS"
15954 echo "$as_me:$LINENO: result: no" >&5
15955 echo "${ECHO_T}no" >&6
15958 *) echo "$as_me:$LINENO: result: no" >&5
15959 echo "${ECHO_T}no" >&6 ;;
15962 MY_CFLAGS
="$CFLAGS"
15966 cat >>confdefs.h
<<\_ACEOF
15971 cat >>confdefs.h
<<\_ACEOF
15972 #define NO_SIGNALS 1
15976 cat >>confdefs.h
<<\_ACEOF
15977 #define ALL_INTERIOR_POINTERS 1
15982 cat >>confdefs.h
<<\_ACEOF
15983 #define JAVA_FINALIZATION 1
15987 cat >>confdefs.h
<<\_ACEOF
15988 #define GC_GCJ_SUPPORT 1
15992 cat >>confdefs.h
<<\_ACEOF
15993 #define ATOMIC_UNCOLLECTABLE 1
15997 # Check whether --enable-gc-debug or --disable-gc-debug was given.
15998 if test "${enable_gc_debug+set}" = set; then
15999 enableval
="$enable_gc_debug"
16000 if test "$enable_gc_debug" = "yes"; then
16001 { echo "$as_me:$LINENO: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&5
16002 echo "$as_me: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&2;}
16004 cat >>confdefs.h
<<\_ACEOF
16005 #define KEEP_BACK_PTRS 1
16009 cat >>confdefs.h
<<\_ACEOF
16010 #define DBG_HDRS_ALL 1
16016 cat >>confdefs.h
<<\_ACEOF
16017 #define MAKE_BACK_GRAPH 1
16021 x86-
*-linux* | i586-
*-linux* | i686-
*-linux* | x86_64-
*-linux* )
16022 cat >>confdefs.h
<<\_ACEOF
16023 #define MAKE_BACK_GRAPH 1
16026 { echo "$as_me:$LINENO: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&5
16027 echo "$as_me: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&2;}
16029 cat >>confdefs.h
<<\_ACEOF
16030 #define SAVE_CALL_COUNT 8
16035 cat >>confdefs.h
<<\_ACEOF
16036 #define MAKE_BACK_GRAPH 1
16044 if test "${gc_use_mmap}" = "yes"; then
16046 cat >>confdefs.h
<<\_ACEOF
16052 if test -n "$with_cross_host" &&
16053 test x
"$with_cross_host" != x
"no"; then
16054 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
16055 toolexeclibdir
='$(toolexecdir)/lib'
16057 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
16058 toolexeclibdir
='$(libdir)'
16060 multi_os_directory
=`$CC -print-multi-os-directory`
16061 case $multi_os_directory in
16062 .
) ;; # Avoid trailing /.
16063 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
16068 if test "${multilib}" = "yes"; then
16069 multilib_arg
="--enable-multilib"
16074 ac_config_headers
="$ac_config_headers include/gc_config.h include/gc_ext_config.h"
16077 ac_config_files
="$ac_config_files Makefile include/Makefile"
16079 cat >confcache
<<\_ACEOF
16080 # This file is a shell script that caches the results of configure
16081 # tests run on this system so they can be shared between configure
16082 # scripts and configure runs, see configure's option --config-cache.
16083 # It is not useful on other systems. If it contains results you don't
16084 # want to keep, you may remove or edit it.
16086 # config.status only pays attention to the cache file if you give it
16087 # the --recheck option to rerun configure.
16089 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16090 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16091 # following values.
16095 # The following way of writing the cache mishandles newlines in values,
16096 # but we know of no workaround that is simple, portable, and efficient.
16097 # So, don't put newlines in cache variables' values.
16098 # Ultrix sh set writes to stderr and can't be redirected directly,
16099 # and sets the high bit in the cache file unless we assign to the vars.
16102 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16104 # `set' does not quote correctly, so add quotes (double-quote
16105 # substitution turns \\\\ into \\, and sed turns \\ into \).
16108 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16111 # `set' quotes correctly as required by POSIX, so do not add quotes.
16113 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
16120 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16122 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16124 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
16125 if test -w $cache_file; then
16126 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
16127 cat confcache
>$cache_file
16129 echo "not updating unwritable cache $cache_file"
16134 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16135 # Let make expand exec_prefix.
16136 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16138 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16139 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16140 # trailing colons and then remove the whole line if VPATH becomes empty
16141 # (actually we leave an empty line to preserve line numbers).
16142 if test "x$srcdir" = x.
; then
16143 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
16144 s/:*\$(srcdir):*/:/;
16145 s/:*\${srcdir}:*/:/;
16147 s/^\([^=]*=[ ]*\):*/\1/;
16153 DEFS
=-DHAVE_CONFIG_H
16157 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16158 # 1. Remove the extension, and $U if already installed.
16159 ac_i
=`echo "$ac_i" |
16160 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
16162 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
16163 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
16165 LIBOBJS
=$ac_libobjs
16167 LTLIBOBJS
=$ac_ltlibobjs
16170 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16171 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16172 Usually this means the macro was only invoked conditionally." >&5
16173 echo "$as_me: error: conditional \"AMDEP\" was never defined.
16174 Usually this means the macro was only invoked conditionally." >&2;}
16175 { (exit 1); exit 1; }; }
16177 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16178 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16179 Usually this means the macro was only invoked conditionally." >&5
16180 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16181 Usually this means the macro was only invoked conditionally." >&2;}
16182 { (exit 1); exit 1; }; }
16184 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16185 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16186 Usually this means the macro was only invoked conditionally." >&5
16187 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
16188 Usually this means the macro was only invoked conditionally." >&2;}
16189 { (exit 1); exit 1; }; }
16191 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16192 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
16193 Usually this means the macro was only invoked conditionally." >&5
16194 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
16195 Usually this means the macro was only invoked conditionally." >&2;}
16196 { (exit 1); exit 1; }; }
16198 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16199 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16200 Usually this means the macro was only invoked conditionally." >&5
16201 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
16202 Usually this means the macro was only invoked conditionally." >&2;}
16203 { (exit 1); exit 1; }; }
16205 if test -z "${POWERPC_DARWIN_TRUE}" && test -z "${POWERPC_DARWIN_FALSE}"; then
16206 { { echo "$as_me:$LINENO: error: conditional \"POWERPC_DARWIN\" was never defined.
16207 Usually this means the macro was only invoked conditionally." >&5
16208 echo "$as_me: error: conditional \"POWERPC_DARWIN\" was never defined.
16209 Usually this means the macro was only invoked conditionally." >&2;}
16210 { (exit 1); exit 1; }; }
16212 if test -z "${CPLUSPLUS_TRUE}" && test -z "${CPLUSPLUS_FALSE}"; then
16213 { { echo "$as_me:$LINENO: error: conditional \"CPLUSPLUS\" was never defined.
16214 Usually this means the macro was only invoked conditionally." >&5
16215 echo "$as_me: error: conditional \"CPLUSPLUS\" was never defined.
16216 Usually this means the macro was only invoked conditionally." >&2;}
16217 { (exit 1); exit 1; }; }
16220 : ${CONFIG_STATUS=./config.status}
16221 ac_clean_files_save
=$ac_clean_files
16222 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16223 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16224 echo "$as_me: creating $CONFIG_STATUS" >&6;}
16225 cat >$CONFIG_STATUS <<_ACEOF
16227 # Generated by $as_me.
16228 # Run this file to recreate the current configuration.
16229 # Compiler output produced by configure, useful for debugging
16230 # configure, is in config.log if it exists.
16233 ac_cs_recheck=false
16235 SHELL=\${CONFIG_SHELL-$SHELL}
16238 cat >>$CONFIG_STATUS <<\_ACEOF
16239 ## --------------------- ##
16240 ## M4sh Initialization. ##
16241 ## --------------------- ##
16243 # Be Bourne compatible
16244 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16247 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16248 # is contrary to our usage. Disable this feature.
16249 alias -g '${1+"$@"}'='"$@"'
16250 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
16253 DUALCASE
=1; export DUALCASE
# for MKS sh
16255 # Support unset when possible.
16256 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
16263 # Work around bugs in pre-3.0 UWIN ksh.
16264 $as_unset ENV MAIL MAILPATH
16271 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
16272 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
16273 LC_TELEPHONE LC_TIME
16275 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
16276 eval $as_var=C
; export $as_var
16282 # Required to use basename.
16283 if expr a
: '\(a\)' >/dev
/null
2>&1; then
16289 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
16290 as_basename
=basename
16296 # Name of the executable.
16297 as_me
=`$as_basename "$0" ||
16298 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16299 X"$0" : 'X\(//\)$' \| \
16300 X"$0" : 'X\(/\)$' \| \
16301 . : '\(.\)' 2>/dev/null ||
16303 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16304 /^X\/\(\/\/\)$/{ s//\1/; q; }
16305 /^X\/\(\/\).*/{ s//\1/; q; }
16309 # PATH needs CR, and LINENO needs CR and PATH.
16310 # Avoid depending upon Character Ranges.
16311 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16312 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16313 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16314 as_cr_digits
='0123456789'
16315 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16317 # The user is always right.
16318 if test "${PATH_SEPARATOR+set}" != set; then
16319 echo "#! /bin/sh" >conf$$.sh
16320 echo "exit 0" >>conf$$.sh
16322 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16331 as_lineno_1
=$LINENO
16332 as_lineno_2
=$LINENO
16333 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
16334 test "x$as_lineno_1" != "x$as_lineno_2" &&
16335 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
16336 # Find who we are. Look in the path if we contain no path at all
16339 *[\\/]* ) as_myself
=$0 ;;
16340 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16341 for as_dir
in $PATH
16344 test -z "$as_dir" && as_dir
=.
16345 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
16350 # We did not find ourselves, most probably we were run as `sh COMMAND'
16351 # in which case we are not to be found in the path.
16352 if test "x$as_myself" = x
; then
16355 if test ! -f "$as_myself"; then
16356 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
16357 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
16358 { (exit 1); exit 1; }; }
16360 case $CONFIG_SHELL in
16362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16363 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
16366 test -z "$as_dir" && as_dir
=.
16367 for as_base
in sh bash ksh sh5
; do
16370 if ("$as_dir/$as_base" -c '
16371 as_lineno_1=$LINENO
16372 as_lineno_2=$LINENO
16373 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16374 test "x$as_lineno_1" != "x$as_lineno_2" &&
16375 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
16376 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
16377 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
16378 CONFIG_SHELL
=$as_dir/$as_base
16379 export CONFIG_SHELL
16380 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
16388 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16389 # uniformly replaced by the line number. The first 'sed' inserts a
16390 # line-number line before each line; the second 'sed' does the real
16391 # work. The second script uses 'N' to pair each line-number line
16392 # with the numbered line, and appends trailing '-' during
16393 # substitution so that $LINENO is not a special case at line end.
16394 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16395 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
16396 sed '=' <$as_myself |
16401 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
16404 s,^['$as_cr_digits']*\n,,
16405 ' >$as_me.lineno
&&
16406 chmod +x
$as_me.lineno ||
16407 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
16408 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
16409 { (exit 1); exit 1; }; }
16411 # Don't try to exec as it changes $[0], causing all sort of problems
16412 # (the dirname of $[0] is not the place where we might find the
16413 # original and so on. Autoconf is especially sensible to this).
16415 # Exit status is that of the last command.
16420 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
16421 *c
*,-n*) ECHO_N
= ECHO_C
='
16423 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
16424 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
16427 if expr a
: '\(a\)' >/dev
/null
2>&1; then
16433 rm -f conf$$ conf$$.exe conf$$.
file
16435 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16436 # We could just check for DJGPP; but this test a) works b) is more generic
16437 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
16438 if test -f conf$$.exe
; then
16439 # Don't use ln at all; we don't have any links
16444 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16449 rm -f conf$$ conf$$.exe conf$$.
file
16451 if mkdir
-p .
2>/dev
/null
; then
16454 test -d .
/-p && rmdir .
/-p
16458 as_executable_p
="test -f"
16460 # Sed expression to map a string onto a valid CPP name.
16461 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16463 # Sed expression to map a string onto a valid variable name.
16464 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16468 # We need space, tab and new line, in precisely that order.
16478 # Open the log real soon, to keep \$[0] and so on meaningful, and to
16479 # report actual input values of CONFIG_FILES etc. instead of their
16480 # values after options handling. Logging --version etc. is OK.
16484 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16485 ## Running $as_me. ##
16490 This file was extended by $as_me, which was
16491 generated by GNU Autoconf 2.59. Invocation command line was
16493 CONFIG_FILES = $CONFIG_FILES
16494 CONFIG_HEADERS = $CONFIG_HEADERS
16495 CONFIG_LINKS = $CONFIG_LINKS
16496 CONFIG_COMMANDS = $CONFIG_COMMANDS
16500 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
16504 # Files that config.status was made for.
16505 if test -n "$ac_config_files"; then
16506 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
16509 if test -n "$ac_config_headers"; then
16510 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
16513 if test -n "$ac_config_links"; then
16514 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
16517 if test -n "$ac_config_commands"; then
16518 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
16521 cat >>$CONFIG_STATUS <<\_ACEOF
16524 \`$as_me' instantiates files from templates according to the
16525 current configuration.
16527 Usage: $0 [OPTIONS] [FILE]...
16529 -h, --help print this help, then exit
16530 -V, --version print version number, then exit
16531 -q, --quiet do not print progress messages
16532 -d, --debug don't remove temporary files
16533 --recheck update $as_me by reconfiguring in the same conditions
16534 --file=FILE[:TEMPLATE]
16535 instantiate the configuration file FILE
16536 --header=FILE[:TEMPLATE]
16537 instantiate the configuration header FILE
16539 Configuration files:
16542 Configuration headers:
16545 Configuration commands:
16548 Report bugs to <bug-autoconf@gnu.org>."
16551 cat >>$CONFIG_STATUS <<_ACEOF
16554 configured by $0, generated by GNU Autoconf 2.59,
16555 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
16557 Copyright (C) 2003 Free Software Foundation, Inc.
16558 This config.status script is free software; the Free Software Foundation
16559 gives unlimited permission to copy, distribute and modify it."
16564 cat >>$CONFIG_STATUS <<\_ACEOF
16565 # If no file are specified by the user, then we need to provide default
16566 # value. By we need to know if files were specified by the user.
16572 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
16573 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
16581 *) # This is not an option, so the user has probably given explicit
16584 ac_need_defaults
=false
;;
16588 # Handling of the options.
16590 cat >>$CONFIG_STATUS <<\_ACEOF
16591 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16593 --version |
--vers* |
-V )
16594 echo "$ac_cs_version"; exit 0 ;;
16596 # Conflict between --help and --header
16597 { { echo "$as_me:$LINENO: error: ambiguous option: $1
16598 Try \`$0 --help' for more information." >&5
16599 echo "$as_me: error: ambiguous option: $1
16600 Try \`$0 --help' for more information." >&2;}
16601 { (exit 1); exit 1; }; };;
16602 --help |
--hel |
-h )
16603 echo "$ac_cs_usage"; exit 0 ;;
16604 --debug |
--d* |
-d )
16606 --file |
--fil |
--fi |
--f )
16608 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
16609 ac_need_defaults
=false
;;
16610 --header |
--heade |
--head |
--hea )
16612 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
16613 ac_need_defaults
=false
;;
16614 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16615 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16618 # This is an error.
16619 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
16620 Try \`$0 --help' for more information." >&5
16621 echo "$as_me: error: unrecognized option: $1
16622 Try \`$0 --help' for more information." >&2;}
16623 { (exit 1); exit 1; }; } ;;
16625 *) ac_config_targets
="$ac_config_targets $1" ;;
16631 ac_configure_extra_args
=
16633 if $ac_cs_silent; then
16635 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16639 cat >>$CONFIG_STATUS <<_ACEOF
16640 if \$ac_cs_recheck; then
16641 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
16642 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16647 cat >>$CONFIG_STATUS <<_ACEOF
16649 # INIT-COMMANDS section.
16656 with_multisubdir="$with_multisubdir"
16657 with_multisrctop="$with_multisrctop"
16658 with_target_subdir="$with_target_subdir"
16659 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16660 multi_basedir="$multi_basedir"
16661 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16663 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16666 # The HP-UX ksh and POSIX shell print the target directory to stdout
16667 # if CDPATH is set.
16668 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16670 sed_quote_subst='$sed_quote_subst'
16671 double_quote_subst='$double_quote_subst'
16672 delay_variable_subst='$delay_variable_subst'
16673 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16674 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16675 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16676 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16677 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16678 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16679 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16680 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16681 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16682 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16683 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16684 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16685 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16686 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16687 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16688 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16689 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16690 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16691 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16692 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16693 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16694 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16695 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16696 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16697 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16698 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16699 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16700 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16701 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16702 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16703 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16704 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16705 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16706 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16707 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16708 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16709 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16710 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16711 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16712 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16713 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16714 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16715 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16716 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"`'
16717 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16718 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16719 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16720 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16721 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16722 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16723 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16724 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16725 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16726 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16727 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16728 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16729 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16730 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16731 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16732 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16733 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16734 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16735 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16736 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16737 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16738 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16739 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16740 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16741 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16742 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16743 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16744 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16745 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16746 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16747 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16748 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16749 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16750 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16751 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16752 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16753 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16754 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16755 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16756 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16757 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16758 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16759 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16760 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16761 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16762 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16763 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16764 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16765 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16766 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16767 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16768 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16769 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16770 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16771 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16772 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16773 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16774 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16775 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16776 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16777 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16778 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16779 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16780 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16781 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16782 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16783 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16784 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16785 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16786 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16787 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16788 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16789 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16790 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16791 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16792 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16793 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16794 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16795 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16796 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16797 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16798 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16799 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16800 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16801 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16802 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16803 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16804 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16805 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16806 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16807 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16808 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16809 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16810 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16811 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16812 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16813 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16814 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16815 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16816 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16817 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16818 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16819 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16820 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16821 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16822 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16823 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16824 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16825 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16826 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16827 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16828 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16829 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16830 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16831 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16832 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16833 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16834 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16837 LTCFLAGS='$LTCFLAGS'
16838 compiler='$compiler_DEFAULT'
16840 # Quote evaled strings.
16851 deplibs_check_method \
16860 lt_cv_sys_global_symbol_pipe \
16861 lt_cv_sys_global_symbol_to_cdecl \
16862 lt_cv_sys_global_symbol_to_c_name_address \
16865 lt_prog_compiler_no_builtin_flag \
16866 lt_prog_compiler_wl \
16867 lt_prog_compiler_pic \
16868 lt_prog_compiler_static \
16869 lt_cv_prog_compiler_c_o \
16872 export_dynamic_flag_spec \
16873 whole_archive_flag_spec \
16874 compiler_needs_object \
16876 allow_undefined_flag \
16877 no_undefined_flag \
16878 hardcode_libdir_flag_spec \
16879 hardcode_libdir_flag_spec_ld \
16880 hardcode_libdir_separator \
16885 variables_saved_for_relink \
16887 library_names_spec \
16896 compiler_lib_search_path \
16899 lt_prog_compiler_no_builtin_flag_CXX \
16900 lt_prog_compiler_wl_CXX \
16901 lt_prog_compiler_pic_CXX \
16902 lt_prog_compiler_static_CXX \
16903 lt_cv_prog_compiler_c_o_CXX \
16904 export_dynamic_flag_spec_CXX \
16905 whole_archive_flag_spec_CXX \
16906 compiler_needs_object_CXX \
16908 allow_undefined_flag_CXX \
16909 no_undefined_flag_CXX \
16910 hardcode_libdir_flag_spec_CXX \
16911 hardcode_libdir_flag_spec_ld_CXX \
16912 hardcode_libdir_separator_CXX \
16913 fix_srcfile_path_CXX \
16914 exclude_expsyms_CXX \
16915 include_expsyms_CXX \
16916 file_list_spec_CXX \
16917 predep_objects_CXX \
16918 postdep_objects_CXX \
16921 compiler_lib_search_path_CXX; do
16922 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16923 *[\\\\\\\`\\"\\\$]*)
16924 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16927 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16932 # Double-quote double-evaled strings.
16933 for var in reload_cmds \
16934 old_postinstall_cmds \
16935 old_postuninstall_cmds \
16937 extract_expsyms_cmds \
16938 old_archive_from_new_cmds \
16939 old_archive_from_expsyms_cmds \
16941 archive_expsym_cmds \
16943 module_expsym_cmds \
16944 export_symbols_cmds \
16947 postuninstall_cmds \
16949 sys_lib_search_path_spec \
16950 sys_lib_dlsearch_path_spec \
16951 old_archive_cmds_CXX \
16952 old_archive_from_new_cmds_CXX \
16953 old_archive_from_expsyms_cmds_CXX \
16955 archive_expsym_cmds_CXX \
16957 module_expsym_cmds_CXX \
16958 export_symbols_cmds_CXX \
16959 prelink_cmds_CXX; do
16960 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16961 *[\\\\\\\`\\"\\\$]*)
16962 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16965 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16970 # Fix-up fallback echo if it was mangled by the above quoting rules.
16972 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16976 ac_aux_dir='$ac_aux_dir'
16977 xsi_shell='$xsi_shell'
16978 lt_shell_append='$lt_shell_append'
16980 # See if we are running on zsh, and set the options which allow our
16981 # commands through without removal of \ escapes INIT.
16982 if test -n "\${ZSH_VERSION+set}" ; then
16983 setopt NO_GLOB_SUBST
16989 TIMESTAMP='$TIMESTAMP'
17002 cat >>$CONFIG_STATUS <<\_ACEOF
17003 for ac_config_target
in $ac_config_targets
17005 case "$ac_config_target" in
17006 # Handling of arguments.
17007 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17008 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
17009 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17010 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17011 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17012 "include/gc_config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/gc_config.h" ;;
17013 "include/gc_ext_config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/gc_ext_config.h" ;;
17014 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17015 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17016 { (exit 1); exit 1; }; };;
17020 # If the user did not use the arguments to specify the items to instantiate,
17021 # then the envvar interface is used. Set only those that are not.
17022 # We use the long form for the default assignment because of an extremely
17023 # bizarre bug on SunOS 4.1.3.
17024 if $ac_need_defaults; then
17025 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17026 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17027 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17030 # Have a temporary directory for convenience. Make it in the build tree
17031 # simply because there is no reason to put it here, and in addition,
17032 # creating and moving files from /tmp can sometimes cause problems.
17033 # Create a temporary directory, and hook for its removal unless debugging.
17036 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
17037 trap '{ (exit 1); exit 1; }' 1 2 13 15
17040 # Create a (secure) tmp directory for tmp files.
17043 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
17044 test -n "$tmp" && test -d "$tmp"
17047 tmp
=.
/confstat$$
-$RANDOM
17048 (umask 077 && mkdir
$tmp)
17051 echo "$me: cannot create a temporary directory in ." >&2
17052 { (exit 1); exit 1; }
17057 cat >>$CONFIG_STATUS <<_ACEOF
17060 # CONFIG_FILES section.
17063 # No need to generate the scripts if there are no CONFIG_FILES.
17064 # This happens for instance when ./config.status config.h
17065 if test -n "\$CONFIG_FILES"; then
17066 # Protect against being on the right side of a sed subst in config.status.
17067 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
17068 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
17069 s,@SHELL@,$SHELL,;t t
17070 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
17071 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
17072 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
17073 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
17074 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
17075 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
17076 s,@exec_prefix@,$exec_prefix,;t t
17077 s,@prefix@,$prefix,;t t
17078 s,@program_transform_name@,$program_transform_name,;t t
17079 s,@bindir@,$bindir,;t t
17080 s,@sbindir@,$sbindir,;t t
17081 s,@libexecdir@,$libexecdir,;t t
17082 s,@datadir@,$datadir,;t t
17083 s,@sysconfdir@,$sysconfdir,;t t
17084 s,@sharedstatedir@,$sharedstatedir,;t t
17085 s,@localstatedir@,$localstatedir,;t t
17086 s,@libdir@,$libdir,;t t
17087 s,@includedir@,$includedir,;t t
17088 s,@oldincludedir@,$oldincludedir,;t t
17089 s,@infodir@,$infodir,;t t
17090 s,@mandir@,$mandir,;t t
17091 s,@build_alias@,$build_alias,;t t
17092 s,@host_alias@,$host_alias,;t t
17093 s,@target_alias@,$target_alias,;t t
17094 s,@DEFS@,$DEFS,;t t
17095 s,@ECHO_C@,$ECHO_C,;t t
17096 s,@ECHO_N@,$ECHO_N,;t t
17097 s,@ECHO_T@,$ECHO_T,;t t
17098 s,@LIBS@,$LIBS,;t t
17099 s,@multi_basedir@,$multi_basedir,;t t
17100 s,@build@,$build,;t t
17101 s,@build_cpu@,$build_cpu,;t t
17102 s,@build_vendor@,$build_vendor,;t t
17103 s,@build_os@,$build_os,;t t
17104 s,@host@,$host,;t t
17105 s,@host_cpu@,$host_cpu,;t t
17106 s,@host_vendor@,$host_vendor,;t t
17107 s,@host_os@,$host_os,;t t
17108 s,@target@,$target,;t t
17109 s,@target_cpu@,$target_cpu,;t t
17110 s,@target_vendor@,$target_vendor,;t t
17111 s,@target_os@,$target_os,;t t
17112 s,@target_noncanonical@,$target_noncanonical,;t t
17113 s,@mkinstalldirs@,$mkinstalldirs,;t t
17114 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
17115 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
17116 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17117 s,@CYGPATH_W@,$CYGPATH_W,;t t
17118 s,@PACKAGE@,$PACKAGE,;t t
17119 s,@VERSION@,$VERSION,;t t
17120 s,@ACLOCAL@,$ACLOCAL,;t t
17121 s,@AUTOCONF@,$AUTOCONF,;t t
17122 s,@AUTOMAKE@,$AUTOMAKE,;t t
17123 s,@AUTOHEADER@,$AUTOHEADER,;t t
17124 s,@MAKEINFO@,$MAKEINFO,;t t
17125 s,@install_sh@,$install_sh,;t t
17126 s,@STRIP@,$STRIP,;t t
17127 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17128 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
17129 s,@mkdir_p@,$mkdir_p,;t t
17131 s,@SET_MAKE@,$SET_MAKE,;t t
17132 s,@am__leading_dot@,$am__leading_dot,;t t
17133 s,@AMTAR@,$AMTAR,;t t
17134 s,@am__tar@,$am__tar,;t t
17135 s,@am__untar@,$am__untar,;t t
17137 s,@ac_ct_CC@,$ac_ct_CC,;t t
17138 s,@EXEEXT@,$EXEEXT,;t t
17139 s,@OBJEXT@,$OBJEXT,;t t
17140 s,@DEPDIR@,$DEPDIR,;t t
17141 s,@am__include@,$am__include,;t t
17142 s,@am__quote@,$am__quote,;t t
17143 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
17144 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
17145 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
17146 s,@CCDEPMODE@,$CCDEPMODE,;t t
17147 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
17148 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
17150 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
17151 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
17152 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
17153 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
17154 s,@CFLAGS@,$CFLAGS,;t t
17155 s,@CXXFLAGS@,$CXXFLAGS,;t t
17156 s,@CCAS@,$CCAS,;t t
17157 s,@CCASFLAGS@,$CCASFLAGS,;t t
17159 s,@ac_ct_AS@,$ac_ct_AS,;t t
17161 s,@ac_ct_AR@,$ac_ct_AR,;t t
17162 s,@RANLIB@,$RANLIB,;t t
17163 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17164 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
17165 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
17166 s,@MAINT@,$MAINT,;t t
17167 s,@GC_CFLAGS@,$GC_CFLAGS,;t t
17168 s,@LIBTOOL@,$LIBTOOL,;t t
17170 s,@EGREP@,$EGREP,;t t
17171 s,@FGREP@,$FGREP,;t t
17172 s,@GREP@,$GREP,;t t
17174 s,@DUMPBIN@,$DUMPBIN,;t t
17175 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
17177 s,@LN_S@,$LN_S,;t t
17178 s,@lt_ECHO@,$lt_ECHO,;t t
17180 s,@CPPFLAGS@,$CPPFLAGS,;t t
17181 s,@LDFLAGS@,$LDFLAGS,;t t
17182 s,@CXXCPP@,$CXXCPP,;t t
17183 s,@THREADLIBS@,$THREADLIBS,;t t
17184 s,@POWERPC_DARWIN_TRUE@,$POWERPC_DARWIN_TRUE,;t t
17185 s,@POWERPC_DARWIN_FALSE@,$POWERPC_DARWIN_FALSE,;t t
17186 s,@extra_ldflags_libgc@,$extra_ldflags_libgc,;t t
17187 s,@EXTRA_TEST_LIBS@,$EXTRA_TEST_LIBS,;t t
17188 s,@target_all@,$target_all,;t t
17189 s,@CPLUSPLUS_TRUE@,$CPLUSPLUS_TRUE,;t t
17190 s,@CPLUSPLUS_FALSE@,$CPLUSPLUS_FALSE,;t t
17191 s,@AM_CPPFLAGS@,$AM_CPPFLAGS,;t t
17192 s,@addobjs@,$addobjs,;t t
17193 s,@addincludes@,$addincludes,;t t
17194 s,@addlibs@,$addlibs,;t t
17195 s,@addtests@,$addtests,;t t
17196 s,@MY_CFLAGS@,$MY_CFLAGS,;t t
17197 s,@toolexecdir@,$toolexecdir,;t t
17198 s,@toolexeclibdir@,$toolexeclibdir,;t t
17199 s,@LIBOBJS@,$LIBOBJS,;t t
17200 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
17205 cat >>$CONFIG_STATUS <<\_ACEOF
17206 # Split the substitutions into bite-sized pieces for seds with
17207 # small command number limits, like on Digital OSF/1 and HP-UX.
17208 ac_max_sed_lines
=48
17209 ac_sed_frag
=1 # Number of current file.
17210 ac_beg
=1 # First line for current file.
17211 ac_end
=$ac_max_sed_lines # Line after last line for current file.
17214 while $ac_more_lines; do
17215 if test $ac_beg -gt 1; then
17216 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17218 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17220 if test ! -s $tmp/subs.frag
; then
17221 ac_more_lines
=false
17223 # The purpose of the label and of the branching condition is to
17224 # speed up the sed processing (if there are no `@' at all, there
17225 # is no need to browse any of the substitutions).
17226 # These are the two extra sed commands mentioned above.
17228 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
17229 if test -z "$ac_sed_cmds"; then
17230 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
17232 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
17234 ac_sed_frag
=`expr $ac_sed_frag + 1`
17236 ac_end
=`expr $ac_end + $ac_max_sed_lines`
17239 if test -z "$ac_sed_cmds"; then
17242 fi # test -n "$CONFIG_FILES"
17245 cat >>$CONFIG_STATUS <<\_ACEOF
17246 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
17247 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17249 - |
*:- |
*:-:* ) # input from stdin
17251 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17252 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17253 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17254 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17255 * ) ac_file_in
=$ac_file.
in ;;
17258 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
17259 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
17260 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17261 X"$ac_file" : 'X\(//\)[^/]' \| \
17262 X"$ac_file" : 'X\(//\)$' \| \
17263 X"$ac_file" : 'X\(/\)' \| \
17264 . : '\(.\)' 2>/dev/null ||
17266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17267 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17268 /^X\(\/\/\)$/{ s//\1/; q; }
17269 /^X\(\/\).*/{ s//\1/; q; }
17271 { if $as_mkdir_p; then
17276 while test ! -d "$as_dir"; do
17277 as_dirs
="$as_dir $as_dirs"
17278 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17279 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17280 X"$as_dir" : 'X\(//\)[^/]' \| \
17281 X"$as_dir" : 'X\(//\)$' \| \
17282 X"$as_dir" : 'X\(/\)' \| \
17283 . : '\(.\)' 2>/dev/null ||
17285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17286 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17287 /^X\(\/\/\)$/{ s//\1/; q; }
17288 /^X\(\/\).*/{ s//\1/; q; }
17291 test ! -n "$as_dirs" || mkdir
$as_dirs
17292 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17293 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17294 { (exit 1); exit 1; }; }; }
17298 if test "$ac_dir" != .
; then
17299 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17300 # A "../" for each directory in $ac_dir_suffix.
17301 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17303 ac_dir_suffix
= ac_top_builddir
=
17307 .
) # No --srcdir option. We are building in place.
17309 if test -z "$ac_top_builddir"; then
17312 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17314 [\\/]* | ?
:[\\/]* ) # Absolute path.
17315 ac_srcdir
=$srcdir$ac_dir_suffix;
17316 ac_top_srcdir
=$srcdir ;;
17317 *) # Relative path.
17318 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17319 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17322 # Do not use `cd foo && pwd` to compute absolute paths, because
17323 # the directories may not exist.
17325 .
) ac_abs_builddir
="$ac_dir";;
17328 .
) ac_abs_builddir
=`pwd`;;
17329 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
17330 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
17333 case $ac_abs_builddir in
17334 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17336 case ${ac_top_builddir}.
in
17337 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17338 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17339 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17342 case $ac_abs_builddir in
17343 .
) ac_abs_srcdir
=$ac_srcdir;;
17346 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17347 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17348 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17351 case $ac_abs_builddir in
17352 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17354 case $ac_top_srcdir in
17355 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17356 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17357 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17363 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17364 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
17367 if test x
"$ac_file" != x-
; then
17368 { echo "$as_me:$LINENO: creating $ac_file" >&5
17369 echo "$as_me: creating $ac_file" >&6;}
17372 # Let's still pretend it is `configure' which instantiates (i.e., don't
17373 # use $as_me), people would be surprised to read:
17374 # /* config.h. Generated by config.status. */
17375 if test x
"$ac_file" = x-
; then
17378 configure_input
="$ac_file. "
17380 configure_input
=$configure_input"Generated from `echo $ac_file_in |
17381 sed 's,.*/,,'` by configure."
17383 # First look for the input files in the build tree, otherwise in the
17385 ac_file_inputs
=`IFS=:
17386 for f in $ac_file_in; do
17388 -) echo $tmp/stdin ;;
17390 # Absolute (can't be DOS-style, as IFS=:)
17391 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17392 echo "$as_me: error: cannot find input file: $f" >&2;}
17393 { (exit 1); exit 1; }; }
17396 if test -f "$f"; then
17399 elif test -f "$srcdir/$f"; then
17404 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17405 echo "$as_me: error: cannot find input file: $f" >&2;}
17406 { (exit 1); exit 1; }; }
17409 done` ||
{ (exit 1); exit 1; }
17411 cat >>$CONFIG_STATUS <<_ACEOF
17415 cat >>$CONFIG_STATUS <<\_ACEOF
17417 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17418 s
,@configure_input@
,$configure_input,;t t
17419 s
,@srcdir@
,$ac_srcdir,;t t
17420 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
17421 s
,@top_srcdir@
,$ac_top_srcdir,;t t
17422 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
17423 s
,@builddir@
,$ac_builddir,;t t
17424 s
,@abs_builddir@
,$ac_abs_builddir,;t t
17425 s
,@top_builddir@
,$ac_top_builddir,;t t
17426 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
17427 s
,@INSTALL@
,$ac_INSTALL,;t t
17428 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
17430 if test x"$ac_file" != x-; then
17431 mv $tmp/out $ac_file
17439 cat >>$CONFIG_STATUS <<\_ACEOF
17442 # CONFIG_HEADER section.
17445 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
17446 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17448 # ac_d sets the value in "#define NAME VALUE" lines.
17449 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17450 ac_dB
='[ ].*$,\1#\2'
17453 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17454 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17455 ac_uB
='$,\1#\2define\3'
17459 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
17460 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17462 - |
*:- |
*:-:* ) # input from stdin
17464 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17465 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17466 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17467 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17468 * ) ac_file_in
=$ac_file.
in ;;
17471 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
17472 echo "$as_me: creating $ac_file" >&6;}
17474 # First look for the input files in the build tree, otherwise in the
17476 ac_file_inputs
=`IFS=:
17477 for f in $ac_file_in; do
17479 -) echo $tmp/stdin ;;
17481 # Absolute (can't be DOS-style, as IFS=:)
17482 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17483 echo "$as_me: error: cannot find input file: $f" >&2;}
17484 { (exit 1); exit 1; }; }
17485 # Do quote $f, to prevent DOS paths from being IFS'd.
17488 if test -f "$f"; then
17491 elif test -f "$srcdir/$f"; then
17496 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17497 echo "$as_me: error: cannot find input file: $f" >&2;}
17498 { (exit 1); exit 1; }; }
17501 done` ||
{ (exit 1); exit 1; }
17502 # Remove the trailing spaces.
17503 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
17507 # Transform confdefs.h into two sed scripts, `conftest.defines' and
17508 # `conftest.undefs', that substitutes the proper values into
17509 # config.h.in to produce config.h. The first handles `#define'
17510 # templates, and the second `#undef' templates.
17511 # And first: Protect against being on the right side of a sed subst in
17512 # config.status. Protect against being in an unquoted here document
17513 # in config.status.
17514 rm -f conftest.defines conftest.undefs
17515 # Using a here document instead of a string reduces the quoting nightmare.
17516 # Putting comments in sed scripts is not portable.
17518 # `end' is used to avoid that the second main sed command (meant for
17519 # 0-ary CPP macros) applies to n-ary macro definitions.
17520 # See the Autoconf documentation for `clear'.
17521 cat >confdef2sed.
sed <<\_ACEOF
17526 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
17528 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
17531 # If some macros were called several times there might be several times
17532 # the same #defines, which is useless. Nevertheless, we may not want to
17533 # sort them, since we want the *last* AC-DEFINE to be honored.
17534 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
17535 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
17536 rm -f confdef2sed.sed
17538 # This sed command replaces #undef with comments. This is necessary, for
17539 # example, in the case of _POSIX_SOURCE, which is predefined and required
17540 # on some systems where configure will not decide to define it.
17541 cat >>conftest.undefs <<\_ACEOF
17542 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
17545 # Break up conftest.defines because some shells have a limit on the size
17546 # of here documents, and old seds have small limits too (100 cmds).
17547 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
17548 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
17549 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
17550 echo ' :' >>$CONFIG_STATUS
17551 rm -f conftest.tail
17552 while grep . conftest.defines >/dev/null
17554 # Write a limited-size here document to $tmp/defines.sed.
17555 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
17556 # Speed up: don't consider the non `#define' lines.
17557 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
17558 # Work around the forget-to-reset-the-flag bug.
17559 echo 't clr' >>$CONFIG_STATUS
17560 echo ': clr' >>$CONFIG_STATUS
17561 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
17563 sed -f $tmp/defines.sed $tmp/in >$tmp/out
17565 mv $tmp/out $tmp/in
17567 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
17568 rm -f conftest.defines
17569 mv conftest.
tail conftest.defines
17571 rm -f conftest.defines
17572 echo ' fi # grep' >>$CONFIG_STATUS
17573 echo >>$CONFIG_STATUS
17575 # Break up conftest.undefs because some shells have a limit on the size
17576 # of here documents, and old seds have small limits too (100 cmds).
17577 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
17578 rm -f conftest.
tail
17579 while grep . conftest.undefs
>/dev
/null
17581 # Write a limited-size here document to $tmp/undefs.sed.
17582 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
17583 # Speed up: don't consider the non
`#undef'
17584 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
17585 # Work around the forget-to-reset-the-flag bug.
17586 echo 't clr' >>$CONFIG_STATUS
17587 echo ': clr' >>$CONFIG_STATUS
17588 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
17590 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
17592 mv $tmp/out $tmp/in
17594 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
17595 rm -f conftest.undefs
17596 mv conftest.tail conftest.undefs
17598 rm -f conftest.undefs
17600 cat >>$CONFIG_STATUS <<\_ACEOF
17601 # Let's still pretend it is `configure
' which instantiates (i.e., don't
17602 # use $as_me), people would be surprised to read:
17603 # /* config.h. Generated by config.status. */
17604 if test x
"$ac_file" = x-
; then
17605 echo "/* Generated by configure. */" >$tmp/config.h
17607 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
17609 cat $tmp/in >>$tmp/config.h
17611 if test x
"$ac_file" != x-
; then
17612 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
17613 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
17614 echo "$as_me: $ac_file is unchanged" >&6;}
17616 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
17617 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17618 X"$ac_file" : 'X\(//\)[^/]' \| \
17619 X"$ac_file" : 'X\(//\)$' \| \
17620 X"$ac_file" : 'X\(/\)' \| \
17621 . : '\(.\)' 2>/dev/null ||
17623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17624 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17625 /^X\(\/\/\)$/{ s//\1/; q; }
17626 /^X\(\/\).*/{ s//\1/; q; }
17628 { if $as_mkdir_p; then
17633 while test ! -d "$as_dir"; do
17634 as_dirs
="$as_dir $as_dirs"
17635 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17636 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17637 X"$as_dir" : 'X\(//\)[^/]' \| \
17638 X"$as_dir" : 'X\(//\)$' \| \
17639 X"$as_dir" : 'X\(/\)' \| \
17640 . : '\(.\)' 2>/dev/null ||
17642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17643 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17644 /^X\(\/\/\)$/{ s//\1/; q; }
17645 /^X\(\/\).*/{ s//\1/; q; }
17648 test ! -n "$as_dirs" || mkdir
$as_dirs
17649 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17650 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17651 { (exit 1); exit 1; }; }; }
17654 mv $tmp/config.h
$ac_file
17658 rm -f $tmp/config.h
17660 # Compute $ac_file's index in $config_headers.
17662 for _am_header
in $config_headers :; do
17663 case $_am_header in
17664 $ac_file |
$ac_file:* )
17667 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17670 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
17671 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17672 X$ac_file : 'X\(//\)[^/]' \| \
17673 X$ac_file : 'X\(//\)$' \| \
17674 X$ac_file : 'X\(/\)' \| \
17675 . : '\(.\)' 2>/dev/null ||
17677 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17678 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17679 /^X\(\/\/\)$/{ s//\1/; q; }
17680 /^X\(\/\).*/{ s//\1/; q; }
17681 s/.*/./; q'`/stamp-h
$_am_stamp_count
17684 cat >>$CONFIG_STATUS <<\_ACEOF
17687 # CONFIG_COMMANDS section.
17689 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
17690 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
17691 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17692 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
17693 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17694 X"$ac_dest" : 'X\(//\)[^/]' \| \
17695 X"$ac_dest" : 'X\(//\)$' \| \
17696 X"$ac_dest" : 'X\(/\)' \| \
17697 . : '\(.\)' 2>/dev/null ||
17699 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17700 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17701 /^X\(\/\/\)$/{ s//\1/; q; }
17702 /^X\(\/\).*/{ s//\1/; q; }
17704 { if $as_mkdir_p; then
17709 while test ! -d "$as_dir"; do
17710 as_dirs
="$as_dir $as_dirs"
17711 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17712 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17713 X"$as_dir" : 'X\(//\)[^/]' \| \
17714 X"$as_dir" : 'X\(//\)$' \| \
17715 X"$as_dir" : 'X\(/\)' \| \
17716 . : '\(.\)' 2>/dev/null ||
17718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17720 /^X\(\/\/\)$/{ s//\1/; q; }
17721 /^X\(\/\).*/{ s//\1/; q; }
17724 test ! -n "$as_dirs" || mkdir
$as_dirs
17725 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17726 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17727 { (exit 1); exit 1; }; }; }
17731 if test "$ac_dir" != .
; then
17732 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17733 # A "../" for each directory in $ac_dir_suffix.
17734 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17736 ac_dir_suffix
= ac_top_builddir
=
17740 .
) # No --srcdir option. We are building in place.
17742 if test -z "$ac_top_builddir"; then
17745 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17747 [\\/]* | ?
:[\\/]* ) # Absolute path.
17748 ac_srcdir
=$srcdir$ac_dir_suffix;
17749 ac_top_srcdir
=$srcdir ;;
17750 *) # Relative path.
17751 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17752 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17755 # Do not use `cd foo && pwd` to compute absolute paths, because
17756 # the directories may not exist.
17758 .
) ac_abs_builddir
="$ac_dir";;
17761 .
) ac_abs_builddir
=`pwd`;;
17762 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
17763 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
17766 case $ac_abs_builddir in
17767 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17769 case ${ac_top_builddir}.
in
17770 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17771 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17772 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17775 case $ac_abs_builddir in
17776 .
) ac_abs_srcdir
=$ac_srcdir;;
17779 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17780 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17781 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17784 case $ac_abs_builddir in
17785 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17787 case $ac_top_srcdir in
17788 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17789 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17790 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17795 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
17796 echo "$as_me: executing $ac_dest commands" >&6;}
17799 # Only add multilib support code if we just rebuilt the top-level
17801 case " $CONFIG_FILES " in
17803 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17806 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
17807 # Strip MF so we end up with the name of the file.
17808 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17809 # Check whether this is an Automake generated Makefile or not.
17810 # We used to match only the files named `Makefile.in', but
17811 # some people rename them; so instead we look at the file content.
17812 # Grep'ing the first line is not enough: some people post-process
17813 # each Makefile.in and add a new line on top of each file to say so.
17814 # So let's grep whole file.
17815 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
17816 dirpart
=`(dirname "$mf") 2>/dev/null ||
17817 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17818 X"$mf" : 'X\(//\)[^/]' \| \
17819 X"$mf" : 'X\(//\)$' \| \
17820 X"$mf" : 'X\(/\)' \| \
17821 . : '\(.\)' 2>/dev/null ||
17823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17824 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17825 /^X\(\/\/\)$/{ s//\1/; q; }
17826 /^X\(\/\).*/{ s//\1/; q; }
17831 # Extract the definition of DEPDIR, am__include, and am__quote
17832 # from the Makefile without running `make'.
17833 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17834 test -z "$DEPDIR" && continue
17835 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17836 test -z "am__include" && continue
17837 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17838 # When using ansi2knr, U may be empty or an underscore; expand it
17839 U
=`sed -n 's/^U = //p' < "$mf"`
17840 # Find all dependency output files, they are included files with
17841 # $(DEPDIR) in their names. We invoke sed twice because it is the
17842 # simplest approach to changing $(DEPDIR) to its actual value in the
17844 for file in `sed -n "
17845 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17846 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17847 # Make sure the directory exists.
17848 test -f "$dirpart/$file" && continue
17849 fdir
=`(dirname "$file") 2>/dev/null ||
17850 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17851 X"$file" : 'X\(//\)[^/]' \| \
17852 X"$file" : 'X\(//\)$' \| \
17853 X"$file" : 'X\(/\)' \| \
17854 . : '\(.\)' 2>/dev/null ||
17856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17857 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17858 /^X\(\/\/\)$/{ s//\1/; q; }
17859 /^X\(\/\).*/{ s//\1/; q; }
17861 { if $as_mkdir_p; then
17862 mkdir
-p $dirpart/$fdir
17864 as_dir
=$dirpart/$fdir
17866 while test ! -d "$as_dir"; do
17867 as_dirs
="$as_dir $as_dirs"
17868 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17869 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17870 X"$as_dir" : 'X\(//\)[^/]' \| \
17871 X"$as_dir" : 'X\(//\)$' \| \
17872 X"$as_dir" : 'X\(/\)' \| \
17873 . : '\(.\)' 2>/dev/null ||
17875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17876 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17877 /^X\(\/\/\)$/{ s//\1/; q; }
17878 /^X\(\/\).*/{ s//\1/; q; }
17881 test ! -n "$as_dirs" || mkdir
$as_dirs
17882 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
17883 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
17884 { (exit 1); exit 1; }; }; }
17886 # echo "creating $dirpart/$file"
17887 echo '# dummy' > "$dirpart/$file"
17893 # See if we are running on zsh, and set the options which allow our
17894 # commands through without removal of \ escapes.
17895 if test -n "${ZSH_VERSION+set}" ; then
17896 setopt NO_GLOB_SUBST
17899 cfgfile
="${ofile}T"
17900 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17903 cat <<_LT_EOF >> "$cfgfile"
17906 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17907 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
17908 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17909 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17911 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17912 # 2006, 2007 Free Software Foundation, Inc.
17914 # This file is part of GNU Libtool:
17915 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
17917 # This program is free software; you can redistribute it and/or modify
17918 # it under the terms of the GNU General Public License as published by
17919 # the Free Software Foundation; either version 2 of the License, or
17920 # (at your option) any later version.
17922 # This program is distributed in the hope that it will be useful, but
17923 # WITHOUT ANY WARRANTY; without even the implied warranty of
17924 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17925 # General Public License for more details.
17927 # You should have received a copy of the GNU General Public License
17928 # along with this program; if not, a copy can be downloaded from
17929 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
17930 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17931 # MA 02110-1301, USA.
17933 # As a special exception to the GNU General Public License, if you
17934 # distribute this file as part of a program that contains a
17935 # configuration script generated by Autoconf, you may include it under
17936 # the same distribution terms that you use for the rest of that program.
17939 # The names of the tagged configurations supported by this script.
17940 available_tags="CXX "
17942 # ### BEGIN LIBTOOL CONFIG
17944 # Which release of libtool.m4 was used?
17945 macro_version=$macro_version
17946 macro_revision=$macro_revision
17948 # Whether or not to build shared libraries.
17949 build_libtool_libs=$enable_shared
17951 # Whether or not to build static libraries.
17952 build_old_libs=$enable_static
17954 # What type of objects to build.
17957 # Whether or not to optimize for fast installation.
17958 fast_install=$enable_fast_install
17961 host_alias=$host_alias
17965 # The build system.
17966 build_alias=$build_alias
17970 # A sed program that does not truncate output.
17973 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17974 Xsed="\$SED -e 1s/^X//"
17976 # A grep program that handles long lines.
17982 # A literal string matcher.
17985 # A BSD- or MS-compatible name lister.
17988 # Whether we need soft or hard links.
17991 # What is the maximum length of a command?
17992 max_cmd_len=$max_cmd_len
17994 # Object file suffix (normally "o").
17997 # Executable file suffix (normally "").
18000 # whether the shell understands "unset".
18003 # turn spaces into newlines.
18006 # turn newlines into spaces.
18009 # How to create reloadable object files.
18010 reload_flag=$lt_reload_flag
18011 reload_cmds=$lt_reload_cmds
18013 # Method to check whether dependent libraries are shared objects.
18014 deplibs_check_method=$lt_deplibs_check_method
18016 # Command to use when deplibs_check_method == "file_magic".
18017 file_magic_cmd=$lt_file_magic_cmd
18021 AR_FLAGS=$lt_AR_FLAGS
18023 # A symbol stripping program.
18026 # Commands used to install an old-style archive.
18028 old_postinstall_cmds=$lt_old_postinstall_cmds
18029 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18034 # LTCC compiler flags.
18035 LTCFLAGS=$lt_CFLAGS
18037 # Take the output of nm and produce a listing of raw symbols and C names.
18038 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18040 # Transform the output of nm in a proper C declaration.
18041 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18043 # Transform the output of nm in a C name address pair.
18044 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18046 # The name of the directory that contains temporary libtool files.
18049 # Shell to use when invoking shell scripts.
18052 # An echo program that does not interpret backslashes.
18055 # Used to examine libraries when file_magic_cmd begins with "file".
18056 MAGIC_CMD=$MAGIC_CMD
18058 # Must we lock files when doing compilation?
18059 need_locks=$lt_need_locks
18061 # Old archive suffix (normally "a").
18064 # Shared library suffix (normally ".so").
18065 shrext_cmds=$lt_shrext_cmds
18067 # The commands to extract the exported symbol list from a shared archive.
18068 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18070 # Variables whose values should be saved in libtool wrapper scripts and
18071 # restored at link time.
18072 variables_saved_for_relink=$lt_variables_saved_for_relink
18074 # Do we need the "lib" prefix for modules?
18075 need_lib_prefix=$need_lib_prefix
18077 # Do we need a version for libraries?
18078 need_version=$need_version
18080 # Library versioning type.
18081 version_type=$version_type
18083 # Shared library runtime path variable.
18084 runpath_var=$runpath_var
18086 # Shared library path variable.
18087 shlibpath_var=$shlibpath_var
18089 # Is shlibpath searched before the hard-coded library search path?
18090 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18092 # Format of library name prefix.
18093 libname_spec=$lt_libname_spec
18095 # List of archive names. First name is the real one, the rest are links.
18096 # The last name is the one that the linker finds with -lNAME
18097 library_names_spec=$lt_library_names_spec
18099 # The coded name of the library, if different from the real name.
18100 soname_spec=$lt_soname_spec
18102 # Command to use after installation of a shared archive.
18103 postinstall_cmds=$lt_postinstall_cmds
18105 # Command to use after uninstallation of a shared archive.
18106 postuninstall_cmds=$lt_postuninstall_cmds
18108 # Commands used to finish a libtool library installation in a directory.
18109 finish_cmds=$lt_finish_cmds
18111 # As "finish_cmds", except a single script fragment to be evaled but
18113 finish_eval=$lt_finish_eval
18115 # Whether we should hardcode library paths into libraries.
18116 hardcode_into_libs=$hardcode_into_libs
18118 # Compile-time system search path for libraries.
18119 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18121 # Run-time system search path for libraries.
18122 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18124 # Whether dlopen is supported.
18125 dlopen_support=$enable_dlopen
18127 # Whether dlopen of programs is supported.
18128 dlopen_self=$enable_dlopen_self
18130 # Whether dlopen of statically linked programs is supported.
18131 dlopen_self_static=$enable_dlopen_self_static
18133 # Commands to strip libraries.
18134 old_striplib=$lt_old_striplib
18135 striplib=$lt_striplib
18138 # The linker used to build libraries.
18141 # Commands used to build an old-style archive.
18142 old_archive_cmds=$lt_old_archive_cmds
18144 # A language specific compiler.
18147 # Is the compiler the GNU compiler?
18150 # Compiler flag to turn off builtin functions.
18151 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18153 # How to pass a linker flag through the compiler.
18154 wl=$lt_lt_prog_compiler_wl
18156 # Additional compiler flags for building library objects.
18157 pic_flag=$lt_lt_prog_compiler_pic
18159 # Compiler flag to prevent dynamic linking.
18160 link_static_flag=$lt_lt_prog_compiler_static
18162 # Does compiler simultaneously support -c and -o options?
18163 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18165 # Whether or not to add -lc for building shared libraries.
18166 build_libtool_need_lc=$archive_cmds_need_lc
18168 # Whether or not to disallow shared libs when runtime libs are static.
18169 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18171 # Compiler flag to allow reflexive dlopens.
18172 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18174 # Compiler flag to generate shared objects directly from archives.
18175 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18177 # Whether the compiler copes with passing no objects directly.
18178 compiler_needs_object=$lt_compiler_needs_object
18180 # Create an old-style archive from a shared archive.
18181 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18183 # Create a temporary old-style archive to link instead of a shared archive.
18184 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18186 # Commands used to build a shared archive.
18187 archive_cmds=$lt_archive_cmds
18188 archive_expsym_cmds=$lt_archive_expsym_cmds
18190 # Commands used to build a loadable module if different from building
18191 # a shared archive.
18192 module_cmds=$lt_module_cmds
18193 module_expsym_cmds=$lt_module_expsym_cmds
18195 # Whether we are building with GNU ld or not.
18196 with_gnu_ld=$lt_with_gnu_ld
18198 # Flag that allows shared libraries with undefined symbols to be built.
18199 allow_undefined_flag=$lt_allow_undefined_flag
18201 # Flag that enforces no undefined symbols.
18202 no_undefined_flag=$lt_no_undefined_flag
18204 # Flag to hardcode \$libdir into a binary during linking.
18205 # This must work even if \$libdir does not exist
18206 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18208 # If ld is used when linking, flag to hardcode \$libdir into a binary
18209 # during linking. This must work even if \$libdir does not exist.
18210 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18212 # Whether we need a single "-rpath" flag with a separated argument.
18213 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18215 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18216 # DIR into the resulting binary.
18217 hardcode_direct=$hardcode_direct
18219 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18220 # DIR into the resulting binary and the resulting library dependency is
18221 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18222 # library is relocated.
18223 hardcode_direct_absolute=$hardcode_direct_absolute
18225 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18226 # into the resulting binary.
18227 hardcode_minus_L=$hardcode_minus_L
18229 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18230 # into the resulting binary.
18231 hardcode_shlibpath_var=$hardcode_shlibpath_var
18233 # Set to "yes" if building a shared library automatically hardcodes DIR
18234 # into the library and all subsequent libraries and executables linked
18236 hardcode_automatic=$hardcode_automatic
18238 # Set to yes if linker adds runtime paths of dependent libraries
18239 # to runtime path list.
18240 inherit_rpath=$inherit_rpath
18242 # Whether libtool must link a program against all its dependency libraries.
18243 link_all_deplibs=$link_all_deplibs
18245 # Fix the shell variable \$srcfile for the compiler.
18246 fix_srcfile_path=$lt_fix_srcfile_path
18248 # Set to "yes" if exported symbols are required.
18249 always_export_symbols=$always_export_symbols
18251 # The commands to list exported symbols.
18252 export_symbols_cmds=$lt_export_symbols_cmds
18254 # Symbols that should not be listed in the preloaded symbols.
18255 exclude_expsyms=$lt_exclude_expsyms
18257 # Symbols that must always be exported.
18258 include_expsyms=$lt_include_expsyms
18260 # Commands necessary for linking programs (against libraries) with templates.
18261 prelink_cmds=$lt_prelink_cmds
18263 # Specify filename containing input files.
18264 file_list_spec=$lt_file_list_spec
18266 # How to hardcode a shared library path into an executable.
18267 hardcode_action=$hardcode_action
18269 # Dependencies to place before and after the objects being linked to
18270 # create a shared library.
18271 predep_objects=$lt_predep_objects
18272 postdep_objects=$lt_postdep_objects
18273 predeps=$lt_predeps
18274 postdeps=$lt_postdeps
18276 # The library search path used internally by the compiler when linking
18277 # a shared library.
18278 compiler_lib_search_path=$lt_compiler_lib_search_path
18280 # ### END LIBTOOL CONFIG
18286 cat <<\_LT_EOF
>> "$cfgfile"
18287 # AIX sometimes has problems with the GCC collect2 program. For some
18288 # reason, if we set the COLLECT_NAMES environment variable, the problems
18289 # vanish in a puff of smoke.
18290 if test "X${COLLECT_NAMES+set}" != Xset
; then
18292 export COLLECT_NAMES
18299 ltmain
="$ac_aux_dir/ltmain.sh"
18302 # We use sed instead of cat because bash on DJGPP gets confused if
18303 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18304 # text mode, it properly converts lines to CR/LF. This bash problem
18305 # is reportedly fixed, but why not run on old versions too?
18306 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18307 ||
(rm -f "$cfgfile"; exit 1)
18311 cat << \_LT_EOF
>> "$cfgfile"
18312 # func_dirname file append nondir_replacement
18313 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18314 # otherwise set result to NONDIR_REPLACEMENT.
18318 */*) func_dirname_result
="${1%/*}${2}" ;;
18319 * ) func_dirname_result
="${3}" ;;
18323 # func_basename file
18326 func_basename_result
="${1##*/}"
18329 # func_stripname prefix suffix name
18330 # strip PREFIX and SUFFIX off of NAME.
18331 # PREFIX and SUFFIX must not contain globbing or regex special
18332 # characters, hashes, percent signs, but SUFFIX may contain a leading
18333 # dot (in which case that matches only a dot).
18336 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18337 # positional parameters, so assign one to ordinary parameter first.
18338 func_stripname_result
=${3}
18339 func_stripname_result
=${func_stripname_result#"${1}"}
18340 func_stripname_result
=${func_stripname_result%"${2}"}
18346 func_opt_split_opt
=${1%%=*}
18347 func_opt_split_arg
=${1#*=}
18354 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18355 *) func_lo2o_result
=${1} ;;
18360 *) # Bourne compatible functions.
18361 cat << \_LT_EOF
>> "$cfgfile"
18362 # func_dirname file append nondir_replacement
18363 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18364 # otherwise set result to NONDIR_REPLACEMENT.
18367 # Extract subdirectory from the argument.
18368 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18369 if test "X$func_dirname_result" = "X${1}"; then
18370 func_dirname_result
="${3}"
18372 func_dirname_result
="$func_dirname_result${2}"
18376 # func_basename file
18379 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
18382 # func_stripname prefix suffix name
18383 # strip PREFIX and SUFFIX off of NAME.
18384 # PREFIX and SUFFIX must not contain globbing or regex special
18385 # characters, hashes, percent signs, but SUFFIX may contain a leading
18386 # dot (in which case that matches only a dot).
18387 # func_strip_suffix prefix name
18391 .
*) func_stripname_result
=`$ECHO "X${3}" \
18392 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18393 *) func_stripname_result
=`$ECHO "X${3}" \
18394 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18399 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18400 my_sed_long_arg
='1s/^-[^=]*=//'
18405 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18406 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18412 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18417 case $lt_shell_append in
18419 cat << \_LT_EOF
>> "$cfgfile"
18421 # func_append var value
18422 # Append VALUE to the end of shell variable VAR.
18430 cat << \_LT_EOF
>> "$cfgfile"
18432 # func_append var value
18433 # Append VALUE to the end of shell variable VAR.
18443 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18444 ||
(rm -f "$cfgfile"; exit 1)
18446 mv -f "$cfgfile" "$ofile" ||
18447 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18451 cat <<_LT_EOF >> "$ofile"
18453 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18455 # The linker used to build libraries.
18458 # Commands used to build an old-style archive.
18459 old_archive_cmds=$lt_old_archive_cmds_CXX
18461 # A language specific compiler.
18462 CC=$lt_compiler_CXX
18464 # Is the compiler the GNU compiler?
18467 # Compiler flag to turn off builtin functions.
18468 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18470 # How to pass a linker flag through the compiler.
18471 wl=$lt_lt_prog_compiler_wl_CXX
18473 # Additional compiler flags for building library objects.
18474 pic_flag=$lt_lt_prog_compiler_pic_CXX
18476 # Compiler flag to prevent dynamic linking.
18477 link_static_flag=$lt_lt_prog_compiler_static_CXX
18479 # Does compiler simultaneously support -c and -o options?
18480 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18482 # Whether or not to add -lc for building shared libraries.
18483 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18485 # Whether or not to disallow shared libs when runtime libs are static.
18486 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18488 # Compiler flag to allow reflexive dlopens.
18489 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18491 # Compiler flag to generate shared objects directly from archives.
18492 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18494 # Whether the compiler copes with passing no objects directly.
18495 compiler_needs_object=$lt_compiler_needs_object_CXX
18497 # Create an old-style archive from a shared archive.
18498 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18500 # Create a temporary old-style archive to link instead of a shared archive.
18501 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18503 # Commands used to build a shared archive.
18504 archive_cmds=$lt_archive_cmds_CXX
18505 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18507 # Commands used to build a loadable module if different from building
18508 # a shared archive.
18509 module_cmds=$lt_module_cmds_CXX
18510 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18512 # Whether we are building with GNU ld or not.
18513 with_gnu_ld=$lt_with_gnu_ld_CXX
18515 # Flag that allows shared libraries with undefined symbols to be built.
18516 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18518 # Flag that enforces no undefined symbols.
18519 no_undefined_flag=$lt_no_undefined_flag_CXX
18521 # Flag to hardcode \$libdir into a binary during linking.
18522 # This must work even if \$libdir does not exist
18523 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18525 # If ld is used when linking, flag to hardcode \$libdir into a binary
18526 # during linking. This must work even if \$libdir does not exist.
18527 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18529 # Whether we need a single "-rpath" flag with a separated argument.
18530 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18532 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18533 # DIR into the resulting binary.
18534 hardcode_direct=$hardcode_direct_CXX
18536 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18537 # DIR into the resulting binary and the resulting library dependency is
18538 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18539 # library is relocated.
18540 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18542 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18543 # into the resulting binary.
18544 hardcode_minus_L=$hardcode_minus_L_CXX
18546 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18547 # into the resulting binary.
18548 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18550 # Set to "yes" if building a shared library automatically hardcodes DIR
18551 # into the library and all subsequent libraries and executables linked
18553 hardcode_automatic=$hardcode_automatic_CXX
18555 # Set to yes if linker adds runtime paths of dependent libraries
18556 # to runtime path list.
18557 inherit_rpath=$inherit_rpath_CXX
18559 # Whether libtool must link a program against all its dependency libraries.
18560 link_all_deplibs=$link_all_deplibs_CXX
18562 # Fix the shell variable \$srcfile for the compiler.
18563 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18565 # Set to "yes" if exported symbols are required.
18566 always_export_symbols=$always_export_symbols_CXX
18568 # The commands to list exported symbols.
18569 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18571 # Symbols that should not be listed in the preloaded symbols.
18572 exclude_expsyms=$lt_exclude_expsyms_CXX
18574 # Symbols that must always be exported.
18575 include_expsyms=$lt_include_expsyms_CXX
18577 # Commands necessary for linking programs (against libraries) with templates.
18578 prelink_cmds=$lt_prelink_cmds_CXX
18580 # Specify filename containing input files.
18581 file_list_spec=$lt_file_list_spec_CXX
18583 # How to hardcode a shared library path into an executable.
18584 hardcode_action=$hardcode_action_CXX
18586 # Dependencies to place before and after the objects being linked to
18587 # create a shared library.
18588 predep_objects=$lt_predep_objects_CXX
18589 postdep_objects=$lt_postdep_objects_CXX
18590 predeps=$lt_predeps_CXX
18591 postdeps=$lt_postdeps_CXX
18593 # The library search path used internally by the compiler when linking
18594 # a shared library.
18595 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18597 # ### END LIBTOOL TAG CONFIG: CXX
18605 cat >>$CONFIG_STATUS <<\_ACEOF
18607 { (exit 0); exit 0; }
18609 chmod +x
$CONFIG_STATUS
18610 ac_clean_files
=$ac_clean_files_save
18613 # configure is writing to config.log, and then calls config.status.
18614 # config.status does its own redirection, appending to config.log.
18615 # Unfortunately, on DOS this fails, as config.log is still kept open
18616 # by configure, so config.status won't be able to write to it; its
18617 # output is simply discarded. So we exec the FD to /dev/null,
18618 # effectively closing config.log, so it can be properly (re)opened and
18619 # appended to by config.status. When coming back to configure, we
18620 # need to make the FD available again.
18621 if test "$no_create" != yes; then
18623 ac_config_status_args
=
18624 test "$silent" = yes &&
18625 ac_config_status_args
="$ac_config_status_args --quiet"
18627 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18629 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18630 # would make configure fail if this is the last instruction.
18631 $ac_cs_success ||
{ (exit 1); exit 1; }