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 # differences in whitespace do not lead to failure.
1429 ac_old_val_w=`echo x $ac_old_val`
1430 ac_new_val_w=`echo x $ac_new_val`
1431 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1432 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1433 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1434 ac_cache_corrupted=:
1436 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1437 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1438 eval $ac_var=\$ac_old_val
1440 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1441 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1442 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1443 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1446 # Pass precious variables to config.status.
1447 if test "$ac_new_set" = set; then
1449 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1450 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1451 *) ac_arg=$ac_var=$ac_new_val ;;
1453 case " $ac_configure_args " in
1454 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1455 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1459 if $ac_cache_corrupted; then
1460 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1461 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1462 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1463 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1464 { (exit 1); exit 1; }; }
1468 ac_cpp='$CPP $CPPFLAGS'
1469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1470 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1492 # This works around the fact that libtool configuration may change LD
1493 # for this particular configuration, but some shells, instead of
1494 # keeping the changes in LD private, export them just because LD is
1496 ORIGINAL_LD_FOR_MULTILIBS=$LD
1498 # Default to --enable-multilib
1499 # Check whether --enable-multilib or --disable-multilib was given.
1500 if test "${enable_multilib+set}" = set; then
1501 enableval="$enable_multilib"
1502 case "$enableval" in
1503 yes) multilib=yes ;;
1505 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1506 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1507 { (exit 1); exit 1; }; } ;;
1513 # We may get other options which we leave undocumented:
1514 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1515 # See config-ml.in if you want the gory details.
1517 if test "$srcdir" = "."; then
1518 if test "$with_target_subdir" != "."; then
1519 multi_basedir="$srcdir/$with_multisrctop../.."
1521 multi_basedir="$srcdir/$with_multisrctop.."
1524 multi_basedir="$srcdir/.."
1528 # Even if the default multilib is not a cross compilation,
1529 # it may be that some of the other multilibs are.
1530 if test $cross_compiling = no && test $multilib = yes \
1531 && test "x${with_multisubdir}" != x ; then
1532 cross_compiling=maybe
1535 ac_config_commands="$ac_config_commands default-1"
1539 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1540 if test -f $ac_dir/install-sh; then
1542 ac_install_sh="$ac_aux_dir/install-sh -c"
1544 elif test -f $ac_dir/install.sh; then
1546 ac_install_sh="$ac_aux_dir/install.sh -c"
1548 elif test -f $ac_dir/shtool; then
1550 ac_install_sh="$ac_aux_dir/shtool install -c"
1554 if test -z "$ac_aux_dir"; then
1555 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1556 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1557 { (exit 1); exit 1; }; }
1559 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1560 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1561 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1563 # Make sure we can run config.sub.
1564 $ac_config_sub sun4 >/dev/null 2>&1 ||
1565 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1566 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1567 { (exit 1); exit 1; }; }
1569 echo "$as_me:$LINENO: checking build system type" >&5
1570 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1571 if test "${ac_cv_build+set}" = set; then
1572 echo $ECHO_N "(cached) $ECHO_C" >&6
1574 ac_cv_build_alias=$build_alias
1575 test -z "$ac_cv_build_alias" &&
1576 ac_cv_build_alias=`$ac_config_guess`
1577 test -z "$ac_cv_build_alias" &&
1578 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1579 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1580 { (exit 1); exit 1; }; }
1581 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1582 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1583 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1584 { (exit 1); exit 1; }; }
1587 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1588 echo "${ECHO_T}$ac_cv_build" >&6
1590 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1591 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1592 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1595 echo "$as_me:$LINENO: checking host system type" >&5
1596 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1597 if test "${ac_cv_host+set}" = set; then
1598 echo $ECHO_N "(cached) $ECHO_C" >&6
1600 ac_cv_host_alias=$host_alias
1601 test -z "$ac_cv_host_alias" &&
1602 ac_cv_host_alias=$ac_cv_build_alias
1603 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1604 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1605 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1606 { (exit 1); exit 1; }; }
1609 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1610 echo "${ECHO_T}$ac_cv_host" >&6
1612 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1613 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1614 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1617 echo "$as_me:$LINENO: checking target system type" >&5
1618 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1619 if test "${ac_cv_target+set}" = set; then
1620 echo $ECHO_N "(cached) $ECHO_C" >&6
1622 ac_cv_target_alias=$target_alias
1623 test "x$ac_cv_target_alias" = "x" &&
1624 ac_cv_target_alias=$ac_cv_host_alias
1625 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1626 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1627 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1628 { (exit 1); exit 1; }; }
1631 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1632 echo "${ECHO_T}$ac_cv_target" >&6
1633 target=$ac_cv_target
1634 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1635 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1636 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1639 # The aliases save the names the user supplied, while $host etc.
1640 # will get canonicalized.
1641 test -n "$target_alias" &&
1642 test "$program_prefix$program_suffix$program_transform_name" = \
1644 program_prefix=${target_alias}-
1646 # Get the 'noncanonical
' system names.
1647 case ${build_alias} in
1648 "") build_noncanonical=${build} ;;
1649 *) build_noncanonical=${build_alias} ;;
1652 case ${host_alias} in
1653 "") host_noncanonical=${build_noncanonical} ;;
1654 *) host_noncanonical=${host_alias} ;;
1657 case ${target_alias} in
1658 "") target_noncanonical=${host_noncanonical} ;;
1659 *) target_noncanonical=${target_alias} ;;
1665 # This works around an automake problem.
1666 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1669 am__api_version="1.9"
1670 # Find a good install program. We prefer a C program (faster),
1671 # so one script is as good as another. But avoid the broken or
1672 # incompatible versions:
1673 # SysV /etc/install, /usr/sbin/install
1674 # SunOS /usr/etc/install
1675 # IRIX /sbin/install
1677 # AmigaOS /C/install, which installs bootblocks on floppy discs
1678 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1679 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1680 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1681 # OS/2's system install, which has a completely different semantic
1682 # ./install, which can be erroneously created by make from ./install.sh.
1683 # Reject install programs that cannot install multiple files.
1684 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1685 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1686 if test -z "$INSTALL"; then
1687 if test "${ac_cv_path_install+set}" = set; then
1688 echo $ECHO_N "(cached) $ECHO_C" >&6
1690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1694 test -z "$as_dir" && as_dir
=.
1695 # Account for people who put trailing slashes in PATH elements.
1697 .
/ | .
// |
/cC
/* | \
1698 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1699 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1702 # OSF1 and SCO ODT 3.0 have their own names for install.
1703 # Don't use installbsd from OSF since it installs stuff as root
1705 for ac_prog
in ginstall scoinst
install; do
1706 for ac_exec_ext
in '' $ac_executable_extensions; do
1707 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1708 if test $ac_prog = install &&
1709 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1710 # AIX install. It has an incompatible calling convention.
1712 elif test $ac_prog = install &&
1713 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1714 # program-specific install script used by HP pwplus--don't use.
1717 rm -rf conftest.one conftest.two conftest.dir
1718 echo one
> conftest.one
1719 echo two
> conftest.two
1721 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1722 test -s conftest.one
&& test -s conftest.two
&&
1723 test -s conftest.dir
/conftest.one
&&
1724 test -s conftest.dir
/conftest.two
1726 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1737 rm -rf conftest.one conftest.two conftest.dir
1740 if test "${ac_cv_path_install+set}" = set; then
1741 INSTALL
=$ac_cv_path_install
1743 # As a last resort, use the slow shell script. Don't cache a
1744 # value for INSTALL within a source directory, because that will
1745 # break other packages using the cache if that directory is
1746 # removed, or if the value is a relative name.
1747 INSTALL
=$ac_install_sh
1750 echo "$as_me:$LINENO: result: $INSTALL" >&5
1751 echo "${ECHO_T}$INSTALL" >&6
1753 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1754 # It thinks the first close brace ends the variable substitution.
1755 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1757 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1759 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1761 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1762 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1765 echo timestamp
> conftest.
file
1766 # Do `set' in a subshell so we don't clobber the current shell's
1767 # arguments. Must try -L first in case configure is actually a
1768 # symlink; some systems play weird games with the mod time of symlinks
1769 # (eg FreeBSD returns the mod time of the symlink's containing
1772 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1773 if test "$*" = "X"; then
1775 set X
`ls -t $srcdir/configure conftest.file`
1778 if test "$*" != "X $srcdir/configure conftest.file" \
1779 && test "$*" != "X conftest.file $srcdir/configure"; then
1781 # If neither matched, then we have a broken ls. This can happen
1782 # if, for instance, CONFIG_SHELL is bash and it inherits a
1783 # broken ls alias from the environment. This has actually
1784 # happened. Such a system could not be considered "sane".
1785 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1786 alias in your environment" >&5
1787 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1788 alias in your environment" >&2;}
1789 { (exit 1); exit 1; }; }
1792 test "$2" = conftest.
file
1798 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1799 Check your system clock" >&5
1800 echo "$as_me: error: newly created file is older than distributed files!
1801 Check your system clock" >&2;}
1802 { (exit 1); exit 1; }; }
1804 echo "$as_me:$LINENO: result: yes" >&5
1805 echo "${ECHO_T}yes" >&6
1806 test "$program_prefix" != NONE
&&
1807 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1808 # Use a double $ so make ignores it.
1809 test "$program_suffix" != NONE
&&
1810 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1811 # Double any \ or $. echo might interpret backslashes.
1812 # By default was `s,x,x', remove it if useless.
1813 cat <<\_ACEOF
>conftest.
sed
1814 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1816 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1819 # expand $ac_aux_dir to an absolute path
1820 am_aux_dir
=`cd $ac_aux_dir && pwd`
1822 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1823 # Use eval to expand $SHELL
1824 if eval "$MISSING --run true"; then
1825 am_missing_run
="$MISSING --run "
1828 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1829 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1832 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1833 # We used to keeping the `.' as first argument, in order to
1834 # allow $(mkdir_p) to be used without argument. As in
1835 # $(mkdir_p) $(somedir)
1836 # where $(somedir) is conditionally defined. However this is wrong
1838 # 1. if the package is installed by a user who cannot write `.'
1839 # make install will fail,
1840 # 2. the above comment should most certainly read
1841 # $(mkdir_p) $(DESTDIR)$(somedir)
1842 # so it does not work when $(somedir) is undefined and
1843 # $(DESTDIR) is not.
1844 # To support the latter case, we have to write
1845 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1846 # so the `.' trick is pointless.
1847 mkdir_p
='mkdir -p --'
1849 # On NextStep and OpenStep, the `mkdir' command does not
1850 # recognize any option. It will interpret all options as
1851 # directories to create, and then abort because `.' already
1853 for d
in .
/-p .
/--version;
1855 test -d $d && rmdir $d
1857 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1858 if test -f "$ac_aux_dir/mkinstalldirs"; then
1859 mkdir_p
='$(mkinstalldirs)'
1861 mkdir_p
='$(install_sh) -d'
1865 for ac_prog
in gawk mawk nawk
awk
1867 # Extract the first word of "$ac_prog", so it can be a program name with args.
1868 set dummy
$ac_prog; ac_word
=$2
1869 echo "$as_me:$LINENO: checking for $ac_word" >&5
1870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1871 if test "${ac_cv_prog_AWK+set}" = set; then
1872 echo $ECHO_N "(cached) $ECHO_C" >&6
1874 if test -n "$AWK"; then
1875 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1881 test -z "$as_dir" && as_dir
=.
1882 for ac_exec_ext
in '' $ac_executable_extensions; do
1883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1884 ac_cv_prog_AWK
="$ac_prog"
1885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1894 if test -n "$AWK"; then
1895 echo "$as_me:$LINENO: result: $AWK" >&5
1896 echo "${ECHO_T}$AWK" >&6
1898 echo "$as_me:$LINENO: result: no" >&5
1899 echo "${ECHO_T}no" >&6
1902 test -n "$AWK" && break
1905 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1906 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1907 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1908 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1909 echo $ECHO_N "(cached) $ECHO_C" >&6
1911 cat >conftest.
make <<\_ACEOF
1913 @
echo 'ac_maketemp="$(MAKE)"'
1915 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1916 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1917 if test -n "$ac_maketemp"; then
1918 eval ac_cv_prog_make_
${ac_make}_set
=yes
1920 eval ac_cv_prog_make_
${ac_make}_set
=no
1924 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1925 echo "$as_me:$LINENO: result: yes" >&5
1926 echo "${ECHO_T}yes" >&6
1929 echo "$as_me:$LINENO: result: no" >&5
1930 echo "${ECHO_T}no" >&6
1931 SET_MAKE
="MAKE=${MAKE-make}"
1934 rm -rf .tst
2>/dev
/null
1935 mkdir .tst
2>/dev
/null
1936 if test -d .tst
; then
1941 rmdir .tst
2>/dev
/null
1943 # test to see if srcdir already configured
1944 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1945 test -f $srcdir/config.status
; then
1946 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1947 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1948 { (exit 1); exit 1; }; }
1951 # test whether we have cygpath
1952 if test -z "$CYGPATH_W"; then
1953 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1954 CYGPATH_W
='cygpath -w'
1961 # Define the identity of the package.
1966 # Some tools Automake needs.
1968 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1971 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1974 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1977 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1980 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1982 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1984 # Installed binaries are usually stripped using `strip' when the user
1985 # run `make install-strip'. However `strip' might not be the right
1986 # tool to use in cross-compilation environments, therefore Automake
1987 # will honor the `STRIP' environment variable to overrule this program.
1988 if test "$cross_compiling" != no
; then
1989 if test -n "$ac_tool_prefix"; then
1990 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1991 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1992 echo "$as_me:$LINENO: checking for $ac_word" >&5
1993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1994 if test "${ac_cv_prog_STRIP+set}" = set; then
1995 echo $ECHO_N "(cached) $ECHO_C" >&6
1997 if test -n "$STRIP"; then
1998 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2004 test -z "$as_dir" && as_dir
=.
2005 for ac_exec_ext
in '' $ac_executable_extensions; do
2006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2007 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2016 STRIP
=$ac_cv_prog_STRIP
2017 if test -n "$STRIP"; then
2018 echo "$as_me:$LINENO: result: $STRIP" >&5
2019 echo "${ECHO_T}$STRIP" >&6
2021 echo "$as_me:$LINENO: result: no" >&5
2022 echo "${ECHO_T}no" >&6
2026 if test -z "$ac_cv_prog_STRIP"; then
2028 # Extract the first word of "strip", so it can be a program name with args.
2029 set dummy strip
; ac_word
=$2
2030 echo "$as_me:$LINENO: checking for $ac_word" >&5
2031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2032 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2033 echo $ECHO_N "(cached) $ECHO_C" >&6
2035 if test -n "$ac_ct_STRIP"; then
2036 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2042 test -z "$as_dir" && as_dir
=.
2043 for ac_exec_ext
in '' $ac_executable_extensions; do
2044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2045 ac_cv_prog_ac_ct_STRIP
="strip"
2046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2052 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2055 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2056 if test -n "$ac_ct_STRIP"; then
2057 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2058 echo "${ECHO_T}$ac_ct_STRIP" >&6
2060 echo "$as_me:$LINENO: result: no" >&5
2061 echo "${ECHO_T}no" >&6
2066 STRIP
="$ac_cv_prog_STRIP"
2070 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2072 # We need awk for the "check" target. The system "awk" is bad on
2074 # Always define AMTAR for backward compatibility.
2076 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2078 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2085 # The autoconf 2.5x version of the no-executables hack.
2088 # Yak. We must force CC and CXX to /not/ be precious variables; otherwise
2089 # the wrong, non-multilib-adjusted value will be used in multilibs.
2090 # As a side effect, we have to subst CFLAGS and CXXFLAGS ourselves.
2095 ac_cpp
='$CPP $CPPFLAGS'
2096 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2097 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2098 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2099 if test -n "$ac_tool_prefix"; then
2100 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2101 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2102 echo "$as_me:$LINENO: checking for $ac_word" >&5
2103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2104 if test "${ac_cv_prog_CC+set}" = set; then
2105 echo $ECHO_N "(cached) $ECHO_C" >&6
2107 if test -n "$CC"; then
2108 ac_cv_prog_CC
="$CC" # Let the user override the test.
2110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2114 test -z "$as_dir" && as_dir
=.
2115 for ac_exec_ext
in '' $ac_executable_extensions; do
2116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2117 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2127 if test -n "$CC"; then
2128 echo "$as_me:$LINENO: result: $CC" >&5
2129 echo "${ECHO_T}$CC" >&6
2131 echo "$as_me:$LINENO: result: no" >&5
2132 echo "${ECHO_T}no" >&6
2136 if test -z "$ac_cv_prog_CC"; then
2138 # Extract the first word of "gcc", so it can be a program name with args.
2139 set dummy gcc
; ac_word
=$2
2140 echo "$as_me:$LINENO: checking for $ac_word" >&5
2141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2142 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2143 echo $ECHO_N "(cached) $ECHO_C" >&6
2145 if test -n "$ac_ct_CC"; then
2146 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2152 test -z "$as_dir" && as_dir
=.
2153 for ac_exec_ext
in '' $ac_executable_extensions; do
2154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2155 ac_cv_prog_ac_ct_CC
="gcc"
2156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2164 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2165 if test -n "$ac_ct_CC"; then
2166 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2167 echo "${ECHO_T}$ac_ct_CC" >&6
2169 echo "$as_me:$LINENO: result: no" >&5
2170 echo "${ECHO_T}no" >&6
2178 if test -z "$CC"; then
2179 if test -n "$ac_tool_prefix"; then
2180 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2181 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2182 echo "$as_me:$LINENO: checking for $ac_word" >&5
2183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2184 if test "${ac_cv_prog_CC+set}" = set; then
2185 echo $ECHO_N "(cached) $ECHO_C" >&6
2187 if test -n "$CC"; then
2188 ac_cv_prog_CC
="$CC" # Let the user override the test.
2190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2194 test -z "$as_dir" && as_dir
=.
2195 for ac_exec_ext
in '' $ac_executable_extensions; do
2196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2197 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2207 if test -n "$CC"; then
2208 echo "$as_me:$LINENO: result: $CC" >&5
2209 echo "${ECHO_T}$CC" >&6
2211 echo "$as_me:$LINENO: result: no" >&5
2212 echo "${ECHO_T}no" >&6
2216 if test -z "$ac_cv_prog_CC"; then
2218 # Extract the first word of "cc", so it can be a program name with args.
2219 set dummy cc
; ac_word
=$2
2220 echo "$as_me:$LINENO: checking for $ac_word" >&5
2221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2222 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2223 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 if test -n "$ac_ct_CC"; then
2226 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2232 test -z "$as_dir" && as_dir
=.
2233 for ac_exec_ext
in '' $ac_executable_extensions; do
2234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2235 ac_cv_prog_ac_ct_CC
="cc"
2236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2244 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2245 if test -n "$ac_ct_CC"; then
2246 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2247 echo "${ECHO_T}$ac_ct_CC" >&6
2249 echo "$as_me:$LINENO: result: no" >&5
2250 echo "${ECHO_T}no" >&6
2259 if test -z "$CC"; then
2260 # Extract the first word of "cc", so it can be a program name with args.
2261 set dummy cc
; ac_word
=$2
2262 echo "$as_me:$LINENO: checking for $ac_word" >&5
2263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2264 if test "${ac_cv_prog_CC+set}" = set; then
2265 echo $ECHO_N "(cached) $ECHO_C" >&6
2267 if test -n "$CC"; then
2268 ac_cv_prog_CC
="$CC" # Let the user override the test.
2271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2275 test -z "$as_dir" && as_dir
=.
2276 for ac_exec_ext
in '' $ac_executable_extensions; do
2277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2278 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2279 ac_prog_rejected
=yes
2283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2289 if test $ac_prog_rejected = yes; then
2290 # We found a bogon in the path, so make sure we never use it.
2291 set dummy
$ac_cv_prog_CC
2293 if test $# != 0; then
2294 # We chose a different compiler from the bogus one.
2295 # However, it has the same basename, so the bogon will be chosen
2296 # first if we set CC to just the basename; use the full file name.
2298 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2304 if test -n "$CC"; then
2305 echo "$as_me:$LINENO: result: $CC" >&5
2306 echo "${ECHO_T}$CC" >&6
2308 echo "$as_me:$LINENO: result: no" >&5
2309 echo "${ECHO_T}no" >&6
2313 if test -z "$CC"; then
2314 if test -n "$ac_tool_prefix"; then
2317 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2318 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2319 echo "$as_me:$LINENO: checking for $ac_word" >&5
2320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2321 if test "${ac_cv_prog_CC+set}" = set; then
2322 echo $ECHO_N "(cached) $ECHO_C" >&6
2324 if test -n "$CC"; then
2325 ac_cv_prog_CC
="$CC" # Let the user override the test.
2327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2331 test -z "$as_dir" && as_dir
=.
2332 for ac_exec_ext
in '' $ac_executable_extensions; do
2333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2334 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2344 if test -n "$CC"; then
2345 echo "$as_me:$LINENO: result: $CC" >&5
2346 echo "${ECHO_T}$CC" >&6
2348 echo "$as_me:$LINENO: result: no" >&5
2349 echo "${ECHO_T}no" >&6
2352 test -n "$CC" && break
2355 if test -z "$CC"; then
2359 # Extract the first word of "$ac_prog", so it can be a program name with args.
2360 set dummy
$ac_prog; ac_word
=$2
2361 echo "$as_me:$LINENO: checking for $ac_word" >&5
2362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2363 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2364 echo $ECHO_N "(cached) $ECHO_C" >&6
2366 if test -n "$ac_ct_CC"; then
2367 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2373 test -z "$as_dir" && as_dir
=.
2374 for ac_exec_ext
in '' $ac_executable_extensions; do
2375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2376 ac_cv_prog_ac_ct_CC
="$ac_prog"
2377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2385 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2386 if test -n "$ac_ct_CC"; then
2387 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2388 echo "${ECHO_T}$ac_ct_CC" >&6
2390 echo "$as_me:$LINENO: result: no" >&5
2391 echo "${ECHO_T}no" >&6
2394 test -n "$ac_ct_CC" && break
2403 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2404 See \`config.log' for more details." >&5
2405 echo "$as_me: error: no acceptable C compiler found in \$PATH
2406 See \`config.log' for more details." >&2;}
2407 { (exit 1); exit 1; }; }
2409 # Provide some information about the compiler.
2410 echo "$as_me:$LINENO:" \
2411 "checking for C compiler version" >&5
2412 ac_compiler
=`set X $ac_compile; echo $2`
2413 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2414 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); }
2418 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2419 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 (exit $ac_status); }
2423 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2424 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); }
2429 cat >conftest.
$ac_ext <<_ACEOF
2432 cat confdefs.h
>>conftest.
$ac_ext
2433 cat >>conftest.
$ac_ext <<_ACEOF
2434 /* end confdefs.h. */
2445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2446 (eval $ac_link) 2>&5
2448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2449 (exit $ac_status); }; then
2455 if test x
$gcc_no_link = xyes
; then
2456 # Setting cross_compile will disable run tests; it will
2457 # also disable AC_CHECK_FILE but that's generally
2458 # correct if we can't link.
2462 cat >conftest.
$ac_ext <<_ACEOF
2465 cat confdefs.h
>>conftest.
$ac_ext
2466 cat >>conftest.
$ac_ext <<_ACEOF
2467 /* end confdefs.h. */
2477 ac_clean_files_save
=$ac_clean_files
2478 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2479 # Try to create an executable without -o first, disregard a.out.
2480 # It will help us diagnose broken compilers, and finding out an intuition
2482 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2483 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2484 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2485 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2486 (eval $ac_link_default) 2>&5
2488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489 (exit $ac_status); }; then
2490 # Find the output, starting from the most likely. This scheme is
2491 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2494 # Be careful to initialize this variable, since it used to be cached.
2495 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2497 # b.out is created by i960 compilers.
2498 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2500 test -f "$ac_file" ||
continue
2502 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2505 # This is the source file.
2508 # We found the default executable, but exeext='' is most
2512 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2513 # FIXME: I believe we export ac_cv_exeext for Libtool,
2514 # but it would be cool to find out if it's true. Does anybody
2515 # maintain Libtool? --akim.
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.
$ac_ext >&5
2526 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2527 See \`config.log' for more details." >&5
2528 echo "$as_me: error: C compiler cannot create executables
2529 See \`config.log' for more details." >&2;}
2530 { (exit 77); exit 77; }; }
2533 ac_exeext
=$ac_cv_exeext
2534 echo "$as_me:$LINENO: result: $ac_file" >&5
2535 echo "${ECHO_T}$ac_file" >&6
2537 # Check the compiler produces executables we can run. If not, either
2538 # the compiler is broken, or we cross compile.
2539 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2540 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2541 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2542 # If not cross compiling, check that we can run a simple program.
2543 if test "$cross_compiling" != yes; then
2544 if { ac_try
='./$ac_file'
2545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); }; }; then
2552 if test "$cross_compiling" = maybe
; then
2555 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2556 If you meant to cross compile, use \`--host'.
2557 See \`config.log' for more details." >&5
2558 echo "$as_me: error: cannot run C compiled programs.
2559 If you meant to cross compile, use \`--host'.
2560 See \`config.log' for more details." >&2;}
2561 { (exit 1); exit 1; }; }
2565 echo "$as_me:$LINENO: result: yes" >&5
2566 echo "${ECHO_T}yes" >&6
2568 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2569 ac_clean_files
=$ac_clean_files_save
2570 # Check the compiler produces executables we can run. If not, either
2571 # the compiler is broken, or we cross compile.
2572 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2573 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2574 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2575 echo "${ECHO_T}$cross_compiling" >&6
2577 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2578 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2580 (eval $ac_link) 2>&5
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); }; then
2584 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2585 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2586 # work properly (i.e., refer to `conftest.exe'), while it won't with
2588 for ac_file
in conftest.exe conftest conftest.
*; do
2589 test -f "$ac_file" ||
continue
2591 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2592 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2599 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2600 See \`config.log' for more details." >&5
2601 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2602 See \`config.log' for more details." >&2;}
2603 { (exit 1); exit 1; }; }
2606 rm -f conftest
$ac_cv_exeext
2607 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2608 echo "${ECHO_T}$ac_cv_exeext" >&6
2610 rm -f conftest.
$ac_ext
2611 EXEEXT
=$ac_cv_exeext
2614 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2615 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2616 if test "${ac_cv_objext+set}" = set; then
2617 echo $ECHO_N "(cached) $ECHO_C" >&6
2619 cat >conftest.
$ac_ext <<_ACEOF
2622 cat confdefs.h
>>conftest.
$ac_ext
2623 cat >>conftest.
$ac_ext <<_ACEOF
2624 /* end confdefs.h. */
2634 rm -f conftest.o conftest.obj
2635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2636 (eval $ac_compile) 2>&5
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }; then
2640 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2642 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2643 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2648 echo "$as_me: failed program was:" >&5
2649 sed 's/^/| /' conftest.
$ac_ext >&5
2651 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2652 See \`config.log' for more details." >&5
2653 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2654 See \`config.log' for more details." >&2;}
2655 { (exit 1); exit 1; }; }
2658 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2660 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2661 echo "${ECHO_T}$ac_cv_objext" >&6
2662 OBJEXT
=$ac_cv_objext
2664 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2665 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2666 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2667 echo $ECHO_N "(cached) $ECHO_C" >&6
2669 cat >conftest.
$ac_ext <<_ACEOF
2672 cat confdefs.h
>>conftest.
$ac_ext
2673 cat >>conftest.
$ac_ext <<_ACEOF
2674 /* end confdefs.h. */
2687 rm -f conftest.
$ac_objext
2688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2689 (eval $ac_compile) 2>conftest.er1
2691 grep -v '^ *+' conftest.er1
>conftest.err
2693 cat conftest.err
>&5
2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695 (exit $ac_status); } &&
2696 { ac_try
='test -z "$ac_c_werror_flag"
2697 || test ! -s conftest.err'
2698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702 (exit $ac_status); }; } &&
2703 { ac_try
='test -s conftest.$ac_objext'
2704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); }; }; then
2711 echo "$as_me: failed program was:" >&5
2712 sed 's/^/| /' conftest.
$ac_ext >&5
2716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2717 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2720 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2721 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2722 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2723 ac_test_CFLAGS
=${CFLAGS+set}
2724 ac_save_CFLAGS
=$CFLAGS
2726 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2727 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2728 if test "${ac_cv_prog_cc_g+set}" = set; then
2729 echo $ECHO_N "(cached) $ECHO_C" >&6
2731 cat >conftest.
$ac_ext <<_ACEOF
2734 cat confdefs.h
>>conftest.
$ac_ext
2735 cat >>conftest.
$ac_ext <<_ACEOF
2736 /* end confdefs.h. */
2746 rm -f conftest.
$ac_objext
2747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2748 (eval $ac_compile) 2>conftest.er1
2750 grep -v '^ *+' conftest.er1
>conftest.err
2752 cat conftest.err
>&5
2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754 (exit $ac_status); } &&
2755 { ac_try
='test -z "$ac_c_werror_flag"
2756 || test ! -s conftest.err'
2757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }; } &&
2762 { ac_try
='test -s conftest.$ac_objext'
2763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767 (exit $ac_status); }; }; then
2770 echo "$as_me: failed program was:" >&5
2771 sed 's/^/| /' conftest.
$ac_ext >&5
2775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2777 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2778 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2779 if test "$ac_test_CFLAGS" = set; then
2780 CFLAGS
=$ac_save_CFLAGS
2781 elif test $ac_cv_prog_cc_g = yes; then
2782 if test "$GCC" = yes; then
2788 if test "$GCC" = yes; then
2794 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2795 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2796 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2797 echo $ECHO_N "(cached) $ECHO_C" >&6
2799 ac_cv_prog_cc_stdc
=no
2801 cat >conftest.
$ac_ext <<_ACEOF
2804 cat confdefs.h
>>conftest.
$ac_ext
2805 cat >>conftest.
$ac_ext <<_ACEOF
2806 /* end confdefs.h. */
2809 #include <sys/types.h>
2810 #include <sys/stat.h>
2811 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2812 struct buf { int x; };
2813 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2814 static char *e (p, i)
2820 static char *f (char * (*g) (char **, int), char **p, ...)
2825 s = g (p, va_arg (v,int));
2830 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2831 function prototypes and stuff, but not '\xHH' hex character constants.
2832 These don't provoke an error unfortunately, instead are silently treated
2833 as 'x'. The following induces an error, until -std1 is added to get
2834 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2835 array size at least. It's necessary to write '\x00'==0 to get something
2836 that's true only with -std1. */
2837 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2839 int test (int i, double x);
2840 struct s1 {int (*f) (int a);};
2841 struct s2 {int (*f) (double a);};
2842 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2848 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2853 # Don't try gcc -ansi; that turns off useful extensions and
2854 # breaks some systems' header files.
2855 # AIX -qlanglvl=ansi
2856 # Ultrix and OSF/1 -std1
2857 # HP-UX 10.20 and later -Ae
2858 # HP-UX older versions -Aa -D_HPUX_SOURCE
2859 # SVR4 -Xc -D__EXTENSIONS__
2860 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2862 CC
="$ac_save_CC $ac_arg"
2863 rm -f conftest.
$ac_objext
2864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2865 (eval $ac_compile) 2>conftest.er1
2867 grep -v '^ *+' conftest.er1
>conftest.err
2869 cat conftest.err
>&5
2870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871 (exit $ac_status); } &&
2872 { ac_try
='test -z "$ac_c_werror_flag"
2873 || test ! -s conftest.err'
2874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878 (exit $ac_status); }; } &&
2879 { ac_try
='test -s conftest.$ac_objext'
2880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884 (exit $ac_status); }; }; then
2885 ac_cv_prog_cc_stdc
=$ac_arg
2888 echo "$as_me: failed program was:" >&5
2889 sed 's/^/| /' conftest.
$ac_ext >&5
2892 rm -f conftest.err conftest.
$ac_objext
2894 rm -f conftest.
$ac_ext conftest.
$ac_objext
2899 case "x$ac_cv_prog_cc_stdc" in
2901 echo "$as_me:$LINENO: result: none needed" >&5
2902 echo "${ECHO_T}none needed" >&6 ;;
2904 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2905 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2906 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2909 # Some people use a C++ compiler to compile C. Since we use `exit',
2910 # in C++ we need to declare it. In case someone uses the same compiler
2911 # for both compiling C and C++ we need to have the C++ compiler decide
2912 # the declaration of exit, since it's the most demanding environment.
2913 cat >conftest.
$ac_ext <<_ACEOF
2918 rm -f conftest.
$ac_objext
2919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2920 (eval $ac_compile) 2>conftest.er1
2922 grep -v '^ *+' conftest.er1
>conftest.err
2924 cat conftest.err
>&5
2925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926 (exit $ac_status); } &&
2927 { ac_try
='test -z "$ac_c_werror_flag"
2928 || test ! -s conftest.err'
2929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; } &&
2934 { ac_try
='test -s conftest.$ac_objext'
2935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }; }; then
2940 for ac_declaration
in \
2942 'extern "C" void std::exit (int) throw (); using std::exit;' \
2943 'extern "C" void std::exit (int); using std::exit;' \
2944 'extern "C" void exit (int) throw ();' \
2945 'extern "C" void exit (int);' \
2948 cat >conftest.
$ac_ext <<_ACEOF
2951 cat confdefs.h
>>conftest.
$ac_ext
2952 cat >>conftest.
$ac_ext <<_ACEOF
2953 /* end confdefs.h. */
2964 rm -f conftest.
$ac_objext
2965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2966 (eval $ac_compile) 2>conftest.er1
2968 grep -v '^ *+' conftest.er1
>conftest.err
2970 cat conftest.err
>&5
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); } &&
2973 { ac_try
='test -z "$ac_c_werror_flag"
2974 || test ! -s conftest.err'
2975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); }; } &&
2980 { ac_try
='test -s conftest.$ac_objext'
2981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); }; }; then
2988 echo "$as_me: failed program was:" >&5
2989 sed 's/^/| /' conftest.
$ac_ext >&5
2993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2994 cat >conftest.
$ac_ext <<_ACEOF
2997 cat confdefs.h
>>conftest.
$ac_ext
2998 cat >>conftest.
$ac_ext <<_ACEOF
2999 /* end confdefs.h. */
3009 rm -f conftest.
$ac_objext
3010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3011 (eval $ac_compile) 2>conftest.er1
3013 grep -v '^ *+' conftest.er1
>conftest.err
3015 cat conftest.err
>&5
3016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017 (exit $ac_status); } &&
3018 { ac_try
='test -z "$ac_c_werror_flag"
3019 || test ! -s conftest.err'
3020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024 (exit $ac_status); }; } &&
3025 { ac_try
='test -s conftest.$ac_objext'
3026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030 (exit $ac_status); }; }; then
3033 echo "$as_me: failed program was:" >&5
3034 sed 's/^/| /' conftest.
$ac_ext >&5
3037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3040 if test -n "$ac_declaration"; then
3041 echo '#ifdef __cplusplus' >>confdefs.h
3042 echo $ac_declaration >>confdefs.h
3043 echo '#endif' >>confdefs.h
3047 echo "$as_me: failed program was:" >&5
3048 sed 's/^/| /' conftest.
$ac_ext >&5
3051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3053 ac_cpp
='$CPP $CPPFLAGS'
3054 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3055 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3056 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3057 DEPDIR
="${am__leading_dot}deps"
3059 ac_config_commands
="$ac_config_commands depfiles"
3062 am_make
=${MAKE-make}
3063 cat > confinc
<< 'END'
3068 # If we don't find an include directive, just comment out the code.
3069 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3070 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3074 # First try GNU make style include.
3075 echo "include confinc" > confmf
3076 # We grep out `Entering directory' and `Leaving directory'
3077 # messages which can occur if `w' ends up in MAKEFLAGS.
3078 # In particular we don't look at `^make:' because GNU make might
3079 # be invoked under some other name (usually "gmake"), in which
3080 # case it prints its new name instead of `make'.
3081 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3086 # Now try BSD make style include.
3087 if test "$am__include" = "#"; then
3088 echo '.include "confinc"' > confmf
3089 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3090 am__include
=.include
3097 echo "$as_me:$LINENO: result: $_am_result" >&5
3098 echo "${ECHO_T}$_am_result" >&6
3099 rm -f confinc confmf
3101 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3102 if test "${enable_dependency_tracking+set}" = set; then
3103 enableval
="$enable_dependency_tracking"
3106 if test "x$enable_dependency_tracking" != xno
; then
3107 am_depcomp
="$ac_aux_dir/depcomp"
3112 if test "x$enable_dependency_tracking" != xno; then
3123 depcc
="$CC" am_compiler_list
=
3125 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3126 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3127 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3128 echo $ECHO_N "(cached) $ECHO_C" >&6
3130 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3131 # We make a subdir and do the tests there. Otherwise we can end up
3132 # making bogus files that we don't know about and never remove. For
3133 # instance it was reported that on HP-UX the gcc test will end up
3134 # making a dummy file named `D' -- because `-MD' means `put the output
3137 # Copy depcomp to subdir because otherwise we won't find it if we're
3138 # using a relative directory.
3139 cp "$am_depcomp" conftest.dir
3141 # We will build objects and dependencies in a subdirectory because
3142 # it helps to detect inapplicable dependency modes. For instance
3143 # both Tru64's cc and ICC support -MD to output dependencies as a
3144 # side effect of compilation, but ICC will put the dependencies in
3145 # the current directory while Tru64 will put them in the object
3149 am_cv_CC_dependencies_compiler_type
=none
3150 if test "$am_compiler_list" = ""; then
3151 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3153 for depmode
in $am_compiler_list; do
3154 # Setup a source with many dependencies, because some compilers
3155 # like to wrap large dependency lists on column 80 (with \), and
3156 # we should not choose a depcomp mode which is confused by this.
3158 # We need to recreate these files for each test, as the compiler may
3159 # overwrite some of them when testing with obscure command lines.
3160 # This happens at least with the AIX C compiler.
3162 for i
in 1 2 3 4 5 6; do
3163 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3164 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3165 # Solaris 8's {/usr,}/bin/sh.
3166 touch sub
/conftst
$i.h
3168 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3172 # after this tag, mechanisms are not by side-effect, so they'll
3173 # only be used when explicitly requested
3174 if test "x$enable_dependency_tracking" = xyes
; then
3182 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3183 # mode. It turns out that the SunPro C++ compiler does not properly
3184 # handle `-M -o', and we need to detect this.
3185 if depmode
=$depmode \
3186 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3187 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3188 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3189 >/dev
/null
2>conftest.err
&&
3190 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3191 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3192 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3193 # icc doesn't choke on unknown options, it will just issue warnings
3194 # or remarks (even with -Werror). So we grep stderr for any message
3195 # that says an option was ignored or not supported.
3196 # When given -MP, icc 7.0 and 7.1 complain thusly:
3197 # icc: Command line warning: ignoring option '-M'; no argument required
3198 # The diagnosis changed in icc 8.0:
3199 # icc: Command line remark: option '-MP' not supported
3200 if (grep 'ignoring option' conftest.err ||
3201 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3202 am_cv_CC_dependencies_compiler_type
=$depmode
3211 am_cv_CC_dependencies_compiler_type
=none
3215 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3216 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3217 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3222 test "x$enable_dependency_tracking" != xno \
3223 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3225 am__fastdepCC_FALSE
='#'
3227 am__fastdepCC_TRUE
='#'
3228 am__fastdepCC_FALSE
=
3233 ac_cpp
='$CXXCPP $CPPFLAGS'
3234 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3235 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3236 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3237 if test -n "$ac_tool_prefix"; then
3238 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3240 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3241 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3242 echo "$as_me:$LINENO: checking for $ac_word" >&5
3243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3244 if test "${ac_cv_prog_CXX+set}" = set; then
3245 echo $ECHO_N "(cached) $ECHO_C" >&6
3247 if test -n "$CXX"; then
3248 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3254 test -z "$as_dir" && as_dir
=.
3255 for ac_exec_ext
in '' $ac_executable_extensions; do
3256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3257 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3267 if test -n "$CXX"; then
3268 echo "$as_me:$LINENO: result: $CXX" >&5
3269 echo "${ECHO_T}$CXX" >&6
3271 echo "$as_me:$LINENO: result: no" >&5
3272 echo "${ECHO_T}no" >&6
3275 test -n "$CXX" && break
3278 if test -z "$CXX"; then
3280 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3282 # Extract the first word of "$ac_prog", so it can be a program name with args.
3283 set dummy
$ac_prog; ac_word
=$2
3284 echo "$as_me:$LINENO: checking for $ac_word" >&5
3285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3286 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3287 echo $ECHO_N "(cached) $ECHO_C" >&6
3289 if test -n "$ac_ct_CXX"; then
3290 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3296 test -z "$as_dir" && as_dir
=.
3297 for ac_exec_ext
in '' $ac_executable_extensions; do
3298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3299 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3308 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3309 if test -n "$ac_ct_CXX"; then
3310 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3311 echo "${ECHO_T}$ac_ct_CXX" >&6
3313 echo "$as_me:$LINENO: result: no" >&5
3314 echo "${ECHO_T}no" >&6
3317 test -n "$ac_ct_CXX" && break
3319 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3325 # Provide some information about the compiler.
3326 echo "$as_me:$LINENO:" \
3327 "checking for C++ compiler version" >&5
3328 ac_compiler
=`set X $ac_compile; echo $2`
3329 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3330 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 (exit $ac_status); }
3334 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3335 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338 (exit $ac_status); }
3339 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3340 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); }
3345 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3346 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3347 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3348 echo $ECHO_N "(cached) $ECHO_C" >&6
3350 cat >conftest.
$ac_ext <<_ACEOF
3353 cat confdefs.h
>>conftest.
$ac_ext
3354 cat >>conftest.
$ac_ext <<_ACEOF
3355 /* end confdefs.h. */
3368 rm -f conftest.
$ac_objext
3369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3370 (eval $ac_compile) 2>conftest.er1
3372 grep -v '^ *+' conftest.er1
>conftest.err
3374 cat conftest.err
>&5
3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376 (exit $ac_status); } &&
3377 { ac_try
='test -z "$ac_cxx_werror_flag"
3378 || test ! -s conftest.err'
3379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); }; } &&
3384 { ac_try
='test -s conftest.$ac_objext'
3385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); }; }; then
3392 echo "$as_me: failed program was:" >&5
3393 sed 's/^/| /' conftest.
$ac_ext >&5
3397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3398 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3401 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3402 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3403 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3404 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3405 ac_save_CXXFLAGS
=$CXXFLAGS
3407 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3408 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3409 if test "${ac_cv_prog_cxx_g+set}" = set; then
3410 echo $ECHO_N "(cached) $ECHO_C" >&6
3412 cat >conftest.
$ac_ext <<_ACEOF
3415 cat confdefs.h
>>conftest.
$ac_ext
3416 cat >>conftest.
$ac_ext <<_ACEOF
3417 /* end confdefs.h. */
3427 rm -f conftest.
$ac_objext
3428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3429 (eval $ac_compile) 2>conftest.er1
3431 grep -v '^ *+' conftest.er1
>conftest.err
3433 cat conftest.err
>&5
3434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435 (exit $ac_status); } &&
3436 { ac_try
='test -z "$ac_cxx_werror_flag"
3437 || test ! -s conftest.err'
3438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3442 (exit $ac_status); }; } &&
3443 { ac_try
='test -s conftest.$ac_objext'
3444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448 (exit $ac_status); }; }; then
3449 ac_cv_prog_cxx_g
=yes
3451 echo "$as_me: failed program was:" >&5
3452 sed 's/^/| /' conftest.
$ac_ext >&5
3456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3458 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3459 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3460 if test "$ac_test_CXXFLAGS" = set; then
3461 CXXFLAGS
=$ac_save_CXXFLAGS
3462 elif test $ac_cv_prog_cxx_g = yes; then
3463 if test "$GXX" = yes; then
3469 if test "$GXX" = yes; then
3475 for ac_declaration
in \
3477 'extern "C" void std::exit (int) throw (); using std::exit;' \
3478 'extern "C" void std::exit (int); using std::exit;' \
3479 'extern "C" void exit (int) throw ();' \
3480 'extern "C" void exit (int);' \
3483 cat >conftest.
$ac_ext <<_ACEOF
3486 cat confdefs.h
>>conftest.
$ac_ext
3487 cat >>conftest.
$ac_ext <<_ACEOF
3488 /* end confdefs.h. */
3499 rm -f conftest.
$ac_objext
3500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3501 (eval $ac_compile) 2>conftest.er1
3503 grep -v '^ *+' conftest.er1
>conftest.err
3505 cat conftest.err
>&5
3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507 (exit $ac_status); } &&
3508 { ac_try
='test -z "$ac_cxx_werror_flag"
3509 || test ! -s conftest.err'
3510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514 (exit $ac_status); }; } &&
3515 { ac_try
='test -s conftest.$ac_objext'
3516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); }; }; then
3523 echo "$as_me: failed program was:" >&5
3524 sed 's/^/| /' conftest.
$ac_ext >&5
3528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3529 cat >conftest.
$ac_ext <<_ACEOF
3532 cat confdefs.h
>>conftest.
$ac_ext
3533 cat >>conftest.
$ac_ext <<_ACEOF
3534 /* end confdefs.h. */
3544 rm -f conftest.
$ac_objext
3545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3546 (eval $ac_compile) 2>conftest.er1
3548 grep -v '^ *+' conftest.er1
>conftest.err
3550 cat conftest.err
>&5
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); } &&
3553 { ac_try
='test -z "$ac_cxx_werror_flag"
3554 || test ! -s conftest.err'
3555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); }; } &&
3560 { ac_try
='test -s conftest.$ac_objext'
3561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 (exit $ac_status); }; }; then
3568 echo "$as_me: failed program was:" >&5
3569 sed 's/^/| /' conftest.
$ac_ext >&5
3572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3575 if test -n "$ac_declaration"; then
3576 echo '#ifdef __cplusplus' >>confdefs.h
3577 echo $ac_declaration >>confdefs.h
3578 echo '#endif' >>confdefs.h
3582 ac_cpp
='$CPP $CPPFLAGS'
3583 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3584 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3585 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3587 depcc
="$CXX" am_compiler_list
=
3589 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3590 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3591 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3592 echo $ECHO_N "(cached) $ECHO_C" >&6
3594 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3595 # We make a subdir and do the tests there. Otherwise we can end up
3596 # making bogus files that we don't know about and never remove. For
3597 # instance it was reported that on HP-UX the gcc test will end up
3598 # making a dummy file named `D' -- because `-MD' means `put the output
3601 # Copy depcomp to subdir because otherwise we won't find it if we're
3602 # using a relative directory.
3603 cp "$am_depcomp" conftest.dir
3605 # We will build objects and dependencies in a subdirectory because
3606 # it helps to detect inapplicable dependency modes. For instance
3607 # both Tru64's cc and ICC support -MD to output dependencies as a
3608 # side effect of compilation, but ICC will put the dependencies in
3609 # the current directory while Tru64 will put them in the object
3613 am_cv_CXX_dependencies_compiler_type
=none
3614 if test "$am_compiler_list" = ""; then
3615 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3617 for depmode
in $am_compiler_list; do
3618 # Setup a source with many dependencies, because some compilers
3619 # like to wrap large dependency lists on column 80 (with \), and
3620 # we should not choose a depcomp mode which is confused by this.
3622 # We need to recreate these files for each test, as the compiler may
3623 # overwrite some of them when testing with obscure command lines.
3624 # This happens at least with the AIX C compiler.
3626 for i
in 1 2 3 4 5 6; do
3627 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3628 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3629 # Solaris 8's {/usr,}/bin/sh.
3630 touch sub
/conftst
$i.h
3632 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3636 # after this tag, mechanisms are not by side-effect, so they'll
3637 # only be used when explicitly requested
3638 if test "x$enable_dependency_tracking" = xyes
; then
3646 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3647 # mode. It turns out that the SunPro C++ compiler does not properly
3648 # handle `-M -o', and we need to detect this.
3649 if depmode
=$depmode \
3650 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3651 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3652 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3653 >/dev
/null
2>conftest.err
&&
3654 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3655 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3656 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3657 # icc doesn't choke on unknown options, it will just issue warnings
3658 # or remarks (even with -Werror). So we grep stderr for any message
3659 # that says an option was ignored or not supported.
3660 # When given -MP, icc 7.0 and 7.1 complain thusly:
3661 # icc: Command line warning: ignoring option '-M'; no argument required
3662 # The diagnosis changed in icc 8.0:
3663 # icc: Command line remark: option '-MP' not supported
3664 if (grep 'ignoring option' conftest.err ||
3665 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3666 am_cv_CXX_dependencies_compiler_type
=$depmode
3675 am_cv_CXX_dependencies_compiler_type
=none
3679 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3680 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3681 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3686 test "x$enable_dependency_tracking" != xno \
3687 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3688 am__fastdepCXX_TRUE
=
3689 am__fastdepCXX_FALSE
='#'
3691 am__fastdepCXX_TRUE
='#'
3692 am__fastdepCXX_FALSE
=
3698 if test "x$CC" != xcc
; then
3699 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3700 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
3702 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3703 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
3705 set dummy
$CC; ac_cc
=`echo $2 |
3706 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3707 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
3708 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 cat >conftest.
$ac_ext <<_ACEOF
3713 cat confdefs.h
>>conftest.
$ac_ext
3714 cat >>conftest.
$ac_ext <<_ACEOF
3715 /* end confdefs.h. */
3725 # Make sure it works both with $CC and with simple cc.
3726 # We do the test twice because some compilers refuse to overwrite an
3727 # existing .o file with -o, though they will create one.
3728 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3729 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733 (exit $ac_status); } &&
3734 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738 (exit $ac_status); };
3740 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
3741 if test "x$CC" != xcc
; then
3742 # Test first that cc exists at all.
3743 if { ac_try
='cc -c conftest.$ac_ext >&5'
3744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); }; }; then
3749 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3750 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754 (exit $ac_status); } &&
3755 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3759 (exit $ac_status); };
3764 # cc exists but doesn't like -o.
3765 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
3770 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
3775 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
3776 echo "$as_me:$LINENO: result: yes" >&5
3777 echo "${ECHO_T}yes" >&6
3779 echo "$as_me:$LINENO: result: no" >&5
3780 echo "${ECHO_T}no" >&6
3782 cat >>confdefs.h
<<\_ACEOF
3783 #define NO_MINUS_C_MINUS_O 1
3788 # FIXME: we rely on the cache variable name because
3789 # there is no other way.
3791 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3792 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3793 # Losing compiler, so override with the script.
3794 # FIXME: It is wrong to rewrite CC.
3795 # But if we don't then we get into trouble of one sort or another.
3796 # A longer-term fix would be to have automake use am__CC in this case,
3797 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3798 CC
="$am_aux_dir/compile $CC"
3805 # Newer automakes demand CCAS and CCASFLAGS.
3807 : ${CCASFLAGS='$(CFLAGS)'}
3811 if test -n "$ac_tool_prefix"; then
3812 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3813 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3814 echo "$as_me:$LINENO: checking for $ac_word" >&5
3815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3816 if test "${ac_cv_prog_AS+set}" = set; then
3817 echo $ECHO_N "(cached) $ECHO_C" >&6
3819 if test -n "$AS"; then
3820 ac_cv_prog_AS
="$AS" # Let the user override the test.
3822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3826 test -z "$as_dir" && as_dir
=.
3827 for ac_exec_ext
in '' $ac_executable_extensions; do
3828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3829 ac_cv_prog_AS
="${ac_tool_prefix}as"
3830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3839 if test -n "$AS"; then
3840 echo "$as_me:$LINENO: result: $AS" >&5
3841 echo "${ECHO_T}$AS" >&6
3843 echo "$as_me:$LINENO: result: no" >&5
3844 echo "${ECHO_T}no" >&6
3848 if test -z "$ac_cv_prog_AS"; then
3850 # Extract the first word of "as", so it can be a program name with args.
3851 set dummy as
; ac_word
=$2
3852 echo "$as_me:$LINENO: checking for $ac_word" >&5
3853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3854 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3855 echo $ECHO_N "(cached) $ECHO_C" >&6
3857 if test -n "$ac_ct_AS"; then
3858 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3864 test -z "$as_dir" && as_dir
=.
3865 for ac_exec_ext
in '' $ac_executable_extensions; do
3866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3867 ac_cv_prog_ac_ct_AS
="as"
3868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3876 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3877 if test -n "$ac_ct_AS"; then
3878 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3879 echo "${ECHO_T}$ac_ct_AS" >&6
3881 echo "$as_me:$LINENO: result: no" >&5
3882 echo "${ECHO_T}no" >&6
3890 if test -n "$ac_tool_prefix"; then
3891 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3892 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3893 echo "$as_me:$LINENO: checking for $ac_word" >&5
3894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3895 if test "${ac_cv_prog_AR+set}" = set; then
3896 echo $ECHO_N "(cached) $ECHO_C" >&6
3898 if test -n "$AR"; then
3899 ac_cv_prog_AR
="$AR" # Let the user override the test.
3901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3905 test -z "$as_dir" && as_dir
=.
3906 for ac_exec_ext
in '' $ac_executable_extensions; do
3907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3908 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3918 if test -n "$AR"; then
3919 echo "$as_me:$LINENO: result: $AR" >&5
3920 echo "${ECHO_T}$AR" >&6
3922 echo "$as_me:$LINENO: result: no" >&5
3923 echo "${ECHO_T}no" >&6
3927 if test -z "$ac_cv_prog_AR"; then
3929 # Extract the first word of "ar", so it can be a program name with args.
3930 set dummy
ar; ac_word
=$2
3931 echo "$as_me:$LINENO: checking for $ac_word" >&5
3932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3933 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3934 echo $ECHO_N "(cached) $ECHO_C" >&6
3936 if test -n "$ac_ct_AR"; then
3937 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3943 test -z "$as_dir" && as_dir
=.
3944 for ac_exec_ext
in '' $ac_executable_extensions; do
3945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3946 ac_cv_prog_ac_ct_AR
="ar"
3947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3955 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3956 if test -n "$ac_ct_AR"; then
3957 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3958 echo "${ECHO_T}$ac_ct_AR" >&6
3960 echo "$as_me:$LINENO: result: no" >&5
3961 echo "${ECHO_T}no" >&6
3969 if test -n "$ac_tool_prefix"; then
3970 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3971 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3972 echo "$as_me:$LINENO: checking for $ac_word" >&5
3973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3974 if test "${ac_cv_prog_RANLIB+set}" = set; then
3975 echo $ECHO_N "(cached) $ECHO_C" >&6
3977 if test -n "$RANLIB"; then
3978 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3984 test -z "$as_dir" && as_dir
=.
3985 for ac_exec_ext
in '' $ac_executable_extensions; do
3986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3987 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3996 RANLIB
=$ac_cv_prog_RANLIB
3997 if test -n "$RANLIB"; then
3998 echo "$as_me:$LINENO: result: $RANLIB" >&5
3999 echo "${ECHO_T}$RANLIB" >&6
4001 echo "$as_me:$LINENO: result: no" >&5
4002 echo "${ECHO_T}no" >&6
4006 if test -z "$ac_cv_prog_RANLIB"; then
4007 ac_ct_RANLIB
=$RANLIB
4008 # Extract the first word of "ranlib", so it can be a program name with args.
4009 set dummy ranlib
; ac_word
=$2
4010 echo "$as_me:$LINENO: checking for $ac_word" >&5
4011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4012 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4013 echo $ECHO_N "(cached) $ECHO_C" >&6
4015 if test -n "$ac_ct_RANLIB"; then
4016 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4022 test -z "$as_dir" && as_dir
=.
4023 for ac_exec_ext
in '' $ac_executable_extensions; do
4024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4025 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4032 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4035 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4036 if test -n "$ac_ct_RANLIB"; then
4037 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4038 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4040 echo "$as_me:$LINENO: result: no" >&5
4041 echo "${ECHO_T}no" >&6
4044 RANLIB
=$ac_ct_RANLIB
4046 RANLIB
="$ac_cv_prog_RANLIB"
4050 # Find a good install program. We prefer a C program (faster),
4051 # so one script is as good as another. But avoid the broken or
4052 # incompatible versions:
4053 # SysV /etc/install, /usr/sbin/install
4054 # SunOS /usr/etc/install
4055 # IRIX /sbin/install
4057 # AmigaOS /C/install, which installs bootblocks on floppy discs
4058 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4059 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4060 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4061 # OS/2's system install, which has a completely different semantic
4062 # ./install, which can be erroneously created by make from ./install.sh.
4063 # Reject install programs that cannot install multiple files.
4064 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4065 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4066 if test -z "$INSTALL"; then
4067 if test "${ac_cv_path_install+set}" = set; then
4068 echo $ECHO_N "(cached) $ECHO_C" >&6
4070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4074 test -z "$as_dir" && as_dir
=.
4075 # Account for people who put trailing slashes in PATH elements.
4077 .
/ | .
// |
/cC
/* | \
4078 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4079 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4082 # OSF1 and SCO ODT 3.0 have their own names for install.
4083 # Don't use installbsd from OSF since it installs stuff as root
4085 for ac_prog
in ginstall scoinst
install; do
4086 for ac_exec_ext
in '' $ac_executable_extensions; do
4087 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4088 if test $ac_prog = install &&
4089 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4090 # AIX install. It has an incompatible calling convention.
4092 elif test $ac_prog = install &&
4093 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4094 # program-specific install script used by HP pwplus--don't use.
4097 rm -rf conftest.one conftest.two conftest.dir
4098 echo one
> conftest.one
4099 echo two
> conftest.two
4101 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4102 test -s conftest.one
&& test -s conftest.two
&&
4103 test -s conftest.dir
/conftest.one
&&
4104 test -s conftest.dir
/conftest.two
4106 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4117 rm -rf conftest.one conftest.two conftest.dir
4120 if test "${ac_cv_path_install+set}" = set; then
4121 INSTALL
=$ac_cv_path_install
4123 # As a last resort, use the slow shell script. Don't cache a
4124 # value for INSTALL within a source directory, because that will
4125 # break other packages using the cache if that directory is
4126 # removed, or if the value is a relative name.
4127 INSTALL
=$ac_install_sh
4130 echo "$as_me:$LINENO: result: $INSTALL" >&5
4131 echo "${ECHO_T}$INSTALL" >&6
4133 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4134 # It thinks the first close brace ends the variable substitution.
4135 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4137 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4139 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4142 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4143 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4144 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4145 if test "${enable_maintainer_mode+set}" = set; then
4146 enableval
="$enable_maintainer_mode"
4147 USE_MAINTAINER_MODE
=$enableval
4149 USE_MAINTAINER_MODE
=no
4151 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4152 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4155 if test $USE_MAINTAINER_MODE = yes; then
4156 MAINTAINER_MODE_TRUE
=
4157 MAINTAINER_MODE_FALSE
='#'
4159 MAINTAINER_MODE_TRUE
='#'
4160 MAINTAINER_MODE_FALSE
=
4163 MAINT
=$MAINTAINER_MODE_TRUE
4167 .
${srcdir}/configure.
host
4169 case ${gc_basedir} in
4170 /* | A-Za-z
:/\\*) gc_flagbasedir
=${gc_basedir} ;;
4171 *) gc_flagbasedir
='$(top_builddir)/'${gc_basedir} ;;
4174 gc_cflags
="${gc_cflags} -Iinclude -I"'$(top_builddir)'"/./targ-include -I${gc_flagbasedir}/libc/include"
4177 gc_cflags
="${gc_cflags} -I${gc_flagbasedir}/../winsup/include"
4182 GC_CFLAGS
=${gc_cflags}
4187 macro_version
='2.1a'
4188 macro_revision
='1.2435'
4201 ltmain
="$ac_aux_dir/ltmain.sh"
4211 # Check whether --enable-shared or --disable-shared was given.
4212 if test "${enable_shared+set}" = set; then
4213 enableval
="$enable_shared"
4214 p
=${PACKAGE-default}
4216 yes) enable_shared
=yes ;;
4217 no
) enable_shared
=no
;;
4220 # Look at the argument we got. We use all the common list separators.
4221 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4222 for pkg
in $enableval; do
4224 if test "X$pkg" = "X$p"; then
4242 # Check whether --enable-static or --disable-static was given.
4243 if test "${enable_static+set}" = set; then
4244 enableval
="$enable_static"
4245 p
=${PACKAGE-default}
4247 yes) enable_static
=yes ;;
4248 no
) enable_static
=no
;;
4251 # Look at the argument we got. We use all the common list separators.
4252 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4253 for pkg
in $enableval; do
4255 if test "X$pkg" = "X$p"; then
4274 # Check whether --with-pic or --without-pic was given.
4275 if test "${with_pic+set}" = set; then
4282 test -z "$pic_mode" && pic_mode
=default
4290 # Check whether --enable-fast-install or --disable-fast-install was given.
4291 if test "${enable_fast_install+set}" = set; then
4292 enableval
="$enable_fast_install"
4293 p
=${PACKAGE-default}
4295 yes) enable_fast_install
=yes ;;
4296 no
) enable_fast_install
=no
;;
4298 enable_fast_install
=no
4299 # Look at the argument we got. We use all the common list separators.
4300 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4301 for pkg
in $enableval; do
4303 if test "X$pkg" = "X$p"; then
4304 enable_fast_install
=yes
4311 enable_fast_install
=yes
4321 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4322 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4323 if test "${lt_cv_path_SED+set}" = set; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4326 # Loop through the user's path and test for sed and gsed.
4327 # Then use that list of sed's as ones to test for truncation.
4328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4332 test -z "$as_dir" && as_dir
=.
4333 for lt_ac_prog
in sed gsed
; do
4334 for ac_exec_ext
in '' $ac_executable_extensions; do
4335 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4336 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4344 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4345 # along with /bin/sed that truncates output.
4346 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4347 test ! -f $lt_ac_sed && continue
4348 cat /dev
/null
> conftest.
in
4350 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4351 # Check for GNU sed and select it if it is found.
4352 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4353 lt_cv_path_SED
=$lt_ac_sed
4357 cat conftest.
in conftest.
in >conftest.tmp
4358 mv conftest.tmp conftest.
in
4359 cp conftest.
in conftest.
nl
4361 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4362 cmp -s conftest.out conftest.
nl ||
break
4363 # 10000 chars as input seems more than enough
4364 test $lt_ac_count -gt 10 && break
4365 lt_ac_count
=`expr $lt_ac_count + 1`
4366 if test $lt_ac_count -gt $lt_ac_max; then
4367 lt_ac_max
=$lt_ac_count
4368 lt_cv_path_SED
=$lt_ac_sed
4377 echo "$as_me:$LINENO: result: $SED" >&5
4378 echo "${ECHO_T}$SED" >&6
4380 test -z "$SED" && SED
=sed
4381 Xsed
="$SED -e 1s/^X//"
4393 echo "$as_me:$LINENO: checking for egrep" >&5
4394 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4395 if test "${ac_cv_prog_egrep+set}" = set; then
4396 echo $ECHO_N "(cached) $ECHO_C" >&6
4398 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4399 then ac_cv_prog_egrep
='grep -E'
4400 else ac_cv_prog_egrep
='egrep'
4403 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4404 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4405 EGREP
=$ac_cv_prog_egrep
4408 echo "$as_me:$LINENO: checking for fgrep" >&5
4409 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4410 if test "${ac_cv_prog_fgrep+set}" = set; then
4411 echo $ECHO_N "(cached) $ECHO_C" >&6
4413 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
4414 then ac_cv_prog_fgrep
='grep -F'
4415 else ac_cv_prog_fgrep
='fgrep'
4418 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4419 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4420 FGREP
=$ac_cv_prog_fgrep
4423 test -z "$GREP" && GREP
=grep
4443 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4444 if test "${with_gnu_ld+set}" = set; then
4445 withval
="$with_gnu_ld"
4446 test "$withval" = no || with_gnu_ld
=yes
4451 if test "$GCC" = yes; then
4452 # Check if gcc -print-prog-name=ld gives a path.
4453 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4454 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4457 # gcc leaves a trailing carriage return which upsets mingw
4458 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4460 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4463 # Accept absolute paths.
4465 re_direlt
='/[^/][^/]*/\.\./'
4466 # Canonicalize the pathname of ld
4467 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4468 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4469 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4471 test -z "$LD" && LD
="$ac_prog"
4474 # If it fails, then pretend we aren't using GCC.
4478 # If it is relative, then search for the first ld in PATH.
4482 elif test "$with_gnu_ld" = yes; then
4483 echo "$as_me:$LINENO: checking for GNU ld" >&5
4484 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4486 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4487 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4489 if test "${lt_cv_path_LD+set}" = set; then
4490 echo $ECHO_N "(cached) $ECHO_C" >&6
4492 if test -z "$LD"; then
4493 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4494 for ac_dir
in $PATH; do
4496 test -z "$ac_dir" && ac_dir
=.
4497 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4498 lt_cv_path_LD
="$ac_dir/$ac_prog"
4499 # Check to see if the program is GNU ld. I'd rather use --version,
4500 # but apparently some variants of GNU ld only accept -v.
4501 # Break only if it was the GNU/non-GNU ld that we prefer.
4502 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4503 *GNU
* |
*'with BFD'*)
4504 test "$with_gnu_ld" != no
&& break
4507 test "$with_gnu_ld" != yes && break
4514 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4519 if test -n "$LD"; then
4520 echo "$as_me:$LINENO: result: $LD" >&5
4521 echo "${ECHO_T}$LD" >&6
4523 echo "$as_me:$LINENO: result: no" >&5
4524 echo "${ECHO_T}no" >&6
4526 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4527 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4528 { (exit 1); exit 1; }; }
4529 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4530 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4531 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4532 echo $ECHO_N "(cached) $ECHO_C" >&6
4534 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4535 case `$LD -v 2>&1 </dev/null` in
4536 *GNU
* |
*'with BFD'*)
4537 lt_cv_prog_gnu_ld
=yes
4540 lt_cv_prog_gnu_ld
=no
4544 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4545 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4546 with_gnu_ld
=$lt_cv_prog_gnu_ld
4557 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4558 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4559 if test "${lt_cv_path_NM+set}" = set; then
4560 echo $ECHO_N "(cached) $ECHO_C" >&6
4562 if test -n "$NM"; then
4563 # Let the user override the test.
4566 lt_nm_to_check
="${ac_tool_prefix}nm"
4567 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4568 lt_nm_to_check
="$lt_nm_to_check nm"
4570 for lt_tmp_nm
in $lt_nm_to_check; do
4571 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4572 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4574 test -z "$ac_dir" && ac_dir
=.
4575 tmp_nm
="$ac_dir/$lt_tmp_nm"
4576 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4577 # Check to see if the nm accepts a BSD-compat flag.
4578 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4579 # nm: unknown option "B" ignored
4580 # Tru64's nm complains that /dev/null is an invalid object file
4581 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4582 */dev
/null
* |
*'Invalid file or object type'*)
4583 lt_cv_path_NM
="$tmp_nm -B"
4587 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4589 lt_cv_path_NM
="$tmp_nm -p"
4593 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4594 continue # so that we can try to find one that supports BSD flags
4603 : ${lt_cv_path_NM=no}
4606 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4607 echo "${ECHO_T}$lt_cv_path_NM" >&6
4608 if test "$lt_cv_path_NM" != "no"; then
4611 # Didn't find any BSD compatible name lister, look for dumpbin.
4612 if test -n "$ac_tool_prefix"; then
4613 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4615 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4616 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4617 echo "$as_me:$LINENO: checking for $ac_word" >&5
4618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4619 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4620 echo $ECHO_N "(cached) $ECHO_C" >&6
4622 if test -n "$DUMPBIN"; then
4623 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4629 test -z "$as_dir" && as_dir
=.
4630 for ac_exec_ext
in '' $ac_executable_extensions; do
4631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4632 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4641 DUMPBIN
=$ac_cv_prog_DUMPBIN
4642 if test -n "$DUMPBIN"; then
4643 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4644 echo "${ECHO_T}$DUMPBIN" >&6
4646 echo "$as_me:$LINENO: result: no" >&5
4647 echo "${ECHO_T}no" >&6
4650 test -n "$DUMPBIN" && break
4653 if test -z "$DUMPBIN"; then
4654 ac_ct_DUMPBIN
=$DUMPBIN
4655 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4657 # Extract the first word of "$ac_prog", so it can be a program name with args.
4658 set dummy
$ac_prog; ac_word
=$2
4659 echo "$as_me:$LINENO: checking for $ac_word" >&5
4660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4661 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4662 echo $ECHO_N "(cached) $ECHO_C" >&6
4664 if test -n "$ac_ct_DUMPBIN"; then
4665 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4671 test -z "$as_dir" && as_dir
=.
4672 for ac_exec_ext
in '' $ac_executable_extensions; do
4673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4674 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4683 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4684 if test -n "$ac_ct_DUMPBIN"; then
4685 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4686 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4688 echo "$as_me:$LINENO: result: no" >&5
4689 echo "${ECHO_T}no" >&6
4692 test -n "$ac_ct_DUMPBIN" && break
4694 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
4696 DUMPBIN
=$ac_ct_DUMPBIN
4700 if test "$DUMPBIN" != ":"; then
4704 test -z "$NM" && NM
=nm
4711 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4712 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4713 if test "${lt_cv_nm_interface+set}" = set; then
4714 echo $ECHO_N "(cached) $ECHO_C" >&6
4716 lt_cv_nm_interface
="BSD nm"
4717 echo "int some_variable = 0;" > conftest.
$ac_ext
4718 (eval echo "\"\$as_me:4718: $ac_compile\"" >&5)
4719 (eval "$ac_compile" 2>conftest.err
)
4720 cat conftest.err
>&5
4721 (eval echo "\"\$as_me:4721: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4722 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4723 cat conftest.err
>&5
4724 (eval echo "\"\$as_me:4724: output\"" >&5)
4725 cat conftest.out
>&5
4726 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4727 lt_cv_nm_interface
="MS dumpbin"
4731 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4732 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4734 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4735 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4737 if test "$LN_S" = "ln -s"; then
4738 echo "$as_me:$LINENO: result: yes" >&5
4739 echo "${ECHO_T}yes" >&6
4741 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4742 echo "${ECHO_T}no, using $LN_S" >&6
4745 # find the maximum length of command line arguments
4746 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4747 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4748 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4749 echo $ECHO_N "(cached) $ECHO_C" >&6
4756 # On DJGPP, this test can blow up pretty badly due to problems in libc
4757 # (any single argument exceeding 2000 bytes causes a buffer overrun
4758 # during glob expansion). Even if it were fixed, the result of this
4759 # check would be larger than it should be.
4760 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4764 # Under GNU Hurd, this test is not required because there is
4765 # no limit to the length of command line arguments.
4766 # Libtool will interpret -1 as no limit whatsoever
4767 lt_cv_sys_max_cmd_len
=-1;
4771 # On Win9x/ME, this test blows up -- it succeeds, but takes
4772 # about 5 minutes as the teststring grows exponentially.
4773 # Worse, since 9x/ME are not pre-emptively multitasking,
4774 # you end up with a "frozen" computer, even though with patience
4775 # the test eventually succeeds (with a max line length of 256k).
4776 # Instead, let's just punt: use the minimum linelength reported by
4777 # all of the supported platforms: 8192 (on NT/2K/XP).
4778 lt_cv_sys_max_cmd_len
=8192;
4782 # On AmigaOS with pdksh, this test takes hours, literally.
4783 # So we just punt and use a minimum line length of 8192.
4784 lt_cv_sys_max_cmd_len
=8192;
4787 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4788 # This has been around since 386BSD, at least. Likely further.
4789 if test -x /sbin
/sysctl
; then
4790 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4791 elif test -x /usr
/sbin
/sysctl
; then
4792 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4794 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4796 # And add a safety zone
4797 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4798 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4802 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4803 lt_cv_sys_max_cmd_len
=196608
4807 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4808 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4809 # nice to cause kernel panics so lets avoid the loop below.
4810 # First set a reasonable default.
4811 lt_cv_sys_max_cmd_len
=16384
4813 if test -x /sbin
/sysconfig
; then
4814 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4815 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4820 lt_cv_sys_max_cmd_len
=102400
4822 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4823 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4824 if test -n "$kargmax"; then
4825 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4827 lt_cv_sys_max_cmd_len
=32768
4831 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
4832 if test -n $lt_cv_sys_max_cmd_len; then
4833 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4834 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4836 # Make teststring a little bigger before we do anything with it.
4837 # a 1K string should be a reasonable start.
4838 for i
in 1 2 3 4 5 6 7 8 ; do
4839 teststring
=$teststring$teststring
4841 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4842 # If test is not a shell built-in, we'll probably end up computing a
4843 # maximum length that is only half of the actual maximum length, but
4845 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4846 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4847 test $i != 17 # 1/2 MB should be enough
4850 teststring
=$teststring$teststring
4852 # Only check the string length outside the loop.
4853 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4855 # Add a significant safety factor because C++ compilers can tack on
4856 # massive amounts of additional arguments before passing them to the
4857 # linker. It appears as though 1/2 is a usable value.
4858 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4865 if test -n $lt_cv_sys_max_cmd_len ; then
4866 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4867 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4869 echo "$as_me:$LINENO: result: none" >&5
4870 echo "${ECHO_T}none" >&6
4872 max_cmd_len
=$lt_cv_sys_max_cmd_len
4884 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4885 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4886 # Try some XSI features
4889 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4890 = c,a/b,, ) >/dev/null 2>&1 \
4892 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4893 echo "${ECHO_T}$xsi_shell" >&6
4896 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4897 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
4899 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4901 && lt_shell_append=yes
4902 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4903 echo "${ECHO_T}$lt_shell_append" >&6
4906 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4916 # test EBCDIC or ASCII
4917 case `echo X|tr X '\101'` in
4918 A) # ASCII based system
4919 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4920 lt_SP2NL='tr \040 \012'
4921 lt_NL2SP='tr \015\012 \040\040'
4923 *) # EBCDIC based system
4924 lt_SP2NL='tr \100 \n'
4925 lt_NL2SP='tr \r\n \100\100'
4937 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4938 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
4939 if test "${lt_cv_ld_reload_flag+set}" = set; then
4940 echo $ECHO_N "(cached
) $ECHO_C" >&6
4942 lt_cv_ld_reload_flag='-r'
4944 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4945 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4946 reload_flag=$lt_cv_ld_reload_flag
4947 case $reload_flag in
4949 *) reload_flag=" $reload_flag" ;;
4951 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4954 if test "$GCC" = yes; then
4955 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4957 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4971 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4972 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4973 if test "${lt_cv_deplibs_check_method+set}" = set; then
4974 echo $ECHO_N "(cached
) $ECHO_C" >&6
4976 lt_cv_file_magic_cmd='$MAGIC_CMD'
4977 lt_cv_file_magic_test_file=
4978 lt_cv_deplibs_check_method='unknown'
4979 # Need to set the preceding variable on all platforms that support
4980 # interlibrary dependencies.
4981 # 'none' -- dependencies not supported.
4982 # `unknown' -- same as none, but documents that we really don't know.
4983 # 'pass_all' -- all dependencies passed with no checks.
4984 # 'test_compile' -- check by making test program.
4985 # 'file_magic [[regex]]' -- check by looking for files in library path
4986 # which responds to the $file_magic_cmd with a given extended regex.
4987 # If you have `file' or equivalent on your system and you're not sure
4988 # whether `pass_all' will *always* work, you probably want this one.
4992 lt_cv_deplibs_check_method=pass_all
4996 lt_cv_deplibs_check_method=pass_all
5000 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5001 lt_cv_file_magic_cmd='/usr/bin/file -L'
5002 lt_cv_file_magic_test_file=/shlib/libc.so
5006 # func_win32_libid is a shell function defined in ltmain.sh
5007 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5008 lt_cv_file_magic_cmd='func_win32_libid'
5012 # Base MSYS/MinGW do not provide the 'file' command needed by
5013 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5014 # unless we find 'file', for example because we are cross-compiling.
5015 if ( file / ) >/dev/null 2>&1; then
5016 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5017 lt_cv_file_magic_cmd='func_win32_libid'
5019 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5020 lt_cv_file_magic_cmd='$OBJDUMP -f'
5024 darwin* | rhapsody*)
5025 lt_cv_deplibs_check_method=pass_all
5028 freebsd* | dragonfly*)
5029 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5032 # Not sure whether the presence of OpenBSD here was a mistake.
5033 # Let's accept both of them until this is cleared up.
5034 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5035 lt_cv_file_magic_cmd=/usr/bin/file
5036 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5040 lt_cv_deplibs_check_method=pass_all
5045 lt_cv_deplibs_check_method=pass_all
5048 hpux10.20* | hpux11*)
5049 lt_cv_file_magic_cmd=/usr/bin/file
5052 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5053 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5056 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]'
5057 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5060 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5061 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5067 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5068 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5071 irix5* | irix6* | nonstopux*)
5073 *-32|*"-32 ") libmagic=32-bit;;
5074 *-n32|*"-n32 ") libmagic=N32;;
5075 *-64|*"-64 ") libmagic=64-bit;;
5076 *) libmagic=never-match;;
5078 lt_cv_deplibs_check_method=pass_all
5081 # This must be Linux ELF.
5082 linux* | k*bsd*-gnu)
5083 lt_cv_deplibs_check_method=pass_all
5087 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5088 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5090 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5095 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5096 lt_cv_file_magic_cmd=/usr/bin/file
5097 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5101 lt_cv_deplibs_check_method=pass_all
5105 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5106 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5108 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5112 osf3* | osf4* | osf5*)
5113 lt_cv_deplibs_check_method=pass_all
5117 lt_cv_deplibs_check_method=pass_all
5121 lt_cv_deplibs_check_method=pass_all
5124 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5125 lt_cv_deplibs_check_method=pass_all
5129 case $host_vendor in
5131 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]'
5132 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5135 lt_cv_deplibs_check_method=pass_all
5138 lt_cv_file_magic_cmd='/bin/file'
5139 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5142 lt_cv_file_magic_cmd='/bin/file'
5143 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5144 lt_cv_file_magic_test_file=/lib/libc.so
5147 lt_cv_deplibs_check_method=pass_all
5150 lt_cv_deplibs_check_method=pass_all
5156 lt_cv_deplibs_check_method=pass_all
5161 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5162 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5163 file_magic_cmd=$lt_cv_file_magic_cmd
5164 deplibs_check_method=$lt_cv_deplibs_check_method
5165 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5178 if test -n "$ac_tool_prefix"; then
5179 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5180 set dummy ${ac_tool_prefix}ar; ac_word=$2
5181 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5182 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5183 if test "${ac_cv_prog_AR+set}" = set; then
5184 echo $ECHO_N "(cached
) $ECHO_C" >&6
5186 if test -n "$AR"; then
5187 ac_cv_prog_AR="$AR" # Let the user override the test.
5189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5193 test -z "$as_dir" && as_dir=.
5194 for ac_exec_ext in '' $ac_executable_extensions; do
5195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5196 ac_cv_prog_AR="${ac_tool_prefix}ar"
5197 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5206 if test -n "$AR"; then
5207 echo "$as_me:$LINENO: result
: $AR" >&5
5208 echo "${ECHO_T}$AR" >&6
5210 echo "$as_me:$LINENO: result
: no
" >&5
5211 echo "${ECHO_T}no
" >&6
5215 if test -z "$ac_cv_prog_AR"; then
5217 # Extract the first word of "ar", so it can be a program name with args.
5218 set dummy ar; ac_word=$2
5219 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5220 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5221 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5222 echo $ECHO_N "(cached
) $ECHO_C" >&6
5224 if test -n "$ac_ct_AR"; then
5225 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5231 test -z "$as_dir" && as_dir=.
5232 for ac_exec_ext in '' $ac_executable_extensions; do
5233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5234 ac_cv_prog_ac_ct_AR="ar"
5235 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5241 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
5244 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5245 if test -n "$ac_ct_AR"; then
5246 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5247 echo "${ECHO_T}$ac_ct_AR" >&6
5249 echo "$as_me:$LINENO: result
: no
" >&5
5250 echo "${ECHO_T}no
" >&6
5258 test -z "$AR" && AR=ar
5259 test -z "$AR_FLAGS" && AR_FLAGS=cru
5271 if test -n "$ac_tool_prefix"; then
5272 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5273 set dummy ${ac_tool_prefix}strip; ac_word=$2
5274 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5275 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5276 if test "${ac_cv_prog_STRIP+set}" = set; then
5277 echo $ECHO_N "(cached
) $ECHO_C" >&6
5279 if test -n "$STRIP"; then
5280 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5286 test -z "$as_dir" && as_dir=.
5287 for ac_exec_ext in '' $ac_executable_extensions; do
5288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5289 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5290 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5298 STRIP=$ac_cv_prog_STRIP
5299 if test -n "$STRIP"; then
5300 echo "$as_me:$LINENO: result
: $STRIP" >&5
5301 echo "${ECHO_T}$STRIP" >&6
5303 echo "$as_me:$LINENO: result
: no
" >&5
5304 echo "${ECHO_T}no
" >&6
5308 if test -z "$ac_cv_prog_STRIP"; then
5310 # Extract the first word of "strip
", so it can be a program name with args.
5311 set dummy strip; ac_word=$2
5312 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5313 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5314 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5315 echo $ECHO_N "(cached
) $ECHO_C" >&6
5317 if test -n "$ac_ct_STRIP"; then
5318 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5324 test -z "$as_dir" && as_dir=.
5325 for ac_exec_ext in '' $ac_executable_extensions; do
5326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5327 ac_cv_prog_ac_ct_STRIP="strip
"
5328 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5334 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5337 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5338 if test -n "$ac_ct_STRIP"; then
5339 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5340 echo "${ECHO_T}$ac_ct_STRIP" >&6
5342 echo "$as_me:$LINENO: result
: no
" >&5
5343 echo "${ECHO_T}no
" >&6
5348 STRIP="$ac_cv_prog_STRIP"
5351 test -z "$STRIP" && STRIP=:
5358 if test -n "$ac_tool_prefix"; then
5359 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5360 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5361 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5362 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5363 if test "${ac_cv_prog_RANLIB+set}" = set; then
5364 echo $ECHO_N "(cached
) $ECHO_C" >&6
5366 if test -n "$RANLIB"; then
5367 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5373 test -z "$as_dir" && as_dir=.
5374 for ac_exec_ext in '' $ac_executable_extensions; do
5375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5376 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5377 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5385 RANLIB=$ac_cv_prog_RANLIB
5386 if test -n "$RANLIB"; then
5387 echo "$as_me:$LINENO: result
: $RANLIB" >&5
5388 echo "${ECHO_T}$RANLIB" >&6
5390 echo "$as_me:$LINENO: result
: no
" >&5
5391 echo "${ECHO_T}no
" >&6
5395 if test -z "$ac_cv_prog_RANLIB"; then
5396 ac_ct_RANLIB=$RANLIB
5397 # Extract the first word of "ranlib
", so it can be a program name with args.
5398 set dummy ranlib; ac_word=$2
5399 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5400 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5401 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5402 echo $ECHO_N "(cached
) $ECHO_C" >&6
5404 if test -n "$ac_ct_RANLIB"; then
5405 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5411 test -z "$as_dir" && as_dir=.
5412 for ac_exec_ext in '' $ac_executable_extensions; do
5413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5414 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5415 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5421 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5424 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5425 if test -n "$ac_ct_RANLIB"; then
5426 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5427 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5429 echo "$as_me:$LINENO: result
: no
" >&5
5430 echo "${ECHO_T}no
" >&6
5433 RANLIB=$ac_ct_RANLIB
5435 RANLIB="$ac_cv_prog_RANLIB"
5438 test -z "$RANLIB" && RANLIB=:
5445 # Determine commands to create old-style static archives.
5446 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5447 old_postinstall_cmds='chmod 644 $oldlib'
5448 old_postuninstall_cmds=
5450 if test -n "$RANLIB"; then
5453 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5456 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5459 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5495 # If no C compiler was specified, use CC.
5498 # If no C compiler flags were specified, use CFLAGS.
5499 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5501 # Allow CC to be a program name with arguments.
5505 # Check for command to grab the raw symbol name followed by C symbol from nm.
5506 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5507 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
5508 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5509 echo $ECHO_N "(cached
) $ECHO_C" >&6
5512 # These are sane defaults that work on at least a few old systems.
5513 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5515 # Character class describing NM global symbol codes.
5516 symcode='[BCDEGRST]'
5518 # Regexp to match symbols that can be accessed directly from C.
5519 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5521 # Define system-specific variables.
5526 cygwin* | mingw* | pw32*)
5527 symcode='[ABCDGISTW]'
5530 if test "$host_cpu" = ia64; then
5531 symcode='[ABCDEGRST]'
5535 symcode='[BCDEGRST]'
5538 symcode='[BCDEGQRST]'
5549 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5557 # If we're using GNU nm, then use its standard symbol codes.
5558 case `$NM -V 2>&1` in
5559 *GNU* | *'with BFD'*)
5560 symcode='[ABCDGIRSTW]' ;;
5563 # Transform an extracted symbol line into a proper C declaration.
5564 # Some systems (esp. on ia64) link data and code symbols differently,
5565 # so use this general approach.
5566 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5568 # Transform an extracted symbol line into symbol name and symbol address
5569 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5571 # Handle CRLF in mingw tool chain
5575 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5579 # Try without a prefix underscore, then with it.
5580 for ac_symprfx in "" "_
"; do
5582 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5583 symxfrm="\\1 $ac_symprfx\\2 \\2"
5585 # Write the raw and C identifiers.
5586 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5587 # Fake it for dumpbin and say T for any non-static function
5588 # and D for any global variable.
5589 # Also find C++ and __fastcall symbols from MSVC++,
5590 # which start with @ or ?.
5591 lt_cv_sys_global_symbol_pipe="$AWK '"\
5592 " {last_section=section; section=\$ 3};"\
5593 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5594 " \$ 0!~/External *\|/{next};"\
5595 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5596 " {if(hide[section]) next};"\
5597 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5598 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5599 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5600 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5601 " ' prfx
=^
$ac_symprfx"
5603 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5606 # Check to see that the pipe works correctly.
5610 cat > conftest.$ac_ext <<_LT_EOF
5615 void nm_test_func(void);
5616 void nm_test_func(void){}
5620 int main(){nm_test_var='a';nm_test_func();return(0);}
5623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5624 (eval $ac_compile) 2>&5
5626 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5627 (exit $ac_status); }; then
5628 # Now try to grab the symbols.
5630 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5631 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5633 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5634 (exit $ac_status); } && test -s "$nlist"; then
5635 # Try sorting and uniquifying the output.
5636 if sort "$nlist" | uniq > "$nlist"T; then
5637 mv -f "$nlist"T "$nlist"
5642 # Make sure that we snagged all the symbols we need.
5643 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5644 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5645 cat <<_LT_EOF > conftest.$ac_ext
5651 # Now generate the symbol file.
5652 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5654 cat <<_LT_EOF >> conftest.$ac_ext
5656 /* The mapping between symbol names and symbols. */
5661 lt__PROGRAM__LTX_preloaded_symbols[] =
5663 { "@PROGRAM@
", (void *) 0 },
5665 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5666 cat <<\_LT_EOF >> conftest.$ac_ext
5670 /* This works around a problem in FreeBSD linker */
5671 #ifdef FREEBSD_WORKAROUND
5672 static const void *lt_preloaded_setup() {
5673 return lt__PROGRAM__LTX_preloaded_symbols;
5681 # Now try linking the two files.
5682 mv conftest.$ac_objext conftstm.$ac_objext
5683 lt_save_LIBS="$LIBS"
5684 lt_save_CFLAGS="$CFLAGS"
5685 LIBS="conftstm.
$ac_objext"
5686 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5688 (eval $ac_link) 2>&5
5690 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5691 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5694 LIBS="$lt_save_LIBS"
5695 CFLAGS="$lt_save_CFLAGS"
5697 echo "cannot
find nm_test_func
in $nlist" >&5
5700 echo "cannot
find nm_test_var
in $nlist" >&5
5703 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5706 echo "$progname: failed program was
:" >&5
5707 cat conftest.$ac_ext >&5
5709 rm -f conftest* conftst*
5711 # Do not use the global_symbol_pipe unless it works.
5712 if test "$pipe_works" = yes; then
5715 lt_cv_sys_global_symbol_pipe=
5721 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5722 lt_cv_sys_global_symbol_to_cdecl=
5724 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5725 echo "$as_me:$LINENO: result
: failed
" >&5
5726 echo "${ECHO_T}failed
" >&6
5728 echo "$as_me:$LINENO: result
: ok
" >&5
5729 echo "${ECHO_T}ok
" >&6
5749 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5750 if test "${enable_libtool_lock+set}" = set; then
5751 enableval="$enable_libtool_lock"
5754 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5756 # Some flags need to be propagated to the compiler or linker for good
5760 # Find out which ABI we are using.
5761 echo 'int i;' > conftest.$ac_ext
5762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5763 (eval $ac_compile) 2>&5
5765 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5766 (exit $ac_status); }; then
5767 case `/usr/bin/file conftest.$ac_objext` in
5779 # Find out which ABI we are using.
5780 echo '#line 5780 "configure
"' > conftest.$ac_ext
5781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5782 (eval $ac_compile) 2>&5
5784 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5785 (exit $ac_status); }; then
5786 if test "$lt_cv_prog_gnu_ld" = yes; then
5787 case `/usr/bin/file conftest.$ac_objext` in
5789 LD="${LD-ld} -melf32bsmip"
5792 LD="${LD-ld} -melf32bmipn32"
5795 LD="${LD-ld} -melf64bmip"
5799 case `/usr/bin/file conftest.$ac_objext` in
5815 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5816 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5817 # Find out which ABI we are using.
5818 echo 'int i;' > conftest.$ac_ext
5819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5820 (eval $ac_compile) 2>&5
5822 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5823 (exit $ac_status); }; then
5824 case `/usr/bin/file conftest.o` in
5827 x86_64-*kfreebsd*-gnu)
5828 LD="${LD-ld} -m elf_i386_fbsd
"
5831 LD="${LD-ld} -m elf_i386
"
5833 ppc64-*linux*|powerpc64-*linux*)
5834 LD="${LD-ld} -m elf32ppclinux
"
5837 LD="${LD-ld} -m elf_s390
"
5840 LD="${LD-ld} -m elf32_sparc
"
5846 x86_64-*kfreebsd*-gnu)
5847 LD="${LD-ld} -m elf_x86_64_fbsd
"
5850 LD="${LD-ld} -m elf_x86_64
"
5852 ppc*-*linux*|powerpc*-*linux*)
5853 LD="${LD-ld} -m elf64ppc
"
5855 s390*-*linux*|s390*-*tpf*)
5856 LD="${LD-ld} -m elf64_s390
"
5859 LD="${LD-ld} -m elf64_sparc
"
5869 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5870 SAVE_CFLAGS="$CFLAGS"
5871 CFLAGS="$CFLAGS -belf"
5872 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5873 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
5874 if test "${lt_cv_cc_needs_belf+set}" = set; then
5875 echo $ECHO_N "(cached
) $ECHO_C" >&6
5878 ac_cpp='$CPP $CPPFLAGS'
5879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5883 if test x$gcc_no_link = xyes; then
5884 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
5885 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
5886 { (exit 1); exit 1; }; }
5888 cat >conftest.$ac_ext <<_ACEOF
5891 cat confdefs.h >>conftest.$ac_ext
5892 cat >>conftest.$ac_ext <<_ACEOF
5893 /* end confdefs.h. */
5903 rm -f conftest.$ac_objext conftest$ac_exeext
5904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5905 (eval $ac_link) 2>conftest.er1
5907 grep -v '^ *+' conftest.er1 >conftest.err
5909 cat conftest.err >&5
5910 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5911 (exit $ac_status); } &&
5912 { ac_try='test -z "$ac_c_werror_flag"
5913 || test ! -s conftest.err'
5914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5917 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5918 (exit $ac_status); }; } &&
5919 { ac_try='test -s conftest$ac_exeext'
5920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5923 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5924 (exit $ac_status); }; }; then
5925 lt_cv_cc_needs_belf=yes
5927 echo "$as_me: failed program was
:" >&5
5928 sed 's/^/| /' conftest.$ac_ext >&5
5930 lt_cv_cc_needs_belf=no
5932 rm -f conftest.err conftest.$ac_objext \
5933 conftest$ac_exeext conftest.$ac_ext
5935 ac_cpp='$CPP $CPPFLAGS'
5936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5941 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5942 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5943 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5944 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5945 CFLAGS="$SAVE_CFLAGS"
5949 # Find out which ABI we are using.
5950 echo 'int i;' > conftest.$ac_ext
5951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5952 (eval $ac_compile) 2>&5
5954 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5955 (exit $ac_status); }; then
5956 case `/usr/bin/file conftest.o` in
5958 case $lt_cv_prog_gnu_ld in
5959 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5960 *) LD="${LD-ld} -64" ;;
5969 need_locks="$enable_libtool_lock"
5972 ac_cpp='$CPP $CPPFLAGS'
5973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5976 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5977 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
5978 # On Suns, sometimes $CPP names a directory.
5979 if test -n "$CPP" && test -d "$CPP"; then
5982 if test -z "$CPP"; then
5983 if test "${ac_cv_prog_CPP+set}" = set; then
5984 echo $ECHO_N "(cached
) $ECHO_C" >&6
5986 # Double quotes because CPP needs to be expanded
5987 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5990 for ac_c_preproc_warn_flag in '' yes
5992 # Use a header file that comes with gcc, so configuring glibc
5993 # with a fresh cross-compiler works.
5994 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5995 # <limits.h> exists even on freestanding compilers.
5996 # On the NeXT, cc -E runs the code through the compiler's parser,
5997 # not just through cpp. "Syntax error
" is here to catch this case.
5998 cat >conftest.$ac_ext <<_ACEOF
6001 cat confdefs.h >>conftest.$ac_ext
6002 cat >>conftest.$ac_ext <<_ACEOF
6003 /* end confdefs.h. */
6005 # include <limits.h>
6007 # include <assert.h>
6011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6012 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6014 grep -v '^ *+' conftest.er1 >conftest.err
6016 cat conftest.err >&5
6017 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6018 (exit $ac_status); } >/dev/null; then
6019 if test -s conftest.err; then
6020 ac_cpp_err=$ac_c_preproc_warn_flag
6021 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6028 if test -z "$ac_cpp_err"; then
6031 echo "$as_me: failed program was
:" >&5
6032 sed 's/^/| /' conftest.$ac_ext >&5
6034 # Broken: fails on valid input.
6037 rm -f conftest.err conftest.$ac_ext
6039 # OK, works on sane cases. Now check whether non-existent headers
6040 # can be detected and how.
6041 cat >conftest.$ac_ext <<_ACEOF
6044 cat confdefs.h >>conftest.$ac_ext
6045 cat >>conftest.$ac_ext <<_ACEOF
6046 /* end confdefs.h. */
6047 #include <ac_nonexistent.h>
6049 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6050 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6052 grep -v '^ *+' conftest.er1 >conftest.err
6054 cat conftest.err >&5
6055 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6056 (exit $ac_status); } >/dev/null; then
6057 if test -s conftest.err; then
6058 ac_cpp_err=$ac_c_preproc_warn_flag
6059 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6066 if test -z "$ac_cpp_err"; then
6067 # Broken: success on invalid input.
6070 echo "$as_me: failed program was
:" >&5
6071 sed 's/^/| /' conftest.$ac_ext >&5
6073 # Passes both tests.
6077 rm -f conftest.err conftest.$ac_ext
6080 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6081 rm -f conftest.err conftest.$ac_ext
6082 if $ac_preproc_ok; then
6094 echo "$as_me:$LINENO: result
: $CPP" >&5
6095 echo "${ECHO_T}$CPP" >&6
6097 for ac_c_preproc_warn_flag in '' yes
6099 # Use a header file that comes with gcc, so configuring glibc
6100 # with a fresh cross-compiler works.
6101 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6102 # <limits.h> exists even on freestanding compilers.
6103 # On the NeXT, cc -E runs the code through the compiler's parser,
6104 # not just through cpp. "Syntax error
" is here to catch this case.
6105 cat >conftest.$ac_ext <<_ACEOF
6108 cat confdefs.h >>conftest.$ac_ext
6109 cat >>conftest.$ac_ext <<_ACEOF
6110 /* end confdefs.h. */
6112 # include <limits.h>
6114 # include <assert.h>
6118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6119 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6121 grep -v '^ *+' conftest.er1 >conftest.err
6123 cat conftest.err >&5
6124 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6125 (exit $ac_status); } >/dev/null; then
6126 if test -s conftest.err; then
6127 ac_cpp_err=$ac_c_preproc_warn_flag
6128 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6135 if test -z "$ac_cpp_err"; then
6138 echo "$as_me: failed program was
:" >&5
6139 sed 's/^/| /' conftest.$ac_ext >&5
6141 # Broken: fails on valid input.
6144 rm -f conftest.err conftest.$ac_ext
6146 # OK, works on sane cases. Now check whether non-existent headers
6147 # can be detected and how.
6148 cat >conftest.$ac_ext <<_ACEOF
6151 cat confdefs.h >>conftest.$ac_ext
6152 cat >>conftest.$ac_ext <<_ACEOF
6153 /* end confdefs.h. */
6154 #include <ac_nonexistent.h>
6156 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6157 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6159 grep -v '^ *+' conftest.er1 >conftest.err
6161 cat conftest.err >&5
6162 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6163 (exit $ac_status); } >/dev/null; then
6164 if test -s conftest.err; then
6165 ac_cpp_err=$ac_c_preproc_warn_flag
6166 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6173 if test -z "$ac_cpp_err"; then
6174 # Broken: success on invalid input.
6177 echo "$as_me: failed program was
:" >&5
6178 sed 's/^/| /' conftest.$ac_ext >&5
6180 # Passes both tests.
6184 rm -f conftest.err conftest.$ac_ext
6187 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6188 rm -f conftest.err conftest.$ac_ext
6189 if $ac_preproc_ok; then
6192 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
6193 See \
`config.log' for more details." >&5
6194 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6195 See \`config.log
' for more details." >&2;}
6196 { (exit 1); exit 1; }; }
6200 ac_cpp='$CPP $CPPFLAGS'
6201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6202 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6206 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6207 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6208 if test "${ac_cv_header_stdc+set}" = set; then
6209 echo $ECHO_N "(cached) $ECHO_C" >&6
6211 cat >conftest.$ac_ext <<_ACEOF
6214 cat confdefs.h >>conftest.$ac_ext
6215 cat >>conftest.$ac_ext <<_ACEOF
6216 /* end confdefs.h. */
6230 rm -f conftest.$ac_objext
6231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6232 (eval $ac_compile) 2>conftest.er1
6234 grep -v '^
*+' conftest.er1 >conftest.err
6236 cat conftest.err >&5
6237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6238 (exit $ac_status); } &&
6239 { ac_try='test -z "$ac_c_werror_flag"
6240 ||
test ! -s conftest.err
'
6241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245 (exit $ac_status); }; } &&
6246 { ac_try='test -s conftest.
$ac_objext'
6247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6251 (exit $ac_status); }; }; then
6252 ac_cv_header_stdc=yes
6254 echo "$as_me: failed program was:" >&5
6255 sed 's
/^
/|
/' conftest.$ac_ext >&5
6257 ac_cv_header_stdc=no
6259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6261 if test $ac_cv_header_stdc = yes; then
6262 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6263 cat >conftest.$ac_ext <<_ACEOF
6266 cat confdefs.h >>conftest.$ac_ext
6267 cat >>conftest.$ac_ext <<_ACEOF
6268 /* end confdefs.h. */
6272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6273 $EGREP "memchr" >/dev/null 2>&1; then
6276 ac_cv_header_stdc=no
6282 if test $ac_cv_header_stdc = yes; then
6283 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6284 cat >conftest.$ac_ext <<_ACEOF
6287 cat confdefs.h >>conftest.$ac_ext
6288 cat >>conftest.$ac_ext <<_ACEOF
6289 /* end confdefs.h. */
6293 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6294 $EGREP "free" >/dev/null 2>&1; then
6297 ac_cv_header_stdc=no
6303 if test $ac_cv_header_stdc = yes; then
6304 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6305 if test "$cross_compiling" = yes; then
6308 cat >conftest.$ac_ext <<_ACEOF
6311 cat confdefs.h >>conftest.$ac_ext
6312 cat >>conftest.$ac_ext <<_ACEOF
6313 /* end confdefs.h. */
6315 #if ((' ' & 0x0FF) == 0x020)
6316 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
6317 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
6319 # define ISLOWER(c) \
6320 (('a
' <= (c) && (c) <= 'i
') \
6321 || ('j
' <= (c) && (c) <= 'r
') \
6322 || ('s
' <= (c) && (c) <= 'z
'))
6323 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6326 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6331 for (i = 0; i < 256; i++)
6332 if (XOR (islower (i), ISLOWER (i))
6333 || toupper (i) != TOUPPER (i))
6338 rm -f conftest$ac_exeext
6339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6340 (eval $ac_link) 2>&5
6342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6343 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
6344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348 (exit $ac_status); }; }; then
6351 echo "$as_me: program exited with status $ac_status" >&5
6352 echo "$as_me: failed program was:" >&5
6353 sed 's
/^
/|
/' conftest.$ac_ext >&5
6356 ac_cv_header_stdc=no
6358 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6362 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6363 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6364 if test $ac_cv_header_stdc = yes; then
6366 cat >>confdefs.h <<\_ACEOF
6367 #define STDC_HEADERS 1
6372 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6382 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6383 inttypes.h stdint.h unistd.h
6385 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6386 echo "$as_me:$LINENO: checking for $ac_header" >&5
6387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6389 echo $ECHO_N "(cached) $ECHO_C" >&6
6391 cat >conftest.$ac_ext <<_ACEOF
6394 cat confdefs.h >>conftest.$ac_ext
6395 cat >>conftest.$ac_ext <<_ACEOF
6396 /* end confdefs.h. */
6397 $ac_includes_default
6399 #include <$ac_header>
6401 rm -f conftest.$ac_objext
6402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6403 (eval $ac_compile) 2>conftest.er1
6405 grep -v '^
*+' conftest.er1 >conftest.err
6407 cat conftest.err >&5
6408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6409 (exit $ac_status); } &&
6410 { ac_try='test -z "$ac_c_werror_flag"
6411 ||
test ! -s conftest.err
'
6412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6416 (exit $ac_status); }; } &&
6417 { ac_try='test -s conftest.
$ac_objext'
6418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6422 (exit $ac_status); }; }; then
6423 eval "$as_ac_Header=yes"
6425 echo "$as_me: failed program was:" >&5
6426 sed 's
/^
/|
/' conftest.$ac_ext >&5
6428 eval "$as_ac_Header=no"
6430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6435 cat >>confdefs.h <<_ACEOF
6436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6445 for ac_header in dlfcn.h
6447 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6448 echo "$as_me:$LINENO: checking for $ac_header" >&5
6449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6451 echo $ECHO_N "(cached) $ECHO_C" >&6
6453 cat >conftest.$ac_ext <<_ACEOF
6456 cat confdefs.h >>conftest.$ac_ext
6457 cat >>conftest.$ac_ext <<_ACEOF
6458 /* end confdefs.h. */
6459 $ac_includes_default
6461 #include <$ac_header>
6463 rm -f conftest.$ac_objext
6464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6465 (eval $ac_compile) 2>conftest.er1
6467 grep -v '^
*+' conftest.er1 >conftest.err
6469 cat conftest.err >&5
6470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471 (exit $ac_status); } &&
6472 { ac_try='test -z "$ac_c_werror_flag"
6473 ||
test ! -s conftest.err
'
6474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6478 (exit $ac_status); }; } &&
6479 { ac_try='test -s conftest.
$ac_objext'
6480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6484 (exit $ac_status); }; }; then
6485 eval "$as_ac_Header=yes"
6487 echo "$as_me: failed program was:" >&5
6488 sed 's
/^
/|
/' conftest.$ac_ext >&5
6490 eval "$as_ac_Header=no"
6492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6496 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6497 cat >>confdefs.h <<_ACEOF
6498 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6508 ac_cpp='$CXXCPP $CPPFLAGS'
6509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6510 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6512 if test -n "$ac_tool_prefix"; then
6513 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6515 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6516 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6517 echo "$as_me:$LINENO: checking for $ac_word" >&5
6518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6519 if test "${ac_cv_prog_CXX+set}" = set; then
6520 echo $ECHO_N "(cached) $ECHO_C" >&6
6522 if test -n "$CXX"; then
6523 ac_cv_prog_CXX="$CXX" # Let the user override the test.
6525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6529 test -z "$as_dir" && as_dir=.
6530 for ac_exec_ext in '' $ac_executable_extensions; do
6531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6532 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6542 if test -n "$CXX"; then
6543 echo "$as_me:$LINENO: result: $CXX" >&5
6544 echo "${ECHO_T}$CXX" >&6
6546 echo "$as_me:$LINENO: result: no" >&5
6547 echo "${ECHO_T}no" >&6
6550 test -n "$CXX" && break
6553 if test -z "$CXX"; then
6555 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6557 # Extract the first word of "$ac_prog", so it can be a program name with args.
6558 set dummy $ac_prog; ac_word=$2
6559 echo "$as_me:$LINENO: checking for $ac_word" >&5
6560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6561 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6562 echo $ECHO_N "(cached) $ECHO_C" >&6
6564 if test -n "$ac_ct_CXX"; then
6565 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6571 test -z "$as_dir" && as_dir=.
6572 for ac_exec_ext in '' $ac_executable_extensions; do
6573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6574 ac_cv_prog_ac_ct_CXX="$ac_prog"
6575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6583 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6584 if test -n "$ac_ct_CXX"; then
6585 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6586 echo "${ECHO_T}$ac_ct_CXX" >&6
6588 echo "$as_me:$LINENO: result: no" >&5
6589 echo "${ECHO_T}no" >&6
6592 test -n "$ac_ct_CXX" && break
6594 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6600 # Provide some information about the compiler.
6601 echo "$as_me:$LINENO:" \
6602 "checking for C++ compiler version" >&5
6603 ac_compiler=`set X $ac_compile; echo $2`
6604 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6605 (eval $ac_compiler --version </dev/null >&5) 2>&5
6607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608 (exit $ac_status); }
6609 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6610 (eval $ac_compiler -v </dev/null >&5) 2>&5
6612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6613 (exit $ac_status); }
6614 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6615 (eval $ac_compiler -V </dev/null >&5) 2>&5
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); }
6620 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6621 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6622 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6623 echo $ECHO_N "(cached) $ECHO_C" >&6
6625 cat >conftest.$ac_ext <<_ACEOF
6628 cat confdefs.h >>conftest.$ac_ext
6629 cat >>conftest.$ac_ext <<_ACEOF
6630 /* end confdefs.h. */
6643 rm -f conftest.$ac_objext
6644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6645 (eval $ac_compile) 2>conftest.er1
6647 grep -v '^
*+' conftest.er1 >conftest.err
6649 cat conftest.err >&5
6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 (exit $ac_status); } &&
6652 { ac_try='test -z "$ac_cxx_werror_flag"
6653 ||
test ! -s conftest.err
'
6654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6658 (exit $ac_status); }; } &&
6659 { ac_try='test -s conftest.
$ac_objext'
6660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6664 (exit $ac_status); }; }; then
6667 echo "$as_me: failed program was:" >&5
6668 sed 's
/^
/|
/' conftest.$ac_ext >&5
6672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6673 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6676 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6677 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6678 GXX=`test $ac_compiler_gnu = yes && echo yes`
6679 ac_test_CXXFLAGS=${CXXFLAGS+set}
6680 ac_save_CXXFLAGS=$CXXFLAGS
6682 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6683 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6684 if test "${ac_cv_prog_cxx_g+set}" = set; then
6685 echo $ECHO_N "(cached) $ECHO_C" >&6
6687 cat >conftest.$ac_ext <<_ACEOF
6690 cat confdefs.h >>conftest.$ac_ext
6691 cat >>conftest.$ac_ext <<_ACEOF
6692 /* end confdefs.h. */
6702 rm -f conftest.$ac_objext
6703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6704 (eval $ac_compile) 2>conftest.er1
6706 grep -v '^
*+' conftest.er1 >conftest.err
6708 cat conftest.err >&5
6709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710 (exit $ac_status); } &&
6711 { ac_try='test -z "$ac_cxx_werror_flag"
6712 ||
test ! -s conftest.err
'
6713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); }; } &&
6718 { ac_try='test -s conftest.
$ac_objext'
6719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6723 (exit $ac_status); }; }; then
6724 ac_cv_prog_cxx_g=yes
6726 echo "$as_me: failed program was:" >&5
6727 sed 's
/^
/|
/' conftest.$ac_ext >&5
6731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6733 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6734 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6735 if test "$ac_test_CXXFLAGS" = set; then
6736 CXXFLAGS=$ac_save_CXXFLAGS
6737 elif test $ac_cv_prog_cxx_g = yes; then
6738 if test "$GXX" = yes; then
6744 if test "$GXX" = yes; then
6750 for ac_declaration in \
6752 'extern
"C" void std
::exit (int
) throw
(); using std
::exit;' \
6753 'extern
"C" void std
::exit (int
); using std
::exit;' \
6754 'extern
"C" void
exit (int
) throw
();' \
6755 'extern
"C" void
exit (int
);' \
6758 cat >conftest.$ac_ext <<_ACEOF
6761 cat confdefs.h >>conftest.$ac_ext
6762 cat >>conftest.$ac_ext <<_ACEOF
6763 /* end confdefs.h. */
6774 rm -f conftest.$ac_objext
6775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6776 (eval $ac_compile) 2>conftest.er1
6778 grep -v '^
*+' conftest.er1 >conftest.err
6780 cat conftest.err >&5
6781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6782 (exit $ac_status); } &&
6783 { ac_try='test -z "$ac_cxx_werror_flag"
6784 ||
test ! -s conftest.err
'
6785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6789 (exit $ac_status); }; } &&
6790 { ac_try='test -s conftest.
$ac_objext'
6791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795 (exit $ac_status); }; }; then
6798 echo "$as_me: failed program was:" >&5
6799 sed 's
/^
/|
/' conftest.$ac_ext >&5
6803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6804 cat >conftest.$ac_ext <<_ACEOF
6807 cat confdefs.h >>conftest.$ac_ext
6808 cat >>conftest.$ac_ext <<_ACEOF
6809 /* end confdefs.h. */
6819 rm -f conftest.$ac_objext
6820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6821 (eval $ac_compile) 2>conftest.er1
6823 grep -v '^
*+' conftest.er1 >conftest.err
6825 cat conftest.err >&5
6826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827 (exit $ac_status); } &&
6828 { ac_try='test -z "$ac_cxx_werror_flag"
6829 ||
test ! -s conftest.err
'
6830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6834 (exit $ac_status); }; } &&
6835 { ac_try='test -s conftest.
$ac_objext'
6836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6840 (exit $ac_status); }; }; then
6843 echo "$as_me: failed program was:" >&5
6844 sed 's
/^
/|
/' conftest.$ac_ext >&5
6847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6850 if test -n "$ac_declaration"; then
6851 echo '#ifdef __cplusplus' >>confdefs.h
6852 echo $ac_declaration >>confdefs.h
6853 echo '#endif' >>confdefs.h
6857 ac_cpp
='$CPP $CPPFLAGS'
6858 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6859 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6860 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6862 depcc
="$CXX" am_compiler_list
=
6864 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6865 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6866 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6867 echo $ECHO_N "(cached) $ECHO_C" >&6
6869 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6870 # We make a subdir and do the tests there. Otherwise we can end up
6871 # making bogus files that we don't know about and never remove. For
6872 # instance it was reported that on HP-UX the gcc test will end up
6873 # making a dummy file named `D' -- because `-MD' means `put the output
6876 # Copy depcomp to subdir because otherwise we won't find it if we're
6877 # using a relative directory.
6878 cp "$am_depcomp" conftest.dir
6880 # We will build objects and dependencies in a subdirectory because
6881 # it helps to detect inapplicable dependency modes. For instance
6882 # both Tru64's cc and ICC support -MD to output dependencies as a
6883 # side effect of compilation, but ICC will put the dependencies in
6884 # the current directory while Tru64 will put them in the object
6888 am_cv_CXX_dependencies_compiler_type
=none
6889 if test "$am_compiler_list" = ""; then
6890 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6892 for depmode
in $am_compiler_list; do
6893 # Setup a source with many dependencies, because some compilers
6894 # like to wrap large dependency lists on column 80 (with \), and
6895 # we should not choose a depcomp mode which is confused by this.
6897 # We need to recreate these files for each test, as the compiler may
6898 # overwrite some of them when testing with obscure command lines.
6899 # This happens at least with the AIX C compiler.
6901 for i
in 1 2 3 4 5 6; do
6902 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6903 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6904 # Solaris 8's {/usr,}/bin/sh.
6905 touch sub
/conftst
$i.h
6907 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6911 # after this tag, mechanisms are not by side-effect, so they'll
6912 # only be used when explicitly requested
6913 if test "x$enable_dependency_tracking" = xyes
; then
6921 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6922 # mode. It turns out that the SunPro C++ compiler does not properly
6923 # handle `-M -o', and we need to detect this.
6924 if depmode
=$depmode \
6925 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6926 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6927 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6928 >/dev
/null
2>conftest.err
&&
6929 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6930 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6931 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6932 # icc doesn't choke on unknown options, it will just issue warnings
6933 # or remarks (even with -Werror). So we grep stderr for any message
6934 # that says an option was ignored or not supported.
6935 # When given -MP, icc 7.0 and 7.1 complain thusly:
6936 # icc: Command line warning: ignoring option '-M'; no argument required
6937 # The diagnosis changed in icc 8.0:
6938 # icc: Command line remark: option '-MP' not supported
6939 if (grep 'ignoring option' conftest.err ||
6940 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6941 am_cv_CXX_dependencies_compiler_type
=$depmode
6950 am_cv_CXX_dependencies_compiler_type
=none
6954 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6955 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
6956 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6961 test "x$enable_dependency_tracking" != xno \
6962 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6963 am__fastdepCXX_TRUE
=
6964 am__fastdepCXX_FALSE
='#'
6966 am__fastdepCXX_TRUE
='#'
6967 am__fastdepCXX_FALSE
=
6971 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6972 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6973 (test "X$CXX" != "Xg++"))) ; then
6975 ac_cpp
='$CXXCPP $CPPFLAGS'
6976 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6977 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6978 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6979 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6980 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6981 if test -z "$CXXCPP"; then
6982 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6983 echo $ECHO_N "(cached) $ECHO_C" >&6
6985 # Double quotes because CXXCPP needs to be expanded
6986 for CXXCPP
in "$CXX -E" "/lib/cpp"
6989 for ac_cxx_preproc_warn_flag
in '' yes
6991 # Use a header file that comes with gcc, so configuring glibc
6992 # with a fresh cross-compiler works.
6993 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6994 # <limits.h> exists even on freestanding compilers.
6995 # On the NeXT, cc -E runs the code through the compiler's parser,
6996 # not just through cpp. "Syntax error" is here to catch this case.
6997 cat >conftest.
$ac_ext <<_ACEOF
7000 cat confdefs.h
>>conftest.
$ac_ext
7001 cat >>conftest.
$ac_ext <<_ACEOF
7002 /* end confdefs.h. */
7004 # include <limits.h>
7006 # include <assert.h>
7010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7011 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7013 grep -v '^ *+' conftest.er1
>conftest.err
7015 cat conftest.err
>&5
7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 (exit $ac_status); } >/dev
/null
; then
7018 if test -s conftest.err
; then
7019 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7020 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7027 if test -z "$ac_cpp_err"; then
7030 echo "$as_me: failed program was:" >&5
7031 sed 's/^/| /' conftest.
$ac_ext >&5
7033 # Broken: fails on valid input.
7036 rm -f conftest.err conftest.
$ac_ext
7038 # OK, works on sane cases. Now check whether non-existent headers
7039 # can be detected and how.
7040 cat >conftest.
$ac_ext <<_ACEOF
7043 cat confdefs.h
>>conftest.
$ac_ext
7044 cat >>conftest.
$ac_ext <<_ACEOF
7045 /* end confdefs.h. */
7046 #include <ac_nonexistent.h>
7048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7049 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7051 grep -v '^ *+' conftest.er1
>conftest.err
7053 cat conftest.err
>&5
7054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055 (exit $ac_status); } >/dev
/null
; then
7056 if test -s conftest.err
; then
7057 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7058 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7065 if test -z "$ac_cpp_err"; then
7066 # Broken: success on invalid input.
7069 echo "$as_me: failed program was:" >&5
7070 sed 's/^/| /' conftest.
$ac_ext >&5
7072 # Passes both tests.
7076 rm -f conftest.err conftest.
$ac_ext
7079 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7080 rm -f conftest.err conftest.
$ac_ext
7081 if $ac_preproc_ok; then
7086 ac_cv_prog_CXXCPP
=$CXXCPP
7089 CXXCPP
=$ac_cv_prog_CXXCPP
7091 ac_cv_prog_CXXCPP
=$CXXCPP
7093 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7094 echo "${ECHO_T}$CXXCPP" >&6
7096 for ac_cxx_preproc_warn_flag
in '' yes
7098 # Use a header file that comes with gcc, so configuring glibc
7099 # with a fresh cross-compiler works.
7100 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7101 # <limits.h> exists even on freestanding compilers.
7102 # On the NeXT, cc -E runs the code through the compiler's parser,
7103 # not just through cpp. "Syntax error" is here to catch this case.
7104 cat >conftest.
$ac_ext <<_ACEOF
7107 cat confdefs.h
>>conftest.
$ac_ext
7108 cat >>conftest.
$ac_ext <<_ACEOF
7109 /* end confdefs.h. */
7111 # include <limits.h>
7113 # include <assert.h>
7117 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7118 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7120 grep -v '^ *+' conftest.er1
>conftest.err
7122 cat conftest.err
>&5
7123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124 (exit $ac_status); } >/dev
/null
; then
7125 if test -s conftest.err
; then
7126 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7127 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7134 if test -z "$ac_cpp_err"; then
7137 echo "$as_me: failed program was:" >&5
7138 sed 's/^/| /' conftest.
$ac_ext >&5
7140 # Broken: fails on valid input.
7143 rm -f conftest.err conftest.
$ac_ext
7145 # OK, works on sane cases. Now check whether non-existent headers
7146 # can be detected and how.
7147 cat >conftest.
$ac_ext <<_ACEOF
7150 cat confdefs.h
>>conftest.
$ac_ext
7151 cat >>conftest.
$ac_ext <<_ACEOF
7152 /* end confdefs.h. */
7153 #include <ac_nonexistent.h>
7155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7156 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7158 grep -v '^ *+' conftest.er1
>conftest.err
7160 cat conftest.err
>&5
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); } >/dev
/null
; then
7163 if test -s conftest.err
; then
7164 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7165 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7172 if test -z "$ac_cpp_err"; then
7173 # Broken: success on invalid input.
7176 echo "$as_me: failed program was:" >&5
7177 sed 's/^/| /' conftest.
$ac_ext >&5
7179 # Passes both tests.
7183 rm -f conftest.err conftest.
$ac_ext
7186 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7187 rm -f conftest.err conftest.
$ac_ext
7188 if $ac_preproc_ok; then
7191 _lt_caught_CXX_error
=yes
7195 ac_cpp
='$CPP $CPPFLAGS'
7196 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7197 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7198 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7201 _lt_caught_CXX_error
=yes
7208 # This can be used to rebuild libtool when needed
7209 LIBTOOL_DEPS
="$ltmain"
7211 # Always use our own libtool.
7212 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7238 test -z "$LN_S" && LN_S
="ln -s"
7253 if test -n "${ZSH_VERSION+set}" ; then
7254 setopt NO_GLOB_SUBST
7257 echo "$as_me:$LINENO: checking for objdir" >&5
7258 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7259 if test "${lt_cv_objdir+set}" = set; then
7260 echo $ECHO_N "(cached) $ECHO_C" >&6
7262 rm -f .libs
2>/dev
/null
7263 mkdir .libs
2>/dev
/null
7264 if test -d .libs
; then
7267 # MS-DOS does not allow filenames that begin with a dot.
7270 rmdir .libs
2>/dev
/null
7272 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7273 echo "${ECHO_T}$lt_cv_objdir" >&6
7274 objdir
=$lt_cv_objdir
7280 cat >>confdefs.h
<<_ACEOF
7281 #define LT_OBJDIR "$lt_cv_objdir/"
7302 # AIX sometimes has problems with the GCC collect2 program. For some
7303 # reason, if we set the COLLECT_NAMES environment variable, the problems
7304 # vanish in a puff of smoke.
7305 if test "X${COLLECT_NAMES+set}" != Xset
; then
7307 export COLLECT_NAMES
7312 # Sed substitution that helps us do robust quoting. It backslashifies
7313 # metacharacters that are still active within double-quoted strings.
7314 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7316 # Same as above, but do not quote variable references.
7317 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7319 # Sed substitution to delay expansion of an escaped shell variable in a
7320 # double_quote_subst'ed string.
7321 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7323 # Sed substitution to delay expansion of an escaped single quote.
7324 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7326 # Sed substitution to avoid accidental globbing in evaled expressions
7327 no_glob_subst
='s/\*/\\\*/g'
7331 can_build_shared
=yes
7333 # All known linkers require a `.a' archive for static linking (except MSVC,
7334 # which needs '.lib').
7337 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7340 old_CFLAGS
="$CFLAGS"
7342 # Set sane defaults for various variables
7343 test -z "$CC" && CC
=cc
7344 test -z "$LTCC" && LTCC
=$CC
7345 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7346 test -z "$LD" && LD
=ld
7347 test -z "$ac_objext" && ac_objext
=o
7349 for cc_temp
in $compiler""; do
7351 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7352 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7357 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7360 # Only perform the check for file, if the check method requires it
7361 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7362 case $deplibs_check_method in
7364 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7365 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7366 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7367 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7368 echo $ECHO_N "(cached) $ECHO_C" >&6
7372 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7375 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7376 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7377 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7378 for ac_dir
in $ac_dummy; do
7380 test -z "$ac_dir" && ac_dir
=.
7381 if test -f $ac_dir/${ac_tool_prefix}file; then
7382 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7383 if test -n "$file_magic_test_file"; then
7384 case $deplibs_check_method in
7386 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7387 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7388 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7389 $EGREP "$file_magic_regex" > /dev
/null
; then
7394 *** Warning: the command libtool uses to detect shared libraries,
7395 *** $file_magic_cmd, produces output that libtool cannot recognize.
7396 *** The result is that libtool may fail to recognize shared libraries
7397 *** as such. This will affect the creation of libtool libraries that
7398 *** depend on shared libraries, but programs linked with such libtool
7399 *** libraries will work regardless of this problem. Nevertheless, you
7400 *** may want to report the problem to your system manager and/or to
7401 *** bug-libtool@gnu.org
7411 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7416 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7417 if test -n "$MAGIC_CMD"; then
7418 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7419 echo "${ECHO_T}$MAGIC_CMD" >&6
7421 echo "$as_me:$LINENO: result: no" >&5
7422 echo "${ECHO_T}no" >&6
7429 if test -z "$lt_cv_path_MAGIC_CMD"; then
7430 if test -n "$ac_tool_prefix"; then
7431 echo "$as_me:$LINENO: checking for file" >&5
7432 echo $ECHO_N "checking for file... $ECHO_C" >&6
7433 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7434 echo $ECHO_N "(cached) $ECHO_C" >&6
7438 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7441 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7442 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7443 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7444 for ac_dir
in $ac_dummy; do
7446 test -z "$ac_dir" && ac_dir
=.
7447 if test -f $ac_dir/file; then
7448 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7449 if test -n "$file_magic_test_file"; then
7450 case $deplibs_check_method in
7452 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7453 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7454 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7455 $EGREP "$file_magic_regex" > /dev
/null
; then
7460 *** Warning: the command libtool uses to detect shared libraries,
7461 *** $file_magic_cmd, produces output that libtool cannot recognize.
7462 *** The result is that libtool may fail to recognize shared libraries
7463 *** as such. This will affect the creation of libtool libraries that
7464 *** depend on shared libraries, but programs linked with such libtool
7465 *** libraries will work regardless of this problem. Nevertheless, you
7466 *** may want to report the problem to your system manager and/or to
7467 *** bug-libtool@gnu.org
7477 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7482 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7483 if test -n "$MAGIC_CMD"; then
7484 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7485 echo "${ECHO_T}$MAGIC_CMD" >&6
7487 echo "$as_me:$LINENO: result: no" >&5
7488 echo "${ECHO_T}no" >&6
7501 # Use C for the default configuration in the libtool script
7505 ac_cpp
='$CPP $CPPFLAGS'
7506 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7507 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7508 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7511 # Source file extension for C test sources.
7514 # Object file extension for compiled C test sources.
7518 # Code to be used in simple compile tests
7519 lt_simple_compile_test_code
="int some_variable = 0;"
7521 # Code to be used in simple link tests
7522 lt_simple_link_test_code
='int main(){return(0);}'
7530 # If no C compiler was specified, use CC.
7533 # If no C compiler flags were specified, use CFLAGS.
7534 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7536 # Allow CC to be a program name with arguments.
7539 # Save the default compiler, since it gets overwritten when the other
7540 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7541 compiler_DEFAULT
=$CC
7543 # save warnings/boilerplate of simple test code
7544 ac_outfile
=conftest.
$ac_objext
7545 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7546 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7547 _lt_compiler_boilerplate
=`cat conftest.err`
7550 ac_outfile
=conftest.
$ac_objext
7551 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7552 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7553 _lt_linker_boilerplate
=`cat conftest.err`
7558 ## There is no encapsulation within the following macros, do not change
7559 ## the running order or otherwise move them around unless you know exactly
7560 ## what you are doing...
7561 if test -n "$compiler"; then
7563 lt_prog_compiler_no_builtin_flag
=
7565 if test "$GCC" = yes; then
7566 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7568 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7569 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7570 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7571 echo $ECHO_N "(cached) $ECHO_C" >&6
7573 lt_cv_prog_compiler_rtti_exceptions
=no
7574 ac_outfile
=conftest.
$ac_objext
7575 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7576 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7577 # Insert the option either (1) after the last *FLAGS variable, or
7578 # (2) before a word containing "conftest.", or (3) at the end.
7579 # Note that $ac_compile itself does not contain backslashes and begins
7580 # with a dollar sign (not a hyphen), so the echo should work correctly.
7581 # The option is referenced via a variable to avoid confusing sed.
7582 lt_compile
=`echo "$ac_compile" | $SED \
7583 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7584 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7585 -e 's:$: $lt_compiler_flag:'`
7586 (eval echo "\"\$as_me:7586: $lt_compile\"" >&5)
7587 (eval "$lt_compile" 2>conftest.err
)
7589 cat conftest.err
>&5
7590 echo "$as_me:7590: \$? = $ac_status" >&5
7591 if (exit $ac_status) && test -s "$ac_outfile"; then
7592 # The compiler can only warn and ignore the option if not recognized
7593 # So say no if there are warnings other than the usual output.
7594 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7595 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7596 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7597 lt_cv_prog_compiler_rtti_exceptions
=yes
7603 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7604 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7606 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7607 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7619 lt_prog_compiler_wl
=
7620 lt_prog_compiler_pic
=
7621 lt_prog_compiler_static
=
7623 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7624 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7626 if test "$GCC" = yes; then
7627 lt_prog_compiler_wl
='-Wl,'
7628 lt_prog_compiler_static
='-static'
7632 # All AIX code is PIC.
7633 if test "$host_cpu" = ia64
; then
7634 # AIX 5 now supports IA64 processor
7635 lt_prog_compiler_static
='-Bstatic'
7640 if test "$host_cpu" = m68k
; then
7641 # FIXME: we need at least 68020 code to build shared libraries, but
7642 # adding the `-m68020' flag to GCC prevents building anything better,
7644 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7648 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7649 # PIC is the default for these OSes.
7652 mingw
* | cygwin
* | pw32
* | os2
*)
7653 # This hack is so that the source file can tell whether it is being
7654 # built for inclusion in a dll (and should export symbols for example).
7655 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7656 # (--disable-auto-import) libraries
7657 lt_prog_compiler_pic
='-DDLL_EXPORT'
7660 darwin
* | rhapsody
*)
7661 # PIC is the default on this platform
7662 # Common symbols not allowed in MH_DYLIB files
7663 lt_prog_compiler_pic
='-fno-common'
7667 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7674 lt_prog_compiler_pic
='-fPIC'
7680 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7681 # Instead, we relocate shared libraries at runtime.
7685 # Just because we use GCC doesn't mean we suddenly get shared libraries
7686 # on systems that don't support them.
7687 lt_prog_compiler_can_build_shared
=no
7692 # QNX uses GNU C++, but need to define -shared option too, otherwise
7694 lt_prog_compiler_pic
='-fPIC -shared'
7698 if test -d /usr
/nec
; then
7699 lt_prog_compiler_pic
=-Kconform_pic
7704 lt_prog_compiler_pic
='-fPIC'
7708 # PORTME Check for flag to pass linker flags through the system compiler.
7711 lt_prog_compiler_wl
='-Wl,'
7712 if test "$host_cpu" = ia64
; then
7713 # AIX 5 now supports IA64 processor
7714 lt_prog_compiler_static
='-Bstatic'
7716 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7720 # PIC is the default on this platform
7721 # Common symbols not allowed in MH_DYLIB files
7722 case $cc_basename in
7724 lt_prog_compiler_pic
='-qnocommon'
7725 lt_prog_compiler_wl
='-Wl,'
7730 mingw
* | cygwin
* | pw32
* | os2
*)
7731 # This hack is so that the source file can tell whether it is being
7732 # built for inclusion in a dll (and should export symbols for example).
7733 lt_prog_compiler_pic
='-DDLL_EXPORT'
7736 hpux9
* | hpux10
* | hpux11
*)
7737 lt_prog_compiler_wl
='-Wl,'
7738 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7745 lt_prog_compiler_pic
='+Z'
7748 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7749 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7752 irix5
* | irix6
* | nonstopux
*)
7753 lt_prog_compiler_wl
='-Wl,'
7754 # PIC (with -KPIC) is the default.
7755 lt_prog_compiler_static
='-non_shared'
7758 linux
* | k
*bsd
*-gnu)
7759 case $cc_basename in
7761 lt_prog_compiler_wl
='-Wl,'
7762 lt_prog_compiler_pic
='-KPIC'
7763 lt_prog_compiler_static
='-static'
7765 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7766 # Portland Group compilers (*not* the Pentium gcc compiler,
7767 # which looks to be a dead project)
7768 lt_prog_compiler_wl
='-Wl,'
7769 lt_prog_compiler_pic
='-fpic'
7770 lt_prog_compiler_static
='-Bstatic'
7773 lt_prog_compiler_wl
='-Wl,'
7774 # All Alpha code is PIC.
7775 lt_prog_compiler_static
='-non_shared'
7778 case `$CC -V 2>&1 | sed 5q` in
7781 lt_prog_compiler_pic
='-KPIC'
7782 lt_prog_compiler_static
='-Bstatic'
7783 lt_prog_compiler_wl
='-Wl,'
7786 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7787 lt_prog_compiler_pic
='-KPIC'
7788 lt_prog_compiler_static
='-Bstatic'
7789 lt_prog_compiler_wl
=''
7797 lt_prog_compiler_pic
='-KPIC'
7798 lt_prog_compiler_static
='-Bstatic'
7802 # QNX uses GNU C++, but need to define -shared option too, otherwise
7804 lt_prog_compiler_pic
='-fPIC -shared'
7807 osf3
* | osf4
* | osf5
*)
7808 lt_prog_compiler_wl
='-Wl,'
7809 # All OSF/1 code is PIC.
7810 lt_prog_compiler_static
='-non_shared'
7814 lt_prog_compiler_static
='-non_shared'
7818 lt_prog_compiler_pic
='-KPIC'
7819 lt_prog_compiler_static
='-Bstatic'
7820 case $cc_basename in
7822 lt_prog_compiler_wl
='-Qoption ld ';;
7824 lt_prog_compiler_wl
='-Wl,';;
7829 lt_prog_compiler_wl
='-Qoption ld '
7830 lt_prog_compiler_pic
='-PIC'
7831 lt_prog_compiler_static
='-Bstatic'
7834 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7835 lt_prog_compiler_wl
='-Wl,'
7836 lt_prog_compiler_pic
='-KPIC'
7837 lt_prog_compiler_static
='-Bstatic'
7841 if test -d /usr
/nec
;then
7842 lt_prog_compiler_pic
='-Kconform_pic'
7843 lt_prog_compiler_static
='-Bstatic'
7847 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7848 lt_prog_compiler_wl
='-Wl,'
7849 lt_prog_compiler_pic
='-KPIC'
7850 lt_prog_compiler_static
='-Bstatic'
7854 lt_prog_compiler_wl
='-Wl,'
7855 lt_prog_compiler_can_build_shared
=no
7859 lt_prog_compiler_pic
='-pic'
7860 lt_prog_compiler_static
='-Bstatic'
7864 lt_prog_compiler_can_build_shared
=no
7870 # For platforms which do not support PIC, -DPIC is meaningless:
7872 lt_prog_compiler_pic
=
7875 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7878 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7879 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7887 # Check to make sure the PIC flag actually works.
7889 if test -n "$lt_prog_compiler_pic"; then
7890 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7891 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7892 if test "${lt_prog_compiler_pic_works+set}" = set; then
7893 echo $ECHO_N "(cached) $ECHO_C" >&6
7895 lt_prog_compiler_pic_works
=no
7896 ac_outfile
=conftest.
$ac_objext
7897 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7898 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7899 # Insert the option either (1) after the last *FLAGS variable, or
7900 # (2) before a word containing "conftest.", or (3) at the end.
7901 # Note that $ac_compile itself does not contain backslashes and begins
7902 # with a dollar sign (not a hyphen), so the echo should work correctly.
7903 # The option is referenced via a variable to avoid confusing sed.
7904 lt_compile
=`echo "$ac_compile" | $SED \
7905 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7906 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7907 -e 's:$: $lt_compiler_flag:'`
7908 (eval echo "\"\$as_me:7908: $lt_compile\"" >&5)
7909 (eval "$lt_compile" 2>conftest.err
)
7911 cat conftest.err
>&5
7912 echo "$as_me:7912: \$? = $ac_status" >&5
7913 if (exit $ac_status) && test -s "$ac_outfile"; then
7914 # The compiler can only warn and ignore the option if not recognized
7915 # So say no if there are warnings other than the usual output.
7916 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7917 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7918 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7919 lt_prog_compiler_pic_works
=yes
7925 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7926 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7928 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7929 case $lt_prog_compiler_pic in
7931 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7934 lt_prog_compiler_pic
=
7935 lt_prog_compiler_can_build_shared
=no
7946 # Check to make sure the static flag actually works.
7948 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7949 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7950 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7951 if test "${lt_prog_compiler_static_works+set}" = set; then
7952 echo $ECHO_N "(cached) $ECHO_C" >&6
7954 lt_prog_compiler_static_works
=no
7955 save_LDFLAGS
="$LDFLAGS"
7956 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7957 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7958 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7959 # The linker can only warn and ignore the option if not recognized
7960 # So say no if there are warnings
7961 if test -s conftest.err
; then
7962 # Append any errors to the config.log.
7963 cat conftest.err
1>&5
7964 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7965 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7966 if diff conftest.exp conftest.er2
>/dev
/null
; then
7967 lt_prog_compiler_static_works
=yes
7970 lt_prog_compiler_static_works
=yes
7974 LDFLAGS
="$save_LDFLAGS"
7977 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7978 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7980 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7983 lt_prog_compiler_static
=
7992 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7993 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7994 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7995 echo $ECHO_N "(cached) $ECHO_C" >&6
7997 lt_cv_prog_compiler_c_o
=no
7998 $RM -r conftest
2>/dev
/null
8002 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8004 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8005 # Insert the option either (1) after the last *FLAGS variable, or
8006 # (2) before a word containing "conftest.", or (3) at the end.
8007 # Note that $ac_compile itself does not contain backslashes and begins
8008 # with a dollar sign (not a hyphen), so the echo should work correctly.
8009 lt_compile
=`echo "$ac_compile" | $SED \
8010 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8011 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8012 -e 's:$: $lt_compiler_flag:'`
8013 (eval echo "\"\$as_me:8013: $lt_compile\"" >&5)
8014 (eval "$lt_compile" 2>out
/conftest.err
)
8016 cat out
/conftest.err
>&5
8017 echo "$as_me:8017: \$? = $ac_status" >&5
8018 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8020 # The compiler can only warn and ignore the option if not recognized
8021 # So say no if there are warnings
8022 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8023 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8024 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8025 lt_cv_prog_compiler_c_o
=yes
8030 # SGI C++ compiler will create directory out/ii_files/ for
8031 # template instantiation
8032 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8033 $RM out
/* && rmdir out
8039 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8040 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8047 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8048 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8049 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8050 echo $ECHO_N "(cached) $ECHO_C" >&6
8052 lt_cv_prog_compiler_c_o
=no
8053 $RM -r conftest
2>/dev
/null
8057 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8059 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8060 # Insert the option either (1) after the last *FLAGS variable, or
8061 # (2) before a word containing "conftest.", or (3) at the end.
8062 # Note that $ac_compile itself does not contain backslashes and begins
8063 # with a dollar sign (not a hyphen), so the echo should work correctly.
8064 lt_compile
=`echo "$ac_compile" | $SED \
8065 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8066 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8067 -e 's:$: $lt_compiler_flag:'`
8068 (eval echo "\"\$as_me:8068: $lt_compile\"" >&5)
8069 (eval "$lt_compile" 2>out
/conftest.err
)
8071 cat out
/conftest.err
>&5
8072 echo "$as_me:8072: \$? = $ac_status" >&5
8073 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8075 # The compiler can only warn and ignore the option if not recognized
8076 # So say no if there are warnings
8077 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8078 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8079 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8080 lt_cv_prog_compiler_c_o
=yes
8085 # SGI C++ compiler will create directory out/ii_files/ for
8086 # template instantiation
8087 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8088 $RM out
/* && rmdir out
8094 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8095 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8100 hard_links
="nottested"
8101 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8102 # do not overwrite the value of need_locks provided by the user
8103 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8104 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8107 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8109 ln conftest.a conftest.b
2>&5 || hard_links
=no
8110 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8111 echo "$as_me:$LINENO: result: $hard_links" >&5
8112 echo "${ECHO_T}$hard_links" >&6
8113 if test "$hard_links" = no
; then
8114 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8115 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8127 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8128 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8131 allow_undefined_flag
=
8132 always_export_symbols
=no
8134 archive_expsym_cmds
=
8135 compiler_needs_object
=no
8136 enable_shared_with_static_runtimes
=no
8137 export_dynamic_flag_spec
=
8138 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8139 hardcode_automatic
=no
8141 hardcode_direct_absolute
=no
8142 hardcode_libdir_flag_spec
=
8143 hardcode_libdir_flag_spec_ld
=
8144 hardcode_libdir_separator
=
8146 hardcode_shlibpath_var
=unsupported
8148 link_all_deplibs
=unknown
8151 old_archive_from_new_cmds
=
8152 old_archive_from_expsyms_cmds
=
8153 thread_safe_flag_spec
=
8154 whole_archive_flag_spec
=
8155 # include_expsyms should be a list of space-separated symbols to be *always*
8156 # included in the symbol list
8158 # exclude_expsyms can be an extended regexp of symbols to exclude
8159 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8160 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8161 # as well as any symbol that contains `d'.
8162 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
8163 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8164 # platforms (ab)use it in PIC code, but their linkers get confused if
8165 # the symbol is explicitly referenced. Since portable code cannot
8166 # rely on this symbol name, it's probably fine to never include it in
8167 # preloaded symbol tables.
8168 extract_expsyms_cmds
=
8171 cygwin
* | mingw
* | pw32
*)
8172 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8173 # When not using gcc, we currently assume that we are using
8174 # Microsoft Visual C++.
8175 if test "$GCC" != yes; then
8180 # we just hope/assume this is gcc and not c89 (= MSVC++)
8189 if test "$with_gnu_ld" = yes; then
8190 # If archive_cmds runs LD, not CC, wlarc should be empty
8193 # Set some defaults for GNU ld with shared library support. These
8194 # are reset later if shared libraries are not supported. Putting them
8195 # here allows them to be overridden if necessary.
8196 runpath_var
=LD_RUN_PATH
8197 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8198 export_dynamic_flag_spec
='${wl}--export-dynamic'
8199 # ancient GNU ld didn't support --whole-archive et. al.
8200 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8201 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8203 whole_archive_flag_spec
=
8205 supports_anon_versioning
=no
8206 case `$LD -v 2>&1` in
8207 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8208 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8209 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8210 *\
2.11.
*) ;; # other 2.11 versions
8211 *) supports_anon_versioning
=yes ;;
8214 # See if GNU ld supports shared libraries.
8217 # On AIX/PPC, the GNU linker is very broken
8218 if test "$host_cpu" != ia64
; then
8222 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8223 *** to be unable to reliably create shared libraries on AIX.
8224 *** Therefore, libtool is disabling shared libraries support. If you
8225 *** really care for shared libraries, you may want to modify your PATH
8226 *** so that a non-GNU linker is found, and then restart.
8233 if test "$host_cpu" = m68k
; then
8234 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)'
8235 hardcode_libdir_flag_spec
='-L$libdir'
8236 hardcode_minus_L
=yes
8239 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8240 # that the semantics of dynamic libraries on AmigaOS, at least up
8241 # to version 4, is to share data among multiple programs linked
8242 # with the same dynamic library. Since this doesn't match the
8243 # behavior of shared libraries on other platforms, we can't use
8249 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8250 allow_undefined_flag
=unsupported
8251 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8252 # support --undefined. This deserves some investigation. FIXME
8253 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8259 cygwin
* | mingw
* | pw32
*)
8260 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8261 # as there is no search path for DLLs.
8262 hardcode_libdir_flag_spec
='-L$libdir'
8263 allow_undefined_flag
=unsupported
8264 always_export_symbols
=no
8265 enable_shared_with_static_runtimes
=yes
8266 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8268 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8269 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8270 # If the export-symbols file already is a .def file (1st line
8271 # is EXPORTS), use it as is; otherwise, prepend...
8272 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8273 cp $export_symbols $output_objdir/$soname.def;
8275 echo EXPORTS > $output_objdir/$soname.def;
8276 cat $export_symbols >> $output_objdir/$soname.def;
8278 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8286 hardcode_shlibpath_var
=no
8287 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8288 export_dynamic_flag_spec
='${wl}-E'
8289 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8290 # Instead, shared libraries are loaded at an image base (0x10000000 by
8291 # default) and relocated if they conflict, which is a slow very memory
8292 # consuming and fragmenting process. To avoid this, we pick a random,
8293 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8294 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8295 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8296 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'
8299 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8301 if test "$host_os" = linux-dietlibc
; then
8302 case $cc_basename in
8303 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8306 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8307 && test "$tmp_diet" = no
8310 case $cc_basename,$host_cpu in
8311 pgcc
*) # Portland Group C compiler
8312 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'
8313 tmp_addflag
=' $pic_flag'
8315 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8316 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'
8317 tmp_addflag
=' $pic_flag -Mnomain' ;;
8318 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8319 tmp_addflag
=' -i_dynamic' ;;
8320 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8321 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8322 ifc
* | ifort
*) # Intel Fortran compiler
8323 tmp_addflag
=' -nofor_main' ;;
8325 case `$CC -V 2>&1 | sed 5q` in
8326 *Sun\ C
*) # Sun C 5.9
8327 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'
8328 compiler_needs_object
=yes
8329 tmp_sharedflag
='-G' ;;
8330 *Sun\ F
*) # Sun Fortran 8.3
8331 tmp_sharedflag
='-G' ;;
8333 tmp_sharedflag
='-shared' ;;
8335 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8337 if test "x$supports_anon_versioning" = xyes
; then
8338 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8339 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8340 echo "local: *; };" >> $output_objdir/$libname.ver~
8341 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8349 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8350 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8353 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8354 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8359 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8363 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8364 *** create shared libraries on Solaris systems. Therefore, libtool
8365 *** is disabling shared libraries support. We urge you to upgrade GNU
8366 *** binutils to release 2.9.1 or newer. Another option is to modify
8367 *** your PATH or compiler configuration so that the native linker is
8368 *** used, and then restart.
8371 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8372 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8373 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8379 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8380 case `$LD -v 2>&1` in
8381 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8385 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8386 *** reliably create shared libraries on SCO systems. Therefore, libtool
8387 *** is disabling shared libraries support. We urge you to upgrade GNU
8388 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8389 *** your PATH or compiler configuration so that the native linker is
8390 *** used, and then restart.
8395 # For security reasons, it is highly recommended that you always
8396 # use absolute paths for naming shared libraries, and exclude the
8397 # DT_RUNPATH tag from executables and libraries. But doing so
8398 # requires that you compile everything twice, which is a pain.
8399 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8400 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8401 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8402 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8411 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8414 hardcode_shlibpath_var
=no
8418 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8419 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8420 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8427 if test "$ld_shlibs" = no
; then
8429 hardcode_libdir_flag_spec
=
8430 export_dynamic_flag_spec
=
8431 whole_archive_flag_spec
=
8434 # PORTME fill in a description of your system's linker (not GNU ld)
8437 allow_undefined_flag
=unsupported
8438 always_export_symbols
=yes
8439 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'
8440 # Note: this linker hardcodes the directories in LIBPATH if there
8441 # are no directories specified by -L.
8442 hardcode_minus_L
=yes
8443 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8444 # Neither direct hardcoding nor static linking is supported with a
8446 hardcode_direct
=unsupported
8451 if test "$host_cpu" = ia64
; then
8452 # On IA64, the linker does run time linking by default, so we don't
8453 # have to do anything special.
8454 aix_use_runtimelinking
=no
8455 exp_sym_flag
='-Bexport'
8458 # If we're using GNU nm, then we don't want the "-C" option.
8459 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8460 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8461 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'
8463 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'
8465 aix_use_runtimelinking
=no
8467 # Test if we are trying to use run time linking or normal
8468 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8469 # need to do runtime linking.
8470 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8471 for ld_flag
in $LDFLAGS; do
8472 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8473 aix_use_runtimelinking
=yes
8480 exp_sym_flag
='-bexport'
8481 no_entry_flag
='-bnoentry'
8484 # When large executables or shared objects are built, AIX ld can
8485 # have problems creating the table of contents. If linking a library
8486 # or program results in "error TOC overflow" add -mminimal-toc to
8487 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8488 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8492 hardcode_direct_absolute
=yes
8493 hardcode_libdir_separator
=':'
8494 link_all_deplibs
=yes
8495 file_list_spec
='${wl}-f,'
8497 if test "$GCC" = yes; then
8498 case $host_os in aix4.
[012]|aix4.
[012].
*)
8499 # We only want to do this on AIX 4.2 and lower, the check
8500 # below for broken collect2 doesn't work under 4.3+
8501 collect2name
=`${CC} -print-prog-name=collect2`
8502 if test -f "$collect2name" &&
8503 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8505 # We have reworked collect2
8508 # We have old collect2
8509 hardcode_direct
=unsupported
8510 # It fails to find uninstalled libraries when the uninstalled
8511 # path is not listed in the libpath. Setting hardcode_minus_L
8512 # to unsupported forces relinking
8513 hardcode_minus_L
=yes
8514 hardcode_libdir_flag_spec
='-L$libdir'
8515 hardcode_libdir_separator
=
8519 shared_flag
='-shared'
8520 if test "$aix_use_runtimelinking" = yes; then
8521 shared_flag
="$shared_flag "'${wl}-G'
8525 if test "$host_cpu" = ia64
; then
8526 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8527 # chokes on -Wl,-G. The following line is correct:
8530 if test "$aix_use_runtimelinking" = yes; then
8531 shared_flag
='${wl}-G'
8533 shared_flag
='${wl}-bM:SRE'
8538 # It seems that -bexpall does not export symbols beginning with
8539 # underscore (_), so it is better to generate a list of symbols to export.
8540 always_export_symbols
=yes
8541 if test "$aix_use_runtimelinking" = yes; then
8542 # Warning - without using the other runtime loading flags (-brtl),
8543 # -berok will link without error, but may produce a broken library.
8544 allow_undefined_flag
='-berok'
8545 # Determine the default libpath from the value encoded in an
8547 if test x
$gcc_no_link = xyes
; then
8548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8550 { (exit 1); exit 1; }; }
8552 cat >conftest.
$ac_ext <<_ACEOF
8555 cat confdefs.h
>>conftest.
$ac_ext
8556 cat >>conftest.
$ac_ext <<_ACEOF
8557 /* end confdefs.h. */
8567 rm -f conftest.
$ac_objext conftest
$ac_exeext
8568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8569 (eval $ac_link) 2>conftest.er1
8571 grep -v '^ *+' conftest.er1
>conftest.err
8573 cat conftest.err
>&5
8574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8575 (exit $ac_status); } &&
8576 { ac_try
='test -z "$ac_c_werror_flag"
8577 || test ! -s conftest.err'
8578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8582 (exit $ac_status); }; } &&
8583 { ac_try
='test -s conftest$ac_exeext'
8584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8588 (exit $ac_status); }; }; then
8590 lt_aix_libpath_sed
='
8591 /Import File Strings/,/^$/ {
8597 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8598 # Check for a 64-bit object if we didn't find anything.
8599 if test -z "$aix_libpath"; then
8600 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8603 echo "$as_me: failed program was:" >&5
8604 sed 's/^/| /' conftest.
$ac_ext >&5
8607 rm -f conftest.err conftest.
$ac_objext \
8608 conftest
$ac_exeext conftest.
$ac_ext
8609 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8611 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8612 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"
8614 if test "$host_cpu" = ia64
; then
8615 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8616 allow_undefined_flag
="-z nodefs"
8617 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"
8619 # Determine the default libpath from the value encoded in an
8621 if test x
$gcc_no_link = xyes
; then
8622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8624 { (exit 1); exit 1; }; }
8626 cat >conftest.
$ac_ext <<_ACEOF
8629 cat confdefs.h
>>conftest.
$ac_ext
8630 cat >>conftest.
$ac_ext <<_ACEOF
8631 /* end confdefs.h. */
8641 rm -f conftest.
$ac_objext conftest
$ac_exeext
8642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8643 (eval $ac_link) 2>conftest.er1
8645 grep -v '^ *+' conftest.er1
>conftest.err
8647 cat conftest.err
>&5
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); } &&
8650 { ac_try
='test -z "$ac_c_werror_flag"
8651 || test ! -s conftest.err'
8652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8656 (exit $ac_status); }; } &&
8657 { ac_try
='test -s conftest$ac_exeext'
8658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8662 (exit $ac_status); }; }; then
8664 lt_aix_libpath_sed
='
8665 /Import File Strings/,/^$/ {
8671 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8672 # Check for a 64-bit object if we didn't find anything.
8673 if test -z "$aix_libpath"; then
8674 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8677 echo "$as_me: failed program was:" >&5
8678 sed 's/^/| /' conftest.
$ac_ext >&5
8681 rm -f conftest.err conftest.
$ac_objext \
8682 conftest
$ac_exeext conftest.
$ac_ext
8683 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8685 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8686 # Warning - without using the other run time loading flags,
8687 # -berok will link without error, but may produce a broken library.
8688 no_undefined_flag
=' ${wl}-bernotok'
8689 allow_undefined_flag
=' ${wl}-berok'
8690 # Exported symbols can be pulled into shared objects from archives
8691 whole_archive_flag_spec
='$convenience'
8692 archive_cmds_need_lc
=yes
8693 # This is similar to how AIX traditionally builds its shared libraries.
8694 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'
8700 if test "$host_cpu" = m68k
; then
8701 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)'
8702 hardcode_libdir_flag_spec
='-L$libdir'
8703 hardcode_minus_L
=yes
8705 # see comment about different semantics on the GNU ld section
8710 export_dynamic_flag_spec
=-rdynamic
8713 cygwin
* | mingw
* | pw32
*)
8714 # When not using gcc, we currently assume that we are using
8715 # Microsoft Visual C++.
8716 # hardcode_libdir_flag_spec is actually meaningless, as there is
8717 # no search path for DLLs.
8718 hardcode_libdir_flag_spec
=' '
8719 allow_undefined_flag
=unsupported
8720 # Tell ltmain to make .lib files, not .a files.
8722 # Tell ltmain to make .dll files, not .so files.
8724 # FIXME: Setting linknames here is a bad hack.
8725 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8726 # The linker will automatically build a .lib file if we build a DLL.
8727 old_archive_from_new_cmds
='true'
8728 # FIXME: Should let the user specify the lib program.
8729 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8730 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8731 enable_shared_with_static_runtimes
=yes
8734 darwin
* | rhapsody
*)
8736 rhapsody
* | darwin1.
[012])
8737 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8740 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8742 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8745 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8750 archive_cmds_need_lc
=no
8752 hardcode_automatic
=yes
8753 hardcode_shlibpath_var
=unsupported
8754 whole_archive_flag_spec
=''
8755 link_all_deplibs
=yes
8756 if test "$GCC" = yes ; then
8757 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8758 echo $ECHO_N "(cached) $ECHO_C" >&6
8760 lt_cv_apple_cc_single_mod
=no
8761 if test -z "${LT_MULTI_MODULE}"; then
8762 # By default we will add the -single_module flag. You can override
8763 # by either setting the environment variable LT_MULTI_MODULE
8764 # non-empty at configure time, or by adding -multi-module to the
8766 echo "int foo(void){return 1;}" > conftest.c
8767 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8768 -dynamiclib ${wl}-single_module conftest.c
8769 if test -f libconftest.dylib
; then
8770 lt_cv_apple_cc_single_mod
=yes
8771 rm libconftest.dylib
8777 output_verbose_link_cmd
=echo
8778 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
8779 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8780 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}'
8782 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8783 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}'
8785 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8786 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}'
8788 case $cc_basename in
8790 output_verbose_link_cmd
=echo
8791 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8792 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8793 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8794 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}'
8795 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}'
8805 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8806 hardcode_libdir_flag_spec
='-L$libdir'
8807 hardcode_shlibpath_var
=no
8814 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8815 # support. Future versions do this automatically, but an explicit c++rt0.o
8816 # does not break anything, and helps significantly (at the cost of a little
8819 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8820 hardcode_libdir_flag_spec
='-R$libdir'
8822 hardcode_shlibpath_var
=no
8825 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8827 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8829 hardcode_minus_L
=yes
8830 hardcode_shlibpath_var
=no
8833 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8834 freebsd
* | dragonfly
*)
8835 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8836 hardcode_libdir_flag_spec
='-R$libdir'
8838 hardcode_shlibpath_var
=no
8842 if test "$GCC" = yes; then
8843 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'
8845 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'
8847 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8848 hardcode_libdir_separator
=:
8851 # hardcode_minus_L: Not really in the search PATH,
8852 # but as the default location of the library.
8853 hardcode_minus_L
=yes
8854 export_dynamic_flag_spec
='${wl}-E'
8858 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8859 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8861 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8863 if test "$with_gnu_ld" = no
; then
8864 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8865 hardcode_libdir_flag_spec_ld
='+b $libdir'
8866 hardcode_libdir_separator
=:
8868 hardcode_direct_absolute
=yes
8869 export_dynamic_flag_spec
='${wl}-E'
8870 # hardcode_minus_L: Not really in the search PATH,
8871 # but as the default location of the library.
8872 hardcode_minus_L
=yes
8877 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8880 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8883 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8886 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8892 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8895 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8898 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8902 if test "$with_gnu_ld" = no
; then
8903 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8904 hardcode_libdir_separator
=:
8909 hardcode_shlibpath_var
=no
8913 hardcode_direct_absolute
=yes
8914 export_dynamic_flag_spec
='${wl}-E'
8916 # hardcode_minus_L: Not really in the search PATH,
8917 # but as the default location of the library.
8918 hardcode_minus_L
=yes
8924 irix5
* | irix6
* | nonstopux
*)
8925 if test "$GCC" = yes; then
8926 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'
8927 # Try to use the -exported_symbol ld option, if it does not
8928 # work, assume that -exports_file does not work either and
8929 # implicitly export all symbols.
8930 save_LDFLAGS
="$LDFLAGS"
8931 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8932 if test x
$gcc_no_link = xyes
; then
8933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8935 { (exit 1); exit 1; }; }
8937 cat >conftest.
$ac_ext <<_ACEOF
8940 rm -f conftest.
$ac_objext conftest
$ac_exeext
8941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8942 (eval $ac_link) 2>conftest.er1
8944 grep -v '^ *+' conftest.er1
>conftest.err
8946 cat conftest.err
>&5
8947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948 (exit $ac_status); } &&
8949 { ac_try
='test -z "$ac_c_werror_flag"
8950 || test ! -s conftest.err'
8951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8955 (exit $ac_status); }; } &&
8956 { ac_try
='test -s conftest$ac_exeext'
8957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 (exit $ac_status); }; }; then
8962 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'
8965 echo "$as_me: failed program was:" >&5
8966 sed 's/^/| /' conftest.
$ac_ext >&5
8969 rm -f conftest.err conftest.
$ac_objext \
8970 conftest
$ac_exeext conftest.
$ac_ext
8971 LDFLAGS
="$save_LDFLAGS"
8973 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'
8974 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'
8976 archive_cmds_need_lc
='no'
8977 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8978 hardcode_libdir_separator
=:
8980 link_all_deplibs
=yes
8984 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8985 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8987 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8989 hardcode_libdir_flag_spec
='-R$libdir'
8991 hardcode_shlibpath_var
=no
8995 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8997 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8998 hardcode_libdir_separator
=:
8999 hardcode_shlibpath_var
=no
9007 hardcode_shlibpath_var
=no
9008 hardcode_direct_absolute
=yes
9009 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9010 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9011 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9012 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9013 export_dynamic_flag_spec
='${wl}-E'
9016 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9017 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9018 hardcode_libdir_flag_spec
='-R$libdir'
9021 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9022 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9029 hardcode_libdir_flag_spec
='-L$libdir'
9030 hardcode_minus_L
=yes
9031 allow_undefined_flag
=unsupported
9032 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'
9033 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9037 if test "$GCC" = yes; then
9038 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9039 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'
9041 allow_undefined_flag
=' -expect_unresolved \*'
9042 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'
9044 archive_cmds_need_lc
='no'
9045 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9046 hardcode_libdir_separator
=:
9049 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9050 if test "$GCC" = yes; then
9051 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9052 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'
9053 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9055 allow_undefined_flag
=' -expect_unresolved \*'
9056 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'
9057 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~
9058 $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'
9060 # Both c and cxx compiler support -rpath directly
9061 hardcode_libdir_flag_spec
='-rpath $libdir'
9063 archive_cmds_need_lc
='no'
9064 hardcode_libdir_separator
=:
9068 no_undefined_flag
=' -z defs'
9069 if test "$GCC" = yes; then
9071 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9072 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9073 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9075 case `$CC -V 2>&1` in
9078 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9079 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9080 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9084 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9085 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9086 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9090 hardcode_libdir_flag_spec
='-R$libdir'
9091 hardcode_shlibpath_var
=no
9093 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9095 # The compiler driver will combine and reorder linker options,
9096 # but understands `-z linker_flag'. GCC discards it without `$wl',
9097 # but is careful enough not to reorder.
9098 # Supported since Solaris 2.6 (maybe 2.5.1?)
9099 if test "$GCC" = yes; then
9100 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9102 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9106 link_all_deplibs
=yes
9110 if test "x$host_vendor" = xsequent
; then
9111 # Use $CC to link under sequent, because it throws in some extra .o
9112 # files that make .init and .fini sections work.
9113 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9115 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9117 hardcode_libdir_flag_spec
='-L$libdir'
9119 hardcode_minus_L
=yes
9120 hardcode_shlibpath_var
=no
9124 case $host_vendor in
9126 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9127 hardcode_direct
=yes # is this really true???
9130 ## LD is ld it makes a PLAMLIB
9131 ## CC just makes a GrossModule.
9132 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9133 reload_cmds
='$CC -r -o $output$reload_objs'
9137 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9138 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9141 runpath_var
='LD_RUN_PATH'
9142 hardcode_shlibpath_var
=no
9146 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9147 hardcode_shlibpath_var
=no
9148 export_dynamic_flag_spec
='-Bexport'
9152 if test -d /usr
/nec
; then
9153 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9154 hardcode_shlibpath_var
=no
9155 runpath_var
=LD_RUN_PATH
9156 hardcode_runpath_var
=yes
9161 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9162 no_undefined_flag
='${wl}-z,text'
9163 archive_cmds_need_lc
=no
9164 hardcode_shlibpath_var
=no
9165 runpath_var
='LD_RUN_PATH'
9167 if test "$GCC" = yes; then
9168 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9169 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9171 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9172 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9176 sysv5
* | sco3.2v5
* | sco5v6
*)
9177 # Note: We can NOT use -z defs as we might desire, because we do not
9178 # link with -lc, and that would cause any symbols used from libc to
9179 # always be unresolved, which means just about no library would
9180 # ever link correctly. If we're not using GNU ld we use -z text
9181 # though, which does catch some bad symbols but isn't as heavy-handed
9183 no_undefined_flag
='${wl}-z,text'
9184 allow_undefined_flag
='${wl}-z,nodefs'
9185 archive_cmds_need_lc
=no
9186 hardcode_shlibpath_var
=no
9187 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9188 hardcode_libdir_separator
=':'
9189 link_all_deplibs
=yes
9190 export_dynamic_flag_spec
='${wl}-Bexport'
9191 runpath_var
='LD_RUN_PATH'
9193 if test "$GCC" = yes; then
9194 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9195 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9197 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9198 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9203 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9204 hardcode_libdir_flag_spec
='-L$libdir'
9205 hardcode_shlibpath_var
=no
9213 if test x
$host_vendor = xsni
; then
9215 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9216 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9222 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9223 echo "${ECHO_T}$ld_shlibs" >&6
9224 test "$ld_shlibs" = no
&& can_build_shared
=no
9226 with_gnu_ld
=$with_gnu_ld
9243 # Do we need to explicitly link libc?
9245 case "x$archive_cmds_need_lc" in
9247 # Assume -lc should be added
9248 archive_cmds_need_lc
=yes
9250 if test "$enable_shared" = yes && test "$GCC" = yes; then
9251 case $archive_cmds in
9253 # FIXME: we may have to deal with multi-command sequences.
9256 # Test whether the compiler implicitly links with -lc since on some
9257 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9258 # to ld, don't add -lc before -lgcc.
9259 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9260 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9262 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9265 (eval $ac_compile) 2>&5
9267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9268 (exit $ac_status); } 2>conftest.err
; then
9271 libobjs
=conftest.
$ac_objext
9273 wl
=$lt_prog_compiler_wl
9274 pic_flag
=$lt_prog_compiler_pic
9280 lt_save_allow_undefined_flag
=$allow_undefined_flag
9281 allow_undefined_flag
=
9282 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9283 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286 (exit $ac_status); }
9288 archive_cmds_need_lc
=no
9290 archive_cmds_need_lc
=yes
9292 allow_undefined_flag
=$lt_save_allow_undefined_flag
9294 cat conftest.err
1>&5
9297 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9298 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9461 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9462 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9464 if test "$withGCC" = yes; then
9466 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9467 *) lt_awk_arg
="/^libraries:/" ;;
9469 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9470 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9471 # if the path contains ";" then we assume it to be the separator
9472 # otherwise default to the standard path separator (i.e. ":") - it is
9473 # assumed that no part of a normal pathname contains ";" but that should
9474 # okay in the real world where ";" in dirpaths is itself problematic.
9475 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9477 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9479 # Ok, now we have the path, separated by spaces, we can step through it
9480 # and add multilib dir if necessary.
9481 lt_tmp_lt_search_path_spec
=
9482 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9483 for lt_sys_path
in $lt_search_path_spec; do
9484 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9485 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9487 test -d "$lt_sys_path" && \
9488 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9491 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9492 BEGIN {RS=" "; FS="/|\n";} {
9495 for (lt_i = NF; lt_i > 0; lt_i--) {
9496 if ($lt_i != "" && $lt_i != ".") {
9497 if ($lt_i == "..") {
9500 if (lt_count == 0) {
9501 lt_foo="/" $lt_i lt_foo;
9508 if (lt_foo != "") { lt_freq[lt_foo]++; }
9509 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9511 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9513 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9516 libname_spec
='lib$name'
9524 shlibpath_overrides_runpath
=unknown
9526 dynamic_linker
="$host_os ld.so"
9527 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9528 need_lib_prefix
=unknown
9529 hardcode_into_libs
=no
9531 # when you set need_version to no, make sure it does not cause -set_version
9532 # flags to be left without arguments
9533 need_version
=unknown
9538 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9539 shlibpath_var
=LIBPATH
9541 # AIX 3 has no versioning support, so we append a major version to the name.
9542 soname_spec
='${libname}${release}${shared_ext}$major'
9549 hardcode_into_libs
=yes
9550 if test "$host_cpu" = ia64
; then
9551 # AIX 5 supports IA64
9552 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9553 shlibpath_var
=LD_LIBRARY_PATH
9555 # With GCC up to 2.95.x, collect2 would create an import file
9556 # for dependence libraries. The import file would start with
9557 # the line `#! .'. This would cause the generated library to
9558 # depend on `.', always an invalid library. This was fixed in
9559 # development snapshots of GCC prior to 3.0.
9561 aix4 | aix4.
[01] | aix4.
[01].
*)
9562 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9564 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9571 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9572 # soname into executable. Probably we can add versioning support to
9573 # collect2, so additional links can be useful in future.
9574 if test "$aix_use_runtimelinking" = yes; then
9575 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9576 # instead of lib<name>.a to let people know that these are not
9577 # typical AIX shared libraries.
9578 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9580 # We preserve .a as extension for shared libraries through AIX4.2
9581 # and later when we are not doing run time linking.
9582 library_names_spec
='${libname}${release}.a $libname.a'
9583 soname_spec
='${libname}${release}${shared_ext}$major'
9585 shlibpath_var
=LIBPATH
9590 if test "$host_cpu" = m68k
; then
9591 library_names_spec
='$libname.ixlibrary $libname.a'
9592 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9593 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'
9600 library_names_spec
='${libname}${shared_ext}'
9601 dynamic_linker
="$host_os ld.so"
9602 shlibpath_var
=LIBRARY_PATH
9608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9609 soname_spec
='${libname}${release}${shared_ext}$major'
9610 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9611 shlibpath_var
=LD_LIBRARY_PATH
9612 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9613 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9614 # the default ld.so.conf also contains /usr/contrib/lib and
9615 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9616 # libtool to hard-code these into programs
9619 cygwin
* | mingw
* | pw32
*)
9620 version_type
=windows
9625 case $withGCC,$host_os in
9626 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9627 library_names_spec
='$libname.dll.a'
9628 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9629 postinstall_cmds
='base_file=`basename \${file}`~
9630 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9631 dldir=$destdir/`dirname \$dlpath`~
9632 test -d \$dldir || mkdir -p \$dldir~
9633 $install_prog $dir/$dlname \$dldir/$dlname~
9634 chmod a+x \$dldir/$dlname~
9635 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9636 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9638 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9639 dlpath=$dir/\$dldll~
9641 shlibpath_overrides_runpath
=yes
9645 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9646 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9647 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9650 # MinGW DLLs use traditional 'lib' prefix
9651 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9652 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9653 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9654 # It is most probably a Windows format PATH printed by
9655 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9656 # path with ; separators, and with drive letters. We can handle the
9657 # drive letters (cygwin fileutils understands them), so leave them,
9658 # especially as we might pass files found there to a mingw objdump,
9659 # which wouldn't understand a cygwinified path. Ahh.
9660 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9662 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9666 # pw32 DLLs use 'pw' prefix rather than 'lib'
9667 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9673 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9676 dynamic_linker
='Win32 ld.exe'
9677 # FIXME: first we should search . and the directory the executable is in
9681 darwin
* | rhapsody
*)
9682 dynamic_linker
="$host_os dyld"
9686 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9687 soname_spec
='${libname}${release}${major}$shared_ext'
9688 shlibpath_overrides_runpath
=yes
9689 shlibpath_var
=DYLD_LIBRARY_PATH
9690 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9692 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9693 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9701 soname_spec
='${libname}${release}${shared_ext}$major'
9702 shlibpath_var
=LD_LIBRARY_PATH
9709 freebsd
* | dragonfly
*)
9710 # DragonFly does not have aout. When/if they implement a new
9711 # versioning mechanism, adjust this.
9712 if test -x /usr
/bin
/objformat
; then
9713 objformat
=`/usr/bin/objformat`
9716 freebsd
[123]*) objformat
=aout
;;
9720 version_type
=freebsd-
$objformat
9721 case $version_type in
9723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9728 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9732 shlibpath_var
=LD_LIBRARY_PATH
9735 shlibpath_overrides_runpath
=yes
9737 freebsd3.
[01]* | freebsdelf3.
[01]*)
9738 shlibpath_overrides_runpath
=yes
9739 hardcode_into_libs
=yes
9741 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9742 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9743 shlibpath_overrides_runpath
=no
9744 hardcode_into_libs
=yes
9746 *) # from 4.6 on, and DragonFly
9747 shlibpath_overrides_runpath
=yes
9748 hardcode_into_libs
=yes
9757 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9758 soname_spec
='${libname}${release}${shared_ext}$major'
9759 shlibpath_var
=LD_LIBRARY_PATH
9760 hardcode_into_libs
=yes
9763 hpux9
* | hpux10
* | hpux11
*)
9764 # Give a soname corresponding to the major version so that dld.sl refuses to
9765 # link against other versions.
9772 hardcode_into_libs
=yes
9773 dynamic_linker
="$host_os dld.so"
9774 shlibpath_var
=LD_LIBRARY_PATH
9775 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9777 soname_spec
='${libname}${release}${shared_ext}$major'
9778 if test "X$HPUX_IA64_MODE" = X32
; then
9779 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9781 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9783 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9787 hardcode_into_libs
=yes
9788 dynamic_linker
="$host_os dld.sl"
9789 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9790 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9792 soname_spec
='${libname}${release}${shared_ext}$major'
9793 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9794 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9798 dynamic_linker
="$host_os dld.sl"
9799 shlibpath_var
=SHLIB_PATH
9800 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9802 soname_spec
='${libname}${release}${shared_ext}$major'
9805 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9806 postinstall_cmds
='chmod 555 $lib'
9813 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9814 soname_spec
='${libname}${release}${shared_ext}$major'
9815 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9816 shlibpath_var
=LD_LIBRARY_PATH
9817 shlibpath_overrides_runpath
=no
9818 hardcode_into_libs
=yes
9821 irix5
* | irix6
* | nonstopux
*)
9823 nonstopux
*) version_type
=nonstopux
;;
9825 if test "$lt_cv_prog_gnu_ld" = yes; then
9833 soname_spec
='${libname}${release}${shared_ext}$major'
9834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9836 irix5
* | nonstopux
*)
9840 case $LD in # libtool.m4 will add one of these switches to LD
9841 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9842 libsuff
= shlibsuff
= libmagic
=32-bit;;
9843 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9844 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9845 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9846 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9847 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9851 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9852 shlibpath_overrides_runpath
=no
9853 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9854 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9855 hardcode_into_libs
=yes
9858 # No shared lib support for Linux oldld, aout, or coff.
9859 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9863 # This must be Linux ELF.
9864 linux
* | k
*bsd
*-gnu)
9868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9869 soname_spec
='${libname}${release}${shared_ext}$major'
9870 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9871 shlibpath_var
=LD_LIBRARY_PATH
9872 shlibpath_overrides_runpath
=no
9873 # Some binutils ld are patched to set DT_RUNPATH
9874 save_LDFLAGS
=$LDFLAGS
9876 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9877 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9878 if test x
$gcc_no_link = xyes
; then
9879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9881 { (exit 1); exit 1; }; }
9883 cat >conftest.
$ac_ext <<_ACEOF
9886 cat confdefs.h
>>conftest.
$ac_ext
9887 cat >>conftest.
$ac_ext <<_ACEOF
9888 /* end confdefs.h. */
9898 rm -f conftest.
$ac_objext conftest
$ac_exeext
9899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9900 (eval $ac_link) 2>conftest.er1
9902 grep -v '^ *+' conftest.er1
>conftest.err
9904 cat conftest.err
>&5
9905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9906 (exit $ac_status); } &&
9907 { ac_try
='test -z "$ac_c_werror_flag"
9908 || test ! -s conftest.err'
9909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9913 (exit $ac_status); }; } &&
9914 { ac_try
='test -s conftest$ac_exeext'
9915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919 (exit $ac_status); }; }; then
9920 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
9921 shlibpath_overrides_runpath
=yes
9925 echo "$as_me: failed program was:" >&5
9926 sed 's/^/| /' conftest.
$ac_ext >&5
9929 rm -f conftest.err conftest.
$ac_objext \
9930 conftest
$ac_exeext conftest.
$ac_ext
9931 LDFLAGS
=$save_LDFLAGS
9934 # This implies no fast_install, which is unacceptable.
9935 # Some rework will be needed to allow for fast_install
9936 # before this can be enabled.
9937 hardcode_into_libs
=yes
9939 # Append ld.so.conf contents to the search path
9940 if test -f /etc
/ld.so.conf
; then
9941 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' ' '`
9942 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9945 # We used to test for /lib/ld.so.1 and disable shared libraries on
9946 # powerpc, because MkLinux only supported shared libraries with the
9947 # GNU dynamic linker. Since this was broken with cross compilers,
9948 # most powerpc-linux boxes support dynamic linking these days and
9949 # people can always --disable-shared, the test was removed, and we
9950 # assume the GNU/Linux dynamic linker is in use.
9951 dynamic_linker
='GNU/Linux ld.so'
9958 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9960 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9961 dynamic_linker
='NetBSD (a.out) ld.so'
9963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9964 soname_spec
='${libname}${release}${shared_ext}$major'
9965 dynamic_linker
='NetBSD ld.elf_so'
9967 shlibpath_var
=LD_LIBRARY_PATH
9968 shlibpath_overrides_runpath
=yes
9969 hardcode_into_libs
=yes
9974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9975 shlibpath_var
=LD_LIBRARY_PATH
9976 shlibpath_overrides_runpath
=yes
9983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9984 soname_spec
='${libname}${release}${shared_ext}$major'
9985 shlibpath_var
=LD_LIBRARY_PATH
9986 shlibpath_overrides_runpath
=no
9987 hardcode_into_libs
=yes
9988 dynamic_linker
='ldqnx.so'
9993 sys_lib_dlsearch_path_spec
="/usr/lib"
9995 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9997 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9998 *) need_version
=no
;;
10000 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10001 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10002 shlibpath_var
=LD_LIBRARY_PATH
10003 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10005 openbsd2.
[89] | openbsd2.
[89].
*)
10006 shlibpath_overrides_runpath
=no
10009 shlibpath_overrides_runpath
=yes
10013 shlibpath_overrides_runpath
=yes
10018 libname_spec
='$name'
10021 library_names_spec
='$libname${shared_ext} $libname.a'
10022 dynamic_linker
='OS/2 ld.exe'
10023 shlibpath_var
=LIBPATH
10026 osf3
* | osf4
* | osf5
*)
10030 soname_spec
='${libname}${release}${shared_ext}$major'
10031 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10032 shlibpath_var
=LD_LIBRARY_PATH
10033 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10034 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10046 soname_spec
='${libname}${release}${shared_ext}$major'
10047 shlibpath_var
=LD_LIBRARY_PATH
10048 shlibpath_overrides_runpath
=yes
10049 hardcode_into_libs
=yes
10050 # ldd complains unless libraries are executable
10051 postinstall_cmds
='chmod +x $lib'
10056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10057 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10058 shlibpath_var
=LD_LIBRARY_PATH
10059 shlibpath_overrides_runpath
=yes
10060 if test "$with_gnu_ld" = yes; then
10068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10069 soname_spec
='${libname}${release}${shared_ext}$major'
10070 shlibpath_var
=LD_LIBRARY_PATH
10071 case $host_vendor in
10073 shlibpath_overrides_runpath
=no
10075 runpath_var
=LD_RUN_PATH
10083 shlibpath_overrides_runpath
=no
10084 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10090 if test -d /usr
/nec
;then
10092 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10093 soname_spec
='$libname${shared_ext}.$major'
10094 shlibpath_var
=LD_LIBRARY_PATH
10098 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10099 version_type
=freebsd-elf
10102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10103 soname_spec
='${libname}${release}${shared_ext}$major'
10104 shlibpath_var
=LD_LIBRARY_PATH
10105 shlibpath_overrides_runpath
=yes
10106 hardcode_into_libs
=yes
10107 if test "$with_gnu_ld" = yes; then
10108 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10110 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10113 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10117 sys_lib_dlsearch_path_spec
='/usr/lib'
10121 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10125 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10126 shlibpath_var
=LD_LIBRARY_PATH
10127 shlibpath_overrides_runpath
=no
10128 hardcode_into_libs
=yes
10133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10134 soname_spec
='${libname}${release}${shared_ext}$major'
10135 shlibpath_var
=LD_LIBRARY_PATH
10142 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10143 echo "${ECHO_T}$dynamic_linker" >&6
10144 test "$dynamic_linker" = no
&& can_build_shared
=no
10146 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10147 if test "$GCC" = yes; then
10148 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10237 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10238 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10240 if test -n "$hardcode_libdir_flag_spec" ||
10241 test -n "$runpath_var" ||
10242 test "X$hardcode_automatic" = "Xyes" ; then
10244 # We can hardcode non-existent directories.
10245 if test "$hardcode_direct" != no
&&
10246 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10247 # have to relink, otherwise we might link with an installed library
10248 # when we should be linking with a yet-to-be-installed one
10249 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10250 test "$hardcode_minus_L" != no
; then
10251 # Linking always hardcodes the temporary library directory.
10252 hardcode_action
=relink
10254 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10255 hardcode_action
=immediate
10258 # We cannot hardcode anything, or else we can only hardcode existing
10260 hardcode_action
=unsupported
10262 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10263 echo "${ECHO_T}$hardcode_action" >&6
10265 if test "$hardcode_action" = relink ||
10266 test "$inherit_rpath" = yes; then
10267 # Fast installation is not supported
10268 enable_fast_install
=no
10269 elif test "$shlibpath_overrides_runpath" = yes ||
10270 test "$enable_shared" = no
; then
10271 # Fast installation is not necessary
10272 enable_fast_install
=needless
10280 if test "x$enable_dlopen" != xyes
; then
10281 enable_dlopen
=unknown
10282 enable_dlopen_self
=unknown
10283 enable_dlopen_self_static
=unknown
10290 lt_cv_dlopen
="load_add_on"
10292 lt_cv_dlopen_self
=yes
10296 lt_cv_dlopen
="LoadLibrary"
10301 lt_cv_dlopen
="dlopen"
10306 # if libdl is installed we need to link against it
10307 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10308 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10309 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10310 echo $ECHO_N "(cached) $ECHO_C" >&6
10312 ac_check_lib_save_LIBS
=$LIBS
10314 if test x
$gcc_no_link = xyes
; then
10315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10317 { (exit 1); exit 1; }; }
10319 cat >conftest.
$ac_ext <<_ACEOF
10322 cat confdefs.h
>>conftest.
$ac_ext
10323 cat >>conftest.
$ac_ext <<_ACEOF
10324 /* end confdefs.h. */
10326 /* Override any gcc2 internal prototype to avoid an error. */
10330 /* We use char because int might match the return type of a gcc2
10331 builtin and then its argument prototype would still apply. */
10341 rm -f conftest.
$ac_objext conftest
$ac_exeext
10342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10343 (eval $ac_link) 2>conftest.er1
10345 grep -v '^ *+' conftest.er1
>conftest.err
10347 cat conftest.err
>&5
10348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349 (exit $ac_status); } &&
10350 { ac_try
='test -z "$ac_c_werror_flag"
10351 || test ! -s conftest.err'
10352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10353 (eval $ac_try) 2>&5
10355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356 (exit $ac_status); }; } &&
10357 { ac_try
='test -s conftest$ac_exeext'
10358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10359 (eval $ac_try) 2>&5
10361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362 (exit $ac_status); }; }; then
10363 ac_cv_lib_dl_dlopen
=yes
10365 echo "$as_me: failed program was:" >&5
10366 sed 's/^/| /' conftest.
$ac_ext >&5
10368 ac_cv_lib_dl_dlopen
=no
10370 rm -f conftest.err conftest.
$ac_objext \
10371 conftest
$ac_exeext conftest.
$ac_ext
10372 LIBS
=$ac_check_lib_save_LIBS
10374 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10375 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10376 if test $ac_cv_lib_dl_dlopen = yes; then
10377 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10380 lt_cv_dlopen
="dyld"
10382 lt_cv_dlopen_self
=yes
10389 echo "$as_me:$LINENO: checking for shl_load" >&5
10390 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10391 if test "${ac_cv_func_shl_load+set}" = set; then
10392 echo $ECHO_N "(cached) $ECHO_C" >&6
10394 if test x
$gcc_no_link = xyes
; then
10395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10397 { (exit 1); exit 1; }; }
10399 cat >conftest.
$ac_ext <<_ACEOF
10402 cat confdefs.h
>>conftest.
$ac_ext
10403 cat >>conftest.
$ac_ext <<_ACEOF
10404 /* end confdefs.h. */
10405 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10407 #define shl_load innocuous_shl_load
10409 /* System header to define __stub macros and hopefully few prototypes,
10410 which can conflict with char shl_load (); below.
10411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10412 <limits.h> exists even on freestanding compilers. */
10415 # include <limits.h>
10417 # include <assert.h>
10422 /* Override any gcc2 internal prototype to avoid an error. */
10427 /* We use char because int might match the return type of a gcc2
10428 builtin and then its argument prototype would still apply. */
10430 /* The GNU C library defines this for functions which it implements
10431 to always fail with ENOSYS. Some functions are actually named
10432 something starting with __ and the normal name is an alias. */
10433 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10436 char (*f) () = shl_load;
10445 return f != shl_load;
10450 rm -f conftest.
$ac_objext conftest
$ac_exeext
10451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10452 (eval $ac_link) 2>conftest.er1
10454 grep -v '^ *+' conftest.er1
>conftest.err
10456 cat conftest.err
>&5
10457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10458 (exit $ac_status); } &&
10459 { ac_try
='test -z "$ac_c_werror_flag"
10460 || test ! -s conftest.err'
10461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10462 (eval $ac_try) 2>&5
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); }; } &&
10466 { ac_try
='test -s conftest$ac_exeext'
10467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10468 (eval $ac_try) 2>&5
10470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10471 (exit $ac_status); }; }; then
10472 ac_cv_func_shl_load
=yes
10474 echo "$as_me: failed program was:" >&5
10475 sed 's/^/| /' conftest.
$ac_ext >&5
10477 ac_cv_func_shl_load
=no
10479 rm -f conftest.err conftest.
$ac_objext \
10480 conftest
$ac_exeext conftest.
$ac_ext
10482 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10483 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10484 if test $ac_cv_func_shl_load = yes; then
10485 lt_cv_dlopen
="shl_load"
10487 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10488 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10489 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10490 echo $ECHO_N "(cached) $ECHO_C" >&6
10492 ac_check_lib_save_LIBS
=$LIBS
10494 if test x
$gcc_no_link = xyes
; then
10495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10497 { (exit 1); exit 1; }; }
10499 cat >conftest.
$ac_ext <<_ACEOF
10502 cat confdefs.h
>>conftest.
$ac_ext
10503 cat >>conftest.
$ac_ext <<_ACEOF
10504 /* end confdefs.h. */
10506 /* Override any gcc2 internal prototype to avoid an error. */
10510 /* We use char because int might match the return type of a gcc2
10511 builtin and then its argument prototype would still apply. */
10521 rm -f conftest.
$ac_objext conftest
$ac_exeext
10522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10523 (eval $ac_link) 2>conftest.er1
10525 grep -v '^ *+' conftest.er1
>conftest.err
10527 cat conftest.err
>&5
10528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10529 (exit $ac_status); } &&
10530 { ac_try
='test -z "$ac_c_werror_flag"
10531 || test ! -s conftest.err'
10532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10533 (eval $ac_try) 2>&5
10535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10536 (exit $ac_status); }; } &&
10537 { ac_try
='test -s conftest$ac_exeext'
10538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10539 (eval $ac_try) 2>&5
10541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542 (exit $ac_status); }; }; then
10543 ac_cv_lib_dld_shl_load
=yes
10545 echo "$as_me: failed program was:" >&5
10546 sed 's/^/| /' conftest.
$ac_ext >&5
10548 ac_cv_lib_dld_shl_load
=no
10550 rm -f conftest.err conftest.
$ac_objext \
10551 conftest
$ac_exeext conftest.
$ac_ext
10552 LIBS
=$ac_check_lib_save_LIBS
10554 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10555 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10556 if test $ac_cv_lib_dld_shl_load = yes; then
10557 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
10559 echo "$as_me:$LINENO: checking for dlopen" >&5
10560 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10561 if test "${ac_cv_func_dlopen+set}" = set; then
10562 echo $ECHO_N "(cached) $ECHO_C" >&6
10564 if test x
$gcc_no_link = xyes
; then
10565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10567 { (exit 1); exit 1; }; }
10569 cat >conftest.
$ac_ext <<_ACEOF
10572 cat confdefs.h
>>conftest.
$ac_ext
10573 cat >>conftest.
$ac_ext <<_ACEOF
10574 /* end confdefs.h. */
10575 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10577 #define dlopen innocuous_dlopen
10579 /* System header to define __stub macros and hopefully few prototypes,
10580 which can conflict with char dlopen (); below.
10581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10582 <limits.h> exists even on freestanding compilers. */
10585 # include <limits.h>
10587 # include <assert.h>
10592 /* Override any gcc2 internal prototype to avoid an error. */
10597 /* We use char because int might match the return type of a gcc2
10598 builtin and then its argument prototype would still apply. */
10600 /* The GNU C library defines this for functions which it implements
10601 to always fail with ENOSYS. Some functions are actually named
10602 something starting with __ and the normal name is an alias. */
10603 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10606 char (*f) () = dlopen;
10615 return f != dlopen;
10620 rm -f conftest.
$ac_objext conftest
$ac_exeext
10621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10622 (eval $ac_link) 2>conftest.er1
10624 grep -v '^ *+' conftest.er1
>conftest.err
10626 cat conftest.err
>&5
10627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10628 (exit $ac_status); } &&
10629 { ac_try
='test -z "$ac_c_werror_flag"
10630 || test ! -s conftest.err'
10631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10632 (eval $ac_try) 2>&5
10634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10635 (exit $ac_status); }; } &&
10636 { ac_try
='test -s conftest$ac_exeext'
10637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10638 (eval $ac_try) 2>&5
10640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10641 (exit $ac_status); }; }; then
10642 ac_cv_func_dlopen
=yes
10644 echo "$as_me: failed program was:" >&5
10645 sed 's/^/| /' conftest.
$ac_ext >&5
10647 ac_cv_func_dlopen
=no
10649 rm -f conftest.err conftest.
$ac_objext \
10650 conftest
$ac_exeext conftest.
$ac_ext
10652 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10653 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10654 if test $ac_cv_func_dlopen = yes; then
10655 lt_cv_dlopen
="dlopen"
10657 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10658 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10659 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10660 echo $ECHO_N "(cached) $ECHO_C" >&6
10662 ac_check_lib_save_LIBS
=$LIBS
10664 if test x
$gcc_no_link = xyes
; then
10665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10667 { (exit 1); exit 1; }; }
10669 cat >conftest.
$ac_ext <<_ACEOF
10672 cat confdefs.h
>>conftest.
$ac_ext
10673 cat >>conftest.
$ac_ext <<_ACEOF
10674 /* end confdefs.h. */
10676 /* Override any gcc2 internal prototype to avoid an error. */
10680 /* We use char because int might match the return type of a gcc2
10681 builtin and then its argument prototype would still apply. */
10691 rm -f conftest.
$ac_objext conftest
$ac_exeext
10692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10693 (eval $ac_link) 2>conftest.er1
10695 grep -v '^ *+' conftest.er1
>conftest.err
10697 cat conftest.err
>&5
10698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10699 (exit $ac_status); } &&
10700 { ac_try
='test -z "$ac_c_werror_flag"
10701 || test ! -s conftest.err'
10702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10703 (eval $ac_try) 2>&5
10705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706 (exit $ac_status); }; } &&
10707 { ac_try
='test -s conftest$ac_exeext'
10708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10709 (eval $ac_try) 2>&5
10711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10712 (exit $ac_status); }; }; then
10713 ac_cv_lib_dl_dlopen
=yes
10715 echo "$as_me: failed program was:" >&5
10716 sed 's/^/| /' conftest.
$ac_ext >&5
10718 ac_cv_lib_dl_dlopen
=no
10720 rm -f conftest.err conftest.
$ac_objext \
10721 conftest
$ac_exeext conftest.
$ac_ext
10722 LIBS
=$ac_check_lib_save_LIBS
10724 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10725 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10726 if test $ac_cv_lib_dl_dlopen = yes; then
10727 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10729 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10730 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10731 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10732 echo $ECHO_N "(cached) $ECHO_C" >&6
10734 ac_check_lib_save_LIBS
=$LIBS
10735 LIBS
="-lsvld $LIBS"
10736 if test x
$gcc_no_link = xyes
; then
10737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10739 { (exit 1); exit 1; }; }
10741 cat >conftest.
$ac_ext <<_ACEOF
10744 cat confdefs.h
>>conftest.
$ac_ext
10745 cat >>conftest.
$ac_ext <<_ACEOF
10746 /* end confdefs.h. */
10748 /* Override any gcc2 internal prototype to avoid an error. */
10752 /* We use char because int might match the return type of a gcc2
10753 builtin and then its argument prototype would still apply. */
10763 rm -f conftest.
$ac_objext conftest
$ac_exeext
10764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10765 (eval $ac_link) 2>conftest.er1
10767 grep -v '^ *+' conftest.er1
>conftest.err
10769 cat conftest.err
>&5
10770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10771 (exit $ac_status); } &&
10772 { ac_try
='test -z "$ac_c_werror_flag"
10773 || test ! -s conftest.err'
10774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10775 (eval $ac_try) 2>&5
10777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10778 (exit $ac_status); }; } &&
10779 { ac_try
='test -s conftest$ac_exeext'
10780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10781 (eval $ac_try) 2>&5
10783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784 (exit $ac_status); }; }; then
10785 ac_cv_lib_svld_dlopen
=yes
10787 echo "$as_me: failed program was:" >&5
10788 sed 's/^/| /' conftest.
$ac_ext >&5
10790 ac_cv_lib_svld_dlopen
=no
10792 rm -f conftest.err conftest.
$ac_objext \
10793 conftest
$ac_exeext conftest.
$ac_ext
10794 LIBS
=$ac_check_lib_save_LIBS
10796 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10797 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10798 if test $ac_cv_lib_svld_dlopen = yes; then
10799 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10801 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10802 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10803 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10804 echo $ECHO_N "(cached) $ECHO_C" >&6
10806 ac_check_lib_save_LIBS
=$LIBS
10808 if test x
$gcc_no_link = xyes
; then
10809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10811 { (exit 1); exit 1; }; }
10813 cat >conftest.
$ac_ext <<_ACEOF
10816 cat confdefs.h
>>conftest.
$ac_ext
10817 cat >>conftest.
$ac_ext <<_ACEOF
10818 /* end confdefs.h. */
10820 /* Override any gcc2 internal prototype to avoid an error. */
10824 /* We use char because int might match the return type of a gcc2
10825 builtin and then its argument prototype would still apply. */
10835 rm -f conftest.
$ac_objext conftest
$ac_exeext
10836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10837 (eval $ac_link) 2>conftest.er1
10839 grep -v '^ *+' conftest.er1
>conftest.err
10841 cat conftest.err
>&5
10842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10843 (exit $ac_status); } &&
10844 { ac_try
='test -z "$ac_c_werror_flag"
10845 || test ! -s conftest.err'
10846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10847 (eval $ac_try) 2>&5
10849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850 (exit $ac_status); }; } &&
10851 { ac_try
='test -s conftest$ac_exeext'
10852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10853 (eval $ac_try) 2>&5
10855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856 (exit $ac_status); }; }; then
10857 ac_cv_lib_dld_dld_link
=yes
10859 echo "$as_me: failed program was:" >&5
10860 sed 's/^/| /' conftest.
$ac_ext >&5
10862 ac_cv_lib_dld_dld_link
=no
10864 rm -f conftest.err conftest.
$ac_objext \
10865 conftest
$ac_exeext conftest.
$ac_ext
10866 LIBS
=$ac_check_lib_save_LIBS
10868 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10869 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10870 if test $ac_cv_lib_dld_dld_link = yes; then
10871 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
10892 if test "x$lt_cv_dlopen" != xno
; then
10898 case $lt_cv_dlopen in
10900 save_CPPFLAGS
="$CPPFLAGS"
10901 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10903 save_LDFLAGS
="$LDFLAGS"
10904 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10907 LIBS
="$lt_cv_dlopen_libs $LIBS"
10909 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10910 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10911 if test "${lt_cv_dlopen_self+set}" = set; then
10912 echo $ECHO_N "(cached) $ECHO_C" >&6
10914 if test "$cross_compiling" = yes; then :
10915 lt_cv_dlopen_self
=cross
10917 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10918 lt_status
=$lt_dlunknown
10919 cat > conftest.
$ac_ext <<_LT_EOF
10920 #line 10920 "configure"
10921 #include "confdefs.h"
10930 # define LT_DLGLOBAL RTLD_GLOBAL
10933 # define LT_DLGLOBAL DL_GLOBAL
10935 # define LT_DLGLOBAL 0
10939 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10940 find out it does not work in some platform. */
10941 #ifndef LT_DLLAZY_OR_NOW
10943 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10946 # define LT_DLLAZY_OR_NOW DL_LAZY
10949 # define LT_DLLAZY_OR_NOW RTLD_NOW
10952 # define LT_DLLAZY_OR_NOW DL_NOW
10954 # define LT_DLLAZY_OR_NOW 0
10962 extern "C" void exit (int);
10965 void fnord() { int i=42;}
10968 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10969 int status = $lt_dlunknown;
10973 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10974 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10975 /* dlclose (self); */
10983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10984 (eval $ac_link) 2>&5
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10988 (.
/conftest
; exit; ) >&5 2>/dev
/null
10990 case x
$lt_status in
10991 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10992 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10993 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10996 # compilation failed
10997 lt_cv_dlopen_self
=no
11004 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11005 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11007 if test "x$lt_cv_dlopen_self" = xyes
; then
11008 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11009 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11010 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11011 if test "${lt_cv_dlopen_self_static+set}" = set; then
11012 echo $ECHO_N "(cached) $ECHO_C" >&6
11014 if test "$cross_compiling" = yes; then :
11015 lt_cv_dlopen_self_static
=cross
11017 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11018 lt_status
=$lt_dlunknown
11019 cat > conftest.
$ac_ext <<_LT_EOF
11020 #line 11020 "configure"
11021 #include "confdefs.h"
11030 # define LT_DLGLOBAL RTLD_GLOBAL
11033 # define LT_DLGLOBAL DL_GLOBAL
11035 # define LT_DLGLOBAL 0
11039 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11040 find out it does not work in some platform. */
11041 #ifndef LT_DLLAZY_OR_NOW
11043 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11046 # define LT_DLLAZY_OR_NOW DL_LAZY
11049 # define LT_DLLAZY_OR_NOW RTLD_NOW
11052 # define LT_DLLAZY_OR_NOW DL_NOW
11054 # define LT_DLLAZY_OR_NOW 0
11062 extern "C" void exit (int);
11065 void fnord() { int i=42;}
11068 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11069 int status = $lt_dlunknown;
11073 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11074 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11075 /* dlclose (self); */
11083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11084 (eval $ac_link) 2>&5
11086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11088 (.
/conftest
; exit; ) >&5 2>/dev
/null
11090 case x
$lt_status in
11091 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11092 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11093 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11096 # compilation failed
11097 lt_cv_dlopen_self_static
=no
11104 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11105 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11108 CPPFLAGS
="$save_CPPFLAGS"
11109 LDFLAGS
="$save_LDFLAGS"
11114 case $lt_cv_dlopen_self in
11115 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11116 *) enable_dlopen_self
=unknown
;;
11119 case $lt_cv_dlopen_self_static in
11120 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11121 *) enable_dlopen_self_static
=unknown
;;
11143 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11144 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11145 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11146 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11147 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11148 echo "$as_me:$LINENO: result: yes" >&5
11149 echo "${ECHO_T}yes" >&6
11151 # FIXME - insert some real tests, host_os isn't really good enough
11154 if test -n "$STRIP" ; then
11155 striplib
="$STRIP -x"
11156 old_striplib
="$STRIP -S"
11157 echo "$as_me:$LINENO: result: yes" >&5
11158 echo "${ECHO_T}yes" >&6
11160 echo "$as_me:$LINENO: result: no" >&5
11161 echo "${ECHO_T}no" >&6
11165 echo "$as_me:$LINENO: result: no" >&5
11166 echo "${ECHO_T}no" >&6
11182 # Report which library types will actually be built
11183 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11184 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11185 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11186 echo "${ECHO_T}$can_build_shared" >&6
11188 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11189 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11190 test "$can_build_shared" = "no" && enable_shared
=no
11192 # On AIX, shared libraries and static libraries use the same namespace, and
11193 # are all built from PIC.
11196 test "$enable_shared" = yes && enable_static
=no
11197 if test -n "$RANLIB"; then
11198 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11199 postinstall_cmds
='$RANLIB $lib'
11204 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11205 test "$enable_shared" = yes && enable_static
=no
11209 echo "$as_me:$LINENO: result: $enable_shared" >&5
11210 echo "${ECHO_T}$enable_shared" >&6
11212 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11213 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11214 # Make sure either enable_shared or enable_static is yes.
11215 test "$enable_shared" = yes || enable_static
=yes
11216 echo "$as_me:$LINENO: result: $enable_static" >&5
11217 echo "${ECHO_T}$enable_static" >&6
11224 ac_cpp
='$CPP $CPPFLAGS'
11225 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11226 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11227 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11233 ac_cpp
='$CXXCPP $CPPFLAGS'
11234 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11235 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11236 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11238 archive_cmds_need_lc_CXX
=no
11239 allow_undefined_flag_CXX
=
11240 always_export_symbols_CXX
=no
11241 archive_expsym_cmds_CXX
=
11242 compiler_needs_object_CXX
=no
11243 export_dynamic_flag_spec_CXX
=
11244 hardcode_direct_CXX
=no
11245 hardcode_direct_absolute_CXX
=no
11246 hardcode_libdir_flag_spec_CXX
=
11247 hardcode_libdir_flag_spec_ld_CXX
=
11248 hardcode_libdir_separator_CXX
=
11249 hardcode_minus_L_CXX
=no
11250 hardcode_shlibpath_var_CXX
=unsupported
11251 hardcode_automatic_CXX
=no
11252 inherit_rpath_CXX
=no
11254 module_expsym_cmds_CXX
=
11255 link_all_deplibs_CXX
=unknown
11256 old_archive_cmds_CXX
=$old_archive_cmds
11257 no_undefined_flag_CXX
=
11258 whole_archive_flag_spec_CXX
=
11259 enable_shared_with_static_runtimes_CXX
=no
11261 # Source file extension for C++ test sources.
11264 # Object file extension for compiled C++ test sources.
11268 # No sense in running all these tests if we already determined that
11269 # the CXX compiler isn't working. Some variables (like enable_shared)
11270 # are currently assumed to apply to all compilers on this platform,
11271 # and will be corrupted by setting them based on a non-working compiler.
11272 if test "$_lt_caught_CXX_error" != yes; then
11273 # Code to be used in simple compile tests
11274 lt_simple_compile_test_code
="int some_variable = 0;"
11276 # Code to be used in simple link tests
11277 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11279 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11286 # If no C compiler was specified, use CC.
11289 # If no C compiler flags were specified, use CFLAGS.
11290 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11292 # Allow CC to be a program name with arguments.
11296 # save warnings/boilerplate of simple test code
11297 ac_outfile
=conftest.
$ac_objext
11298 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11299 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11300 _lt_compiler_boilerplate
=`cat conftest.err`
11303 ac_outfile
=conftest.
$ac_objext
11304 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11305 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11306 _lt_linker_boilerplate
=`cat conftest.err`
11310 # Allow CC to be a program name with arguments.
11315 lt_save_with_gnu_ld
=$with_gnu_ld
11316 lt_save_path_LD
=$lt_cv_path_LD
11317 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11318 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11320 $as_unset lt_cv_prog_gnu_ld
11322 if test -n "${lt_cv_path_LDCXX+set}"; then
11323 lt_cv_path_LD
=$lt_cv_path_LDCXX
11325 $as_unset lt_cv_path_LD
11327 test -z "${LDCXX+set}" || LD
=$LDCXX
11331 for cc_temp
in $compiler""; do
11333 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11334 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11339 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11342 if test -n "$compiler"; then
11343 # We don't want -fno-exception when compiling C++ code, so set the
11344 # no_builtin_flag separately
11345 if test "$GXX" = yes; then
11346 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11348 lt_prog_compiler_no_builtin_flag_CXX
=
11351 if test "$GXX" = yes; then
11352 # Set up default GNU C++ configuration
11356 # Check whether --with-gnu-ld or --without-gnu-ld was given.
11357 if test "${with_gnu_ld+set}" = set; then
11358 withval
="$with_gnu_ld"
11359 test "$withval" = no || with_gnu_ld
=yes
11364 if test "$GCC" = yes; then
11365 # Check if gcc -print-prog-name=ld gives a path.
11366 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11367 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
11370 # gcc leaves a trailing carriage return which upsets mingw
11371 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11373 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11376 # Accept absolute paths.
11378 re_direlt
='/[^/][^/]*/\.\./'
11379 # Canonicalize the pathname of ld
11380 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11381 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11382 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11384 test -z "$LD" && LD
="$ac_prog"
11387 # If it fails, then pretend we aren't using GCC.
11391 # If it is relative, then search for the first ld in PATH.
11392 with_gnu_ld
=unknown
11395 elif test "$with_gnu_ld" = yes; then
11396 echo "$as_me:$LINENO: checking for GNU ld" >&5
11397 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11399 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11400 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11402 if test "${lt_cv_path_LD+set}" = set; then
11403 echo $ECHO_N "(cached) $ECHO_C" >&6
11405 if test -z "$LD"; then
11406 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11407 for ac_dir
in $PATH; do
11409 test -z "$ac_dir" && ac_dir
=.
11410 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11411 lt_cv_path_LD
="$ac_dir/$ac_prog"
11412 # Check to see if the program is GNU ld. I'd rather use --version,
11413 # but apparently some variants of GNU ld only accept -v.
11414 # Break only if it was the GNU/non-GNU ld that we prefer.
11415 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11416 *GNU
* |
*'with BFD'*)
11417 test "$with_gnu_ld" != no
&& break
11420 test "$with_gnu_ld" != yes && break
11427 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11431 LD
="$lt_cv_path_LD"
11432 if test -n "$LD"; then
11433 echo "$as_me:$LINENO: result: $LD" >&5
11434 echo "${ECHO_T}$LD" >&6
11436 echo "$as_me:$LINENO: result: no" >&5
11437 echo "${ECHO_T}no" >&6
11439 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11440 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11441 { (exit 1); exit 1; }; }
11442 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11443 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11444 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11445 echo $ECHO_N "(cached) $ECHO_C" >&6
11447 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11448 case `$LD -v 2>&1 </dev/null` in
11449 *GNU
* |
*'with BFD'*)
11450 lt_cv_prog_gnu_ld
=yes
11453 lt_cv_prog_gnu_ld
=no
11457 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11458 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11459 with_gnu_ld
=$lt_cv_prog_gnu_ld
11467 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11468 # archiving commands below assume that GNU ld is being used.
11469 if test "$with_gnu_ld" = yes; then
11470 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11471 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'
11473 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11474 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11476 # If archive_cmds runs LD, not CC, wlarc should be empty
11477 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11478 # investigate it a little bit more. (MM)
11481 # ancient GNU ld didn't support --whole-archive et. al.
11482 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11483 $GREP 'no-whole-archive' > /dev
/null
; then
11484 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11486 whole_archive_flag_spec_CXX
=
11492 # A generic and very simple default shared library creation
11493 # command for GNU C++ for the case where it uses the native
11494 # linker, instead of GNU ld. If possible, this setting should
11495 # overridden to take advantage of the native linker features on
11496 # the platform it is being used on.
11497 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11500 # Commands to make compiler produce verbose output that lists
11501 # what "hidden" libraries, object files and flags are used when
11502 # linking a shared library.
11503 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11511 # PORTME: fill in a description of your system's C++ link characteristics
11512 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11513 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11517 # FIXME: insert proper C++ library support
11521 if test "$host_cpu" = ia64
; then
11522 # On IA64, the linker does run time linking by default, so we don't
11523 # have to do anything special.
11524 aix_use_runtimelinking
=no
11525 exp_sym_flag
='-Bexport'
11528 aix_use_runtimelinking
=no
11530 # Test if we are trying to use run time linking or normal
11531 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11532 # need to do runtime linking.
11533 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11534 for ld_flag
in $LDFLAGS; do
11537 aix_use_runtimelinking
=yes
11545 exp_sym_flag
='-bexport'
11546 no_entry_flag
='-bnoentry'
11549 # When large executables or shared objects are built, AIX ld can
11550 # have problems creating the table of contents. If linking a library
11551 # or program results in "error TOC overflow" add -mminimal-toc to
11552 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11553 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11555 archive_cmds_CXX
=''
11556 hardcode_direct_CXX
=yes
11557 hardcode_direct_absolute_CXX
=yes
11558 hardcode_libdir_separator_CXX
=':'
11559 link_all_deplibs_CXX
=yes
11560 file_list_spec_CXX
='${wl}-f,'
11562 if test "$GXX" = yes; then
11563 case $host_os in aix4.
[012]|aix4.
[012].
*)
11564 # We only want to do this on AIX 4.2 and lower, the check
11565 # below for broken collect2 doesn't work under 4.3+
11566 collect2name
=`${CC} -print-prog-name=collect2`
11567 if test -f "$collect2name" &&
11568 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11570 # We have reworked collect2
11573 # We have old collect2
11574 hardcode_direct_CXX
=unsupported
11575 # It fails to find uninstalled libraries when the uninstalled
11576 # path is not listed in the libpath. Setting hardcode_minus_L
11577 # to unsupported forces relinking
11578 hardcode_minus_L_CXX
=yes
11579 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11580 hardcode_libdir_separator_CXX
=
11583 shared_flag
='-shared'
11584 if test "$aix_use_runtimelinking" = yes; then
11585 shared_flag
="$shared_flag "'${wl}-G'
11589 if test "$host_cpu" = ia64
; then
11590 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11591 # chokes on -Wl,-G. The following line is correct:
11594 if test "$aix_use_runtimelinking" = yes; then
11595 shared_flag
='${wl}-G'
11597 shared_flag
='${wl}-bM:SRE'
11602 # It seems that -bexpall does not export symbols beginning with
11603 # underscore (_), so it is better to generate a list of symbols to
11605 always_export_symbols_CXX
=yes
11606 if test "$aix_use_runtimelinking" = yes; then
11607 # Warning - without using the other runtime loading flags (-brtl),
11608 # -berok will link without error, but may produce a broken library.
11609 allow_undefined_flag_CXX
='-berok'
11610 # Determine the default libpath from the value encoded in an empty
11612 if test x
$gcc_no_link = xyes
; then
11613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11615 { (exit 1); exit 1; }; }
11617 cat >conftest.
$ac_ext <<_ACEOF
11620 cat confdefs.h
>>conftest.
$ac_ext
11621 cat >>conftest.
$ac_ext <<_ACEOF
11622 /* end confdefs.h. */
11632 rm -f conftest.
$ac_objext conftest
$ac_exeext
11633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11634 (eval $ac_link) 2>conftest.er1
11636 grep -v '^ *+' conftest.er1
>conftest.err
11638 cat conftest.err
>&5
11639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11640 (exit $ac_status); } &&
11641 { ac_try
='test -z "$ac_cxx_werror_flag"
11642 || test ! -s conftest.err'
11643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11644 (eval $ac_try) 2>&5
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); }; } &&
11648 { ac_try
='test -s conftest$ac_exeext'
11649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11650 (eval $ac_try) 2>&5
11652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11653 (exit $ac_status); }; }; then
11655 lt_aix_libpath_sed
='
11656 /Import File Strings/,/^$/ {
11662 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11663 # Check for a 64-bit object if we didn't find anything.
11664 if test -z "$aix_libpath"; then
11665 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11668 echo "$as_me: failed program was:" >&5
11669 sed 's/^/| /' conftest.
$ac_ext >&5
11672 rm -f conftest.err conftest.
$ac_objext \
11673 conftest
$ac_exeext conftest.
$ac_ext
11674 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11676 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11678 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"
11680 if test "$host_cpu" = ia64
; then
11681 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11682 allow_undefined_flag_CXX
="-z nodefs"
11683 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"
11685 # Determine the default libpath from the value encoded in an
11686 # empty executable.
11687 if test x
$gcc_no_link = xyes
; then
11688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11690 { (exit 1); exit 1; }; }
11692 cat >conftest.
$ac_ext <<_ACEOF
11695 cat confdefs.h
>>conftest.
$ac_ext
11696 cat >>conftest.
$ac_ext <<_ACEOF
11697 /* end confdefs.h. */
11707 rm -f conftest.
$ac_objext conftest
$ac_exeext
11708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11709 (eval $ac_link) 2>conftest.er1
11711 grep -v '^ *+' conftest.er1
>conftest.err
11713 cat conftest.err
>&5
11714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715 (exit $ac_status); } &&
11716 { ac_try
='test -z "$ac_cxx_werror_flag"
11717 || test ! -s conftest.err'
11718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11719 (eval $ac_try) 2>&5
11721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11722 (exit $ac_status); }; } &&
11723 { ac_try
='test -s conftest$ac_exeext'
11724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11725 (eval $ac_try) 2>&5
11727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11728 (exit $ac_status); }; }; then
11730 lt_aix_libpath_sed
='
11731 /Import File Strings/,/^$/ {
11737 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11738 # Check for a 64-bit object if we didn't find anything.
11739 if test -z "$aix_libpath"; then
11740 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11743 echo "$as_me: failed program was:" >&5
11744 sed 's/^/| /' conftest.
$ac_ext >&5
11747 rm -f conftest.err conftest.
$ac_objext \
11748 conftest
$ac_exeext conftest.
$ac_ext
11749 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11751 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11752 # Warning - without using the other run time loading flags,
11753 # -berok will link without error, but may produce a broken library.
11754 no_undefined_flag_CXX
=' ${wl}-bernotok'
11755 allow_undefined_flag_CXX
=' ${wl}-berok'
11756 # Exported symbols can be pulled into shared objects from archives
11757 whole_archive_flag_spec_CXX
='$convenience'
11758 archive_cmds_need_lc_CXX
=yes
11759 # This is similar to how AIX traditionally builds its shared
11761 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'
11767 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11768 allow_undefined_flag_CXX
=unsupported
11769 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11770 # support --undefined. This deserves some investigation. FIXME
11771 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11778 case $cc_basename in
11780 # FIXME: insert proper C++ library support
11786 cygwin
* | mingw
* | pw32
*)
11787 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11788 # as there is no search path for DLLs.
11789 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11790 allow_undefined_flag_CXX
=unsupported
11791 always_export_symbols_CXX
=no
11792 enable_shared_with_static_runtimes_CXX
=yes
11794 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11795 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'
11796 # If the export-symbols file already is a .def file (1st line
11797 # is EXPORTS), use it as is; otherwise, prepend...
11798 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11799 cp $export_symbols $output_objdir/$soname.def;
11801 echo EXPORTS > $output_objdir/$soname.def;
11802 cat $export_symbols >> $output_objdir/$soname.def;
11804 $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'
11809 darwin
* | rhapsody
*)
11811 rhapsody
* | darwin1.
[012])
11812 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
11815 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11817 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11820 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
11825 archive_cmds_need_lc_CXX
=no
11826 hardcode_direct_CXX
=no
11827 hardcode_automatic_CXX
=yes
11828 hardcode_shlibpath_var_CXX
=unsupported
11829 whole_archive_flag_spec_CXX
=''
11830 link_all_deplibs_CXX
=yes
11832 if test "$GXX" = yes ; then
11833 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11834 echo $ECHO_N "(cached) $ECHO_C" >&6
11836 lt_cv_apple_cc_single_mod
=no
11837 if test -z "${LT_MULTI_MODULE}"; then
11838 # By default we will add the -single_module flag. You can override
11839 # by either setting the environment variable LT_MULTI_MODULE
11840 # non-empty at configure time, or by adding -multi-module to the
11842 echo "int foo(void){return 1;}" > conftest.c
11843 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11844 -dynamiclib ${wl}-single_module conftest.c
11845 if test -f libconftest.dylib
; then
11846 lt_cv_apple_cc_single_mod
=yes
11847 rm libconftest.dylib
11849 rm conftest.
$ac_ext
11853 output_verbose_link_cmd
=echo
11854 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
11855 archive_cmds_CXX
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11856 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}'
11858 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'
11859 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}'
11861 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11862 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}'
11864 case $cc_basename in
11866 output_verbose_link_cmd
=echo
11867 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'
11868 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11869 # Don't fix this by using the ld -exported_symbols_list flag,
11870 # it doesn't exist in older darwin lds
11871 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}'
11872 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}'
11882 case $cc_basename in
11884 # FIXME: insert proper C++ library support
11888 # Green Hills C++ Compiler
11889 # FIXME: insert proper C++ library support
11893 # FIXME: insert proper C++ library support
11900 # C++ shared libraries reported to be fairly broken before
11906 archive_cmds_need_lc_CXX
=no
11909 freebsd
* | dragonfly
*)
11910 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11919 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11920 hardcode_libdir_separator_CXX
=:
11921 export_dynamic_flag_spec_CXX
='${wl}-E'
11922 hardcode_direct_CXX
=yes
11923 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11924 # but as the default
11925 # location of the library.
11927 case $cc_basename in
11929 # FIXME: insert proper C++ library support
11933 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'
11934 # Commands to make compiler produce verbose output that lists
11935 # what "hidden" libraries, object files and flags are used when
11936 # linking a shared library.
11938 # There doesn't appear to be a way to prevent this compiler from
11939 # explicitly linking system object files so we need to strip them
11940 # from the output so that they don't get included in the library
11942 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'
11945 if test "$GXX" = yes; then
11946 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'
11948 # FIXME: insert proper C++ library support
11956 if test $with_gnu_ld = no
; then
11957 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11958 hardcode_libdir_separator_CXX
=:
11964 export_dynamic_flag_spec_CXX
='${wl}-E'
11970 hardcode_direct_CXX
=no
11971 hardcode_shlibpath_var_CXX
=no
11974 hardcode_direct_CXX
=yes
11975 hardcode_direct_absolute_CXX
=yes
11976 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11977 # but as the default
11978 # location of the library.
11982 case $cc_basename in
11984 # FIXME: insert proper C++ library support
11990 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11993 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11996 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11999 # Commands to make compiler produce verbose output that lists
12000 # what "hidden" libraries, object files and flags are used when
12001 # linking a shared library.
12003 # There doesn't appear to be a way to prevent this compiler from
12004 # explicitly linking system object files so we need to strip them
12005 # from the output so that they don't get included in the library
12007 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'
12010 if test "$GXX" = yes; then
12011 if test $with_gnu_ld = no
; then
12014 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12017 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12020 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'
12025 # FIXME: insert proper C++ library support
12033 hardcode_direct_CXX
=no
12034 hardcode_shlibpath_var_CXX
=no
12035 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12036 export_dynamic_flag_spec_CXX
='${wl}-E'
12037 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12038 # Instead, shared libraries are loaded at an image base (0x10000000 by
12039 # default) and relocated if they conflict, which is a slow very memory
12040 # consuming and fragmenting process. To avoid this, we pick a random,
12041 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12042 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12043 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'
12044 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'
12047 case $cc_basename in
12050 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'
12052 # Archives containing C++ object files must be created using
12053 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12054 # necessary to make sure instantiated templates are included
12056 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12059 if test "$GXX" = yes; then
12060 if test "$with_gnu_ld" = no
; then
12061 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'
12063 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'
12066 link_all_deplibs_CXX
=yes
12069 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12070 hardcode_libdir_separator_CXX
=:
12071 inherit_rpath_CXX
=yes
12074 linux
* | k
*bsd
*-gnu)
12075 case $cc_basename in
12077 # Kuck and Associates, Inc. (KAI) C++ Compiler
12079 # KCC will only create a shared library if the output file
12080 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12081 # to its proper name (with version) after linking.
12082 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'
12083 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'
12084 # Commands to make compiler produce verbose output that lists
12085 # what "hidden" libraries, object files and flags are used when
12086 # linking a shared library.
12088 # There doesn't appear to be a way to prevent this compiler from
12089 # explicitly linking system object files so we need to strip them
12090 # from the output so that they don't get included in the library
12092 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'
12094 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12095 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12097 # Archives containing C++ object files must be created using
12098 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12099 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12104 # version 8.0 and above of icpc choke on multiply defined symbols
12105 # if we add $predep_objects and $postdep_objects, however 7.1 and
12106 # earlier do not add the objects themselves.
12107 case `$CC -V 2>&1` in
12109 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12110 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'
12112 *) # Version 8.0 or newer
12115 ia64
*) tmp_idyn
=' -i_dynamic';;
12117 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12118 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'
12121 archive_cmds_need_lc_CXX
=no
12122 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12123 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12124 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12127 # Portland Group C++ compiler
12130 prelink_cmds_CXX
='tpldir=Template.dir~
12132 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12133 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12134 old_archive_cmds_CXX
='tpldir=Template.dir~
12136 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12137 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12139 archive_cmds_CXX
='tpldir=Template.dir~
12141 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12142 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12143 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12145 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12146 $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'
12148 *) # Version 6 will use weak symbols
12149 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12150 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'
12154 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12155 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12156 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'
12160 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12161 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'
12163 runpath_var
=LD_RUN_PATH
12164 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12165 hardcode_libdir_separator_CXX
=:
12167 # Commands to make compiler produce verbose output that lists
12168 # what "hidden" libraries, object files and flags are used when
12169 # linking a shared library.
12171 # There doesn't appear to be a way to prevent this compiler from
12172 # explicitly linking system object files so we need to strip them
12173 # from the output so that they don't get included in the library
12175 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'
12178 case `$CC -V 2>&1 | sed 5q` in
12181 no_undefined_flag_CXX
=' -zdefs'
12182 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12183 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'
12184 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12185 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'
12186 compiler_needs_object_CXX
=yes
12188 # Not sure whether something based on
12189 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12191 output_verbose_link_cmd
='echo'
12193 # Archives containing C++ object files must be created using
12194 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12195 # necessary to make sure instantiated templates are included
12197 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12205 # FIXME: insert proper C++ library support
12210 # FIXME: insert proper C++ library support
12215 case $cc_basename in
12217 # FIXME: insert proper C++ library support
12221 # FIXME: insert proper C++ library support
12228 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12229 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12231 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12232 hardcode_direct_CXX
=yes
12233 hardcode_shlibpath_var_CXX
=no
12235 # Workaround some broken pre-1.5 toolchains
12236 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12244 # C++ shared libraries are fairly broken
12249 hardcode_direct_CXX
=yes
12250 hardcode_shlibpath_var_CXX
=no
12251 hardcode_direct_absolute_CXX
=yes
12252 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12253 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12254 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12255 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12256 export_dynamic_flag_spec_CXX
='${wl}-E'
12257 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12259 output_verbose_link_cmd
=echo
12262 osf3
* | osf4
* | osf5
*)
12263 case $cc_basename in
12265 # Kuck and Associates, Inc. (KAI) C++ Compiler
12267 # KCC will only create a shared library if the output file
12268 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12269 # to its proper name (with version) after linking.
12270 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'
12272 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12273 hardcode_libdir_separator_CXX
=:
12275 # Archives containing C++ object files must be created using
12276 # the KAI C++ compiler.
12278 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12279 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12283 # Rational C++ 2.4.1
12284 # FIXME: insert proper C++ library support
12290 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12291 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'
12292 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12295 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12296 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'
12297 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12298 echo "-hidden">> $lib.exp~
12299 $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~
12301 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12305 hardcode_libdir_separator_CXX
=:
12307 # Commands to make compiler produce verbose output that lists
12308 # what "hidden" libraries, object files and flags are used when
12309 # linking a shared library.
12311 # There doesn't appear to be a way to prevent this compiler from
12312 # explicitly linking system object files so we need to strip them
12313 # from the output so that they don't get included in the library
12315 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'
12318 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12319 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12322 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'
12325 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'
12329 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12330 hardcode_libdir_separator_CXX
=:
12332 # Commands to make compiler produce verbose output that lists
12333 # what "hidden" libraries, object files and flags are used when
12334 # linking a shared library.
12335 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12338 # FIXME: insert proper C++ library support
12346 # FIXME: insert proper C++ library support
12351 case $cc_basename in
12354 # FIXME: insert proper C++ library support
12359 # FIXME: insert proper C++ library support
12363 # FIXME: insert proper C++ library support
12370 case $cc_basename in
12372 # Sun C++ 4.2, 5.x and Centerline C++
12373 archive_cmds_need_lc_CXX
=yes
12374 no_undefined_flag_CXX
=' -zdefs'
12375 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12376 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12377 $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'
12379 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12380 hardcode_shlibpath_var_CXX
=no
12382 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12384 # The compiler driver will combine and reorder linker options,
12385 # but understands `-z linker_flag'.
12386 # Supported since Solaris 2.6 (maybe 2.5.1?)
12387 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12390 link_all_deplibs_CXX
=yes
12392 output_verbose_link_cmd
='echo'
12394 # Archives containing C++ object files must be created using
12395 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12396 # necessary to make sure instantiated templates are included
12398 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12401 # Green Hills C++ Compiler
12402 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12404 # The C++ compiler must be used to create the archive.
12405 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12408 # GNU C++ compiler with Solaris linker
12409 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12410 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12411 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12412 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12413 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12414 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12416 # Commands to make compiler produce verbose output that lists
12417 # what "hidden" libraries, object files and flags are used when
12418 # linking a shared library.
12419 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12421 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12423 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12424 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12425 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12427 # Commands to make compiler produce verbose output that lists
12428 # what "hidden" libraries, object files and flags are used when
12429 # linking a shared library.
12430 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12433 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12435 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12437 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12445 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12446 no_undefined_flag_CXX
='${wl}-z,text'
12447 archive_cmds_need_lc_CXX
=no
12448 hardcode_shlibpath_var_CXX
=no
12449 runpath_var
='LD_RUN_PATH'
12451 case $cc_basename in
12453 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12454 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12457 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12458 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12463 sysv5
* | sco3.2v5
* | sco5v6
*)
12464 # Note: We can NOT use -z defs as we might desire, because we do not
12465 # link with -lc, and that would cause any symbols used from libc to
12466 # always be unresolved, which means just about no library would
12467 # ever link correctly. If we're not using GNU ld we use -z text
12468 # though, which does catch some bad symbols but isn't as heavy-handed
12470 no_undefined_flag_CXX
='${wl}-z,text'
12471 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12472 archive_cmds_need_lc_CXX
=no
12473 hardcode_shlibpath_var_CXX
=no
12474 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12475 hardcode_libdir_separator_CXX
=':'
12476 link_all_deplibs_CXX
=yes
12477 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12478 runpath_var
='LD_RUN_PATH'
12480 case $cc_basename in
12482 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12483 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12486 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12487 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12493 case $cc_basename in
12495 # NonStop-UX NCC 3.20
12496 # FIXME: insert proper C++ library support
12500 # FIXME: insert proper C++ library support
12507 # FIXME: insert proper C++ library support
12512 # FIXME: insert proper C++ library support
12517 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12518 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12519 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12525 ## There is no encapsulation within the following macros, do not change
12526 ## the running order or otherwise move them around unless you know exactly
12527 ## what you are doing...
12528 # Dependencies to place before and after the object being linked:
12529 predep_objects_CXX
=
12530 postdep_objects_CXX
=
12533 compiler_lib_search_path_CXX
=
12535 cat > conftest.
$ac_ext <<_LT_EOF
12539 Foo (void) { a = 0; }
12545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12546 (eval $ac_compile) 2>&5
12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549 (exit $ac_status); }; then
12550 # Parse the compiler output and extract the necessary
12551 # objects, libraries and library flags.
12553 # Sentinel used to keep track of whether or not we are before
12554 # the conftest object file.
12555 pre_test_object_deps_done
=no
12557 # The `*' in the case matches for architectures that use `case' in
12558 # $output_verbose_cmd can trigger glob expansion during the loop
12559 # eval without this substitution.
12560 output_verbose_link_cmd
=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12562 for p
in `eval $output_verbose_link_cmd`; do
12566 # Some compilers place space between "-{L,R}" and the path.
12567 # Remove the space.
12568 if test $p = "-L" ||
12569 test $p = "-R"; then
12576 if test "$pre_test_object_deps_done" = no
; then
12579 # Internal compiler library paths should come after those
12580 # provided the user. The postdeps already come after the
12581 # user supplied libs so there is no need to process them.
12582 if test -z "$compiler_lib_search_path_CXX"; then
12583 compiler_lib_search_path_CXX
="${prev}${p}"
12585 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12588 # The "-l" case would never come before the object being
12589 # linked, so don't bother handling this case.
12592 if test -z "$postdeps_CXX"; then
12593 postdeps_CXX
="${prev}${p}"
12595 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12601 # This assumes that the test object file only shows up
12602 # once in the compiler output.
12603 if test "$p" = "conftest.$objext"; then
12604 pre_test_object_deps_done
=yes
12608 if test "$pre_test_object_deps_done" = no
; then
12609 if test -z "$predep_objects_CXX"; then
12610 predep_objects_CXX
="$p"
12612 predep_objects_CXX
="$predep_objects_CXX $p"
12615 if test -z "$postdep_objects_CXX"; then
12616 postdep_objects_CXX
="$p"
12618 postdep_objects_CXX
="$postdep_objects_CXX $p"
12623 *) ;; # Ignore the rest.
12631 echo "libtool.m4: error: problem compiling CXX test program"
12634 $RM -f confest.
$objext
12636 # PORTME: override above test on systems where it is broken
12639 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12640 # hack all around it, let's just trust "g++" to DTRT.
12641 predep_objects_CXX
=
12642 postdep_objects_CXX
=
12647 case `$CC -V 2>&1 | sed 5q` in
12651 # The more standards-conforming stlport4 library is
12652 # incompatible with the Cstd library. Avoid specifying
12653 # it if it's in CXXFLAGS. Ignore libCrun as
12654 # -library=stlport4 depends on it.
12655 case " $CXX $CXXFLAGS " in
12656 *" -library=stlport4 "*)
12657 solaris_use_stlport4
=yes
12661 if test "$solaris_use_stlport4" != yes; then
12662 postdeps_CXX
='-library=Cstd -library=Crun'
12669 case $cc_basename in
12671 # The more standards-conforming stlport4 library is
12672 # incompatible with the Cstd library. Avoid specifying
12673 # it if it's in CXXFLAGS. Ignore libCrun as
12674 # -library=stlport4 depends on it.
12675 case " $CXX $CXXFLAGS " in
12676 *" -library=stlport4 "*)
12677 solaris_use_stlport4
=yes
12681 # Adding this requires a known-good setup of shared libraries for
12682 # Sun compiler versions before 5.6, else PIC objects from an old
12683 # archive will be linked into the output, leading to subtle bugs.
12684 if test "$solaris_use_stlport4" != yes; then
12685 postdeps_CXX
='-library=Cstd -library=Crun'
12693 case " $postdeps_CXX " in
12694 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12722 lt_prog_compiler_wl_CXX
=
12723 lt_prog_compiler_pic_CXX
=
12724 lt_prog_compiler_static_CXX
=
12726 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12727 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12729 # C++ specific cases for pic, static, wl, etc.
12730 if test "$GXX" = yes; then
12731 lt_prog_compiler_wl_CXX
='-Wl,'
12732 lt_prog_compiler_static_CXX
='-static'
12736 # All AIX code is PIC.
12737 if test "$host_cpu" = ia64
; then
12738 # AIX 5 now supports IA64 processor
12739 lt_prog_compiler_static_CXX
='-Bstatic'
12743 if test "$host_cpu" = m68k
; then
12744 # FIXME: we need at least 68020 code to build shared libraries, but
12745 # adding the `-m68020' flag to GCC prevents building anything better,
12747 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12750 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12751 # PIC is the default for these OSes.
12753 mingw
* | cygwin
* | os2
* | pw32
*)
12754 # This hack is so that the source file can tell whether it is being
12755 # built for inclusion in a dll (and should export symbols for example).
12756 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12757 # (--disable-auto-import) libraries
12758 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12760 darwin
* | rhapsody
*)
12761 # PIC is the default on this platform
12762 # Common symbols not allowed in MH_DYLIB files
12763 lt_prog_compiler_pic_CXX
='-fno-common'
12766 # DJGPP does not support shared libraries at all
12767 lt_prog_compiler_pic_CXX
=
12770 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12771 # Instead, we relocate shared libraries at runtime.
12774 if test -d /usr
/nec
; then
12775 lt_prog_compiler_pic_CXX
=-Kconform_pic
12779 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12780 # not for PA HP-UX.
12785 lt_prog_compiler_pic_CXX
='-fPIC'
12790 # QNX uses GNU C++, but need to define -shared option too, otherwise
12791 # it will coredump.
12792 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12795 lt_prog_compiler_pic_CXX
='-fPIC'
12801 # All AIX code is PIC.
12802 if test "$host_cpu" = ia64
; then
12803 # AIX 5 now supports IA64 processor
12804 lt_prog_compiler_static_CXX
='-Bstatic'
12806 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12810 case $cc_basename in
12812 # Green Hills C++ Compiler
12813 # _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"
12818 # PIC is the default on this platform
12819 # Common symbols not allowed in MH_DYLIB files
12820 case $cc_basename in
12822 lt_prog_compiler_pic_CXX
='-qnocommon'
12823 lt_prog_compiler_wl_CXX
='-Wl,'
12828 case $cc_basename in
12830 lt_prog_compiler_pic_CXX
='-KPIC'
12833 # Green Hills C++ Compiler
12834 lt_prog_compiler_pic_CXX
='-pic'
12840 freebsd
* | dragonfly
*)
12841 # FreeBSD uses GNU C++
12843 hpux9
* | hpux10
* | hpux11
*)
12844 case $cc_basename in
12846 lt_prog_compiler_wl_CXX
='-Wl,'
12847 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12848 if test "$host_cpu" != ia64
; then
12849 lt_prog_compiler_pic_CXX
='+Z'
12853 lt_prog_compiler_wl_CXX
='-Wl,'
12854 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12860 lt_prog_compiler_pic_CXX
='+Z'
12869 # This is c89, which is MS Visual C++ (no shared libs)
12870 # Anyone wants to do a port?
12872 irix5
* | irix6
* | nonstopux
*)
12873 case $cc_basename in
12875 lt_prog_compiler_wl_CXX
='-Wl,'
12876 lt_prog_compiler_static_CXX
='-non_shared'
12877 # CC pic flag -KPIC is the default.
12883 linux
* | k
*bsd
*-gnu)
12884 case $cc_basename in
12887 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12888 lt_prog_compiler_pic_CXX
='-fPIC'
12892 lt_prog_compiler_wl_CXX
='-Wl,'
12893 lt_prog_compiler_pic_CXX
='-KPIC'
12894 lt_prog_compiler_static_CXX
='-static'
12897 # Portland Group C++ compiler
12898 lt_prog_compiler_wl_CXX
='-Wl,'
12899 lt_prog_compiler_pic_CXX
='-fpic'
12900 lt_prog_compiler_static_CXX
='-Bstatic'
12904 # Make sure the PIC flag is empty. It appears that all Alpha
12905 # Linux and Compaq Tru64 Unix objects are PIC.
12906 lt_prog_compiler_pic_CXX
=
12907 lt_prog_compiler_static_CXX
='-non_shared'
12910 case `$CC -V 2>&1 | sed 5q` in
12913 lt_prog_compiler_pic_CXX
='-KPIC'
12914 lt_prog_compiler_static_CXX
='-Bstatic'
12915 lt_prog_compiler_wl_CXX
='-Qoption ld '
12926 case $cc_basename in
12928 lt_prog_compiler_pic_CXX
='-W c,exportall'
12937 # QNX uses GNU C++, but need to define -shared option too, otherwise
12938 # it will coredump.
12939 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12941 osf3
* | osf4
* | osf5
*)
12942 case $cc_basename in
12944 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12947 # Rational C++ 2.4.1
12948 lt_prog_compiler_pic_CXX
='-pic'
12951 # Digital/Compaq C++
12952 lt_prog_compiler_wl_CXX
='-Wl,'
12953 # Make sure the PIC flag is empty. It appears that all Alpha
12954 # Linux and Compaq Tru64 Unix objects are PIC.
12955 lt_prog_compiler_pic_CXX
=
12956 lt_prog_compiler_static_CXX
='-non_shared'
12965 case $cc_basename in
12967 # Sun C++ 4.2, 5.x and Centerline C++
12968 lt_prog_compiler_pic_CXX
='-KPIC'
12969 lt_prog_compiler_static_CXX
='-Bstatic'
12970 lt_prog_compiler_wl_CXX
='-Qoption ld '
12973 # Green Hills C++ Compiler
12974 lt_prog_compiler_pic_CXX
='-PIC'
12981 case $cc_basename in
12984 lt_prog_compiler_pic_CXX
='-pic'
12985 lt_prog_compiler_static_CXX
='-Bstatic'
12989 lt_prog_compiler_pic_CXX
='-pic'
12995 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12996 case $cc_basename in
12998 lt_prog_compiler_wl_CXX
='-Wl,'
12999 lt_prog_compiler_pic_CXX
='-KPIC'
13000 lt_prog_compiler_static_CXX
='-Bstatic'
13005 case $cc_basename in
13007 # NonStop-UX NCC 3.20
13008 lt_prog_compiler_pic_CXX
='-KPIC'
13017 lt_prog_compiler_can_build_shared_CXX
=no
13023 # For platforms which do not support PIC, -DPIC is meaningless:
13025 lt_prog_compiler_pic_CXX
=
13028 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13031 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13032 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
13037 # Check to make sure the PIC flag actually works.
13039 if test -n "$lt_prog_compiler_pic_CXX"; then
13040 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13041 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
13042 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13043 echo $ECHO_N "(cached) $ECHO_C" >&6
13045 lt_prog_compiler_pic_works_CXX
=no
13046 ac_outfile
=conftest.
$ac_objext
13047 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13048 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13049 # Insert the option either (1) after the last *FLAGS variable, or
13050 # (2) before a word containing "conftest.", or (3) at the end.
13051 # Note that $ac_compile itself does not contain backslashes and begins
13052 # with a dollar sign (not a hyphen), so the echo should work correctly.
13053 # The option is referenced via a variable to avoid confusing sed.
13054 lt_compile
=`echo "$ac_compile" | $SED \
13055 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13056 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13057 -e 's:$: $lt_compiler_flag:'`
13058 (eval echo "\"\$as_me:13058: $lt_compile\"" >&5)
13059 (eval "$lt_compile" 2>conftest.err
)
13061 cat conftest.err
>&5
13062 echo "$as_me:13062: \$? = $ac_status" >&5
13063 if (exit $ac_status) && test -s "$ac_outfile"; then
13064 # The compiler can only warn and ignore the option if not recognized
13065 # So say no if there are warnings other than the usual output.
13066 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13067 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13068 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13069 lt_prog_compiler_pic_works_CXX
=yes
13075 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13076 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
13078 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
13079 case $lt_prog_compiler_pic_CXX in
13081 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13084 lt_prog_compiler_pic_CXX
=
13085 lt_prog_compiler_can_build_shared_CXX
=no
13093 # Check to make sure the static flag actually works.
13095 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13096 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13097 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13098 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
13099 echo $ECHO_N "(cached) $ECHO_C" >&6
13101 lt_prog_compiler_static_works_CXX
=no
13102 save_LDFLAGS
="$LDFLAGS"
13103 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13104 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13105 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13106 # The linker can only warn and ignore the option if not recognized
13107 # So say no if there are warnings
13108 if test -s conftest.err
; then
13109 # Append any errors to the config.log.
13110 cat conftest.err
1>&5
13111 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13112 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13113 if diff conftest.exp conftest.er2
>/dev
/null
; then
13114 lt_prog_compiler_static_works_CXX
=yes
13117 lt_prog_compiler_static_works_CXX
=yes
13121 LDFLAGS
="$save_LDFLAGS"
13124 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13125 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
13127 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
13130 lt_prog_compiler_static_CXX
=
13136 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13137 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13138 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13139 echo $ECHO_N "(cached) $ECHO_C" >&6
13141 lt_cv_prog_compiler_c_o_CXX
=no
13142 $RM -r conftest
2>/dev
/null
13146 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13148 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13149 # Insert the option either (1) after the last *FLAGS variable, or
13150 # (2) before a word containing "conftest.", or (3) at the end.
13151 # Note that $ac_compile itself does not contain backslashes and begins
13152 # with a dollar sign (not a hyphen), so the echo should work correctly.
13153 lt_compile
=`echo "$ac_compile" | $SED \
13154 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13155 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13156 -e 's:$: $lt_compiler_flag:'`
13157 (eval echo "\"\$as_me:13157: $lt_compile\"" >&5)
13158 (eval "$lt_compile" 2>out
/conftest.err
)
13160 cat out
/conftest.err
>&5
13161 echo "$as_me:13161: \$? = $ac_status" >&5
13162 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13164 # The compiler can only warn and ignore the option if not recognized
13165 # So say no if there are warnings
13166 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13167 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13168 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13169 lt_cv_prog_compiler_c_o_CXX
=yes
13174 # SGI C++ compiler will create directory out/ii_files/ for
13175 # template instantiation
13176 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13177 $RM out
/* && rmdir out
13183 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13184 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13188 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13189 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13190 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13191 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 lt_cv_prog_compiler_c_o_CXX
=no
13194 $RM -r conftest
2>/dev
/null
13198 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13200 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13201 # Insert the option either (1) after the last *FLAGS variable, or
13202 # (2) before a word containing "conftest.", or (3) at the end.
13203 # Note that $ac_compile itself does not contain backslashes and begins
13204 # with a dollar sign (not a hyphen), so the echo should work correctly.
13205 lt_compile
=`echo "$ac_compile" | $SED \
13206 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13207 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13208 -e 's:$: $lt_compiler_flag:'`
13209 (eval echo "\"\$as_me:13209: $lt_compile\"" >&5)
13210 (eval "$lt_compile" 2>out
/conftest.err
)
13212 cat out
/conftest.err
>&5
13213 echo "$as_me:13213: \$? = $ac_status" >&5
13214 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13216 # The compiler can only warn and ignore the option if not recognized
13217 # So say no if there are warnings
13218 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13219 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13220 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13221 lt_cv_prog_compiler_c_o_CXX
=yes
13226 # SGI C++ compiler will create directory out/ii_files/ for
13227 # template instantiation
13228 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13229 $RM out
/* && rmdir out
13235 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13236 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13241 hard_links
="nottested"
13242 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13243 # do not overwrite the value of need_locks provided by the user
13244 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13245 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13248 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13250 ln conftest.a conftest.b
2>&5 || hard_links
=no
13251 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13252 echo "$as_me:$LINENO: result: $hard_links" >&5
13253 echo "${ECHO_T}$hard_links" >&6
13254 if test "$hard_links" = no
; then
13255 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13256 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13265 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13266 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13268 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13271 # If we're using GNU nm, then we don't want the "-C" option.
13272 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13273 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13274 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'
13276 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'
13280 export_symbols_cmds_CXX
="$ltdll_cmds"
13283 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'
13286 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13290 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13291 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13292 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13294 with_gnu_ld_CXX
=$with_gnu_ld
13302 # Do we need to explicitly link libc?
13304 case "x$archive_cmds_need_lc_CXX" in
13306 # Assume -lc should be added
13307 archive_cmds_need_lc_CXX
=yes
13309 if test "$enable_shared" = yes && test "$GCC" = yes; then
13310 case $archive_cmds_CXX in
13312 # FIXME: we may have to deal with multi-command sequences.
13315 # Test whether the compiler implicitly links with -lc since on some
13316 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13317 # to ld, don't add -lc before -lgcc.
13318 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13319 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13321 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13324 (eval $ac_compile) 2>&5
13326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13327 (exit $ac_status); } 2>conftest.err
; then
13330 libobjs
=conftest.
$ac_objext
13332 wl
=$lt_prog_compiler_wl_CXX
13333 pic_flag
=$lt_prog_compiler_pic_CXX
13339 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13340 allow_undefined_flag_CXX
=
13341 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13342 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13345 (exit $ac_status); }
13347 archive_cmds_need_lc_CXX
=no
13349 archive_cmds_need_lc_CXX
=yes
13351 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13353 cat conftest.err
1>&5
13356 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13357 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
13427 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13428 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13430 library_names_spec
=
13431 libname_spec
='lib$name'
13435 postuninstall_cmds
=
13439 shlibpath_overrides_runpath
=unknown
13441 dynamic_linker
="$host_os ld.so"
13442 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13443 need_lib_prefix
=unknown
13444 hardcode_into_libs
=no
13446 # when you set need_version to no, make sure it does not cause -set_version
13447 # flags to be left without arguments
13448 need_version
=unknown
13453 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13454 shlibpath_var
=LIBPATH
13456 # AIX 3 has no versioning support, so we append a major version to the name.
13457 soname_spec
='${libname}${release}${shared_ext}$major'
13464 hardcode_into_libs
=yes
13465 if test "$host_cpu" = ia64
; then
13466 # AIX 5 supports IA64
13467 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13468 shlibpath_var
=LD_LIBRARY_PATH
13470 # With GCC up to 2.95.x, collect2 would create an import file
13471 # for dependence libraries. The import file would start with
13472 # the line `#! .'. This would cause the generated library to
13473 # depend on `.', always an invalid library. This was fixed in
13474 # development snapshots of GCC prior to 3.0.
13476 aix4 | aix4.
[01] | aix4.
[01].
*)
13477 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13479 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13482 can_build_shared
=no
13486 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13487 # soname into executable. Probably we can add versioning support to
13488 # collect2, so additional links can be useful in future.
13489 if test "$aix_use_runtimelinking" = yes; then
13490 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13491 # instead of lib<name>.a to let people know that these are not
13492 # typical AIX shared libraries.
13493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13495 # We preserve .a as extension for shared libraries through AIX4.2
13496 # and later when we are not doing run time linking.
13497 library_names_spec
='${libname}${release}.a $libname.a'
13498 soname_spec
='${libname}${release}${shared_ext}$major'
13500 shlibpath_var
=LIBPATH
13505 if test "$host_cpu" = m68k
; then
13506 library_names_spec
='$libname.ixlibrary $libname.a'
13507 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13508 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'
13515 library_names_spec
='${libname}${shared_ext}'
13516 dynamic_linker
="$host_os ld.so"
13517 shlibpath_var
=LIBRARY_PATH
13523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13524 soname_spec
='${libname}${release}${shared_ext}$major'
13525 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13526 shlibpath_var
=LD_LIBRARY_PATH
13527 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13528 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13529 # the default ld.so.conf also contains /usr/contrib/lib and
13530 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13531 # libtool to hard-code these into programs
13534 cygwin
* | mingw
* | pw32
*)
13535 version_type
=windows
13540 case $withGCC,$host_os in
13541 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13542 library_names_spec
='$libname.dll.a'
13543 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13544 postinstall_cmds
='base_file=`basename \${file}`~
13545 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13546 dldir=$destdir/`dirname \$dlpath`~
13547 test -d \$dldir || mkdir -p \$dldir~
13548 $install_prog $dir/$dlname \$dldir/$dlname~
13549 chmod a+x \$dldir/$dlname~
13550 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13551 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13553 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13554 dlpath=$dir/\$dldll~
13556 shlibpath_overrides_runpath
=yes
13560 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13561 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13562 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13565 # MinGW DLLs use traditional 'lib' prefix
13566 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13567 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13568 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
13569 # It is most probably a Windows format PATH printed by
13570 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13571 # path with ; separators, and with drive letters. We can handle the
13572 # drive letters (cygwin fileutils understands them), so leave them,
13573 # especially as we might pass files found there to a mingw objdump,
13574 # which wouldn't understand a cygwinified path. Ahh.
13575 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13577 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13581 # pw32 DLLs use 'pw' prefix rather than 'lib'
13582 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13588 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13591 dynamic_linker
='Win32 ld.exe'
13592 # FIXME: first we should search . and the directory the executable is in
13596 darwin
* | rhapsody
*)
13597 dynamic_linker
="$host_os dyld"
13598 version_type
=darwin
13601 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13602 soname_spec
='${libname}${release}${major}$shared_ext'
13603 shlibpath_overrides_runpath
=yes
13604 shlibpath_var
=DYLD_LIBRARY_PATH
13605 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13607 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13615 soname_spec
='${libname}${release}${shared_ext}$major'
13616 shlibpath_var
=LD_LIBRARY_PATH
13623 freebsd
* | dragonfly
*)
13624 # DragonFly does not have aout. When/if they implement a new
13625 # versioning mechanism, adjust this.
13626 if test -x /usr
/bin
/objformat
; then
13627 objformat
=`/usr/bin/objformat`
13630 freebsd
[123]*) objformat
=aout
;;
13631 *) objformat
=elf
;;
13634 version_type
=freebsd-
$objformat
13635 case $version_type in
13637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13642 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13646 shlibpath_var
=LD_LIBRARY_PATH
13649 shlibpath_overrides_runpath
=yes
13651 freebsd3.
[01]* | freebsdelf3.
[01]*)
13652 shlibpath_overrides_runpath
=yes
13653 hardcode_into_libs
=yes
13655 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13656 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13657 shlibpath_overrides_runpath
=no
13658 hardcode_into_libs
=yes
13660 *) # from 4.6 on, and DragonFly
13661 shlibpath_overrides_runpath
=yes
13662 hardcode_into_libs
=yes
13671 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13672 soname_spec
='${libname}${release}${shared_ext}$major'
13673 shlibpath_var
=LD_LIBRARY_PATH
13674 hardcode_into_libs
=yes
13677 hpux9
* | hpux10
* | hpux11
*)
13678 # Give a soname corresponding to the major version so that dld.sl refuses to
13679 # link against other versions.
13686 hardcode_into_libs
=yes
13687 dynamic_linker
="$host_os dld.so"
13688 shlibpath_var
=LD_LIBRARY_PATH
13689 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13691 soname_spec
='${libname}${release}${shared_ext}$major'
13692 if test "X$HPUX_IA64_MODE" = X32
; then
13693 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13695 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13697 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13701 hardcode_into_libs
=yes
13702 dynamic_linker
="$host_os dld.sl"
13703 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13704 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13706 soname_spec
='${libname}${release}${shared_ext}$major'
13707 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13708 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13712 dynamic_linker
="$host_os dld.sl"
13713 shlibpath_var
=SHLIB_PATH
13714 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13716 soname_spec
='${libname}${release}${shared_ext}$major'
13719 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13720 postinstall_cmds
='chmod 555 $lib'
13727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13728 soname_spec
='${libname}${release}${shared_ext}$major'
13729 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13730 shlibpath_var
=LD_LIBRARY_PATH
13731 shlibpath_overrides_runpath
=no
13732 hardcode_into_libs
=yes
13735 irix5
* | irix6
* | nonstopux
*)
13737 nonstopux
*) version_type
=nonstopux
;;
13739 if test "$lt_cv_prog_gnu_ld" = yes; then
13747 soname_spec
='${libname}${release}${shared_ext}$major'
13748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13750 irix5
* | nonstopux
*)
13751 libsuff
= shlibsuff
=
13754 case $LD in # libtool.m4 will add one of these switches to LD
13755 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13756 libsuff
= shlibsuff
= libmagic
=32-bit;;
13757 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13758 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13759 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13760 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13761 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13765 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13766 shlibpath_overrides_runpath
=no
13767 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13768 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13769 hardcode_into_libs
=yes
13772 # No shared lib support for Linux oldld, aout, or coff.
13773 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13777 # This must be Linux ELF.
13778 linux
* | k
*bsd
*-gnu)
13782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13783 soname_spec
='${libname}${release}${shared_ext}$major'
13784 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13785 shlibpath_var
=LD_LIBRARY_PATH
13786 shlibpath_overrides_runpath
=no
13787 # Some binutils ld are patched to set DT_RUNPATH
13788 save_LDFLAGS
=$LDFLAGS
13789 save_libdir
=$libdir
13790 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13791 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13792 if test x
$gcc_no_link = xyes
; then
13793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13795 { (exit 1); exit 1; }; }
13797 cat >conftest.
$ac_ext <<_ACEOF
13800 cat confdefs.h
>>conftest.
$ac_ext
13801 cat >>conftest.
$ac_ext <<_ACEOF
13802 /* end confdefs.h. */
13812 rm -f conftest.
$ac_objext conftest
$ac_exeext
13813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13814 (eval $ac_link) 2>conftest.er1
13816 grep -v '^ *+' conftest.er1
>conftest.err
13818 cat conftest.err
>&5
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 (exit $ac_status); } &&
13821 { ac_try
='test -z "$ac_cxx_werror_flag"
13822 || test ! -s conftest.err'
13823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13824 (eval $ac_try) 2>&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); }; } &&
13828 { ac_try
='test -s conftest$ac_exeext'
13829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13830 (eval $ac_try) 2>&5
13832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13833 (exit $ac_status); }; }; then
13834 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
13835 shlibpath_overrides_runpath
=yes
13839 echo "$as_me: failed program was:" >&5
13840 sed 's/^/| /' conftest.
$ac_ext >&5
13843 rm -f conftest.err conftest.
$ac_objext \
13844 conftest
$ac_exeext conftest.
$ac_ext
13845 LDFLAGS
=$save_LDFLAGS
13846 libdir
=$save_libdir
13848 # This implies no fast_install, which is unacceptable.
13849 # Some rework will be needed to allow for fast_install
13850 # before this can be enabled.
13851 hardcode_into_libs
=yes
13853 # Append ld.so.conf contents to the search path
13854 if test -f /etc
/ld.so.conf
; then
13855 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' ' '`
13856 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13859 # We used to test for /lib/ld.so.1 and disable shared libraries on
13860 # powerpc, because MkLinux only supported shared libraries with the
13861 # GNU dynamic linker. Since this was broken with cross compilers,
13862 # most powerpc-linux boxes support dynamic linking these days and
13863 # people can always --disable-shared, the test was removed, and we
13864 # assume the GNU/Linux dynamic linker is in use.
13865 dynamic_linker
='GNU/Linux ld.so'
13872 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13874 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13875 dynamic_linker
='NetBSD (a.out) ld.so'
13877 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13878 soname_spec
='${libname}${release}${shared_ext}$major'
13879 dynamic_linker
='NetBSD ld.elf_so'
13881 shlibpath_var
=LD_LIBRARY_PATH
13882 shlibpath_overrides_runpath
=yes
13883 hardcode_into_libs
=yes
13888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13889 shlibpath_var
=LD_LIBRARY_PATH
13890 shlibpath_overrides_runpath
=yes
13897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13898 soname_spec
='${libname}${release}${shared_ext}$major'
13899 shlibpath_var
=LD_LIBRARY_PATH
13900 shlibpath_overrides_runpath
=no
13901 hardcode_into_libs
=yes
13902 dynamic_linker
='ldqnx.so'
13907 sys_lib_dlsearch_path_spec
="/usr/lib"
13909 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13911 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13912 *) need_version
=no
;;
13914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13915 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13916 shlibpath_var
=LD_LIBRARY_PATH
13917 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13919 openbsd2.
[89] | openbsd2.
[89].
*)
13920 shlibpath_overrides_runpath
=no
13923 shlibpath_overrides_runpath
=yes
13927 shlibpath_overrides_runpath
=yes
13932 libname_spec
='$name'
13935 library_names_spec
='$libname${shared_ext} $libname.a'
13936 dynamic_linker
='OS/2 ld.exe'
13937 shlibpath_var
=LIBPATH
13940 osf3
* | osf4
* | osf5
*)
13944 soname_spec
='${libname}${release}${shared_ext}$major'
13945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13946 shlibpath_var
=LD_LIBRARY_PATH
13947 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13948 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13960 soname_spec
='${libname}${release}${shared_ext}$major'
13961 shlibpath_var
=LD_LIBRARY_PATH
13962 shlibpath_overrides_runpath
=yes
13963 hardcode_into_libs
=yes
13964 # ldd complains unless libraries are executable
13965 postinstall_cmds
='chmod +x $lib'
13970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13971 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13972 shlibpath_var
=LD_LIBRARY_PATH
13973 shlibpath_overrides_runpath
=yes
13974 if test "$with_gnu_ld" = yes; then
13982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13983 soname_spec
='${libname}${release}${shared_ext}$major'
13984 shlibpath_var
=LD_LIBRARY_PATH
13985 case $host_vendor in
13987 shlibpath_overrides_runpath
=no
13989 runpath_var
=LD_RUN_PATH
13997 shlibpath_overrides_runpath
=no
13998 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14004 if test -d /usr
/nec
;then
14006 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14007 soname_spec
='$libname${shared_ext}.$major'
14008 shlibpath_var
=LD_LIBRARY_PATH
14012 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14013 version_type
=freebsd-elf
14016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14017 soname_spec
='${libname}${release}${shared_ext}$major'
14018 shlibpath_var
=LD_LIBRARY_PATH
14019 shlibpath_overrides_runpath
=yes
14020 hardcode_into_libs
=yes
14021 if test "$with_gnu_ld" = yes; then
14022 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14024 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14027 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14031 sys_lib_dlsearch_path_spec
='/usr/lib'
14035 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14039 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14040 shlibpath_var
=LD_LIBRARY_PATH
14041 shlibpath_overrides_runpath
=no
14042 hardcode_into_libs
=yes
14047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14048 soname_spec
='${libname}${release}${shared_ext}$major'
14049 shlibpath_var
=LD_LIBRARY_PATH
14056 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14057 echo "${ECHO_T}$dynamic_linker" >&6
14058 test "$dynamic_linker" = no
&& can_build_shared
=no
14060 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14061 if test "$GCC" = yes; then
14062 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14100 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14101 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14102 hardcode_action_CXX
=
14103 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14104 test -n "$runpath_var_CXX" ||
14105 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14107 # We can hardcode non-existent directories.
14108 if test "$hardcode_direct_CXX" != no
&&
14109 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14110 # have to relink, otherwise we might link with an installed library
14111 # when we should be linking with a yet-to-be-installed one
14112 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14113 test "$hardcode_minus_L_CXX" != no
; then
14114 # Linking always hardcodes the temporary library directory.
14115 hardcode_action_CXX
=relink
14117 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14118 hardcode_action_CXX
=immediate
14121 # We cannot hardcode anything, or else we can only hardcode existing
14123 hardcode_action_CXX
=unsupported
14125 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14126 echo "${ECHO_T}$hardcode_action_CXX" >&6
14128 if test "$hardcode_action_CXX" = relink ||
14129 test "$inherit_rpath_CXX" = yes; then
14130 # Fast installation is not supported
14131 enable_fast_install
=no
14132 elif test "$shlibpath_overrides_runpath" = yes ||
14133 test "$enable_shared" = no
; then
14134 # Fast installation is not necessary
14135 enable_fast_install
=needless
14144 fi # test -n "$compiler"
14150 with_gnu_ld
=$lt_save_with_gnu_ld
14151 lt_cv_path_LDCXX
=$lt_cv_path_LD
14152 lt_cv_path_LD
=$lt_save_path_LD
14153 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14154 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14155 fi # test "$_lt_caught_CXX_error" != yes
14158 ac_cpp
='$CPP $CPPFLAGS'
14159 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14160 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14161 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14175 ac_config_commands
="$ac_config_commands libtool"
14180 # Only expand once:
14185 # Check whether --with-target-subdir or --without-target-subdir was given.
14186 if test "${with_target_subdir+set}" = set; then
14187 withval
="$with_target_subdir"
14191 # Check whether --with-cross-host or --without-cross-host was given.
14192 if test "${with_cross_host+set}" = set; then
14193 withval
="$with_cross_host"
14197 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
14198 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
14199 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
14200 if test -z "$THREADS"; then
14203 echo "$as_me:$LINENO: result: $THREADS" >&5
14204 echo "${ECHO_T}$THREADS" >&6
14206 # Check whether --enable-parallel-mark or --disable-parallel-mark was given.
14207 if test "${enable_parallel_mark+set}" = set; then
14208 enableval
="$enable_parallel_mark"
14210 no | none | single
)
14211 { { echo "$as_me:$LINENO: error: Parallel mark requires --enable-threads=x spec" >&5
14212 echo "$as_me: error: Parallel mark requires --enable-threads=x spec" >&2;}
14213 { (exit 1); exit 1; }; }
14219 AM_CPPFLAGS
="-I`cd $srcdir && ${PWDCMD-pwd}`/include"
14222 no | none | single
)
14225 posix | posix95 | pthreads
)
14227 THREADLIBS
=-lpthread
14229 x86-
*-linux* | ia64-
*-linux* | i586-
*-linux* | i686-
*-linux* | x86_64-
*-linux* | alpha-
*-linux*)
14231 cat >>confdefs.h
<<\_ACEOF
14232 #define GC_LINUX_THREADS 1
14236 cat >>confdefs.h
<<\_ACEOF
14237 #define _REENTRANT 1
14240 if test "${enable_parallel_mark}" = yes; then
14242 cat >>confdefs.h
<<\_ACEOF
14243 #define PARALLEL_MARK 1
14248 cat >>confdefs.h
<<\_ACEOF
14249 #define THREAD_LOCAL_ALLOC 1
14254 cat >>confdefs.h
<<\_ACEOF
14255 #define GC_LINUX_THREADS 1
14258 cat >>confdefs.h
<<\_ACEOF
14259 #define _REENTRANT 1
14265 cat >>confdefs.h
<<\_ACEOF
14266 #define GC_AIX_THREADS 1
14269 cat >>confdefs.h
<<\_ACEOF
14270 #define _REENTRANT 1
14275 { echo "$as_me:$LINENO: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&5
14276 echo "$as_me: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&2;}
14278 cat >>confdefs.h
<<\_ACEOF
14279 #define GC_HPUX_THREADS 1
14283 cat >>confdefs.h
<<\_ACEOF
14284 #define _POSIX_C_SOURCE 199506L
14287 if test "${enable_parallel_mark}" = yes; then
14288 cat >>confdefs.h
<<\_ACEOF
14289 #define PARALLEL_MARK 1
14293 cat >>confdefs.h
<<\_ACEOF
14294 #define THREAD_LOCAL_ALLOC 1
14297 THREADLIBS
="-lpthread -lrt"
14298 # HPUX needs REENTRANT for the _r calls.
14300 cat >>confdefs.h
<<\_ACEOF
14301 #define _REENTRANT 1
14306 { echo "$as_me:$LINENO: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&5
14307 echo "$as_me: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&2;}
14310 cat >>confdefs.h
<<\_ACEOF
14311 #define GC_FREEBSD_THREADS 1
14314 INCLUDES
="$INCLUDES -pthread"
14315 THREADDLLIBS
=-pthread
14316 cat >>confdefs.h
<<\_ACEOF
14317 #define _REENTRANT 1
14320 if test "${enable_parallel_mark}" = yes; then
14321 cat >>confdefs.h
<<\_ACEOF
14322 #define PARALLEL_MARK 1
14326 cat >>confdefs.h
<<\_ACEOF
14327 #define THREAD_LOCAL_ALLOC 1
14331 cat >>confdefs.h
<<\_ACEOF
14332 #define USE_COMPILER_TLS 1
14337 { echo "$as_me:$LINENO: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5
14338 echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
14340 cat >>confdefs.h
<<\_ACEOF
14341 #define GC_FREEBSD_THREADS 1
14344 AM_CPPFLAGS
="$AM_CPPFLAGS -pthread"
14345 THREADLIBS
=-pthread
14349 cat >>confdefs.h
<<\_ACEOF
14350 #define GC_SOLARIS_PTHREADS 1
14353 # Need to use alternate thread library, otherwise gctest hangs
14355 multi_os_directory
=`$CC -print-multi-os-directory`
14356 THREADLIBS
="-L/usr/lib/lwp/$multi_os_directory \
14357 -R/usr/lib/lwp/$multi_os_directory -lpthread -lthread -lrt"
14361 cat >>confdefs.h
<<\_ACEOF
14362 #define GC_IRIX_THREADS 1
14368 cat >>confdefs.h
<<\_ACEOF
14369 #define GC_WIN32_THREADS 1
14375 cat >>confdefs.h
<<\_ACEOF
14376 #define GC_DARWIN_THREADS 1
14379 cat >>confdefs.h
<<\_ACEOF
14380 #define THREAD_LOCAL_ALLOC 1
14383 if test "${enable_parallel_mark}" = yes; then
14384 cat >>confdefs.h
<<\_ACEOF
14385 #define PARALLEL_MARK 1
14392 cat >>confdefs.h
<<\_ACEOF
14393 #define GC_OSF1_THREADS 1
14396 if test "${enable_parallel_mark}" = yes; then
14397 cat >>confdefs.h
<<\_ACEOF
14398 #define PARALLEL_MARK 1
14401 cat >>confdefs.h
<<\_ACEOF
14402 #define THREAD_LOCAL_ALLOC 1
14405 # May want to enable it in other cases, too.
14406 # Measurements havent yet been done.
14408 AM_CPPFLAGS
="$AM_CPPFLAGS -pthread"
14409 THREADLIBS
="-lpthread -lrt"
14414 cat >>confdefs.h
<<\_ACEOF
14415 #define GC_WIN32_THREADS 1
14421 echo "$as_me:$LINENO: result: $THREADLIBS" >&5
14422 echo "${ECHO_T}$THREADLIBS" >&6
14423 # Use pthread GCC switch
14424 THREADLIBS
=-pthread
14425 if test "${enable_parallel_mark}" = yes; then
14426 cat >>confdefs.h
<<\_ACEOF
14427 #define PARALLEL_MARK 1
14431 cat >>confdefs.h
<<\_ACEOF
14432 #define THREAD_LOCAL_ALLOC 1
14436 cat >>confdefs.h
<<\_ACEOF
14437 #define GC_DGUX386_THREADS 1
14441 cat >>confdefs.h
<<\_ACEOF
14442 #define DGUX_THREADS 1
14445 # Enable _POSIX4A_DRAFT10_SOURCE with flag -pthread
14446 AM_CPPFLAGS
="-pthread $AM_CPPFLAGS"
14450 THREADLIBS
=-lpthread
14451 cat >>confdefs.h
<<\_ACEOF
14452 #define GC_AIX_THREADS 1
14455 cat >>confdefs.h
<<\_ACEOF
14456 #define _REENTRANT 1
14460 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
14461 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
14462 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
14463 { (exit 1); exit 1; }; }
14466 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
14467 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
14468 { (exit 1); exit 1; }; }
14475 powerpc_darwin
=true
14480 if test x
$powerpc_darwin = xtrue
; then
14481 POWERPC_DARWIN_TRUE
=
14482 POWERPC_DARWIN_FALSE
='#'
14484 POWERPC_DARWIN_TRUE
='#'
14485 POWERPC_DARWIN_FALSE
=
14489 # Darwin needs a few extra special tests to deal with variation in the
14492 powerpc
*-*-darwin*)
14493 echo "$as_me:$LINENO: checking for ppc_thread_state_t.r0" >&5
14494 echo $ECHO_N "checking for ppc_thread_state_t.r0... $ECHO_C" >&6
14495 if test "${ac_cv_member_ppc_thread_state_t_r0+set}" = set; then
14496 echo $ECHO_N "(cached) $ECHO_C" >&6
14498 cat >conftest.
$ac_ext <<_ACEOF
14501 cat confdefs.h
>>conftest.
$ac_ext
14502 cat >>conftest.
$ac_ext <<_ACEOF
14503 /* end confdefs.h. */
14504 #include <mach/thread_status.h>
14509 static ppc_thread_state_t ac_aggr;
14516 rm -f conftest.
$ac_objext
14517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14518 (eval $ac_compile) 2>conftest.er1
14520 grep -v '^ *+' conftest.er1
>conftest.err
14522 cat conftest.err
>&5
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); } &&
14525 { ac_try
='test -z "$ac_c_werror_flag"
14526 || test ! -s conftest.err'
14527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14528 (eval $ac_try) 2>&5
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); }; } &&
14532 { ac_try
='test -s conftest.$ac_objext'
14533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14534 (eval $ac_try) 2>&5
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); }; }; then
14538 ac_cv_member_ppc_thread_state_t_r0
=yes
14540 echo "$as_me: failed program was:" >&5
14541 sed 's/^/| /' conftest.
$ac_ext >&5
14543 cat >conftest.
$ac_ext <<_ACEOF
14546 cat confdefs.h
>>conftest.
$ac_ext
14547 cat >>conftest.
$ac_ext <<_ACEOF
14548 /* end confdefs.h. */
14549 #include <mach/thread_status.h>
14554 static ppc_thread_state_t ac_aggr;
14555 if (sizeof ac_aggr.r0)
14561 rm -f conftest.
$ac_objext
14562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14563 (eval $ac_compile) 2>conftest.er1
14565 grep -v '^ *+' conftest.er1
>conftest.err
14567 cat conftest.err
>&5
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); } &&
14570 { ac_try
='test -z "$ac_c_werror_flag"
14571 || test ! -s conftest.err'
14572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14573 (eval $ac_try) 2>&5
14575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14576 (exit $ac_status); }; } &&
14577 { ac_try
='test -s conftest.$ac_objext'
14578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14579 (eval $ac_try) 2>&5
14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582 (exit $ac_status); }; }; then
14583 ac_cv_member_ppc_thread_state_t_r0
=yes
14585 echo "$as_me: failed program was:" >&5
14586 sed 's/^/| /' conftest.
$ac_ext >&5
14588 ac_cv_member_ppc_thread_state_t_r0
=no
14590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14594 echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state_t_r0" >&5
14595 echo "${ECHO_T}$ac_cv_member_ppc_thread_state_t_r0" >&6
14596 if test $ac_cv_member_ppc_thread_state_t_r0 = yes; then
14598 cat >>confdefs.h
<<\_ACEOF
14599 #define HAS_PPC_THREAD_STATE_R0 1
14604 echo "$as_me:$LINENO: checking for ppc_thread_state_t.__r0" >&5
14605 echo $ECHO_N "checking for ppc_thread_state_t.__r0... $ECHO_C" >&6
14606 if test "${ac_cv_member_ppc_thread_state_t___r0+set}" = set; then
14607 echo $ECHO_N "(cached) $ECHO_C" >&6
14609 cat >conftest.
$ac_ext <<_ACEOF
14612 cat confdefs.h
>>conftest.
$ac_ext
14613 cat >>conftest.
$ac_ext <<_ACEOF
14614 /* end confdefs.h. */
14615 #include <mach/thread_status.h>
14620 static ppc_thread_state_t ac_aggr;
14627 rm -f conftest.
$ac_objext
14628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14629 (eval $ac_compile) 2>conftest.er1
14631 grep -v '^ *+' conftest.er1
>conftest.err
14633 cat conftest.err
>&5
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); } &&
14636 { ac_try
='test -z "$ac_c_werror_flag"
14637 || test ! -s conftest.err'
14638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14639 (eval $ac_try) 2>&5
14641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14642 (exit $ac_status); }; } &&
14643 { ac_try
='test -s conftest.$ac_objext'
14644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14645 (eval $ac_try) 2>&5
14647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14648 (exit $ac_status); }; }; then
14649 ac_cv_member_ppc_thread_state_t___r0
=yes
14651 echo "$as_me: failed program was:" >&5
14652 sed 's/^/| /' conftest.
$ac_ext >&5
14654 cat >conftest.
$ac_ext <<_ACEOF
14657 cat confdefs.h
>>conftest.
$ac_ext
14658 cat >>conftest.
$ac_ext <<_ACEOF
14659 /* end confdefs.h. */
14660 #include <mach/thread_status.h>
14665 static ppc_thread_state_t ac_aggr;
14666 if (sizeof ac_aggr.__r0)
14672 rm -f conftest.
$ac_objext
14673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14674 (eval $ac_compile) 2>conftest.er1
14676 grep -v '^ *+' conftest.er1
>conftest.err
14678 cat conftest.err
>&5
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 (exit $ac_status); } &&
14681 { ac_try
='test -z "$ac_c_werror_flag"
14682 || test ! -s conftest.err'
14683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14684 (eval $ac_try) 2>&5
14686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14687 (exit $ac_status); }; } &&
14688 { ac_try
='test -s conftest.$ac_objext'
14689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14690 (eval $ac_try) 2>&5
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); }; }; then
14694 ac_cv_member_ppc_thread_state_t___r0
=yes
14696 echo "$as_me: failed program was:" >&5
14697 sed 's/^/| /' conftest.
$ac_ext >&5
14699 ac_cv_member_ppc_thread_state_t___r0
=no
14701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14705 echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state_t___r0" >&5
14706 echo "${ECHO_T}$ac_cv_member_ppc_thread_state_t___r0" >&6
14707 if test $ac_cv_member_ppc_thread_state_t___r0 = yes; then
14709 cat >>confdefs.h
<<\_ACEOF
14710 #define HAS_PPC_THREAD_STATE___R0 1
14715 echo "$as_me:$LINENO: checking for ppc_thread_state64_t.r0" >&5
14716 echo $ECHO_N "checking for ppc_thread_state64_t.r0... $ECHO_C" >&6
14717 if test "${ac_cv_member_ppc_thread_state64_t_r0+set}" = set; then
14718 echo $ECHO_N "(cached) $ECHO_C" >&6
14720 cat >conftest.
$ac_ext <<_ACEOF
14723 cat confdefs.h
>>conftest.
$ac_ext
14724 cat >>conftest.
$ac_ext <<_ACEOF
14725 /* end confdefs.h. */
14726 #include <mach/thread_status.h>
14731 static ppc_thread_state64_t ac_aggr;
14738 rm -f conftest.
$ac_objext
14739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14740 (eval $ac_compile) 2>conftest.er1
14742 grep -v '^ *+' conftest.er1
>conftest.err
14744 cat conftest.err
>&5
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 (exit $ac_status); } &&
14747 { ac_try
='test -z "$ac_c_werror_flag"
14748 || test ! -s conftest.err'
14749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14750 (eval $ac_try) 2>&5
14752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14753 (exit $ac_status); }; } &&
14754 { ac_try
='test -s conftest.$ac_objext'
14755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14756 (eval $ac_try) 2>&5
14758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14759 (exit $ac_status); }; }; then
14760 ac_cv_member_ppc_thread_state64_t_r0
=yes
14762 echo "$as_me: failed program was:" >&5
14763 sed 's/^/| /' conftest.
$ac_ext >&5
14765 cat >conftest.
$ac_ext <<_ACEOF
14768 cat confdefs.h
>>conftest.
$ac_ext
14769 cat >>conftest.
$ac_ext <<_ACEOF
14770 /* end confdefs.h. */
14771 #include <mach/thread_status.h>
14776 static ppc_thread_state64_t ac_aggr;
14777 if (sizeof ac_aggr.r0)
14783 rm -f conftest.
$ac_objext
14784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14785 (eval $ac_compile) 2>conftest.er1
14787 grep -v '^ *+' conftest.er1
>conftest.err
14789 cat conftest.err
>&5
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); } &&
14792 { ac_try
='test -z "$ac_c_werror_flag"
14793 || test ! -s conftest.err'
14794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14795 (eval $ac_try) 2>&5
14797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798 (exit $ac_status); }; } &&
14799 { ac_try
='test -s conftest.$ac_objext'
14800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14801 (eval $ac_try) 2>&5
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); }; }; then
14805 ac_cv_member_ppc_thread_state64_t_r0
=yes
14807 echo "$as_me: failed program was:" >&5
14808 sed 's/^/| /' conftest.
$ac_ext >&5
14810 ac_cv_member_ppc_thread_state64_t_r0
=no
14812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14816 echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state64_t_r0" >&5
14817 echo "${ECHO_T}$ac_cv_member_ppc_thread_state64_t_r0" >&6
14818 if test $ac_cv_member_ppc_thread_state64_t_r0 = yes; then
14820 cat >>confdefs.h
<<\_ACEOF
14821 #define HAS_PPC_THREAD_STATE64_R0 1
14826 echo "$as_me:$LINENO: checking for ppc_thread_state64_t.__r0" >&5
14827 echo $ECHO_N "checking for ppc_thread_state64_t.__r0... $ECHO_C" >&6
14828 if test "${ac_cv_member_ppc_thread_state64_t___r0+set}" = set; then
14829 echo $ECHO_N "(cached) $ECHO_C" >&6
14831 cat >conftest.
$ac_ext <<_ACEOF
14834 cat confdefs.h
>>conftest.
$ac_ext
14835 cat >>conftest.
$ac_ext <<_ACEOF
14836 /* end confdefs.h. */
14837 #include <mach/thread_status.h>
14842 static ppc_thread_state64_t ac_aggr;
14849 rm -f conftest.
$ac_objext
14850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14851 (eval $ac_compile) 2>conftest.er1
14853 grep -v '^ *+' conftest.er1
>conftest.err
14855 cat conftest.err
>&5
14856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14857 (exit $ac_status); } &&
14858 { ac_try
='test -z "$ac_c_werror_flag"
14859 || test ! -s conftest.err'
14860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14861 (eval $ac_try) 2>&5
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); }; } &&
14865 { ac_try
='test -s conftest.$ac_objext'
14866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14867 (eval $ac_try) 2>&5
14869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14870 (exit $ac_status); }; }; then
14871 ac_cv_member_ppc_thread_state64_t___r0
=yes
14873 echo "$as_me: failed program was:" >&5
14874 sed 's/^/| /' conftest.
$ac_ext >&5
14876 cat >conftest.
$ac_ext <<_ACEOF
14879 cat confdefs.h
>>conftest.
$ac_ext
14880 cat >>conftest.
$ac_ext <<_ACEOF
14881 /* end confdefs.h. */
14882 #include <mach/thread_status.h>
14887 static ppc_thread_state64_t ac_aggr;
14888 if (sizeof ac_aggr.__r0)
14894 rm -f conftest.
$ac_objext
14895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14896 (eval $ac_compile) 2>conftest.er1
14898 grep -v '^ *+' conftest.er1
>conftest.err
14900 cat conftest.err
>&5
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); } &&
14903 { ac_try
='test -z "$ac_c_werror_flag"
14904 || test ! -s conftest.err'
14905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14906 (eval $ac_try) 2>&5
14908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14909 (exit $ac_status); }; } &&
14910 { ac_try
='test -s conftest.$ac_objext'
14911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14912 (eval $ac_try) 2>&5
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); }; }; then
14916 ac_cv_member_ppc_thread_state64_t___r0
=yes
14918 echo "$as_me: failed program was:" >&5
14919 sed 's/^/| /' conftest.
$ac_ext >&5
14921 ac_cv_member_ppc_thread_state64_t___r0
=no
14923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14927 echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state64_t___r0" >&5
14928 echo "${ECHO_T}$ac_cv_member_ppc_thread_state64_t___r0" >&6
14929 if test $ac_cv_member_ppc_thread_state64_t___r0 = yes; then
14931 cat >>confdefs.h
<<\_ACEOF
14932 #define HAS_PPC_THREAD_STATE64___R0 1
14939 echo "$as_me:$LINENO: checking for x86_thread_state32_t.eax" >&5
14940 echo $ECHO_N "checking for x86_thread_state32_t.eax... $ECHO_C" >&6
14941 if test "${ac_cv_member_x86_thread_state32_t_eax+set}" = set; then
14942 echo $ECHO_N "(cached) $ECHO_C" >&6
14944 cat >conftest.
$ac_ext <<_ACEOF
14947 cat confdefs.h
>>conftest.
$ac_ext
14948 cat >>conftest.
$ac_ext <<_ACEOF
14949 /* end confdefs.h. */
14950 #include <sys/cdefs.h>
14951 #include <mach/thread_status.h>
14956 static x86_thread_state32_t ac_aggr;
14963 rm -f conftest.
$ac_objext
14964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14965 (eval $ac_compile) 2>conftest.er1
14967 grep -v '^ *+' conftest.er1
>conftest.err
14969 cat conftest.err
>&5
14970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14971 (exit $ac_status); } &&
14972 { ac_try
='test -z "$ac_c_werror_flag"
14973 || test ! -s conftest.err'
14974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14975 (eval $ac_try) 2>&5
14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978 (exit $ac_status); }; } &&
14979 { ac_try
='test -s conftest.$ac_objext'
14980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14981 (eval $ac_try) 2>&5
14983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14984 (exit $ac_status); }; }; then
14985 ac_cv_member_x86_thread_state32_t_eax
=yes
14987 echo "$as_me: failed program was:" >&5
14988 sed 's/^/| /' conftest.
$ac_ext >&5
14990 cat >conftest.
$ac_ext <<_ACEOF
14993 cat confdefs.h
>>conftest.
$ac_ext
14994 cat >>conftest.
$ac_ext <<_ACEOF
14995 /* end confdefs.h. */
14996 #include <sys/cdefs.h>
14997 #include <mach/thread_status.h>
15002 static x86_thread_state32_t ac_aggr;
15003 if (sizeof ac_aggr.eax)
15009 rm -f conftest.
$ac_objext
15010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15011 (eval $ac_compile) 2>conftest.er1
15013 grep -v '^ *+' conftest.er1
>conftest.err
15015 cat conftest.err
>&5
15016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15017 (exit $ac_status); } &&
15018 { ac_try
='test -z "$ac_c_werror_flag"
15019 || test ! -s conftest.err'
15020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15021 (eval $ac_try) 2>&5
15023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024 (exit $ac_status); }; } &&
15025 { ac_try
='test -s conftest.$ac_objext'
15026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15027 (eval $ac_try) 2>&5
15029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15030 (exit $ac_status); }; }; then
15031 ac_cv_member_x86_thread_state32_t_eax
=yes
15033 echo "$as_me: failed program was:" >&5
15034 sed 's/^/| /' conftest.
$ac_ext >&5
15036 ac_cv_member_x86_thread_state32_t_eax
=no
15038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15042 echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state32_t_eax" >&5
15043 echo "${ECHO_T}$ac_cv_member_x86_thread_state32_t_eax" >&6
15044 if test $ac_cv_member_x86_thread_state32_t_eax = yes; then
15046 cat >>confdefs.h
<<\_ACEOF
15047 #define HAS_X86_THREAD_STATE32_EAX 1
15052 echo "$as_me:$LINENO: checking for x86_thread_state32_t.__eax" >&5
15053 echo $ECHO_N "checking for x86_thread_state32_t.__eax... $ECHO_C" >&6
15054 if test "${ac_cv_member_x86_thread_state32_t___eax+set}" = set; then
15055 echo $ECHO_N "(cached) $ECHO_C" >&6
15057 cat >conftest.
$ac_ext <<_ACEOF
15060 cat confdefs.h
>>conftest.
$ac_ext
15061 cat >>conftest.
$ac_ext <<_ACEOF
15062 /* end confdefs.h. */
15063 #include <sys/cdefs.h>
15064 #include <mach/thread_status.h>
15069 static x86_thread_state32_t ac_aggr;
15076 rm -f conftest.
$ac_objext
15077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15078 (eval $ac_compile) 2>conftest.er1
15080 grep -v '^ *+' conftest.er1
>conftest.err
15082 cat conftest.err
>&5
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); } &&
15085 { ac_try
='test -z "$ac_c_werror_flag"
15086 || test ! -s conftest.err'
15087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15088 (eval $ac_try) 2>&5
15090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091 (exit $ac_status); }; } &&
15092 { ac_try
='test -s conftest.$ac_objext'
15093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15094 (eval $ac_try) 2>&5
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); }; }; then
15098 ac_cv_member_x86_thread_state32_t___eax
=yes
15100 echo "$as_me: failed program was:" >&5
15101 sed 's/^/| /' conftest.
$ac_ext >&5
15103 cat >conftest.
$ac_ext <<_ACEOF
15106 cat confdefs.h
>>conftest.
$ac_ext
15107 cat >>conftest.
$ac_ext <<_ACEOF
15108 /* end confdefs.h. */
15109 #include <sys/cdefs.h>
15110 #include <mach/thread_status.h>
15115 static x86_thread_state32_t ac_aggr;
15116 if (sizeof ac_aggr.__eax)
15122 rm -f conftest.
$ac_objext
15123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15124 (eval $ac_compile) 2>conftest.er1
15126 grep -v '^ *+' conftest.er1
>conftest.err
15128 cat conftest.err
>&5
15129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15130 (exit $ac_status); } &&
15131 { ac_try
='test -z "$ac_c_werror_flag"
15132 || test ! -s conftest.err'
15133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15134 (eval $ac_try) 2>&5
15136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15137 (exit $ac_status); }; } &&
15138 { ac_try
='test -s conftest.$ac_objext'
15139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15140 (eval $ac_try) 2>&5
15142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143 (exit $ac_status); }; }; then
15144 ac_cv_member_x86_thread_state32_t___eax
=yes
15146 echo "$as_me: failed program was:" >&5
15147 sed 's/^/| /' conftest.
$ac_ext >&5
15149 ac_cv_member_x86_thread_state32_t___eax
=no
15151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15155 echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state32_t___eax" >&5
15156 echo "${ECHO_T}$ac_cv_member_x86_thread_state32_t___eax" >&6
15157 if test $ac_cv_member_x86_thread_state32_t___eax = yes; then
15159 cat >>confdefs.h
<<\_ACEOF
15160 #define HAS_X86_THREAD_STATE32___EAX 1
15167 echo "$as_me:$LINENO: checking for x86_thread_state64_t.rax" >&5
15168 echo $ECHO_N "checking for x86_thread_state64_t.rax... $ECHO_C" >&6
15169 if test "${ac_cv_member_x86_thread_state64_t_rax+set}" = set; then
15170 echo $ECHO_N "(cached) $ECHO_C" >&6
15172 cat >conftest.
$ac_ext <<_ACEOF
15175 cat confdefs.h
>>conftest.
$ac_ext
15176 cat >>conftest.
$ac_ext <<_ACEOF
15177 /* end confdefs.h. */
15178 #include <sys/cdefs.h>
15179 #include <mach/thread_status.h>
15184 static x86_thread_state64_t ac_aggr;
15191 rm -f conftest.
$ac_objext
15192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15193 (eval $ac_compile) 2>conftest.er1
15195 grep -v '^ *+' conftest.er1
>conftest.err
15197 cat conftest.err
>&5
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); } &&
15200 { ac_try
='test -z "$ac_c_werror_flag"
15201 || test ! -s conftest.err'
15202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15203 (eval $ac_try) 2>&5
15205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15206 (exit $ac_status); }; } &&
15207 { ac_try
='test -s conftest.$ac_objext'
15208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15209 (eval $ac_try) 2>&5
15211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212 (exit $ac_status); }; }; then
15213 ac_cv_member_x86_thread_state64_t_rax
=yes
15215 echo "$as_me: failed program was:" >&5
15216 sed 's/^/| /' conftest.
$ac_ext >&5
15218 cat >conftest.
$ac_ext <<_ACEOF
15221 cat confdefs.h
>>conftest.
$ac_ext
15222 cat >>conftest.
$ac_ext <<_ACEOF
15223 /* end confdefs.h. */
15224 #include <sys/cdefs.h>
15225 #include <mach/thread_status.h>
15230 static x86_thread_state64_t ac_aggr;
15231 if (sizeof ac_aggr.rax)
15237 rm -f conftest.
$ac_objext
15238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15239 (eval $ac_compile) 2>conftest.er1
15241 grep -v '^ *+' conftest.er1
>conftest.err
15243 cat conftest.err
>&5
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); } &&
15246 { ac_try
='test -z "$ac_c_werror_flag"
15247 || test ! -s conftest.err'
15248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15249 (eval $ac_try) 2>&5
15251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15252 (exit $ac_status); }; } &&
15253 { ac_try
='test -s conftest.$ac_objext'
15254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15255 (eval $ac_try) 2>&5
15257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); }; }; then
15259 ac_cv_member_x86_thread_state64_t_rax
=yes
15261 echo "$as_me: failed program was:" >&5
15262 sed 's/^/| /' conftest.
$ac_ext >&5
15264 ac_cv_member_x86_thread_state64_t_rax
=no
15266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15270 echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state64_t_rax" >&5
15271 echo "${ECHO_T}$ac_cv_member_x86_thread_state64_t_rax" >&6
15272 if test $ac_cv_member_x86_thread_state64_t_rax = yes; then
15274 cat >>confdefs.h
<<\_ACEOF
15275 #define HAS_X86_THREAD_STATE64_RAX 1
15280 echo "$as_me:$LINENO: checking for x86_thread_state64_t.__rax" >&5
15281 echo $ECHO_N "checking for x86_thread_state64_t.__rax... $ECHO_C" >&6
15282 if test "${ac_cv_member_x86_thread_state64_t___rax+set}" = set; then
15283 echo $ECHO_N "(cached) $ECHO_C" >&6
15285 cat >conftest.
$ac_ext <<_ACEOF
15288 cat confdefs.h
>>conftest.
$ac_ext
15289 cat >>conftest.
$ac_ext <<_ACEOF
15290 /* end confdefs.h. */
15291 #include <sys/cdefs.h>
15292 #include <mach/thread_status.h>
15297 static x86_thread_state64_t ac_aggr;
15304 rm -f conftest.
$ac_objext
15305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15306 (eval $ac_compile) 2>conftest.er1
15308 grep -v '^ *+' conftest.er1
>conftest.err
15310 cat conftest.err
>&5
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); } &&
15313 { ac_try
='test -z "$ac_c_werror_flag"
15314 || test ! -s conftest.err'
15315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15316 (eval $ac_try) 2>&5
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); }; } &&
15320 { ac_try
='test -s conftest.$ac_objext'
15321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15322 (eval $ac_try) 2>&5
15324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); }; }; then
15326 ac_cv_member_x86_thread_state64_t___rax
=yes
15328 echo "$as_me: failed program was:" >&5
15329 sed 's/^/| /' conftest.
$ac_ext >&5
15331 cat >conftest.
$ac_ext <<_ACEOF
15334 cat confdefs.h
>>conftest.
$ac_ext
15335 cat >>conftest.
$ac_ext <<_ACEOF
15336 /* end confdefs.h. */
15337 #include <sys/cdefs.h>
15338 #include <mach/thread_status.h>
15343 static x86_thread_state64_t ac_aggr;
15344 if (sizeof ac_aggr.__rax)
15350 rm -f conftest.
$ac_objext
15351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15352 (eval $ac_compile) 2>conftest.er1
15354 grep -v '^ *+' conftest.er1
>conftest.err
15356 cat conftest.err
>&5
15357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15358 (exit $ac_status); } &&
15359 { ac_try
='test -z "$ac_c_werror_flag"
15360 || test ! -s conftest.err'
15361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15362 (eval $ac_try) 2>&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); }; } &&
15366 { ac_try
='test -s conftest.$ac_objext'
15367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15368 (eval $ac_try) 2>&5
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); }; }; then
15372 ac_cv_member_x86_thread_state64_t___rax
=yes
15374 echo "$as_me: failed program was:" >&5
15375 sed 's/^/| /' conftest.
$ac_ext >&5
15377 ac_cv_member_x86_thread_state64_t___rax
=no
15379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15383 echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state64_t___rax" >&5
15384 echo "${ECHO_T}$ac_cv_member_x86_thread_state64_t___rax" >&6
15385 if test $ac_cv_member_x86_thread_state64_t___rax = yes; then
15387 cat >>confdefs.h
<<\_ACEOF
15388 #define HAS_X86_THREAD_STATE64___RAX 1
15397 # We never want libdl on darwin. It is a fake libdl that just ends up making
15398 # dyld calls anyway
15402 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15403 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
15404 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15405 echo $ECHO_N "(cached) $ECHO_C" >&6
15407 ac_check_lib_save_LIBS
=$LIBS
15409 if test x
$gcc_no_link = xyes
; then
15410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15412 { (exit 1); exit 1; }; }
15414 cat >conftest.
$ac_ext <<_ACEOF
15417 cat confdefs.h
>>conftest.
$ac_ext
15418 cat >>conftest.
$ac_ext <<_ACEOF
15419 /* end confdefs.h. */
15421 /* Override any gcc2 internal prototype to avoid an error. */
15425 /* We use char because int might match the return type of a gcc2
15426 builtin and then its argument prototype would still apply. */
15436 rm -f conftest.
$ac_objext conftest
$ac_exeext
15437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15438 (eval $ac_link) 2>conftest.er1
15440 grep -v '^ *+' conftest.er1
>conftest.err
15442 cat conftest.err
>&5
15443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444 (exit $ac_status); } &&
15445 { ac_try
='test -z "$ac_c_werror_flag"
15446 || test ! -s conftest.err'
15447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15448 (eval $ac_try) 2>&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); }; } &&
15452 { ac_try
='test -s conftest$ac_exeext'
15453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15454 (eval $ac_try) 2>&5
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); }; }; then
15458 ac_cv_lib_dl_dlopen
=yes
15460 echo "$as_me: failed program was:" >&5
15461 sed 's/^/| /' conftest.
$ac_ext >&5
15463 ac_cv_lib_dl_dlopen
=no
15465 rm -f conftest.err conftest.
$ac_objext \
15466 conftest
$ac_exeext conftest.
$ac_ext
15467 LIBS
=$ac_check_lib_save_LIBS
15469 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15470 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
15471 if test $ac_cv_lib_dl_dlopen = yes; then
15472 EXTRA_TEST_LIBS
="$EXTRA_TEST_LIBS -ldl"
15478 # extra LD Flags which are required for targets
15481 extra_ldflags_libgc
=-Wl,-single_module
15488 target_all
=libgcjgc.la
15493 # Check whether --with-ecos or --without-ecos was given.
15494 if test "${with_ecos+set}" = set; then
15495 withval
="$with_ecos"
15496 TARGET_ECOS
="$with_ecos"
15504 case "$TARGET_ECOS" in
15509 cat >>confdefs.h
<<\_ACEOF
15513 AM_CPPFLAGS
="${AM_CPPFLAGS} -I${TARGET_ECOS}/include"
15514 addobjs
="$addobjs ecos.lo"
15518 if test "${enable_cplusplus}" = yes; then
15519 addincludes
="$addincludes include/gc_cpp.h include/gc_allocator.h"
15520 addtests
="$addtests test_cpp"
15525 if test "${enable_cplusplus}" = yes; then
15527 CPLUSPLUS_FALSE
='#'
15538 # Configuration of shared libraries
15540 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15541 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
15542 # Check whether --enable-shared or --disable-shared was given.
15543 if test "${enable_shared+set}" = set; then
15544 enableval
="$enable_shared"
15545 p
=${PACKAGE-default}
15547 yes) enable_shared
=yes ;;
15548 no
) enable_shared
=no
;;
15551 # Look at the argument we got. We use all the common list separators.
15552 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
15553 for pkg
in $enableval; do
15555 if test "X$pkg" = "X$p"; then
15574 echo "$as_me:$LINENO: result: no" >&5
15575 echo "${ECHO_T}no" >&6
15578 echo "$as_me:$LINENO: result: yes" >&5
15579 echo "${ECHO_T}yes" >&6
15583 # Checks for pthreads functions
15586 LIBS
="$LIBS $THREADLIBS"
15588 for ac_func
in pthread_getattr_np
15590 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15591 echo "$as_me:$LINENO: checking for $ac_func" >&5
15592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15593 if eval "test \"\${$as_ac_var+set}\" = set"; then
15594 echo $ECHO_N "(cached) $ECHO_C" >&6
15596 if test x
$gcc_no_link = xyes
; then
15597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15599 { (exit 1); exit 1; }; }
15601 cat >conftest.
$ac_ext <<_ACEOF
15604 cat confdefs.h
>>conftest.
$ac_ext
15605 cat >>conftest.
$ac_ext <<_ACEOF
15606 /* end confdefs.h. */
15607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15609 #define $ac_func innocuous_$ac_func
15611 /* System header to define __stub macros and hopefully few prototypes,
15612 which can conflict with char $ac_func (); below.
15613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15614 <limits.h> exists even on freestanding compilers. */
15617 # include <limits.h>
15619 # include <assert.h>
15624 /* Override any gcc2 internal prototype to avoid an error. */
15629 /* We use char because int might match the return type of a gcc2
15630 builtin and then its argument prototype would still apply. */
15632 /* The GNU C library defines this for functions which it implements
15633 to always fail with ENOSYS. Some functions are actually named
15634 something starting with __ and the normal name is an alias. */
15635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15638 char (*f) () = $ac_func;
15647 return f != $ac_func;
15652 rm -f conftest.
$ac_objext conftest
$ac_exeext
15653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15654 (eval $ac_link) 2>conftest.er1
15656 grep -v '^ *+' conftest.er1
>conftest.err
15658 cat conftest.err
>&5
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); } &&
15661 { ac_try
='test -z "$ac_c_werror_flag"
15662 || test ! -s conftest.err'
15663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15664 (eval $ac_try) 2>&5
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); }; } &&
15668 { ac_try
='test -s conftest$ac_exeext'
15669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15670 (eval $ac_try) 2>&5
15672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15673 (exit $ac_status); }; }; then
15674 eval "$as_ac_var=yes"
15676 echo "$as_me: failed program was:" >&5
15677 sed 's/^/| /' conftest.
$ac_ext >&5
15679 eval "$as_ac_var=no"
15681 rm -f conftest.err conftest.
$ac_objext \
15682 conftest
$ac_exeext conftest.
$ac_ext
15684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15686 if test `eval echo '${'$as_ac_var'}'` = yes; then
15687 cat >>confdefs.h
<<_ACEOF
15688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15696 # Configuration of machine-dependent code
15698 # Set NO_EXECUTE_PERMISSION by default because gcj already uses
15699 # ffi_closure_{alloc,free} which takes care of allocating trampolines
15700 # in executable memory.
15702 echo "$as_me:$LINENO: checking which machine-dependent code should be used" >&5
15703 echo $ECHO_N "checking which machine-dependent code should be used... $ECHO_C" >&6
15707 machdep
="alpha_mach_dep.lo"
15708 if test x
"${ac_cv_lib_dl_dlopen}" != xyes
; then
15709 { echo "$as_me:$LINENO: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&5
15710 echo "$as_me: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&2;}
15714 machdep
="alpha_mach_dep.lo"
15716 i?
86-*-solaris2.
[89] | i?
86-*-solaris2.1?
)
15718 cat >>confdefs.h
<<\_ACEOF
15719 #define SOLARIS25_PROC_VDB_BUG_FIXED 1
15724 machdep
="mips_ultrix_mach_dep.lo"
15726 cat >>confdefs.h
<<\_ACEOF
15727 #define STACKBASE __stackbase
15731 cat >>confdefs.h
<<\_ACEOF
15732 #define DATASTART_IS_ETEXT 1
15737 machdep
="mips_ultrix_mach-dep.lo"
15739 mips-nec-sysv
*|mips-unknown-sysv
*)
15744 machdep
="mips_sgi_mach_dep.lo"
15747 machdep
="sparc_netbsd_mach_dep.lo"
15749 sparc-sun-solaris2.3
)
15750 machdep
="sparc_mach_dep.lo"
15752 cat >>confdefs.h
<<\_ACEOF
15753 #define SUNOS53_SHARED_LIB 1
15757 sparc
*-sun-solaris2.
*)
15758 machdep
="sparc_mach_dep.lo"
15761 machdep
="mach_dep.lo ia64_save_regs_in_stack.lo"
15765 cat >>confdefs.h
<<\_ACEOF
15766 #define NO_EXECUTE_PERMISSION 1
15769 if test x
"$machdep" = x
; then
15770 echo "$as_me:$LINENO: result: $machdep" >&5
15771 echo "${ECHO_T}$machdep" >&6
15772 machdep
="mach_dep.lo"
15774 addobjs
="$addobjs $machdep"
15781 # Check for AViiON Machines running DGUX
15783 echo "$as_me:$LINENO: checking if host is AViiON running DGUX" >&5
15784 echo $ECHO_N "checking if host is AViiON running DGUX... $ECHO_C" >&6
15786 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15787 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
15788 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
15789 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15790 echo $ECHO_N "(cached) $ECHO_C" >&6
15792 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
15793 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
15795 # Is the header compilable?
15796 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
15797 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
15798 cat >conftest.
$ac_ext <<_ACEOF
15801 cat confdefs.h
>>conftest.
$ac_ext
15802 cat >>conftest.
$ac_ext <<_ACEOF
15803 /* end confdefs.h. */
15804 $ac_includes_default
15805 #include <sys/dg_sys_info.h>
15807 rm -f conftest.
$ac_objext
15808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15809 (eval $ac_compile) 2>conftest.er1
15811 grep -v '^ *+' conftest.er1
>conftest.err
15813 cat conftest.err
>&5
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); } &&
15816 { ac_try
='test -z "$ac_c_werror_flag"
15817 || test ! -s conftest.err'
15818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15819 (eval $ac_try) 2>&5
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); }; } &&
15823 { ac_try
='test -s conftest.$ac_objext'
15824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15825 (eval $ac_try) 2>&5
15827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15828 (exit $ac_status); }; }; then
15829 ac_header_compiler
=yes
15831 echo "$as_me: failed program was:" >&5
15832 sed 's/^/| /' conftest.
$ac_ext >&5
15834 ac_header_compiler
=no
15836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15837 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15838 echo "${ECHO_T}$ac_header_compiler" >&6
15840 # Is the header present?
15841 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
15842 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
15843 cat >conftest.
$ac_ext <<_ACEOF
15846 cat confdefs.h
>>conftest.
$ac_ext
15847 cat >>conftest.
$ac_ext <<_ACEOF
15848 /* end confdefs.h. */
15849 #include <sys/dg_sys_info.h>
15851 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15852 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15854 grep -v '^ *+' conftest.er1
>conftest.err
15856 cat conftest.err
>&5
15857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15858 (exit $ac_status); } >/dev
/null
; then
15859 if test -s conftest.err
; then
15860 ac_cpp_err
=$ac_c_preproc_warn_flag
15861 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15868 if test -z "$ac_cpp_err"; then
15869 ac_header_preproc
=yes
15871 echo "$as_me: failed program was:" >&5
15872 sed 's/^/| /' conftest.
$ac_ext >&5
15874 ac_header_preproc
=no
15876 rm -f conftest.err conftest.
$ac_ext
15877 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15878 echo "${ECHO_T}$ac_header_preproc" >&6
15880 # So? What about this header?
15881 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15883 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
15884 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15885 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
15886 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
15887 ac_header_preproc
=yes
15890 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
15891 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
15892 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
15893 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
15894 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
15895 echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
15896 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
15897 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
15898 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
15899 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
15900 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
15901 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
15904 ## ------------------------------------------ ##
15905 ## Report this to the AC_PACKAGE_NAME lists. ##
15906 ## ------------------------------------------ ##
15909 sed "s/^/$as_me: WARNING: /" >&2
15912 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
15913 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
15914 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15915 echo $ECHO_N "(cached) $ECHO_C" >&6
15917 ac_cv_header_sys_dg_sys_info_h
=$ac_header_preproc
15919 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
15920 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
15923 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
15929 echo "$as_me:$LINENO: result: $ac_is_dgux" >&5
15930 echo "${ECHO_T}$ac_is_dgux" >&6
15931 ## :GOTCHA: we do not check anything but sys/dg_sys_info.h
15932 if test $ac_is_dgux = yes; then
15933 if test "$enable_full_debug" = "yes"; then
15934 CFLAGS
="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
15935 CXXFLAGS
="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
15937 CFLAGS
="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
15938 CXXFLAGS
="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
15944 echo "$as_me:$LINENO: checking whether Solaris gcc optimization fix is necessary" >&5
15945 echo $ECHO_N "checking whether Solaris gcc optimization fix is necessary... $ECHO_C" >&6
15948 if test "$GCC" = yes; then
15949 echo "$as_me:$LINENO: result: yes" >&5
15950 echo "${ECHO_T}yes" >&6
15952 for i
in $CFLAGS; do
15957 new_CFLAGS
="$new_CFLAGS $i"
15961 CFLAGS
="$new_CFLAGS"
15963 echo "$as_me:$LINENO: result: no" >&5
15964 echo "${ECHO_T}no" >&6
15967 *) echo "$as_me:$LINENO: result: no" >&5
15968 echo "${ECHO_T}no" >&6 ;;
15971 MY_CFLAGS
="$CFLAGS"
15975 cat >>confdefs.h
<<\_ACEOF
15980 cat >>confdefs.h
<<\_ACEOF
15981 #define NO_SIGNALS 1
15985 cat >>confdefs.h
<<\_ACEOF
15986 #define ALL_INTERIOR_POINTERS 1
15991 cat >>confdefs.h
<<\_ACEOF
15992 #define JAVA_FINALIZATION 1
15996 cat >>confdefs.h
<<\_ACEOF
15997 #define GC_GCJ_SUPPORT 1
16001 cat >>confdefs.h
<<\_ACEOF
16002 #define ATOMIC_UNCOLLECTABLE 1
16006 # Check whether --enable-gc-debug or --disable-gc-debug was given.
16007 if test "${enable_gc_debug+set}" = set; then
16008 enableval
="$enable_gc_debug"
16009 if test "$enable_gc_debug" = "yes"; then
16010 { echo "$as_me:$LINENO: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&5
16011 echo "$as_me: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&2;}
16013 cat >>confdefs.h
<<\_ACEOF
16014 #define KEEP_BACK_PTRS 1
16018 cat >>confdefs.h
<<\_ACEOF
16019 #define DBG_HDRS_ALL 1
16025 cat >>confdefs.h
<<\_ACEOF
16026 #define MAKE_BACK_GRAPH 1
16030 x86-
*-linux* | i586-
*-linux* | i686-
*-linux* | x86_64-
*-linux* )
16031 cat >>confdefs.h
<<\_ACEOF
16032 #define MAKE_BACK_GRAPH 1
16035 { echo "$as_me:$LINENO: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&5
16036 echo "$as_me: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&2;}
16038 cat >>confdefs.h
<<\_ACEOF
16039 #define SAVE_CALL_COUNT 8
16044 cat >>confdefs.h
<<\_ACEOF
16045 #define MAKE_BACK_GRAPH 1
16053 if test "${gc_use_mmap}" = "yes"; then
16055 cat >>confdefs.h
<<\_ACEOF
16061 if test -n "$with_cross_host" &&
16062 test x
"$with_cross_host" != x
"no"; then
16063 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
16064 toolexeclibdir
='$(toolexecdir)/lib'
16066 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
16067 toolexeclibdir
='$(libdir)'
16069 multi_os_directory
=`$CC -print-multi-os-directory`
16070 case $multi_os_directory in
16071 .
) ;; # Avoid trailing /.
16072 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
16077 if test "${multilib}" = "yes"; then
16078 multilib_arg
="--enable-multilib"
16083 ac_config_headers
="$ac_config_headers include/gc_config.h include/gc_ext_config.h"
16086 ac_config_files
="$ac_config_files Makefile include/Makefile"
16088 cat >confcache
<<\_ACEOF
16089 # This file is a shell script that caches the results of configure
16090 # tests run on this system so they can be shared between configure
16091 # scripts and configure runs, see configure's option --config-cache.
16092 # It is not useful on other systems. If it contains results you don't
16093 # want to keep, you may remove or edit it.
16095 # config.status only pays attention to the cache file if you give it
16096 # the --recheck option to rerun configure.
16098 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16099 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16100 # following values.
16104 # The following way of writing the cache mishandles newlines in values,
16105 # but we know of no workaround that is simple, portable, and efficient.
16106 # So, don't put newlines in cache variables' values.
16107 # Ultrix sh set writes to stderr and can't be redirected directly,
16108 # and sets the high bit in the cache file unless we assign to the vars.
16111 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16113 # `set' does not quote correctly, so add quotes (double-quote
16114 # substitution turns \\\\ into \\, and sed turns \\ into \).
16117 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16120 # `set' quotes correctly as required by POSIX, so do not add quotes.
16122 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
16129 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16131 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16133 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
16134 if test -w $cache_file; then
16135 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
16136 cat confcache
>$cache_file
16138 echo "not updating unwritable cache $cache_file"
16143 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16144 # Let make expand exec_prefix.
16145 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16147 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16148 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16149 # trailing colons and then remove the whole line if VPATH becomes empty
16150 # (actually we leave an empty line to preserve line numbers).
16151 if test "x$srcdir" = x.
; then
16152 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
16153 s/:*\$(srcdir):*/:/;
16154 s/:*\${srcdir}:*/:/;
16156 s/^\([^=]*=[ ]*\):*/\1/;
16162 DEFS
=-DHAVE_CONFIG_H
16166 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16167 # 1. Remove the extension, and $U if already installed.
16168 ac_i
=`echo "$ac_i" |
16169 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
16171 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
16172 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
16174 LIBOBJS
=$ac_libobjs
16176 LTLIBOBJS
=$ac_ltlibobjs
16179 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16180 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16181 Usually this means the macro was only invoked conditionally." >&5
16182 echo "$as_me: error: conditional \"AMDEP\" was never defined.
16183 Usually this means the macro was only invoked conditionally." >&2;}
16184 { (exit 1); exit 1; }; }
16186 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16187 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16188 Usually this means the macro was only invoked conditionally." >&5
16189 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16190 Usually this means the macro was only invoked conditionally." >&2;}
16191 { (exit 1); exit 1; }; }
16193 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16194 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16195 Usually this means the macro was only invoked conditionally." >&5
16196 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
16197 Usually this means the macro was only invoked conditionally." >&2;}
16198 { (exit 1); exit 1; }; }
16200 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16201 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
16202 Usually this means the macro was only invoked conditionally." >&5
16203 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
16204 Usually this means the macro was only invoked conditionally." >&2;}
16205 { (exit 1); exit 1; }; }
16207 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16208 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16209 Usually this means the macro was only invoked conditionally." >&5
16210 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
16211 Usually this means the macro was only invoked conditionally." >&2;}
16212 { (exit 1); exit 1; }; }
16214 if test -z "${POWERPC_DARWIN_TRUE}" && test -z "${POWERPC_DARWIN_FALSE}"; then
16215 { { echo "$as_me:$LINENO: error: conditional \"POWERPC_DARWIN\" was never defined.
16216 Usually this means the macro was only invoked conditionally." >&5
16217 echo "$as_me: error: conditional \"POWERPC_DARWIN\" was never defined.
16218 Usually this means the macro was only invoked conditionally." >&2;}
16219 { (exit 1); exit 1; }; }
16221 if test -z "${CPLUSPLUS_TRUE}" && test -z "${CPLUSPLUS_FALSE}"; then
16222 { { echo "$as_me:$LINENO: error: conditional \"CPLUSPLUS\" was never defined.
16223 Usually this means the macro was only invoked conditionally." >&5
16224 echo "$as_me: error: conditional \"CPLUSPLUS\" was never defined.
16225 Usually this means the macro was only invoked conditionally." >&2;}
16226 { (exit 1); exit 1; }; }
16229 : ${CONFIG_STATUS=./config.status}
16230 ac_clean_files_save
=$ac_clean_files
16231 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16232 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16233 echo "$as_me: creating $CONFIG_STATUS" >&6;}
16234 cat >$CONFIG_STATUS <<_ACEOF
16236 # Generated by $as_me.
16237 # Run this file to recreate the current configuration.
16238 # Compiler output produced by configure, useful for debugging
16239 # configure, is in config.log if it exists.
16242 ac_cs_recheck=false
16244 SHELL=\${CONFIG_SHELL-$SHELL}
16247 cat >>$CONFIG_STATUS <<\_ACEOF
16248 ## --------------------- ##
16249 ## M4sh Initialization. ##
16250 ## --------------------- ##
16252 # Be Bourne compatible
16253 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16256 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16257 # is contrary to our usage. Disable this feature.
16258 alias -g '${1+"$@"}'='"$@"'
16259 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
16262 DUALCASE
=1; export DUALCASE
# for MKS sh
16264 # Support unset when possible.
16265 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
16272 # Work around bugs in pre-3.0 UWIN ksh.
16273 $as_unset ENV MAIL MAILPATH
16280 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
16281 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
16282 LC_TELEPHONE LC_TIME
16284 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
16285 eval $as_var=C
; export $as_var
16291 # Required to use basename.
16292 if expr a
: '\(a\)' >/dev
/null
2>&1; then
16298 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
16299 as_basename
=basename
16305 # Name of the executable.
16306 as_me
=`$as_basename "$0" ||
16307 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16308 X"$0" : 'X\(//\)$' \| \
16309 X"$0" : 'X\(/\)$' \| \
16310 . : '\(.\)' 2>/dev/null ||
16312 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16313 /^X\/\(\/\/\)$/{ s//\1/; q; }
16314 /^X\/\(\/\).*/{ s//\1/; q; }
16318 # PATH needs CR, and LINENO needs CR and PATH.
16319 # Avoid depending upon Character Ranges.
16320 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16321 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16322 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16323 as_cr_digits
='0123456789'
16324 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16326 # The user is always right.
16327 if test "${PATH_SEPARATOR+set}" != set; then
16328 echo "#! /bin/sh" >conf$$.sh
16329 echo "exit 0" >>conf$$.sh
16331 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16340 as_lineno_1
=$LINENO
16341 as_lineno_2
=$LINENO
16342 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
16343 test "x$as_lineno_1" != "x$as_lineno_2" &&
16344 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
16345 # Find who we are. Look in the path if we contain no path at all
16348 *[\\/]* ) as_myself
=$0 ;;
16349 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16350 for as_dir
in $PATH
16353 test -z "$as_dir" && as_dir
=.
16354 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
16359 # We did not find ourselves, most probably we were run as `sh COMMAND'
16360 # in which case we are not to be found in the path.
16361 if test "x$as_myself" = x
; then
16364 if test ! -f "$as_myself"; then
16365 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
16366 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
16367 { (exit 1); exit 1; }; }
16369 case $CONFIG_SHELL in
16371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16372 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
16375 test -z "$as_dir" && as_dir
=.
16376 for as_base
in sh bash ksh sh5
; do
16379 if ("$as_dir/$as_base" -c '
16380 as_lineno_1=$LINENO
16381 as_lineno_2=$LINENO
16382 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16383 test "x$as_lineno_1" != "x$as_lineno_2" &&
16384 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
16385 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
16386 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
16387 CONFIG_SHELL
=$as_dir/$as_base
16388 export CONFIG_SHELL
16389 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
16397 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16398 # uniformly replaced by the line number. The first 'sed' inserts a
16399 # line-number line before each line; the second 'sed' does the real
16400 # work. The second script uses 'N' to pair each line-number line
16401 # with the numbered line, and appends trailing '-' during
16402 # substitution so that $LINENO is not a special case at line end.
16403 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16404 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
16405 sed '=' <$as_myself |
16410 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
16413 s,^['$as_cr_digits']*\n,,
16414 ' >$as_me.lineno
&&
16415 chmod +x
$as_me.lineno ||
16416 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
16417 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
16418 { (exit 1); exit 1; }; }
16420 # Don't try to exec as it changes $[0], causing all sort of problems
16421 # (the dirname of $[0] is not the place where we might find the
16422 # original and so on. Autoconf is especially sensible to this).
16424 # Exit status is that of the last command.
16429 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
16430 *c
*,-n*) ECHO_N
= ECHO_C
='
16432 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
16433 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
16436 if expr a
: '\(a\)' >/dev
/null
2>&1; then
16442 rm -f conf$$ conf$$.exe conf$$.
file
16444 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16445 # We could just check for DJGPP; but this test a) works b) is more generic
16446 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
16447 if test -f conf$$.exe
; then
16448 # Don't use ln at all; we don't have any links
16453 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16458 rm -f conf$$ conf$$.exe conf$$.
file
16460 if mkdir
-p .
2>/dev
/null
; then
16463 test -d .
/-p && rmdir .
/-p
16467 as_executable_p
="test -f"
16469 # Sed expression to map a string onto a valid CPP name.
16470 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16472 # Sed expression to map a string onto a valid variable name.
16473 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16477 # We need space, tab and new line, in precisely that order.
16487 # Open the log real soon, to keep \$[0] and so on meaningful, and to
16488 # report actual input values of CONFIG_FILES etc. instead of their
16489 # values after options handling. Logging --version etc. is OK.
16493 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16494 ## Running $as_me. ##
16499 This file was extended by $as_me, which was
16500 generated by GNU Autoconf 2.59. Invocation command line was
16502 CONFIG_FILES = $CONFIG_FILES
16503 CONFIG_HEADERS = $CONFIG_HEADERS
16504 CONFIG_LINKS = $CONFIG_LINKS
16505 CONFIG_COMMANDS = $CONFIG_COMMANDS
16509 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
16513 # Files that config.status was made for.
16514 if test -n "$ac_config_files"; then
16515 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
16518 if test -n "$ac_config_headers"; then
16519 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
16522 if test -n "$ac_config_links"; then
16523 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
16526 if test -n "$ac_config_commands"; then
16527 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
16530 cat >>$CONFIG_STATUS <<\_ACEOF
16533 \`$as_me' instantiates files from templates according to the
16534 current configuration.
16536 Usage: $0 [OPTIONS] [FILE]...
16538 -h, --help print this help, then exit
16539 -V, --version print version number, then exit
16540 -q, --quiet do not print progress messages
16541 -d, --debug don't remove temporary files
16542 --recheck update $as_me by reconfiguring in the same conditions
16543 --file=FILE[:TEMPLATE]
16544 instantiate the configuration file FILE
16545 --header=FILE[:TEMPLATE]
16546 instantiate the configuration header FILE
16548 Configuration files:
16551 Configuration headers:
16554 Configuration commands:
16557 Report bugs to <bug-autoconf@gnu.org>."
16560 cat >>$CONFIG_STATUS <<_ACEOF
16563 configured by $0, generated by GNU Autoconf 2.59,
16564 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
16566 Copyright (C) 2003 Free Software Foundation, Inc.
16567 This config.status script is free software; the Free Software Foundation
16568 gives unlimited permission to copy, distribute and modify it."
16573 cat >>$CONFIG_STATUS <<\_ACEOF
16574 # If no file are specified by the user, then we need to provide default
16575 # value. By we need to know if files were specified by the user.
16581 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
16582 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
16590 *) # This is not an option, so the user has probably given explicit
16593 ac_need_defaults
=false
;;
16597 # Handling of the options.
16599 cat >>$CONFIG_STATUS <<\_ACEOF
16600 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16602 --version |
--vers* |
-V )
16603 echo "$ac_cs_version"; exit 0 ;;
16605 # Conflict between --help and --header
16606 { { echo "$as_me:$LINENO: error: ambiguous option: $1
16607 Try \`$0 --help' for more information." >&5
16608 echo "$as_me: error: ambiguous option: $1
16609 Try \`$0 --help' for more information." >&2;}
16610 { (exit 1); exit 1; }; };;
16611 --help |
--hel |
-h )
16612 echo "$ac_cs_usage"; exit 0 ;;
16613 --debug |
--d* |
-d )
16615 --file |
--fil |
--fi |
--f )
16617 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
16618 ac_need_defaults
=false
;;
16619 --header |
--heade |
--head |
--hea )
16621 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
16622 ac_need_defaults
=false
;;
16623 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16624 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16627 # This is an error.
16628 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
16629 Try \`$0 --help' for more information." >&5
16630 echo "$as_me: error: unrecognized option: $1
16631 Try \`$0 --help' for more information." >&2;}
16632 { (exit 1); exit 1; }; } ;;
16634 *) ac_config_targets
="$ac_config_targets $1" ;;
16640 ac_configure_extra_args
=
16642 if $ac_cs_silent; then
16644 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16648 cat >>$CONFIG_STATUS <<_ACEOF
16649 if \$ac_cs_recheck; then
16650 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
16651 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16656 cat >>$CONFIG_STATUS <<_ACEOF
16658 # INIT-COMMANDS section.
16665 with_multisubdir="$with_multisubdir"
16666 with_multisrctop="$with_multisrctop"
16667 with_target_subdir="$with_target_subdir"
16668 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16669 multi_basedir="$multi_basedir"
16670 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16672 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16675 # The HP-UX ksh and POSIX shell print the target directory to stdout
16676 # if CDPATH is set.
16677 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16679 sed_quote_subst='$sed_quote_subst'
16680 double_quote_subst='$double_quote_subst'
16681 delay_variable_subst='$delay_variable_subst'
16682 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16683 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16684 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16685 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16686 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16687 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16688 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16689 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16690 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16691 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16692 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16693 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16694 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16695 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16696 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16697 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16698 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16699 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16700 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16701 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16702 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16703 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16704 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16705 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16706 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16707 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16708 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16709 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16710 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16711 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16712 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16713 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16714 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16715 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16716 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16717 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16718 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16719 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16720 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16721 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16722 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16723 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16724 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16725 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"`'
16726 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16727 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16728 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16729 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16730 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16731 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16732 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16733 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16734 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16735 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16736 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16737 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16738 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16739 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16740 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16741 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16742 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16743 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16744 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16745 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16746 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16747 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16748 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16749 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16750 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16751 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16752 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16753 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16754 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16755 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16756 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16757 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16758 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16759 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16760 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16761 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16762 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16763 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16764 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16765 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16766 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16767 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16768 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16769 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16770 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16771 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16772 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16773 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16774 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16775 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16776 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16777 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16778 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16779 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16780 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16781 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16782 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16783 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16784 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16785 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16786 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16787 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16788 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16789 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16790 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16791 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16792 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16793 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16794 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16795 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16796 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16797 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16798 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16799 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16800 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16801 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16802 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16803 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16804 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16805 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16806 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16807 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16808 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16809 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16810 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16811 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16812 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16813 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16814 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16815 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16816 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16817 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16818 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16819 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16820 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16821 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16822 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16823 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16824 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16825 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16826 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16827 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16828 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16829 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16830 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16831 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16832 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16833 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16834 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16835 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16836 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16837 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16838 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16839 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16840 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16841 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16842 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16843 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16846 LTCFLAGS='$LTCFLAGS'
16847 compiler='$compiler_DEFAULT'
16849 # Quote evaled strings.
16860 deplibs_check_method \
16869 lt_cv_sys_global_symbol_pipe \
16870 lt_cv_sys_global_symbol_to_cdecl \
16871 lt_cv_sys_global_symbol_to_c_name_address \
16874 lt_prog_compiler_no_builtin_flag \
16875 lt_prog_compiler_wl \
16876 lt_prog_compiler_pic \
16877 lt_prog_compiler_static \
16878 lt_cv_prog_compiler_c_o \
16881 export_dynamic_flag_spec \
16882 whole_archive_flag_spec \
16883 compiler_needs_object \
16885 allow_undefined_flag \
16886 no_undefined_flag \
16887 hardcode_libdir_flag_spec \
16888 hardcode_libdir_flag_spec_ld \
16889 hardcode_libdir_separator \
16894 variables_saved_for_relink \
16896 library_names_spec \
16905 compiler_lib_search_path \
16908 lt_prog_compiler_no_builtin_flag_CXX \
16909 lt_prog_compiler_wl_CXX \
16910 lt_prog_compiler_pic_CXX \
16911 lt_prog_compiler_static_CXX \
16912 lt_cv_prog_compiler_c_o_CXX \
16913 export_dynamic_flag_spec_CXX \
16914 whole_archive_flag_spec_CXX \
16915 compiler_needs_object_CXX \
16917 allow_undefined_flag_CXX \
16918 no_undefined_flag_CXX \
16919 hardcode_libdir_flag_spec_CXX \
16920 hardcode_libdir_flag_spec_ld_CXX \
16921 hardcode_libdir_separator_CXX \
16922 fix_srcfile_path_CXX \
16923 exclude_expsyms_CXX \
16924 include_expsyms_CXX \
16925 file_list_spec_CXX \
16926 predep_objects_CXX \
16927 postdep_objects_CXX \
16930 compiler_lib_search_path_CXX; do
16931 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16932 *[\\\\\\\`\\"\\\$]*)
16933 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16936 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16941 # Double-quote double-evaled strings.
16942 for var in reload_cmds \
16943 old_postinstall_cmds \
16944 old_postuninstall_cmds \
16946 extract_expsyms_cmds \
16947 old_archive_from_new_cmds \
16948 old_archive_from_expsyms_cmds \
16950 archive_expsym_cmds \
16952 module_expsym_cmds \
16953 export_symbols_cmds \
16956 postuninstall_cmds \
16958 sys_lib_search_path_spec \
16959 sys_lib_dlsearch_path_spec \
16960 old_archive_cmds_CXX \
16961 old_archive_from_new_cmds_CXX \
16962 old_archive_from_expsyms_cmds_CXX \
16964 archive_expsym_cmds_CXX \
16966 module_expsym_cmds_CXX \
16967 export_symbols_cmds_CXX \
16968 prelink_cmds_CXX; do
16969 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16970 *[\\\\\\\`\\"\\\$]*)
16971 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16974 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16979 # Fix-up fallback echo if it was mangled by the above quoting rules.
16981 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16985 ac_aux_dir='$ac_aux_dir'
16986 xsi_shell='$xsi_shell'
16987 lt_shell_append='$lt_shell_append'
16989 # See if we are running on zsh, and set the options which allow our
16990 # commands through without removal of \ escapes INIT.
16991 if test -n "\${ZSH_VERSION+set}" ; then
16992 setopt NO_GLOB_SUBST
16998 TIMESTAMP='$TIMESTAMP'
17011 cat >>$CONFIG_STATUS <<\_ACEOF
17012 for ac_config_target
in $ac_config_targets
17014 case "$ac_config_target" in
17015 # Handling of arguments.
17016 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17017 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
17018 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17019 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17020 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17021 "include/gc_config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/gc_config.h" ;;
17022 "include/gc_ext_config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/gc_ext_config.h" ;;
17023 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17024 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17025 { (exit 1); exit 1; }; };;
17029 # If the user did not use the arguments to specify the items to instantiate,
17030 # then the envvar interface is used. Set only those that are not.
17031 # We use the long form for the default assignment because of an extremely
17032 # bizarre bug on SunOS 4.1.3.
17033 if $ac_need_defaults; then
17034 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17035 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17036 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17039 # Have a temporary directory for convenience. Make it in the build tree
17040 # simply because there is no reason to put it here, and in addition,
17041 # creating and moving files from /tmp can sometimes cause problems.
17042 # Create a temporary directory, and hook for its removal unless debugging.
17045 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
17046 trap '{ (exit 1); exit 1; }' 1 2 13 15
17049 # Create a (secure) tmp directory for tmp files.
17052 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
17053 test -n "$tmp" && test -d "$tmp"
17056 tmp
=.
/confstat$$
-$RANDOM
17057 (umask 077 && mkdir
$tmp)
17060 echo "$me: cannot create a temporary directory in ." >&2
17061 { (exit 1); exit 1; }
17066 cat >>$CONFIG_STATUS <<_ACEOF
17069 # CONFIG_FILES section.
17072 # No need to generate the scripts if there are no CONFIG_FILES.
17073 # This happens for instance when ./config.status config.h
17074 if test -n "\$CONFIG_FILES"; then
17075 # Protect against being on the right side of a sed subst in config.status.
17076 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
17077 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
17078 s,@SHELL@,$SHELL,;t t
17079 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
17080 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
17081 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
17082 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
17083 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
17084 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
17085 s,@exec_prefix@,$exec_prefix,;t t
17086 s,@prefix@,$prefix,;t t
17087 s,@program_transform_name@,$program_transform_name,;t t
17088 s,@bindir@,$bindir,;t t
17089 s,@sbindir@,$sbindir,;t t
17090 s,@libexecdir@,$libexecdir,;t t
17091 s,@datadir@,$datadir,;t t
17092 s,@sysconfdir@,$sysconfdir,;t t
17093 s,@sharedstatedir@,$sharedstatedir,;t t
17094 s,@localstatedir@,$localstatedir,;t t
17095 s,@libdir@,$libdir,;t t
17096 s,@includedir@,$includedir,;t t
17097 s,@oldincludedir@,$oldincludedir,;t t
17098 s,@infodir@,$infodir,;t t
17099 s,@mandir@,$mandir,;t t
17100 s,@build_alias@,$build_alias,;t t
17101 s,@host_alias@,$host_alias,;t t
17102 s,@target_alias@,$target_alias,;t t
17103 s,@DEFS@,$DEFS,;t t
17104 s,@ECHO_C@,$ECHO_C,;t t
17105 s,@ECHO_N@,$ECHO_N,;t t
17106 s,@ECHO_T@,$ECHO_T,;t t
17107 s,@LIBS@,$LIBS,;t t
17108 s,@multi_basedir@,$multi_basedir,;t t
17109 s,@build@,$build,;t t
17110 s,@build_cpu@,$build_cpu,;t t
17111 s,@build_vendor@,$build_vendor,;t t
17112 s,@build_os@,$build_os,;t t
17113 s,@host@,$host,;t t
17114 s,@host_cpu@,$host_cpu,;t t
17115 s,@host_vendor@,$host_vendor,;t t
17116 s,@host_os@,$host_os,;t t
17117 s,@target@,$target,;t t
17118 s,@target_cpu@,$target_cpu,;t t
17119 s,@target_vendor@,$target_vendor,;t t
17120 s,@target_os@,$target_os,;t t
17121 s,@target_noncanonical@,$target_noncanonical,;t t
17122 s,@mkinstalldirs@,$mkinstalldirs,;t t
17123 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
17124 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
17125 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17126 s,@CYGPATH_W@,$CYGPATH_W,;t t
17127 s,@PACKAGE@,$PACKAGE,;t t
17128 s,@VERSION@,$VERSION,;t t
17129 s,@ACLOCAL@,$ACLOCAL,;t t
17130 s,@AUTOCONF@,$AUTOCONF,;t t
17131 s,@AUTOMAKE@,$AUTOMAKE,;t t
17132 s,@AUTOHEADER@,$AUTOHEADER,;t t
17133 s,@MAKEINFO@,$MAKEINFO,;t t
17134 s,@install_sh@,$install_sh,;t t
17135 s,@STRIP@,$STRIP,;t t
17136 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17137 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
17138 s,@mkdir_p@,$mkdir_p,;t t
17140 s,@SET_MAKE@,$SET_MAKE,;t t
17141 s,@am__leading_dot@,$am__leading_dot,;t t
17142 s,@AMTAR@,$AMTAR,;t t
17143 s,@am__tar@,$am__tar,;t t
17144 s,@am__untar@,$am__untar,;t t
17146 s,@ac_ct_CC@,$ac_ct_CC,;t t
17147 s,@EXEEXT@,$EXEEXT,;t t
17148 s,@OBJEXT@,$OBJEXT,;t t
17149 s,@DEPDIR@,$DEPDIR,;t t
17150 s,@am__include@,$am__include,;t t
17151 s,@am__quote@,$am__quote,;t t
17152 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
17153 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
17154 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
17155 s,@CCDEPMODE@,$CCDEPMODE,;t t
17156 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
17157 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
17159 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
17160 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
17161 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
17162 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
17163 s,@CFLAGS@,$CFLAGS,;t t
17164 s,@CXXFLAGS@,$CXXFLAGS,;t t
17165 s,@CCAS@,$CCAS,;t t
17166 s,@CCASFLAGS@,$CCASFLAGS,;t t
17168 s,@ac_ct_AS@,$ac_ct_AS,;t t
17170 s,@ac_ct_AR@,$ac_ct_AR,;t t
17171 s,@RANLIB@,$RANLIB,;t t
17172 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17173 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
17174 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
17175 s,@MAINT@,$MAINT,;t t
17176 s,@GC_CFLAGS@,$GC_CFLAGS,;t t
17177 s,@LIBTOOL@,$LIBTOOL,;t t
17179 s,@EGREP@,$EGREP,;t t
17180 s,@FGREP@,$FGREP,;t t
17181 s,@GREP@,$GREP,;t t
17183 s,@DUMPBIN@,$DUMPBIN,;t t
17184 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
17186 s,@LN_S@,$LN_S,;t t
17187 s,@lt_ECHO@,$lt_ECHO,;t t
17189 s,@CPPFLAGS@,$CPPFLAGS,;t t
17190 s,@LDFLAGS@,$LDFLAGS,;t t
17191 s,@CXXCPP@,$CXXCPP,;t t
17192 s,@THREADLIBS@,$THREADLIBS,;t t
17193 s,@POWERPC_DARWIN_TRUE@,$POWERPC_DARWIN_TRUE,;t t
17194 s,@POWERPC_DARWIN_FALSE@,$POWERPC_DARWIN_FALSE,;t t
17195 s,@extra_ldflags_libgc@,$extra_ldflags_libgc,;t t
17196 s,@EXTRA_TEST_LIBS@,$EXTRA_TEST_LIBS,;t t
17197 s,@target_all@,$target_all,;t t
17198 s,@CPLUSPLUS_TRUE@,$CPLUSPLUS_TRUE,;t t
17199 s,@CPLUSPLUS_FALSE@,$CPLUSPLUS_FALSE,;t t
17200 s,@AM_CPPFLAGS@,$AM_CPPFLAGS,;t t
17201 s,@addobjs@,$addobjs,;t t
17202 s,@addincludes@,$addincludes,;t t
17203 s,@addlibs@,$addlibs,;t t
17204 s,@addtests@,$addtests,;t t
17205 s,@MY_CFLAGS@,$MY_CFLAGS,;t t
17206 s,@toolexecdir@,$toolexecdir,;t t
17207 s,@toolexeclibdir@,$toolexeclibdir,;t t
17208 s,@LIBOBJS@,$LIBOBJS,;t t
17209 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
17214 cat >>$CONFIG_STATUS <<\_ACEOF
17215 # Split the substitutions into bite-sized pieces for seds with
17216 # small command number limits, like on Digital OSF/1 and HP-UX.
17217 ac_max_sed_lines
=48
17218 ac_sed_frag
=1 # Number of current file.
17219 ac_beg
=1 # First line for current file.
17220 ac_end
=$ac_max_sed_lines # Line after last line for current file.
17223 while $ac_more_lines; do
17224 if test $ac_beg -gt 1; then
17225 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17227 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17229 if test ! -s $tmp/subs.frag
; then
17230 ac_more_lines
=false
17232 # The purpose of the label and of the branching condition is to
17233 # speed up the sed processing (if there are no `@' at all, there
17234 # is no need to browse any of the substitutions).
17235 # These are the two extra sed commands mentioned above.
17237 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
17238 if test -z "$ac_sed_cmds"; then
17239 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
17241 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
17243 ac_sed_frag
=`expr $ac_sed_frag + 1`
17245 ac_end
=`expr $ac_end + $ac_max_sed_lines`
17248 if test -z "$ac_sed_cmds"; then
17251 fi # test -n "$CONFIG_FILES"
17254 cat >>$CONFIG_STATUS <<\_ACEOF
17255 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
17256 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17258 - |
*:- |
*:-:* ) # input from stdin
17260 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17261 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17262 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17263 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17264 * ) ac_file_in
=$ac_file.
in ;;
17267 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
17268 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
17269 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17270 X"$ac_file" : 'X\(//\)[^/]' \| \
17271 X"$ac_file" : 'X\(//\)$' \| \
17272 X"$ac_file" : 'X\(/\)' \| \
17273 . : '\(.\)' 2>/dev/null ||
17275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17276 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17277 /^X\(\/\/\)$/{ s//\1/; q; }
17278 /^X\(\/\).*/{ s//\1/; q; }
17280 { if $as_mkdir_p; then
17285 while test ! -d "$as_dir"; do
17286 as_dirs
="$as_dir $as_dirs"
17287 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17288 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17289 X"$as_dir" : 'X\(//\)[^/]' \| \
17290 X"$as_dir" : 'X\(//\)$' \| \
17291 X"$as_dir" : 'X\(/\)' \| \
17292 . : '\(.\)' 2>/dev/null ||
17294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17295 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17296 /^X\(\/\/\)$/{ s//\1/; q; }
17297 /^X\(\/\).*/{ s//\1/; q; }
17300 test ! -n "$as_dirs" || mkdir
$as_dirs
17301 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17302 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17303 { (exit 1); exit 1; }; }; }
17307 if test "$ac_dir" != .
; then
17308 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17309 # A "../" for each directory in $ac_dir_suffix.
17310 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17312 ac_dir_suffix
= ac_top_builddir
=
17316 .
) # No --srcdir option. We are building in place.
17318 if test -z "$ac_top_builddir"; then
17321 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17323 [\\/]* | ?
:[\\/]* ) # Absolute path.
17324 ac_srcdir
=$srcdir$ac_dir_suffix;
17325 ac_top_srcdir
=$srcdir ;;
17326 *) # Relative path.
17327 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17328 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17331 # Do not use `cd foo && pwd` to compute absolute paths, because
17332 # the directories may not exist.
17334 .
) ac_abs_builddir
="$ac_dir";;
17337 .
) ac_abs_builddir
=`pwd`;;
17338 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
17339 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
17342 case $ac_abs_builddir in
17343 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17345 case ${ac_top_builddir}.
in
17346 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17347 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17348 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17351 case $ac_abs_builddir in
17352 .
) ac_abs_srcdir
=$ac_srcdir;;
17355 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17356 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17357 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17360 case $ac_abs_builddir in
17361 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17363 case $ac_top_srcdir in
17364 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17365 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17366 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17372 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17373 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
17376 if test x
"$ac_file" != x-
; then
17377 { echo "$as_me:$LINENO: creating $ac_file" >&5
17378 echo "$as_me: creating $ac_file" >&6;}
17381 # Let's still pretend it is `configure' which instantiates (i.e., don't
17382 # use $as_me), people would be surprised to read:
17383 # /* config.h. Generated by config.status. */
17384 if test x
"$ac_file" = x-
; then
17387 configure_input
="$ac_file. "
17389 configure_input
=$configure_input"Generated from `echo $ac_file_in |
17390 sed 's,.*/,,'` by configure."
17392 # First look for the input files in the build tree, otherwise in the
17394 ac_file_inputs
=`IFS=:
17395 for f in $ac_file_in; do
17397 -) echo $tmp/stdin ;;
17399 # Absolute (can't be DOS-style, as IFS=:)
17400 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17401 echo "$as_me: error: cannot find input file: $f" >&2;}
17402 { (exit 1); exit 1; }; }
17405 if test -f "$f"; then
17408 elif test -f "$srcdir/$f"; then
17413 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17414 echo "$as_me: error: cannot find input file: $f" >&2;}
17415 { (exit 1); exit 1; }; }
17418 done` ||
{ (exit 1); exit 1; }
17420 cat >>$CONFIG_STATUS <<_ACEOF
17424 cat >>$CONFIG_STATUS <<\_ACEOF
17426 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17427 s
,@configure_input@
,$configure_input,;t t
17428 s
,@srcdir@
,$ac_srcdir,;t t
17429 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
17430 s
,@top_srcdir@
,$ac_top_srcdir,;t t
17431 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
17432 s
,@builddir@
,$ac_builddir,;t t
17433 s
,@abs_builddir@
,$ac_abs_builddir,;t t
17434 s
,@top_builddir@
,$ac_top_builddir,;t t
17435 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
17436 s
,@INSTALL@
,$ac_INSTALL,;t t
17437 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
17439 if test x"$ac_file" != x-; then
17440 mv $tmp/out $ac_file
17448 cat >>$CONFIG_STATUS <<\_ACEOF
17451 # CONFIG_HEADER section.
17454 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
17455 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17457 # ac_d sets the value in "#define NAME VALUE" lines.
17458 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17459 ac_dB
='[ ].*$,\1#\2'
17462 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17463 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17464 ac_uB
='$,\1#\2define\3'
17468 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
17469 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17471 - |
*:- |
*:-:* ) # input from stdin
17473 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17474 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17475 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17476 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17477 * ) ac_file_in
=$ac_file.
in ;;
17480 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
17481 echo "$as_me: creating $ac_file" >&6;}
17483 # First look for the input files in the build tree, otherwise in the
17485 ac_file_inputs
=`IFS=:
17486 for f in $ac_file_in; do
17488 -) echo $tmp/stdin ;;
17490 # Absolute (can't be DOS-style, as IFS=:)
17491 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17492 echo "$as_me: error: cannot find input file: $f" >&2;}
17493 { (exit 1); exit 1; }; }
17494 # Do quote $f, to prevent DOS paths from being IFS'd.
17497 if test -f "$f"; then
17500 elif test -f "$srcdir/$f"; then
17505 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17506 echo "$as_me: error: cannot find input file: $f" >&2;}
17507 { (exit 1); exit 1; }; }
17510 done` ||
{ (exit 1); exit 1; }
17511 # Remove the trailing spaces.
17512 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
17516 # Transform confdefs.h into two sed scripts, `conftest.defines' and
17517 # `conftest.undefs', that substitutes the proper values into
17518 # config.h.in to produce config.h. The first handles `#define'
17519 # templates, and the second `#undef' templates.
17520 # And first: Protect against being on the right side of a sed subst in
17521 # config.status. Protect against being in an unquoted here document
17522 # in config.status.
17523 rm -f conftest.defines conftest.undefs
17524 # Using a here document instead of a string reduces the quoting nightmare.
17525 # Putting comments in sed scripts is not portable.
17527 # `end' is used to avoid that the second main sed command (meant for
17528 # 0-ary CPP macros) applies to n-ary macro definitions.
17529 # See the Autoconf documentation for `clear'.
17530 cat >confdef2sed.
sed <<\_ACEOF
17535 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
17537 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
17540 # If some macros were called several times there might be several times
17541 # the same #defines, which is useless. Nevertheless, we may not want to
17542 # sort them, since we want the *last* AC-DEFINE to be honored.
17543 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
17544 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
17545 rm -f confdef2sed.sed
17547 # This sed command replaces #undef with comments. This is necessary, for
17548 # example, in the case of _POSIX_SOURCE, which is predefined and required
17549 # on some systems where configure will not decide to define it.
17550 cat >>conftest.undefs <<\_ACEOF
17551 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
17554 # Break up conftest.defines because some shells have a limit on the size
17555 # of here documents, and old seds have small limits too (100 cmds).
17556 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
17557 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
17558 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
17559 echo ' :' >>$CONFIG_STATUS
17560 rm -f conftest.tail
17561 while grep . conftest.defines >/dev/null
17563 # Write a limited-size here document to $tmp/defines.sed.
17564 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
17565 # Speed up: don't consider the non `#define' lines.
17566 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
17567 # Work around the forget-to-reset-the-flag bug.
17568 echo 't clr' >>$CONFIG_STATUS
17569 echo ': clr' >>$CONFIG_STATUS
17570 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
17572 sed -f $tmp/defines.sed $tmp/in >$tmp/out
17574 mv $tmp/out $tmp/in
17576 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
17577 rm -f conftest.defines
17578 mv conftest.
tail conftest.defines
17580 rm -f conftest.defines
17581 echo ' fi # grep' >>$CONFIG_STATUS
17582 echo >>$CONFIG_STATUS
17584 # Break up conftest.undefs because some shells have a limit on the size
17585 # of here documents, and old seds have small limits too (100 cmds).
17586 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
17587 rm -f conftest.
tail
17588 while grep . conftest.undefs
>/dev
/null
17590 # Write a limited-size here document to $tmp/undefs.sed.
17591 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
17592 # Speed up: don't consider the non
`#undef'
17593 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
17594 # Work around the forget-to-reset-the-flag bug.
17595 echo 't clr' >>$CONFIG_STATUS
17596 echo ': clr' >>$CONFIG_STATUS
17597 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
17599 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
17601 mv $tmp/out $tmp/in
17603 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
17604 rm -f conftest.undefs
17605 mv conftest.tail conftest.undefs
17607 rm -f conftest.undefs
17609 cat >>$CONFIG_STATUS <<\_ACEOF
17610 # Let's still pretend it is `configure
' which instantiates (i.e., don't
17611 # use $as_me), people would be surprised to read:
17612 # /* config.h. Generated by config.status. */
17613 if test x
"$ac_file" = x-
; then
17614 echo "/* Generated by configure. */" >$tmp/config.h
17616 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
17618 cat $tmp/in >>$tmp/config.h
17620 if test x
"$ac_file" != x-
; then
17621 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
17622 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
17623 echo "$as_me: $ac_file is unchanged" >&6;}
17625 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
17626 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17627 X"$ac_file" : 'X\(//\)[^/]' \| \
17628 X"$ac_file" : 'X\(//\)$' \| \
17629 X"$ac_file" : 'X\(/\)' \| \
17630 . : '\(.\)' 2>/dev/null ||
17632 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17633 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17634 /^X\(\/\/\)$/{ s//\1/; q; }
17635 /^X\(\/\).*/{ s//\1/; q; }
17637 { if $as_mkdir_p; then
17642 while test ! -d "$as_dir"; do
17643 as_dirs
="$as_dir $as_dirs"
17644 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17645 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17646 X"$as_dir" : 'X\(//\)[^/]' \| \
17647 X"$as_dir" : 'X\(//\)$' \| \
17648 X"$as_dir" : 'X\(/\)' \| \
17649 . : '\(.\)' 2>/dev/null ||
17651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17652 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17653 /^X\(\/\/\)$/{ s//\1/; q; }
17654 /^X\(\/\).*/{ s//\1/; q; }
17657 test ! -n "$as_dirs" || mkdir
$as_dirs
17658 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17659 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17660 { (exit 1); exit 1; }; }; }
17663 mv $tmp/config.h
$ac_file
17667 rm -f $tmp/config.h
17669 # Compute $ac_file's index in $config_headers.
17671 for _am_header
in $config_headers :; do
17672 case $_am_header in
17673 $ac_file |
$ac_file:* )
17676 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17679 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
17680 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17681 X$ac_file : 'X\(//\)[^/]' \| \
17682 X$ac_file : 'X\(//\)$' \| \
17683 X$ac_file : 'X\(/\)' \| \
17684 . : '\(.\)' 2>/dev/null ||
17686 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17687 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17688 /^X\(\/\/\)$/{ s//\1/; q; }
17689 /^X\(\/\).*/{ s//\1/; q; }
17690 s/.*/./; q'`/stamp-h
$_am_stamp_count
17693 cat >>$CONFIG_STATUS <<\_ACEOF
17696 # CONFIG_COMMANDS section.
17698 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
17699 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
17700 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17701 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
17702 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17703 X"$ac_dest" : 'X\(//\)[^/]' \| \
17704 X"$ac_dest" : 'X\(//\)$' \| \
17705 X"$ac_dest" : 'X\(/\)' \| \
17706 . : '\(.\)' 2>/dev/null ||
17708 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17709 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17710 /^X\(\/\/\)$/{ s//\1/; q; }
17711 /^X\(\/\).*/{ s//\1/; q; }
17713 { if $as_mkdir_p; then
17718 while test ! -d "$as_dir"; do
17719 as_dirs
="$as_dir $as_dirs"
17720 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17721 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17722 X"$as_dir" : 'X\(//\)[^/]' \| \
17723 X"$as_dir" : 'X\(//\)$' \| \
17724 X"$as_dir" : 'X\(/\)' \| \
17725 . : '\(.\)' 2>/dev/null ||
17727 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17728 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17729 /^X\(\/\/\)$/{ s//\1/; q; }
17730 /^X\(\/\).*/{ s//\1/; q; }
17733 test ! -n "$as_dirs" || mkdir
$as_dirs
17734 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17735 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17736 { (exit 1); exit 1; }; }; }
17740 if test "$ac_dir" != .
; then
17741 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17742 # A "../" for each directory in $ac_dir_suffix.
17743 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17745 ac_dir_suffix
= ac_top_builddir
=
17749 .
) # No --srcdir option. We are building in place.
17751 if test -z "$ac_top_builddir"; then
17754 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17756 [\\/]* | ?
:[\\/]* ) # Absolute path.
17757 ac_srcdir
=$srcdir$ac_dir_suffix;
17758 ac_top_srcdir
=$srcdir ;;
17759 *) # Relative path.
17760 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17761 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17764 # Do not use `cd foo && pwd` to compute absolute paths, because
17765 # the directories may not exist.
17767 .
) ac_abs_builddir
="$ac_dir";;
17770 .
) ac_abs_builddir
=`pwd`;;
17771 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
17772 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
17775 case $ac_abs_builddir in
17776 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17778 case ${ac_top_builddir}.
in
17779 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17780 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17781 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17784 case $ac_abs_builddir in
17785 .
) ac_abs_srcdir
=$ac_srcdir;;
17788 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17789 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17790 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17793 case $ac_abs_builddir in
17794 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17796 case $ac_top_srcdir in
17797 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17798 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17799 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17804 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
17805 echo "$as_me: executing $ac_dest commands" >&6;}
17808 # Only add multilib support code if we just rebuilt the top-level
17810 case " $CONFIG_FILES " in
17812 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17815 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
17816 # Strip MF so we end up with the name of the file.
17817 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17818 # Check whether this is an Automake generated Makefile or not.
17819 # We used to match only the files named `Makefile.in', but
17820 # some people rename them; so instead we look at the file content.
17821 # Grep'ing the first line is not enough: some people post-process
17822 # each Makefile.in and add a new line on top of each file to say so.
17823 # So let's grep whole file.
17824 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
17825 dirpart
=`(dirname "$mf") 2>/dev/null ||
17826 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17827 X"$mf" : 'X\(//\)[^/]' \| \
17828 X"$mf" : 'X\(//\)$' \| \
17829 X"$mf" : 'X\(/\)' \| \
17830 . : '\(.\)' 2>/dev/null ||
17832 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17833 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17834 /^X\(\/\/\)$/{ s//\1/; q; }
17835 /^X\(\/\).*/{ s//\1/; q; }
17840 # Extract the definition of DEPDIR, am__include, and am__quote
17841 # from the Makefile without running `make'.
17842 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17843 test -z "$DEPDIR" && continue
17844 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17845 test -z "am__include" && continue
17846 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17847 # When using ansi2knr, U may be empty or an underscore; expand it
17848 U
=`sed -n 's/^U = //p' < "$mf"`
17849 # Find all dependency output files, they are included files with
17850 # $(DEPDIR) in their names. We invoke sed twice because it is the
17851 # simplest approach to changing $(DEPDIR) to its actual value in the
17853 for file in `sed -n "
17854 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17855 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17856 # Make sure the directory exists.
17857 test -f "$dirpart/$file" && continue
17858 fdir
=`(dirname "$file") 2>/dev/null ||
17859 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17860 X"$file" : 'X\(//\)[^/]' \| \
17861 X"$file" : 'X\(//\)$' \| \
17862 X"$file" : 'X\(/\)' \| \
17863 . : '\(.\)' 2>/dev/null ||
17865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17867 /^X\(\/\/\)$/{ s//\1/; q; }
17868 /^X\(\/\).*/{ s//\1/; q; }
17870 { if $as_mkdir_p; then
17871 mkdir
-p $dirpart/$fdir
17873 as_dir
=$dirpart/$fdir
17875 while test ! -d "$as_dir"; do
17876 as_dirs
="$as_dir $as_dirs"
17877 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17878 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17879 X"$as_dir" : 'X\(//\)[^/]' \| \
17880 X"$as_dir" : 'X\(//\)$' \| \
17881 X"$as_dir" : 'X\(/\)' \| \
17882 . : '\(.\)' 2>/dev/null ||
17884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17885 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17886 /^X\(\/\/\)$/{ s//\1/; q; }
17887 /^X\(\/\).*/{ s//\1/; q; }
17890 test ! -n "$as_dirs" || mkdir
$as_dirs
17891 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
17892 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
17893 { (exit 1); exit 1; }; }; }
17895 # echo "creating $dirpart/$file"
17896 echo '# dummy' > "$dirpart/$file"
17902 # See if we are running on zsh, and set the options which allow our
17903 # commands through without removal of \ escapes.
17904 if test -n "${ZSH_VERSION+set}" ; then
17905 setopt NO_GLOB_SUBST
17908 cfgfile
="${ofile}T"
17909 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17912 cat <<_LT_EOF >> "$cfgfile"
17915 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17916 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
17917 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17918 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17920 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17921 # 2006, 2007 Free Software Foundation, Inc.
17923 # This file is part of GNU Libtool:
17924 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
17926 # This program is free software; you can redistribute it and/or modify
17927 # it under the terms of the GNU General Public License as published by
17928 # the Free Software Foundation; either version 2 of the License, or
17929 # (at your option) any later version.
17931 # This program is distributed in the hope that it will be useful, but
17932 # WITHOUT ANY WARRANTY; without even the implied warranty of
17933 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17934 # General Public License for more details.
17936 # You should have received a copy of the GNU General Public License
17937 # along with this program; if not, a copy can be downloaded from
17938 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
17939 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17940 # MA 02110-1301, USA.
17942 # As a special exception to the GNU General Public License, if you
17943 # distribute this file as part of a program that contains a
17944 # configuration script generated by Autoconf, you may include it under
17945 # the same distribution terms that you use for the rest of that program.
17948 # The names of the tagged configurations supported by this script.
17949 available_tags="CXX "
17951 # ### BEGIN LIBTOOL CONFIG
17953 # Which release of libtool.m4 was used?
17954 macro_version=$macro_version
17955 macro_revision=$macro_revision
17957 # Whether or not to build shared libraries.
17958 build_libtool_libs=$enable_shared
17960 # Whether or not to build static libraries.
17961 build_old_libs=$enable_static
17963 # What type of objects to build.
17966 # Whether or not to optimize for fast installation.
17967 fast_install=$enable_fast_install
17970 host_alias=$host_alias
17974 # The build system.
17975 build_alias=$build_alias
17979 # A sed program that does not truncate output.
17982 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17983 Xsed="\$SED -e 1s/^X//"
17985 # A grep program that handles long lines.
17991 # A literal string matcher.
17994 # A BSD- or MS-compatible name lister.
17997 # Whether we need soft or hard links.
18000 # What is the maximum length of a command?
18001 max_cmd_len=$max_cmd_len
18003 # Object file suffix (normally "o").
18006 # Executable file suffix (normally "").
18009 # whether the shell understands "unset".
18012 # turn spaces into newlines.
18015 # turn newlines into spaces.
18018 # How to create reloadable object files.
18019 reload_flag=$lt_reload_flag
18020 reload_cmds=$lt_reload_cmds
18022 # Method to check whether dependent libraries are shared objects.
18023 deplibs_check_method=$lt_deplibs_check_method
18025 # Command to use when deplibs_check_method == "file_magic".
18026 file_magic_cmd=$lt_file_magic_cmd
18030 AR_FLAGS=$lt_AR_FLAGS
18032 # A symbol stripping program.
18035 # Commands used to install an old-style archive.
18037 old_postinstall_cmds=$lt_old_postinstall_cmds
18038 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18043 # LTCC compiler flags.
18044 LTCFLAGS=$lt_CFLAGS
18046 # Take the output of nm and produce a listing of raw symbols and C names.
18047 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18049 # Transform the output of nm in a proper C declaration.
18050 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18052 # Transform the output of nm in a C name address pair.
18053 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18055 # The name of the directory that contains temporary libtool files.
18058 # Shell to use when invoking shell scripts.
18061 # An echo program that does not interpret backslashes.
18064 # Used to examine libraries when file_magic_cmd begins with "file".
18065 MAGIC_CMD=$MAGIC_CMD
18067 # Must we lock files when doing compilation?
18068 need_locks=$lt_need_locks
18070 # Old archive suffix (normally "a").
18073 # Shared library suffix (normally ".so").
18074 shrext_cmds=$lt_shrext_cmds
18076 # The commands to extract the exported symbol list from a shared archive.
18077 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18079 # Variables whose values should be saved in libtool wrapper scripts and
18080 # restored at link time.
18081 variables_saved_for_relink=$lt_variables_saved_for_relink
18083 # Do we need the "lib" prefix for modules?
18084 need_lib_prefix=$need_lib_prefix
18086 # Do we need a version for libraries?
18087 need_version=$need_version
18089 # Library versioning type.
18090 version_type=$version_type
18092 # Shared library runtime path variable.
18093 runpath_var=$runpath_var
18095 # Shared library path variable.
18096 shlibpath_var=$shlibpath_var
18098 # Is shlibpath searched before the hard-coded library search path?
18099 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18101 # Format of library name prefix.
18102 libname_spec=$lt_libname_spec
18104 # List of archive names. First name is the real one, the rest are links.
18105 # The last name is the one that the linker finds with -lNAME
18106 library_names_spec=$lt_library_names_spec
18108 # The coded name of the library, if different from the real name.
18109 soname_spec=$lt_soname_spec
18111 # Command to use after installation of a shared archive.
18112 postinstall_cmds=$lt_postinstall_cmds
18114 # Command to use after uninstallation of a shared archive.
18115 postuninstall_cmds=$lt_postuninstall_cmds
18117 # Commands used to finish a libtool library installation in a directory.
18118 finish_cmds=$lt_finish_cmds
18120 # As "finish_cmds", except a single script fragment to be evaled but
18122 finish_eval=$lt_finish_eval
18124 # Whether we should hardcode library paths into libraries.
18125 hardcode_into_libs=$hardcode_into_libs
18127 # Compile-time system search path for libraries.
18128 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18130 # Run-time system search path for libraries.
18131 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18133 # Whether dlopen is supported.
18134 dlopen_support=$enable_dlopen
18136 # Whether dlopen of programs is supported.
18137 dlopen_self=$enable_dlopen_self
18139 # Whether dlopen of statically linked programs is supported.
18140 dlopen_self_static=$enable_dlopen_self_static
18142 # Commands to strip libraries.
18143 old_striplib=$lt_old_striplib
18144 striplib=$lt_striplib
18147 # The linker used to build libraries.
18150 # Commands used to build an old-style archive.
18151 old_archive_cmds=$lt_old_archive_cmds
18153 # A language specific compiler.
18156 # Is the compiler the GNU compiler?
18159 # Compiler flag to turn off builtin functions.
18160 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18162 # How to pass a linker flag through the compiler.
18163 wl=$lt_lt_prog_compiler_wl
18165 # Additional compiler flags for building library objects.
18166 pic_flag=$lt_lt_prog_compiler_pic
18168 # Compiler flag to prevent dynamic linking.
18169 link_static_flag=$lt_lt_prog_compiler_static
18171 # Does compiler simultaneously support -c and -o options?
18172 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18174 # Whether or not to add -lc for building shared libraries.
18175 build_libtool_need_lc=$archive_cmds_need_lc
18177 # Whether or not to disallow shared libs when runtime libs are static.
18178 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18180 # Compiler flag to allow reflexive dlopens.
18181 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18183 # Compiler flag to generate shared objects directly from archives.
18184 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18186 # Whether the compiler copes with passing no objects directly.
18187 compiler_needs_object=$lt_compiler_needs_object
18189 # Create an old-style archive from a shared archive.
18190 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18192 # Create a temporary old-style archive to link instead of a shared archive.
18193 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18195 # Commands used to build a shared archive.
18196 archive_cmds=$lt_archive_cmds
18197 archive_expsym_cmds=$lt_archive_expsym_cmds
18199 # Commands used to build a loadable module if different from building
18200 # a shared archive.
18201 module_cmds=$lt_module_cmds
18202 module_expsym_cmds=$lt_module_expsym_cmds
18204 # Whether we are building with GNU ld or not.
18205 with_gnu_ld=$lt_with_gnu_ld
18207 # Flag that allows shared libraries with undefined symbols to be built.
18208 allow_undefined_flag=$lt_allow_undefined_flag
18210 # Flag that enforces no undefined symbols.
18211 no_undefined_flag=$lt_no_undefined_flag
18213 # Flag to hardcode \$libdir into a binary during linking.
18214 # This must work even if \$libdir does not exist
18215 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18217 # If ld is used when linking, flag to hardcode \$libdir into a binary
18218 # during linking. This must work even if \$libdir does not exist.
18219 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18221 # Whether we need a single "-rpath" flag with a separated argument.
18222 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18224 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18225 # DIR into the resulting binary.
18226 hardcode_direct=$hardcode_direct
18228 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18229 # DIR into the resulting binary and the resulting library dependency is
18230 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18231 # library is relocated.
18232 hardcode_direct_absolute=$hardcode_direct_absolute
18234 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18235 # into the resulting binary.
18236 hardcode_minus_L=$hardcode_minus_L
18238 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18239 # into the resulting binary.
18240 hardcode_shlibpath_var=$hardcode_shlibpath_var
18242 # Set to "yes" if building a shared library automatically hardcodes DIR
18243 # into the library and all subsequent libraries and executables linked
18245 hardcode_automatic=$hardcode_automatic
18247 # Set to yes if linker adds runtime paths of dependent libraries
18248 # to runtime path list.
18249 inherit_rpath=$inherit_rpath
18251 # Whether libtool must link a program against all its dependency libraries.
18252 link_all_deplibs=$link_all_deplibs
18254 # Fix the shell variable \$srcfile for the compiler.
18255 fix_srcfile_path=$lt_fix_srcfile_path
18257 # Set to "yes" if exported symbols are required.
18258 always_export_symbols=$always_export_symbols
18260 # The commands to list exported symbols.
18261 export_symbols_cmds=$lt_export_symbols_cmds
18263 # Symbols that should not be listed in the preloaded symbols.
18264 exclude_expsyms=$lt_exclude_expsyms
18266 # Symbols that must always be exported.
18267 include_expsyms=$lt_include_expsyms
18269 # Commands necessary for linking programs (against libraries) with templates.
18270 prelink_cmds=$lt_prelink_cmds
18272 # Specify filename containing input files.
18273 file_list_spec=$lt_file_list_spec
18275 # How to hardcode a shared library path into an executable.
18276 hardcode_action=$hardcode_action
18278 # Dependencies to place before and after the objects being linked to
18279 # create a shared library.
18280 predep_objects=$lt_predep_objects
18281 postdep_objects=$lt_postdep_objects
18282 predeps=$lt_predeps
18283 postdeps=$lt_postdeps
18285 # The library search path used internally by the compiler when linking
18286 # a shared library.
18287 compiler_lib_search_path=$lt_compiler_lib_search_path
18289 # ### END LIBTOOL CONFIG
18295 cat <<\_LT_EOF
>> "$cfgfile"
18296 # AIX sometimes has problems with the GCC collect2 program. For some
18297 # reason, if we set the COLLECT_NAMES environment variable, the problems
18298 # vanish in a puff of smoke.
18299 if test "X${COLLECT_NAMES+set}" != Xset
; then
18301 export COLLECT_NAMES
18308 ltmain
="$ac_aux_dir/ltmain.sh"
18311 # We use sed instead of cat because bash on DJGPP gets confused if
18312 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18313 # text mode, it properly converts lines to CR/LF. This bash problem
18314 # is reportedly fixed, but why not run on old versions too?
18315 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18316 ||
(rm -f "$cfgfile"; exit 1)
18320 cat << \_LT_EOF
>> "$cfgfile"
18321 # func_dirname file append nondir_replacement
18322 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18323 # otherwise set result to NONDIR_REPLACEMENT.
18327 */*) func_dirname_result
="${1%/*}${2}" ;;
18328 * ) func_dirname_result
="${3}" ;;
18332 # func_basename file
18335 func_basename_result
="${1##*/}"
18338 # func_stripname prefix suffix name
18339 # strip PREFIX and SUFFIX off of NAME.
18340 # PREFIX and SUFFIX must not contain globbing or regex special
18341 # characters, hashes, percent signs, but SUFFIX may contain a leading
18342 # dot (in which case that matches only a dot).
18345 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18346 # positional parameters, so assign one to ordinary parameter first.
18347 func_stripname_result
=${3}
18348 func_stripname_result
=${func_stripname_result#"${1}"}
18349 func_stripname_result
=${func_stripname_result%"${2}"}
18355 func_opt_split_opt
=${1%%=*}
18356 func_opt_split_arg
=${1#*=}
18363 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18364 *) func_lo2o_result
=${1} ;;
18369 *) # Bourne compatible functions.
18370 cat << \_LT_EOF
>> "$cfgfile"
18371 # func_dirname file append nondir_replacement
18372 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18373 # otherwise set result to NONDIR_REPLACEMENT.
18376 # Extract subdirectory from the argument.
18377 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18378 if test "X$func_dirname_result" = "X${1}"; then
18379 func_dirname_result
="${3}"
18381 func_dirname_result
="$func_dirname_result${2}"
18385 # func_basename file
18388 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
18391 # func_stripname prefix suffix name
18392 # strip PREFIX and SUFFIX off of NAME.
18393 # PREFIX and SUFFIX must not contain globbing or regex special
18394 # characters, hashes, percent signs, but SUFFIX may contain a leading
18395 # dot (in which case that matches only a dot).
18396 # func_strip_suffix prefix name
18400 .
*) func_stripname_result
=`$ECHO "X${3}" \
18401 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18402 *) func_stripname_result
=`$ECHO "X${3}" \
18403 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18408 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18409 my_sed_long_arg
='1s/^-[^=]*=//'
18414 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18415 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18421 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18426 case $lt_shell_append in
18428 cat << \_LT_EOF
>> "$cfgfile"
18430 # func_append var value
18431 # Append VALUE to the end of shell variable VAR.
18439 cat << \_LT_EOF
>> "$cfgfile"
18441 # func_append var value
18442 # Append VALUE to the end of shell variable VAR.
18452 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18453 ||
(rm -f "$cfgfile"; exit 1)
18455 mv -f "$cfgfile" "$ofile" ||
18456 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18460 cat <<_LT_EOF >> "$ofile"
18462 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18464 # The linker used to build libraries.
18467 # Commands used to build an old-style archive.
18468 old_archive_cmds=$lt_old_archive_cmds_CXX
18470 # A language specific compiler.
18471 CC=$lt_compiler_CXX
18473 # Is the compiler the GNU compiler?
18476 # Compiler flag to turn off builtin functions.
18477 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18479 # How to pass a linker flag through the compiler.
18480 wl=$lt_lt_prog_compiler_wl_CXX
18482 # Additional compiler flags for building library objects.
18483 pic_flag=$lt_lt_prog_compiler_pic_CXX
18485 # Compiler flag to prevent dynamic linking.
18486 link_static_flag=$lt_lt_prog_compiler_static_CXX
18488 # Does compiler simultaneously support -c and -o options?
18489 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18491 # Whether or not to add -lc for building shared libraries.
18492 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18494 # Whether or not to disallow shared libs when runtime libs are static.
18495 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18497 # Compiler flag to allow reflexive dlopens.
18498 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18500 # Compiler flag to generate shared objects directly from archives.
18501 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18503 # Whether the compiler copes with passing no objects directly.
18504 compiler_needs_object=$lt_compiler_needs_object_CXX
18506 # Create an old-style archive from a shared archive.
18507 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18509 # Create a temporary old-style archive to link instead of a shared archive.
18510 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18512 # Commands used to build a shared archive.
18513 archive_cmds=$lt_archive_cmds_CXX
18514 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18516 # Commands used to build a loadable module if different from building
18517 # a shared archive.
18518 module_cmds=$lt_module_cmds_CXX
18519 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18521 # Whether we are building with GNU ld or not.
18522 with_gnu_ld=$lt_with_gnu_ld_CXX
18524 # Flag that allows shared libraries with undefined symbols to be built.
18525 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18527 # Flag that enforces no undefined symbols.
18528 no_undefined_flag=$lt_no_undefined_flag_CXX
18530 # Flag to hardcode \$libdir into a binary during linking.
18531 # This must work even if \$libdir does not exist
18532 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18534 # If ld is used when linking, flag to hardcode \$libdir into a binary
18535 # during linking. This must work even if \$libdir does not exist.
18536 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18538 # Whether we need a single "-rpath" flag with a separated argument.
18539 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18541 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18542 # DIR into the resulting binary.
18543 hardcode_direct=$hardcode_direct_CXX
18545 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18546 # DIR into the resulting binary and the resulting library dependency is
18547 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18548 # library is relocated.
18549 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18551 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18552 # into the resulting binary.
18553 hardcode_minus_L=$hardcode_minus_L_CXX
18555 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18556 # into the resulting binary.
18557 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18559 # Set to "yes" if building a shared library automatically hardcodes DIR
18560 # into the library and all subsequent libraries and executables linked
18562 hardcode_automatic=$hardcode_automatic_CXX
18564 # Set to yes if linker adds runtime paths of dependent libraries
18565 # to runtime path list.
18566 inherit_rpath=$inherit_rpath_CXX
18568 # Whether libtool must link a program against all its dependency libraries.
18569 link_all_deplibs=$link_all_deplibs_CXX
18571 # Fix the shell variable \$srcfile for the compiler.
18572 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18574 # Set to "yes" if exported symbols are required.
18575 always_export_symbols=$always_export_symbols_CXX
18577 # The commands to list exported symbols.
18578 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18580 # Symbols that should not be listed in the preloaded symbols.
18581 exclude_expsyms=$lt_exclude_expsyms_CXX
18583 # Symbols that must always be exported.
18584 include_expsyms=$lt_include_expsyms_CXX
18586 # Commands necessary for linking programs (against libraries) with templates.
18587 prelink_cmds=$lt_prelink_cmds_CXX
18589 # Specify filename containing input files.
18590 file_list_spec=$lt_file_list_spec_CXX
18592 # How to hardcode a shared library path into an executable.
18593 hardcode_action=$hardcode_action_CXX
18595 # Dependencies to place before and after the objects being linked to
18596 # create a shared library.
18597 predep_objects=$lt_predep_objects_CXX
18598 postdep_objects=$lt_postdep_objects_CXX
18599 predeps=$lt_predeps_CXX
18600 postdeps=$lt_postdeps_CXX
18602 # The library search path used internally by the compiler when linking
18603 # a shared library.
18604 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18606 # ### END LIBTOOL TAG CONFIG: CXX
18614 cat >>$CONFIG_STATUS <<\_ACEOF
18616 { (exit 0); exit 0; }
18618 chmod +x
$CONFIG_STATUS
18619 ac_clean_files
=$ac_clean_files_save
18622 # configure is writing to config.log, and then calls config.status.
18623 # config.status does its own redirection, appending to config.log.
18624 # Unfortunately, on DOS this fails, as config.log is still kept open
18625 # by configure, so config.status won't be able to write to it; its
18626 # output is simply discarded. So we exec the FD to /dev/null,
18627 # effectively closing config.log, so it can be properly (re)opened and
18628 # appended to by config.status. When coming back to configure, we
18629 # need to make the FD available again.
18630 if test "$no_create" != yes; then
18632 ac_config_status_args
=
18633 test "$silent" = yes &&
18634 ac_config_status_args
="$ac_config_status_args --quiet"
18636 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18638 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18639 # would make configure fail if this is the last instruction.
18640 $ac_cs_success ||
{ (exit 1); exit 1; }